@zyzgroup/core-vue 0.0.38 → 0.0.39

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 (218) hide show
  1. package/ce/style.css +1 -1
  2. package/ce/yz_custom_element.iife.js +117 -118
  3. package/ce/yz_custom_element.iife.js.map +1 -1
  4. package/ce/yz_custom_element.js +10019 -9567
  5. package/ce/yz_custom_element.js.map +1 -1
  6. package/ce/yz_custom_element.umd.cjs +117 -118
  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 +1 -135
  10. package/dist/zyzgroup_core_vue.iife.js.map +1 -1
  11. package/dist/zyzgroup_core_vue.js +1812 -23658
  12. package/dist/zyzgroup_core_vue.js.map +1 -1
  13. package/dist/zyzgroup_core_vue.umd.cjs +1 -135
  14. package/dist/zyzgroup_core_vue.umd.cjs.map +1 -1
  15. package/package.json +7 -5
  16. package/types/App.vue.d.ts +1 -1
  17. package/types/components/Accordion.ce.vue.d.ts +24 -24
  18. package/types/components/Accordion.vue.d.ts +24 -24
  19. package/types/components/Button.ce.vue.d.ts +35 -35
  20. package/types/components/Button.vue.d.ts +35 -35
  21. package/types/components/Canvas.ce.vue.d.ts +12 -12
  22. package/types/components/Canvas.vue.d.ts +12 -12
  23. package/types/components/CardFlip.ce.vue.d.ts +12 -12
  24. package/types/components/CardFlip.vue.d.ts +12 -12
  25. package/types/components/Container.ce.vue.d.ts +19 -19
  26. package/types/components/Container.vue.d.ts +20 -21
  27. package/types/components/Cube.ce.vue.d.ts +12 -12
  28. package/types/components/Cube.vue.d.ts +12 -12
  29. package/types/components/Demo.ce.vue.d.ts +1 -1
  30. package/types/components/Demo.vue.d.ts +1 -1
  31. package/types/components/Dialog.ce.vue.d.ts +20 -20
  32. package/types/components/Dialog.vue.d.ts +20 -20
  33. package/types/components/DialogLoading.ce.vue.d.ts +12 -12
  34. package/types/components/DialogLoading.vue.d.ts +12 -12
  35. package/types/components/DialogToast.ce.vue.d.ts +12 -12
  36. package/types/components/DialogToast.vue.d.ts +12 -12
  37. package/types/components/EaseGraphDisplay.ce.vue.d.ts +22 -22
  38. package/types/components/EaseGraphDisplay.vue.d.ts +22 -22
  39. package/types/components/EaseGroupGraphDisplay.ce.vue.d.ts +10 -10
  40. package/types/components/EaseGroupGraphDisplay.vue.d.ts +10 -10
  41. package/types/components/FPSStats.ce.vue.d.ts +1 -1
  42. package/types/components/FPSStats.vue.d.ts +1 -1
  43. package/types/components/HandWritePanel.ce.vue.d.ts +19 -19
  44. package/types/components/HandWritePanel.vue.d.ts +19 -19
  45. package/types/components/Icon.ce.vue.d.ts +9 -9
  46. package/types/components/Icon.vue.d.ts +9 -9
  47. package/types/components/Image.ce.vue.d.ts +14 -14
  48. package/types/components/Image.vue.d.ts +14 -14
  49. package/types/components/ImageView.ce.vue.d.ts +9 -9
  50. package/types/components/ImageView.vue.d.ts +9 -9
  51. package/types/components/InterpolationGraphDisplay.ce.vue.d.ts +15 -15
  52. package/types/components/InterpolationGraphDisplay.vue.d.ts +15 -15
  53. package/types/components/InterpolationGroupGraphDisplay.ce.vue.d.ts +6 -6
  54. package/types/components/InterpolationGroupGraphDisplay.vue.d.ts +6 -6
  55. package/types/components/MapTianditu.ce.vue.d.ts +22 -22
  56. package/types/components/MapTianditu.vue.d.ts +22 -22
  57. package/types/components/Overlay.ce.vue.d.ts +10 -10
  58. package/types/components/Overlay.vue.d.ts +10 -10
  59. package/types/components/Page.ce.vue.d.ts +24 -24
  60. package/types/components/Page.vue.d.ts +24 -24
  61. package/types/components/PageVerticalScrollProgressBar.ce.vue.d.ts +19 -19
  62. package/types/components/PageVerticalScrollProgressBar.vue.d.ts +19 -19
  63. package/types/components/PlateDisplay.ce.vue.d.ts +12 -12
  64. package/types/components/PlateDisplay.vue.d.ts +12 -12
  65. package/types/components/PlateKeyboard.ce.vue.d.ts +15 -15
  66. package/types/components/PlateKeyboard.vue.d.ts +15 -15
  67. package/types/components/PlateMobile.ce.vue.d.ts +9 -9
  68. package/types/components/PlateMobile.vue.d.ts +9 -9
  69. package/types/components/Pop.ce.vue.d.ts +34 -34
  70. package/types/components/Pop.vue.d.ts +34 -34
  71. package/types/components/Popover.ce.vue.d.ts +11 -11
  72. package/types/components/Popover.vue.d.ts +11 -11
  73. package/types/components/ProgressBar.ce.vue.d.ts +17 -17
  74. package/types/components/ProgressBar.vue.d.ts +17 -17
  75. package/types/components/ResizeObserver.ce.vue.d.ts +4 -4
  76. package/types/components/ResizeObserver.vue.d.ts +4 -4
  77. package/types/components/Routes.ce.vue.d.ts +20 -20
  78. package/types/components/Routes.vue.d.ts +20 -20
  79. package/types/components/SVG.ce.vue.d.ts +10 -10
  80. package/types/components/SVG.vue.d.ts +10 -10
  81. package/types/components/SVGAndCanvas.ce.vue.d.ts +8 -8
  82. package/types/components/SVGAndCanvas.vue.d.ts +8 -8
  83. package/types/components/SlideLeftItem.ce.vue.d.ts +18 -18
  84. package/types/components/SlideLeftItem.vue.d.ts +18 -18
  85. package/types/components/Tab.ce.vue.d.ts +3 -3
  86. package/types/components/Tab.vue.d.ts +3 -3
  87. package/types/components/Tabs.ce.vue.d.ts +8 -8
  88. package/types/components/Tabs.vue.d.ts +8 -8
  89. package/types/components/TabsForCE.ce.vue.d.ts +10 -10
  90. package/types/components/TabsForCE.vue.d.ts +10 -10
  91. package/types/components/TabsWithTab.ce.vue.d.ts +8 -8
  92. package/types/components/TabsWithTab.vue.d.ts +8 -8
  93. package/types/components/Video.ce.vue.d.ts +16 -16
  94. package/types/components/Video.vue.d.ts +16 -16
  95. package/types/components/chat/ClockFlipper.ce.vue.d.ts +26 -26
  96. package/types/components/chat/ClockFlipper.vue.d.ts +26 -26
  97. package/types/components/chat/RingIndicator.ce.vue.d.ts +14 -14
  98. package/types/components/chat/RingIndicator.vue.d.ts +14 -14
  99. package/types/components/chat/RingText.ce.vue.d.ts +14 -14
  100. package/types/components/chat/RingText.vue.d.ts +14 -14
  101. package/types/components/effect/BorderFocusText.ce.vue.d.ts +22 -22
  102. package/types/components/effect/BorderFocusText.vue.d.ts +22 -22
  103. package/types/components/effect/CSSAnimation.ce.vue.d.ts +36 -36
  104. package/types/components/effect/CSSAnimation.vue.d.ts +36 -36
  105. package/types/components/effect/CSSTransition.ce.vue.d.ts +25 -25
  106. package/types/components/effect/CSSTransition.vue.d.ts +32 -26
  107. package/types/components/effect/Circle.ce.vue.d.ts +16 -16
  108. package/types/components/effect/Circle.vue.d.ts +16 -16
  109. package/types/components/effect/Float.ce.vue.d.ts +20 -20
  110. package/types/components/effect/Float.vue.d.ts +20 -20
  111. package/types/components/effect/ImageMask.ce.vue.d.ts +8 -8
  112. package/types/components/effect/ImageMask.vue.d.ts +8 -8
  113. package/types/components/effect/LineDouble.ce.vue.d.ts +22 -22
  114. package/types/components/effect/LineDouble.vue.d.ts +22 -22
  115. package/types/components/effect/LineSingle.ce.vue.d.ts +22 -22
  116. package/types/components/effect/LineSingle.vue.d.ts +22 -22
  117. package/types/components/effect/Slide.ce.vue.d.ts +18 -18
  118. package/types/components/effect/Slide.vue.d.ts +18 -18
  119. package/types/components/effect/SlideCorner.ce.vue.d.ts +18 -18
  120. package/types/components/effect/SlideCorner.vue.d.ts +18 -18
  121. package/types/components/effect/TextBackgroundClip.ce.vue.d.ts +8 -8
  122. package/types/components/effect/TextBackgroundClip.vue.d.ts +8 -8
  123. package/types/components/form/BooleanBox.ce.vue.d.ts +31 -31
  124. package/types/components/form/BooleanBox.vue.d.ts +31 -31
  125. package/types/components/form/CheckboxGroup.ce.vue.d.ts +38 -38
  126. package/types/components/form/CheckboxGroup.vue.d.ts +38 -38
  127. package/types/components/form/ColorPicker.ce.vue.d.ts +9 -9
  128. package/types/components/form/ColorPicker.vue.d.ts +9 -9
  129. package/types/components/form/Input.ce.vue.d.ts +40 -40
  130. package/types/components/form/Input.vue.d.ts +40 -40
  131. package/types/components/form/InputFileDrop.ce.vue.d.ts +8 -8
  132. package/types/components/form/InputFileDrop.vue.d.ts +8 -8
  133. package/types/components/form/InputRange.ce.vue.d.ts +28 -28
  134. package/types/components/form/InputRange.vue.d.ts +28 -28
  135. package/types/components/form/InputRangeBox.ce.vue.d.ts +24 -24
  136. package/types/components/form/InputRangeBox.vue.d.ts +24 -24
  137. package/types/components/form/InputRangeCanvas.ce.vue.d.ts +26 -26
  138. package/types/components/form/InputRangeCanvas.vue.d.ts +26 -26
  139. package/types/components/form/RadioGroup.ce.vue.d.ts +38 -38
  140. package/types/components/form/RadioGroup.vue.d.ts +38 -38
  141. package/types/components/form/Select.ce.vue.d.ts +65 -0
  142. package/types/components/form/Select.vue.d.ts +65 -0
  143. package/types/components/form/SelectAbsolute.ce.vue.d.ts +80 -0
  144. package/types/components/form/SelectAbsolute.vue.d.ts +80 -0
  145. package/types/components/form/Status.ce.vue.d.ts +8 -8
  146. package/types/components/form/Status.vue.d.ts +8 -8
  147. package/types/components/form/Switch.ce.vue.d.ts +19 -19
  148. package/types/components/form/Switch.vue.d.ts +19 -19
  149. package/types/components/layout/LayoutCenter.ce.vue.d.ts +6 -6
  150. package/types/components/layout/LayoutCenter.vue.d.ts +6 -6
  151. package/types/components/layout/LayoutMobile.ce.vue.d.ts +6 -6
  152. package/types/components/layout/LayoutMobile.vue.d.ts +6 -6
  153. package/types/components/loading/Loading1.ce.vue.d.ts +6 -6
  154. package/types/components/loading/Loading1.vue.d.ts +6 -6
  155. package/types/components/loading/Loading10.ce.vue.d.ts +6 -6
  156. package/types/components/loading/Loading10.vue.d.ts +6 -6
  157. package/types/components/loading/Loading11.ce.vue.d.ts +9 -9
  158. package/types/components/loading/Loading11.vue.d.ts +9 -9
  159. package/types/components/loading/Loading2.ce.vue.d.ts +6 -6
  160. package/types/components/loading/Loading2.vue.d.ts +6 -6
  161. package/types/components/loading/Loading3.ce.vue.d.ts +8 -8
  162. package/types/components/loading/Loading3.vue.d.ts +8 -8
  163. package/types/components/loading/Loading4.ce.vue.d.ts +6 -6
  164. package/types/components/loading/Loading4.vue.d.ts +6 -6
  165. package/types/components/loading/Loading5.ce.vue.d.ts +6 -6
  166. package/types/components/loading/Loading5.vue.d.ts +6 -6
  167. package/types/components/loading/Loading6.ce.vue.d.ts +6 -6
  168. package/types/components/loading/Loading6.vue.d.ts +6 -6
  169. package/types/components/loading/Loading7.ce.vue.d.ts +6 -6
  170. package/types/components/loading/Loading7.vue.d.ts +6 -6
  171. package/types/components/loading/Loading8.ce.vue.d.ts +6 -6
  172. package/types/components/loading/Loading8.vue.d.ts +6 -6
  173. package/types/components/loading/Loading9.ce.vue.d.ts +6 -6
  174. package/types/components/loading/Loading9.vue.d.ts +6 -6
  175. package/types/components/svg/SVGCheck.ce.vue.d.ts +9 -9
  176. package/types/components/svg/SVGCheck.vue.d.ts +9 -9
  177. package/types/components/svg/SVGCleanUp.ce.vue.d.ts +9 -9
  178. package/types/components/svg/SVGCleanUp.vue.d.ts +9 -9
  179. package/types/components/svg/SVGDelete.ce.vue.d.ts +11 -11
  180. package/types/components/svg/SVGDelete.vue.d.ts +11 -11
  181. package/types/components/svg/SVGDown.ce.vue.d.ts +11 -11
  182. package/types/components/svg/SVGDown.vue.d.ts +11 -11
  183. package/types/components/svg/SVGElement.ce.vue.d.ts +15 -15
  184. package/types/components/svg/SVGElement.vue.d.ts +15 -15
  185. package/types/components/svg/SVGFail.ce.vue.d.ts +11 -11
  186. package/types/components/svg/SVGFail.vue.d.ts +11 -11
  187. package/types/components/svg/SVGHome.ce.vue.d.ts +11 -11
  188. package/types/components/svg/SVGHome.vue.d.ts +11 -11
  189. package/types/components/svg/SVGLock.ce.vue.d.ts +11 -11
  190. package/types/components/svg/SVGLock.vue.d.ts +11 -11
  191. package/types/components/svg/SVGMaskNapkin.ce.vue.d.ts +1 -1
  192. package/types/components/svg/SVGMaskNapkin.vue.d.ts +1 -1
  193. package/types/components/svg/SVGPrompt.ce.vue.d.ts +11 -11
  194. package/types/components/svg/SVGPrompt.vue.d.ts +11 -11
  195. package/types/components/svg/SVGQuestion.ce.vue.d.ts +11 -11
  196. package/types/components/svg/SVGQuestion.vue.d.ts +11 -11
  197. package/types/components/svg/SVGReturn.ce.vue.d.ts +11 -11
  198. package/types/components/svg/SVGReturn.vue.d.ts +11 -11
  199. package/types/components/svg/SVGSuccess.vue.d.ts +11 -11
  200. package/types/components/svg/SVGWaiting.ce.vue.d.ts +11 -11
  201. package/types/components/svg/SVGWaiting.vue.d.ts +11 -11
  202. package/types/components/teleport.ce.vue.d.ts +2 -0
  203. package/types/components/teleport.vue.d.ts +2 -0
  204. package/types/demo.vue.d.ts +54 -0
  205. package/types/demo_vue3.vue.d.ts +65 -0
  206. package/types/directives/autofocus.d.ts +5 -0
  207. package/types/directives/demo.d.ts +23 -0
  208. package/types/directives/timestamp.d.ts +5 -0
  209. package/types/hooks/index.d.ts +4 -0
  210. package/types/hooks/useVue.d.ts +13 -0
  211. package/types/hooks/useVueEffect.d.ts +1 -0
  212. package/types/hooks/useVueRouter.d.ts +14 -0
  213. package/types/hooks/useVuex/modules/demo.d.ts +4 -0
  214. package/types/hooks/useVuex/modules/root.d.ts +4 -0
  215. package/types/hooks/useVuex/useVuex.d.ts +24 -0
  216. package/types/lib.d.ts +3 -79
  217. package/types/plugins/demo.d.ts +4 -0
  218. package/types/plugins/index.d.ts +1 -0
@@ -1,32 +1,31 @@
1
- var YZCustomElement=function(he){"use strict";/**
2
- * @vue/shared v3.4.21
1
+ var YZCustomElement=function(fe){"use strict";/**
2
+ * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **/function bs(s,t){const e=new Set(s.split(","));return t?o=>e.has(o.toLowerCase()):o=>e.has(o)}const Wt={}.NODE_ENV!=="production"?Object.freeze({}):{},_s={}.NODE_ENV!=="production"?Object.freeze([]):[],de=()=>{},Hd=()=>!1,Bs=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&(s.charCodeAt(2)>122||s.charCodeAt(2)<97),Tr=s=>s.startsWith("onUpdate:"),ie=Object.assign,Qn=(s,t)=>{const e=s.indexOf(t);e>-1&&s.splice(e,1)},Wd=Object.prototype.hasOwnProperty,zt=(s,t)=>Wd.call(s,t),Pt=Array.isArray,Zo=s=>Sr(s)==="[object Map]",pl=s=>Sr(s)==="[object Set]",Ft=s=>typeof s=="function",ce=s=>typeof s=="string",xs=s=>typeof s=="symbol",Ht=s=>s!==null&&typeof s=="object",Kn=s=>(Ht(s)||Ft(s))&&Ft(s.then)&&Ft(s.catch),ml=Object.prototype.toString,Sr=s=>ml.call(s),Jn=s=>Sr(s).slice(8,-1),gl=s=>Sr(s)==="[object Object]",ta=s=>ce(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,Ys=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zd=bs("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Er=s=>{const t=Object.create(null);return e=>t[e]||(t[e]=s(e))},qd=/-(\w)/g,mo=Er(s=>s.replace(qd,(t,e)=>e?e.toUpperCase():"")),Qd=/\B([A-Z])/g,Xe=Er(s=>s.replace(Qd,"-$1").toLowerCase()),Pr=Er(s=>s.charAt(0).toUpperCase()+s.slice(1)),qo=Er(s=>s?`on${Pr(s)}`:""),Eo=(s,t)=>!Object.is(s,t),Vs=(s,t)=>{for(let e=0;e<s.length;e++)s[e](t)},Or=(s,t,e)=>{Object.defineProperty(s,t,{configurable:!0,enumerable:!1,value:e})},Kd=s=>{const t=parseFloat(s);return isNaN(t)?s:t},yl=s=>{const t=ce(s)?Number(s):NaN;return isNaN(t)?s:t};let vl;const ea=()=>vl||(vl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function A(s){if(Pt(s)){const t={};for(let e=0;e<s.length;e++){const o=s[e],r=ce(o)?of(o):A(o);if(r)for(const n in r)t[n]=r[n]}return t}else if(ce(s)||Ht(s))return s}const Jd=/;(?![^(]*\))/g,tf=/:([^]+)/,ef=/\/\*[^]*?\*\//g;function of(s){const t={};return s.replace(ef,"").split(Jd).forEach(e=>{if(e){const o=e.split(tf);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function te(s){let t="";if(ce(s))t=s;else if(Pt(s))for(let e=0;e<s.length;e++){const o=te(s[e]);o&&(t+=o+" ")}else if(Ht(s))for(const e in s)s[e]&&(t+=e+" ");return t.trim()}const sf=bs("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function bl(s){return!!s||s===""}const yt=s=>ce(s)?s:s==null?"":Pt(s)||Ht(s)&&(s.toString===ml||!Ft(s.toString))?JSON.stringify(s,_l,2):String(s),_l=(s,t)=>t&&t.__v_isRef?_l(s,t.value):Zo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[o,r],n)=>(e[oa(o,n)+" =>"]=r,e),{})}:pl(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>oa(e))}:xs(t)?oa(t):Ht(t)&&!Pt(t)&&!gl(t)?String(t):t,oa=(s,t="")=>{var e;return xs(s)?`Symbol(${(e=s.description)!=null?e:t})`:s};/**
6
- * @vue/reactivity v3.4.21
5
+ **//*! #__NO_SIDE_EFFECTS__ */function Ss(o){const t=Object.create(null);for(const e of o.split(","))t[e]=1;return e=>e in t}const Ht={}.NODE_ENV!=="production"?Object.freeze({}):{},To={}.NODE_ENV!=="production"?Object.freeze([]):[],ye=()=>{},nh=()=>!1,Go=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&(o.charCodeAt(2)>122||o.charCodeAt(2)<97),Rr=o=>o.startsWith("onUpdate:"),ae=Object.assign,sa=(o,t)=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)},ah=Object.prototype.hasOwnProperty,Gt=(o,t)=>ah.call(o,t),Tt=Array.isArray,so=o=>Ir(o)==="[object Map]",vl=o=>Ir(o)==="[object Set]",Ot=o=>typeof o=="function",ce=o=>typeof o=="string",Es=o=>typeof o=="symbol",qt=o=>o!==null&&typeof o=="object",oa=o=>(qt(o)||Ot(o))&&Ot(o.then)&&Ot(o.catch),bl=Object.prototype.toString,Ir=o=>bl.call(o),ra=o=>Ir(o).slice(8,-1),Fr=o=>Ir(o)==="[object Object]",na=o=>ce(o)&&o!=="NaN"&&o[0]!=="-"&&""+parseInt(o,10)===o,Uo=Ss(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ih=Ss("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Dr=o=>{const t=Object.create(null);return e=>t[e]||(t[e]=o(e))},lh=/-(\w)/g,Be=Dr(o=>o.replace(lh,(t,e)=>e?e.toUpperCase():"")),ch=/\B([A-Z])/g,He=Dr(o=>o.replace(ch,"-$1").toLowerCase()),$r=Dr(o=>o.charAt(0).toUpperCase()+o.slice(1)),oo=Dr(o=>o?`on${$r(o)}`:""),Xs=(o,t)=>!Object.is(o,t),jo=(o,...t)=>{for(let e=0;e<o.length;e++)o[e](...t)},Lr=(o,t,e,s=!1)=>{Object.defineProperty(o,t,{configurable:!0,enumerable:!1,writable:s,value:e})},uh=o=>{const t=parseFloat(o);return isNaN(t)?o:t},_l=o=>{const t=ce(o)?Number(o):NaN;return isNaN(t)?o:t};let xl;const Ho=()=>xl||(xl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function M(o){if(Tt(o)){const t={};for(let e=0;e<o.length;e++){const s=o[e],r=ce(s)?ph(s):M(s);if(r)for(const n in r)t[n]=r[n]}return t}else if(ce(o)||qt(o))return o}const fh=/;(?![^(]*\))/g,dh=/:([^]+)/,hh=/\/\*[^]*?\*\//g;function ph(o){const t={};return o.replace(hh,"").split(fh).forEach(e=>{if(e){const s=e.split(dh);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ee(o){let t="";if(ce(o))t=o;else if(Tt(o))for(let e=0;e<o.length;e++){const s=ee(o[e]);s&&(t+=s+" ")}else if(qt(o))for(const e in o)o[e]&&(t+=e+" ");return t.trim()}const mh="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",gh="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",yh="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",vh=Ss(mh),bh=Ss(gh),_h=Ss(yh),xh=Ss("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function wl(o){return!!o||o===""}const kl=o=>!!(o&&o.__v_isRef===!0),yt=o=>ce(o)?o:o==null?"":Tt(o)||qt(o)&&(o.toString===bl||!Ot(o.toString))?kl(o)?yt(o.value):JSON.stringify(o,Cl,2):String(o),Cl=(o,t)=>kl(t)?Cl(o,t.value):so(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[s,r],n)=>(e[aa(s,n)+" =>"]=r,e),{})}:vl(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>aa(e))}:Es(t)?aa(t):qt(t)&&!Tt(t)&&!Fr(t)?String(t):t,aa=(o,t="")=>{var e;return Es(o)?`Symbol(${(e=o.description)!=null?e:t})`:o};/**
6
+ * @vue/reactivity v3.5.13
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/function Po(s,...t){console.warn(`[Vue warn] ${s}`,...t)}let qe;class rf{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=qe,!t&&qe&&(this.index=(qe.scopes||(qe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const e=qe;try{return qe=this,t()}finally{qe=e}}else({}).NODE_ENV!=="production"&&Po("cannot run an inactive effect scope.")}on(){qe=this}off(){qe=this.parent}stop(t){if(this._active){let e,o;for(e=0,o=this.effects.length;e<o;e++)this.effects[e].stop();for(e=0,o=this.cleanups.length;e<o;e++)this.cleanups[e]();if(this.scopes)for(e=0,o=this.scopes.length;e<o;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function nf(s,t=qe){t&&t.active&&t.effects.push(s)}function af(){return qe}let Qo;class sa{constructor(t,e,o,r){this.fn=t,this.trigger=e,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,nf(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Io();for(let t=0;t<this._depsLength;t++){const e=this.deps[t];if(e.computed&&(lf(e.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Ro()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Oo,e=Qo;try{return Oo=!0,Qo=this,this._runnings++,xl(this),this.fn()}finally{wl(this),this._runnings--,Qo=e,Oo=t}}stop(){var t;this.active&&(xl(this),wl(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function lf(s){return s.value}function xl(s){s._trackId++,s._depsLength=0}function wl(s){if(s.deps.length>s._depsLength){for(let t=s._depsLength;t<s.deps.length;t++)kl(s.deps[t],s);s.deps.length=s._depsLength}}function kl(s,t){const e=s.get(t);e!==void 0&&t._trackId!==e&&(s.delete(t),s.size===0&&s.cleanup())}let Oo=!0,ra=0;const Cl=[];function Io(){Cl.push(Oo),Oo=!1}function Ro(){const s=Cl.pop();Oo=s===void 0?!0:s}function na(){ra++}function aa(){for(ra--;!ra&&ia.length;)ia.shift()()}function Tl(s,t,e){var o;if(t.get(s)!==s._trackId){t.set(s,s._trackId);const r=s.deps[s._depsLength];r!==t?(r&&kl(r,s),s.deps[s._depsLength++]=t):s._depsLength++,{}.NODE_ENV!=="production"&&((o=s.onTrack)==null||o.call(s,ie({effect:s},e)))}}const ia=[];function Sl(s,t,e){var o;na();for(const r of s.keys()){let n;r._dirtyLevel<t&&(n??(n=s.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(n??(n=s.get(r)===r._trackId))&&({}.NODE_ENV!=="production"&&((o=r.onTrigger)==null||o.call(r,ie({effect:r},e))),r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&ia.push(r.scheduler)))}aa()}const El=(s,t)=>{const e=new Map;return e.cleanup=s,e.computed=t,e},la=new WeakMap,Ko=Symbol({}.NODE_ENV!=="production"?"iterate":""),ca=Symbol({}.NODE_ENV!=="production"?"Map key iterate":"");function ke(s,t,e){if(Oo&&Qo){let o=la.get(s);o||la.set(s,o=new Map);let r=o.get(e);r||o.set(e,r=El(()=>o.delete(e))),Tl(Qo,r,{}.NODE_ENV!=="production"?{target:s,type:t,key:e}:void 0)}}function oo(s,t,e,o,r,n){const a=la.get(s);if(!a)return;let i=[];if(t==="clear")i=[...a.values()];else if(e==="length"&&Pt(s)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!xs(u)&&u>=l)&&i.push(c)})}else switch(e!==void 0&&i.push(a.get(e)),t){case"add":Pt(s)?ta(e)&&i.push(a.get("length")):(i.push(a.get(Ko)),Zo(s)&&i.push(a.get(ca)));break;case"delete":Pt(s)||(i.push(a.get(Ko)),Zo(s)&&i.push(a.get(ca)));break;case"set":Zo(s)&&i.push(a.get(Ko));break}na();for(const l of i)l&&Sl(l,4,{}.NODE_ENV!=="production"?{target:s,type:t,key:e,newValue:o,oldValue:r,oldTarget:n}:void 0);aa()}const cf=bs("__proto__,__v_isRef,__isVue"),Pl=new Set(Object.getOwnPropertyNames(Symbol).filter(s=>s!=="arguments"&&s!=="caller").map(s=>Symbol[s]).filter(xs)),Ol=uf();function uf(){const s={};return["includes","indexOf","lastIndexOf"].forEach(t=>{s[t]=function(...e){const o=Dt(this);for(let n=0,a=this.length;n<a;n++)ke(o,"get",n+"");const r=o[t](...e);return r===-1||r===!1?o[t](...e.map(Dt)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{s[t]=function(...e){Io(),na();const o=Dt(this)[t].apply(this,e);return aa(),Ro(),o}}),s}function hf(s){const t=Dt(this);return ke(t,"has",s),t.hasOwnProperty(s)}class Il{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,o){const r=this._isReadonly,n=this._isShallow;if(e==="__v_isReactive")return!r;if(e==="__v_isReadonly")return r;if(e==="__v_isShallow")return n;if(e==="__v_raw")return o===(r?n?Yl:Bl:n?zl:Nl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=Pt(t);if(!r){if(a&&zt(Ol,e))return Reflect.get(Ol,e,o);if(e==="hasOwnProperty")return hf}const i=Reflect.get(t,e,o);return(xs(e)?Pl.has(e):cf(e))||(r||ke(t,"get",e),n)?i:Ce(i)?a&&ta(e)?i:i.value:Ht(i)?r?Vl(i):Zt(i):i}}class Rl extends Il{constructor(t=!1){super(!1,t)}set(t,e,o,r){let n=t[e];if(!this._isShallow){const l=$o(n);if(!ts(o)&&!$o(o)&&(n=Dt(n),o=Dt(o)),!Pt(t)&&Ce(n)&&!Ce(o))return l?!1:(n.value=o,!0)}const a=Pt(t)&&ta(e)?Number(e)<t.length:zt(t,e),i=Reflect.set(t,e,o,r);return t===Dt(r)&&(a?Eo(o,n)&&oo(t,"set",e,o,n):oo(t,"add",e,o)),i}deleteProperty(t,e){const o=zt(t,e),r=t[e],n=Reflect.deleteProperty(t,e);return n&&o&&oo(t,"delete",e,void 0,r),n}has(t,e){const o=Reflect.has(t,e);return(!xs(e)||!Pl.has(e))&&ke(t,"has",e),o}ownKeys(t){return ke(t,"iterate",Pt(t)?"length":Ko),Reflect.ownKeys(t)}}class Fl extends Il{constructor(t=!1){super(!0,t)}set(t,e){return{}.NODE_ENV!=="production"&&Po(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0}deleteProperty(t,e){return{}.NODE_ENV!=="production"&&Po(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}}const df=new Rl,ff=new Fl,pf=new Rl(!0),mf=new Fl(!0),ua=s=>s,Ir=s=>Reflect.getPrototypeOf(s);function Rr(s,t,e=!1,o=!1){s=s.__v_raw;const r=Dt(s),n=Dt(t);e||(Eo(t,n)&&ke(r,"get",t),ke(r,"get",n));const{has:a}=Ir(r),i=o?ua:e?da:Xs;if(a.call(r,t))return i(s.get(t));if(a.call(r,n))return i(s.get(n));s!==r&&s.get(t)}function Fr(s,t=!1){const e=this.__v_raw,o=Dt(e),r=Dt(s);return t||(Eo(s,r)&&ke(o,"has",s),ke(o,"has",r)),s===r?e.has(s):e.has(s)||e.has(r)}function $r(s,t=!1){return s=s.__v_raw,!t&&ke(Dt(s),"iterate",Ko),Reflect.get(s,"size",s)}function $l(s){s=Dt(s);const t=Dt(this);return Ir(t).has.call(t,s)||(t.add(s),oo(t,"add",s,s)),this}function Dl(s,t){t=Dt(t);const e=Dt(this),{has:o,get:r}=Ir(e);let n=o.call(e,s);n?{}.NODE_ENV!=="production"&&Al(e,o,s):(s=Dt(s),n=o.call(e,s));const a=r.call(e,s);return e.set(s,t),n?Eo(t,a)&&oo(e,"set",s,t,a):oo(e,"add",s,t),this}function Ll(s){const t=Dt(this),{has:e,get:o}=Ir(t);let r=e.call(t,s);r?{}.NODE_ENV!=="production"&&Al(t,e,s):(s=Dt(s),r=e.call(t,s));const n=o?o.call(t,s):void 0,a=t.delete(s);return r&&oo(t,"delete",s,void 0,n),a}function Ml(){const s=Dt(this),t=s.size!==0,e={}.NODE_ENV!=="production"?Zo(s)?new Map(s):new Set(s):void 0,o=s.clear();return t&&oo(s,"clear",void 0,void 0,e),o}function Dr(s,t){return function(o,r){const n=this,a=n.__v_raw,i=Dt(a),l=t?ua:s?da:Xs;return!s&&ke(i,"iterate",Ko),a.forEach((c,u)=>o.call(r,l(c),l(u),n))}}function Lr(s,t,e){return function(...o){const r=this.__v_raw,n=Dt(r),a=Zo(n),i=s==="entries"||s===Symbol.iterator&&a,l=s==="keys"&&a,c=r[s](...o),u=e?ua:t?da:Xs;return!t&&ke(n,"iterate",l?ca:Ko),{next(){const{value:h,done:f}=c.next();return f?{value:h,done:f}:{value:i?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function Fo(s){return function(...t){if({}.NODE_ENV!=="production"){const e=t[0]?`on key "${t[0]}" `:"";Po(`${Pr(s)} operation ${e}failed: target is readonly.`,Dt(this))}return s==="delete"?!1:s==="clear"?void 0:this}}function gf(){const s={get(n){return Rr(this,n)},get size(){return $r(this)},has:Fr,add:$l,set:Dl,delete:Ll,clear:Ml,forEach:Dr(!1,!1)},t={get(n){return Rr(this,n,!1,!0)},get size(){return $r(this)},has:Fr,add:$l,set:Dl,delete:Ll,clear:Ml,forEach:Dr(!1,!0)},e={get(n){return Rr(this,n,!0)},get size(){return $r(this,!0)},has(n){return Fr.call(this,n,!0)},add:Fo("add"),set:Fo("set"),delete:Fo("delete"),clear:Fo("clear"),forEach:Dr(!0,!1)},o={get(n){return Rr(this,n,!0,!0)},get size(){return $r(this,!0)},has(n){return Fr.call(this,n,!0)},add:Fo("add"),set:Fo("set"),delete:Fo("delete"),clear:Fo("clear"),forEach:Dr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(n=>{s[n]=Lr(n,!1,!1),e[n]=Lr(n,!0,!1),t[n]=Lr(n,!1,!0),o[n]=Lr(n,!0,!0)}),[s,e,t,o]}const[yf,vf,bf,_f]=gf();function Mr(s,t){const e=t?s?_f:bf:s?vf:yf;return(o,r,n)=>r==="__v_isReactive"?!s:r==="__v_isReadonly"?s:r==="__v_raw"?o:Reflect.get(zt(e,r)&&r in o?e:o,r,n)}const xf={get:Mr(!1,!1)},wf={get:Mr(!1,!0)},kf={get:Mr(!0,!1)},Cf={get:Mr(!0,!0)};function Al(s,t,e){const o=Dt(e);if(o!==e&&t.call(s,o)){const r=Jn(s);Po(`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 Nl=new WeakMap,zl=new WeakMap,Bl=new WeakMap,Yl=new WeakMap;function Tf(s){switch(s){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Sf(s){return s.__v_skip||!Object.isExtensible(s)?0:Tf(Jn(s))}function Zt(s){return $o(s)?s:Ar(s,!1,df,xf,Nl)}function Ef(s){return Ar(s,!1,pf,wf,zl)}function Vl(s){return Ar(s,!0,ff,kf,Bl)}function ws(s){return Ar(s,!0,mf,Cf,Yl)}function Ar(s,t,e,o,r){if(!Ht(s))return{}.NODE_ENV!=="production"&&Po(`value cannot be made reactive: ${String(s)}`),s;if(s.__v_raw&&!(t&&s.__v_isReactive))return s;const n=r.get(s);if(n)return n;const a=Sf(s);if(a===0)return s;const i=new Proxy(s,a===2?o:e);return r.set(s,i),i}function Jo(s){return $o(s)?Jo(s.__v_raw):!!(s&&s.__v_isReactive)}function $o(s){return!!(s&&s.__v_isReadonly)}function ts(s){return!!(s&&s.__v_isShallow)}function ha(s){return Jo(s)||$o(s)}function Dt(s){const t=s&&s.__v_raw;return t?Dt(t):s}function Xl(s){return Object.isExtensible(s)&&Or(s,"__v_skip",!0),s}const Xs=s=>Ht(s)?Zt(s):s,da=s=>Ht(s)?Vl(s):s,Pf="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Gl{constructor(t,e,o,r){this.getter=t,this._setter=e,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new sa(()=>t(this._value),()=>Nr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=Dt(this);return(!t._cacheable||t.effect.dirty)&&Eo(t._value,t._value=t.effect.run())&&Nr(t,4),Ul(t),t.effect._dirtyLevel>=2&&({}.NODE_ENV!=="production"&&this._warnRecursive&&Po(Pf,`
10
-
11
- getter: `,this.getter),Nr(t,2)),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Of(s,t,e=!1){let o,r;const n=Ft(s);n?(o=s,r={}.NODE_ENV!=="production"?()=>{Po("Write operation failed: computed value is readonly")}:de):(o=s.get,r=s.set);const a=new Gl(o,r,n||!r,e);return{}.NODE_ENV!=="production"&&t&&!e&&(a.effect.onTrack=t.onTrack,a.effect.onTrigger=t.onTrigger),a}function Ul(s){var t;Oo&&Qo&&(s=Dt(s),Tl(Qo,(t=s.dep)!=null?t:s.dep=El(()=>s.dep=void 0,s instanceof Gl?s:void 0),{}.NODE_ENV!=="production"?{target:s,type:"get",key:"value"}:void 0))}function Nr(s,t=4,e){s=Dt(s);const o=s.dep;o&&Sl(o,t,{}.NODE_ENV!=="production"?{target:s,type:"set",key:"value",newValue:e}:void 0)}function Ce(s){return!!(s&&s.__v_isRef===!0)}function I(s){return If(s,!1)}function If(s,t){return Ce(s)?s:new Rf(s,t)}class Rf{constructor(t,e){this.__v_isShallow=e,this.dep=void 0,this.__v_isRef=!0,this._rawValue=e?t:Dt(t),this._value=e?t:Xs(t)}get value(){return Ul(this),this._value}set value(t){const e=this.__v_isShallow||ts(t)||$o(t);t=e?t:Dt(t),Eo(t,this._rawValue)&&(this._rawValue=t,this._value=e?t:Xs(t),Nr(this,4,t))}}function Et(s){return Ce(s)?s.value:s}const Ff={get:(s,t,e)=>Et(Reflect.get(s,t,e)),set:(s,t,e,o)=>{const r=s[t];return Ce(r)&&!Ce(e)?(r.value=e,!0):Reflect.set(s,t,e,o)}};function jl(s){return Jo(s)?s:new Proxy(s,Ff)}/**
12
- * @vue/runtime-core v3.4.21
9
+ **/function cs(o,...t){console.warn(`[Vue warn] ${o}`,...t)}let We;class wh{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=We,!t&&We&&(this.index=(We.scopes||(We.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=We;try{return We=this,t()}finally{We=e}}else({}).NODE_ENV!=="production"&&cs("cannot run an inactive effect scope.")}on(){We=this}off(){We=this.parent}stop(t){if(this._active){this._active=!1;let e,s;for(e=0,s=this.effects.length;e<s;e++)this.effects[e].stop();for(this.effects.length=0,e=0,s=this.cleanups.length;e<s;e++)this.cleanups[e]();if(this.cleanups.length=0,this.scopes){for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].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 kh(){return We}let Wt;const ia=new WeakSet;class Tl{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,We&&We.active&&We.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ia.has(this)&&(ia.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||El(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Fl(this),Pl(this);const t=Wt,e=ns;Wt=this,ns=!0;try{return this.fn()}finally{({}).NODE_ENV!=="production"&&Wt!==this&&cs("Active effect was not restored correctly - this is likely a Vue internal bug."),Ol(this),Wt=t,ns=e,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)fa(t);this.deps=this.depsTail=void 0,Fl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ia.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ua(this)&&this.run()}get dirty(){return ua(this)}}let Sl=0,Wo,Zo;function El(o,t=!1){if(o.flags|=8,t){o.next=Zo,Zo=o;return}o.next=Wo,Wo=o}function la(){Sl++}function ca(){if(--Sl>0)return;if(Zo){let t=Zo;for(Zo=void 0;t;){const e=t.next;t.next=void 0,t.flags&=-9,t=e}}let o;for(;Wo;){let t=Wo;for(Wo=void 0;t;){const e=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){o||(o=s)}t=e}}if(o)throw o}function Pl(o){for(let t=o.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ol(o){let t,e=o.depsTail,s=e;for(;s;){const r=s.prevDep;s.version===-1?(s===e&&(e=r),fa(s),Ch(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}o.deps=t,o.depsTail=e}function ua(o){for(let t=o.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Rl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!o._dirty}function Rl(o){if(o.flags&4&&!(o.flags&16)||(o.flags&=-17,o.globalVersion===qo))return;o.globalVersion=qo;const t=o.dep;if(o.flags|=2,t.version>0&&!o.isSSR&&o.deps&&!ua(o)){o.flags&=-3;return}const e=Wt,s=ns;Wt=o,ns=!0;try{Pl(o);const r=o.fn(o._value);(t.version===0||Xs(r,o._value))&&(o._value=r,t.version++)}catch(r){throw t.version++,r}finally{Wt=e,ns=s,Ol(o),o.flags&=-3}}function fa(o,t=!1){const{dep:e,prevSub:s,nextSub:r}=o;if(s&&(s.nextSub=r,o.prevSub=void 0),r&&(r.prevSub=s,o.nextSub=void 0),{}.NODE_ENV!=="production"&&e.subsHead===o&&(e.subsHead=r),e.subs===o&&(e.subs=s,!s&&e.computed)){e.computed.flags&=-5;for(let n=e.computed.deps;n;n=n.nextDep)fa(n,!0)}!t&&!--e.sc&&e.map&&e.map.delete(e.key)}function Ch(o){const{prevDep:t,nextDep:e}=o;t&&(t.nextDep=e,o.prevDep=void 0),e&&(e.prevDep=t,o.nextDep=void 0)}let ns=!0;const Il=[];function Ps(){Il.push(ns),ns=!1}function Os(){const o=Il.pop();ns=o===void 0?!0:o}function Fl(o){const{cleanup:t}=o;if(o.cleanup=void 0,t){const e=Wt;Wt=void 0;try{t()}finally{Wt=e}}}let qo=0;class Th{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 da=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(!Wt||!ns||Wt===this.computed)return;let e=this.activeLink;if(e===void 0||e.sub!==Wt)e=this.activeLink=new Th(Wt,this),Wt.deps?(e.prevDep=Wt.depsTail,Wt.depsTail.nextDep=e,Wt.depsTail=e):Wt.deps=Wt.depsTail=e,Dl(e);else if(e.version===-1&&(e.version=this.version,e.nextDep)){const s=e.nextDep;s.prevDep=e.prevDep,e.prevDep&&(e.prevDep.nextDep=s),e.prevDep=Wt.depsTail,e.nextDep=void 0,Wt.depsTail.nextDep=e,Wt.depsTail=e,Wt.deps===e&&(Wt.deps=s)}return{}.NODE_ENV!=="production"&&Wt.onTrack&&Wt.onTrack(ae({effect:Wt},t)),e}trigger(t){this.version++,qo++,this.notify(t)}notify(t){la();try{if({}.NODE_ENV!=="production")for(let e=this.subsHead;e;e=e.nextSub)e.sub.onTrigger&&!(e.sub.flags&8)&&e.sub.onTrigger(ae({effect:e.sub},t));for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ca()}}};function Dl(o){if(o.dep.sc++,o.sub.flags&4){const t=o.dep.computed;if(t&&!o.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Dl(s)}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 ha=new WeakMap,ro=Symbol({}.NODE_ENV!=="production"?"Object iterate":""),pa=Symbol({}.NODE_ENV!=="production"?"Map keys iterate":""),Qo=Symbol({}.NODE_ENV!=="production"?"Array iterate":"");function ve(o,t,e){if(ns&&Wt){let s=ha.get(o);s||ha.set(o,s=new Map);let r=s.get(e);r||(s.set(e,r=new da),r.map=s,r.key=e),{}.NODE_ENV!=="production"?r.track({target:o,type:t,key:e}):r.track()}}function us(o,t,e,s,r,n){const a=ha.get(o);if(!a){qo++;return}const i=l=>{l&&({}.NODE_ENV!=="production"?l.trigger({target:o,type:t,key:e,newValue:s,oldValue:r,oldTarget:n}):l.trigger())};if(la(),t==="clear")a.forEach(i);else{const l=Tt(o),c=l&&na(e);if(l&&e==="length"){const u=Number(s);a.forEach((f,d)=>{(d==="length"||d===Qo||!Es(d)&&d>=u)&&i(f)})}else switch((e!==void 0||a.has(void 0))&&i(a.get(e)),c&&i(a.get(Qo)),t){case"add":l?c&&i(a.get("length")):(i(a.get(ro)),so(o)&&i(a.get(pa)));break;case"delete":l||(i(a.get(ro)),so(o)&&i(a.get(pa)));break;case"set":so(o)&&i(a.get(ro));break}}ca()}function So(o){const t=Lt(o);return t===o?t:(ve(t,"iterate",Qo),De(o)?t:t.map(Re))}function Nr(o){return ve(o=Lt(o),"iterate",Qo),o}const Sh={__proto__:null,[Symbol.iterator](){return ma(this,Symbol.iterator,Re)},concat(...o){return So(this).concat(...o.map(t=>Tt(t)?So(t):t))},entries(){return ma(this,"entries",o=>(o[1]=Re(o[1]),o))},every(o,t){return Rs(this,"every",o,t,void 0,arguments)},filter(o,t){return Rs(this,"filter",o,t,e=>e.map(Re),arguments)},find(o,t){return Rs(this,"find",o,t,Re,arguments)},findIndex(o,t){return Rs(this,"findIndex",o,t,void 0,arguments)},findLast(o,t){return Rs(this,"findLast",o,t,Re,arguments)},findLastIndex(o,t){return Rs(this,"findLastIndex",o,t,void 0,arguments)},forEach(o,t){return Rs(this,"forEach",o,t,void 0,arguments)},includes(...o){return ga(this,"includes",o)},indexOf(...o){return ga(this,"indexOf",o)},join(o){return So(this).join(o)},lastIndexOf(...o){return ga(this,"lastIndexOf",o)},map(o,t){return Rs(this,"map",o,t,void 0,arguments)},pop(){return Ko(this,"pop")},push(...o){return Ko(this,"push",o)},reduce(o,...t){return $l(this,"reduce",o,t)},reduceRight(o,...t){return $l(this,"reduceRight",o,t)},shift(){return Ko(this,"shift")},some(o,t){return Rs(this,"some",o,t,void 0,arguments)},splice(...o){return Ko(this,"splice",o)},toReversed(){return So(this).toReversed()},toSorted(o){return So(this).toSorted(o)},toSpliced(...o){return So(this).toSpliced(...o)},unshift(...o){return Ko(this,"unshift",o)},values(){return ma(this,"values",Re)}};function ma(o,t,e){const s=Nr(o),r=s[t]();return s!==o&&!De(o)&&(r._next=r.next,r.next=()=>{const n=r._next();return n.value&&(n.value=e(n.value)),n}),r}const Eh=Array.prototype;function Rs(o,t,e,s,r,n){const a=Nr(o),i=a!==o&&!De(o),l=a[t];if(l!==Eh[t]){const f=l.apply(o,n);return i?Re(f):f}let c=e;a!==o&&(i?c=function(f,d){return e.call(this,Re(f),d,o)}:e.length>2&&(c=function(f,d){return e.call(this,f,d,o)}));const u=l.call(a,c,s);return i&&r?r(u):u}function $l(o,t,e,s){const r=Nr(o);let n=e;return r!==o&&(De(o)?e.length>3&&(n=function(a,i,l){return e.call(this,a,i,l,o)}):n=function(a,i,l){return e.call(this,a,Re(i),l,o)}),r[t](n,...s)}function ga(o,t,e){const s=Lt(o);ve(s,"iterate",Qo);const r=s[t](...e);return(r===-1||r===!1)&&Br(e[0])?(e[0]=Lt(e[0]),s[t](...e)):r}function Ko(o,t,e=[]){Ps(),la();const s=Lt(o)[t].apply(o,e);return ca(),Os(),s}const Ph=Ss("__proto__,__v_isRef,__isVue"),Ll=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(Es));function Oh(o){Es(o)||(o=String(o));const t=Lt(this);return ve(t,"has",o),t.hasOwnProperty(o)}class Nl{constructor(t=!1,e=!1){this._isReadonly=t,this._isShallow=e}get(t,e,s){if(e==="__v_skip")return t.__v_skip;const r=this._isReadonly,n=this._isShallow;if(e==="__v_isReactive")return!r;if(e==="__v_isReadonly")return r;if(e==="__v_isShallow")return n;if(e==="__v_raw")return s===(r?n?Xl:Yl:n?Bl:Vl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=Tt(t);if(!r){let l;if(a&&(l=Sh[e]))return l;if(e==="hasOwnProperty")return Oh}const i=Reflect.get(t,e,de(t)?t:s);return(Es(e)?Ll.has(e):Ph(e))||(r||ve(t,"get",e),n)?i:de(i)?a&&na(e)?i:i.value:qt(i)?r?Gl(i):Qt(i):i}}class Ml extends Nl{constructor(t=!1){super(!1,t)}set(t,e,s,r){let n=t[e];if(!this._isShallow){const l=Is(n);if(!De(s)&&!Is(s)&&(n=Lt(n),s=Lt(s)),!Tt(t)&&de(n)&&!de(s))return l?!1:(n.value=s,!0)}const a=Tt(t)&&na(e)?Number(e)<t.length:Gt(t,e),i=Reflect.set(t,e,s,de(t)?t:r);return t===Lt(r)&&(a?Xs(s,n)&&us(t,"set",e,s,n):us(t,"add",e,s)),i}deleteProperty(t,e){const s=Gt(t,e),r=t[e],n=Reflect.deleteProperty(t,e);return n&&s&&us(t,"delete",e,void 0,r),n}has(t,e){const s=Reflect.has(t,e);return(!Es(e)||!Ll.has(e))&&ve(t,"has",e),s}ownKeys(t){return ve(t,"iterate",Tt(t)?"length":ro),Reflect.ownKeys(t)}}class Al extends Nl{constructor(t=!1){super(!0,t)}set(t,e){return{}.NODE_ENV!=="production"&&cs(`Set operation on key "${String(e)}" failed: target is readonly.`,t),!0}deleteProperty(t,e){return{}.NODE_ENV!=="production"&&cs(`Delete operation on key "${String(e)}" failed: target is readonly.`,t),!0}}const Rh=new Ml,Ih=new Al,Fh=new Ml(!0),Dh=new Al(!0),ya=o=>o,Mr=o=>Reflect.getPrototypeOf(o);function $h(o,t,e){return function(...s){const r=this.__v_raw,n=Lt(r),a=so(n),i=o==="entries"||o===Symbol.iterator&&a,l=o==="keys"&&a,c=r[o](...s),u=e?ya:t?va:Re;return!t&&ve(n,"iterate",l?pa:ro),{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]}" `:"";cs(`${$r(o)} operation ${e}failed: target is readonly.`,Lt(this))}return o==="delete"?!1:o==="clear"?void 0:this}}function Lh(o,t){const e={get(r){const n=this.__v_raw,a=Lt(n),i=Lt(r);o||(Xs(r,i)&&ve(a,"get",r),ve(a,"get",i));const{has:l}=Mr(a),c=t?ya:o?va:Re;if(l.call(a,r))return c(n.get(r));if(l.call(a,i))return c(n.get(i));n!==a&&n.get(r)},get size(){const r=this.__v_raw;return!o&&ve(Lt(r),"iterate",ro),Reflect.get(r,"size",r)},has(r){const n=this.__v_raw,a=Lt(n),i=Lt(r);return o||(Xs(r,i)&&ve(a,"has",r),ve(a,"has",i)),r===i?n.has(r):n.has(r)||n.has(i)},forEach(r,n){const a=this,i=a.__v_raw,l=Lt(i),c=t?ya:o?va:Re;return!o&&ve(l,"iterate",ro),i.forEach((u,f)=>r.call(n,c(u),c(f),a))}};return ae(e,o?{add:Ar("add"),set:Ar("set"),delete:Ar("delete"),clear:Ar("clear")}:{add(r){!t&&!De(r)&&!Is(r)&&(r=Lt(r));const n=Lt(this);return Mr(n).has.call(n,r)||(n.add(r),us(n,"add",r,r)),this},set(r,n){!t&&!De(n)&&!Is(n)&&(n=Lt(n));const a=Lt(this),{has:i,get:l}=Mr(a);let c=i.call(a,r);c?{}.NODE_ENV!=="production"&&zl(a,i,r):(r=Lt(r),c=i.call(a,r));const u=l.call(a,r);return a.set(r,n),c?Xs(n,u)&&us(a,"set",r,n,u):us(a,"add",r,n),this},delete(r){const n=Lt(this),{has:a,get:i}=Mr(n);let l=a.call(n,r);l?{}.NODE_ENV!=="production"&&zl(n,a,r):(r=Lt(r),l=a.call(n,r));const c=i?i.call(n,r):void 0,u=n.delete(r);return l&&us(n,"delete",r,void 0,c),u},clear(){const r=Lt(this),n=r.size!==0,a={}.NODE_ENV!=="production"?so(r)?new Map(r):new Set(r):void 0,i=r.clear();return n&&us(r,"clear",void 0,void 0,a),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=$h(r,o,t)}),e}function zr(o,t){const e=Lh(o,t);return(s,r,n)=>r==="__v_isReactive"?!o:r==="__v_isReadonly"?o:r==="__v_raw"?s:Reflect.get(Gt(e,r)&&r in s?e:s,r,n)}const Nh={get:zr(!1,!1)},Mh={get:zr(!1,!0)},Ah={get:zr(!0,!1)},zh={get:zr(!0,!0)};function zl(o,t,e){const s=Lt(e);if(s!==e&&t.call(o,s)){const r=ra(o);cs(`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 Vl=new WeakMap,Bl=new WeakMap,Yl=new WeakMap,Xl=new WeakMap;function Vh(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bh(o){return o.__v_skip||!Object.isExtensible(o)?0:Vh(ra(o))}function Qt(o){return Is(o)?o:Vr(o,!1,Rh,Nh,Vl)}function Yh(o){return Vr(o,!1,Fh,Mh,Bl)}function Gl(o){return Vr(o,!0,Ih,Ah,Yl)}function fs(o){return Vr(o,!0,Dh,zh,Xl)}function Vr(o,t,e,s,r){if(!qt(o))return{}.NODE_ENV!=="production"&&cs(`value cannot be made ${t?"readonly":"reactive"}: ${String(o)}`),o;if(o.__v_raw&&!(t&&o.__v_isReactive))return o;const n=r.get(o);if(n)return n;const a=Bh(o);if(a===0)return o;const i=new Proxy(o,a===2?s:e);return r.set(o,i),i}function no(o){return Is(o)?no(o.__v_raw):!!(o&&o.__v_isReactive)}function Is(o){return!!(o&&o.__v_isReadonly)}function De(o){return!!(o&&o.__v_isShallow)}function Br(o){return o?!!o.__v_raw:!1}function Lt(o){const t=o&&o.__v_raw;return t?Lt(t):o}function Xh(o){return!Gt(o,"__v_skip")&&Object.isExtensible(o)&&Lr(o,"__v_skip",!0),o}const Re=o=>qt(o)?Qt(o):o,va=o=>qt(o)?Gl(o):o;function de(o){return o?o.__v_isRef===!0:!1}function R(o){return Gh(o,!1)}function Gh(o,t){return de(o)?o:new Uh(o,t)}class Uh{constructor(t,e){this.dep=new da,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=e?t:Lt(t),this._value=e?t:Re(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,s=this.__v_isShallow||De(t)||Is(t);t=s?t:Lt(t),Xs(t,e)&&(this._rawValue=t,this._value=s?t:Re(t),{}.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:e}):this.dep.trigger())}}function Ct(o){return de(o)?o.value:o}const jh={get:(o,t,e)=>t==="__v_raw"?o:Ct(Reflect.get(o,t,e)),set:(o,t,e,s)=>{const r=o[t];return de(r)&&!de(e)?(r.value=e,!0):Reflect.set(o,t,e,s)}};function Ul(o){return no(o)?o:new Proxy(o,jh)}class Hh{constructor(t,e,s){this.fn=t,this.setter=e,this._value=void 0,this.dep=new da(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qo-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!e,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Wt!==this)return El(this,!0),!0}get value(){const t={}.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return Rl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):{}.NODE_ENV!=="production"&&cs("Write operation failed: computed value is readonly")}}function Wh(o,t,e=!1){let s,r;Ot(o)?s=o:(s=o.get,r=o.set);const n=new Hh(s,r,e);return{}.NODE_ENV!=="production"&&t&&!e&&(n.onTrack=t.onTrack,n.onTrigger=t.onTrigger),n}const Yr={},Xr=new WeakMap;let ao;function Zh(o,t=!1,e=ao){if(e){let s=Xr.get(e);s||Xr.set(e,s=[]),s.push(o)}else({}).NODE_ENV!=="production"&&!t&&cs("onWatcherCleanup() was called when there was no active watcher to associate with.")}function qh(o,t,e=Ht){const{immediate:s,deep:r,once:n,scheduler:a,augmentJob:i,call:l}=e,c=b=>{(e.onWarn||cs)("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=>r?b:De(b)||r===!1||r===0?Fs(b,1):Fs(b);let f,d,p,h,w=!1,_=!1;if(de(o)?(d=()=>o.value,w=De(o)):no(o)?(d=()=>u(o),w=!0):Tt(o)?(_=!0,w=o.some(b=>no(b)||De(b)),d=()=>o.map(b=>{if(de(b))return b.value;if(no(b))return u(b);if(Ot(b))return l?l(b,2):b();({}).NODE_ENV!=="production"&&c(b)})):Ot(o)?t?d=l?()=>l(o,2):o:d=()=>{if(p){Ps();try{p()}finally{Os()}}const b=ao;ao=f;try{return l?l(o,3,[h]):o(h)}finally{ao=b}}:(d=ye,{}.NODE_ENV!=="production"&&c(o)),t&&r){const b=d,C=r===!0?1/0:r;d=()=>Fs(b(),C)}const x=kh(),v=()=>{f.stop(),x&&x.active&&sa(x.effects,f)};if(n&&t){const b=t;t=(...C)=>{b(...C),v()}}let g=_?new Array(o.length).fill(Yr):Yr;const m=b=>{if(!(!(f.flags&1)||!f.dirty&&!b))if(t){const C=f.run();if(r||w||(_?C.some((U,K)=>Xs(U,g[K])):Xs(C,g))){p&&p();const U=ao;ao=f;try{const K=[C,g===Yr?void 0:_&&g[0]===Yr?[]:g,h];l?l(t,3,K):t(...K),g=C}finally{ao=U}}}else f.run()};return i&&i(m),f=new Tl(d),f.scheduler=a?()=>a(m,!1):m,h=b=>Zh(b,!1,f),p=f.onStop=()=>{const b=Xr.get(f);if(b){if(l)l(b,4);else for(const C of b)C();Xr.delete(f)}},{}.NODE_ENV!=="production"&&(f.onTrack=e.onTrack,f.onTrigger=e.onTrigger),t?s?m(!0):g=f.run():a?a(m.bind(null,!0),!0):f.run(),v.pause=f.pause.bind(f),v.resume=f.resume.bind(f),v.stop=v,v}function Fs(o,t=1/0,e){if(t<=0||!qt(o)||o.__v_skip||(e=e||new Set,e.has(o)))return o;if(e.add(o),t--,de(o))Fs(o.value,t,e);else if(Tt(o))for(let s=0;s<o.length;s++)Fs(o[s],t,e);else if(vl(o)||so(o))o.forEach(s=>{Fs(s,t,e)});else if(Fr(o)){for(const s in o)Fs(o[s],t,e);for(const s of Object.getOwnPropertySymbols(o))Object.prototype.propertyIsEnumerable.call(o,s)&&Fs(o[s],t,e)}return o}/**
10
+ * @vue/runtime-core v3.5.13
13
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
14
12
  * @license MIT
15
- **/const es=[];function zr(s){es.push(s)}function Br(){es.pop()}function ut(s,...t){Io();const e=es.length?es[es.length-1].component:null,o=e&&e.appContext.config.warnHandler,r=$f();if(o)go(o,e,11,[s+t.map(n=>{var a,i;return(i=(a=n.toString)==null?void 0:a.call(n))!=null?i:JSON.stringify(n)}).join(""),e&&e.proxy,r.map(({vnode:n})=>`at <${sn(e,n.type)}>`).join(`
16
- `),r]);else{const n=[`[Vue warn]: ${s}`,...t];r.length&&n.push(`
17
- `,...Df(r)),console.warn(...n)}Ro()}function $f(){let s=es[es.length-1];if(!s)return[];const t=[];for(;s;){const e=t[0];e&&e.vnode===s?e.recurseCount++:t.push({vnode:s,recurseCount:0});const o=s.component&&s.component.parent;s=o&&o.vnode}return t}function Df(s){const t=[];return s.forEach((e,o)=>{t.push(...o===0?[]:[`
18
- `],...Lf(e))}),t}function Lf({vnode:s,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",o=s.component?s.component.parent==null:!1,r=` at <${sn(s.component,s.type,o)}`,n=">"+e;return s.props?[r,...Mf(s.props),n]:[r+n]}function Mf(s){const t=[],e=Object.keys(s);return e.slice(0,3).forEach(o=>{t.push(...Hl(o,s[o]))}),e.length>3&&t.push(" ..."),t}function Hl(s,t,e){return ce(t)?(t=JSON.stringify(t),e?t:[`${s}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${s}=${t}`]:Ce(t)?(t=Hl(s,Dt(t.value),!0),e?t:[`${s}=Ref<`,t,">"]):Ft(t)?[`${s}=fn${t.name?`<${t.name}>`:""}`]:(t=Dt(t),e?t:[`${s}=`,t])}const fa={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function go(s,t,e,o){try{return o?s(...o):s()}catch(r){Gs(r,t,e)}}function Qe(s,t,e,o){if(Ft(s)){const n=go(s,t,e,o);return n&&Kn(n)&&n.catch(a=>{Gs(a,t,e)}),n}const r=[];for(let n=0;n<s.length;n++)r.push(Qe(s[n],t,e,o));return r}function Gs(s,t,e,o=!0){const r=t?t.vnode:null;if(t){let n=t.parent;const a=t.proxy,i={}.NODE_ENV!=="production"?fa[e]:`https://vuejs.org/error-reference/#runtime-${e}`;for(;n;){const c=n.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](s,a,i)===!1)return}n=n.parent}const l=t.appContext.config.errorHandler;if(l){go(l,null,10,[s,a,i]);return}}Af(s,e,r,o)}function Af(s,t,e,o=!0){if({}.NODE_ENV!=="production"){const r=fa[t];if(e&&zr(e),ut(`Unhandled error${r?` during execution of ${r}`:""}`),e&&Br(),o)throw s;console.error(s)}else console.error(s)}let Us=!1,pa=!1;const Pe=[];let so=0;const ks=[];let yo=null,Do=0;const Wl=Promise.resolve();let ma=null;const Nf=100;function Zl(s){const t=ma||Wl;return s?t.then(this?s.bind(this):s):t}function zf(s){let t=so+1,e=Pe.length;for(;t<e;){const o=t+e>>>1,r=Pe[o],n=js(r);n<s||n===s&&r.pre?t=o+1:e=o}return t}function Yr(s){(!Pe.length||!Pe.includes(s,Us&&s.allowRecurse?so+1:so))&&(s.id==null?Pe.push(s):Pe.splice(zf(s.id),0,s),ql())}function ql(){!Us&&!pa&&(pa=!0,ma=Wl.then(tc))}function Bf(s){const t=Pe.indexOf(s);t>so&&Pe.splice(t,1)}function Ql(s){Pt(s)?ks.push(...s):(!yo||!yo.includes(s,s.allowRecurse?Do+1:Do))&&ks.push(s),ql()}function Kl(s,t,e=Us?so+1:0){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<Pe.length;e++){const o=Pe[e];if(o&&o.pre){if(s&&o.id!==s.uid||{}.NODE_ENV!=="production"&&ga(t,o))continue;Pe.splice(e,1),e--,o()}}}function Jl(s){if(ks.length){const t=[...new Set(ks)].sort((e,o)=>js(e)-js(o));if(ks.length=0,yo){yo.push(...t);return}for(yo=t,{}.NODE_ENV!=="production"&&(s=s||new Map),Do=0;Do<yo.length;Do++)({}).NODE_ENV!=="production"&&ga(s,yo[Do])||yo[Do]();yo=null,Do=0}}const js=s=>s.id==null?1/0:s.id,Yf=(s,t)=>{const e=js(s)-js(t);if(e===0){if(s.pre&&!t.pre)return-1;if(t.pre&&!s.pre)return 1}return e};function tc(s){pa=!1,Us=!0,{}.NODE_ENV!=="production"&&(s=s||new Map),Pe.sort(Yf);const t={}.NODE_ENV!=="production"?e=>ga(s,e):de;try{for(so=0;so<Pe.length;so++){const e=Pe[so];if(e&&e.active!==!1){if({}.NODE_ENV!=="production"&&t(e))continue;go(e,null,14)}}}finally{so=0,Pe.length=0,Jl(s),Us=!1,ma=null,(Pe.length||ks.length)&&tc(s)}}function ga(s,t){if(!s.has(t))s.set(t,1);else{const e=s.get(t);if(e>Nf){const o=t.ownerInstance,r=o&&Hc(o.type);return Gs(`Maximum recursive updates exceeded${r?` in component <${r}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else s.set(t,e+1)}}let os=!1;const Cs=new Set;({}).NODE_ENV!=="production"&&(ea().__VUE_HMR_RUNTIME__={createRecord:ya(ec),rerender:ya(Gf),reload:ya(Uf)});const ss=new Map;function Vf(s){const t=s.type.__hmrId;let e=ss.get(t);e||(ec(t,s.type),e=ss.get(t)),e.instances.add(s)}function Xf(s){ss.get(s.type.__hmrId).instances.delete(s)}function ec(s,t){return ss.has(s)?!1:(ss.set(s,{initialDef:Hs(t),instances:new Set}),!0)}function Hs(s){return Wc(s)?s.__vccOpts:s}function Gf(s,t){const e=ss.get(s);e&&(e.initialDef.render=t,[...e.instances].forEach(o=>{t&&(o.render=t,Hs(o.type).render=t),o.renderCache=[],os=!0,o.effect.dirty=!0,o.update(),os=!1}))}function Uf(s,t){const e=ss.get(s);if(!e)return;t=Hs(t),oc(e.initialDef,t);const o=[...e.instances];for(const r of o){const n=Hs(r.type);Cs.has(n)||(n!==e.initialDef&&oc(n,t),Cs.add(n)),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(Cs.add(n),r.ceReload(t.styles),Cs.delete(n)):r.parent?(r.parent.effect.dirty=!0,Yr(r.parent.update)):r.appContext.reload?r.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Ql(()=>{for(const r of o)Cs.delete(Hs(r.type))})}function oc(s,t){ie(s,t);for(const e in s)e!=="__file"&&!(e in t)&&delete s[e]}function ya(s){return(t,e)=>{try{return s(t,e)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let ro,Ws=[],va=!1;function Zs(s,...t){ro?ro.emit(s,...t):va||Ws.push({event:s,args:t})}function sc(s,t){var e,o;ro=s,ro?(ro.enabled=!0,Ws.forEach(({event:r,args:n})=>ro.emit(r,...n)),Ws=[]):typeof window<"u"&&window.HTMLElement&&!((o=(e=window.navigator)==null?void 0:e.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(n=>{sc(n,t)}),setTimeout(()=>{ro||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,va=!0,Ws=[])},3e3)):(va=!0,Ws=[])}function jf(s,t){Zs("app:init",s,t,{Fragment:Xt,Text:tr,Comment:Ne,Static:er})}function Hf(s){Zs("app:unmount",s)}const Wf=ba("component:added"),rc=ba("component:updated"),Zf=ba("component:removed"),qf=s=>{ro&&typeof ro.cleanupBuffer=="function"&&!ro.cleanupBuffer(s)&&Zf(s)};function ba(s){return t=>{Zs(s,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Qf=nc("perf:start"),Kf=nc("perf:end");function nc(s){return(t,e,o)=>{Zs(s,t.appContext.app,t.uid,t,e,o)}}function Jf(s,t,e){Zs("component:emit",s.appContext.app,s,t,e)}function tp(s,t,...e){if(s.isUnmounted)return;const o=s.vnode.props||Wt;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[h]}=s;if(u)if(!(t in u))(!h||!(qo(t)in h))&&ut(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${qo(t)}" prop.`);else{const f=u[t];Ft(f)&&(f(...e)||ut(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=e;const n=t.startsWith("update:"),a=n&&t.slice(7);if(a&&a in o){const u=`${a==="modelValue"?"model":a}Modifiers`,{number:h,trim:f}=o[u]||Wt;f&&(r=e.map(p=>ce(p)?p.trim():p)),h&&(r=e.map(Kd))}if({}.NODE_ENV!=="production"&&Jf(s,t,r),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&o[qo(u)]&&ut(`Event "${u}" is emitted in component ${sn(s,s.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 "${Xe(t)}" instead of "${t}".`)}let i,l=o[i=qo(t)]||o[i=qo(mo(t))];!l&&n&&(l=o[i=qo(Xe(t))]),l&&Qe(l,s,6,r);const c=o[i+"Once"];if(c){if(!s.emitted)s.emitted={};else if(s.emitted[i])return;s.emitted[i]=!0,Qe(c,s,6,r)}}function ac(s,t,e=!1){const o=t.emitsCache,r=o.get(s);if(r!==void 0)return r;const n=s.emits;let a={},i=!1;if(!Ft(s)){const l=c=>{const u=ac(c,t,!0);u&&(i=!0,ie(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),s.extends&&l(s.extends),s.mixins&&s.mixins.forEach(l)}return!n&&!i?(Ht(s)&&o.set(s,null),null):(Pt(n)?n.forEach(l=>a[l]=null):ie(a,n),Ht(s)&&o.set(s,a),a)}function Vr(s,t){return!s||!Bs(t)?!1:(t=t.slice(2).replace(/Once$/,""),zt(s,t[0].toLowerCase()+t.slice(1))||zt(s,Xe(t))||zt(s,t))}let fe=null,Xr=null;function Gr(s){const t=fe;return fe=s,Xr=s&&s.type.__scopeId||null,t}function Ts(s){Xr=s}function Ss(){Xr=null}function bt(s,t=fe,e){if(!t||s._n)return s;const o=(...r)=>{o._d&&Dc(-1);const n=Gr(t);let a;try{a=s(...r)}finally{Gr(n),o._d&&Dc(1)}return{}.NODE_ENV!=="production"&&rc(t),a};return o._n=!0,o._c=!0,o._d=!0,o}let _a=!1;function Ur(){_a=!0}function xa(s){const{type:t,vnode:e,proxy:o,withProxy:r,props:n,propsOptions:[a],slots:i,attrs:l,emit:c,render:u,renderCache:h,data:f,setupState:p,ctx:d,inheritAttrs:b}=s;let _,v;const w=Gr(s);({}).NODE_ENV!=="production"&&(_a=!1);try{if(e.shapeFlag&4){const k=r||o,C={}.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(k,{get(z,tt,R){return ut(`Property '${String(tt)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(z,tt,R)}}):k;_=Je(u.call(C,k,h,n,p,f,d)),v=l}else{const k=t;({}).NODE_ENV!=="production"&&l===n&&Ur(),_=Je(k.length>1?k(n,{}.NODE_ENV!=="production"?{get attrs(){return Ur(),l},slots:i,emit:c}:{attrs:l,slots:i,emit:c}):k(n,null)),v=t.props?l:ep(l)}}catch(k){or.length=0,Gs(k,s,1),_=lt(Ne)}let g=_,m;if({}.NODE_ENV!=="production"&&_.patchFlag>0&&_.patchFlag&2048&&([g,m]=ic(_)),v&&b!==!1){const k=Object.keys(v),{shapeFlag:C}=g;if(k.length){if(C&7)a&&k.some(Tr)&&(v=op(v,a)),g=Ao(g,v);else if({}.NODE_ENV!=="production"&&!_a&&g.type!==Ne){const z=Object.keys(l),tt=[],R=[];for(let D=0,M=z.length;D<M;D++){const $=z[D];Bs($)?Tr($)||tt.push($[2].toLowerCase()+$.slice(3)):R.push($)}R.length&&ut(`Extraneous non-props attributes (${R.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes.`),tt.length&&ut(`Extraneous non-emits event listeners (${tt.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"&&!lc(g)&&ut("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=Ao(g),g.dirs=g.dirs?g.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!lc(g)&&ut("Component inside <Transition> renders non-element root node that cannot be animated."),g.transition=e.transition),{}.NODE_ENV!=="production"&&m?m(g):_=g,Gr(w),_}const ic=s=>{const t=s.children,e=s.dynamicChildren,o=wa(t,!1);if(o){if({}.NODE_ENV!=="production"&&o.patchFlag>0&&o.patchFlag&2048)return ic(o)}else return[s,void 0];const r=t.indexOf(o),n=e?e.indexOf(o):-1,a=i=>{t[r]=i,e&&(n>-1?e[n]=i:i.patchFlag>0&&(s.dynamicChildren=[...e,i]))};return[Je(o),a]};function wa(s,t=!0){let e;for(let o=0;o<s.length;o++){const r=s[o];if(Es(r)){if(r.type!==Ne||r.children==="v-if"){if(e)return;if(e=r,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return wa(e.children)}}else return}return e}const ep=s=>{let t;for(const e in s)(e==="class"||e==="style"||Bs(e))&&((t||(t={}))[e]=s[e]);return t},op=(s,t)=>{const e={};for(const o in s)(!Tr(o)||!(o.slice(9)in t))&&(e[o]=s[o]);return e},lc=s=>s.shapeFlag&7||s.type===Ne;function sp(s,t,e){const{props:o,children:r,component:n}=s,{props:a,children:i,patchFlag:l}=t,c=n.emitsOptions;if({}.NODE_ENV!=="production"&&(r||i)&&os||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return o?cc(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const f=u[h];if(a[f]!==o[f]&&!Vr(c,f))return!0}}}else return(r||i)&&(!i||!i.$stable)?!0:o===a?!1:o?a?cc(o,a,c):!0:!!a;return!1}function cc(s,t,e){const o=Object.keys(t);if(o.length!==Object.keys(s).length)return!0;for(let r=0;r<o.length;r++){const n=o[r];if(t[n]!==s[n]&&!Vr(e,n))return!0}return!1}function rp({vnode:s,parent:t},e){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===s&&(o.el=s.el),o===s)(s=t.vnode).el=e,t=t.parent;else break}}const np=Symbol.for("v-ndc"),ap=s=>s.__isSuspense;function ip(s,t){t&&t.pendingBranch?Pt(s)?t.effects.push(...s):t.effects.push(s):Ql(s)}const lp=Symbol.for("v-scx"),cp=()=>{{const s=Zr(lp);return s||{}.NODE_ENV!=="production"&&ut("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),s}};function uc(s,t){return ka(s,null,t)}const jr={};function St(s,t,e){return{}.NODE_ENV!=="production"&&!Ft(t)&&ut("`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."),ka(s,t,e)}function ka(s,t,{immediate:e,deep:o,flush:r,once:n,onTrack:a,onTrigger:i}=Wt){if(t&&n){const z=t;t=(...tt)=>{z(...tt),C()}}({}).NODE_ENV!=="production"&&o!==void 0&&typeof o=="number"&&ut('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),{}.NODE_ENV!=="production"&&!t&&(e!==void 0&&ut('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&ut('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),n!==void 0&&ut('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=z=>{ut("Invalid watch source: ",z,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},c=_e,u=z=>o===!0?z:rs(z,o===!1?1:void 0);let h,f=!1,p=!1;if(Ce(s)?(h=()=>s.value,f=ts(s)):Jo(s)?(h=()=>u(s),f=!0):Pt(s)?(p=!0,f=s.some(z=>Jo(z)||ts(z)),h=()=>s.map(z=>{if(Ce(z))return z.value;if(Jo(z))return u(z);if(Ft(z))return go(z,c,2);({}).NODE_ENV!=="production"&&l(z)})):Ft(s)?t?h=()=>go(s,c,2):h=()=>(d&&d(),Qe(s,c,3,[b])):(h=de,{}.NODE_ENV!=="production"&&l(s)),t&&o){const z=h;h=()=>rs(z())}let d,b=z=>{d=m.onStop=()=>{go(z,c,4),d=m.onStop=void 0}},_;if(en)if(b=de,t?e&&Qe(t,c,3,[h(),p?[]:void 0,b]):h(),r==="sync"){const z=cp();_=z.__watcherHandles||(z.__watcherHandles=[])}else return de;let v=p?new Array(s.length).fill(jr):jr;const w=()=>{if(!(!m.active||!m.dirty))if(t){const z=m.run();(o||f||(p?z.some((tt,R)=>Eo(tt,v[R])):Eo(z,v)))&&(d&&d(),Qe(t,c,3,[z,v===jr?void 0:p&&v[0]===jr?[]:v,b]),v=z)}else m.run()};w.allowRecurse=!!t;let g;r==="sync"?g=w:r==="post"?g=()=>Ae(w,c&&c.suspense):(w.pre=!0,c&&(w.id=c.uid),g=()=>Yr(w));const m=new sa(h,de,g),k=af(),C=()=>{m.stop(),k&&Qn(k.effects,m)};return{}.NODE_ENV!=="production"&&(m.onTrack=a,m.onTrigger=i),t?e?w():v=m.run():r==="post"?Ae(m.run.bind(m),c&&c.suspense):m.run(),_&&_.push(C),C}function up(s,t,e){const o=this.proxy,r=ce(s)?s.includes(".")?hc(o,s):()=>o[s]:s.bind(o,o);let n;Ft(t)?n=t:(n=t.handler,e=t);const a=nr(this),i=ka(r,n.bind(o),e);return a(),i}function hc(s,t){const e=t.split(".");return()=>{let o=s;for(let r=0;r<e.length&&o;r++)o=o[e[r]];return o}}function rs(s,t,e=0,o){if(!Ht(s)||s.__v_skip)return s;if(t&&t>0){if(e>=t)return s;e++}if(o=o||new Set,o.has(s))return s;if(o.add(s),Ce(s))rs(s.value,t,e,o);else if(Pt(s))for(let r=0;r<s.length;r++)rs(s[r],t,e,o);else if(pl(s)||Zo(s))s.forEach(r=>{rs(r,t,e,o)});else if(gl(s))for(const r in s)rs(s[r],t,e,o);return s}function dc(s){Zd(s)&&ut("Do not use built-in directive ids as custom directive id: "+s)}function ns(s,t){if(fe===null)return{}.NODE_ENV!=="production"&&ut("withDirectives can only be used inside render functions."),s;const e=on(fe)||fe.proxy,o=s.dirs||(s.dirs=[]);for(let r=0;r<t.length;r++){let[n,a,i,l=Wt]=t[r];n&&(Ft(n)&&(n={mounted:n,updated:n}),n.deep&&rs(a),o.push({dir:n,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return s}function as(s,t,e,o){const r=s.dirs,n=t&&t.dirs;for(let a=0;a<r.length;a++){const i=r[a];n&&(i.oldValue=n[a].value);let l=i.dir[o];l&&(Io(),Qe(l,e,8,[s.el,i,s,t]),Ro())}}/*! #__NO_SIDE_EFFECTS__ */function Q(s,t){return Ft(s)?(()=>ie({name:s.name},t,{setup:s}))():s}const qs=s=>!!s.type.__asyncLoader,Ca=s=>s.type.__isKeepAlive;function hp(s,t){fc(s,"a",t)}function dp(s,t){fc(s,"da",t)}function fc(s,t,e=_e){const o=s.__wdc||(s.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return s()});if(Hr(t,o,e),e){let r=e.parent;for(;r&&r.parent;)Ca(r.parent.vnode)&&fp(o,t,e,r),r=r.parent}}function fp(s,t,e,o){const r=Hr(t,s,o,!0);ee(()=>{Qn(o[t],r)},e)}function Hr(s,t,e=_e,o=!1){if(e){const r=e[s]||(e[s]=[]),n=t.__weh||(t.__weh=(...a)=>{if(e.isUnmounted)return;Io();const i=nr(e),l=Qe(t,e,s,a);return i(),Ro(),l});return o?r.unshift(n):r.push(n),n}else if({}.NODE_ENV!=="production"){const r=qo(fa[s].replace(/ hook$/,""));ut(`${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 vo=s=>(t,e=_e)=>(!en||s==="sp")&&Hr(s,(...o)=>t(...o),e),pp=vo("bm"),Lo=vo("m"),mp=vo("bu"),gp=vo("u"),yp=vo("bum"),ee=vo("um"),vp=vo("sp"),bp=vo("rtg"),_p=vo("rtc");function xp(s,t=_e){Hr("ec",s,t)}function ye(s,t,e,o){let r;const n=e&&e[o];if(Pt(s)||ce(s)){r=new Array(s.length);for(let a=0,i=s.length;a<i;a++)r[a]=t(s[a],a,void 0,n&&n[a])}else if(typeof s=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(s)&&ut(`The v-for range expect an integer value but got ${s}.`),r=new Array(s);for(let a=0;a<s;a++)r[a]=t(a+1,a,void 0,n&&n[a])}else if(Ht(s))if(s[Symbol.iterator])r=Array.from(s,(a,i)=>t(a,i,void 0,n&&n[i]));else{const a=Object.keys(s);r=new Array(a.length);for(let i=0,l=a.length;i<l;i++){const c=a[i];r[i]=t(s[c],c,i,n&&n[i])}}else r=[];return e&&(e[o]=r),r}function kt(s,t,e={},o,r){if(fe.isCE||fe.parent&&qs(fe.parent)&&fe.parent.isCE)return t!=="default"&&(e.name=t),lt("slot",e,o&&o());let n=s[t];({}).NODE_ENV!=="production"&&n&&n.length>1&&(ut("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."),n=()=>[]),n&&n._c&&(n._d=!1),L();const a=n&&pc(n(e)),i=Mt(Xt,{key:e.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&s._===1?64:-2);return!r&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),n&&n._c&&(n._d=!0),i}function pc(s){return s.some(t=>Es(t)?!(t.type===Ne||t.type===Xt&&!pc(t.children)):!0)?s:null}const Ta=s=>s?Vc(s)?on(s)||s.proxy:Ta(s.parent):null,is=ie(Object.create(null),{$:s=>s,$el:s=>s.vnode.el,$data:s=>s.data,$props:s=>({}).NODE_ENV!=="production"?ws(s.props):s.props,$attrs:s=>({}).NODE_ENV!=="production"?ws(s.attrs):s.attrs,$slots:s=>({}).NODE_ENV!=="production"?ws(s.slots):s.slots,$refs:s=>({}).NODE_ENV!=="production"?ws(s.refs):s.refs,$parent:s=>Ta(s.parent),$root:s=>Ta(s.root),$emit:s=>s.emit,$options:s=>Oa(s),$forceUpdate:s=>s.f||(s.f=()=>{s.effect.dirty=!0,Yr(s.update)}),$nextTick:s=>s.n||(s.n=Zl.bind(s.proxy)),$watch:s=>up.bind(s)}),Sa=s=>s==="_"||s==="$",Ea=(s,t)=>s!==Wt&&!s.__isScriptSetup&&zt(s,t),mc={get({_:s},t){const{ctx:e,setupState:o,data:r,props:n,accessCache:a,type:i,appContext:l}=s;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return r[t];case 4:return e[t];case 3:return n[t]}else{if(Ea(o,t))return a[t]=1,o[t];if(r!==Wt&&zt(r,t))return a[t]=2,r[t];if((c=s.propsOptions[0])&&zt(c,t))return a[t]=3,n[t];if(e!==Wt&&zt(e,t))return a[t]=4,e[t];Pa&&(a[t]=0)}}const u=is[t];let h,f;if(u)return t==="$attrs"?(ke(s,"get",t),{}.NODE_ENV!=="production"&&Ur()):{}.NODE_ENV!=="production"&&t==="$slots"&&ke(s,"get",t),u(s);if((h=i.__cssModules)&&(h=h[t]))return h;if(e!==Wt&&zt(e,t))return a[t]=4,e[t];if(f=l.config.globalProperties,zt(f,t))return f[t];({}).NODE_ENV!=="production"&&fe&&(!ce(t)||t.indexOf("__v")!==0)&&(r!==Wt&&Sa(t[0])&&zt(r,t)?ut(`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.`):s===fe&&ut(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:s},t,e){const{data:o,setupState:r,ctx:n}=s;return Ea(r,t)?(r[t]=e,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&zt(r,t)?(ut(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):o!==Wt&&zt(o,t)?(o[t]=e,!0):zt(s.props,t)?({}.NODE_ENV!=="production"&&ut(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in s?({}.NODE_ENV!=="production"&&ut(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):({}.NODE_ENV!=="production"&&t in s.appContext.config.globalProperties?Object.defineProperty(n,t,{enumerable:!0,configurable:!0,value:e}):n[t]=e,!0)},has({_:{data:s,setupState:t,accessCache:e,ctx:o,appContext:r,propsOptions:n}},a){let i;return!!e[a]||s!==Wt&&zt(s,a)||Ea(t,a)||(i=n[0])&&zt(i,a)||zt(o,a)||zt(is,a)||zt(r.config.globalProperties,a)},defineProperty(s,t,e){return e.get!=null?s._.accessCache[t]=0:zt(e,"value")&&this.set(s,t,e.value,null),Reflect.defineProperty(s,t,e)}};({}).NODE_ENV!=="production"&&(mc.ownKeys=s=>(ut("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(s)));function wp(s){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>s}),Object.keys(is).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>is[e](s),set:de})}),t}function kp(s){const{ctx:t,propsOptions:[e]}=s;e&&Object.keys(e).forEach(o=>{Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.props[o],set:de})})}function Cp(s){const{ctx:t,setupState:e}=s;Object.keys(Dt(e)).forEach(o=>{if(!e.__isScriptSetup){if(Sa(o[0])){ut(`setup() return property ${JSON.stringify(o)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>e[o],set:de})}})}function Tp(){return Sp().slots}function Sp(){const s=Bc();return{}.NODE_ENV!=="production"&&!s&&ut("useContext() called without active instance."),s.setupContext||(s.setupContext=jc(s))}function gc(s){return Pt(s)?s.reduce((t,e)=>(t[e]=null,t),{}):s}function Ep(){const s=Object.create(null);return(t,e)=>{s[e]?ut(`${t} property "${e}" is already defined in ${s[e]}.`):s[e]=t}}let Pa=!0;function Pp(s){const t=Oa(s),e=s.proxy,o=s.ctx;Pa=!1,t.beforeCreate&&yc(t.beforeCreate,s,"bc");const{data:r,computed:n,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:h,mounted:f,beforeUpdate:p,updated:d,activated:b,deactivated:_,beforeDestroy:v,beforeUnmount:w,destroyed:g,unmounted:m,render:k,renderTracked:C,renderTriggered:z,errorCaptured:tt,serverPrefetch:R,expose:D,inheritAttrs:M,components:$,directives:N,filters:G}=t,st={}.NODE_ENV!=="production"?Ep():null;if({}.NODE_ENV!=="production"){const[q]=s.propsOptions;if(q)for(const nt in q)st("Props",nt)}if(c&&Op(c,o,st),a)for(const q in a){const nt=a[q];Ft(nt)?({}.NODE_ENV!=="production"?Object.defineProperty(o,q,{value:nt.bind(e),configurable:!0,enumerable:!0,writable:!0}):o[q]=nt.bind(e),{}.NODE_ENV!=="production"&&st("Methods",q)):{}.NODE_ENV!=="production"&&ut(`Method "${q}" has type "${typeof nt}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!Ft(r)&&ut("The data option must be a function. Plain object usage is no longer supported.");const q=r.call(e,e);if({}.NODE_ENV!=="production"&&Kn(q)&&ut("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!Ht(q))({}).NODE_ENV!=="production"&&ut("data() should return an object.");else if(s.data=Zt(q),{}.NODE_ENV!=="production")for(const nt in q)st("Data",nt),Sa(nt[0])||Object.defineProperty(o,nt,{configurable:!0,enumerable:!0,get:()=>q[nt],set:de})}if(Pa=!0,n)for(const q in n){const nt=n[q],U=Ft(nt)?nt.bind(e,e):Ft(nt.get)?nt.get.bind(e,e):de;({}).NODE_ENV!=="production"&&U===de&&ut(`Computed property "${q}" has no getter.`);const H=!Ft(nt)&&Ft(nt.set)?nt.set.bind(e):{}.NODE_ENV!=="production"?()=>{ut(`Write operation failed: computed property "${q}" is readonly.`)}:de,gt=dm({get:U,set:H});Object.defineProperty(o,q,{enumerable:!0,configurable:!0,get:()=>gt.value,set:ft=>gt.value=ft}),{}.NODE_ENV!=="production"&&st("Computed",q)}if(i)for(const q in i)vc(i[q],o,e,q);if(l){const q=Ft(l)?l.call(e):l;Reflect.ownKeys(q).forEach(nt=>{Lp(nt,q[nt])})}u&&yc(u,s,"c");function K(q,nt){Pt(nt)?nt.forEach(U=>q(U.bind(e))):nt&&q(nt.bind(e))}if(K(pp,h),K(Lo,f),K(mp,p),K(gp,d),K(hp,b),K(dp,_),K(xp,tt),K(_p,C),K(bp,z),K(yp,w),K(ee,m),K(vp,R),Pt(D))if(D.length){const q=s.exposed||(s.exposed={});D.forEach(nt=>{Object.defineProperty(q,nt,{get:()=>e[nt],set:U=>e[nt]=U})})}else s.exposed||(s.exposed={});k&&s.render===de&&(s.render=k),M!=null&&(s.inheritAttrs=M),$&&(s.components=$),N&&(s.directives=N)}function Op(s,t,e=de){Pt(s)&&(s=Ia(s));for(const o in s){const r=s[o];let n;Ht(r)?"default"in r?n=Zr(r.from||o,r.default,!0):n=Zr(r.from||o):n=Zr(r),Ce(n)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>n.value,set:a=>n.value=a}):t[o]=n,{}.NODE_ENV!=="production"&&e("Inject",o)}}function yc(s,t,e){Qe(Pt(s)?s.map(o=>o.bind(t.proxy)):s.bind(t.proxy),t,e)}function vc(s,t,e,o){const r=o.includes(".")?hc(e,o):()=>e[o];if(ce(s)){const n=t[s];Ft(n)?St(r,n):{}.NODE_ENV!=="production"&&ut(`Invalid watch handler specified by key "${s}"`,n)}else if(Ft(s))St(r,s.bind(e));else if(Ht(s))if(Pt(s))s.forEach(n=>vc(n,t,e,o));else{const n=Ft(s.handler)?s.handler.bind(e):t[s.handler];Ft(n)?St(r,n,s):{}.NODE_ENV!=="production"&&ut(`Invalid watch handler specified by key "${s.handler}"`,n)}else({}).NODE_ENV!=="production"&&ut(`Invalid watch option: "${o}"`,s)}function Oa(s){const t=s.type,{mixins:e,extends:o}=t,{mixins:r,optionsCache:n,config:{optionMergeStrategies:a}}=s.appContext,i=n.get(t);let l;return i?l=i:!r.length&&!e&&!o?l=t:(l={},r.length&&r.forEach(c=>Wr(l,c,a,!0)),Wr(l,t,a)),Ht(t)&&n.set(t,l),l}function Wr(s,t,e,o=!1){const{mixins:r,extends:n}=t;n&&Wr(s,n,e,!0),r&&r.forEach(a=>Wr(s,a,e,!0));for(const a in t)if(o&&a==="expose")({}).NODE_ENV!=="production"&&ut('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=Ip[a]||e&&e[a];s[a]=i?i(s[a],t[a]):t[a]}return s}const Ip={data:bc,props:_c,emits:_c,methods:Qs,computed:Qs,beforeCreate:Re,created:Re,beforeMount:Re,mounted:Re,beforeUpdate:Re,updated:Re,beforeDestroy:Re,beforeUnmount:Re,destroyed:Re,unmounted:Re,activated:Re,deactivated:Re,errorCaptured:Re,serverPrefetch:Re,components:Qs,directives:Qs,watch:Fp,provide:bc,inject:Rp};function bc(s,t){return t?s?function(){return ie(Ft(s)?s.call(this,this):s,Ft(t)?t.call(this,this):t)}:t:s}function Rp(s,t){return Qs(Ia(s),Ia(t))}function Ia(s){if(Pt(s)){const t={};for(let e=0;e<s.length;e++)t[s[e]]=s[e];return t}return s}function Re(s,t){return s?[...new Set([].concat(s,t))]:t}function Qs(s,t){return s?ie(Object.create(null),s,t):t}function _c(s,t){return s?Pt(s)&&Pt(t)?[...new Set([...s,...t])]:ie(Object.create(null),gc(s),gc(t??{})):t}function Fp(s,t){if(!s)return t;if(!t)return s;const e=ie(Object.create(null),s);for(const o in t)e[o]=Re(s[o],t[o]);return e}function xc(){return{app:null,config:{isNativeTag:Hd,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let $p=0;function Dp(s,t){return function(o,r=null){Ft(o)||(o=ie({},o)),r!=null&&!Ht(r)&&({}.NODE_ENV!=="production"&&ut("root props passed to app.mount() must be an object."),r=null);const n=xc(),a=new WeakSet;let i=!1;const l=n.app={_uid:$p++,_component:o,_props:r,_container:null,_context:n,_instance:null,version:Zc,get config(){return n.config},set config(c){({}).NODE_ENV!=="production"&&ut("app.config cannot be replaced. Modify individual options instead.")},use(c,...u){return a.has(c)?{}.NODE_ENV!=="production"&&ut("Plugin has already been applied to target app."):c&&Ft(c.install)?(a.add(c),c.install(l,...u)):Ft(c)?(a.add(c),c(l,...u)):{}.NODE_ENV!=="production"&&ut('A plugin must either be a function or an object with an "install" function.'),l},mixin(c){return n.mixins.includes(c)?{}.NODE_ENV!=="production"&&ut("Mixin has already been applied to target app"+(c.name?`: ${c.name}`:"")):n.mixins.push(c),l},component(c,u){return{}.NODE_ENV!=="production"&&za(c,n.config),u?({}.NODE_ENV!=="production"&&n.components[c]&&ut(`Component "${c}" has already been registered in target app.`),n.components[c]=u,l):n.components[c]},directive(c,u){return{}.NODE_ENV!=="production"&&dc(c),u?({}.NODE_ENV!=="production"&&n.directives[c]&&ut(`Directive "${c}" has already been registered in target app.`),n.directives[c]=u,l):n.directives[c]},mount(c,u,h){if(i)({}).NODE_ENV!=="production"&&ut("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{({}).NODE_ENV!=="production"&&c.__vue_app__&&ut("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 f=lt(o,r);return f.appContext=n,h===!0?h="svg":h===!1&&(h=void 0),{}.NODE_ENV!=="production"&&(n.reload=()=>{s(Ao(f),c,h)}),u&&t?t(f,c):s(f,c,h),i=!0,l._container=c,c.__vue_app__=l,{}.NODE_ENV!=="production"&&(l._instance=f.component,jf(l,Zc)),on(f.component)||f.component.proxy}},unmount(){i?(s(null,l._container),{}.NODE_ENV!=="production"&&(l._instance=null,Hf(l)),delete l._container.__vue_app__):{}.NODE_ENV!=="production"&&ut("Cannot unmount an app that is not mounted.")},provide(c,u){return{}.NODE_ENV!=="production"&&c in n.provides&&ut(`App already provides property with key "${String(c)}". It will be overwritten with the new value.`),n.provides[c]=u,l},runWithContext(c){const u=Ks;Ks=l;try{return c()}finally{Ks=u}}};return l}}let Ks=null;function Lp(s,t){if(!_e)({}).NODE_ENV!=="production"&&ut("provide() can only be used inside setup().");else{let e=_e.provides;const o=_e.parent&&_e.parent.provides;o===e&&(e=_e.provides=Object.create(o)),e[s]=t}}function Zr(s,t,e=!1){const o=_e||fe;if(o||Ks){const r=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Ks._context.provides;if(r&&s in r)return r[s];if(arguments.length>1)return e&&Ft(t)?t.call(o&&o.proxy):t;({}).NODE_ENV!=="production"&&ut(`injection "${String(s)}" not found.`)}else({}).NODE_ENV!=="production"&&ut("inject() can only be used inside setup() or functional components.")}function Mp(s,t,e,o=!1){const r={},n={};Or(n,Kr,1),s.propsDefaults=Object.create(null),wc(s,t,r,n);for(const a in s.propsOptions[0])a in r||(r[a]=void 0);({}).NODE_ENV!=="production"&&Ec(t||{},r,s),e?s.props=o?r:Ef(r):s.type.props?s.props=r:s.props=n,s.attrs=n}function Ap(s){for(;s;){if(s.type.__hmrId)return!0;s=s.parent}}function Np(s,t,e,o){const{props:r,attrs:n,vnode:{patchFlag:a}}=s,i=Dt(r),[l]=s.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&Ap(s))&&(o||a>0)&&!(a&16)){if(a&8){const u=s.vnode.dynamicProps;for(let h=0;h<u.length;h++){let f=u[h];if(Vr(s.emitsOptions,f))continue;const p=t[f];if(l)if(zt(n,f))p!==n[f]&&(n[f]=p,c=!0);else{const d=mo(f);r[d]=Ra(l,i,d,p,s,!1)}else p!==n[f]&&(n[f]=p,c=!0)}}}else{wc(s,t,r,n)&&(c=!0);let u;for(const h in i)(!t||!zt(t,h)&&((u=Xe(h))===h||!zt(t,u)))&&(l?e&&(e[h]!==void 0||e[u]!==void 0)&&(r[h]=Ra(l,i,h,void 0,s,!0)):delete r[h]);if(n!==i)for(const h in n)(!t||!zt(t,h))&&(delete n[h],c=!0)}c&&oo(s,"set","$attrs"),{}.NODE_ENV!=="production"&&Ec(t||{},r,s)}function wc(s,t,e,o){const[r,n]=s.propsOptions;let a=!1,i;if(t)for(let l in t){if(Ys(l))continue;const c=t[l];let u;r&&zt(r,u=mo(l))?!n||!n.includes(u)?e[u]=c:(i||(i={}))[u]=c:Vr(s.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,a=!0)}if(n){const l=Dt(e),c=i||Wt;for(let u=0;u<n.length;u++){const h=n[u];e[h]=Ra(r,l,h,c[h],s,!zt(c,h))}}return a}function Ra(s,t,e,o,r,n){const a=s[e];if(a!=null){const i=zt(a,"default");if(i&&o===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ft(l)){const{propsDefaults:c}=r;if(e in c)o=c[e];else{const u=nr(r);o=c[e]=l.call(null,t),u()}}else o=l}a[0]&&(n&&!i?o=!1:a[1]&&(o===""||o===Xe(e))&&(o=!0))}return o}function kc(s,t,e=!1){const o=t.propsCache,r=o.get(s);if(r)return r;const n=s.props,a={},i=[];let l=!1;if(!Ft(s)){const u=h=>{l=!0;const[f,p]=kc(h,t,!0);ie(a,f),p&&i.push(...p)};!e&&t.mixins.length&&t.mixins.forEach(u),s.extends&&u(s.extends),s.mixins&&s.mixins.forEach(u)}if(!n&&!l)return Ht(s)&&o.set(s,_s),_s;if(Pt(n))for(let u=0;u<n.length;u++){({}).NODE_ENV!=="production"&&!ce(n[u])&&ut("props must be strings when using array syntax.",n[u]);const h=mo(n[u]);Cc(h)&&(a[h]=Wt)}else if(n){({}).NODE_ENV!=="production"&&!Ht(n)&&ut("invalid props options",n);for(const u in n){const h=mo(u);if(Cc(h)){const f=n[u],p=a[h]=Pt(f)||Ft(f)?{type:f}:ie({},f);if(p){const d=Sc(Boolean,p.type),b=Sc(String,p.type);p[0]=d>-1,p[1]=b<0||d<b,(d>-1||zt(p,"default"))&&i.push(h)}}}}const c=[a,i];return Ht(s)&&o.set(s,c),c}function Cc(s){return s[0]!=="$"&&!Ys(s)?!0:({}.NODE_ENV!=="production"&&ut(`Invalid prop name: "${s}" is a reserved property.`),!1)}function Fa(s){return s===null?"null":typeof s=="function"?s.name||"":typeof s=="object"&&s.constructor&&s.constructor.name||""}function Tc(s,t){return Fa(s)===Fa(t)}function Sc(s,t){return Pt(t)?t.findIndex(e=>Tc(e,s)):Ft(t)&&Tc(t,s)?0:-1}function Ec(s,t,e){const o=Dt(t),r=e.propsOptions[0];for(const n in r){let a=r[n];a!=null&&zp(n,o[n],a,{}.NODE_ENV!=="production"?ws(o):o,!zt(s,n)&&!zt(s,Xe(n)))}}function zp(s,t,e,o,r){const{type:n,required:a,validator:i,skipCheck:l}=e;if(a&&r){ut('Missing required prop: "'+s+'"');return}if(!(t==null&&!a)){if(n!=null&&n!==!0&&!l){let c=!1;const u=Pt(n)?n:[n],h=[];for(let f=0;f<u.length&&!c;f++){const{valid:p,expectedType:d}=Yp(t,u[f]);h.push(d||""),c=p}if(!c){ut(Vp(s,t,h));return}}i&&!i(t,o)&&ut('Invalid prop: custom validator check failed for prop "'+s+'".')}}const Bp=bs("String,Number,Boolean,Function,Symbol,BigInt");function Yp(s,t){let e;const o=Fa(t);if(Bp(o)){const r=typeof s;e=r===o.toLowerCase(),!e&&r==="object"&&(e=s instanceof t)}else o==="Object"?e=Ht(s):o==="Array"?e=Pt(s):o==="null"?e=s===null:e=s instanceof t;return{valid:e,expectedType:o}}function Vp(s,t,e){if(e.length===0)return`Prop type [] for prop "${s}" won't match anything. Did you mean to use type Array instead?`;let o=`Invalid prop: type check failed for prop "${s}". Expected ${e.map(Pr).join(" | ")}`;const r=e[0],n=Jn(t),a=Pc(t,r),i=Pc(t,n);return e.length===1&&Oc(r)&&!Xp(r,n)&&(o+=` with value ${a}`),o+=`, got ${n} `,Oc(n)&&(o+=`with value ${i}.`),o}function Pc(s,t){return t==="String"?`"${s}"`:t==="Number"?`${Number(s)}`:`${s}`}function Oc(s){return["string","number","boolean"].some(e=>s.toLowerCase()===e)}function Xp(...s){return s.some(t=>t.toLowerCase()==="boolean")}const Ic=s=>s[0]==="_"||s==="$stable",$a=s=>Pt(s)?s.map(Je):[Je(s)],Gp=(s,t,e)=>{if(t._n)return t;const o=bt((...r)=>({}.NODE_ENV!=="production"&&_e&&(!e||e.root===_e.root)&&ut(`Slot "${s}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),$a(t(...r))),e);return o._c=!1,o},Rc=(s,t,e)=>{const o=s._ctx;for(const r in s){if(Ic(r))continue;const n=s[r];if(Ft(n))t[r]=Gp(r,n,o);else if(n!=null){({}).NODE_ENV!=="production"&&ut(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const a=$a(n);t[r]=()=>a}}},Fc=(s,t)=>{({}).NODE_ENV!=="production"&&!Ca(s.vnode)&&ut("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=$a(t);s.slots.default=()=>e},Up=(s,t)=>{if(s.vnode.shapeFlag&32){const e=t._;e?(s.slots=Dt(t),Or(t,"_",e)):Rc(t,s.slots={})}else s.slots={},t&&Fc(s,t);Or(s.slots,Kr,1)},jp=(s,t,e)=>{const{vnode:o,slots:r}=s;let n=!0,a=Wt;if(o.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&os?(ie(r,t),oo(s,"set","$slots")):e&&i===1?n=!1:(ie(r,t),!e&&i===1&&delete r._):(n=!t.$stable,Rc(t,r)),a=t}else t&&(Fc(s,t),a={default:1});if(n)for(const i in r)!Ic(i)&&a[i]==null&&delete r[i]};function Da(s,t,e,o,r=!1){if(Pt(s)){s.forEach((f,p)=>Da(f,t&&(Pt(t)?t[p]:t),e,o,r));return}if(qs(o)&&!r)return;const n=o.shapeFlag&4?on(o.component)||o.component.proxy:o.el,a=r?null:n,{i,r:l}=s;if({}.NODE_ENV!=="production"&&!i){ut("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===Wt?i.refs={}:i.refs,h=i.setupState;if(c!=null&&c!==l&&(ce(c)?(u[c]=null,zt(h,c)&&(h[c]=null)):Ce(c)&&(c.value=null)),Ft(l))go(l,i,12,[a,u]);else{const f=ce(l),p=Ce(l);if(f||p){const d=()=>{if(s.f){const b=f?zt(h,l)?h[l]:u[l]:l.value;r?Pt(b)&&Qn(b,n):Pt(b)?b.includes(n)||b.push(n):f?(u[l]=[n],zt(h,l)&&(h[l]=u[l])):(l.value=[n],s.k&&(u[s.k]=l.value))}else f?(u[l]=a,zt(h,l)&&(h[l]=a)):p?(l.value=a,s.k&&(u[s.k]=a)):{}.NODE_ENV!=="production"&&ut("Invalid template ref type:",l,`(${typeof l})`)};a?(d.id=-1,Ae(d,e)):d()}else({}).NODE_ENV!=="production"&&ut("Invalid template ref type:",l,`(${typeof l})`)}}let Js,Mo;function bo(s,t){s.appContext.config.performance&&qr()&&Mo.mark(`vue-${t}-${s.uid}`),{}.NODE_ENV!=="production"&&Qf(s,t,qr()?Mo.now():Date.now())}function _o(s,t){if(s.appContext.config.performance&&qr()){const e=`vue-${t}-${s.uid}`,o=e+":end";Mo.mark(o),Mo.measure(`<${sn(s,s.type)}> ${t}`,e,o),Mo.clearMarks(e),Mo.clearMarks(o)}({}).NODE_ENV!=="production"&&Kf(s,t,qr()?Mo.now():Date.now())}function qr(){return Js!==void 0||(typeof window<"u"&&window.performance?(Js=!0,Mo=window.performance):Js=!1),Js}function Hp(){const s=[];if({}.NODE_ENV!=="production"&&s.length){const t=s.length>1;console.warn(`Feature flag${t?"s":""} ${s.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 io=[];function Gr(o){io.push(o)}function Ur(){io.pop()}let ba=!1;function ut(o,...t){if(ba)return;ba=!0,Ps();const e=io.length?io[io.length-1].component:null,s=e&&e.appContext.config.warnHandler,r=Qh();if(s)Eo(s,e,11,[o+t.map(n=>{var a,i;return(i=(a=n.toString)==null?void 0:a.call(n))!=null?i:JSON.stringify(n)}).join(""),e&&e.proxy,r.map(({vnode:n})=>`at <${cn(e,n.type)}>`).join(`
14
+ `),r]);else{const n=[`[Vue warn]: ${o}`,...t];r.length&&n.push(`
15
+ `,...Kh(r)),console.warn(...n)}Os(),ba=!1}function Qh(){let o=io[io.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 s=o.component&&o.component.parent;o=s&&s.vnode}return t}function Kh(o){const t=[];return o.forEach((e,s)=>{t.push(...s===0?[]:[`
16
+ `],...Jh(e))}),t}function Jh({vnode:o,recurseCount:t}){const e=t>0?`... (${t} recursive calls)`:"",s=o.component?o.component.parent==null:!1,r=` at <${cn(o.component,o.type,s)}`,n=">"+e;return o.props?[r,...tp(o.props),n]:[r+n]}function tp(o){const t=[],e=Object.keys(o);return e.slice(0,3).forEach(s=>{t.push(...jl(s,o[s]))}),e.length>3&&t.push(" ..."),t}function jl(o,t,e){return ce(t)?(t=JSON.stringify(t),e?t:[`${o}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?e?t:[`${o}=${t}`]:de(t)?(t=jl(o,Lt(t.value),!0),e?t:[`${o}=Ref<`,t,">"]):Ot(t)?[`${o}=fn${t.name?`<${t.name}>`:""}`]:(t=Lt(t),e?t:[`${o}=`,t])}const _a={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 Eo(o,t,e,s){try{return s?o(...s):o()}catch(r){Jo(r,t,e)}}function ds(o,t,e,s){if(Ot(o)){const r=Eo(o,t,e,s);return r&&oa(r)&&r.catch(n=>{Jo(n,t,e)}),r}if(Tt(o)){const r=[];for(let n=0;n<o.length;n++)r.push(ds(o[n],t,e,s));return r}else({}).NODE_ENV!=="production"&&ut(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof o}`)}function Jo(o,t,e,s=!0){const r=t?t.vnode:null,{errorHandler:n,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Ht;if(t){let i=t.parent;const l=t.proxy,c={}.NODE_ENV!=="production"?_a[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(n){Ps(),Eo(n,null,10,[o,l,c]),Os();return}}ep(o,e,r,s,a)}function ep(o,t,e,s=!0,r=!1){if({}.NODE_ENV!=="production"){const n=_a[t];if(e&&Gr(e),ut(`Unhandled error${n?` during execution of ${n}`:""}`),e&&Ur(),s)throw o;console.error(o)}else{if(r)throw o;console.error(o)}}const $e=[];let hs=-1;const Po=[];let Gs=null,Oo=0;const Hl=Promise.resolve();let jr=null;const sp=100;function Wl(o){const t=jr||Hl;return o?t.then(this?o.bind(this):o):t}function op(o){let t=hs+1,e=$e.length;for(;t<e;){const s=t+e>>>1,r=$e[s],n=tr(r);n<o||n===o&&r.flags&2?t=s+1:e=s}return t}function Hr(o){if(!(o.flags&1)){const t=tr(o),e=$e[$e.length-1];!e||!(o.flags&2)&&t>=tr(e)?$e.push(o):$e.splice(op(t),0,o),o.flags|=1,Zl()}}function Zl(){jr||(jr=Hl.then(Jl))}function ql(o){Tt(o)?Po.push(...o):Gs&&o.id===-1?Gs.splice(Oo+1,0,o):o.flags&1||(Po.push(o),o.flags|=1),Zl()}function Ql(o,t,e=hs+1){for({}.NODE_ENV!=="production"&&(t=t||new Map);e<$e.length;e++){const s=$e[e];if(s&&s.flags&2){if(o&&s.id!==o.uid||{}.NODE_ENV!=="production"&&xa(t,s))continue;$e.splice(e,1),e--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Kl(o){if(Po.length){const t=[...new Set(Po)].sort((e,s)=>tr(e)-tr(s));if(Po.length=0,Gs){Gs.push(...t);return}for(Gs=t,{}.NODE_ENV!=="production"&&(o=o||new Map),Oo=0;Oo<Gs.length;Oo++){const e=Gs[Oo];({}).NODE_ENV!=="production"&&xa(o,e)||(e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2)}Gs=null,Oo=0}}const tr=o=>o.id==null?o.flags&2?-1:1/0:o.id;function Jl(o){({}).NODE_ENV!=="production"&&(o=o||new Map);const t={}.NODE_ENV!=="production"?e=>xa(o,e):ye;try{for(hs=0;hs<$e.length;hs++){const e=$e[hs];if(e&&!(e.flags&8)){if({}.NODE_ENV!=="production"&&t(e))continue;e.flags&4&&(e.flags&=-2),Eo(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2)}}}finally{for(;hs<$e.length;hs++){const e=$e[hs];e&&(e.flags&=-2)}hs=-1,$e.length=0,Kl(o),jr=null,($e.length||Po.length)&&Jl(o)}}function xa(o,t){const e=o.get(t)||0;if(e>sp){const s=t.i,r=s&&Qc(s.type);return Jo(`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 o.set(t,e+1),!1}let ps=!1;const Wr=new Map;({}).NODE_ENV!=="production"&&(Ho().__VUE_HMR_RUNTIME__={createRecord:wa(tc),rerender:wa(ap),reload:wa(ip)});const lo=new Map;function rp(o){const t=o.type.__hmrId;let e=lo.get(t);e||(tc(t,o.type),e=lo.get(t)),e.instances.add(o)}function np(o){lo.get(o.type.__hmrId).instances.delete(o)}function tc(o,t){return lo.has(o)?!1:(lo.set(o,{initialDef:Zr(t),instances:new Set}),!0)}function Zr(o){return Kc(o)?o.__vccOpts:o}function ap(o,t){const e=lo.get(o);e&&(e.initialDef.render=t,[...e.instances].forEach(s=>{t&&(s.render=t,Zr(s.type).render=t),s.renderCache=[],ps=!0,s.update(),ps=!1}))}function ip(o,t){const e=lo.get(o);if(!e)return;t=Zr(t),ec(e.initialDef,t);const s=[...e.instances];for(let r=0;r<s.length;r++){const n=s[r],a=Zr(n.type);let i=Wr.get(a);i||(a!==e.initialDef&&ec(a,t),Wr.set(a,i=new Set)),i.add(n),n.appContext.propsCache.delete(n.type),n.appContext.emitsCache.delete(n.type),n.appContext.optionsCache.delete(n.type),n.ceReload?(i.add(n),n.ceReload(t.styles),i.delete(n)):n.parent?Hr(()=>{ps=!0,n.parent.update(),ps=!1,i.delete(n)}):n.appContext.reload?n.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),n.root.ce&&n!==n.root&&n.root.ce._removeChildStyle(a)}ql(()=>{Wr.clear()})}function ec(o,t){ae(o,t);for(const e in o)e!=="__file"&&!(e in t)&&delete o[e]}function wa(o){return(t,e)=>{try{return o(t,e)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let ms,er=[],ka=!1;function sr(o,...t){ms?ms.emit(o,...t):ka||er.push({event:o,args:t})}function sc(o,t){var e,s;ms=o,ms?(ms.enabled=!0,er.forEach(({event:r,args:n})=>ms.emit(r,...n)),er=[]):typeof window<"u"&&window.HTMLElement&&!((s=(e=window.navigator)==null?void 0:e.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(n=>{sc(n,t)}),setTimeout(()=>{ms||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ka=!0,er=[])},3e3)):(ka=!0,er=[])}function lp(o,t){sr("app:init",o,t,{Fragment:Vt,Text:nr,Comment:Ye,Static:ar})}function cp(o){sr("app:unmount",o)}const up=Ca("component:added"),oc=Ca("component:updated"),fp=Ca("component:removed"),dp=o=>{ms&&typeof ms.cleanupBuffer=="function"&&!ms.cleanupBuffer(o)&&fp(o)};/*! #__NO_SIDE_EFFECTS__ */function Ca(o){return t=>{sr(o,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const hp=rc("perf:start"),pp=rc("perf:end");function rc(o){return(t,e,s)=>{sr(o,t.appContext.app,t.uid,t,e,s)}}function mp(o,t,e){sr("component:emit",o.appContext.app,o,t,e)}let be=null,nc=null;function qr(o){const t=be;return be=o,nc=o&&o.type.__scopeId||null,t}function bt(o,t=be,e){if(!t||o._n)return o;const s=(...r)=>{s._d&&Ac(-1);const n=qr(t);let a;try{a=o(...r)}finally{qr(n),s._d&&Ac(1)}return{}.NODE_ENV!=="production"&&oc(t),a};return s._n=!0,s._c=!0,s._d=!0,s}function ac(o){ih(o)&&ut("Do not use built-in directive ids as custom directive id: "+o)}function co(o,t){if(be===null)return{}.NODE_ENV!=="production"&&ut("withDirectives can only be used inside render functions."),o;const e=ln(be),s=o.dirs||(o.dirs=[]);for(let r=0;r<t.length;r++){let[n,a,i,l=Ht]=t[r];n&&(Ot(n)&&(n={mounted:n,updated:n}),n.deep&&Fs(a),s.push({dir:n,instance:e,value:a,oldValue:void 0,arg:i,modifiers:l}))}return o}function uo(o,t,e,s){const r=o.dirs,n=t&&t.dirs;for(let a=0;a<r.length;a++){const i=r[a];n&&(i.oldValue=n[a].value);let l=i.dir[s];l&&(Ps(),ds(l,e,8,[o.el,i,o,t]),Os())}}const gp=Symbol("_vte"),yp=o=>o.__isTeleport;function Ta(o,t){o.shapeFlag&6&&o.component?(o.transition=t,Ta(o.component.subTree,t)):o.shapeFlag&128?(o.ssContent.transition=t.clone(o.ssContent),o.ssFallback.transition=t.clone(o.ssFallback)):o.transition=t}/*! #__NO_SIDE_EFFECTS__ */function q(o,t){return Ot(o)?(()=>ae({name:o.name},t,{setup:o}))():o}function ic(o){o.ids=[o.ids[0]+o.ids[2]+++"-",0,0]}const vp=new WeakSet;function Qr(o,t,e,s,r=!1){if(Tt(o)){o.forEach((h,w)=>Qr(h,t&&(Tt(t)?t[w]:t),e,s,r));return}if(Ro(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Qr(o,t,e,s.component.subTree);return}const n=s.shapeFlag&4?ln(s.component):s.el,a=r?null:n,{i,r:l}=o;if({}.NODE_ENV!=="production"&&!i){ut("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===Ht?i.refs={}:i.refs,f=i.setupState,d=Lt(f),p=f===Ht?()=>!1:h=>({}).NODE_ENV!=="production"&&(Gt(d,h)&&!de(d[h])&&ut(`Template ref "${h}" used on a non-ref value. It will not work in the production build.`),vp.has(d[h]))?!1:Gt(d,h);if(c!=null&&c!==l&&(ce(c)?(u[c]=null,p(c)&&(f[c]=null)):de(c)&&(c.value=null)),Ot(l))Eo(l,i,12,[a,u]);else{const h=ce(l),w=de(l);if(h||w){const _=()=>{if(o.f){const x=h?p(l)?f[l]:u[l]:l.value;r?Tt(x)&&sa(x,n):Tt(x)?x.includes(n)||x.push(n):h?(u[l]=[n],p(l)&&(f[l]=u[l])):(l.value=[n],o.k&&(u[o.k]=l.value))}else h?(u[l]=a,p(l)&&(f[l]=a)):w?(l.value=a,o.k&&(u[o.k]=a)):{}.NODE_ENV!=="production"&&ut("Invalid template ref type:",l,`(${typeof l})`)};a?(_.id=-1,Ze(_,e)):_()}else({}).NODE_ENV!=="production"&&ut("Invalid template ref type:",l,`(${typeof l})`)}}Ho().requestIdleCallback,Ho().cancelIdleCallback;const Ro=o=>!!o.type.__asyncLoader,Sa=o=>o.type.__isKeepAlive;function bp(o,t){lc(o,"a",t)}function _p(o,t){lc(o,"da",t)}function lc(o,t,e=ke){const s=o.__wdc||(o.__wdc=()=>{let r=e;for(;r;){if(r.isDeactivated)return;r=r.parent}return o()});if(Kr(t,s,e),e){let r=e.parent;for(;r&&r.parent;)Sa(r.parent.vnode)&&xp(s,t,e,r),r=r.parent}}function xp(o,t,e,s){const r=Kr(t,o,s,!0);se(()=>{sa(s[t],r)},e)}function Kr(o,t,e=ke,s=!1){if(e){const r=e[o]||(e[o]=[]),n=t.__weh||(t.__weh=(...a)=>{Ps();const i=ur(e),l=ds(t,e,o,a);return i(),Os(),l});return s?r.unshift(n):r.push(n),n}else if({}.NODE_ENV!=="production"){const r=oo(_a[o].replace(/ hook$/,""));ut(`${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 Ds=o=>(t,e=ke)=>{(!fr||o==="sp")&&Kr(o,(...s)=>t(...s),e)},wp=Ds("bm"),gs=Ds("m"),kp=Ds("bu"),Cp=Ds("u"),Tp=Ds("bum"),se=Ds("um"),Sp=Ds("sp"),Ep=Ds("rtg"),Pp=Ds("rtc");function Op(o,t=ke){Kr("ec",o,t)}const Rp=Symbol.for("v-ndc");function _e(o,t,e,s){let r;const n=e&&e[s],a=Tt(o);if(a||ce(o)){const i=a&&no(o);let l=!1;i&&(l=!De(o),o=Nr(o)),r=new Array(o.length);for(let c=0,u=o.length;c<u;c++)r[c]=t(l?Re(o[c]):o[c],c,void 0,n&&n[c])}else if(typeof o=="number"){({}).NODE_ENV!=="production"&&!Number.isInteger(o)&&ut(`The v-for range expect an integer value but got ${o}.`),r=new Array(o);for(let i=0;i<o;i++)r[i]=t(i+1,i,void 0,n&&n[i])}else if(qt(o))if(o[Symbol.iterator])r=Array.from(o,(i,l)=>t(i,l,void 0,n&&n[l]));else{const i=Object.keys(o);r=new Array(i.length);for(let l=0,c=i.length;l<c;l++){const u=i[l];r[l]=t(o[u],u,l,n&&n[l])}}else r=[];return e&&(e[s]=r),r}function kt(o,t,e={},s,r){if(be.ce||be.parent&&Ro(be.parent)&&be.parent.ce)return t!=="default"&&(e.name=t),L(),Nt(Vt,null,[ct("slot",e,s&&s())],64);let n=o[t];({}).NODE_ENV!=="production"&&n&&n.length>1&&(ut("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."),n=()=>[]),n&&n._c&&(n._d=!1),L();const a=n&&cc(n(e)),i=e.key||a&&a.key,l=Nt(Vt,{key:(i&&!Es(i)?i:`_${t}`)+(!a&&s?"_fb":"")},a||(s?s():[]),a&&o._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),n&&n._c&&(n._d=!0),l}function cc(o){return o.some(t=>po(t)?!(t.type===Ye||t.type===Vt&&!cc(t.children)):!0)?o:null}const Ea=o=>o?jc(o)?ln(o):Ea(o.parent):null,fo=ae(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>({}).NODE_ENV!=="production"?fs(o.props):o.props,$attrs:o=>({}).NODE_ENV!=="production"?fs(o.attrs):o.attrs,$slots:o=>({}).NODE_ENV!=="production"?fs(o.slots):o.slots,$refs:o=>({}).NODE_ENV!=="production"?fs(o.refs):o.refs,$parent:o=>Ea(o.parent),$root:o=>Ea(o.root),$host:o=>o.ce,$emit:o=>o.emit,$options:o=>Ia(o),$forceUpdate:o=>o.f||(o.f=()=>{Hr(o.update)}),$nextTick:o=>o.n||(o.n=Wl.bind(o.proxy)),$watch:o=>fm.bind(o)}),Pa=o=>o==="_"||o==="$",Oa=(o,t)=>o!==Ht&&!o.__isScriptSetup&&Gt(o,t),uc={get({_:o},t){if(t==="__v_skip")return!0;const{ctx:e,setupState:s,data:r,props:n,accessCache:a,type:i,appContext:l}=o;if({}.NODE_ENV!=="production"&&t==="__isVue")return!0;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return e[t];case 3:return n[t]}else{if(Oa(s,t))return a[t]=1,s[t];if(r!==Ht&&Gt(r,t))return a[t]=2,r[t];if((c=o.propsOptions[0])&&Gt(c,t))return a[t]=3,n[t];if(e!==Ht&&Gt(e,t))return a[t]=4,e[t];Ra&&(a[t]=0)}}const u=fo[t];let f,d;if(u)return t==="$attrs"?(ve(o.attrs,"get",""),{}.NODE_ENV!=="production"&&rn()):{}.NODE_ENV!=="production"&&t==="$slots"&&ve(o,"get",t),u(o);if((f=i.__cssModules)&&(f=f[t]))return f;if(e!==Ht&&Gt(e,t))return a[t]=4,e[t];if(d=l.config.globalProperties,Gt(d,t))return d[t];({}).NODE_ENV!=="production"&&be&&(!ce(t)||t.indexOf("__v")!==0)&&(r!==Ht&&Pa(t[0])&&Gt(r,t)?ut(`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===be&&ut(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:o},t,e){const{data:s,setupState:r,ctx:n}=o;return Oa(r,t)?(r[t]=e,!0):{}.NODE_ENV!=="production"&&r.__isScriptSetup&&Gt(r,t)?(ut(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==Ht&&Gt(s,t)?(s[t]=e,!0):Gt(o.props,t)?({}.NODE_ENV!=="production"&&ut(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in o?({}.NODE_ENV!=="production"&&ut(`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(n,t,{enumerable:!0,configurable:!0,value:e}):n[t]=e,!0)},has({_:{data:o,setupState:t,accessCache:e,ctx:s,appContext:r,propsOptions:n}},a){let i;return!!e[a]||o!==Ht&&Gt(o,a)||Oa(t,a)||(i=n[0])&&Gt(i,a)||Gt(s,a)||Gt(fo,a)||Gt(r.config.globalProperties,a)},defineProperty(o,t,e){return e.get!=null?o._.accessCache[t]=0:Gt(e,"value")&&this.set(o,t,e.value,null),Reflect.defineProperty(o,t,e)}};({}).NODE_ENV!=="production"&&(uc.ownKeys=o=>(ut("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 Ip(o){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>o}),Object.keys(fo).forEach(e=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,get:()=>fo[e](o),set:ye})}),t}function Fp(o){const{ctx:t,propsOptions:[e]}=o;e&&Object.keys(e).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.props[s],set:ye})})}function Dp(o){const{ctx:t,setupState:e}=o;Object.keys(Lt(e)).forEach(s=>{if(!e.__isScriptSetup){if(Pa(s[0])){ut(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e[s],set:ye})}})}function $p(){return Lp().slots}function Lp(){const o=Gc();return{}.NODE_ENV!=="production"&&!o&&ut("useContext() called without active instance."),o.setupContext||(o.setupContext=qc(o))}function fc(o){return Tt(o)?o.reduce((t,e)=>(t[e]=null,t),{}):o}function Np(){const o=Object.create(null);return(t,e)=>{o[e]?ut(`${t} property "${e}" is already defined in ${o[e]}.`):o[e]=t}}let Ra=!0;function Mp(o){const t=Ia(o),e=o.proxy,s=o.ctx;Ra=!1,t.beforeCreate&&dc(t.beforeCreate,o,"bc");const{data:r,computed:n,methods:a,watch:i,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:w,deactivated:_,beforeDestroy:x,beforeUnmount:v,destroyed:g,unmounted:m,render:b,renderTracked:C,renderTriggered:U,errorCaptured:K,serverPrefetch:I,expose:$,inheritAttrs:N,components:D,directives:A,filters:X}=t,rt={}.NODE_ENV!=="production"?Np():null;if({}.NODE_ENV!=="production"){const[Z]=o.propsOptions;if(Z)for(const at in Z)rt("Props",at)}if(c&&Ap(c,s,rt),a)for(const Z in a){const at=a[Z];Ot(at)?({}.NODE_ENV!=="production"?Object.defineProperty(s,Z,{value:at.bind(e),configurable:!0,enumerable:!0,writable:!0}):s[Z]=at.bind(e),{}.NODE_ENV!=="production"&&rt("Methods",Z)):{}.NODE_ENV!=="production"&&ut(`Method "${Z}" has type "${typeof at}" in the component definition. Did you reference the function correctly?`)}if(r){({}).NODE_ENV!=="production"&&!Ot(r)&&ut("The data option must be a function. Plain object usage is no longer supported.");const Z=r.call(e,e);if({}.NODE_ENV!=="production"&&oa(Z)&&ut("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!qt(Z))({}).NODE_ENV!=="production"&&ut("data() should return an object.");else if(o.data=Qt(Z),{}.NODE_ENV!=="production")for(const at in Z)rt("Data",at),Pa(at[0])||Object.defineProperty(s,at,{configurable:!0,enumerable:!0,get:()=>Z[at],set:ye})}if(Ra=!0,n)for(const Z in n){const at=n[Z],G=Ot(at)?at.bind(e,e):Ot(at.get)?at.get.bind(e,e):ye;({}).NODE_ENV!=="production"&&G===ye&&ut(`Computed property "${Z}" has no getter.`);const H=!Ot(at)&&Ot(at.set)?at.set.bind(e):{}.NODE_ENV!=="production"?()=>{ut(`Write operation failed: computed property "${Z}" is readonly.`)}:ye,gt=Fm({get:G,set:H});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>gt.value,set:ht=>gt.value=ht}),{}.NODE_ENV!=="production"&&rt("Computed",Z)}if(i)for(const Z in i)hc(i[Z],s,e,Z);if(l){const Z=Ot(l)?l.call(e):l;Reflect.ownKeys(Z).forEach(at=>{Gp(at,Z[at])})}u&&dc(u,o,"c");function Q(Z,at){Tt(at)?at.forEach(G=>Z(G.bind(e))):at&&Z(at.bind(e))}if(Q(wp,f),Q(gs,d),Q(kp,p),Q(Cp,h),Q(bp,w),Q(_p,_),Q(Op,K),Q(Pp,C),Q(Ep,U),Q(Tp,v),Q(se,m),Q(Sp,I),Tt($))if($.length){const Z=o.exposed||(o.exposed={});$.forEach(at=>{Object.defineProperty(Z,at,{get:()=>e[at],set:G=>e[at]=G})})}else o.exposed||(o.exposed={});b&&o.render===ye&&(o.render=b),N!=null&&(o.inheritAttrs=N),D&&(o.components=D),A&&(o.directives=A),I&&ic(o)}function Ap(o,t,e=ye){Tt(o)&&(o=Fa(o));for(const s in o){const r=o[s];let n;qt(r)?"default"in r?n=tn(r.from||s,r.default,!0):n=tn(r.from||s):n=tn(r),de(n)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n.value,set:a=>n.value=a}):t[s]=n,{}.NODE_ENV!=="production"&&e("Inject",s)}}function dc(o,t,e){ds(Tt(o)?o.map(s=>s.bind(t.proxy)):o.bind(t.proxy),t,e)}function hc(o,t,e,s){let r=s.includes(".")?Fc(e,s):()=>e[s];if(ce(o)){const n=t[o];Ot(n)?St(r,n):{}.NODE_ENV!=="production"&&ut(`Invalid watch handler specified by key "${o}"`,n)}else if(Ot(o))St(r,o.bind(e));else if(qt(o))if(Tt(o))o.forEach(n=>hc(n,t,e,s));else{const n=Ot(o.handler)?o.handler.bind(e):t[o.handler];Ot(n)?St(r,n,o):{}.NODE_ENV!=="production"&&ut(`Invalid watch handler specified by key "${o.handler}"`,n)}else({}).NODE_ENV!=="production"&&ut(`Invalid watch option: "${s}"`,o)}function Ia(o){const t=o.type,{mixins:e,extends:s}=t,{mixins:r,optionsCache:n,config:{optionMergeStrategies:a}}=o.appContext,i=n.get(t);let l;return i?l=i:!r.length&&!e&&!s?l=t:(l={},r.length&&r.forEach(c=>Jr(l,c,a,!0)),Jr(l,t,a)),qt(t)&&n.set(t,l),l}function Jr(o,t,e,s=!1){const{mixins:r,extends:n}=t;n&&Jr(o,n,e,!0),r&&r.forEach(a=>Jr(o,a,e,!0));for(const a in t)if(s&&a==="expose")({}).NODE_ENV!=="production"&&ut('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const i=zp[a]||e&&e[a];o[a]=i?i(o[a],t[a]):t[a]}return o}const zp={data:pc,props:mc,emits:mc,methods:or,computed:or,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:or,directives:or,watch:Bp,provide:pc,inject:Vp};function pc(o,t){return t?o?function(){return ae(Ot(o)?o.call(this,this):o,Ot(t)?t.call(this,this):t)}:t:o}function Vp(o,t){return or(Fa(o),Fa(t))}function Fa(o){if(Tt(o)){const t={};for(let e=0;e<o.length;e++)t[o[e]]=o[e];return t}return o}function Le(o,t){return o?[...new Set([].concat(o,t))]:t}function or(o,t){return o?ae(Object.create(null),o,t):t}function mc(o,t){return o?Tt(o)&&Tt(t)?[...new Set([...o,...t])]:ae(Object.create(null),fc(o),fc(t??{})):t}function Bp(o,t){if(!o)return t;if(!t)return o;const e=ae(Object.create(null),o);for(const s in t)e[s]=Le(o[s],t[s]);return e}function gc(){return{app:null,config:{isNativeTag:nh,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 Yp=0;function Xp(o,t){return function(s,r=null){Ot(s)||(s=ae({},s)),r!=null&&!qt(r)&&({}.NODE_ENV!=="production"&&ut("root props passed to app.mount() must be an object."),r=null);const n=gc(),a=new WeakSet,i=[];let l=!1;const c=n.app={_uid:Yp++,_component:s,_props:r,_container:null,_context:n,_instance:null,version:Jc,get config(){return n.config},set config(u){({}).NODE_ENV!=="production"&&ut("app.config cannot be replaced. Modify individual options instead.")},use(u,...f){return a.has(u)?{}.NODE_ENV!=="production"&&ut("Plugin has already been applied to target app."):u&&Ot(u.install)?(a.add(u),u.install(c,...f)):Ot(u)?(a.add(u),u(c,...f)):{}.NODE_ENV!=="production"&&ut('A plugin must either be a function or an object with an "install" function.'),c},mixin(u){return n.mixins.includes(u)?{}.NODE_ENV!=="production"&&ut("Mixin has already been applied to target app"+(u.name?`: ${u.name}`:"")):n.mixins.push(u),c},component(u,f){return{}.NODE_ENV!=="production"&&Ga(u,n.config),f?({}.NODE_ENV!=="production"&&n.components[u]&&ut(`Component "${u}" has already been registered in target app.`),n.components[u]=f,c):n.components[u]},directive(u,f){return{}.NODE_ENV!=="production"&&ac(u),f?({}.NODE_ENV!=="production"&&n.directives[u]&&ut(`Directive "${u}" has already been registered in target app.`),n.directives[u]=f,c):n.directives[u]},mount(u,f,d){if(l)({}).NODE_ENV!=="production"&&ut("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__&&ut("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 p=c._ceVNode||ct(s,r);return p.appContext=n,d===!0?d="svg":d===!1&&(d=void 0),{}.NODE_ENV!=="production"&&(n.reload=()=>{o(js(p),u,d)}),f&&t?t(p,u):o(p,u,d),l=!0,c._container=u,u.__vue_app__=c,{}.NODE_ENV!=="production"&&(c._instance=p.component,lp(c,Jc)),ln(p.component)}},onUnmount(u){({}).NODE_ENV!=="production"&&typeof u!="function"&&ut(`Expected function as first argument to app.onUnmount(), but got ${typeof u}`),i.push(u)},unmount(){l?(ds(i,c._instance,16),o(null,c._container),{}.NODE_ENV!=="production"&&(c._instance=null,cp(c)),delete c._container.__vue_app__):{}.NODE_ENV!=="production"&&ut("Cannot unmount an app that is not mounted.")},provide(u,f){return{}.NODE_ENV!=="production"&&u in n.provides&&ut(`App already provides property with key "${String(u)}". It will be overwritten with the new value.`),n.provides[u]=f,c},runWithContext(u){const f=Io;Io=c;try{return u()}finally{Io=f}}};return c}}let Io=null;function Gp(o,t){if(!ke)({}).NODE_ENV!=="production"&&ut("provide() can only be used inside setup().");else{let e=ke.provides;const s=ke.parent&&ke.parent.provides;s===e&&(e=ke.provides=Object.create(s)),e[o]=t}}function tn(o,t,e=!1){const s=ke||be;if(s||Io){const r=Io?Io._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&o in r)return r[o];if(arguments.length>1)return e&&Ot(t)?t.call(s&&s.proxy):t;({}).NODE_ENV!=="production"&&ut(`injection "${String(o)}" not found.`)}else({}).NODE_ENV!=="production"&&ut("inject() can only be used inside setup() or functional components.")}const yc={},vc=()=>Object.create(yc),bc=o=>Object.getPrototypeOf(o)===yc;function Up(o,t,e,s=!1){const r={},n=vc();o.propsDefaults=Object.create(null),_c(o,t,r,n);for(const a in o.propsOptions[0])a in r||(r[a]=void 0);({}).NODE_ENV!=="production"&&kc(t||{},r,o),e?o.props=s?r:Yh(r):o.type.props?o.props=r:o.props=n,o.attrs=n}function jp(o){for(;o;){if(o.type.__hmrId)return!0;o=o.parent}}function Hp(o,t,e,s){const{props:r,attrs:n,vnode:{patchFlag:a}}=o,i=Lt(r),[l]=o.propsOptions;let c=!1;if(!({}.NODE_ENV!=="production"&&jp(o))&&(s||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(on(o.emitsOptions,d))continue;const p=t[d];if(l)if(Gt(n,d))p!==n[d]&&(n[d]=p,c=!0);else{const h=Be(d);r[h]=Da(l,i,h,p,o,!1)}else p!==n[d]&&(n[d]=p,c=!0)}}}else{_c(o,t,r,n)&&(c=!0);let u;for(const f in i)(!t||!Gt(t,f)&&((u=He(f))===f||!Gt(t,u)))&&(l?e&&(e[f]!==void 0||e[u]!==void 0)&&(r[f]=Da(l,i,f,void 0,o,!0)):delete r[f]);if(n!==i)for(const f in n)(!t||!Gt(t,f))&&(delete n[f],c=!0)}c&&us(o.attrs,"set",""),{}.NODE_ENV!=="production"&&kc(t||{},r,o)}function _c(o,t,e,s){const[r,n]=o.propsOptions;let a=!1,i;if(t)for(let l in t){if(Uo(l))continue;const c=t[l];let u;r&&Gt(r,u=Be(l))?!n||!n.includes(u)?e[u]=c:(i||(i={}))[u]=c:on(o.emitsOptions,l)||(!(l in s)||c!==s[l])&&(s[l]=c,a=!0)}if(n){const l=Lt(e),c=i||Ht;for(let u=0;u<n.length;u++){const f=n[u];e[f]=Da(r,l,f,c[f],o,!Gt(c,f))}}return a}function Da(o,t,e,s,r,n){const a=o[e];if(a!=null){const i=Gt(a,"default");if(i&&s===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Ot(l)){const{propsDefaults:c}=r;if(e in c)s=c[e];else{const u=ur(r);s=c[e]=l.call(null,t),u()}}else s=l;r.ce&&r.ce._setProp(e,s)}a[0]&&(n&&!i?s=!1:a[1]&&(s===""||s===He(e))&&(s=!0))}return s}const Wp=new WeakMap;function xc(o,t,e=!1){const s=e?Wp:t.propsCache,r=s.get(o);if(r)return r;const n=o.props,a={},i=[];let l=!1;if(!Ot(o)){const u=f=>{l=!0;const[d,p]=xc(f,t,!0);ae(a,d),p&&i.push(...p)};!e&&t.mixins.length&&t.mixins.forEach(u),o.extends&&u(o.extends),o.mixins&&o.mixins.forEach(u)}if(!n&&!l)return qt(o)&&s.set(o,To),To;if(Tt(n))for(let u=0;u<n.length;u++){({}).NODE_ENV!=="production"&&!ce(n[u])&&ut("props must be strings when using array syntax.",n[u]);const f=Be(n[u]);wc(f)&&(a[f]=Ht)}else if(n){({}).NODE_ENV!=="production"&&!qt(n)&&ut("invalid props options",n);for(const u in n){const f=Be(u);if(wc(f)){const d=n[u],p=a[f]=Tt(d)||Ot(d)?{type:d}:ae({},d),h=p.type;let w=!1,_=!0;if(Tt(h))for(let x=0;x<h.length;++x){const v=h[x],g=Ot(v)&&v.name;if(g==="Boolean"){w=!0;break}else g==="String"&&(_=!1)}else w=Ot(h)&&h.name==="Boolean";p[0]=w,p[1]=_,(w||Gt(p,"default"))&&i.push(f)}}}const c=[a,i];return qt(o)&&s.set(o,c),c}function wc(o){return o[0]!=="$"&&!Uo(o)?!0:({}.NODE_ENV!=="production"&&ut(`Invalid prop name: "${o}" is a reserved property.`),!1)}function Zp(o){return o===null?"null":typeof o=="function"?o.name||"":typeof o=="object"&&o.constructor&&o.constructor.name||""}function kc(o,t,e){const s=Lt(t),r=e.propsOptions[0],n=Object.keys(o).map(a=>Be(a));for(const a in r){let i=r[a];i!=null&&qp(a,s[a],i,{}.NODE_ENV!=="production"?fs(s):s,!n.includes(a))}}function qp(o,t,e,s,r){const{type:n,required:a,validator:i,skipCheck:l}=e;if(a&&r){ut('Missing required prop: "'+o+'"');return}if(!(t==null&&!a)){if(n!=null&&n!==!0&&!l){let c=!1;const u=Tt(n)?n:[n],f=[];for(let d=0;d<u.length&&!c;d++){const{valid:p,expectedType:h}=Kp(t,u[d]);f.push(h||""),c=p}if(!c){ut(Jp(o,t,f));return}}i&&!i(t,s)&&ut('Invalid prop: custom validator check failed for prop "'+o+'".')}}const Qp=Ss("String,Number,Boolean,Function,Symbol,BigInt");function Kp(o,t){let e;const s=Zp(t);if(s==="null")e=o===null;else if(Qp(s)){const r=typeof o;e=r===s.toLowerCase(),!e&&r==="object"&&(e=o instanceof t)}else s==="Object"?e=qt(o):s==="Array"?e=Tt(o):e=o instanceof t;return{valid:e,expectedType:s}}function Jp(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 s=`Invalid prop: type check failed for prop "${o}". Expected ${e.map($r).join(" | ")}`;const r=e[0],n=ra(t),a=Cc(t,r),i=Cc(t,n);return e.length===1&&Tc(r)&&!tm(r,n)&&(s+=` with value ${a}`),s+=`, got ${n} `,Tc(n)&&(s+=`with value ${i}.`),s}function Cc(o,t){return t==="String"?`"${o}"`:t==="Number"?`${Number(o)}`:`${o}`}function Tc(o){return["string","number","boolean"].some(e=>o.toLowerCase()===e)}function tm(...o){return o.some(t=>t.toLowerCase()==="boolean")}const Sc=o=>o[0]==="_"||o==="$stable",$a=o=>Tt(o)?o.map(as):[as(o)],em=(o,t,e)=>{if(t._n)return t;const s=bt((...r)=>({}.NODE_ENV!=="production"&&ke&&(!e||e.root===ke.root)&&ut(`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.`),$a(t(...r))),e);return s._c=!1,s},Ec=(o,t,e)=>{const s=o._ctx;for(const r in o){if(Sc(r))continue;const n=o[r];if(Ot(n))t[r]=em(r,n,s);else if(n!=null){({}).NODE_ENV!=="production"&&ut(`Non-function value encountered for slot "${r}". Prefer function slots for better performance.`);const a=$a(n);t[r]=()=>a}}},Pc=(o,t)=>{({}).NODE_ENV!=="production"&&!Sa(o.vnode)&&ut("Non-function value encountered for default slot. Prefer function slots for better performance.");const e=$a(t);o.slots.default=()=>e},La=(o,t,e)=>{for(const s in t)(e||s!=="_")&&(o[s]=t[s])},sm=(o,t,e)=>{const s=o.slots=vc();if(o.vnode.shapeFlag&32){const r=t._;r?(La(s,t,e),e&&Lr(s,"_",r,!0)):Ec(t,s)}else t&&Pc(o,t)},om=(o,t,e)=>{const{vnode:s,slots:r}=o;let n=!0,a=Ht;if(s.shapeFlag&32){const i=t._;i?{}.NODE_ENV!=="production"&&ps?(La(r,t,e),us(o,"set","$slots")):e&&i===1?n=!1:La(r,t,e):(n=!t.$stable,Ec(t,r)),a=t}else t&&(Pc(o,t),a={default:1});if(n)for(const i in r)!Sc(i)&&a[i]==null&&delete r[i]};let rr,Us;function $s(o,t){o.appContext.config.performance&&en()&&Us.mark(`vue-${t}-${o.uid}`),{}.NODE_ENV!=="production"&&hp(o,t,en()?Us.now():Date.now())}function Ls(o,t){if(o.appContext.config.performance&&en()){const e=`vue-${t}-${o.uid}`,s=e+":end";Us.mark(s),Us.measure(`<${cn(o,o.type)}> ${t}`,e,s),Us.clearMarks(e),Us.clearMarks(s)}({}).NODE_ENV!=="production"&&pp(o,t,en()?Us.now():Date.now())}function en(){return rr!==void 0||(typeof window<"u"&&window.performance?(rr=!0,Us=window.performance):rr=!1),rr}function rm(){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.
19
17
 
20
- For more details, see https://link.vuejs.org/feature-flags.`)}}const Ae=ip;function Wp(s){return Zp(s)}function Zp(s,t){Hp();const e=ea();e.__VUE__=!0,{}.NODE_ENV!=="production"&&sc(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:o,remove:r,patchProp:n,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:f,setScopeId:p=de,insertStaticContent:d}=s,b=(S,F,X,W=null,Z=null,rt=null,ct=void 0,J=null,at={}.NODE_ENV!=="production"&&os?!1:!!F.dynamicChildren)=>{if(S===F)return;S&&!rr(S,F)&&(W=Kt(S),V(S,Z,rt,!0),S=null),F.patchFlag===-2&&(at=!1,F.dynamicChildren=null);const{type:et,ref:dt,shapeFlag:Tt}=F;switch(et){case tr:_(S,F,X,W);break;case Ne:v(S,F,X,W);break;case er:S==null?w(F,X,W,ct):{}.NODE_ENV!=="production"&&g(S,F,X,ct);break;case Xt:N(S,F,X,W,Z,rt,ct,J,at);break;default:Tt&1?C(S,F,X,W,Z,rt,ct,J,at):Tt&6?G(S,F,X,W,Z,rt,ct,J,at):Tt&64||Tt&128?et.process(S,F,X,W,Z,rt,ct,J,at,$e):{}.NODE_ENV!=="production"&&ut("Invalid VNode type:",et,`(${typeof et})`)}dt!=null&&Z&&Da(dt,S&&S.ref,rt,F||S,!F)},_=(S,F,X,W)=>{if(S==null)o(F.el=i(F.children),X,W);else{const Z=F.el=S.el;F.children!==S.children&&c(Z,F.children)}},v=(S,F,X,W)=>{S==null?o(F.el=l(F.children||""),X,W):F.el=S.el},w=(S,F,X,W)=>{[S.el,S.anchor]=d(S.children,F,X,W,S.el,S.anchor)},g=(S,F,X,W)=>{if(F.children!==S.children){const Z=f(S.anchor);k(S),[F.el,F.anchor]=d(F.children,X,Z,W)}else F.el=S.el,F.anchor=S.anchor},m=({el:S,anchor:F},X,W)=>{let Z;for(;S&&S!==F;)Z=f(S),o(S,X,W),S=Z;o(F,X,W)},k=({el:S,anchor:F})=>{let X;for(;S&&S!==F;)X=f(S),r(S),S=X;r(F)},C=(S,F,X,W,Z,rt,ct,J,at)=>{F.type==="svg"?ct="svg":F.type==="math"&&(ct="mathml"),S==null?z(F,X,W,Z,rt,ct,J,at):D(S,F,Z,rt,ct,J,at)},z=(S,F,X,W,Z,rt,ct,J)=>{let at,et;const{props:dt,shapeFlag:Tt,transition:wt,dirs:Rt}=S;if(at=S.el=a(S.type,rt,dt&&dt.is,dt),Tt&8?u(at,S.children):Tt&16&&R(S.children,at,null,W,Z,La(S,rt),ct,J),Rt&&as(S,null,W,"created"),tt(at,S,S.scopeId,ct,W),dt){for(const Ut in dt)Ut!=="value"&&!Ys(Ut)&&n(at,Ut,null,dt[Ut],rt,S.children,W,Z,Ct);"value"in dt&&n(at,"value",null,dt.value,rt),(et=dt.onVnodeBeforeMount)&&no(et,W,S)}({}).NODE_ENV!=="production"&&(Object.defineProperty(at,"__vnode",{value:S,enumerable:!1}),Object.defineProperty(at,"__vueParentComponent",{value:W,enumerable:!1})),Rt&&as(S,null,W,"beforeMount");const At=qp(Z,wt);At&&wt.beforeEnter(at),o(at,F,X),((et=dt&&dt.onVnodeMounted)||At||Rt)&&Ae(()=>{et&&no(et,W,S),At&&wt.enter(at),Rt&&as(S,null,W,"mounted")},Z)},tt=(S,F,X,W,Z)=>{if(X&&p(S,X),W)for(let rt=0;rt<W.length;rt++)p(S,W[rt]);if(Z){let rt=Z.subTree;if({}.NODE_ENV!=="production"&&rt.patchFlag>0&&rt.patchFlag&2048&&(rt=wa(rt.children)||rt),F===rt){const ct=Z.vnode;tt(S,ct,ct.scopeId,ct.slotScopeIds,Z.parent)}}},R=(S,F,X,W,Z,rt,ct,J,at=0)=>{for(let et=at;et<S.length;et++){const dt=S[et]=J?No(S[et]):Je(S[et]);b(null,dt,F,X,W,Z,rt,ct,J)}},D=(S,F,X,W,Z,rt,ct)=>{const J=F.el=S.el;let{patchFlag:at,dynamicChildren:et,dirs:dt}=F;at|=S.patchFlag&16;const Tt=S.props||Wt,wt=F.props||Wt;let Rt;if(X&&ls(X,!1),(Rt=wt.onVnodeBeforeUpdate)&&no(Rt,X,F,S),dt&&as(F,S,X,"beforeUpdate"),X&&ls(X,!0),{}.NODE_ENV!=="production"&&os&&(at=0,ct=!1,et=null),et?(M(S.dynamicChildren,et,J,X,W,La(F,Z),rt),{}.NODE_ENV!=="production"&&Qr(S,F)):ct||U(S,F,J,null,X,W,La(F,Z),rt,!1),at>0){if(at&16)$(J,F,Tt,wt,X,W,Z);else if(at&2&&Tt.class!==wt.class&&n(J,"class",null,wt.class,Z),at&4&&n(J,"style",Tt.style,wt.style,Z),at&8){const At=F.dynamicProps;for(let Ut=0;Ut<At.length;Ut++){const Jt=At[Ut],le=Tt[Jt],De=wt[Jt];(De!==le||Jt==="value")&&n(J,Jt,le,De,Z,S.children,X,W,Ct)}}at&1&&S.children!==F.children&&u(J,F.children)}else!ct&&et==null&&$(J,F,Tt,wt,X,W,Z);((Rt=wt.onVnodeUpdated)||dt)&&Ae(()=>{Rt&&no(Rt,X,F,S),dt&&as(F,S,X,"updated")},W)},M=(S,F,X,W,Z,rt,ct)=>{for(let J=0;J<F.length;J++){const at=S[J],et=F[J],dt=at.el&&(at.type===Xt||!rr(at,et)||at.shapeFlag&70)?h(at.el):X;b(at,et,dt,null,W,Z,rt,ct,!0)}},$=(S,F,X,W,Z,rt,ct)=>{if(X!==W){if(X!==Wt)for(const J in X)!Ys(J)&&!(J in W)&&n(S,J,X[J],null,ct,F.children,Z,rt,Ct);for(const J in W){if(Ys(J))continue;const at=W[J],et=X[J];at!==et&&J!=="value"&&n(S,J,et,at,ct,F.children,Z,rt,Ct)}"value"in W&&n(S,"value",X.value,W.value,ct)}},N=(S,F,X,W,Z,rt,ct,J,at)=>{const et=F.el=S?S.el:i(""),dt=F.anchor=S?S.anchor:i("");let{patchFlag:Tt,dynamicChildren:wt,slotScopeIds:Rt}=F;({}).NODE_ENV!=="production"&&(os||Tt&2048)&&(Tt=0,at=!1,wt=null),Rt&&(J=J?J.concat(Rt):Rt),S==null?(o(et,X,W),o(dt,X,W),R(F.children||[],X,dt,Z,rt,ct,J,at)):Tt>0&&Tt&64&&wt&&S.dynamicChildren?(M(S.dynamicChildren,wt,X,Z,rt,ct,J),{}.NODE_ENV!=="production"?Qr(S,F):(F.key!=null||Z&&F===Z.subTree)&&Qr(S,F,!0)):U(S,F,X,dt,Z,rt,ct,J,at)},G=(S,F,X,W,Z,rt,ct,J,at)=>{F.slotScopeIds=J,S==null?F.shapeFlag&512?Z.ctx.activate(F,X,W,ct,at):st(F,X,W,Z,rt,ct,at):K(S,F,at)},st=(S,F,X,W,Z,rt,ct)=>{const J=S.component=rm(S,W,Z);if({}.NODE_ENV!=="production"&&J.type.__hmrId&&Vf(J),{}.NODE_ENV!=="production"&&(zr(S),bo(J,"mount")),Ca(S)&&(J.ctx.renderer=$e),{}.NODE_ENV!=="production"&&bo(J,"init"),am(J),{}.NODE_ENV!=="production"&&_o(J,"init"),J.asyncDep){if(Z&&Z.registerDep(J,q),!S.el){const at=J.subTree=lt(Ne);v(null,at,F,X)}}else q(J,S,F,X,Z,rt,ct);({}).NODE_ENV!=="production"&&(Br(),_o(J,"mount"))},K=(S,F,X)=>{const W=F.component=S.component;if(sp(S,F,X))if(W.asyncDep&&!W.asyncResolved){({}).NODE_ENV!=="production"&&zr(F),nt(W,F,X),{}.NODE_ENV!=="production"&&Br();return}else W.next=F,Bf(W.update),W.effect.dirty=!0,W.update();else F.el=S.el,W.vnode=F},q=(S,F,X,W,Z,rt,ct)=>{const J=()=>{if(S.isMounted){let{next:dt,bu:Tt,u:wt,parent:Rt,vnode:At}=S;{const Ho=$c(S);if(Ho){dt&&(dt.el=At.el,nt(S,dt,ct)),Ho.asyncDep.then(()=>{S.isUnmounted||J()});return}}let Ut=dt,Jt;({}).NODE_ENV!=="production"&&zr(dt||S.vnode),ls(S,!1),dt?(dt.el=At.el,nt(S,dt,ct)):dt=At,Tt&&Vs(Tt),(Jt=dt.props&&dt.props.onVnodeBeforeUpdate)&&no(Jt,Rt,dt,At),ls(S,!0),{}.NODE_ENV!=="production"&&bo(S,"render");const le=xa(S);({}).NODE_ENV!=="production"&&_o(S,"render");const De=S.subTree;S.subTree=le,{}.NODE_ENV!=="production"&&bo(S,"patch"),b(De,le,h(De.el),Kt(De),S,Z,rt),{}.NODE_ENV!=="production"&&_o(S,"patch"),dt.el=le.el,Ut===null&&rp(S,le.el),wt&&Ae(wt,Z),(Jt=dt.props&&dt.props.onVnodeUpdated)&&Ae(()=>no(Jt,Rt,dt,At),Z),{}.NODE_ENV!=="production"&&rc(S),{}.NODE_ENV!=="production"&&Br()}else{let dt;const{el:Tt,props:wt}=F,{bm:Rt,m:At,parent:Ut}=S,Jt=qs(F);if(ls(S,!1),Rt&&Vs(Rt),!Jt&&(dt=wt&&wt.onVnodeBeforeMount)&&no(dt,Ut,F),ls(S,!0),Tt&&Ie){const le=()=>{({}).NODE_ENV!=="production"&&bo(S,"render"),S.subTree=xa(S),{}.NODE_ENV!=="production"&&_o(S,"render"),{}.NODE_ENV!=="production"&&bo(S,"hydrate"),Ie(Tt,S.subTree,S,Z,null),{}.NODE_ENV!=="production"&&_o(S,"hydrate")};Jt?F.type.__asyncLoader().then(()=>!S.isUnmounted&&le()):le()}else{({}).NODE_ENV!=="production"&&bo(S,"render");const le=S.subTree=xa(S);({}).NODE_ENV!=="production"&&_o(S,"render"),{}.NODE_ENV!=="production"&&bo(S,"patch"),b(null,le,X,W,S,Z,rt),{}.NODE_ENV!=="production"&&_o(S,"patch"),F.el=le.el}if(At&&Ae(At,Z),!Jt&&(dt=wt&&wt.onVnodeMounted)){const le=F;Ae(()=>no(dt,Ut,le),Z)}(F.shapeFlag&256||Ut&&qs(Ut.vnode)&&Ut.vnode.shapeFlag&256)&&S.a&&Ae(S.a,Z),S.isMounted=!0,{}.NODE_ENV!=="production"&&Wf(S),F=X=W=null}},at=S.effect=new sa(J,de,()=>Yr(et),S.scope),et=S.update=()=>{at.dirty&&at.run()};et.id=S.uid,ls(S,!0),{}.NODE_ENV!=="production"&&(at.onTrack=S.rtc?dt=>Vs(S.rtc,dt):void 0,at.onTrigger=S.rtg?dt=>Vs(S.rtg,dt):void 0,et.ownerInstance=S),et()},nt=(S,F,X)=>{F.component=S;const W=S.vnode.props;S.vnode=F,S.next=null,Np(S,F.props,W,X),jp(S,F.children,X),Io(),Kl(S),Ro()},U=(S,F,X,W,Z,rt,ct,J,at=!1)=>{const et=S&&S.children,dt=S?S.shapeFlag:0,Tt=F.children,{patchFlag:wt,shapeFlag:Rt}=F;if(wt>0){if(wt&128){gt(et,Tt,X,W,Z,rt,ct,J,at);return}else if(wt&256){H(et,Tt,X,W,Z,rt,ct,J,at);return}}Rt&8?(dt&16&&Ct(et,Z,rt),Tt!==et&&u(X,Tt)):dt&16?Rt&16?gt(et,Tt,X,W,Z,rt,ct,J,at):Ct(et,Z,rt,!0):(dt&8&&u(X,""),Rt&16&&R(Tt,X,W,Z,rt,ct,J,at))},H=(S,F,X,W,Z,rt,ct,J,at)=>{S=S||_s,F=F||_s;const et=S.length,dt=F.length,Tt=Math.min(et,dt);let wt;for(wt=0;wt<Tt;wt++){const Rt=F[wt]=at?No(F[wt]):Je(F[wt]);b(S[wt],Rt,X,null,Z,rt,ct,J,at)}et>dt?Ct(S,Z,rt,!0,!1,Tt):R(F,X,W,Z,rt,ct,J,at,Tt)},gt=(S,F,X,W,Z,rt,ct,J,at)=>{let et=0;const dt=F.length;let Tt=S.length-1,wt=dt-1;for(;et<=Tt&&et<=wt;){const Rt=S[et],At=F[et]=at?No(F[et]):Je(F[et]);if(rr(Rt,At))b(Rt,At,X,null,Z,rt,ct,J,at);else break;et++}for(;et<=Tt&&et<=wt;){const Rt=S[Tt],At=F[wt]=at?No(F[wt]):Je(F[wt]);if(rr(Rt,At))b(Rt,At,X,null,Z,rt,ct,J,at);else break;Tt--,wt--}if(et>Tt){if(et<=wt){const Rt=wt+1,At=Rt<dt?F[Rt].el:W;for(;et<=wt;)b(null,F[et]=at?No(F[et]):Je(F[et]),X,At,Z,rt,ct,J,at),et++}}else if(et>wt)for(;et<=Tt;)V(S[et],Z,rt,!0),et++;else{const Rt=et,At=et,Ut=new Map;for(et=At;et<=wt;et++){const Se=F[et]=at?No(F[et]):Je(F[et]);Se.key!=null&&({}.NODE_ENV!=="production"&&Ut.has(Se.key)&&ut("Duplicate keys found during update:",JSON.stringify(Se.key),"Make sure keys are unique."),Ut.set(Se.key,et))}let Jt,le=0;const De=wt-At+1;let Ho=!1,Vn=0;const ys=new Array(De);for(et=0;et<De;et++)ys[et]=0;for(et=Rt;et<=Tt;et++){const Se=S[et];if(le>=De){V(Se,Z,rt,!0);continue}let Le;if(Se.key!=null)Le=Ut.get(Se.key);else for(Jt=At;Jt<=wt;Jt++)if(ys[Jt-At]===0&&rr(Se,F[Jt])){Le=Jt;break}Le===void 0?V(Se,Z,rt,!0):(ys[Le-At]=et+1,Le>=Vn?Vn=Le:Ho=!0,b(Se,F[Le],X,null,Z,rt,ct,J,at),le++)}const Xn=Ho?Qp(ys):_s;for(Jt=Xn.length-1,et=De-1;et>=0;et--){const Se=At+et,Le=F[Se],Gn=Se+1<dt?F[Se+1].el:W;ys[et]===0?b(null,Le,X,Gn,Z,rt,ct,J,at):Ho&&(Jt<0||et!==Xn[Jt]?ft(Le,X,Gn,2):Jt--)}}},ft=(S,F,X,W,Z=null)=>{const{el:rt,type:ct,transition:J,children:at,shapeFlag:et}=S;if(et&6){ft(S.component.subTree,F,X,W);return}if(et&128){S.suspense.move(F,X,W);return}if(et&64){ct.move(S,F,X,$e);return}if(ct===Xt){o(rt,F,X);for(let Tt=0;Tt<at.length;Tt++)ft(at[Tt],F,X,W);o(S.anchor,F,X);return}if(ct===er){m(S,F,X);return}if(W!==2&&et&1&&J)if(W===0)J.beforeEnter(rt),o(rt,F,X),Ae(()=>J.enter(rt),Z);else{const{leave:Tt,delayLeave:wt,afterLeave:Rt}=J,At=()=>o(rt,F,X),Ut=()=>{Tt(rt,()=>{At(),Rt&&Rt()})};wt?wt(rt,At,Ut):Ut()}else o(rt,F,X)},V=(S,F,X,W=!1,Z=!1)=>{const{type:rt,props:ct,ref:J,children:at,dynamicChildren:et,shapeFlag:dt,patchFlag:Tt,dirs:wt}=S;if(J!=null&&Da(J,null,X,S,!0),dt&256){F.ctx.deactivate(S);return}const Rt=dt&1&&wt,At=!qs(S);let Ut;if(At&&(Ut=ct&&ct.onVnodeBeforeUnmount)&&no(Ut,F,S),dt&6)Nt(S.component,X,W);else{if(dt&128){S.suspense.unmount(X,W);return}Rt&&as(S,null,F,"beforeUnmount"),dt&64?S.type.remove(S,F,X,Z,$e,W):et&&(rt!==Xt||Tt>0&&Tt&64)?Ct(et,F,X,!1,!0):(rt===Xt&&Tt&384||!Z&&dt&16)&&Ct(at,F,X),W&&P(S)}(At&&(Ut=ct&&ct.onVnodeUnmounted)||Rt)&&Ae(()=>{Ut&&no(Ut,F,S),Rt&&as(S,null,F,"unmounted")},X)},P=S=>{const{type:F,el:X,anchor:W,transition:Z}=S;if(F===Xt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&Z&&!Z.persisted?S.children.forEach(ct=>{ct.type===Ne?r(ct.el):P(ct)}):Vt(X,W);return}if(F===er){k(S);return}const rt=()=>{r(X),Z&&!Z.persisted&&Z.afterLeave&&Z.afterLeave()};if(S.shapeFlag&1&&Z&&!Z.persisted){const{leave:ct,delayLeave:J}=Z,at=()=>ct(X,rt);J?J(S.el,rt,at):at()}else rt()},Vt=(S,F)=>{let X;for(;S!==F;)X=f(S),r(S),S=X;r(F)},Nt=(S,F,X)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&Xf(S);const{bum:W,scope:Z,update:rt,subTree:ct,um:J}=S;W&&Vs(W),Z.stop(),rt&&(rt.active=!1,V(ct,S,F,X)),J&&Ae(J,F),Ae(()=>{S.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve()),{}.NODE_ENV!=="production"&&qf(S)},Ct=(S,F,X,W=!1,Z=!1,rt=0)=>{for(let ct=rt;ct<S.length;ct++)V(S[ct],F,X,W,Z)},Kt=S=>S.shapeFlag&6?Kt(S.component.subTree):S.shapeFlag&128?S.suspense.next():f(S.anchor||S.el);let Gt=!1;const j=(S,F,X)=>{S==null?F._vnode&&V(F._vnode,null,null,!0):b(F._vnode||null,S,F,null,null,null,X),Gt||(Gt=!0,Kl(),Jl(),Gt=!1),F._vnode=S},$e={p:b,um:V,m:ft,r:P,mt:st,mc:R,pc:U,pbc:M,n:Kt,o:s};let Ve,Ie;return t&&([Ve,Ie]=t($e)),{render:j,hydrate:Ve,createApp:Dp(j,Ve)}}function La({type:s,props:t},e){return e==="svg"&&s==="foreignObject"||e==="mathml"&&s==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:e}function ls({effect:s,update:t},e){s.allowRecurse=t.allowRecurse=e}function qp(s,t){return(!s||s&&!s.pendingBranch)&&t&&!t.persisted}function Qr(s,t,e=!1){const o=s.children,r=t.children;if(Pt(o)&&Pt(r))for(let n=0;n<o.length;n++){const a=o[n];let i=r[n];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=r[n]=No(r[n]),i.el=a.el),e||Qr(a,i)),i.type===tr&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===Ne&&!i.el&&(i.el=a.el)}}function Qp(s){const t=s.slice(),e=[0];let o,r,n,a,i;const l=s.length;for(o=0;o<l;o++){const c=s[o];if(c!==0){if(r=e[e.length-1],s[r]<c){t[o]=r,e.push(o);continue}for(n=0,a=e.length-1;n<a;)i=n+a>>1,s[e[i]]<c?n=i+1:a=i;c<s[e[n]]&&(n>0&&(t[o]=e[n-1]),e[n]=o)}}for(n=e.length,a=e[n-1];n-- >0;)e[n]=a,a=t[a];return e}function $c(s){const t=s.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$c(t)}const Kp=s=>s.__isTeleport,Xt=Symbol.for("v-fgt"),tr=Symbol.for("v-txt"),Ne=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),or=[];let Ke=null;function L(s=!1){or.push(Ke=s?null:[])}function Jp(){or.pop(),Ke=or[or.length-1]||null}let sr=1;function Dc(s){sr+=s}function Lc(s){return s.dynamicChildren=sr>0?Ke||_s:null,Jp(),sr>0&&Ke&&Ke.push(s),s}function Y(s,t,e,o,r,n){return Lc(E(s,t,e,o,r,n,!0))}function Mt(s,t,e,o,r){return Lc(lt(s,t,e,o,r,!0))}function Es(s){return s?s.__v_isVNode===!0:!1}function rr(s,t){return{}.NODE_ENV!=="production"&&t.shapeFlag&6&&Cs.has(t.type)?(s.shapeFlag&=-257,t.shapeFlag&=-513,!1):s.type===t.type&&s.key===t.key}const tm=(...s)=>Ac(...s),Kr="__vInternal",Mc=({key:s})=>s??null,Jr=({ref:s,ref_key:t,ref_for:e})=>(typeof s=="number"&&(s=""+s),s!=null?ce(s)||Ce(s)||Ft(s)?{i:fe,r:s,k:t,f:!!e}:s:null);function E(s,t=null,e=null,o=0,r=null,n=s===Xt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:s,props:t,key:t&&Mc(t),ref:t&&Jr(t),scopeId:Xr,slotScopeIds:null,children:e,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:n,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:fe};return i?(Ma(l,e),n&128&&s.normalize(l)):e&&(l.shapeFlag|=ce(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&ut("VNode created with invalid key (NaN). VNode type:",l.type),sr>0&&!a&&Ke&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&Ke.push(l),l}const lt={}.NODE_ENV!=="production"?tm:Ac;function Ac(s,t=null,e=null,o=0,r=null,n=!1){if((!s||s===np)&&({}.NODE_ENV!=="production"&&!s&&ut(`Invalid vnode type when creating vnode: ${s}.`),s=Ne),Es(s)){const i=Ao(s,t,!0);return e&&Ma(i,e),sr>0&&!n&&Ke&&(i.shapeFlag&6?Ke[Ke.indexOf(s)]=i:Ke.push(i)),i.patchFlag|=-2,i}if(Wc(s)&&(s=s.__vccOpts),t){t=em(t);let{class:i,style:l}=t;i&&!ce(i)&&(t.class=te(i)),Ht(l)&&(ha(l)&&!Pt(l)&&(l=ie({},l)),t.style=A(l))}const a=ce(s)?1:ap(s)?128:Kp(s)?64:Ht(s)?4:Ft(s)?2:0;return{}.NODE_ENV!=="production"&&a&4&&ha(s)&&(s=Dt(s),ut("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`.",`
21
- Component that was made reactive: `,s)),E(s,t,e,o,r,a,n,!0)}function em(s){return s?ha(s)||Kr in s?ie({},s):s:null}function Ao(s,t,e=!1){const{props:o,ref:r,patchFlag:n,children:a}=s,i=t?Aa(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:s.type,props:i,key:i&&Mc(i),ref:t&&t.ref?e&&r?Pt(r)?r.concat(Jr(t)):[r,Jr(t)]:Jr(t):r,scopeId:s.scopeId,slotScopeIds:s.slotScopeIds,children:{}.NODE_ENV!=="production"&&n===-1&&Pt(a)?a.map(Nc):a,target:s.target,targetAnchor:s.targetAnchor,staticCount:s.staticCount,shapeFlag:s.shapeFlag,patchFlag:t&&s.type!==Xt?n===-1?16:n|16:n,dynamicProps:s.dynamicProps,dynamicChildren:s.dynamicChildren,appContext:s.appContext,dirs:s.dirs,transition:s.transition,component:s.component,suspense:s.suspense,ssContent:s.ssContent&&Ao(s.ssContent),ssFallback:s.ssFallback&&Ao(s.ssFallback),el:s.el,anchor:s.anchor,ctx:s.ctx,ce:s.ce}}function Nc(s){const t=Ao(s);return Pt(s.children)&&(t.children=s.children.map(Nc)),t}function jt(s=" ",t=0){return lt(tr,null,s,t)}function zc(s,t){const e=lt(er,null,s);return e.staticCount=t,e}function Ot(s="",t=!1){return t?(L(),Mt(Ne,null,s)):lt(Ne,null,s)}function Je(s){return s==null||typeof s=="boolean"?lt(Ne):Pt(s)?lt(Xt,null,s.slice()):typeof s=="object"?No(s):lt(tr,null,String(s))}function No(s){return s.el===null&&s.patchFlag!==-1||s.memo?s:Ao(s)}function Ma(s,t){let e=0;const{shapeFlag:o}=s;if(t==null)t=null;else if(Pt(t))e=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Ma(s,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!(Kr in t)?t._ctx=fe:r===3&&fe&&(fe.slots._===1?t._=1:(t._=2,s.patchFlag|=1024))}else Ft(t)?(t={default:t,_ctx:fe},e=32):(t=String(t),o&64?(e=16,t=[jt(t)]):e=8);s.children=t,s.shapeFlag|=e}function Aa(...s){const t={};for(let e=0;e<s.length;e++){const o=s[e];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=te([t.class,o.class]));else if(r==="style")t.style=A([t.style,o.style]);else if(Bs(r)){const n=t[r],a=o[r];a&&n!==a&&!(Pt(n)&&n.includes(a))&&(t[r]=n?[].concat(n,a):a)}else r!==""&&(t[r]=o[r])}return t}function no(s,t,e,o=null){Qe(s,t,7,[e,o])}const om=xc();let sm=0;function rm(s,t,e){const o=s.type,r=(t?t.appContext:s.appContext)||om,n={uid:sm++,vnode:s,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new rf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:kc(o,r),emitsOptions:ac(o,r),emit:null,emitted:null,propsDefaults:Wt,inheritAttrs:o.inheritAttrs,ctx:Wt,data:Wt,props:Wt,attrs:Wt,slots:Wt,refs:Wt,setupState:Wt,setupContext:null,attrsProxy:null,slotsProxy: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"?n.ctx=wp(n):n.ctx={_:n},n.root=t?t.root:n,n.emit=tp.bind(null,n),s.ce&&s.ce(n),n}let _e=null;const Bc=()=>_e||fe;let tn,Na;{const s=ea(),t=(e,o)=>{let r;return(r=s[e])||(r=s[e]=[]),r.push(o),n=>{r.length>1?r.forEach(a=>a(n)):r[0](n)}};tn=t("__VUE_INSTANCE_SETTERS__",e=>_e=e),Na=t("__VUE_SSR_SETTERS__",e=>en=e)}const nr=s=>{const t=_e;return tn(s),s.scope.on(),()=>{s.scope.off(),tn(t)}},Yc=()=>{_e&&_e.scope.off(),tn(null)},nm=bs("slot,component");function za(s,{isNativeTag:t}){(nm(s)||t(s))&&ut("Do not use built-in or reserved HTML elements as component id: "+s)}function Vc(s){return s.vnode.shapeFlag&4}let en=!1;function am(s,t=!1){t&&Na(t);const{props:e,children:o}=s.vnode,r=Vc(s);Mp(s,e,r,t),Up(s,o);const n=r?im(s,t):void 0;return t&&Na(!1),n}function im(s,t){var e;const o=s.type;if({}.NODE_ENV!=="production"){if(o.name&&za(o.name,s.appContext.config),o.components){const n=Object.keys(o.components);for(let a=0;a<n.length;a++)za(n[a],s.appContext.config)}if(o.directives){const n=Object.keys(o.directives);for(let a=0;a<n.length;a++)dc(n[a])}o.compilerOptions&&lm()&&ut('"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.')}s.accessCache=Object.create(null),s.proxy=Xl(new Proxy(s.ctx,mc)),{}.NODE_ENV!=="production"&&kp(s);const{setup:r}=o;if(r){const n=s.setupContext=r.length>1?jc(s):null,a=nr(s);Io();const i=go(r,s,0,[{}.NODE_ENV!=="production"?ws(s.props):s.props,n]);if(Ro(),a(),Kn(i)){if(i.then(Yc,Yc),t)return i.then(l=>{Xc(s,l,t)}).catch(l=>{Gs(l,s,0)});if(s.asyncDep=i,{}.NODE_ENV!=="production"&&!s.suspense){const l=(e=o.name)!=null?e:"Anonymous";ut(`Component <${l}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Xc(s,i,t)}else Gc(s,t)}function Xc(s,t,e){Ft(t)?s.type.__ssrInlineRender?s.ssrRender=t:s.render=t:Ht(t)?({}.NODE_ENV!=="production"&&Es(t)&&ut("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(s.devtoolsRawSetupState=t),s.setupState=jl(t),{}.NODE_ENV!=="production"&&Cp(s)):{}.NODE_ENV!=="production"&&t!==void 0&&ut(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Gc(s,e)}let Ba;const lm=()=>!Ba;function Gc(s,t,e){const o=s.type;if(!s.render){if(!t&&Ba&&!o.render){const r=o.template||Oa(s).template;if(r){({}).NODE_ENV!=="production"&&bo(s,"compile");const{isCustomElement:n,compilerOptions:a}=s.appContext.config,{delimiters:i,compilerOptions:l}=o,c=ie(ie({isCustomElement:n,delimiters:i},a),l);o.render=Ba(r,c),{}.NODE_ENV!=="production"&&_o(s,"compile")}}s.render=o.render||de}{const r=nr(s);Io();try{Pp(s)}finally{Ro(),r()}}({}).NODE_ENV!=="production"&&!o.render&&s.render===de&&!t&&(o.template?ut('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".'):ut("Component is missing template or render function."))}function Uc(s){return s.attrsProxy||(s.attrsProxy=new Proxy(s.attrs,{}.NODE_ENV!=="production"?{get(t,e){return Ur(),ke(s,"get","$attrs"),t[e]},set(){return ut("setupContext.attrs is readonly."),!1},deleteProperty(){return ut("setupContext.attrs is readonly."),!1}}:{get(t,e){return ke(s,"get","$attrs"),t[e]}}))}function cm(s){return s.slotsProxy||(s.slotsProxy=new Proxy(s.slots,{get(t,e){return ke(s,"get","$slots"),t[e]}}))}function jc(s){const t=e=>{if({}.NODE_ENV!=="production"&&(s.exposed&&ut("expose() should be called only once per setup()."),e!=null)){let o=typeof e;o==="object"&&(Pt(e)?o="array":Ce(e)&&(o="ref")),o!=="object"&&ut(`expose() should be passed a plain object, received ${o}.`)}s.exposed=e||{}};return{}.NODE_ENV!=="production"?Object.freeze({get attrs(){return Uc(s)},get slots(){return cm(s)},get emit(){return(e,...o)=>s.emit(e,...o)},expose:t}):{get attrs(){return Uc(s)},slots:s.slots,emit:s.emit,expose:t}}function on(s){if(s.exposed)return s.exposeProxy||(s.exposeProxy=new Proxy(jl(Xl(s.exposed)),{get(t,e){if(e in t)return t[e];if(e in is)return is[e](s)},has(t,e){return e in t||e in is}}))}const um=/(?:^|[-_])(\w)/g,hm=s=>s.replace(um,t=>t.toUpperCase()).replace(/[-_]/g,"");function Hc(s,t=!0){return Ft(s)?s.displayName||s.name:s.name||t&&s.__name}function sn(s,t,e=!1){let o=Hc(t);if(!o&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(o=r[1])}if(!o&&s&&s.parent){const r=n=>{for(const a in n)if(n[a]===t)return a};o=r(s.components||s.parent.type.components)||r(s.appContext.components)}return o?hm(o):e?"App":"Anonymous"}function Wc(s){return Ft(s)&&"__vccOpts"in s}const dm=(s,t)=>{const e=Of(s,t,en);if({}.NODE_ENV!=="production"){const o=Bc();o&&o.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function qt(s,t,e){const o=arguments.length;return o===2?Ht(t)&&!Pt(t)?Es(t)?lt(s,null,[t]):lt(s,t):lt(s,null,t):(o>3?e=Array.prototype.slice.call(arguments,2):o===3&&Es(e)&&(e=[e]),lt(s,t,e))}function fm(){if({}.NODE_ENV==="production"||typeof window>"u")return;const s={style:"color:#3ba776"},t={style:"color:#1677ff"},e={style:"color:#f5222d"},o={style:"color:#eb2f96"},r={header(h){return Ht(h)?h.__isVue?["div",s,"VueInstance"]:Ce(h)?["div",{},["span",s,u(h)],"<",i(h.value),">"]:Jo(h)?["div",{},["span",s,ts(h)?"ShallowReactive":"Reactive"],"<",i(h),`>${$o(h)?" (readonly)":""}`]:$o(h)?["div",{},["span",s,ts(h)?"ShallowReadonly":"Readonly"],"<",i(h),">"]:null:null},hasBody(h){return h&&h.__isVue},body(h){if(h&&h.__isVue)return["div",{},...n(h.$)]}};function n(h){const f=[];h.type.props&&h.props&&f.push(a("props",Dt(h.props))),h.setupState!==Wt&&f.push(a("setup",h.setupState)),h.data!==Wt&&f.push(a("data",Dt(h.data)));const p=l(h,"computed");p&&f.push(a("computed",p));const d=l(h,"inject");return d&&f.push(a("injected",d)),f.push(["div",{},["span",{style:o.style+";opacity:0.66"},"$ (internal): "],["object",{object:h}]]),f}function a(h,f){return f=ie({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},h],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(p=>["div",{},["span",o,p+": "],i(f[p],!1)])]]:["span",{}]}function i(h,f=!0){return typeof h=="number"?["span",t,h]:typeof h=="string"?["span",e,JSON.stringify(h)]:typeof h=="boolean"?["span",o,h]:Ht(h)?["object",{object:f?Dt(h):h}]:["span",e,String(h)]}function l(h,f){const p=h.type;if(Ft(p))return;const d={};for(const b in h.ctx)c(p,b,f)&&(d[b]=h.ctx[b]);return d}function c(h,f,p){const d=h[p];if(Pt(d)&&d.includes(f)||Ht(d)&&f in d||h.extends&&c(h.extends,f,p)||h.mixins&&h.mixins.some(b=>c(b,f,p)))return!0}function u(h){return ts(h)?"ShallowRef":h.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const Zc="3.4.21",Ya={}.NODE_ENV!=="production"?ut:de;/**
22
- * @vue/runtime-dom v3.4.21
18
+ For more details, see https://link.vuejs.org/feature-flags.`)}}const Ze=vm;function nm(o){return am(o)}function am(o,t){rm();const e=Ho();e.__VUE__=!0,{}.NODE_ENV!=="production"&&sc(e.__VUE_DEVTOOLS_GLOBAL_HOOK__,e);const{insert:s,remove:r,patchProp:n,createElement:a,createText:i,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=ye,insertStaticContent:h}=o,w=(S,F,Y,J=null,W=null,tt=null,lt=void 0,et=null,nt={}.NODE_ENV!=="production"&&ps?!1:!!F.dynamicChildren)=>{if(S===F)return;S&&!cr(S,F)&&(J=te(S),B(S,W,tt,!0),S=null),F.patchFlag===-2&&(nt=!1,F.dynamicChildren=null);const{type:ot,ref:Pt,shapeFlag:dt}=F;switch(ot){case nr:_(S,F,Y,J);break;case Ye:x(S,F,Y,J);break;case ar:S==null?v(F,Y,J,lt):{}.NODE_ENV!=="production"&&g(S,F,Y,lt);break;case Vt:A(S,F,Y,J,W,tt,lt,et,nt);break;default:dt&1?C(S,F,Y,J,W,tt,lt,et,nt):dt&6?X(S,F,Y,J,W,tt,lt,et,nt):dt&64||dt&128?ot.process(S,F,Y,J,W,tt,lt,et,nt,Me):{}.NODE_ENV!=="production"&&ut("Invalid VNode type:",ot,`(${typeof ot})`)}Pt!=null&&W&&Qr(Pt,S&&S.ref,tt,F||S,!F)},_=(S,F,Y,J)=>{if(S==null)s(F.el=i(F.children),Y,J);else{const W=F.el=S.el;F.children!==S.children&&c(W,F.children)}},x=(S,F,Y,J)=>{S==null?s(F.el=l(F.children||""),Y,J):F.el=S.el},v=(S,F,Y,J)=>{[S.el,S.anchor]=h(S.children,F,Y,J,S.el,S.anchor)},g=(S,F,Y,J)=>{if(F.children!==S.children){const W=d(S.anchor);b(S),[F.el,F.anchor]=h(F.children,Y,W,J)}else F.el=S.el,F.anchor=S.anchor},m=({el:S,anchor:F},Y,J)=>{let W;for(;S&&S!==F;)W=d(S),s(S,Y,J),S=W;s(F,Y,J)},b=({el:S,anchor:F})=>{let Y;for(;S&&S!==F;)Y=d(S),r(S),S=Y;r(F)},C=(S,F,Y,J,W,tt,lt,et,nt)=>{F.type==="svg"?lt="svg":F.type==="math"&&(lt="mathml"),S==null?U(F,Y,J,W,tt,lt,et,nt):$(S,F,W,tt,lt,et,nt)},U=(S,F,Y,J,W,tt,lt,et)=>{let nt,ot;const{props:Pt,shapeFlag:dt,transition:_t,dirs:It}=S;if(nt=S.el=a(S.type,tt,Pt&&Pt.is,Pt),dt&8?u(nt,S.children):dt&16&&I(S.children,nt,null,J,W,Na(S,tt),lt,et),It&&uo(S,null,J,"created"),K(nt,S,S.scopeId,lt,J),Pt){for(const Zt in Pt)Zt!=="value"&&!Uo(Zt)&&n(nt,Zt,null,Pt[Zt],tt,J);"value"in Pt&&n(nt,"value",null,Pt.value,tt),(ot=Pt.onVnodeBeforeMount)&&ys(ot,J,S)}({}).NODE_ENV!=="production"&&(Lr(nt,"__vnode",S,!0),Lr(nt,"__vueParentComponent",J,!0)),It&&uo(S,null,J,"beforeMount");const At=im(W,_t);At&&_t.beforeEnter(nt),s(nt,F,Y),((ot=Pt&&Pt.onVnodeMounted)||At||It)&&Ze(()=>{ot&&ys(ot,J,S),At&&_t.enter(nt),It&&uo(S,null,J,"mounted")},W)},K=(S,F,Y,J,W)=>{if(Y&&p(S,Y),J)for(let tt=0;tt<J.length;tt++)p(S,J[tt]);if(W){let tt=W.subTree;if({}.NODE_ENV!=="production"&&tt.patchFlag>0&&tt.patchFlag&2048&&(tt=Va(tt.children)||tt),F===tt||Mc(tt.type)&&(tt.ssContent===F||tt.ssFallback===F)){const lt=W.vnode;K(S,lt,lt.scopeId,lt.slotScopeIds,W.parent)}}},I=(S,F,Y,J,W,tt,lt,et,nt=0)=>{for(let ot=nt;ot<S.length;ot++){const Pt=S[ot]=et?Hs(S[ot]):as(S[ot]);w(null,Pt,F,Y,J,W,tt,lt,et)}},$=(S,F,Y,J,W,tt,lt)=>{const et=F.el=S.el;({}).NODE_ENV!=="production"&&(et.__vnode=F);let{patchFlag:nt,dynamicChildren:ot,dirs:Pt}=F;nt|=S.patchFlag&16;const dt=S.props||Ht,_t=F.props||Ht;let It;if(Y&&ho(Y,!1),(It=_t.onVnodeBeforeUpdate)&&ys(It,Y,F,S),Pt&&uo(F,S,Y,"beforeUpdate"),Y&&ho(Y,!0),{}.NODE_ENV!=="production"&&ps&&(nt=0,lt=!1,ot=null),(dt.innerHTML&&_t.innerHTML==null||dt.textContent&&_t.textContent==null)&&u(et,""),ot?(N(S.dynamicChildren,ot,et,Y,J,Na(F,W),tt),{}.NODE_ENV!=="production"&&sn(S,F)):lt||G(S,F,et,null,Y,J,Na(F,W),tt,!1),nt>0){if(nt&16)D(et,dt,_t,Y,W);else if(nt&2&&dt.class!==_t.class&&n(et,"class",null,_t.class,W),nt&4&&n(et,"style",dt.style,_t.style,W),nt&8){const At=F.dynamicProps;for(let Zt=0;Zt<At.length;Zt++){const Ut=At[Zt],Te=dt[Ut],ge=_t[Ut];(ge!==Te||Ut==="value")&&n(et,Ut,Te,ge,W,Y)}}nt&1&&S.children!==F.children&&u(et,F.children)}else!lt&&ot==null&&D(et,dt,_t,Y,W);((It=_t.onVnodeUpdated)||Pt)&&Ze(()=>{It&&ys(It,Y,F,S),Pt&&uo(F,S,Y,"updated")},J)},N=(S,F,Y,J,W,tt,lt)=>{for(let et=0;et<F.length;et++){const nt=S[et],ot=F[et],Pt=nt.el&&(nt.type===Vt||!cr(nt,ot)||nt.shapeFlag&70)?f(nt.el):Y;w(nt,ot,Pt,null,J,W,tt,lt,!0)}},D=(S,F,Y,J,W)=>{if(F!==Y){if(F!==Ht)for(const tt in F)!Uo(tt)&&!(tt in Y)&&n(S,tt,F[tt],null,W,J);for(const tt in Y){if(Uo(tt))continue;const lt=Y[tt],et=F[tt];lt!==et&&tt!=="value"&&n(S,tt,et,lt,W,J)}"value"in Y&&n(S,"value",F.value,Y.value,W)}},A=(S,F,Y,J,W,tt,lt,et,nt)=>{const ot=F.el=S?S.el:i(""),Pt=F.anchor=S?S.anchor:i("");let{patchFlag:dt,dynamicChildren:_t,slotScopeIds:It}=F;({}).NODE_ENV!=="production"&&(ps||dt&2048)&&(dt=0,nt=!1,_t=null),It&&(et=et?et.concat(It):It),S==null?(s(ot,Y,J),s(Pt,Y,J),I(F.children||[],Y,Pt,W,tt,lt,et,nt)):dt>0&&dt&64&&_t&&S.dynamicChildren?(N(S.dynamicChildren,_t,Y,W,tt,lt,et),{}.NODE_ENV!=="production"?sn(S,F):(F.key!=null||W&&F===W.subTree)&&sn(S,F,!0)):G(S,F,Y,Pt,W,tt,lt,et,nt)},X=(S,F,Y,J,W,tt,lt,et,nt)=>{F.slotScopeIds=et,S==null?F.shapeFlag&512?W.ctx.activate(F,Y,J,lt,nt):rt(F,Y,J,W,tt,lt,nt):Q(S,F,nt)},rt=(S,F,Y,J,W,tt,lt)=>{const et=S.component=Cm(S,J,W);if({}.NODE_ENV!=="production"&&et.type.__hmrId&&rp(et),{}.NODE_ENV!=="production"&&(Gr(S),$s(et,"mount")),Sa(S)&&(et.ctx.renderer=Me),{}.NODE_ENV!=="production"&&$s(et,"init"),Sm(et,!1,lt),{}.NODE_ENV!=="production"&&Ls(et,"init"),et.asyncDep){if({}.NODE_ENV!=="production"&&ps&&(S.el=null),W&&W.registerDep(et,Z,lt),!S.el){const nt=et.subTree=ct(Ye);x(null,nt,F,Y)}}else Z(et,S,F,Y,W,tt,lt);({}).NODE_ENV!=="production"&&(Ur(),Ls(et,"mount"))},Q=(S,F,Y)=>{const J=F.component=S.component;if(gm(S,F,Y))if(J.asyncDep&&!J.asyncResolved){({}).NODE_ENV!=="production"&&Gr(F),at(J,F,Y),{}.NODE_ENV!=="production"&&Ur();return}else J.next=F,J.update();else F.el=S.el,J.vnode=F},Z=(S,F,Y,J,W,tt,lt)=>{const et=()=>{if(S.isMounted){let{next:dt,bu:_t,u:It,parent:At,vnode:Zt}=S;{const Ae=Oc(S);if(Ae){dt&&(dt.el=Zt.el,at(S,dt,lt)),Ae.asyncDep.then(()=>{S.isUnmounted||et()});return}}let Ut=dt,Te;({}).NODE_ENV!=="production"&&Gr(dt||S.vnode),ho(S,!1),dt?(dt.el=Zt.el,at(S,dt,lt)):dt=Zt,_t&&jo(_t),(Te=dt.props&&dt.props.onVnodeBeforeUpdate)&&ys(Te,At,dt,Zt),ho(S,!0),{}.NODE_ENV!=="production"&&$s(S,"render");const ge=za(S);({}).NODE_ENV!=="production"&&Ls(S,"render");const Je=S.subTree;S.subTree=ge,{}.NODE_ENV!=="production"&&$s(S,"patch"),w(Je,ge,f(Je.el),te(Je),S,W,tt),{}.NODE_ENV!=="production"&&Ls(S,"patch"),dt.el=ge.el,Ut===null&&ym(S,ge.el),It&&Ze(It,W),(Te=dt.props&&dt.props.onVnodeUpdated)&&Ze(()=>ys(Te,At,dt,Zt),W),{}.NODE_ENV!=="production"&&oc(S),{}.NODE_ENV!=="production"&&Ur()}else{let dt;const{el:_t,props:It}=F,{bm:At,m:Zt,parent:Ut,root:Te,type:ge}=S,Je=Ro(F);if(ho(S,!1),At&&jo(At),!Je&&(dt=It&&It.onVnodeBeforeMount)&&ys(dt,Ut,F),ho(S,!0),_t&&Fe){const Ae=()=>{({}).NODE_ENV!=="production"&&$s(S,"render"),S.subTree=za(S),{}.NODE_ENV!=="production"&&Ls(S,"render"),{}.NODE_ENV!=="production"&&$s(S,"hydrate"),Fe(_t,S.subTree,S,W,null),{}.NODE_ENV!=="production"&&Ls(S,"hydrate")};Je&&ge.__asyncHydrate?ge.__asyncHydrate(_t,S,Ae):Ae()}else{Te.ce&&Te.ce._injectChildStyle(ge),{}.NODE_ENV!=="production"&&$s(S,"render");const Ae=S.subTree=za(S);({}).NODE_ENV!=="production"&&Ls(S,"render"),{}.NODE_ENV!=="production"&&$s(S,"patch"),w(null,Ae,Y,J,S,W,tt),{}.NODE_ENV!=="production"&&Ls(S,"patch"),F.el=Ae.el}if(Zt&&Ze(Zt,W),!Je&&(dt=It&&It.onVnodeMounted)){const Ae=F;Ze(()=>ys(dt,Ut,Ae),W)}(F.shapeFlag&256||Ut&&Ro(Ut.vnode)&&Ut.vnode.shapeFlag&256)&&S.a&&Ze(S.a,W),S.isMounted=!0,{}.NODE_ENV!=="production"&&up(S),F=Y=J=null}};S.scope.on();const nt=S.effect=new Tl(et);S.scope.off();const ot=S.update=nt.run.bind(nt),Pt=S.job=nt.runIfDirty.bind(nt);Pt.i=S,Pt.id=S.uid,nt.scheduler=()=>Hr(Pt),ho(S,!0),{}.NODE_ENV!=="production"&&(nt.onTrack=S.rtc?dt=>jo(S.rtc,dt):void 0,nt.onTrigger=S.rtg?dt=>jo(S.rtg,dt):void 0),ot()},at=(S,F,Y)=>{F.component=S;const J=S.vnode.props;S.vnode=F,S.next=null,Hp(S,F.props,J,Y),om(S,F.children,Y),Ps(),Ql(S),Os()},G=(S,F,Y,J,W,tt,lt,et,nt=!1)=>{const ot=S&&S.children,Pt=S?S.shapeFlag:0,dt=F.children,{patchFlag:_t,shapeFlag:It}=F;if(_t>0){if(_t&128){gt(ot,dt,Y,J,W,tt,lt,et,nt);return}else if(_t&256){H(ot,dt,Y,J,W,tt,lt,et,nt);return}}It&8?(Pt&16&&Et(ot,W,tt),dt!==ot&&u(Y,dt)):Pt&16?It&16?gt(ot,dt,Y,J,W,tt,lt,et,nt):Et(ot,W,tt,!0):(Pt&8&&u(Y,""),It&16&&I(dt,Y,J,W,tt,lt,et,nt))},H=(S,F,Y,J,W,tt,lt,et,nt)=>{S=S||To,F=F||To;const ot=S.length,Pt=F.length,dt=Math.min(ot,Pt);let _t;for(_t=0;_t<dt;_t++){const It=F[_t]=nt?Hs(F[_t]):as(F[_t]);w(S[_t],It,Y,null,W,tt,lt,et,nt)}ot>Pt?Et(S,W,tt,!0,!1,dt):I(F,Y,J,W,tt,lt,et,nt,dt)},gt=(S,F,Y,J,W,tt,lt,et,nt)=>{let ot=0;const Pt=F.length;let dt=S.length-1,_t=Pt-1;for(;ot<=dt&&ot<=_t;){const It=S[ot],At=F[ot]=nt?Hs(F[ot]):as(F[ot]);if(cr(It,At))w(It,At,Y,null,W,tt,lt,et,nt);else break;ot++}for(;ot<=dt&&ot<=_t;){const It=S[dt],At=F[_t]=nt?Hs(F[_t]):as(F[_t]);if(cr(It,At))w(It,At,Y,null,W,tt,lt,et,nt);else break;dt--,_t--}if(ot>dt){if(ot<=_t){const It=_t+1,At=It<Pt?F[It].el:J;for(;ot<=_t;)w(null,F[ot]=nt?Hs(F[ot]):as(F[ot]),Y,At,W,tt,lt,et,nt),ot++}}else if(ot>_t)for(;ot<=dt;)B(S[ot],W,tt,!0),ot++;else{const It=ot,At=ot,Zt=new Map;for(ot=At;ot<=_t;ot++){const Pe=F[ot]=nt?Hs(F[ot]):as(F[ot]);Pe.key!=null&&({}.NODE_ENV!=="production"&&Zt.has(Pe.key)&&ut("Duplicate keys found during update:",JSON.stringify(Pe.key),"Make sure keys are unique."),Zt.set(Pe.key,ot))}let Ut,Te=0;const ge=_t-At+1;let Je=!1,Ae=0;const ko=new Array(ge);for(ot=0;ot<ge;ot++)ko[ot]=0;for(ot=It;ot<=dt;ot++){const Pe=S[ot];if(Te>=ge){B(Pe,W,tt,!0);continue}let ze;if(Pe.key!=null)ze=Zt.get(Pe.key);else for(Ut=At;Ut<=_t;Ut++)if(ko[Ut-At]===0&&cr(Pe,F[Ut])){ze=Ut;break}ze===void 0?B(Pe,W,tt,!0):(ko[ze-At]=ot+1,ze>=Ae?Ae=ze:Je=!0,w(Pe,F[ze],Y,null,W,tt,lt,et,nt),Te++)}const Wn=Je?lm(ko):To;for(Ut=Wn.length-1,ot=ge-1;ot>=0;ot--){const Pe=At+ot,ze=F[Pe],Zn=Pe+1<Pt?F[Pe+1].el:J;ko[ot]===0?w(null,ze,Y,Zn,W,tt,lt,et,nt):Je&&(Ut<0||ot!==Wn[Ut]?ht(ze,Y,Zn,2):Ut--)}}},ht=(S,F,Y,J,W=null)=>{const{el:tt,type:lt,transition:et,children:nt,shapeFlag:ot}=S;if(ot&6){ht(S.component.subTree,F,Y,J);return}if(ot&128){S.suspense.move(F,Y,J);return}if(ot&64){lt.move(S,F,Y,Me);return}if(lt===Vt){s(tt,F,Y);for(let dt=0;dt<nt.length;dt++)ht(nt[dt],F,Y,J);s(S.anchor,F,Y);return}if(lt===ar){m(S,F,Y);return}if(J!==2&&ot&1&&et)if(J===0)et.beforeEnter(tt),s(tt,F,Y),Ze(()=>et.enter(tt),W);else{const{leave:dt,delayLeave:_t,afterLeave:It}=et,At=()=>s(tt,F,Y),Zt=()=>{dt(tt,()=>{At(),It&&It()})};_t?_t(tt,At,Zt):Zt()}else s(tt,F,Y)},B=(S,F,Y,J=!1,W=!1)=>{const{type:tt,props:lt,ref:et,children:nt,dynamicChildren:ot,shapeFlag:Pt,patchFlag:dt,dirs:_t,cacheIndex:It}=S;if(dt===-2&&(W=!1),et!=null&&Qr(et,null,Y,S,!0),It!=null&&(F.renderCache[It]=void 0),Pt&256){F.ctx.deactivate(S);return}const At=Pt&1&&_t,Zt=!Ro(S);let Ut;if(Zt&&(Ut=lt&&lt.onVnodeBeforeUnmount)&&ys(Ut,F,S),Pt&6)Mt(S.component,Y,J);else{if(Pt&128){S.suspense.unmount(Y,J);return}At&&uo(S,null,F,"beforeUnmount"),Pt&64?S.type.remove(S,F,Y,Me,J):ot&&!ot.hasOnce&&(tt!==Vt||dt>0&&dt&64)?Et(ot,F,Y,!1,!0):(tt===Vt&&dt&384||!W&&Pt&16)&&Et(nt,F,Y),J&&P(S)}(Zt&&(Ut=lt&&lt.onVnodeUnmounted)||At)&&Ze(()=>{Ut&&ys(Ut,F,S),At&&uo(S,null,F,"unmounted")},Y)},P=S=>{const{type:F,el:Y,anchor:J,transition:W}=S;if(F===Vt){({}).NODE_ENV!=="production"&&S.patchFlag>0&&S.patchFlag&2048&&W&&!W.persisted?S.children.forEach(lt=>{lt.type===Ye?r(lt.el):P(lt)}):Yt(Y,J);return}if(F===ar){b(S);return}const tt=()=>{r(Y),W&&!W.persisted&&W.afterLeave&&W.afterLeave()};if(S.shapeFlag&1&&W&&!W.persisted){const{leave:lt,delayLeave:et}=W,nt=()=>lt(Y,tt);et?et(S.el,tt,nt):nt()}else tt()},Yt=(S,F)=>{let Y;for(;S!==F;)Y=d(S),r(S),S=Y;r(F)},Mt=(S,F,Y)=>{({}).NODE_ENV!=="production"&&S.type.__hmrId&&np(S);const{bum:J,scope:W,job:tt,subTree:lt,um:et,m:nt,a:ot}=S;Rc(nt),Rc(ot),J&&jo(J),W.stop(),tt&&(tt.flags|=8,B(lt,S,F,Y)),et&&Ze(et,F),Ze(()=>{S.isUnmounted=!0},F),F&&F.pendingBranch&&!F.isUnmounted&&S.asyncDep&&!S.asyncResolved&&S.suspenseId===F.pendingId&&(F.deps--,F.deps===0&&F.resolve()),{}.NODE_ENV!=="production"&&dp(S)},Et=(S,F,Y,J=!1,W=!1,tt=0)=>{for(let lt=tt;lt<S.length;lt++)B(S[lt],F,Y,J,W)},te=S=>{if(S.shapeFlag&6)return te(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const F=d(S.anchor||S.el),Y=F&&F[gp];return Y?d(Y):F};let Xt=!1;const j=(S,F,Y)=>{S==null?F._vnode&&B(F._vnode,null,null,!0):w(F._vnode||null,S,F,null,null,null,Y),F._vnode=S,Xt||(Xt=!0,Ql(),Kl(),Xt=!1)},Me={p:w,um:B,m:ht,r:P,mt:rt,mc:I,pc:G,pbc:N,n:te,o};let je,Fe;return t&&([je,Fe]=t(Me)),{render:j,hydrate:je,createApp:Xp(j,je)}}function Na({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 ho({effect:o,job:t},e){e?(o.flags|=32,t.flags|=4):(o.flags&=-33,t.flags&=-5)}function im(o,t){return(!o||o&&!o.pendingBranch)&&t&&!t.persisted}function sn(o,t,e=!1){const s=o.children,r=t.children;if(Tt(s)&&Tt(r))for(let n=0;n<s.length;n++){const a=s[n];let i=r[n];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=r[n]=Hs(r[n]),i.el=a.el),!e&&i.patchFlag!==-2&&sn(a,i)),i.type===nr&&(i.el=a.el),{}.NODE_ENV!=="production"&&i.type===Ye&&!i.el&&(i.el=a.el)}}function lm(o){const t=o.slice(),e=[0];let s,r,n,a,i;const l=o.length;for(s=0;s<l;s++){const c=o[s];if(c!==0){if(r=e[e.length-1],o[r]<c){t[s]=r,e.push(s);continue}for(n=0,a=e.length-1;n<a;)i=n+a>>1,o[e[i]]<c?n=i+1:a=i;c<o[e[n]]&&(n>0&&(t[s]=e[n-1]),e[n]=s)}}for(n=e.length,a=e[n-1];n-- >0;)e[n]=a,a=t[a];return e}function Oc(o){const t=o.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oc(t)}function Rc(o){if(o)for(let t=0;t<o.length;t++)o[t].flags|=8}const cm=Symbol.for("v-scx"),um=()=>{{const o=tn(cm);return o||{}.NODE_ENV!=="production"&&ut("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),o}};function Ic(o,t){return Ma(o,null,t)}function St(o,t,e){return{}.NODE_ENV!=="production"&&!Ot(t)&&ut("`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."),Ma(o,t,e)}function Ma(o,t,e=Ht){const{immediate:s,deep:r,flush:n,once:a}=e;({}).NODE_ENV!=="production"&&!t&&(s!==void 0&&ut('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&ut('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),a!==void 0&&ut('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const i=ae({},e);({}).NODE_ENV!=="production"&&(i.onWarn=ut);const l=t&&s||!t&&n!=="post";let c;if(fr){if(n==="sync"){const p=um();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=ye,p.resume=ye,p.pause=ye,p}}const u=ke;i.call=(p,h,w)=>ds(p,u,h,w);let f=!1;n==="post"?i.scheduler=p=>{Ze(p,u&&u.suspense)}:n!=="sync"&&(f=!0,i.scheduler=(p,h)=>{h?p():Hr(p)}),i.augmentJob=p=>{t&&(p.flags|=4),f&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const d=qh(o,t,i);return fr&&(c?c.push(d):l&&d()),d}function fm(o,t,e){const s=this.proxy,r=ce(o)?o.includes(".")?Fc(s,o):()=>s[o]:o.bind(s,s);let n;Ot(t)?n=t:(n=t.handler,e=t);const a=ur(this),i=Ma(r,n.bind(s),e);return a(),i}function Fc(o,t){const e=t.split(".");return()=>{let s=o;for(let r=0;r<e.length&&s;r++)s=s[e[r]];return s}}const dm=(o,t)=>t==="modelValue"||t==="model-value"?o.modelModifiers:o[`${t}Modifiers`]||o[`${Be(t)}Modifiers`]||o[`${He(t)}Modifiers`];function hm(o,t,...e){if(o.isUnmounted)return;const s=o.vnode.props||Ht;if({}.NODE_ENV!=="production"){const{emitsOptions:u,propsOptions:[f]}=o;if(u)if(!(t in u))(!f||!(oo(Be(t))in f))&&ut(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${oo(Be(t))}" prop.`);else{const d=u[t];Ot(d)&&(d(...e)||ut(`Invalid event arguments: event validation failed for event "${t}".`))}}let r=e;const n=t.startsWith("update:"),a=n&&dm(s,t.slice(7));if(a&&(a.trim&&(r=e.map(u=>ce(u)?u.trim():u)),a.number&&(r=e.map(uh))),{}.NODE_ENV!=="production"&&mp(o,t,r),{}.NODE_ENV!=="production"){const u=t.toLowerCase();u!==t&&s[oo(u)]&&ut(`Event "${u}" is emitted in component ${cn(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 "${He(t)}" instead of "${t}".`)}let i,l=s[i=oo(t)]||s[i=oo(Be(t))];!l&&n&&(l=s[i=oo(He(t))]),l&&ds(l,o,6,r);const c=s[i+"Once"];if(c){if(!o.emitted)o.emitted={};else if(o.emitted[i])return;o.emitted[i]=!0,ds(c,o,6,r)}}function Dc(o,t,e=!1){const s=t.emitsCache,r=s.get(o);if(r!==void 0)return r;const n=o.emits;let a={},i=!1;if(!Ot(o)){const l=c=>{const u=Dc(c,t,!0);u&&(i=!0,ae(a,u))};!e&&t.mixins.length&&t.mixins.forEach(l),o.extends&&l(o.extends),o.mixins&&o.mixins.forEach(l)}return!n&&!i?(qt(o)&&s.set(o,null),null):(Tt(n)?n.forEach(l=>a[l]=null):ae(a,n),qt(o)&&s.set(o,a),a)}function on(o,t){return!o||!Go(t)?!1:(t=t.slice(2).replace(/Once$/,""),Gt(o,t[0].toLowerCase()+t.slice(1))||Gt(o,He(t))||Gt(o,t))}let Aa=!1;function rn(){Aa=!0}function za(o){const{type:t,vnode:e,proxy:s,withProxy:r,propsOptions:[n],slots:a,attrs:i,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:w}=o,_=qr(o);let x,v;({}).NODE_ENV!=="production"&&(Aa=!1);try{if(e.shapeFlag&4){const b=r||s,C={}.NODE_ENV!=="production"&&p.__isScriptSetup?new Proxy(b,{get(U,K,I){return ut(`Property '${String(K)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(U,K,I)}}):b;x=as(c.call(C,b,u,{}.NODE_ENV!=="production"?fs(f):f,p,d,h)),v=i}else{const b=t;({}).NODE_ENV!=="production"&&i===f&&rn(),x=as(b.length>1?b({}.NODE_ENV!=="production"?fs(f):f,{}.NODE_ENV!=="production"?{get attrs(){return rn(),fs(i)},slots:a,emit:l}:{attrs:i,slots:a,emit:l}):b({}.NODE_ENV!=="production"?fs(f):f,null)),v=t.props?i:pm(i)}}catch(b){ir.length=0,Jo(b,o,1),x=ct(Ye)}let g=x,m;if({}.NODE_ENV!=="production"&&x.patchFlag>0&&x.patchFlag&2048&&([g,m]=$c(x)),v&&w!==!1){const b=Object.keys(v),{shapeFlag:C}=g;if(b.length){if(C&7)n&&b.some(Rr)&&(v=mm(v,n)),g=js(g,v,!1,!0);else if({}.NODE_ENV!=="production"&&!Aa&&g.type!==Ye){const U=Object.keys(i),K=[],I=[];for(let $=0,N=U.length;$<N;$++){const D=U[$];Go(D)?Rr(D)||K.push(D[2].toLowerCase()+D.slice(3)):I.push(D)}I.length&&ut(`Extraneous non-props attributes (${I.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),K.length&&ut(`Extraneous non-emits event listeners (${K.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"&&!Lc(g)&&ut("Runtime directive used on component with non-element root node. The directives will not function as intended."),g=js(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(e.dirs):e.dirs),e.transition&&({}.NODE_ENV!=="production"&&!Lc(g)&&ut("Component inside <Transition> renders non-element root node that cannot be animated."),Ta(g,e.transition)),{}.NODE_ENV!=="production"&&m?m(g):x=g,qr(_),x}const $c=o=>{const t=o.children,e=o.dynamicChildren,s=Va(t,!1);if(s){if({}.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return $c(s)}else return[o,void 0];const r=t.indexOf(s),n=e?e.indexOf(s):-1,a=i=>{t[r]=i,e&&(n>-1?e[n]=i:i.patchFlag>0&&(o.dynamicChildren=[...e,i]))};return[as(s),a]};function Va(o,t=!0){let e;for(let s=0;s<o.length;s++){const r=o[s];if(po(r)){if(r.type!==Ye||r.children==="v-if"){if(e)return;if(e=r,{}.NODE_ENV!=="production"&&t&&e.patchFlag>0&&e.patchFlag&2048)return Va(e.children)}}else return}return e}const pm=o=>{let t;for(const e in o)(e==="class"||e==="style"||Go(e))&&((t||(t={}))[e]=o[e]);return t},mm=(o,t)=>{const e={};for(const s in o)(!Rr(s)||!(s.slice(9)in t))&&(e[s]=o[s]);return e},Lc=o=>o.shapeFlag&7||o.type===Ye;function gm(o,t,e){const{props:s,children:r,component:n}=o,{props:a,children:i,patchFlag:l}=t,c=n.emitsOptions;if({}.NODE_ENV!=="production"&&(r||i)&&ps||t.dirs||t.transition)return!0;if(e&&l>=0){if(l&1024)return!0;if(l&16)return s?Nc(s,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]!==s[d]&&!on(c,d))return!0}}}else return(r||i)&&(!i||!i.$stable)?!0:s===a?!1:s?a?Nc(s,a,c):!0:!!a;return!1}function Nc(o,t,e){const s=Object.keys(t);if(s.length!==Object.keys(o).length)return!0;for(let r=0;r<s.length;r++){const n=s[r];if(t[n]!==o[n]&&!on(e,n))return!0}return!1}function ym({vnode:o,parent:t},e){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===o&&(s.el=o.el),s===o)(o=t.vnode).el=e,t=t.parent;else break}}const Mc=o=>o.__isSuspense;function vm(o,t){t&&t.pendingBranch?Tt(o)?t.effects.push(...o):t.effects.push(o):ql(o)}const Vt=Symbol.for("v-fgt"),nr=Symbol.for("v-txt"),Ye=Symbol.for("v-cmt"),ar=Symbol.for("v-stc"),ir=[];let qe=null;function L(o=!1){ir.push(qe=o?null:[])}function bm(){ir.pop(),qe=ir[ir.length-1]||null}let lr=1;function Ac(o,t=!1){lr+=o,o<0&&qe&&t&&(qe.hasOnce=!0)}function zc(o){return o.dynamicChildren=lr>0?qe||To:null,bm(),lr>0&&qe&&qe.push(o),o}function V(o,t,e,s,r,n){return zc(E(o,t,e,s,r,n,!0))}function Nt(o,t,e,s,r){return zc(ct(o,t,e,s,r,!0))}function po(o){return o?o.__v_isVNode===!0:!1}function cr(o,t){if({}.NODE_ENV!=="production"&&t.shapeFlag&6&&o.component){const e=Wr.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 _m=(...o)=>Bc(...o),Vc=({key:o})=>o??null,nn=({ref:o,ref_key:t,ref_for:e})=>(typeof o=="number"&&(o=""+o),o!=null?ce(o)||de(o)||Ot(o)?{i:be,r:o,k:t,f:!!e}:o:null);function E(o,t=null,e=null,s=0,r=null,n=o===Vt?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:o,props:t,key:t&&Vc(t),ref:t&&nn(t),scopeId:nc,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:n,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:be};return i?(Ba(l,e),n&128&&o.normalize(l)):e&&(l.shapeFlag|=ce(e)?8:16),{}.NODE_ENV!=="production"&&l.key!==l.key&&ut("VNode created with invalid key (NaN). VNode type:",l.type),lr>0&&!a&&qe&&(l.patchFlag>0||n&6)&&l.patchFlag!==32&&qe.push(l),l}const ct={}.NODE_ENV!=="production"?_m:Bc;function Bc(o,t=null,e=null,s=0,r=null,n=!1){if((!o||o===Rp)&&({}.NODE_ENV!=="production"&&!o&&ut(`Invalid vnode type when creating vnode: ${o}.`),o=Ye),po(o)){const i=js(o,t,!0);return e&&Ba(i,e),lr>0&&!n&&qe&&(i.shapeFlag&6?qe[qe.indexOf(o)]=i:qe.push(i)),i.patchFlag=-2,i}if(Kc(o)&&(o=o.__vccOpts),t){t=xm(t);let{class:i,style:l}=t;i&&!ce(i)&&(t.class=ee(i)),qt(l)&&(Br(l)&&!Tt(l)&&(l=ae({},l)),t.style=M(l))}const a=ce(o)?1:Mc(o)?128:yp(o)?64:qt(o)?4:Ot(o)?2:0;return{}.NODE_ENV!=="production"&&a&4&&Br(o)&&(o=Lt(o),ut("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`.",`
19
+ Component that was made reactive: `,o)),E(o,t,e,s,r,a,n,!0)}function xm(o){return o?Br(o)||bc(o)?ae({},o):o:null}function js(o,t,e=!1,s=!1){const{props:r,ref:n,patchFlag:a,children:i,transition:l}=o,c=t?Ya(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:o.type,props:c,key:c&&Vc(c),ref:t&&t.ref?e&&n?Tt(n)?n.concat(nn(t)):[n,nn(t)]:nn(t):n,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:{}.NODE_ENV!=="production"&&a===-1&&Tt(i)?i.map(Yc):i,target:o.target,targetStart:o.targetStart,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:t&&o.type!==Vt?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&&js(o.ssContent),ssFallback:o.ssFallback&&js(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce};return l&&s&&Ta(u,l.clone(u)),u}function Yc(o){const t=js(o);return Tt(o.children)&&(t.children=o.children.map(Yc)),t}function jt(o=" ",t=0){return ct(nr,null,o,t)}function Xc(o,t){const e=ct(ar,null,o);return e.staticCount=t,e}function Rt(o="",t=!1){return t?(L(),Nt(Ye,null,o)):ct(Ye,null,o)}function as(o){return o==null||typeof o=="boolean"?ct(Ye):Tt(o)?ct(Vt,null,o.slice()):po(o)?Hs(o):ct(nr,null,String(o))}function Hs(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:js(o)}function Ba(o,t){let e=0;const{shapeFlag:s}=o;if(t==null)t=null;else if(Tt(t))e=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ba(o,r()),r._c&&(r._d=!0));return}else{e=32;const r=t._;!r&&!bc(t)?t._ctx=be:r===3&&be&&(be.slots._===1?t._=1:(t._=2,o.patchFlag|=1024))}else Ot(t)?(t={default:t,_ctx:be},e=32):(t=String(t),s&64?(e=16,t=[jt(t)]):e=8);o.children=t,o.shapeFlag|=e}function Ya(...o){const t={};for(let e=0;e<o.length;e++){const s=o[e];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=ee([t.class,s.class]));else if(r==="style")t.style=M([t.style,s.style]);else if(Go(r)){const n=t[r],a=s[r];a&&n!==a&&!(Tt(n)&&n.includes(a))&&(t[r]=n?[].concat(n,a):a)}else r!==""&&(t[r]=s[r])}return t}function ys(o,t,e,s=null){ds(o,t,7,[e,s])}const wm=gc();let km=0;function Cm(o,t,e){const s=o.type,r=(t?t.appContext:o.appContext)||wm,n={uid:km++,vnode:o,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new wh(!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:xc(s,r),emitsOptions:Dc(s,r),emit:null,emitted:null,propsDefaults:Ht,inheritAttrs:s.inheritAttrs,ctx:Ht,data:Ht,props:Ht,attrs:Ht,slots:Ht,refs:Ht,setupState:Ht,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"?n.ctx=Ip(n):n.ctx={_:n},n.root=t?t.root:n,n.emit=hm.bind(null,n),o.ce&&o.ce(n),n}let ke=null;const Gc=()=>ke||be;let an,Xa;{const o=Ho(),t=(e,s)=>{let r;return(r=o[e])||(r=o[e]=[]),r.push(s),n=>{r.length>1?r.forEach(a=>a(n)):r[0](n)}};an=t("__VUE_INSTANCE_SETTERS__",e=>ke=e),Xa=t("__VUE_SSR_SETTERS__",e=>fr=e)}const ur=o=>{const t=ke;return an(o),o.scope.on(),()=>{o.scope.off(),an(t)}},Uc=()=>{ke&&ke.scope.off(),an(null)},Tm=Ss("slot,component");function Ga(o,{isNativeTag:t}){(Tm(o)||t(o))&&ut("Do not use built-in or reserved HTML elements as component id: "+o)}function jc(o){return o.vnode.shapeFlag&4}let fr=!1;function Sm(o,t=!1,e=!1){t&&Xa(t);const{props:s,children:r}=o.vnode,n=jc(o);Up(o,s,n,t),sm(o,r,e);const a=n?Em(o,t):void 0;return t&&Xa(!1),a}function Em(o,t){var e;const s=o.type;if({}.NODE_ENV!=="production"){if(s.name&&Ga(s.name,o.appContext.config),s.components){const n=Object.keys(s.components);for(let a=0;a<n.length;a++)Ga(n[a],o.appContext.config)}if(s.directives){const n=Object.keys(s.directives);for(let a=0;a<n.length;a++)ac(n[a])}s.compilerOptions&&Pm()&&ut('"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,uc),{}.NODE_ENV!=="production"&&Fp(o);const{setup:r}=s;if(r){Ps();const n=o.setupContext=r.length>1?qc(o):null,a=ur(o),i=Eo(r,o,0,[{}.NODE_ENV!=="production"?fs(o.props):o.props,n]),l=oa(i);if(Os(),a(),(l||o.sp)&&!Ro(o)&&ic(o),l){if(i.then(Uc,Uc),t)return i.then(c=>{Hc(o,c,t)}).catch(c=>{Jo(c,o,0)});if(o.asyncDep=i,{}.NODE_ENV!=="production"&&!o.suspense){const c=(e=s.name)!=null?e:"Anonymous";ut(`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 Hc(o,i,t)}else Wc(o,t)}function Hc(o,t,e){Ot(t)?o.type.__ssrInlineRender?o.ssrRender=t:o.render=t:qt(t)?({}.NODE_ENV!=="production"&&po(t)&&ut("setup() should not return VNodes directly - return a render function instead."),{}.NODE_ENV!=="production"&&(o.devtoolsRawSetupState=t),o.setupState=Ul(t),{}.NODE_ENV!=="production"&&Dp(o)):{}.NODE_ENV!=="production"&&t!==void 0&&ut(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Wc(o,e)}let Ua;const Pm=()=>!Ua;function Wc(o,t,e){const s=o.type;if(!o.render){if(!t&&Ua&&!s.render){const r=s.template||Ia(o).template;if(r){({}).NODE_ENV!=="production"&&$s(o,"compile");const{isCustomElement:n,compilerOptions:a}=o.appContext.config,{delimiters:i,compilerOptions:l}=s,c=ae(ae({isCustomElement:n,delimiters:i},a),l);s.render=Ua(r,c),{}.NODE_ENV!=="production"&&Ls(o,"compile")}}o.render=s.render||ye}{const r=ur(o);Ps();try{Mp(o)}finally{Os(),r()}}({}).NODE_ENV!=="production"&&!s.render&&o.render===ye&&!t&&(s.template?ut('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".'):ut("Component is missing template or render function: ",s))}const Zc={}.NODE_ENV!=="production"?{get(o,t){return rn(),ve(o,"get",""),o[t]},set(){return ut("setupContext.attrs is readonly."),!1},deleteProperty(){return ut("setupContext.attrs is readonly."),!1}}:{get(o,t){return ve(o,"get",""),o[t]}};function Om(o){return new Proxy(o.slots,{get(t,e){return ve(o,"get","$slots"),t[e]}})}function qc(o){const t=e=>{if({}.NODE_ENV!=="production"&&(o.exposed&&ut("expose() should be called only once per setup()."),e!=null)){let s=typeof e;s==="object"&&(Tt(e)?s="array":de(e)&&(s="ref")),s!=="object"&&ut(`expose() should be passed a plain object, received ${s}.`)}o.exposed=e||{}};if({}.NODE_ENV!=="production"){let e,s;return Object.freeze({get attrs(){return e||(e=new Proxy(o.attrs,Zc))},get slots(){return s||(s=Om(o))},get emit(){return(r,...n)=>o.emit(r,...n)},expose:t})}else return{attrs:new Proxy(o.attrs,Zc),slots:o.slots,emit:o.emit,expose:t}}function ln(o){return o.exposed?o.exposeProxy||(o.exposeProxy=new Proxy(Ul(Xh(o.exposed)),{get(t,e){if(e in t)return t[e];if(e in fo)return fo[e](o)},has(t,e){return e in t||e in fo}})):o.proxy}const Rm=/(?:^|[-_])(\w)/g,Im=o=>o.replace(Rm,t=>t.toUpperCase()).replace(/[-_]/g,"");function Qc(o,t=!0){return Ot(o)?o.displayName||o.name:o.name||t&&o.__name}function cn(o,t,e=!1){let s=Qc(t);if(!s&&t.__file){const r=t.__file.match(/([^/\\]+)\.\w+$/);r&&(s=r[1])}if(!s&&o&&o.parent){const r=n=>{for(const a in n)if(n[a]===t)return a};s=r(o.components||o.parent.type.components)||r(o.appContext.components)}return s?Im(s):e?"App":"Anonymous"}function Kc(o){return Ot(o)&&"__vccOpts"in o}const Fm=(o,t)=>{const e=Wh(o,t,fr);if({}.NODE_ENV!=="production"){const s=Gc();s&&s.appContext.config.warnRecursiveComputed&&(e._warnRecursive=!0)}return e};function Kt(o,t,e){const s=arguments.length;return s===2?qt(t)&&!Tt(t)?po(t)?ct(o,null,[t]):ct(o,t):ct(o,null,t):(s>3?e=Array.prototype.slice.call(arguments,2):s===3&&po(e)&&(e=[e]),ct(o,t,e))}function Dm(){if({}.NODE_ENV==="production"||typeof window>"u")return;const o={style:"color:#3ba776"},t={style:"color:#1677ff"},e={style:"color:#f5222d"},s={style:"color:#eb2f96"},r={__vue_custom_formatter:!0,header(f){return qt(f)?f.__isVue?["div",o,"VueInstance"]:de(f)?["div",{},["span",o,u(f)],"<",i("_value"in f?f._value:f),">"]:no(f)?["div",{},["span",o,De(f)?"ShallowReactive":"Reactive"],"<",i(f),`>${Is(f)?" (readonly)":""}`]:Is(f)?["div",{},["span",o,De(f)?"ShallowReadonly":"Readonly"],"<",i(f),">"]:null:null},hasBody(f){return f&&f.__isVue},body(f){if(f&&f.__isVue)return["div",{},...n(f.$)]}};function n(f){const d=[];f.type.props&&f.props&&d.push(a("props",Lt(f.props))),f.setupState!==Ht&&d.push(a("setup",f.setupState)),f.data!==Ht&&d.push(a("data",Lt(f.data)));const p=l(f,"computed");p&&d.push(a("computed",p));const h=l(f,"inject");return h&&d.push(a("injected",h)),d.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:f}]]),d}function a(f,d){return d=ae({},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(p=>["div",{},["span",s,p+": "],i(d[p],!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",s,f]:qt(f)?["object",{object:d?Lt(f):f}]:["span",e,String(f)]}function l(f,d){const p=f.type;if(Ot(p))return;const h={};for(const w in f.ctx)c(p,w,d)&&(h[w]=f.ctx[w]);return h}function c(f,d,p){const h=f[p];if(Tt(h)&&h.includes(d)||qt(h)&&d in h||f.extends&&c(f.extends,d,p)||f.mixins&&f.mixins.some(w=>c(w,d,p)))return!0}function u(f){return De(f)?"ShallowRef":f.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(r):window.devtoolsFormatters=[r]}const Jc="3.5.13",ts={}.NODE_ENV!=="production"?ut:ye;/**
20
+ * @vue/runtime-dom v3.5.13
23
21
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
24
22
  * @license MIT
25
- **/const pm="http://www.w3.org/2000/svg",mm="http://www.w3.org/1998/Math/MathML",zo=typeof document<"u"?document:null,qc=zo&&zo.createElement("template"),gm={insert:(s,t,e)=>{t.insertBefore(s,e||null)},remove:s=>{const t=s.parentNode;t&&t.removeChild(s)},createElement:(s,t,e,o)=>{const r=t==="svg"?zo.createElementNS(pm,s):t==="mathml"?zo.createElementNS(mm,s):zo.createElement(s,e?{is:e}:void 0);return s==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:s=>zo.createTextNode(s),createComment:s=>zo.createComment(s),setText:(s,t)=>{s.nodeValue=t},setElementText:(s,t)=>{s.textContent=t},parentNode:s=>s.parentNode,nextSibling:s=>s.nextSibling,querySelector:s=>zo.querySelector(s),setScopeId(s,t){s.setAttribute(t,"")},insertStaticContent(s,t,e,o,r,n){const a=e?e.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===n||!(r=r.nextSibling)););else{qc.innerHTML=o==="svg"?`<svg>${s}</svg>`:o==="mathml"?`<math>${s}</math>`:s;const i=qc.content;if(o==="svg"||o==="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]}},ym=Symbol("_vtc");function vm(s,t,e){const o=s[ym];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?s.removeAttribute("class"):e?s.setAttribute("class",t):s.className=t}const rn=Symbol("_vod"),Qc=Symbol("_vsh"),Bo={beforeMount(s,{value:t},{transition:e}){s[rn]=s.style.display==="none"?"":s.style.display,e&&t?e.beforeEnter(s):ar(s,t)},mounted(s,{value:t},{transition:e}){e&&t&&e.enter(s)},updated(s,{value:t,oldValue:e},{transition:o}){!t!=!e&&(o?t?(o.beforeEnter(s),ar(s,!0),o.enter(s)):o.leave(s,()=>{ar(s,!1)}):ar(s,t))},beforeUnmount(s,{value:t}){ar(s,t)}};({}).NODE_ENV!=="production"&&(Bo.name="show");function ar(s,t){s.style.display=t?s[rn]:"none",s[Qc]=!t}const bm=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),_m=/(^|;)\s*display\s*:/;function xm(s,t,e){const o=s.style,r=ce(e);let n=!1;if(e&&!r){if(t)if(ce(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();e[i]==null&&nn(o,i,"")}else for(const a in t)e[a]==null&&nn(o,a,"");for(const a in e)a==="display"&&(n=!0),nn(o,a,e[a])}else if(r){if(t!==e){const a=o[bm];a&&(e+=";"+a),o.cssText=e,n=_m.test(e)}}else t&&s.removeAttribute("style");rn in s&&(s[rn]=n?o.display:"",s[Qc]&&(o.display="none"))}const wm=/[^\\];\s*$/,Kc=/\s*!important$/;function nn(s,t,e){if(Pt(e))e.forEach(o=>nn(s,t,o));else if(e==null&&(e=""),{}.NODE_ENV!=="production"&&wm.test(e)&&Ya(`Unexpected semicolon at the end of '${t}' style value: '${e}'`),t.startsWith("--"))s.setProperty(t,e);else{const o=km(s,t);Kc.test(e)?s.setProperty(Xe(o),e.replace(Kc,""),"important"):s[o]=e}}const Jc=["Webkit","Moz","ms"],Va={};function km(s,t){const e=Va[t];if(e)return e;let o=mo(t);if(o!=="filter"&&o in s)return Va[t]=o;o=Pr(o);for(let r=0;r<Jc.length;r++){const n=Jc[r]+o;if(n in s)return Va[t]=n}return t}const tu="http://www.w3.org/1999/xlink";function Cm(s,t,e,o,r){if(o&&t.startsWith("xlink:"))e==null?s.removeAttributeNS(tu,t.slice(6,t.length)):s.setAttributeNS(tu,t,e);else{const n=sf(t);e==null||n&&!bl(e)?s.removeAttribute(t):s.setAttribute(t,n?"":e)}}function Tm(s,t,e,o,r,n,a){if(t==="innerHTML"||t==="textContent"){o&&a(o,r,n),s[t]=e??"";return}const i=s.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const c=i==="OPTION"?s.getAttribute("value")||"":s.value,u=e??"";(c!==u||!("_value"in s))&&(s.value=u),e==null&&s.removeAttribute(t),s._value=e;return}let l=!1;if(e===""||e==null){const c=typeof s[t];c==="boolean"?e=bl(e):e==null&&c==="string"?(e="",l=!0):c==="number"&&(e=0,l=!0)}try{s[t]=e}catch(c){({}).NODE_ENV!=="production"&&!l&&Ya(`Failed setting prop "${t}" on <${i.toLowerCase()}>: value ${e} is invalid.`,c)}l&&s.removeAttribute(t)}function Sm(s,t,e,o){s.addEventListener(t,e,o)}function Em(s,t,e,o){s.removeEventListener(t,e,o)}const eu=Symbol("_vei");function Pm(s,t,e,o,r=null){const n=s[eu]||(s[eu]={}),a=n[t];if(o&&a)a.value=o;else{const[i,l]=Om(t);if(o){const c=n[t]=Fm(o,r);Sm(s,i,c,l)}else a&&(Em(s,i,a,l),n[t]=void 0)}}const ou=/(?:Once|Passive|Capture)$/;function Om(s){let t;if(ou.test(s)){t={};let o;for(;o=s.match(ou);)s=s.slice(0,s.length-o[0].length),t[o[0].toLowerCase()]=!0}return[s[2]===":"?s.slice(3):Xe(s.slice(2)),t]}let Xa=0;const Im=Promise.resolve(),Rm=()=>Xa||(Im.then(()=>Xa=0),Xa=Date.now());function Fm(s,t){const e=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=e.attached)return;Qe($m(o,e.value),t,5,[o])};return e.value=s,e.attached=Rm(),e}function $m(s,t){if(Pt(t)){const e=s.stopImmediatePropagation;return s.stopImmediatePropagation=()=>{e.call(s),s._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const su=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&s.charCodeAt(2)>96&&s.charCodeAt(2)<123,Dm=(s,t,e,o,r,n,a,i,l)=>{const c=r==="svg";t==="class"?vm(s,o,c):t==="style"?xm(s,e,o):Bs(t)?Tr(t)||Pm(s,t,e,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Lm(s,t,o,c))?Tm(s,t,o,n,a,i,l):(t==="true-value"?s._trueValue=o:t==="false-value"&&(s._falseValue=o),Cm(s,t,o,c))};function Lm(s,t,e,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in s&&su(t)&&Ft(e));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&s.tagName==="INPUT"||t==="type"&&s.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=s.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return su(t)&&ce(e)?!1:t in s}/*! #__NO_SIDE_EFFECTS__ */function pt(s,t){const e=Q(s);class o extends Ga{constructor(n){super(e,n,t)}}return o.def=e,o}const Mm=typeof HTMLElement<"u"?HTMLElement:class{};class Ga extends Mm{constructor(t,e={},o){super(),this._def=t,this._props=e,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):({}.NODE_ENV!=="production"&&this.shadowRoot&&Ya("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),Zl(()=>{this._connected||(ir(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(o=>{for(const r of o)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(o,r=!1)=>{const{props:n,styles:a}=o;let i;if(n&&!Pt(n))for(const l in n){const c=n[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=yl(this._props[l])),(i||(i=Object.create(null)))[mo(l)]=!0)}this._numberProps=i,r&&this._resolveProps(o),this._applyStyles(a),this._update()},e=this._def.__asyncLoader;e?e().then(o=>t(o,!0)):t(this._def)}_resolveProps(t){const{props:e}=t,o=Pt(e)?e:Object.keys(e||{});for(const r of Object.keys(this))r[0]!=="_"&&o.includes(r)&&this._setProp(r,this[r],!0,!1);for(const r of o.map(mo))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(n){this._setProp(r,n)}})}_setAttr(t){let e=this.getAttribute(t);const o=mo(t);this._numberProps&&this._numberProps[o]&&(e=yl(e)),this._setProp(o,e,!1)}_getProp(t){return this._props[t]}_setProp(t,e,o=!0,r=!0){e!==this._props[t]&&(this._props[t]=e,r&&this._instance&&this._update(),o&&(e===!0?this.setAttribute(Xe(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(Xe(t),e+""):e||this.removeAttribute(Xe(t))))}_update(){ir(this._createVNode(),this.shadowRoot)}_createVNode(){const t=lt(this._def,ie({},this._props));return this._instance||(t.ce=e=>{this._instance=e,e.isCE=!0,{}.NODE_ENV!=="production"&&(e.ceReload=n=>{this._styles&&(this._styles.forEach(a=>this.shadowRoot.removeChild(a)),this._styles.length=0),this._applyStyles(n),this._instance=null,this._update()});const o=(n,a)=>{this.dispatchEvent(new CustomEvent(n,{detail:a}))};e.emit=(n,...a)=>{o(n,a),Xe(n)!==n&&o(Xe(n),a)};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof Ga){e.parent=r._instance,e.provides=r._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(e=>{const o=document.createElement("style");o.textContent=e,this.shadowRoot.appendChild(o),{}.NODE_ENV!=="production"&&(this._styles||(this._styles=[])).push(o)})}}const Am=ie({patchProp:Dm},gm);let ru;function Nm(){return ru||(ru=Wp(Am))}const ir=(...s)=>{Nm().render(...s)};/**
26
- * vue v3.4.21
23
+ **/let ja;const tu=typeof window<"u"&&window.trustedTypes;if(tu)try{ja=tu.createPolicy("vue",{createHTML:o=>o})}catch(o){({}).NODE_ENV!=="production"&&ts(`Error creating trusted types policy: ${o}`)}const eu=ja?o=>ja.createHTML(o):o=>o,$m="http://www.w3.org/2000/svg",Lm="http://www.w3.org/1998/Math/MathML",Ns=typeof document<"u"?document:null,su=Ns&&Ns.createElement("template"),Nm={insert:(o,t,e)=>{t.insertBefore(o,e||null)},remove:o=>{const t=o.parentNode;t&&t.removeChild(o)},createElement:(o,t,e,s)=>{const r=t==="svg"?Ns.createElementNS($m,o):t==="mathml"?Ns.createElementNS(Lm,o):e?Ns.createElement(o,{is:e}):Ns.createElement(o);return o==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:o=>Ns.createTextNode(o),createComment:o=>Ns.createComment(o),setText:(o,t)=>{o.nodeValue=t},setElementText:(o,t)=>{o.textContent=t},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>Ns.querySelector(o),setScopeId(o,t){o.setAttribute(t,"")},insertStaticContent(o,t,e,s,r,n){const a=e?e.previousSibling:t.lastChild;if(r&&(r===n||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),e),!(r===n||!(r=r.nextSibling)););else{su.innerHTML=eu(s==="svg"?`<svg>${o}</svg>`:s==="mathml"?`<math>${o}</math>`:o);const i=su.content;if(s==="svg"||s==="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]}},Mm=Symbol("_vtc");function Am(o,t,e){const s=o[Mm];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?o.removeAttribute("class"):e?o.setAttribute("class",t):o.className=t}const un=Symbol("_vod"),ou=Symbol("_vsh"),Ws={beforeMount(o,{value:t},{transition:e}){o[un]=o.style.display==="none"?"":o.style.display,e&&t?e.beforeEnter(o):dr(o,t)},mounted(o,{value:t},{transition:e}){e&&t&&e.enter(o)},updated(o,{value:t,oldValue:e},{transition:s}){!t!=!e&&(s?t?(s.beforeEnter(o),dr(o,!0),s.enter(o)):s.leave(o,()=>{dr(o,!1)}):dr(o,t))},beforeUnmount(o,{value:t}){dr(o,t)}};({}).NODE_ENV!=="production"&&(Ws.name="show");function dr(o,t){o.style.display=t?o[un]:"none",o[ou]=!t}const zm=Symbol({}.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Vm=/(^|;)\s*display\s*:/;function Bm(o,t,e){const s=o.style,r=ce(e);let n=!1;if(e&&!r){if(t)if(ce(t))for(const a of t.split(";")){const i=a.slice(0,a.indexOf(":")).trim();e[i]==null&&fn(s,i,"")}else for(const a in t)e[a]==null&&fn(s,a,"");for(const a in e)a==="display"&&(n=!0),fn(s,a,e[a])}else if(r){if(t!==e){const a=s[zm];a&&(e+=";"+a),s.cssText=e,n=Vm.test(e)}}else t&&o.removeAttribute("style");un in o&&(o[un]=n?s.display:"",o[ou]&&(s.display="none"))}const Ym=/[^\\];\s*$/,ru=/\s*!important$/;function fn(o,t,e){if(Tt(e))e.forEach(s=>fn(o,t,s));else if(e==null&&(e=""),{}.NODE_ENV!=="production"&&Ym.test(e)&&ts(`Unexpected semicolon at the end of '${t}' style value: '${e}'`),t.startsWith("--"))o.setProperty(t,e);else{const s=Xm(o,t);ru.test(e)?o.setProperty(He(s),e.replace(ru,""),"important"):o[s]=e}}const nu=["Webkit","Moz","ms"],Ha={};function Xm(o,t){const e=Ha[t];if(e)return e;let s=Be(t);if(s!=="filter"&&s in o)return Ha[t]=s;s=$r(s);for(let r=0;r<nu.length;r++){const n=nu[r]+s;if(n in o)return Ha[t]=n}return t}const au="http://www.w3.org/1999/xlink";function iu(o,t,e,s,r,n=xh(t)){s&&t.startsWith("xlink:")?e==null?o.removeAttributeNS(au,t.slice(6,t.length)):o.setAttributeNS(au,t,e):e==null||n&&!wl(e)?o.removeAttribute(t):o.setAttribute(t,n?"":Es(e)?String(e):e)}function lu(o,t,e,s,r){if(t==="innerHTML"||t==="textContent"){e!=null&&(o[t]=t==="innerHTML"?eu(e):e);return}const n=o.tagName;if(t==="value"&&n!=="PROGRESS"&&!n.includes("-")){const i=n==="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=wl(e):e==null&&i==="string"?(e="",a=!0):i==="number"&&(e=0,a=!0)}try{o[t]=e}catch(i){({}).NODE_ENV!=="production"&&!a&&ts(`Failed setting prop "${t}" on <${n.toLowerCase()}>: value ${e} is invalid.`,i)}a&&o.removeAttribute(r||t)}function Gm(o,t,e,s){o.addEventListener(t,e,s)}function Um(o,t,e,s){o.removeEventListener(t,e,s)}const cu=Symbol("_vei");function jm(o,t,e,s,r=null){const n=o[cu]||(o[cu]={}),a=n[t];if(s&&a)a.value={}.NODE_ENV!=="production"?fu(s,t):s;else{const[i,l]=Hm(t);if(s){const c=n[t]=qm({}.NODE_ENV!=="production"?fu(s,t):s,r);Gm(o,i,c,l)}else a&&(Um(o,i,a,l),n[t]=void 0)}}const uu=/(?:Once|Passive|Capture)$/;function Hm(o){let t;if(uu.test(o)){t={};let s;for(;s=o.match(uu);)o=o.slice(0,o.length-s[0].length),t[s[0].toLowerCase()]=!0}return[o[2]===":"?o.slice(3):He(o.slice(2)),t]}let Wa=0;const Wm=Promise.resolve(),Zm=()=>Wa||(Wm.then(()=>Wa=0),Wa=Date.now());function qm(o,t){const e=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=e.attached)return;ds(Qm(s,e.value),t,5,[s])};return e.value=o,e.attached=Zm(),e}function fu(o,t){return Ot(o)||Tt(o)?o:(ts(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
24
+ Expected function or array of functions, received type ${typeof o}.`),ye)}function Qm(o,t){if(Tt(t)){const e=o.stopImmediatePropagation;return o.stopImmediatePropagation=()=>{e.call(o),o._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const du=o=>o.charCodeAt(0)===111&&o.charCodeAt(1)===110&&o.charCodeAt(2)>96&&o.charCodeAt(2)<123,Km=(o,t,e,s,r,n)=>{const a=r==="svg";t==="class"?Am(o,s,a):t==="style"?Bm(o,e,s):Go(t)?Rr(t)||jm(o,t,e,s,n):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jm(o,t,s,a))?(lu(o,t,s),!o.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&iu(o,t,s,a,n,t!=="value")):o._isVueCE&&(/[A-Z]/.test(t)||!ce(s))?lu(o,Be(t),s,n,t):(t==="true-value"?o._trueValue=s:t==="false-value"&&(o._falseValue=s),iu(o,t,s,a))};function Jm(o,t,e,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in o&&du(t)&&Ot(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 r=o.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return du(t)&&ce(e)?!1:t in o}const hu={};/*! #__NO_SIDE_EFFECTS__ */function pt(o,t,e){const s=q(o,t);Fr(s)&&ae(s,t);class r extends Za{constructor(a){super(s,a,e)}}return r.def=s,r}const t0=typeof HTMLElement<"u"?HTMLElement:class{};class Za extends t0{constructor(t,e={},s=gu){super(),this._def=t,this._props=e,this._createApp=s,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&&s!==gu?this._root=this.shadowRoot:({}.NODE_ENV!=="production"&&this.shadowRoot&&ts("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 Za){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,Wl(()=>{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 s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(s=>{for(const r of s)this._setAttr(r.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(s,r=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:n,styles:a}=s;let i;if(n&&!Tt(n))for(const l in n){const c=n[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=_l(this._props[l])),(i||(i=Object.create(null)))[Be(l)]=!0)}this._numberProps=i,r&&this._resolveProps(s),this.shadowRoot?this._applyStyles(a):{}.NODE_ENV!=="production"&&a&&ts("Custom element style injection is not supported when using shadowRoot: false"),this._mount(s)},e=this._def.__asyncLoader;e?this._pendingResolve=e().then(s=>t(this._def=s,!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 s in e)Gt(this,s)?{}.NODE_ENV!=="production"&&ts(`Exposed property "${s}" already exists on custom element.`):Object.defineProperty(this,s,{get:()=>Ct(e[s])})}_resolveProps(t){const{props:e}=t,s=Tt(e)?e:Object.keys(e||{});for(const r of Object.keys(this))r[0]!=="_"&&s.includes(r)&&this._setProp(r,this[r]);for(const r of s.map(Be))Object.defineProperty(this,r,{get(){return this._getProp(r)},set(n){this._setProp(r,n,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const e=this.hasAttribute(t);let s=e?this.getAttribute(t):hu;const r=Be(t);e&&this._numberProps&&this._numberProps[r]&&(s=_l(s)),this._setProp(r,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,e,s=!0,r=!1){if(e!==this._props[t]&&(e===hu?delete this._props[t]:(this._props[t]=e,t==="key"&&this._app&&(this._app._ceVNode.key=e)),r&&this._instance&&this._update(),s)){const n=this._ob;n&&n.disconnect(),e===!0?this.setAttribute(He(t),""):typeof e=="string"||typeof e=="number"?this.setAttribute(He(t),e+""):e||this.removeAttribute(He(t)),n&&n.observe(this,{attributes:!0})}}_update(){dn(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const e=ct(this._def,ae(t,this._props));return this._instance||(e.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0,{}.NODE_ENV!=="production"&&(s.ceReload=n=>{this._styles&&(this._styles.forEach(a=>this._root.removeChild(a)),this._styles.length=0),this._applyStyles(n),this._instance=null,this._update()});const r=(n,a)=>{this.dispatchEvent(new CustomEvent(n,Fr(a[0])?ae({detail:a},a[0]):{detail:a}))};s.emit=(n,...a)=>{r(n,a),He(n)!==n&&r(He(n),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 s=this._nonce;for(let r=t.length-1;r>=0;r--){const n=document.createElement("style");if(s&&n.setAttribute("nonce",s),n.textContent=t[r],this.shadowRoot.prepend(n),{}.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(n)}}else(this._styles||(this._styles=[])).push(n)}}_parseSlots(){const t=this._slots={};let e;for(;e=this.firstChild;){const s=e.nodeType===1&&e.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(e),this.removeChild(e)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),e=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const r=t[s],n=r.getAttribute("name")||"default",a=this._slots[n],i=r.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,r)}else for(;r.firstChild;)i.insertBefore(r.firstChild,r);i.removeChild(r)}}_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(s=>this._root.removeChild(s)),e.length=0)}}}const e0=ae({patchProp:Km},Nm);let pu;function mu(){return pu||(pu=nm(e0))}const dn=(...o)=>{mu().render(...o)},gu=(...o)=>{const t=mu().createApp(...o);({}).NODE_ENV!=="production"&&(o0(t),r0(t));const{mount:e}=t;return t.mount=s=>{const r=n0(s);if(!r)return;const n=t._component;!Ot(n)&&!n.render&&!n.template&&(n.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=e(r,!1,s0(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function s0(o){if(o instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&o instanceof MathMLElement)return"mathml"}function o0(o){Object.defineProperty(o.config,"isNativeTag",{value:t=>vh(t)||bh(t)||_h(t),writable:!1})}function r0(o){{const t=o.config.isCustomElement;Object.defineProperty(o.config,"isCustomElement",{get(){return t},set(){ts("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const e=o.config.compilerOptions,s='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 ts(s),e},set(){ts(s)}})}}function n0(o){if(ce(o)){const t=document.querySelector(o);return{}.NODE_ENV!=="production"&&!t&&ts(`Failed to mount app: mount target selector "${o}" returned null.`),t}return{}.NODE_ENV!=="production"&&window.ShadowRoot&&o instanceof window.ShadowRoot&&o.mode==="closed"&&ts('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),o}/**
25
+ * vue v3.5.13
27
26
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
28
27
  * @license MIT
29
- **/function zm(){fm()}({}).NODE_ENV!=="production"&&zm();function nu(){return typeof window<"u"?window:typeof global<"u"?global:this||{}}const an=s=>{let t=null;switch(s){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(an("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`
28
+ **/function a0(){Dm()}({}).NODE_ENV!=="production"&&a0();function yu(){return typeof window<"u"?window:typeof global<"u"?global:this||{}}const hn=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(hn("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
29
  [\u{FA0E}\u{FA0F}\u{FA11}\u{FA13}\u{FA14}\u{FA1F}\u{FA21}\u{FA23}\u{FA24}\u{FA27}-\u{FA29}]
31
30
  |[\u{4E00}-\u{9FCC}]
32
31
  |[\u{3400}-\u{4DB5}]
@@ -35,83 +34,79 @@ Component that was made reactive: `,s)),E(s,t,e,o,r,a,n,!0)}function em(s){retur
35
34
  |[\u{2B740}-\u{2B81D}]
36
35
  |[\u{2B820}-\u{2CEAF}]
37
36
  |[\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},ao=(s,t)=>(typeof s=="string"&&(s=an(s)||new RegExp(s)),s.test(t)),au=(s,t)=>{typeof s=="string"&&(s=an(s)||new RegExp(s));const e=t.match(s);return e?s.flags.toLowerCase().indexOf("g")>=0?e.map(o=>({matchIndex:-1,fullMatch:o,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},iu=(s,t)=>{typeof s=="string"&&(s=an(s)||new RegExp(s));const e=[],o=t.matchAll(s);for(const r of o)e.push({matchIndex:typeof r.index=="number"?r.index:-1,fullMatch:r[0],groupMatchs:r.slice(1)});return e};function Bm(s){const t=s.match(/[\s\S]/gu);return t?t.length:0}function lu(s,t){const e=s.codePointAt(t);return e?String.fromCodePoint(e):void 0}function Ps(s=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let o="";for(let r=0;r<s;r++)o+=t[Math.floor(Math.random()*e)];return o}function Ym(s){return s.replace(/(^\w)/g,t=>t.toLowerCase())}const to=(s,t="-")=>{let e=s.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function Vm(s){return s.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function cu(s){return Ym(Vm(s))}const uu=(s,t="")=>(s=s.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),s);function Xm(s){return s!=null}function Gm(s,...t){return new s.constructor(...t)}function hu(s,t){for(const e in s)Object.prototype.hasOwnProperty.call(s,e)&&!t(e,s[e])&&delete s[e];return s}function du(s){for(const t in s)Object.prototype.hasOwnProperty.call(s,t)&&delete s[t];return s}function lr(s=[],t=[]){const e=s.length,o=t.length;for(let n=0;n<o;n++)s[n]=t[n];let r=Math.max(0,e-o);for(;r>0;)s.pop(),r--;return s}function Um(s,t){const e=s.findIndex(o=>o===t);return e>=0&&s.splice(e,1),s}let fu;try{fu=Map}catch{fu=function(){}}let pu;try{pu=Set}catch{pu=function(){}}function Yo(s,t){if(s=parseFloat(s),isNaN(s)){if(typeof t=="number")return t;throw new Error(`parseNumber(${s}) isNaN!`)}return s}function ln(s,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(s-t)<e}const ne=(s,t,e)=>s<t?t:s>e?e:s;function jm(s,t,e,o,r){return o+(r-o)*((s-t)/(e-t))}const mu=(s,t,e)=>o=>{const r=ne(o,s,t);return e==0?r:t-r<e?t:Math.round(r/e)*e};function Hm(s,t=12){return Yo(s).toFixed(t)}function xe(s,t=12){return+Hm(s,t)}function io(s,t){const e=au("number-single",String(s));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):Xm(t)?t:NaN,prefix:e&&!Array.isArray(e)&&e.fullMatch?s.substring(0,e.matchIndex):"",suffix:e&&!Array.isArray(e)&&e.fullMatch?s.substring(e.matchIndex+e.fullMatch.length):""}}function Ua(s){const t=au("number",s);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}function Wm(s=0,t=100){return Math.random()*(t-s)+s}function Qt(s=0,t=100){return Math.floor(Wm(s,t))}Zm();function Zm(){const s=new ArrayBuffer(4),t=new Float32Array(s),e=new Uint32Array(s),o=new Uint32Array(512),r=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(o[l]=0,o[l|256]=32768,r[l]=24,r[l|256]=24):c<-14?(o[l]=1024>>-c-14,o[l|256]=1024>>-c-14|32768,r[l]=-c-1,r[l|256]=-c-1):c<=15?(o[l]=c+15<<10,o[l|256]=c+15<<10|32768,r[l]=13,r[l|256]=13):c<128?(o[l]=31744,o[l|256]=64512,r[l]=24,r[l|256]=24):(o[l]=31744,o[l|256]=64512,r[l]=13,r[l|256]=13)}const n=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,n[l]=c|u}for(let l=1024;l<2048;++l)n[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:o,shiftTable:r,mantissaTable:n,exponentTable:a,offsetTable:i}}var gu=(s=>(s.UNKNOWN="",s.TEXT="text/plain",s.MD="text/plain",s.HTML="text/html",s.XML_TEXT="text/xml",s.CSS="text/css",s.JPEG="image/jpeg",s.PNG="image/png",s.GIF="image/gif",s.BMP="image/bmp",s.WEBP="image/webp",s.SVG="image/svg+xml",s.ICON="image/x-icon",s.MICROSOFT_ICON="image/vnd.microsoft.icon",s.MPEG="audio/mpeg",s.MP3="audio/mpeg",s.MP4="video/mp4",s.OGG="audio/ogg",s.WAV="audio/wav",s.MIDI="audio/midi",s.WEBM="video/webm",s.VIDEO_OGG="video/ogg",s.OCTET_STREAM="application/octet-stream",s.JAVASCRIPT="application/javascript",s.ECMASCRIPT="application/ecmascript",s.JSON="application/json",s.XML="application/xml",s.XHTML="application/xhtml+xml",s.XWWW="application/x-www-form-urlencoded",s.DOC="application/msword",s.CSV="application/x-csv",s.EXCEL="application/vnb.ms-excel",s.PPT="application/vnb.mspowerpoint",s.PDF="application/pdf",s.ZIP="application/zip",s.TGZ="application/x-gtar",s.TAR_GZ="application/x-gzip",s.EOT="appliaction/vnd.ms-fontobject",s.TTF="aplication/font-sfnt",s.PKCS12="aplication/pkcs12",s))(gu||{}),cn=(s=>(s.ascii="ascii",s.utf8="utf8",s.utf16le="utf16le",s.ucs2="ucs2",s.base64="base64",s.base64url="base64url",s.latin1="latin1",s.binary="binary",s.hex="hex",s))(cn||{});const yu=(s,t,e)=>t?e===cn.base64?new Blob([s],{type:`${t};${e}`}):e===cn.utf8?new Blob([s],{type:`${t};charset=${e}`}):new Blob([s],{type:`${t}`}):new Blob([s]);function pe(){return(performance||Date).now()}function qm(s){let t=0;for(let e=5;e>=0;e=e-2)e==5?t+=s[e-1]*10+s[e]:e==3?t+=(s[e-1]*10+s[e])*60:e==1&&(t+=(s[e-1]*10+s[e])*60*60);return t=Math.floor(Math.max(0,t)),t*1e3}function ja(s){let t=qm(s)/1e3;const e=t%60;s[5]=e%10,s[4]=Math.floor(e/10),t=Math.floor(t/60);const o=t%60;s[3]=o%10,s[2]=Math.floor(o/10),t=Math.floor(t/60);const r=t%60%24;return s[1]=r%10,s[0]=Math.floor(r/10),s}function Qm(s){const t=[0,0,0,0,0,0],e=Ua(s);for(let o=0,r=Math.min(e.length,3);o<r;o++){const n=Math.floor(Math.abs(e[o]));t[2*o+1]=n%10,t[2*o]=Math.floor(n/10)}return ja(t)}function Ha(s,t=1){return s[5]+=t,ja(s)}function Wa(s,t=1){return s[5]-=t,ja(s)}function Km(s,t){s.forEach((e,o)=>{t[o]=e})}function Jm(s,t){const e=t.reduce((o,r)=>{const{match:n,error:a}=r;return n(s)||o.push(a),o},[]);return{valid:e.length===0,errors:e}}function t0(s="xxx不能为空!"){return{match:t=>!!t,error:s}}function e0(s="邮箱格式不正确!"){return{match:t=>ao("email",t),error:s}}class o0{criterias=[];constructor(t=[]){t.forEach(e=>this.add(e))}add(...t){this.criterias.push(...t)}clear(){this.criterias=[]}get(){return t=>Jm(t,this.criterias)}run(t){return this.get()(t)}}function Os(s){return new o0([t0("邮箱不能为空!"),e0("邮箱格式不正确!")]).run(s)}function vu(s,t){let e=!0;return function(...o){e&&(e=!1,s.apply(this,o),setTimeout(()=>{e=!0},t))}}function s0(s,t){let e;return function(...o){clearTimeout(e),e=setTimeout(()=>{s.apply(this,o)},t)}}class cr{events;constructor(){this.events={}}on(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}addListener(t,e){return this.on(t,e),this}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}removeListener(t,e){if(this.events[t])return this.events[t]=this.events[t].filter(o=>o!==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].forEach(o=>{o(...e)}),this}once(t,e){const r=(()=>{let n=!1;return(...a)=>{n||(n=!0,e(...a),this.off(t,r))}})();return this.on(t,r),this}}class un extends cr{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(r=>r())),o=this.results.length;e.forEach((r,n)=>{if(r.status=="fulfilled"){const a=r.value;this.results.push(a),this.controller?.enqueue(a),this.emit("success",o+n,a)}else if(r.status=="rejected"){const a=new Error(r.reason);this.results.push(a),this.controller?.enqueue(a),this.emit("error",o+n,a)}}),this.activeTaskCount-=e.length}}}Array.prototype.ap=function(s){return this.reduce((t,e)=>t.concat(s.map(e)),[])};let ur;function Za(s){ur=s,s(),ur=null}class r0{subscribers=new Set;add(){ur&&!this.subscribers.has(ur)&&this.subscribers.add(ur)}notify(){this.subscribers.forEach(t=>t())}}const bu=new WeakMap;function _u(s,t){let e=bu.get(s);e||(e=new Map,bu.set(s,e));let o=e.get(t);return o||(o=new r0,e.set(t,o)),o}function n0(s){const t={get(e,o,r){return _u(s,o).add(),Reflect.get(e,o,r)},set(e,o,r,n){const a=_u(s,o),i=Reflect.get(e,o,n),l=Reflect.set(e,o,r,n);return i!=r&&a.notify(),l}};return new Proxy(s,t)}const a0=n0;class qa{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())}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)}shift(){const t=this.entries();if(t.length){const[e,o]=t[0];return this.delete(e),[e,o]}}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 o=0,r=e.length;o<r;o++){const[n,a]=e[o];t(n,a)===!1&&this.delete(n)}e=Array.from(this.mapsAddedDuringUpdate.entries())}}}function i0(s,t=(e,o)=>e<=o){const e=s.length;let o=Math.floor(e/2);for(;o>0;){for(let r=o;r<e;r++){const n=s[r];let a=r;for(;a>=o&&!t(s[a-o],n);)s[a]=s[a-o],a-=o;s[a]=n}o=Math.floor(o/2)}}let xu;try{xu=Promise}catch{xu=function(){}}const hr=/^[a-z0-9]+(-[a-z0-9]+)*$/,hn=(s,t,e,o="")=>{const r=s.split(":");if(s.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const i=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:i};return t&&!dn(c)?null:c}const n=r[0],a=n.split("-");if(a.length>1){const i={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!dn(i)?null:i}if(e&&o===""){const i={provider:o,prefix:"",name:n};return t&&!dn(i,e)?null:i}return null},dn=(s,t)=>s?!!((s.provider===""||s.provider.match(hr))&&(t&&s.prefix===""||s.prefix.match(hr))&&s.name.match(hr)):!1,wu=Object.freeze({left:0,top:0,width:16,height:16}),fn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),pn=Object.freeze({...wu,...fn}),Qa=Object.freeze({...pn,body:"",hidden:!1});function l0(s,t){const e={};!s.hFlip!=!t.hFlip&&(e.hFlip=!0),!s.vFlip!=!t.vFlip&&(e.vFlip=!0);const o=((s.rotate||0)+(t.rotate||0))%4;return o&&(e.rotate=o),e}function ku(s,t){const e=l0(s,t);for(const o in Qa)o in fn?o in s&&!(o in e)&&(e[o]=fn[o]):o in t?e[o]=t[o]:o in s&&(e[o]=s[o]);return e}function c0(s,t){const e=s.icons,o=s.aliases||Object.create(null),r=Object.create(null);function n(a){if(e[a])return r[a]=[];if(!(a in r)){r[a]=null;const i=o[a]&&o[a].parent,l=i&&n(i);l&&(r[a]=[i].concat(l))}return r[a]}return(t||Object.keys(e).concat(Object.keys(o))).forEach(n),r}function u0(s,t,e){const o=s.icons,r=s.aliases||Object.create(null);let n={};function a(i){n=ku(o[i]||r[i],n)}return a(t),e.forEach(a),ku(s,n)}function Cu(s,t){const e=[];if(typeof s!="object"||typeof s.icons!="object")return e;s.not_found instanceof Array&&s.not_found.forEach(r=>{t(r,null),e.push(r)});const o=c0(s);for(const r in o){const n=o[r];n&&(t(r,u0(s,r,n)),e.push(r))}return e}const h0={provider:"",aliases:{},not_found:{},...wu};function Ka(s,t){for(const e in t)if(e in s&&typeof s[e]!=typeof t[e])return!1;return!0}function Tu(s){if(typeof s!="object"||s===null)return null;const t=s;if(typeof t.prefix!="string"||!s.icons||typeof s.icons!="object"||!Ka(s,h0))return null;const e=t.icons;for(const r in e){const n=e[r];if(!r.match(hr)||typeof n.body!="string"||!Ka(n,Qa))return null}const o=t.aliases||Object.create(null);for(const r in o){const n=o[r],a=n.parent;if(!r.match(hr)||typeof a!="string"||!e[a]&&!o[a]||!Ka(n,Qa))return null}return t}const Su=Object.create(null);function d0(s,t){return{provider:s,prefix:t,icons:Object.create(null),missing:new Set}}function cs(s,t){const e=Su[s]||(Su[s]=Object.create(null));return e[t]||(e[t]=d0(s,t))}function Ja(s,t){return Tu(t)?Cu(t,(e,o)=>{o?s.icons[e]=o:s.missing.add(e)}):[]}function f0(s,t,e){try{if(typeof e.body=="string")return s.icons[t]={...e},!0}catch{}return!1}let dr=!1;function Eu(s){return typeof s=="boolean"&&(dr=s),dr}function p0(s){const t=typeof s=="string"?hn(s,!0,dr):s;if(t){const e=cs(t.provider,t.prefix),o=t.name;return e.icons[o]||(e.missing.has(o)?null:void 0)}}function m0(s,t){const e=hn(s,!0,dr);if(!e)return!1;const o=cs(e.provider,e.prefix);return f0(o,e.name,t)}function g0(s,t){if(typeof s!="object")return!1;if(typeof t!="string"&&(t=s.provider||""),dr&&!t&&!s.prefix){let r=!1;return Tu(s)&&(s.prefix="",Cu(s,(n,a)=>{a&&m0(n,a)&&(r=!0)})),r}const e=s.prefix;if(!dn({provider:t,prefix:e,name:"a"}))return!1;const o=cs(t,e);return!!Ja(o,s)}const Pu=Object.freeze({width:null,height:null}),Ou=Object.freeze({...Pu,...fn}),y0=/(-?[0-9.]*[0-9]+[0-9.]*)/g,v0=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Iu(s,t,e){if(t===1)return s;if(e=e||100,typeof s=="number")return Math.ceil(s*t*e)/e;if(typeof s!="string")return s;const o=s.split(y0);if(o===null||!o.length)return s;const r=[];let n=o.shift(),a=v0.test(n);for(;;){if(a){const i=parseFloat(n);isNaN(i)?r.push(n):r.push(Math.ceil(i*t*e)/e)}else r.push(n);if(n=o.shift(),n===void 0)return r.join("");a=!a}}function b0(s,t="defs"){let e="";const o=s.indexOf("<"+t);for(;o>=0;){const r=s.indexOf(">",o),n=s.indexOf("</"+t);if(r===-1||n===-1)break;const a=s.indexOf(">",n);if(a===-1)break;e+=s.slice(r+1,n).trim(),s=s.slice(0,o).trim()+s.slice(a+1)}return{defs:e,content:s}}function _0(s,t){return s?"<defs>"+s+"</defs>"+t:t}function x0(s,t,e){const o=b0(s);return _0(o.defs,t+o.content+e)}const w0=s=>s==="unset"||s==="undefined"||s==="none";function k0(s,t){const e={...pn,...s},o={...Ou,...t},r={left:e.left,top:e.top,width:e.width,height:e.height};let n=e.body;[e,o].forEach(b=>{const _=[],v=b.hFlip,w=b.vFlip;let g=b.rotate;v?w?g+=2:(_.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),_.push("scale(-1 1)"),r.top=r.left=0):w&&(_.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),_.push("scale(1 -1)"),r.top=r.left=0);let m;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:m=r.height/2+r.top,_.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:_.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:m=r.width/2+r.left,_.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}g%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)),_.length&&(n=x0(n,'<g transform="'+_.join(" ")+'">',"</g>"))});const a=o.width,i=o.height,l=r.width,c=r.height;let u,h;a===null?(h=i===null?"1em":i==="auto"?c:i,u=Iu(h,l/c)):(u=a==="auto"?l:a,h=i===null?Iu(u,c/l):i==="auto"?c:i);const f={},p=(b,_)=>{w0(_)||(f[b]=_.toString())};p("width",u),p("height",h);const d=[r.left,r.top,l,c];return f.viewBox=d.join(" "),{attributes:f,viewBox:d,body:n}}const C0=/\sid="(\S+)"/g,T0="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let S0=0;function E0(s,t=T0){const e=[];let o;for(;o=C0.exec(s);)e.push(o[1]);if(!e.length)return s;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(n=>{const a=typeof t=="function"?t(n):t+(S0++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");s=s.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),s=s.replace(new RegExp(r,"g"),""),s}const ti=Object.create(null);function P0(s,t){ti[s]=t}function ei(s){return ti[s]||ti[""]}function oi(s){let t;if(typeof s.resources=="string")t=[s.resources];else if(t=s.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:s.path||"/",maxURL:s.maxURL||500,rotate:s.rotate||750,timeout:s.timeout||5e3,random:s.random===!0,index:s.index||0,dataAfterTimeout:s.dataAfterTimeout!==!1}}const si=Object.create(null),fr=["https://api.simplesvg.com","https://api.unisvg.com"],mn=[];for(;fr.length>0;)fr.length===1||Math.random()>.5?mn.push(fr.shift()):mn.push(fr.pop());si[""]=oi({resources:["https://api.iconify.design"].concat(mn)});function O0(s,t){const e=oi(t);return e===null?!1:(si[s]=e,!0)}function ri(s){return si[s]}let Ru=(()=>{let s;try{if(s=fetch,typeof s=="function")return s}catch{}})();function I0(s,t){const e=ri(s);if(!e)return 0;let o;if(!e.maxURL)o=0;else{let r=0;e.resources.forEach(a=>{r=Math.max(r,a.length)});const n=t+".json?icons=";o=e.maxURL-r-e.path.length-n.length}return o}function R0(s){return s===404}const F0=(s,t,e)=>{const o=[],r=I0(s,t),n="icons";let a={type:n,provider:s,prefix:t,icons:[]},i=0;return e.forEach((l,c)=>{i+=l.length+1,i>=r&&c>0&&(o.push(a),a={type:n,provider:s,prefix:t,icons:[]},i=l.length),a.icons.push(l)}),o.push(a),o};function $0(s){if(typeof s=="string"){const t=ri(s);if(t)return t.path}return"/"}const D0={prepare:F0,send:(s,t,e)=>{if(!Ru){e("abort",424);return}let o=$0(t.provider);switch(t.type){case"icons":{const n=t.prefix,i=t.icons.join(","),l=new URLSearchParams({icons:i});o+=n+".json?"+l.toString();break}case"custom":{const n=t.uri;o+=n.slice(0,1)==="/"?n.slice(1):n;break}default:e("abort",400);return}let r=503;Ru(s+o).then(n=>{const a=n.status;if(a!==200){setTimeout(()=>{e(R0(a)?"abort":"next",a)});return}return r=501,n.json()}).then(n=>{if(typeof n!="object"||n===null){setTimeout(()=>{n===404?e("abort",n):e("next",r)});return}setTimeout(()=>{e("success",n)})}).catch(()=>{e("next",r)})}};function L0(s){const t={loaded:[],missing:[],pending:[]},e=Object.create(null);s.sort((r,n)=>r.provider!==n.provider?r.provider.localeCompare(n.provider):r.prefix!==n.prefix?r.prefix.localeCompare(n.prefix):r.name.localeCompare(n.name));let o={provider:"",prefix:"",name:""};return s.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const n=r.provider,a=r.prefix,i=r.name,l=e[n]||(e[n]=Object.create(null)),c=l[a]||(l[a]=cs(n,a));let u;i in c.icons?u=t.loaded:a===""||c.missing.has(i)?u=t.missing:u=t.pending;const h={provider:n,prefix:a,name:i};u.push(h)}),t}function Fu(s,t){s.forEach(e=>{const o=e.loaderCallbacks;o&&(e.loaderCallbacks=o.filter(r=>r.id!==t))})}function M0(s){s.pendingCallbacksFlag||(s.pendingCallbacksFlag=!0,setTimeout(()=>{s.pendingCallbacksFlag=!1;const t=s.loaderCallbacks?s.loaderCallbacks.slice(0):[];if(!t.length)return;let e=!1;const o=s.provider,r=s.prefix;t.forEach(n=>{const a=n.icons,i=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(s.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(s.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return e=!0,!0;return!1}),a.pending.length!==i&&(e||Fu([s],n.id),n.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),n.abort))})}))}let A0=0;function N0(s,t,e){const o=A0++,r=Fu.bind(null,e,o);if(!t.pending.length)return r;const n={id:o,icons:t,callback:s,abort:r};return e.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(n)}),r}function z0(s,t=!0,e=!1){const o=[];return s.forEach(r=>{const n=typeof r=="string"?hn(r,t,e):r;n&&o.push(n)}),o}var B0={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Y0(s,t,e,o){const r=s.resources.length,n=s.random?Math.floor(Math.random()*r):s.index;let a;if(s.random){let C=s.resources.slice(0);for(a=[];C.length>1;){const z=Math.floor(Math.random()*C.length);a.push(C[z]),C=C.slice(0,z).concat(C.slice(z+1))}a=a.concat(C)}else a=s.resources.slice(n).concat(s.resources.slice(0,n));const i=Date.now();let l="pending",c=0,u,h=null,f=[],p=[];typeof o=="function"&&p.push(o);function d(){h&&(clearTimeout(h),h=null)}function b(){l==="pending"&&(l="aborted"),d(),f.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),f=[]}function _(C,z){z&&(p=[]),typeof C=="function"&&p.push(C)}function v(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:_,abort:b}}function w(){l="failed",p.forEach(C=>{C(void 0,u)})}function g(){f.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),f=[]}function m(C,z,tt){const R=z!=="success";switch(f=f.filter(D=>D!==C),l){case"pending":break;case"failed":if(R||!s.dataAfterTimeout)return;break;default:return}if(z==="abort"){u=tt,w();return}if(R){u=tt,f.length||(a.length?k():w());return}if(d(),g(),!s.random){const D=s.resources.indexOf(C.resource);D!==-1&&D!==s.index&&(s.index=D)}l="completed",p.forEach(D=>{D(tt)})}function k(){if(l!=="pending")return;d();const C=a.shift();if(C===void 0){if(f.length){h=setTimeout(()=>{d(),l==="pending"&&(g(),w())},s.timeout);return}w();return}const z={status:"pending",resource:C,callback:(tt,R)=>{m(z,tt,R)}};f.push(z),c++,h=setTimeout(k,s.rotate),e(C,t,z.callback)}return setTimeout(k),v}function $u(s){const t={...B0,...s};let e=[];function o(){e=e.filter(i=>i().status==="pending")}function r(i,l,c){const u=Y0(t,i,l,(h,f)=>{o(),c&&c(h,f)});return e.push(u),u}function n(i){return e.find(l=>i(l))||null}return{query:r,find:n,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:o}}function Du(){}const ni=Object.create(null);function V0(s){if(!ni[s]){const t=ri(s);if(!t)return;const e=$u(t),o={config:t,redundancy:e};ni[s]=o}return ni[s]}function X0(s,t,e){let o,r;if(typeof s=="string"){const n=ei(s);if(!n)return e(void 0,424),Du;r=n.send;const a=V0(s);a&&(o=a.redundancy)}else{const n=oi(s);if(n){o=$u(n);const a=s.resources?s.resources[0]:"",i=ei(a);i&&(r=i.send)}}return!o||!r?(e(void 0,424),Du):o.query(t,r,e)().abort}const Lu="iconify2",pr="iconify",Mu=pr+"-count",Au=pr+"-version",Nu=36e5,G0=168,U0=50;function ai(s,t){try{return s.getItem(t)}catch{}}function ii(s,t,e){try{return s.setItem(t,e),!0}catch{}}function zu(s,t){try{s.removeItem(t)}catch{}}function li(s,t){return ii(s,Mu,t.toString())}function ci(s){return parseInt(ai(s,Mu))||0}const gn={local:!0,session:!0},Bu={local:new Set,session:new Set};let ui=!1;function j0(s){ui=s}let yn=typeof window>"u"?{}:window;function Yu(s){const t=s+"Storage";try{if(yn&&yn[t]&&typeof yn[t].length=="number")return yn[t]}catch{}gn[s]=!1}function Vu(s,t){const e=Yu(s);if(!e)return;const o=ai(e,Au);if(o!==Lu){if(o){const i=ci(e);for(let l=0;l<i;l++)zu(e,pr+l.toString())}ii(e,Au,Lu),li(e,0);return}const r=Math.floor(Date.now()/Nu)-G0,n=i=>{const l=pr+i.toString(),c=ai(e,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,i))return!0}catch{}zu(e,l)}};let a=ci(e);for(let i=a-1;i>=0;i--)n(i)||(i===a-1?(a--,li(e,a)):Bu[s].add(i))}function Xu(){if(!ui){j0(!0);for(const s in gn)Vu(s,t=>{const e=t.data,o=t.provider,r=e.prefix,n=cs(o,r);if(!Ja(n,e).length)return!1;const a=e.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,a):a,!0})}}function H0(s,t){const e=s.lastModifiedCached;if(e&&e>=t)return e===t;if(s.lastModifiedCached=t,e)for(const o in gn)Vu(o,r=>{const n=r.data;return r.provider!==s.provider||n.prefix!==s.prefix||n.lastModified===t});return!0}function W0(s,t){ui||Xu();function e(o){let r;if(!gn[o]||!(r=Yu(o)))return;const n=Bu[o];let a;if(n.size)n.delete(a=Array.from(n).shift());else if(a=ci(r),a>=U0||!li(r,a+1))return;const i={cached:Math.floor(Date.now()/Nu),provider:s.provider,data:t};return ii(r,pr+a.toString(),JSON.stringify(i))}t.lastModified&&!H0(s,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),e("local")||e("session"))}function Gu(){}function Z0(s){s.iconsLoaderFlag||(s.iconsLoaderFlag=!0,setTimeout(()=>{s.iconsLoaderFlag=!1,M0(s)}))}function q0(s,t){s.iconsToLoad?s.iconsToLoad=s.iconsToLoad.concat(t).sort():s.iconsToLoad=t,s.iconsQueueFlag||(s.iconsQueueFlag=!0,setTimeout(()=>{s.iconsQueueFlag=!1;const{provider:e,prefix:o}=s,r=s.iconsToLoad;delete s.iconsToLoad;let n;if(!r||!(n=ei(e)))return;n.prepare(e,o,r).forEach(i=>{X0(e,i,l=>{if(typeof l!="object")i.icons.forEach(c=>{s.missing.add(c)});else try{const c=Ja(s,l);if(!c.length)return;const u=s.pendingIcons;u&&c.forEach(h=>{u.delete(h)}),W0(s,l)}catch(c){console.error(c)}Z0(s)})})}))}const Q0=(s,t)=>{const e=z0(s,!0,Eu()),o=L0(e);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,Gu)}),()=>{l=!1}}const r=Object.create(null),n=[];let a,i;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===i&&c===a)return;a=c,i=u,n.push(cs(c,u));const h=r[c]||(r[c]=Object.create(null));h[u]||(h[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:h}=l,f=cs(c,u),p=f.pendingIcons||(f.pendingIcons=new Set);p.has(h)||(p.add(h),r[c][u].push(h))}),n.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&q0(l,r[c][u])}),t?N0(t,o,n):Gu};function K0(s,t){const e={...s};for(const o in t){const r=t[o],n=typeof r;o in Pu?(r===null||r&&(n==="string"||n==="number"))&&(e[o]=r):n===typeof e[o]&&(e[o]=o==="rotate"?r%4:r)}return e}const J0=/[\s,]+/;function tg(s,t){t.split(J0).forEach(e=>{switch(e.trim()){case"horizontal":s.hFlip=!0;break;case"vertical":s.vFlip=!0;break}})}function eg(s,t=0){const e=s.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(e===""){const r=parseInt(s);return isNaN(r)?0:o(r)}else if(e!==s){let r=0;switch(e){case"%":r=25;break;case"deg":r=90}if(r){let n=parseFloat(s.slice(0,s.length-e.length));return isNaN(n)?0:(n=n/r,n%1===0?o(n):0)}}return t}function og(s,t){let e=s.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)e+=" "+o+'="'+t[o]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+s+"</svg>"}function sg(s){return s.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function rg(s){return"data:image/svg+xml,"+sg(s)}function ng(s){return'url("'+rg(s)+'")'}const Uu={...Ou,inline:!1},ag={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},ig={display:"inline-block"},hi={backgroundColor:"currentColor"},ju={backgroundColor:"transparent"},Hu={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Wu={webkitMask:hi,mask:hi,background:ju};for(const s in Wu){const t=Wu[s];for(const e in Hu)t[s+e]=Hu[e]}const vn={};["horizontal","vertical"].forEach(s=>{const t=s.slice(0,1)+"Flip";vn[s+"-flip"]=t,vn[s.slice(0,1)+"-flip"]=t,vn[s+"Flip"]=t});function Zu(s){return s+(s.match(/^[-0-9.]+$/)?"px":"")}const qu=(s,t)=>{const e=K0(Uu,t),o={...ag},r=t.mode||"svg",n={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let b in t){const _=t[b];if(_!==void 0)switch(b){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":e[b]=_===!0||_==="true"||_===1;break;case"flip":typeof _=="string"&&tg(e,_);break;case"color":n.color=_;break;case"rotate":typeof _=="string"?e[b]=eg(_):typeof _=="number"&&(e[b]=_);break;case"ariaHidden":case"aria-hidden":_!==!0&&_!=="true"&&delete o["aria-hidden"];break;default:{const v=vn[b];v?(_===!0||_==="true"||_===1)&&(e[v]=!0):Uu[b]===void 0&&(o[b]=_)}}}const l=k0(s,e),c=l.attributes;if(e.inline&&(n.verticalAlign="-0.125em"),r==="svg"){o.style={...n,...i},Object.assign(o,c);let b=0,_=t.id;return typeof _=="string"&&(_=_.replace(/-/g,"_")),o.innerHTML=E0(l.body,_?()=>_+"ID"+b++:"iconifyVue"),qt("svg",o)}const{body:u,width:h,height:f}=s,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),d=og(u,{...c,width:h+"",height:f+""});return o.style={...n,"--svg":ng(d),width:Zu(c.width),height:Zu(c.height),...ig,...p?hi:ju,...i},qt("span",o)};if(Eu(!0),P0("",D0),typeof document<"u"&&typeof window<"u"){Xu();const s=window;if(s.IconifyPreload!==void 0){const t=s.IconifyPreload,e="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!g0(o))&&console.error(e)}catch{console.error(e)}})}if(s.IconifyProviders!==void 0){const t=s.IconifyProviders;if(typeof t=="object"&&t!==null)for(let e in t){const o="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if(typeof r!="object"||!r||r.resources===void 0)continue;O0(e,r)||console.error(o)}catch{console.error(o)}}}}const lg={...pn,body:""},Qu=Q({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(s,t){if(typeof s=="object"&&s!==null&&typeof s.body=="string")return this._name="",this.abortLoading(),{data:s};let e;if(typeof s!="string"||(e=hn(s,!1,!0))===null)return this.abortLoading(),null;const o=p0(e);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==s)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:s,abort:Q0([e],()=>{this.counter++})})),null;this.abortLoading(),this._name!==s&&(this._name=s,t&&t(s));const r=["iconify"];return e.prefix!==""&&r.push("iconify--"+e.prefix),e.provider!==""&&r.push("iconify--"+e.provider),{data:o,classes:r}}},render(){this.counter;const s=this.$attrs,t=this.iconMounted||s.ssr?this.getIcon(s.icon,s.onLoad):null;if(!t)return qu(lg,s);let e=s;return t.classes&&(e={...s,class:(typeof s.class=="string"?s.class+" ":"")+t.classes.join(" ")}),qu({...pn,...t.data},e)}});function cg(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var ug={exports:{}};(function(s,t){(function(e){s.exports=e()})(function(e){var o=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(v,w){var g=v[0],m=v[1],k=v[2],C=v[3];g+=(m&k|~m&C)+w[0]-680876936|0,g=(g<<7|g>>>25)+m|0,C+=(g&m|~g&k)+w[1]-389564586|0,C=(C<<12|C>>>20)+g|0,k+=(C&g|~C&m)+w[2]+606105819|0,k=(k<<17|k>>>15)+C|0,m+=(k&C|~k&g)+w[3]-1044525330|0,m=(m<<22|m>>>10)+k|0,g+=(m&k|~m&C)+w[4]-176418897|0,g=(g<<7|g>>>25)+m|0,C+=(g&m|~g&k)+w[5]+1200080426|0,C=(C<<12|C>>>20)+g|0,k+=(C&g|~C&m)+w[6]-1473231341|0,k=(k<<17|k>>>15)+C|0,m+=(k&C|~k&g)+w[7]-45705983|0,m=(m<<22|m>>>10)+k|0,g+=(m&k|~m&C)+w[8]+1770035416|0,g=(g<<7|g>>>25)+m|0,C+=(g&m|~g&k)+w[9]-1958414417|0,C=(C<<12|C>>>20)+g|0,k+=(C&g|~C&m)+w[10]-42063|0,k=(k<<17|k>>>15)+C|0,m+=(k&C|~k&g)+w[11]-1990404162|0,m=(m<<22|m>>>10)+k|0,g+=(m&k|~m&C)+w[12]+1804603682|0,g=(g<<7|g>>>25)+m|0,C+=(g&m|~g&k)+w[13]-40341101|0,C=(C<<12|C>>>20)+g|0,k+=(C&g|~C&m)+w[14]-1502002290|0,k=(k<<17|k>>>15)+C|0,m+=(k&C|~k&g)+w[15]+1236535329|0,m=(m<<22|m>>>10)+k|0,g+=(m&C|k&~C)+w[1]-165796510|0,g=(g<<5|g>>>27)+m|0,C+=(g&k|m&~k)+w[6]-1069501632|0,C=(C<<9|C>>>23)+g|0,k+=(C&m|g&~m)+w[11]+643717713|0,k=(k<<14|k>>>18)+C|0,m+=(k&g|C&~g)+w[0]-373897302|0,m=(m<<20|m>>>12)+k|0,g+=(m&C|k&~C)+w[5]-701558691|0,g=(g<<5|g>>>27)+m|0,C+=(g&k|m&~k)+w[10]+38016083|0,C=(C<<9|C>>>23)+g|0,k+=(C&m|g&~m)+w[15]-660478335|0,k=(k<<14|k>>>18)+C|0,m+=(k&g|C&~g)+w[4]-405537848|0,m=(m<<20|m>>>12)+k|0,g+=(m&C|k&~C)+w[9]+568446438|0,g=(g<<5|g>>>27)+m|0,C+=(g&k|m&~k)+w[14]-1019803690|0,C=(C<<9|C>>>23)+g|0,k+=(C&m|g&~m)+w[3]-187363961|0,k=(k<<14|k>>>18)+C|0,m+=(k&g|C&~g)+w[8]+1163531501|0,m=(m<<20|m>>>12)+k|0,g+=(m&C|k&~C)+w[13]-1444681467|0,g=(g<<5|g>>>27)+m|0,C+=(g&k|m&~k)+w[2]-51403784|0,C=(C<<9|C>>>23)+g|0,k+=(C&m|g&~m)+w[7]+1735328473|0,k=(k<<14|k>>>18)+C|0,m+=(k&g|C&~g)+w[12]-1926607734|0,m=(m<<20|m>>>12)+k|0,g+=(m^k^C)+w[5]-378558|0,g=(g<<4|g>>>28)+m|0,C+=(g^m^k)+w[8]-2022574463|0,C=(C<<11|C>>>21)+g|0,k+=(C^g^m)+w[11]+1839030562|0,k=(k<<16|k>>>16)+C|0,m+=(k^C^g)+w[14]-35309556|0,m=(m<<23|m>>>9)+k|0,g+=(m^k^C)+w[1]-1530992060|0,g=(g<<4|g>>>28)+m|0,C+=(g^m^k)+w[4]+1272893353|0,C=(C<<11|C>>>21)+g|0,k+=(C^g^m)+w[7]-155497632|0,k=(k<<16|k>>>16)+C|0,m+=(k^C^g)+w[10]-1094730640|0,m=(m<<23|m>>>9)+k|0,g+=(m^k^C)+w[13]+681279174|0,g=(g<<4|g>>>28)+m|0,C+=(g^m^k)+w[0]-358537222|0,C=(C<<11|C>>>21)+g|0,k+=(C^g^m)+w[3]-722521979|0,k=(k<<16|k>>>16)+C|0,m+=(k^C^g)+w[6]+76029189|0,m=(m<<23|m>>>9)+k|0,g+=(m^k^C)+w[9]-640364487|0,g=(g<<4|g>>>28)+m|0,C+=(g^m^k)+w[12]-421815835|0,C=(C<<11|C>>>21)+g|0,k+=(C^g^m)+w[15]+530742520|0,k=(k<<16|k>>>16)+C|0,m+=(k^C^g)+w[2]-995338651|0,m=(m<<23|m>>>9)+k|0,g+=(k^(m|~C))+w[0]-198630844|0,g=(g<<6|g>>>26)+m|0,C+=(m^(g|~k))+w[7]+1126891415|0,C=(C<<10|C>>>22)+g|0,k+=(g^(C|~m))+w[14]-1416354905|0,k=(k<<15|k>>>17)+C|0,m+=(C^(k|~g))+w[5]-57434055|0,m=(m<<21|m>>>11)+k|0,g+=(k^(m|~C))+w[12]+1700485571|0,g=(g<<6|g>>>26)+m|0,C+=(m^(g|~k))+w[3]-1894986606|0,C=(C<<10|C>>>22)+g|0,k+=(g^(C|~m))+w[10]-1051523|0,k=(k<<15|k>>>17)+C|0,m+=(C^(k|~g))+w[1]-2054922799|0,m=(m<<21|m>>>11)+k|0,g+=(k^(m|~C))+w[8]+1873313359|0,g=(g<<6|g>>>26)+m|0,C+=(m^(g|~k))+w[15]-30611744|0,C=(C<<10|C>>>22)+g|0,k+=(g^(C|~m))+w[6]-1560198380|0,k=(k<<15|k>>>17)+C|0,m+=(C^(k|~g))+w[13]+1309151649|0,m=(m<<21|m>>>11)+k|0,g+=(k^(m|~C))+w[4]-145523070|0,g=(g<<6|g>>>26)+m|0,C+=(m^(g|~k))+w[11]-1120210379|0,C=(C<<10|C>>>22)+g|0,k+=(g^(C|~m))+w[2]+718787259|0,k=(k<<15|k>>>17)+C|0,m+=(C^(k|~g))+w[9]-343485551|0,m=(m<<21|m>>>11)+k|0,v[0]=g+v[0]|0,v[1]=m+v[1]|0,v[2]=k+v[2]|0,v[3]=C+v[3]|0}function n(v){var w=[],g;for(g=0;g<64;g+=4)w[g>>2]=v.charCodeAt(g)+(v.charCodeAt(g+1)<<8)+(v.charCodeAt(g+2)<<16)+(v.charCodeAt(g+3)<<24);return w}function a(v){var w=[],g;for(g=0;g<64;g+=4)w[g>>2]=v[g]+(v[g+1]<<8)+(v[g+2]<<16)+(v[g+3]<<24);return w}function i(v){var w=v.length,g=[1732584193,-271733879,-1732584194,271733878],m,k,C,z,tt,R;for(m=64;m<=w;m+=64)r(g,n(v.substring(m-64,m)));for(v=v.substring(m-64),k=v.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<k;m+=1)C[m>>2]|=v.charCodeAt(m)<<(m%4<<3);if(C[m>>2]|=128<<(m%4<<3),m>55)for(r(g,C),m=0;m<16;m+=1)C[m]=0;return z=w*8,z=z.toString(16).match(/(.*?)(.{0,8})$/),tt=parseInt(z[2],16),R=parseInt(z[1],16)||0,C[14]=tt,C[15]=R,r(g,C),g}function l(v){var w=v.length,g=[1732584193,-271733879,-1732584194,271733878],m,k,C,z,tt,R;for(m=64;m<=w;m+=64)r(g,a(v.subarray(m-64,m)));for(v=m-64<w?v.subarray(m-64):new Uint8Array(0),k=v.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<k;m+=1)C[m>>2]|=v[m]<<(m%4<<3);if(C[m>>2]|=128<<(m%4<<3),m>55)for(r(g,C),m=0;m<16;m+=1)C[m]=0;return z=w*8,z=z.toString(16).match(/(.*?)(.{0,8})$/),tt=parseInt(z[2],16),R=parseInt(z[1],16)||0,C[14]=tt,C[15]=R,r(g,C),g}function c(v){var w="",g;for(g=0;g<4;g+=1)w+=o[v>>g*8+4&15]+o[v>>g*8&15];return w}function u(v){var w;for(w=0;w<v.length;w+=1)v[w]=c(v[w]);return v.join("")}u(i("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function v(w,g){return w=w|0||0,w<0?Math.max(w+g,0):Math.min(w,g)}ArrayBuffer.prototype.slice=function(w,g){var m=this.byteLength,k=v(w,m),C=m,z,tt,R,D;return g!==e&&(C=v(g,m)),k>C?new ArrayBuffer(0):(z=C-k,tt=new ArrayBuffer(z),R=new Uint8Array(tt),D=new Uint8Array(this,k,z),R.set(D),tt)}}();function h(v){return/[\u0080-\uFFFF]/.test(v)&&(v=unescape(encodeURIComponent(v))),v}function f(v,w){var g=v.length,m=new ArrayBuffer(g),k=new Uint8Array(m),C;for(C=0;C<g;C+=1)k[C]=v.charCodeAt(C);return w?k:m}function p(v){return String.fromCharCode.apply(null,new Uint8Array(v))}function d(v,w,g){var m=new Uint8Array(v.byteLength+w.byteLength);return m.set(new Uint8Array(v)),m.set(new Uint8Array(w),v.byteLength),g?m:m.buffer}function b(v){var w=[],g=v.length,m;for(m=0;m<g-1;m+=2)w.push(parseInt(v.substr(m,2),16));return String.fromCharCode.apply(String,w)}function _(){this.reset()}return _.prototype.append=function(v){return this.appendBinary(h(v)),this},_.prototype.appendBinary=function(v){this._buff+=v,this._length+=v.length;var w=this._buff.length,g;for(g=64;g<=w;g+=64)r(this._hash,n(this._buff.substring(g-64,g)));return this._buff=this._buff.substring(g-64),this},_.prototype.end=function(v){var w=this._buff,g=w.length,m,k=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],C;for(m=0;m<g;m+=1)k[m>>2]|=w.charCodeAt(m)<<(m%4<<3);return this._finish(k,g),C=u(this._hash),v&&(C=b(C)),this.reset(),C},_.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},_.prototype.setState=function(v){return this._buff=v.buff,this._length=v.length,this._hash=v.hash,this},_.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},_.prototype._finish=function(v,w){var g=w,m,k,C;if(v[g>>2]|=128<<(g%4<<3),g>55)for(r(this._hash,v),g=0;g<16;g+=1)v[g]=0;m=this._length*8,m=m.toString(16).match(/(.*?)(.{0,8})$/),k=parseInt(m[2],16),C=parseInt(m[1],16)||0,v[14]=k,v[15]=C,r(this._hash,v)},_.hash=function(v,w){return _.hashBinary(h(v),w)},_.hashBinary=function(v,w){var g=i(v),m=u(g);return w?b(m):m},_.ArrayBuffer=function(){this.reset()},_.ArrayBuffer.prototype.append=function(v){var w=d(this._buff.buffer,v,!0),g=w.length,m;for(this._length+=v.byteLength,m=64;m<=g;m+=64)r(this._hash,a(w.subarray(m-64,m)));return this._buff=m-64<g?new Uint8Array(w.buffer.slice(m-64)):new Uint8Array(0),this},_.ArrayBuffer.prototype.end=function(v){var w=this._buff,g=w.length,m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],k,C;for(k=0;k<g;k+=1)m[k>>2]|=w[k]<<(k%4<<3);return this._finish(m,g),C=u(this._hash),v&&(C=b(C)),this.reset(),C},_.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.ArrayBuffer.prototype.getState=function(){var v=_.prototype.getState.call(this);return v.buff=p(v.buff),v},_.ArrayBuffer.prototype.setState=function(v){return v.buff=f(v.buff,!0),_.prototype.setState.call(this,v)},_.ArrayBuffer.prototype.destroy=_.prototype.destroy,_.ArrayBuffer.prototype._finish=_.prototype._finish,_.ArrayBuffer.hash=function(v,w){var g=l(new Uint8Array(v)),m=u(g);return w?b(m):m},_})})(ug);const Ku=s=>new XMLSerializer().serializeToString(s),hg=(s,t=gu.SVG,e=cn.utf8)=>yu(Ku(s),t,e),dg=(s,t,e)=>{const o=async r=>{await e(r)};return s.addEventListener(t,o,!1),()=>{s.removeEventListener(t,o,!1)}};function fg(){const s=new cr;return{on:(t,e)=>{s.on(t,e)},off:(t,e)=>{s.off(t,e)},emit:(t,...e)=>{s.emit(t,...e)}}}const di=fg();function pg(){return{remove:dg(document,"scroll",s=>{di.emit("scroll",s)}),on:s=>{di.on("scroll",s)},off:s=>{di.off("scroll",s)}}}function bn(s,t,e,o,r){const n=t/e;let a=0,i=0;switch(s){case"aspectFit":n>=1?(a=o,i=a/n,i>r&&(i=r,a=i*n)):(i=r,a=i*n,a>o&&(a=o,i=a/n));break;case"aspectFill":n>=1?(i=r,a=i*n):(a=o,i=a/n);break;case"widthFix":a=o,i=a/n;break;case"heightFix":i=r,a=i*n;break;case"scaleToFill":default:a=o,i=r;break}return{width:a,height:i}}function mg(s){const t=document.createElement("canvas"),e=t.getContext("2d");return t.width=s.width,t.height=s.height,e.drawImage(s,0,0,t.width,t.height),e.getImageData(0,0,t.width,t.height)}function gg(){const s=window.navigator.userAgent,t=s.indexOf("MSIE ");if(t>0)return parseInt(s.substring(t+5,s.indexOf(".",t)),10);if(s.indexOf("Trident/")>0){const r=s.indexOf("rv:");return parseInt(s.substring(r+3,s.indexOf(".",r)),10)}const o=s.indexOf("Edge/");return o>0?parseInt(s.substring(o+5,s.indexOf(".",o)),10):-1}const fi=gg()!==-1;(()=>{const s=nu();return!!(s.Worker&&s.Blob&&s.Promise&&s.OffscreenCanvas&&s.OffscreenCanvasRenderingContext2D&&s.HTMLCanvasElement&&s.HTMLCanvasElement.prototype.transferControlToOffscreen&&s.URL&&s.URL.createObjectURL)})(),function(){if(!nu().OffscreenCanvas)return!1;const t=new OffscreenCanvas(1,1),e=t.getContext("2d");e.fillRect(0,0,1,1);const o=t.transferToImageBitmap();try{e.createPattern(o,"no-repeat")}catch{return!1}return!0}();function Yt(s){return s*Math.PI/180}function ze(s){return s*180/Math.PI}function pi(s,t,e=0){return Math.sqrt(s*s+t*t+e*e)}function mi(s,t,e,o){return pi(e-s,o-t)}function gi(s,t,e,o){const r=e-s,n=o-t;return r*r+n*n}function Is(s,t,e,o){let r=Math.atan2(o-t,e-s);return r<0&&(r+=Math.PI*2),r}function xo(s,t){return{dx:Math.cos(s)*t,dy:Math.sin(s)*t}}const Ju=yg("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 yg(s,t=10){const e={},o=s.split(",");for(let r=0;r<o.length;r+=2){const n="&"+o[r+1]+";",a=parseInt(o[r],t);e[n]="&#"+a+";"}return e["\\xa0"]="&#160;",e}function Fe(s,t){const e=Object.keys(t);for(let o=0;o<e.length;o++)s=s.replace(new RegExp("{"+e[o]+"}","gi"),""+t[e[o]]);return s}function _n(s){let t,e;if(!s)throw new Error("cannot create a random attribute name for an undefined object");const o="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",e=0;e<12;e++)t+=o[Math.floor(Math.random()*o.length)];while(s[t]);return t}function vg(s){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[s]||t.start}function bg(s){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[s]||t.alphabetic}const mr={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 yi{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}addColorStop(t,e){const o=this.__ctx.__createElement("stop");if(o.setAttribute("offset",""+t),e.indexOf("rgba")!==-1){const n=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(e);n&&(o.setAttribute("stop-color",Fe("rgb({r},{g},{b})",{r:n[1],g:n[2],b:n[3]})),o.setAttribute("stop-opacity",n[4]))}else o.setAttribute("stop-color",e);this.__root.appendChild(o)}}class th{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}}class xn{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:e=500,height:o=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=o),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(mr);for(let e=0,o=t.length;e<o;e++){const r=t[e];this[r]=mr[r].canvas}}__getStyleState(){const t={},e=Object.keys(mr);for(let o=0,r=e.length;o<r;o++){const n=e[o];t[n]=this[n]}return t}__applyStyleState(t){const e=Object.keys(t);for(let o=0,r=e.length;o<r;o++){const n=e[o];this[n]=t[n]}}__createElement(t,e={},o=!1){const r=this.__document.createElementNS("http://www.w3.org/2000/svg",t),n=Object.keys(e);o&&(r.setAttribute("fill","none"),r.setAttribute("stroke","none"));for(let a=0;a<n.length;a++){const i=n[a];r.setAttribute(i,e[i])}return r}__applyStyleToCurrentElement(t){let e=this.__currentElement;const o=this.__currentElementsToStyle;o&&(e.setAttribute(t,""),e=o.element,o.children.forEach(n=>{n.setAttribute(t,"")}));const r=Object.keys(mr);for(let n=0;n<r.length;n++){const a=mr[r[n]],i=this[r[n]];if(a.apply){if(i instanceof th){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 yi)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 h=this.globalAlpha;h!=null&&(u*=h),e.setAttribute(a.svgAttr+"-opacity",""+u)}}else{let l=a.svgAttr;if(r[n]==="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 r=Object.keys(Ju);for(let n=0,a=r.length;n<a;n++){const i=r[n],l=Ju[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 r=this.__createElement("g");e.appendChild(r),this.__currentElement=r}let o=this.__currentElement.getAttribute("transform");o?o+=" ":o="",o+=t,this.__currentElement.setAttribute("transform",o)}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,o,r,n,a){this.__addTransform(Fe("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:o,d:r,e:n,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,o,r,n,a){this.__currentPosition={x:n,y:a},this.__addPathCommand(Fe("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:o,cp2y:r,x:n,y:a}))}quadraticCurveTo(t,e,o,r){this.__currentPosition={x:o,y:r},this.__addPathCommand(Fe("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:o,y:r}))}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}arcTo(t,e,o,r,n){const a=this.__currentPosition&&this.__currentPosition.x,i=this.__currentPosition&&this.__currentPosition.y;if(typeof a>"u"||typeof i>"u")return;if(n<0)throw new Error("IndexSizeError: The radius provided ("+n+") is negative.");if(a===t&&i===e||t===o&&e===r||n===0){this.lineTo(t,e);return}const l=this.normalize([a-t,i-e]),c=this.normalize([o-t,r-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],h=Math.acos(Math.abs(u)),f=this.normalize([l[0]+c[0],l[1]+c[1]]),p=n/Math.sin(h/2),d=t+p*f[0],b=e+p*f[1],_=[-l[1],l[0]],v=[c[1],-c[0]],w=function(k){const C=k[0];return k[1]>=0?Math.acos(C):-Math.acos(C)},g=w(_),m=w(v);this.lineTo(d+_[0]*n,b+_[1]*n),this.arc(d,b,n,g,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,e,o,r){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,e),this.lineTo(t+o,e),this.lineTo(t+o,e+r),this.lineTo(t,e+r),this.lineTo(t,e),this.closePath()}fillRect(t,e,o,r){const n=this.__createElement("rect",{x:t,y:e,width:o,height:r},!0);this.__closestGroupOrSvg().appendChild(n),this.__currentElement=n,this.__applyStyleToCurrentElement("fill")}strokeRect(t,e,o,r){const n=this.__createElement("rect",{x:t,y:e,width:o,height:r},!0);this.__closestGroupOrSvg().appendChild(n),this.__currentElement=n,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const e=this.__closestGroupOrSvg().getAttribute("transform"),o=this.__rootSVG.childNodes[1],r=o.childNodes;for(let n=r.length-1;n>=0;n--)r[n]&&o.removeChild(r[n]);this.__currentElement=o,this.__groupStack=[],e&&this.__addTransform(e)}clearRect(t,e,o,r){if(t===0&&e===0&&o===this.width&&r===this.height){this.__clearCanvas();return}const n=this.__closestGroupOrSvg(),a=this.__createElement("rect",{x:t,y:e,width:o,height:r,fill:"#FFFFFF"},!0);n.appendChild(a)}createLinearGradient(t,e,o,r){const n=this.__createElement("linearGradient",{id:_n(this.__ids),x1:t+"px",x2:o+"px",y1:e+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(n),new yi(n,this)}createRadialGradient(t,e,o,r,n,a){const i=this.__createElement("radialGradient",{id:_n(this.__ids),cx:r+"px",cy:n+"px",r:a+"px",fx:t+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(i),new yi(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),o={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"&&(o.decoration="underline"),this.__fontHref&&(o.href=this.__fontHref),o}__wrapTextLink(t,e){if(t.href){const o=this.__createElement("a");return o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),o.appendChild(e),o}return e}__applyText(t,e,o,r){const n=this.__parseFont(),a=this.__closestGroupOrSvg(),i=this.__createElement("text",{"font-family":n.family,"font-size":n.size,"font-style":n.style,"font-weight":n.weight,"text-decoration":n.decoration,x:e,y:o,"text-anchor":vg(this.textAlign),"dominant-baseline":bg(this.textBaseline)},!0);i.appendChild(this.__document.createTextNode(t)),this.__currentElement=i,this.__applyStyleToCurrentElement(r),a.appendChild(this.__wrapTextLink(n,i))}fillText(t,e,o){this.__applyText(t,e,o,"fill")}strokeText(t,e,o){this.__applyText(t,e,o,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,e,o,r,n,a){if(r===n)return;r=r%(2*Math.PI),n=n%(2*Math.PI),r===n&&(n=(n+2*Math.PI-.001*(a?-1:1))%(2*Math.PI));const i=t+o*Math.cos(n),l=e+o*Math.sin(n),c=t+o*Math.cos(r),u=e+o*Math.sin(r),h=a?0:1;let f=0,p=n-r;p<0&&(p+=2*Math.PI),a?f=p>Math.PI?0:1:f=p>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Fe("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:o,ry:o,xAxisRotation:0,largeArcFlag:f,sweepFlag:h,endX:i,endY:l})),this.__currentPosition={x:i,y:l}}clip(){const t=this.__closestGroupOrSvg(),e=this.__createElement("clipPath"),o=_n(this.__ids),r=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),e.setAttribute("id",o),e.appendChild(this.__currentElement),this.__SVGdefs.appendChild(e),t.setAttribute("clip-path",Fe("url(#{id})",{id:o})),t.appendChild(r),this.__currentElement=r}drawImage(...t){let e=t[0],o,r,n,a,i=0,l=0,c,u,h,f,p,d,b,_;if(t.length===3)o=t[1],r=t[2],c=e.width,u=e.height,n=c,a=u;else if(t.length===5)o=t[1],r=t[2],n=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],o=t[5],r=t[6],n=t[7],a=t[8];else throw new Error("Invalid number of arguments passed to drawImage: "+arguments.length);const v=this.__closestGroupOrSvg();this.__currentElement;const w="translate("+o+", "+r+")";if(e instanceof xn){if(h=e.getSvg().cloneNode(!0),h.childNodes&&h.childNodes.length>1){for(f=h.childNodes[0];f.childNodes.length;)_=f.childNodes[0].getAttribute("id"),this.__ids[_]=_,this.__SVGdefs.appendChild(f.childNodes[0]);if(p=h.childNodes[1],p){const g=p.getAttribute("transform");let m;g?m=g+" "+w:m=w,p.setAttribute("transform",m),v.appendChild(p)}}}else(e.nodeName==="CANVAS"||e.nodeName==="IMG")&&(d=this.__createElement("image"),d.setAttribute("width",n),d.setAttribute("height",a),d.setAttribute("preserveAspectRatio","none"),(i||l||c!==e.width||u!==e.height)&&(b=this.__document.createElement("canvas"),b.width=n,b.height=a,b.getContext("2d")?.drawImage(e,i,l,c,u,0,0,n,a),e=b),d.setAttribute("transform",w),d.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.nodeName==="CANVAS"?e.toDataURL():e.getAttribute("src")),v.appendChild(d))}createPattern(t,e){const o=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=_n(this.__ids);let n;return o.setAttribute("id",r),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(n=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),o.appendChild(n),this.__SVGdefs.appendChild(o)):t instanceof xn&&(o.setAttribute("width",""+t.width),o.setAttribute("height",""+t.height),o.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(o)),new th(o,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class vi{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,e,o,r=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),r&&(this.customContext=new xn({canvas:this.canvas,width:e||this.canvas.width,height:o||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,o,r){return this.context.fillRect(t,e,o,r),this.customContext&&this.customContext.fillRect(t,e,o,r),this}fillText(t,e,o,r){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,e,o,r),this.customContext&&this.customContext.fillText(t,e,o),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,o,r){return this.context.strokeText(t,e,o,r),this.customContext&&this.customContext.strokeText(t,e,o),this}strokeRect(t,e,o,r){return this.context.strokeRect(t,e,o,r),this.customContext&&this.customContext.strokeRect(t,e,o,r),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,e=0,o=this.canvas.width,r=this.canvas.height){return this.context.clearRect(t,e,o,r),this.customContext&&this.customContext.clearRect(t,e,o,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,e=this.currentMatrix){const o=new Path2D;o.addPath(t,e),this.currentPath2D=o}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,o=0){return this.translate(e,o),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-e,-o),this.changePath2D(),this}scale(t,e=t,o=0,r=0){return this.translate(o,r),this.context.scale(t,e),this.customContext&&this.customContext.scale(t,e),this.currentMatrix.scale(t,e),this.translate(-o,-r),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,o,r,n,a){return this.context.arc(t,e,o,r,n,a),this.customContext&&this.customContext.arc(t,e,o,r,n,a?-1:1),this.currentPath2D.arc(t,e,o,r,n,a),this}arcTo(t,e,o,r,n){return this.context.arcTo(t,e,o,r,n),this.customContext&&this.customContext.arcTo(t,e,o,r,n),this.currentPath2D.arcTo(t,e,o,r,n),this}ellipse(t,e,o,r,n,a,i,l){return this.context.ellipse(t,e,o,r,n,a,i,l),this.currentPath2D.ellipse(t,e,o,r,n,a,i,l),this}quadraticCurveTo(t,e,o,r){return this.context.quadraticCurveTo(t,e,o,r),this.customContext&&this.customContext.quadraticCurveTo(t,e,o,r),this.currentPath2D.quadraticCurveTo(t,e,o,r),this}bezierCurveTo(t,e,o,r,n,a){return this.context.bezierCurveTo(t,e,o,r,n,a),this.customContext&&this.customContext.bezierCurveTo(t,e,o,r,n,a),this.currentPath2D.bezierCurveTo(t,e,o,r,n,a),this}rect(t,e,o,r){return this.context.rect(t,e,o,r),this.customContext&&this.customContext.rect(t,e,o,r),this.currentPath2D.rect(t,e,o,r),this}createLinearGradient(t,e,o,r,n){const a=this.context.createLinearGradient(t,e,o,r);return n&&Object.entries(n).forEach(([i,l])=>{a.addColorStop(parseFloat(i),l)}),a}createRadialGradient(t,e,o,r,n,a,i){const l=this.context.createRadialGradient(t,e,o,r,n,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 o=e[0],r=e[1];this.context.drawImage(t,o,r)}else if(e.length===4){const o=e[0],r=e[1],n=e[2],a=e[3];this.context.drawImage(t,o,r,n,a)}else if(e.length===8){const o=e[0],r=e[1],n=e[2],a=e[3],i=e[4],l=e[5],c=e[6],u=e[7];this.context.drawImage(t,o,r,n,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,o=this.canvas.width,r=this.canvas.height,n){return this.context.getImageData(t,e,o,r,n)}putImageData(t,e=0,o=0){return this.context.putImageData(t,e,o)}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}}}class wn{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=Is(this.x,this.y,this.toX,this.toY);if(t===0){const e=Math.min(this.x,this.toX),o=Math.min(this.y,this.toY),r=Math.max(this.x,this.toX),n=Math.max(this.y,this.toY);return{x:e,y:o,width:r-e,height:n-o}}else{const e=Math.sin(t),o=Math.cos(t),r=o*this.x-e*this.y,n=o*this.toX-e*this.toY,a=o*this.y+e*this.x,i=o*this.toY+e*this.toX;return{x:Math.min(r,n),y:Math.min(a,i),width:Math.max(r,n)-Math.min(r,n),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,o=this.y,r=t.toX,n=t.toY,a=this.toX-e,i=t.x-r;if(!a&&!i)return null;const l=(this.toY-o)/a,c=(t.y-n)/i;if(a){if(!i)return{x:r,y:l*(r-e)+o}}else return{x:e,y:c*(e-r)+n};const u=(-c*r+n+l*e-o)/(l-c),h=l*(u-e)+o;return isNaN(u)||isNaN(h)?null:{x:u,y:h}}}const eh=wn;class bi extends wn{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,o,r,n,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,o,r,n,a,i,l,!this.sweepFlag)}convert(t,e,o,r,n,a,i,l,c){const u=i/180*Math.PI,h=(t-o)/2,f=(e-r)/2,p=Math.cos(u)*h+Math.sin(u)*f,d=-Math.sin(u)*h+Math.cos(u)*f,b=p*p/(n*n)+d*d/(a*a);if(b>1){const M=Math.sqrt(b);throw n=M*n,a=M*a,new Error(`Radii are too small to build an arc. Correcting them to ${n}/${a}.`)}const _=Math.sqrt((n*n*a*a-n*n*d*d-a*a*p*p)/(n*n*d*d+a*a*p*p)),v=l!=c?1:-1,w=v*_*n*d/a,g=v*_*-a*p/n,m=(t+o)/2,k=(e+r)/2,C=Math.cos(u)*w-Math.sin(u)*g+m,z=Math.sin(u)*w+Math.cos(u)*g+k,tt=(M,$,N,G)=>(M*G>=$*N?1:-1)*Math.acos((M*N+$*G)/(Math.sqrt(M*M+$*$)*Math.sqrt(N*N+G*G))),R=tt(1,0,t-C,e-z)-u,D=tt(t-C,e-z,o-C,r-z);return[C,z,n,a,u,R,R+D]}}const _g=bi;class xg extends wn{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,o=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e,o,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 o,r,n,a;for(let c=0;c<2;++c)o=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,n=c==0?this.x:this.y,Math.abs(o)>1e-12&&(a=-r/(2*o),0<a&&a<1&&[t,e][c].push(o*a*a+r*a+n));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 wg=xg;class us extends wn{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),o=this.x-this.c1x,r=(-e+Math.sqrt(e*e-4*t*o))/2/t,n=(-e-Math.sqrt(e*e-4*t*o))/2/t;const a=[this.y,this.toY],i=[this.x,this.toX];let l;const c=[];Math.abs(r)>1e12&&(r=.5),Math.abs(n)>1e12&&(n=.5),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),n>=0&&n<=1&&(l=this.interpolate(n),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),o=this.y-this.c1y,r=(-e+Math.sqrt(e*e-4*t*o))/2/t,n=(-e-Math.sqrt(e*e-4*t*o))/2/t,Math.abs(r)>1e12&&(r=.5),Math.abs(n)>1e12&&(n=.5),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),n>=0&&n<=1&&(l=this.interpolate(n),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y}));let u=[],h=c.length;for(let d=0;d<h;d++){for(let b=d+1;b<h;b++)c[d].X===c[b].X&&c[d].Y===c[b].Y&&(b=++d);u.push({X:c[d].X,Y:c[d].Y})}const f={x:Math.min.apply(Math,i),y:Math.min.apply(Math,a)},p={x:Math.max.apply(Math,i),y:Math.max.apply(Math,a)};return{x:f.x,y:f.y,width:p.x-f.x,height:p.y-f.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,o,r,n){const a=-3*e+9*o-9*r+3*n,i=t*a+6*e-12*o+6*r;return t*i-3*e+3*o}static bezlen(t,e,o,r,n,a,i,l,c=1){c=Math.max(0,Math.min(c,1));const u=c/2,h=[-.1252,.1252,-.3678,.3678,-.5873,.5873,-.7699,.7699,-.9041,.9041,-.9816,.9816],f=[.2491,.2491,.2335,.2335,.2032,.2032,.1601,.1601,.1069,.1069,.0472,.0472];let p=0;for(let d=0;d<12;d++){const b=u*h[d]+u,_=this.base3(b,t,o,n,i),v=this.base3(b,e,r,a,l);p+=f[d]*Math.sqrt(_*_+v*v)}return u*p}length(t=1){return us.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const e=this.x,o=this.y,r=this.c1x,n=this.c1y,a=this.c2x,i=this.c2y,l=this.toX,c=this.toY;if(t<0||us.bezlen(e,o,r,n,a,i,l,c)<t)return 0;let u=1,h=u/2,f=u-h,p=us.bezlen(e,o,r,n,a,i,l,c,f);for(;Math.abs(p-t)>.01;)h/=2,f+=(p<t?1:-1)*h,p=us.bezlen(e,o,r,n,a,i,l,c,f);return f}getPointAtSegmentLength(t){const e=this.getTatLen(t);let o=1-e,r=Math.pow(o,3),n=Math.pow(o,2),a=e*e,i=a*e,l=r*this.x+n*3*e*this.c1x+o*3*e*e*this.c2x+i*this.toX,c=r*this.y+n*3*e*this.c1y+o*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),h=this.y+2*e*(this.c1y-this.y)+a*(this.c2y-2*this.c1y+this.y),f=this.c1x+2*e*(this.c2x-this.c1x)+a*(this.toX-2*this.c2x+this.c1x),p=this.c1y+2*e*(this.c2y-this.c1y)+a*(this.toY-2*this.c2y+this.c1y),d=o*this.x+e*this.c1x,b=o*this.y+e*this.c1y,_=o*this.c2x+e*this.toX,v=o*this.c2y+e*this.toY,w=90-Math.atan2(u-f,h-p)*180/Math.PI;return{x:l,y:c,m:{x:u,y:h},n:{x:f,y:p},start:{x:d,y:b},end:{x:_,y:v},alpha:w}}}const Vo=us,gr=Math.PI*2;function oh(s,t,e,o){const r=s*o-t*e<0?-1:1;let n=s*e+t*o;return n>1&&(n=1),n<-1&&(n=-1),r*Math.acos(n)}function kg(s,t,e,o,r,n,a,i,l,c){const u=c*(s-e)/2+l*(t-o)/2,h=-l*(s-e)/2+c*(t-o)/2,f=a*a,p=i*i,d=u*u,b=h*h;let _=f*p-f*b-p*d;_<0&&(_=0),_/=f*b+p*d,_=Math.sqrt(_)*(r===n?-1:1);const v=_*a/i*h,w=_*-i/a*u,g=c*v-l*w+(s+e)/2,m=l*v+c*w+(t+o)/2,k=(u-v)/a,C=(h-w)/i,z=(-u-v)/a,tt=(-h-w)/i,R=oh(1,0,k,C);let D=oh(k,C,z,tt);return n===0&&D>0&&(D-=gr),n===1&&D<0&&(D+=gr),[g,m,R,D]}function Cg(s,t){const e=1.3333333333333333*Math.tan(t/4),o=Math.cos(s),r=Math.sin(s),n=Math.cos(s+t),a=Math.sin(s+t);return[o,r,o-r*e,r+o*e,n+a*e,a-n*e,n,a]}function sh(s,t,e,o,r,n,a,i,l){const c=Math.sin(l*gr/360),u=Math.cos(l*gr/360),h=u*(s-e)/2+c*(t-o)/2,f=-c*(s-e)/2+u*(t-o)/2;if(h===0&&f===0)return[];if(a===0||i===0)return[];a=Math.abs(a),i=Math.abs(i);const p=h*h/(a*a)+f*f/(i*i);p>1&&(a*=Math.sqrt(p),i*=Math.sqrt(p));const d=kg(s,t,e,o,r,n,a,i,c,u),b=[];let _=d[2],v=d[3];const w=Math.max(Math.ceil(Math.abs(v)/(gr/4)),1);v/=w;for(let g=0;g<w;g++)b.push(Cg(_,v)),_+=v;return b.map(g=>{for(let m=0;m<g.length;m+=2){let k=g[m+0],C=g[m+1];k*=a,C*=i;const z=u*k-c*C,tt=c*k+u*C;g[m+0]=z+d[0],g[m+1]=tt+d[1]}return g})}function _i(s,t,e,o,r,n){return[s/3+.6666666666666666*e,t/3+.6666666666666666*o,r/3+.6666666666666666*e,n/3+.6666666666666666*o,r,n]}function yr(s,t,e,o){return[s,t,e,o,e,o]}const kn={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class me{static createSVGElement(t="path",e){const o=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return e&&Ls(o,e),o}static createSvgPath(t,e){return this.createSVGElement("path",{d:t,id:e||Ps()})}static downloadFromSVGElement(t,e="shape"){return kh(hg(t),`${e}.svg`)}static downloadFromSVGString(t,e="shape"){return kh(yu(t),`${e}.svg`)}static getSVGRawStringFromElement(t){return Ku(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 me.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(o,r,n)=>{let a=r.toLowerCase();const i=Ua(n);for(a=="m"&&i.length>kn[a]&&(e.push([r,...i.splice(0,kn[a])]),a="l",r=r=="m"?"l":"L");i.length;){if(i.length<kn[a])throw new Error(`parseSVGPath substring:{ ${o} } command:{ ${r} } args:{ ${i} }`);e.push([r,...i.splice(0,kn[a])])}return a=="z"&&e.push([r]),""}),e}static absolutizeSVGPath(t){let e=0,o=0,r=0,n=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]+=r,a[7]+=n;break;case"v":a[1]+=n;break;case"h":a[1]+=r;break;default:for(let c=1;c<a.length;)a[c++]+=r,a[c++]+=n}switch(l){case"Z":r=e,n=o;break;case"H":r=a[1];break;case"V":n=a[1];break;case"M":r=e=a[1],n=o=a[2];break;default:r=a[a.length-2],n=a[a.length-1]}return a})}static relativeSVGPath(t){let e=0,o=0,r=0,n=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]-=r,a[7]-=n;break;case"V":a[1]-=n;break;case"H":a[1]-=r;break;default:for(let c=1;c<a.length;)a[c++]-=r,a[c++]-=n}switch(l){case"z":r=e,n=o;break;case"h":r+=a[1];break;case"v":n+=a[1];break;case"m":r+=a[1],n+=a[2],e+=a[1],o+=a[2];break;default:r+=a[a.length-2],n+=a[a.length-1]}return a})}static normalizeSVGPath(t){const e=[];let o=0,r=0,n=0,a=0,i=0,l=0,c=0,u=0,h;for(let f=0,p=t.length;f<p;f++){let d=t[f];const b=d[0];switch(b){case"M":o=d[1],r=d[2];break;case"A":const _=sh(n,a,d[6],d[7],d[4],d[5],d[1],d[2],d[3]);if(!_.length)continue;_.forEach((g,m)=>{const[k,C,z,tt,R,D,M,$]=g;d=["C",z,tt,R,D,M,$],m<_.length-1&&e.push(d)});break;case"S":let v=n,w=a;(h=="C"||h=="S")&&(v+=v-c,w+=w-u),d=["C",v,w,d[1],d[2],d[3],d[4]];break;case"T":h=="Q"||h=="T"?(i=n*2-i,l=a*2-l):(i=n,l=a),d=["C",..._i(n,a,i,l,d[1],d[2])];break;case"Q":i=d[1],l=d[2],d=["C",..._i(n,a,d[1],d[2],d[3],d[4])];break;case"L":d=["C",...yr(n,a,d[1],d[2])];break;case"H":d=["C",...yr(n,a,d[1],a)];break;case"V":d=["C",...yr(n,a,n,d[1])];break;case"Z":d=["C",...yr(n,a,o,r)];break}h=b,n=d[d.length-2],a=d[d.length-1],d.length>4?(c=d[d.length-4],u=d[d.length-3]):(c=n,u=a),e.push(d)}return e}static catmullRom2bezier(t){const e=[];for(let o=0,r=t.length;r-2>o;o+=2){let n;o==0?n=[{x:t[o],y:t[o+1]},{x:t[o],y:t[o+1]},{x:t[o+2],y:t[o+3]},{x:t[o+4],y:t[o+5]}]:r-4==o?n=[{x:t[o-2],y:t[o-1]},{x:t[o],y:t[o+1]},{x:t[o+2],y:t[o+3]},{x:t[o+2],y:t[o+3]}]:n=[{x:t[o-2],y:t[o-1]},{x:t[o],y:t[o+1]},{x:t[o+2],y:t[o+3]},{x:t[o+4],y:t[o+5]}];const a=[{x:n[1].x,y:n[1].y},{x:(-n[0].x+6*n[1].x+n[2].x)/6,y:(-n[0].y+6*n[1].y+n[2].y)/6},{x:(n[1].x+6*n[2].x-n[3].x)/6,y:(n[1].y+6*n[2].y-n[3].y)/6},{x:n[2].x,y:n[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 o=["L",0,0],r;for(let n=0,a=t.length;n<a;n++){const i=t[n];switch(i[0]){case"M":o=["L",i[1],i[2]],e.push(i);break;case"Z":e.push(o);break;case"H":r=e[e.length-1]||["L",0,0],e.push(["L",i[1],r[r.length-1]]);break;case"V":r=e[e.length-1]||["L",0,0],e.push(["L",r[r.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 o,r=0,n=0;for(let a=0,i=t.length;a<i;a++){const l=t[a],c=e[l[0]];c&&(l[0]=c.to,o&&(o[0]===c.to?(r=2*Number(o[c.x+2])-Number(o[c.x]),n=2*Number(o[c.x+3])-Number(o[c.x+1])):(r=Number(o[o.length-2]),n=Number(o[o.length-1]))),l.splice(1,0,r,n)),o=l}return t}}class Ge{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(me.parseSVGPath(t),e):t instanceof Ge?this.resetFromSVGPathData(t.toSVGPathData(),e):this.resetFromSVGPathData(t||[],e)}resetFromSVGPathData(t,e){this.normalizedLines=[];const o=me.normalizeSVGPath(me.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let r=!1;for(let n=0,a=o.length;n<a;n++){const i=o[n];if(i[0]=="M"){r||(r=!0,this.startPathX=i[1],this.startPathY=i[2]),this.prevPathX=i[1],this.prevPathY=i[2];continue}this.appendLine(new Vo({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(n=>{({x:n.x,y:n.y}=e.transformPoint({x:n.x,y:n.y})),{x:n.c1x,y:n.c1y}=e.transformPoint({x:n.c1x,y:n.c1y}),{x:n.c2x,y:n.c2y}=e.transformPoint({x:n.c2x,y:n.c2y}),{x:n.toX,y:n.toY}=e.transformPoint({x:n.toX,y:n.toY})}))}static fromPolymorphPoints(t){const e=new Ge;e.prevPathX=e.startPathX=t[0]||0,e.prevPathY=e.startPathY=t[1]||0;for(let o=2,r=t.length;o+5<r;o+=6)e.appendLine(new Vo({c1x:t[o],c1y:t[o+1],c2x:t[o+2],c2y:t[o+3],toX:t[o+4],toY:t[o+5]}));return e}static fromLines(t){const e=new Ge;e.prevPathX=e.startPathX=t[0].x||0,e.prevPathY=e.startPathY=t[0].y||0;for(let o=0,r=t.length;o<r;o++)e.appendLine(t[o]);return e}appendLine(t){if(t instanceof _g){sh(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,h,f,p,d,b,_,v]=c;this.normalizedLines.push(new Vo({x:this.prevPathX,y:this.prevPathY,c1x:f,c1y:p,c2x:d,c2y:b,toX:_,toY:v})),this.prevPathX=_,this.prevPathY=v});return}let e,o,r,n,a,i;t instanceof Vo?(e=t.c1x,o=t.c1y,r=t.c2x,n=t.c2y,a=t.toX,i=t.toY):t instanceof wg?[e,o,r,n,a,i]=_i(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[e,o,r,n,a,i]=yr(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new Vo({x:this.prevPathX,y:this.prevPathY,c1x:e,c1y:o,c2x:r,c2y:n,toX:a,toY:i})),this.prevPathX=a,this.prevPathY=i}toSVGPathData(){const{startPathX:t,startPathY:e,normalizedLines:o}=this.updateTransform(),r=[];r.push(["M",t,e]);for(let n=0,a=o.length;n<a;n++)r.push(...o[n].toSVGPathData());return r}toSVGPathD(){return me.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:e,startPathY:o,normalizedLines:r}=this.updateTransform();t.beginPath(),t.moveTo(e,o),r.forEach(n=>{n.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),e=[],o=[];if(t.forEach(l=>{const c=l.getBoundingClientRect();e.push(c.x,c.x+c.width),o.push(c.y,c.y+c.height)}),e.length==0||o.length==0)return{x:0,y:0,width:0,height:0};const r=Math.min.apply(0,e),n=Math.min.apply(0,o),a=Math.max.apply(0,e),i=Math.max.apply(0,o);return{x:r,y:n,width:a-r,height:i-n}}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 Ue;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,o=this.startPathY;({x:e,y:o}=t.transformPoint({x:e,y:o}));const r=[];return this.normalizedLines.forEach(n=>{let a=n.x,i=n.y,l=n.c1x,c=n.c1y,u=n.c2x,h=n.c2y,f=n.toX,p=n.toY;({x:a,y:i}=t.transformPoint({x:a,y:i})),{x:l,y:c}=t.transformPoint({x:l,y:c}),{x:u,y:h}=t.transformPoint({x:u,y:h}),{x:f,y:p}=t.transformPoint({x:f,y:p}),r.push(new Vo({x:a,y:i,c1x:l,c1y:c,c2x:u,c2y:h,toX:f,toY:p}))}),{startPathX:e,startPathY:o,normalizedLines:r}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((e,o)=>e+=o.length(),0)}getPointAtLength(t){const{normalizedLines:e}=this.updateTransform();let o=0;const r=e.length;for(let n=0;n<r;n++){const a=e[n],i=a.length();if(o+i>=t)return a.getPointAtSegmentLength(t-o);o+=i}return e[r-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:e,startPathY:o,normalizedLines:r}=this.updateTransform(),n=r.length;if(n===0)return{x:e,y:o};if(n===1)return r[0].interpolate(t);{let a=t*n,i=r[0];if(a--,a>1)for(let l=1;l<n&&(i=r[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 o=this.getSubpathsAtLength(this,e,1);return t?this.getSubpathsAtLength(o,t):o}}getSubpathsAtLength(t,e,o){const{startPathX:r,startPathY:n,normalizedLines:a}=t.updateTransform();let i=null,l=0;const c=new Ge;c.prevPathX=c.startPathX=r,c.prevPathY=c.startPathY=n;for(let u=0,h=a.length;u<h;u++){const f=a[u],p=f.length();if(l+p>e&&!i){const d=f.getPointAtSegmentLength(e-l);if(c.appendLine(new Vo({c1x:d.start.x,c1y:d.start.y,c2x:d.m.x,c2y:d.m.y,toX:d.x,toY:d.y})),o)return c;i=c,c.appendLine(new Vo({c1x:d.n.x,c1y:d.n.y,c2x:d.end.x,c2y:d.end.y,toX:f.x,toY:f.y})),l+=p;continue}l+=p,c.appendLine(f)}return c}closestPoint(t,e){const o=this.getTotalLength();let r={x:t,y:e},n=0,a=1/0,i=8;for(let c=0;c<=o;c+=i){let u=this.getPointAtLength(c),h=gi(u.x,u.y,t,e);h<a&&(r=u,n=c,a=h)}for(i/=2;i>.5;){let c=n-i,u=this.getPointAtLength(c),h=gi(u.x,u.y,t,e),f=n+i,p=this.getPointAtLength(f),d=gi(p.x,p.y,t,e);c>=0&&h<a?(r=u,n=c,a=h):f<=o&&d<a?(r=p,n=f,a=d):i/=2}const l=this.getPointAtLength(n+(n===o?-.1:.1));return{point:r,rotation:n>=o?Is(l.x,l.y,r.x,r.y):Is(r.x,r.y,l.x,l.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:e,normalizedLines:o}=this.updateTransform();return[t,e].concat(o.reduce((r,n)=>r.concat([n.c1x,n.c1y,n.c2x,n.c2y,n.toX,n.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,e=t.length;let o=t[e-2],r=t[e-1],n=0;for(let a=0;a<e;a+=6)n+=mi(t[a],t[a+1],o,r),o=t[a],r=t[a+1];return Math.floor(n)}expendFill(t){const e=this.polymorphPoints,o=e.length;let r=t-o;const n=Math.ceil(t/o),a=[];a.push(["M",e[0],e[1]]);let i=2;for(;i+5<=o-1;){const l=e[i++],c=e[i++],u=e[i++],h=e[i++],f=e[i++],p=e[i++];a.push(["C",l,c,u,h,f,p]);let d=0;for(;d<n&&r>0;)a.push(["C",f,p,f,p,f,p]),r-=6,d++}return a}static mixPoints(t,e,o){const r=t.length,n=new Array(r);for(let a=0;a<r;a++)n[a]=xe(t[a]+(e[a]-t[a])*o,6);return n}static getPathInterpolator(t,e){return o=>Math.abs(o-0)<Number.EPSILON?t:Math.abs(o-1)<Number.EPSILON?e:Ge.fromPolymorphPoints(Ge.mixPoints(new Ge({d:t}).polymorphPoints,new Ge({d:e}).polymorphPoints,o)).toSVGPathData()}}(function(){if(!window.requestAnimationFrame){let s=pe();window.requestAnimationFrame=function(t){const e=pe(),o=Math.max(0,16-(e-s)),r=window.setTimeout(function(){t(e+o)},o);return s=e+o,r}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(s){clearTimeout(s)})})();const ae=s=>{let t=!1;return window.requestAnimationFrame(function e(o){!t&&s(o)&&window.requestAnimationFrame(e)}),()=>{t=!0}};function xi(s,t=0){if(t==0)return s(pe()),()=>{};{const e=pe();return ae(o=>o-e>=t?(s(o),!1):!0)}}function Tg(s,t=0){let e=!1,o=0;const r=pe(),n=a=>{if(e)return;o++;const i=a-r-o*t;s(a,o,t<=i),xi(n,Math.max(0,t-i))};return xi(n,t),()=>{e=!0}}function Sg(s,t=20){const e=1e3/t;let o=0,r;return()=>(pe()-o>=e&&(o=pe(),r=s()),r)}const Cn=new qa;let wi=!1;function rh(s,t,e){if(s&&t&&Cn.set(s,t),wi)return;wi=!0;const o=pe();Pg(r=>{for(wi=!1;(r.timeRemaining()>0||e&&pe()-o>=e)&&Cn.length>0;){const n=Cn.shift();n&&n[1]()}Cn.length>0&&rh()})}let Tn=0,hs=33,Xo=33,ki;const nh=new MessageChannel,Eg=nh.port2;nh.port1.onmessage=s=>{ki!==null&&ki({didTimeout:Tn<=pe(),timeRemaining:()=>Math.max(0,Tn-pe())})};function Pg(s){return ki=s,requestAnimationFrame(t=>{let e=t-Tn+Xo;e<Xo&&hs<Xo?(e<8&&(e=8),Xo=e<hs?hs:e):e>Xo&&hs>Xo?Xo=e<hs?hs:e:hs=e,Tn=t+Xo,Eg.postMessage(null)})}class vr{static _nextId=0;static nextId(){return vr._nextId++}}const ht={Linear:{None:function(s){return s}},Ease:{In:function(s){return Math.pow(s,1.7)}},Quadratic:{In:function(s){return s*s},Out:function(s){return s*(2-s)},InOut:function(s){return(s*=2)<1?.5*s*s:-.5*(--s*(s-2)-1)}},Cubic:{In:function(s){return s*s*s},Out:function(s){return--s*s*s+1},InOut:function(s){return(s*=2)<1?.5*s*s*s:.5*((s-=2)*s*s+2)}},Quartic:{In:function(s){return s*s*s*s},Out:function(s){return 1- --s*s*s*s},InOut:function(s){return(s*=2)<1?.5*s*s*s*s:-.5*((s-=2)*s*s*s-2)}},Quintic:{In:function(s){return s*s*s*s*s},Out:function(s){return--s*s*s*s*s+1},InOut:function(s){return(s*=2)<1?.5*s*s*s*s*s:.5*((s-=2)*s*s*s*s+2)}},Sinusoidal:{In:function(s){return 1-Math.sin((1-s)*Math.PI/2)},Out:function(s){return Math.sin(s*Math.PI/2)},InOut:function(s){return .5*(1-Math.sin(Math.PI*(.5-s)))}},Exponential:{In:function(s){return s===0?0:Math.pow(1024,s-1)},Out:function(s){return s===1?1:1-Math.pow(2,-10*s)},InOut:function(s){return s===0?0:s===1?1:(s*=2)<1?.5*Math.pow(1024,s-1):.5*(-Math.pow(2,-10*(s-1))+2)}},Circular:{In:function(s){return 1-Math.sqrt(1-s*s)},Out:function(s){return Math.sqrt(1- --s*s)},InOut:function(s){return(s*=2)<1?-.5*(Math.sqrt(1-s*s)-1):.5*(Math.sqrt(1-(s-=2)*s)+1)}},Elastic:{In:function(s){return s===0?0:s===1?1:-Math.pow(2,10*(s-1))*Math.sin((s-1.1)*5*Math.PI)},Out:function(s){return s===0?0:s===1?1:Math.pow(2,-10*s)*Math.sin((s-.1)*5*Math.PI)+1},InOut:function(s){return s===0?0:s===1?1:(s*=2,s<1?-.5*Math.pow(2,10*(s-1))*Math.sin((s-1.1)*5*Math.PI):.5*Math.pow(2,-10*(s-1))*Math.sin((s-1.1)*5*Math.PI)+1)}},Back:{In:function(s){return s===1?1:s*s*((1.70158+1)*s-1.70158)},Out:function(s){return s===0?0:--s*s*((1.70158+1)*s+1.70158)+1},InOut:function(s){const t=2.5949095;return(s*=2)<1?.5*(s*s*((t+1)*s-t)):.5*((s-=2)*s*((t+1)*s+t)+2)}},Bounce:{In:function(s){return 1-ht.Bounce.Out(1-s)},Out:function(s){return s<1/2.75?7.5625*s*s:s<2/2.75?7.5625*(s-=1.5/2.75)*s+.75:s<2.5/2.75?7.5625*(s-=2.25/2.75)*s+.9375:7.5625*(s-=2.625/2.75)*s+.984375},InOut:function(s){return s<.5?ht.Bounce.In(s*2)*.5:ht.Bounce.Out(s*2-1)*.5+.5}},generatePow:function(s=4){return s=s<Number.EPSILON?Number.EPSILON:s,s=s>1e4?1e4:s,{In:function(t){return t**s},Out:function(t){return 1-(1-t)**s},InOut:function(t){return t<.5?(t*2)**s/2:(1-(2-t*2)**s)/2+.5}}},random:function(s){return Math.random()},createStep:function(s){return function(t){return Math.floor(t*s)/s}},createNoisyEasing:function(s,t=.1){const e=1-t;return function(o){return t*Math.random()+e*s(o)}},swing:function(s){return s+Math.sin(s*Math.PI*2)/2},causeSeizures:function(s){return s+.2*Math.random()-.1}},Ci=ht;function Og(s){switch(s){case ht.Quadratic.In:return ht.Quadratic.Out;case ht.Quadratic.Out:return ht.Quadratic.In;case ht.Quadratic.InOut:return ht.Quadratic.InOut;case ht.Cubic.In:return ht.Cubic.Out;case ht.Cubic.Out:return ht.Cubic.In;case ht.Cubic.InOut:return ht.Cubic.InOut;case ht.Quartic.In:return ht.Quartic.Out;case ht.Quartic.Out:return ht.Quartic.In;case ht.Quartic.InOut:return ht.Quartic.InOut;case ht.Quintic.In:return ht.Quintic.Out;case ht.Quintic.Out:return ht.Quintic.In;case ht.Quintic.InOut:return ht.Quintic.InOut;case ht.Sinusoidal.In:return ht.Sinusoidal.Out;case ht.Sinusoidal.Out:return ht.Sinusoidal.In;case ht.Sinusoidal.InOut:return ht.Sinusoidal.InOut;case ht.Exponential.In:return ht.Exponential.Out;case ht.Exponential.Out:return ht.Exponential.In;case ht.Exponential.InOut:return ht.Exponential.InOut;case ht.Circular.In:return ht.Circular.Out;case ht.Circular.Out:return ht.Circular.In;case ht.Circular.InOut:return ht.Circular.InOut;case ht.Elastic.In:return ht.Elastic.Out;case ht.Elastic.Out:return ht.Elastic.In;case ht.Elastic.InOut:return ht.Elastic.InOut;case ht.Back.In:return ht.Back.Out;case ht.Back.Out:return ht.Back.In;case ht.Back.InOut:return ht.Back.InOut;case ht.Bounce.In:return ht.Bounce.Out;case ht.Bounce.Out:return ht.Bounce.In;case ht.Bounce.InOut:return ht.Bounce.InOut;default:return s}}const Rs={Utils:{Linear:function(s,t,e){return(t-s)*e+s},Factorial:function(){const s=[1];return function(t){let e=1;if(s[t])return s[t];for(let o=t;o>1;o--)e*=o;return s[t]=e,e}}(),Bernstein:function(s,t){const e=Rs.Utils.Factorial;return e(s)/e(t)/e(s-t)},CatmullRom:function(s,t,e,o,r){const n=(e-s)*.5,a=(o-t)*.5,i=r*r,l=r*i;return(2*t-2*e+n+a)*l+(-3*t+3*e-2*n-a)*i+n*r+t},QuadraticBezier:(s,t,e,o)=>{const r=1-o;return r*r*s+2*r*o*t+o*o*e},CubicBezier:(s,t,e,o,r)=>{const n=1-r;return n*n*n*s+3*n*n*r*t+3*n*r*r*e+r*r*r*o}},Linear:function(s,t){const e=s.length-1,o=e*t,r=Math.floor(o),n=Rs.Utils.Linear;return t<0?n(s[0],s[1],o):t>1?n(s[e],s[e-1],e-o):n(s[r],s[r+1>e?e:r+1],o-r)},Bezier:function(s,t){let e=0;const o=s.length-1,r=Math.pow,n=Rs.Utils.Bernstein;for(let a=0;a<=o;a++)e+=r(1-t,o-a)*r(t,a)*s[a]*n(o,a);return e},CatmullRom:function(s,t){const e=s.length-1;let o=e*t,r=Math.floor(o);const n=Rs.Utils.CatmullRom;return s[0]===s[e]?(t<0&&(r=Math.floor(o=e*(1+t))),n(s[(r-1+e)%e],s[r],s[(r+1)%e],s[(r+2)%e],o-r)):t<0?s[0]-(n(s[0],s[0],s[1],s[1],-o)-s[0]):t>1?s[e]-(n(s[e],s[e],s[e-1],s[e-1],o-e)-s[e]):n(s[r?r-1:0],s[r],s[e<r+1?e:r+1],s[e<r+2?e:r+2],o-r)}},Ti=Rs;class ah{_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=pe(),e=!1){const o=Object.keys(this._tweens);for(let r=0;r<o.length;r++){const n=this._tweens[o[r]],a=!e;n&&n.update(t,a)===!1&&!e&&delete this._tweens[o[r]]}return!!Object.keys(this._tweens).length}}const je=new ah;class ih{constructor(t,e=je){this._object=t,this._group=e}_id=vr.nextId();_isPlaying=!1;_startTime=0;_delayTime=0;_durationTime=1e3;_isPaused=!1;_pauseStartTime=0;_initialRepeat=0;_repeat=0;_repeatDelayTime;_yoyo=!1;_reversed=!1;_valuesStart={};_valuesEnd={};_valuesStartRepeat={};_easingFunction=Ci.Linear.None;_interpolationFunction=Ti.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=pe()){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,o,r){for(const n in o){const a=t[n],i=Array.isArray(a),l=i?"array":typeof a,c=!i&&Array.isArray(o[n]);if(!(l==="undefined"||l==="function")){if(c){let u=o[n];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,a)),o[n]=[a].concat(u)}if((l==="object"||i)&&a&&!c){e[n]=i?[]:{};for(const u in a)e[n][u]=a[u];r[n]=i?[]:{},this._setupProperties(a,e[n],o[n],r[n])}else typeof e[n]>"u"&&(e[n]=a),i||(e[n]*=1),c?r[n]=o[n].slice().reverse():r[n]=e[n]||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=pe()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=pe()){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=je){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=Ci.Linear.None){return this._easingFunction=t,this}interpolation(t=Ti.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=pe(),e=!0){if(this._isPaused)return!0;let o,r;const n=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>n)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),r=(t-this._startTime)/this._durationTime,r=this._durationTime===0||r>1?1:r;const a=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(o in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[o]=="string"&&(this._valuesStartRepeat[o]=this._valuesStartRepeat[o]+parseFloat(this._valuesEnd[o])),this._yoyo&&this._swapEndStartRepeatValues(o),this._valuesStart[o]=this._valuesStartRepeat[o];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,o,r){for(const n in o){if(e[n]===void 0)continue;const a=e[n]||0;let i=o[n];const l=Array.isArray(t[n]),c=Array.isArray(i);!l&&c?t[n]=this._interpolationFunction(i,r):typeof i=="object"&&i?this._updateProperties(t[n],a,i,r):(i=this._handleRelativeValue(a,i),typeof i=="number"&&(t[n]=a+(i-a)*r))}}_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],o=this._valuesEnd[t];typeof o=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(o):this._valuesStartRepeat[t]=o,this._valuesEnd[t]=e}}const Ig=ih,Rg=vr.nextId,Fg=je.getAll.bind(je),$g=je.removeAll.bind(je),Dg=je.add.bind(je),Lg=je.remove.bind(je),Mg=je.update.bind(je),_t={now:pe,Sequence:vr,Easing:Ci,Interpolation:Ti,Group:ah,Tween:Ig,nextId:Rg,getAll:Fg,removeAll:$g,add:Dg,remove:Lg,update:Mg};class Ag{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=pe(),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=pe();t=e-this.oldTime,this.oldTime=e,this.elapsedTime+=t}return t}}const lh=Ag;class Oe{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){i0(this.tweens,(e,o)=>t?e.delay>o.delay:e.delay<=o.delay)}cloneTweens(t=this.tweens){const e=[];return t.forEach(o=>{const r={...o};delete r.tween,r.fromValues={...r.fromValues},r.toValues={...r.toValues},e.push(r)}),e}addTween(t,e,o){const r={fromValues:t,toValues:e,frames:typeof o?.frames=="number"?o.frames:1,delay:typeof o?.delay=="number"?o.delay:this.tweens.length,easeFunction:o?.easeFunction||ht.Linear.None,interpolationFunction:o?.interpolationFunction||Rs.Linear,repeat:typeof o?.repeat=="number"?o.repeat:0,yoyo:o?.yoyo||!1,onStart:o?.onStart||(()=>{}),onUpdate:o?.onUpdate||(()=>{}),onComplete:o?.onComplete||(()=>{})};return this.tweens.push(r),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const e=new lh,o=this.frameDuration;return new Promise(r=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=ae(n=>{if(!this.isPaused){const i=Math.max(0,n-this.pausedDuration),l=Math.max(0,e.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*o<=l).forEach(c=>{c.tween||(c.tween=new ih({...c.fromValues}).to({...c.toValues},c.frames*o).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))*o>l?c.tween.update(i):(c.tween.isPlaying()&&c.tween.end(),Um(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),r()),a})})}isPaused=!1;pausedClock=new lh;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(o=>{e=Math.max(e,o.delay+o.frames),o.easeFunction=Og(o.easeFunction);const r={...o.toValues};o.toValues={...o.fromValues},o.fromValues={...r}}),t.forEach(o=>{o.delay=e-o.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}class oe extends cr{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=Ps(),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 o=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",o),this.strokeDashTotalLength=Ua(o).reduce((r,n)=>r+n,0)}return a0(this)}forceSetCXY(t,e){this.cX=t,this.cY=e,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new Ge,Za(()=>{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(o=>{const r=o.originMatrix?o.originMatrix.clone():new Ue;r.translate(-t.x+o.x,-t.y+o.y),o.originMatrix=r});const e=this.originMatrix?this.originMatrix.clone():new Ue;e.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=e}isPointInPath(t,e,o){if(o instanceof vi)return o.isPointInPath(new Path2D(this.toSVGPathD()),t,e);let r;try{r=new SVGPoint(t,e)}catch{r=o.createSVGPoint(),r.x=t,r.y=e}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(r);{const n=this.getBoundingClientRect();if(n)return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height}return!1}isPointInStroke(t,e,o){if(o instanceof vi)return o.isPointInStroke(new Path2D(this.toSVGPathD()),t,e);let r;try{r=new SVGPoint(t,e)}catch{r=o.createSVGPoint(),r.x=t,r.y=e}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(r):!1}clone(){return Gm(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(([o,r])=>[to(o),r]))):e&&(this.attrs[to(t)]=e)}getAttr(t,e){return this.attrs[t]||this.attrs[to(t)]||e}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[to(t)]}distance(t){return mi(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=ze(Is(this.x,this.y,t.x,t.y))}followTo(t,e=3){this.rotateTo(t);const{dx:o,dy:r}=xo(Yt(this.degree),e);this.vx=o,this.vy=r,this.run()}followAccelerationTo(t,e=.05){this.rotateTo(t);const{dx:o,dy:r}=xo(Yt(this.degree),e);this.ax=o,this.ay=r,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const e=t.x-this.x,o=t.y-this.y,r=e*e+o*o,n=Math.sqrt(r),a=this.mass*t.mass/r,i=a*e/n,l=a*o/n;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=Yo(t?.gravity,0);this.vy+=e;const o=Yo(t?.friction,1);this.vx*=o,this.vy*=o,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,e){const o=Yo(e?.easing,.05),r=t.x-this.cX-this.x,n=t.y-this.cY-this.y;this.vx=r*o,this.vy=n*o,this.run(e)}runSpringTo(t,e){const o=Yo(e?.spring,.03);(Array.isArray(t)?t:[t]).forEach(r=>{const n=r.x-this.cX-this.x,a=r.y-this.cY-this.y,i=n*o,l=a*o;this.vx+=i,this.vy+=l}),this.run({friction:.9,...e})}springMassTo(t,e){const o=Yo(e?.springLength,100),r=Yo(e?.spring,1e-4),n=t.x-this.x,a=t.y-this.y,i=Math.sqrt(n*n+a*a);if(i<o){const l=n*r,c=a*r;return this.vx+=l/this.mass,this.vy+=c/this.mass,t.vx-=l/t.mass,t.vy-=c/t.mass,1-i/o}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 o=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,e*o),this.getPointAtLength(e*o)}strokeDashTween(t=1e3,e){const o=this.initPathD(),r=xe(o.getTotalLength(),0);this.setAttr({strokeDasharray:`${r} ${r}`,strokeDashoffset:`${r}`});const n=e?.onUpdate,a=new Oe({frameDuration:t});a.addTween({offset:r},{offset:0},Object.assign(e||{},{onUpdate:(i,l)=>{this.setAttr("strokeDashoffset",""+xe(i.offset,2)),n?.(i,l)}})),a.play()}}class Ng extends oe{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,o){this.cX=t,this.cY=e,this.cZ=o}rotateX(t){({x:this.y,y:this.z}=lo(Yt(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=lo(Yt(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=lo(Yt(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 pi(this.x,this.y,this.z)}distance(t){const e=t.x-this.x,o=t.y-this.y,r=t.z-this.z;return Math.sqrt(e*e+o*o+r*r)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const e=this.length();if(e){const o=t/e;this.scalar(o)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,o=this.y,r=this.z;return{x:o*t.z-r*t.y,y:r*t.x-e*t.z,z:e*t.y-o*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 Sn=Ng,ch=[1,0,0,1,0,0],uh=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];class Ue{value;_m13=0;_m23=0;_m33=1;matrix3d;constructor(t=ch){this.value=Array.from(t),this.m13=0,this.m23=0,this.m33=1,this.matrix3d=this.toMatrix3D()}static fromString(t){const e=new Ue,o=iu("number",t);return o.length===6&&o.forEach((r,n)=>{r.fullMatch&&(e.value[n]=parseFloat(r.fullMatch))}),e}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 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 He(e)}identity(){return this.value=Array.from(ch),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 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 Ue([...this.value])}multiply(t){const e=this.clone(),o=t instanceof Ue?t:new Ue(t);return this.m11=o.m11*e.m11+o.m12*e.m21+o.m13*e.m31,this.m12=o.m11*e.m12+o.m12*e.m22+o.m13*e.m32,this.m13=o.m11*e.m13+o.m12*e.m23+o.m13*e.m33,this.m21=o.m21*e.m11+o.m22*e.m21+o.m23*e.m31,this.m22=o.m21*e.m12+o.m22*e.m22+o.m23*e.m32,this.m23=o.m21*e.m13+o.m22*e.m23+o.m23*e.m33,this.m31=o.m31*e.m11+o.m32*e.m21+o.m33*e.m31,this.m32=o.m31*e.m12+o.m32*e.m22+o.m33*e.m32,this.m33=o.m31*e.m13+o.m32*e.m23+o.m33*e.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}inverse(){const t=this.m11,e=this.m12,o=this.m13,r=this.m21,n=this.m22,a=this.m23,i=this.m31,l=this.m32,c=this.m33,u=c*n-a*l,h=-c*r+a*i,f=l*r-n*i;let p=t*u+e*h+o*f;return p?(p=1/p,this.m11=u*p,this.m12=(-c*e+o*l)*p,this.m13=(a*e-o*n)*p,this.m21=h*p,this.m22=(c*t-o*i)*p,this.m23=(-a*t+o*r)*p,this.m31=f*p,this.m32=(-l*t+e*i)*p,this.m33=(n*t-e*r)*p,this):null}adjugate(){const t=new Ue;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=ze(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:ze(Math.atan2(-this.m21,this.m22)),skewY:ze(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const e=this.value[0],o=this.value[1],r=this.value[2],n=this.value[3],a=this.value[4],i=this.value[5],l=t.value[0],c=t.value[1],u=t.value[2],h=t.value[3],f=t.value[4],p=t.value[5],d=l*h,b=c*u,_=(u*o-e*h)/(b-d),v=(l*o-e*c)/(d-b),w=(u*n-r*h)/(b-d),g=(l*n-r*c)/(d-b),m=(u*(i-p)+h*(f-a))/(b-d),k=(l*(i-p)+c*(f-a))/(d-b),C=[_,v,w,g,m,k];return new Ue(C)}toString(t=6){return this.matrix3d.is2D()?`matrix(${this.value.map(e=>xe(e,t)).join(",")})`:this.matrix3d.toString()}translate(t,e){return this.multiply([1,0,0,1,t,e]),this.toMatrix3D(),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.matrix3d.translate(0,0,t),this.matrix3d.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix3d.m43),this}translate3d(t,e,o){return this.matrix3d.translate(t,e,o),this.matrix3d.toMatrix(this),this}translate3dTo(t,e,o){return this.translate3d(t-this.matrix3d.m41,e-this.matrix3d.m42,o-this.matrix3d.m43),this}rotate(t,e=0,o=0){const r=Yt(t),n=Math.cos(r),a=Math.sin(r);return this.translate(e,o),this.multiply([n,a,-a,n,0,0]),this.translate(-e,-o),this.toMatrix3D(),this}rotateTo(t,e=0,o=0){const{degree:r}=this.split();return this.rotate(t-r,e,o),this}rotateX(t){return this.matrix3d.rotateX(t),this.matrix3d.toMatrix(this),this}rotateXTo(t){const{degreeX:e}=this.matrix3d.split();return this.rotateX(t-e),this}rotateY(t){return this.matrix3d.rotateY(t),this.matrix3d.toMatrix(this),this}rotateYTo(t){const{degreeY:e}=this.matrix3d.split();return this.rotateY(t-e),this}rotateZ(t){return this.matrix3d.rotateZ(t),this.matrix3d.toMatrix(this),this}rotateZTo(t){const{degreeZ:e}=this.matrix3d.split();return this.rotateZ(t-e),this}rotate3d(t,e,o){return this.matrix3d.rotateX(t).rotateY(e).rotateZ(o),this.matrix3d.toMatrix(this),this}rotate3dTo(t,e,o){const{degreeX:r,degreeY:n,degreeZ:a}=this.matrix3d.split();return this.rotate3d(t-r,e-n,o-a),this}scale(t,e=t,o=0,r=0){return this.translate(o,r),this.multiply([t,0,0,e,0,0]),this.translate(-o,-r),this.toMatrix3D(),this}scaleTo(t,e=t,o=0,r=0){return this.scale(t/this.m11,e/this.m22,o,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:e}=this.matrix3d.split();return this.scaleZ(t/e),this}scale3d(t,e=t,o=t){return this.matrix3d.scale(t,e,o),this.matrix3d.toMatrix(this),this}scale3dTo(t,e=t,o=t){const{scalarX:r,scalarY:n,scalarZ:a}=this.matrix3d.split();return this.scale3d(t/r,e/n,o/a),this}skew(t,e=t){return this.multiply([Math.cos(Yt(e)),Math.sin(Yt(e)),-Math.sin(Yt(t)),Math.cos(Yt(t)),0,0]),this.toMatrix3D(),this}skewTo(t,e=t){const{skewX:o,skewY:r}=this.split();return this.skew(t-o,e-r)}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,o){return this}skew3dTo(t,e,o){return this}perspective(t){return this.matrix3d.perspective(t),this.matrix3d.toMatrix(this),this}}class He{value;is3dSpecial=!1;constructor(t=uh){this.value=Array.from(t)}static fromString(t){const e=new He,o=iu("number",t);return o.length===16&&o.forEach((r,n)=>{r.fullMatch&&(e.value[n]=parseFloat(r.fullMatch))}),e}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(uh),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 He([...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 e=t.z||1,o=t.w||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31+o*this.m41,y:t.x*this.m12+t.y*this.m22+e*this.m32+o*this.m42,z:t.x*this.m13+t.y*this.m23+e*this.m33+o*this.m43,w:t.x*this.m14+t.y*this.m24+e*this.m34+o*this.m44}}toMatrix(t){const{scalarX:e,scalarY:o,skewX:r,skewY:n,x:a,y:i}=this.split(),l=[e,n,r,o,a,i];return t?(t.value=l,t):new Ue(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`matrix3d(${this.value.map(e=>xe(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),o=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),r=ze(ne(Math.asin(-this.m13),-1,1));let n=ze(Math.atan2(this.m23,this.m33));Math.cos(Yt(r))===0&&(n=ze(Math.atan2(-this.m31,this.m22)));let a=ze(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:o,degreeX:n,degreeY:r,degreeZ:a,skewX:ze(this.m14),skewY:ze(this.m24),skewZ:ze(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}inverse(){const t=[],e=this.m11,o=this.m12,r=this.m13,n=this.m14,a=this.m21,i=this.m22,l=this.m23,c=this.m24,u=this.m31,h=this.m32,f=this.m33,p=this.m34,d=this.m41,b=this.m42,_=this.m43,v=this.m44;t[0]=l*p*b-c*f*b+c*h*_-i*p*_-l*h*v+i*f*v,t[1]=n*f*b-r*p*b-n*h*_+o*p*_+r*h*v-o*f*v,t[2]=r*c*b-n*l*b+n*i*_-o*c*_-r*i*v+o*l*v,t[3]=n*l*h-r*c*h-n*i*f+o*c*f+r*i*p-o*l*p;const w=e*t[0]+a*t[1]+u*t[2]+d*t[3];if(w==0)return console.warn("Can't invert matrix, determinant is 0");t[4]=c*f*d-l*p*d-c*u*_+a*p*_+l*u*v-a*f*v,t[5]=r*p*d-n*f*d+n*u*_-e*p*_-r*u*v+e*f*v,t[6]=n*l*d-r*c*d-n*a*_+e*c*_+r*a*v-e*l*v,t[7]=r*c*u-n*l*u+n*a*f-e*c*f-r*a*p+e*l*p,t[8]=i*p*d-c*h*d+c*u*b-a*p*b-i*u*v+a*h*v,t[9]=n*h*d-o*p*d-n*u*b+e*p*b+o*u*v-e*h*v,t[10]=o*c*d-n*i*d+n*a*b-e*c*b-o*a*v+e*i*v,t[11]=n*i*u-o*c*u-n*a*h+e*c*h+o*a*p-e*i*p,t[12]=l*h*d-i*f*d-l*u*b+a*f*b+i*u*_-a*h*_,t[13]=o*f*d-r*h*d+r*u*b-e*f*b-o*u*_+e*h*_,t[14]=r*i*d-o*l*d-r*a*b+e*l*b+o*a*_-e*i*_,t[15]=o*l*u-r*i*u+r*a*h-e*l*h-o*a*f+e*i*f,this.value=t,this.scalar(1/w)}multiply(t){const e=this.clone();return this.m11=t.m11*e.m11+t.m12*e.m21+t.m13*e.m31+t.m14*e.m41,this.m12=t.m11*e.m12+t.m12*e.m22+t.m13*e.m32+t.m14*e.m42,this.m13=t.m11*e.m13+t.m12*e.m23+t.m13*e.m33+t.m14*e.m43,this.m14=t.m11*e.m14+t.m12*e.m24+t.m13*e.m34+t.m14*e.m44,this.m21=t.m21*e.m11+t.m22*e.m21+t.m23*e.m31+t.m24*e.m41,this.m22=t.m21*e.m12+t.m22*e.m22+t.m23*e.m32+t.m24*e.m42,this.m23=t.m21*e.m13+t.m22*e.m23+t.m23*e.m33+t.m24*e.m43,this.m24=t.m21*e.m14+t.m22*e.m24+t.m23*e.m34+t.m24*e.m44,this.m31=t.m31*e.m11+t.m32*e.m21+t.m33*e.m31+t.m34*e.m41,this.m32=t.m31*e.m12+t.m32*e.m22+t.m33*e.m32+t.m34*e.m42,this.m33=t.m31*e.m13+t.m32*e.m23+t.m33*e.m33+t.m34*e.m43,this.m34=t.m31*e.m14+t.m32*e.m24+t.m33*e.m34+t.m34*e.m44,this.m41=t.m41*e.m11+t.m42*e.m21+t.m43*e.m31+t.m44*e.m41,this.m42=t.m41*e.m12+t.m42*e.m22+t.m43*e.m32+t.m44*e.m42,this.m43=t.m41*e.m13+t.m42*e.m23+t.m43*e.m33+t.m44*e.m43,this.m44=t.m41*e.m14+t.m42*e.m24+t.m43*e.m34+t.m44*e.m44,this}translate(t=0,e=0,o=0){return this.multiply(new He([1,0,0,0,0,1,0,0,0,0,1,0,t,e,o,1]))}scale(t=1,e=1,o=1){return this.multiply(new He([t,0,0,0,0,e,0,0,0,0,o,0,0,0,0,1]))}rotateX(t){const e=Yt(t),o=Math.cos(e),r=Math.sin(e);return this.multiply(new He([1,0,0,0,0,o,r,0,0,-r,o,0,0,0,0,1]))}rotateY(t){const e=Yt(t),o=Math.cos(e),r=Math.sin(e);return this.multiply(new He([o,0,-r,0,0,1,0,0,r,0,o,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const e=Yt(t),o=Math.cos(e),r=Math.sin(e);return this.multiply(new He([o,r,0,0,-r,o,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,e=0,o=0){return this.multiply(new He([1,0,0,Yt(t),0,1,0,Yt(e),0,0,1,Yt(o),0,0,0,1]))}perspective(t){return this.multiply(new He([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,o=t.x*this.m12+t.y*this.m22+this.m42,r=t.x*this.m13+t.y*this.m23+this.m43,n=t.x*this.m14+t.y*this.m24+this.m44,a=e+this.m31,i=o+this.m32,l=r+this.m33,c=n+this.m34;n==0&&(n=1e-4),e/=n,o/=n,r/=n,c==0&&(c=1e-4),a/=c,i/=c,l/=c;const u=l-r;if(u==0)return{x:e,y:o,z:r,mass:n};const h=-r/u;return e+=h*(a-e),o+=h*(i-o),{x:e,y:o,z:r,mass:n}}project(t){const e=t.z;let o=t.x*this.m11+t.y*this.m21+e*this.m31+this.m41,r=t.x*this.m12+t.y*this.m22+e*this.m32+this.m42,n=t.x*this.m14+t.y*this.m24+e*this.m34+this.m44;return n==0&&(n=1e-4),o/=n,r/=n,n<0&&(o-=this.m41,r-=this.m42,o*=1/n,r*=1/n,o+=this.m41,r+=this.m42),{x:o,y:r,z:e,mass:n}}bounds(t,e,o,r){const n=new Sn({x:t,y:e}),a=new Sn({x:t+o,y:e}),i=new Sn({x:t+o,y:e+r}),l=new Sn({x:t,y:e+r});({x:n.x,y:n.y,z:n.z,mass:n.mass}=this.project(n)),{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(n.x,a.x,i.x,l.x),u=Math.min(n.y,a.y,i.y,l.y),h=Math.max(n.x,a.x,i.x,l.x)-c,f=Math.max(n.y,a.y,i.y,l.y)-u;return{x:c,y:u,width:h,height:f}}}function hh(s){const t=new Ue;return s.replace(/([a-z0-9]+)\s*\(?\s*((-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)*[a-z%]*\s*,?\s*)+)\)?/gi,function(e,o,r){r.indexOf(",")>=0?r=r.split(/\s*,\s*/):r=r.split(/\s+/);const n=[];for(let a=0,i=r.length;a<i;a++)r[a].trim()&&n.push(parseFloat(""+r[a]));switch(o.toLowerCase()){case"t":case"translate":t.translate(n[0],n[1]);break;case"translatex":t.translateX(n[0]);break;case"translatey":t.translateY(n[0]);break;case"translatez":t.translateZ(n[0]);break;case"translate3d":t.translate3d(n[0],n[1],n[2]);break;case"r":case"rotate":t.rotate(n[0],n[1]??0,n[2]??0);break;case"rotatex":t.rotateX(n[0]);break;case"rotatey":t.rotateY(n[0]);break;case"rotatez":t.rotateZ(n[0]);break;case"rotate3d":t.rotate3d(n[0],n[1],n[2]);break;case"s":case"scale":t.scale(n[0],n[1]??n[0]);break;case"scalex":t.scaleX(n[0]);break;case"scaley":t.scaleY(n[0]);break;case"scalez":t.scaleZ(n[0]);break;case"scale3d":t.scale3d(n[0],n[1],n[2]);break;case"skew":t.skew(n[0],n[1]??0);break;case"skewx":t.skewX(n[0]);break;case"skewy":t.skewY(n[0]);break;case"skewz":t.skewZ(n[0]);break;case"skew3d":t.skew3d(n[0],n[1],n[2]);break;case"m":case"matrix":t.multiply([n[0],n[1],n[2],n[3],n[4],n[5]]),t.toMatrix3D();break;case"matrix3d":t.matrix3d.multiply(new He(n)),t.matrix3d.toMatrix(t);break}return""}),t}function lo(s,t,e){const o=new Ue;return o.rotate(ze(s)),o.transformPoint({x:t,y:e})}class co extends oe{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(o=>{!o.independentTransformInGroup&&!o.isDragging&&(o.x=this.x+o.diffXInGroup,o.y=this.y+o.diffYInGroup,o.degree=this.degree+o.diffDegreeInGroup,o.scalarX=this.scalarX*o.diffScalarXInGroup,o.scalarY=this.scalarY*o.diffScalarYInGroup)}),super.frameUpdate(t,e)}addShape(t){(Array.isArray(t)?t:[t]).forEach(e=>{this.shapes.findIndex(o=>o.id==e.id)==-1&&(e.on("draging",(o,r)=>{this.enableDrag&&(this.x+=o,this.y+=r,this.emit("draging",o,r,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 o=this.pathd?.getBoundingClientRect();if(o&&(o.width||o.height)&&(t.push(o.x,o.x+o.width),e.push(o.y,o.y+o.height)),t.length==0||e.length==0)return null;const r=Math.min.apply(0,t),n=Math.min.apply(0,e),a=Math.max.apply(0,t),i=Math.max.apply(0,e);return{x:r,y:n,width:a-r,height:i-n}}setAttrs(t,e){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(o=>{o.setAttr(t)})):e&&(super.setAttr(t,e),this.shapes.forEach(o=>{o.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,o=this.shapes.length;if(e<o)return t.expendFill(this);for(let r=o;r<e;r++){const a=t.shapes[r].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 oe({attrs:{...t.shapes[r].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const o=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==o&&e?.onGroupComplete?.()}})});break;case"parallel":default:const r=new Oe({frameDuration:t}),n={},a={};this.shapes.forEach((i,l)=>{const c=xe(i.getTotalLength(),0);n[`offset_${l}`]=c,a[`offset_${l}`]=0,i.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),r.addTween(n,a,Object.assign(e||{},{onStart:()=>{e?.onGroupStart?.()},onUpdate:(i,l)=>{for(let c in i){const u=io(c).number;this.shapes[u].setAttr("strokeDashoffset",""+xe(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),r.play();break}}}const Fs=co,zg=getComputedStyle(document.documentElement);function Lt(s){return zg.getPropertyValue(s)}const vt={safeAreaTop:Lt("--safe-area-inset-top"),safeAreaRight:Lt("--safe-area-inset-right"),safeAreaBottom:Lt("--safe-area-inset-bottom"),safeAreaLeft:Lt("--safe-area-inset-left"),colorPrimary:Lt("--color-primary")||"#5078f0",colorRed:Lt("--color-red")||"#ff5050",colorOrange:Lt("--color-orange")||"#fa8c00",colorYellow:Lt("--color-yellow")||"#fadc32",colorGreen:Lt("--color-green")||"#00c878",colorBlue:Lt("--color-blue")||"#00b4fa",colorPurple:Lt("--color-purple")||"#6464fa",colorBlack:Lt("--color-black")||"#001428",colorGray00:Lt("--color-gray-00")||"#000000",colorGray33:Lt("--color-gray-33")||"#333333",colorGray66:Lt("--color-gray-66")||"#666666",colorGray99:Lt("--color-gray-99")||"#999999",colorGrayCC:Lt("--color-gray-cc")||"#cccccc",colorGrayDD:Lt("--color-gray-dd")||"#dddddd",colorGrayE6:Lt("--color-gray-e6")||"#e6e6e6",colorGrayEE:Lt("--color-gray-ee")||"#eeeeee",colorGrayEF:Lt("--color-gray-ef")||"#efefef",colorGrayF5:Lt("--color-gray-f5")||"#f5f5f5",colorGrayFF:Lt("--color-gray-ff")||"#ffffff",fontLineHeight:Lt("--font-line-height")||"1.4",fontSize32:Lt("--font-size-32")||"32px",fontSize24:Lt("--font-size-24")||"24px",fontSize22:Lt("--font-size-22")||"22px",fontSize20:Lt("--font-size-20")||"20px",fontSize18:Lt("--font-size-18")||"18px",fontSize16:Lt("--font-size-16")||"16px",fontSize14:Lt("--font-size-14")||"14px",fontSize12:Lt("--font-size-12")||"12px",fontSize10:Lt("--font-size-10")||"10px",d4:Lt("--distance-4")||"4px",d8:Lt("--distance-8")||"8px",d12:Lt("--distance-12")||"12px",d16:Lt("--distance-16")||"16px",d20:Lt("--distance-20")||"20px",d32:Lt("--distance-32")||"32px",d40:Lt("--distance-40")||"40px",d44:Lt("--distance-44")||"44px"};class It{__color={r:0,g:0,b:0,a:1};constructor(t,e){t&&this.setColor(t),typeof e=="number"&&this.setAlpha(e)}get color(){return this.__color}set color(t){this.__color=Si(t)}setColor(t){return this.color=t,this}get r(){return this.__color.r}set r(t){this.__color.r=ne(Math.round(t),0,255)}get g(){return this.__color.g}set g(t){this.__color.g=ne(Math.round(t),0,255)}get b(){return this.__color.b}set b(t){this.__color.b=ne(Math.round(t),0,255)}get a(){return this.__color.a}set a(t){this.__color.a=ne(t,0,1)}setAlpha(t){return this.a=t,this}setRGB(t,e,o){return this.r=t,this.g=e,this.b=o,this}setRGBA(t,e,o,r){return this.r=t,this.g=e,this.b=o,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},${xe(this.a,6)})`}clone(){return new It(this.color)}copy(t){this.setColor(t.color)}opposite(t=!1,e="#000000",o="#ffffff"){if(t)return new It(this.r*.299+this.g*.587+this.b*.114>186?e:o);{const r=this.clone();return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,r}}lighten(t){t=ne(Math.abs(t),0,1);let{r:e,g:o,b:r}=this.color;return e+=(255-e)*t,o+=(255-o)*t,r+=(255-r)*t,new It().setRGBA(e,o,r,this.color.a)}darken(t){t=ne(Math.abs(t),0,1);let{r:e,g:o,b:r}=this.color;return e=e*(1-t),o=o*(1-t),r=r*(1-t),new It().setRGBA(e,o,r,this.color.a)}static gradient(t,e,o){try{const r=Si(t),n=Si(e);return new It().setRGB((n.r-r.r)*o+r.r,(n.g-r.g)*o+r.g,(n.b-r.b)*o+r.b)}catch{return new It(e)}}static random(){return new It(Math.random()*16777215)}get hsv(){const{r:t,g:e,b:o,a:r}=this.color,n=Math.max(t,e,o),a=Math.min(t,e,o),i=n-a;let l;return t===n?l=(e-o)/i:e===n?l=2+(o-t)/i:l=4+(t-e)/i,l/=6,l<0&&(l+=1),{h:i==0?0:l*360,s:n===0?0:i/n,v:n/255,a:r}}set h(t){const e=this.hsv;e.h=ne(t,0,360),this.setColor(e)}get h(){return this.hsv.h}set s(t){const e=this.hsv;e.s=ne(t,0,1),this.setColor(e)}get s(){return this.hsv.s}set v(t){const e=this.hsv;e.v=ne(t,0,1),this.setColor(e)}get v(){return this.hsv.v}}function ge(s,t){return new It(s,t)}function Si(s){const t=Object.prototype.hasOwnProperty.call(s,"a")?ne(s.a,0,1):1;if(Object.prototype.hasOwnProperty.call(s,"r")&&Object.prototype.hasOwnProperty.call(s,"g")&&Object.prototype.hasOwnProperty.call(s,"b"))return s.r=ne(Math.round(s.r),0,255),s.g=ne(Math.round(s.g),0,255),s.b=ne(Math.round(s.b),0,255),s.a=t,s;if(Object.prototype.hasOwnProperty.call(s,"h")&&Object.prototype.hasOwnProperty.call(s,"s")&&Object.prototype.hasOwnProperty.call(s,"v")){const o=ne(s.h,0,360),r=ne(s.s,0,1),n=ne(s.v,0,1),a=Math.floor(o/60)%6,i=o/60-Math.floor(o/60),l=n*(1-r),c=n*(1-i*r),u=n*(1-(1-i)*r),h=[[n,u,l],[c,n,l],[l,n,u],[l,c,n],[u,l,n],[n,l,c]][a];return{r:Math.round(h[0]*255),g:Math.round(h[1]*255),b:Math.round(h[2]*255),a:t}}const e={r:0,g:0,b:0,a:t};if(typeof s=="number")s<Math.pow(2,24)?(e.r=s>>16&255,e.g=s>>8&255,e.b=s&255):(e.r=s>>24&255,e.g=s>>16&255,e.b=s>>8&255,e.a=(s&255)/255);else if(typeof s=="string"){const o=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,?\s*(\d?\.?\d*)?\s*\)/gi.exec(s);if(o)e.r=parseInt(o[1]),e.g=parseInt(o[2]),e.b=parseInt(o[3]),o[4]&&(e.a=parseFloat(o[4]));else{let r=s.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);r?(e.r=parseInt(`${r[1]}${r[1]}`,16),e.g=parseInt(`${r[2]}${r[2]}`,16),e.b=parseInt(`${r[3]}${r[3]}`,16)):(r=s.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(e.r=parseInt(r[1],16),e.g=parseInt(r[2],16),e.b=parseInt(r[3],16)):(r=s.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(e.r=parseInt(r[1],16),e.g=parseInt(r[2],16),e.b=parseInt(r[3],16),e.a=parseInt(r[4],16)/255):s==="none"&&(e.a=0)))}}else throw new Error("parseColor 不支持的颜色解析:"+s);return e.r=ne(e.r,0,255),e.g=ne(e.g,0,255),e.b=ne(e.b,0,255),e.a=ne(e.a,0,1),e}const Bg=["#0ac2d2","#7bb7fa","#60d7a9","#fdc162","#fd6a62","#f68dbb","#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff","#dc4916","#6871b1","#d1b935","#1bbc9b","#FF7F50","#4BBFC3","#ff9900"],Go={backgroundColor:"#1a1a1a",numberColor:"#2FA1D6",booleanColor:"#806787",stringColor:"#1ed36f",functionColor:"#e61d5f",saveRowColor:"#dad5cb",buttonColor:"",borderColor:"",inputColor:""};Go.buttonColor=new It(Go.saveRowColor).darken(.1).toString(),Go.borderColor=new It(Go.backgroundColor).lighten(.07).toString(),Go.inputColor=new It(Go.backgroundColor).lighten(.085).toString();class ve extends oe{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let e=this.toX-this.x,o=this.toY-this.y;return new Proxy(this,{set(r,n,a,i){switch(n){case"x":r.toX=a+e;break;case"y":r.toY=a+o;break;case"toX":e=a-r.x;break;case"toY":o=a-r.y;break}return Reflect.set(r,n,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 eh({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),o=new eh({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(o)}}class En extends oe{cx;cy;toX;toY;isLineThrough;constructor(t){super(t),this.cx=t?.cx||0,this.cy=t?.cy||0,this.toX=t?.toX||0,this.toY=t?.toY||0,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[["m",0,0],["q",t-this.x,e-this.y,this.toX-this.x,this.toY-this.y]]}else return[["m",0,0],["q",this.cx-this.x,this.cy-this.y,this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){if(t.beginPath(),t.moveTo(0,0),this.isLineThrough){const e=this.cx*2-(this.x+this.toX)/2,o=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e-this.x,o-this.y,this.toX-this.x,this.toY-this.y)}else t.quadraticCurveTo(this.cx-this.x,this.cy-this.y,this.toX-this.x,this.toY-this.y)}}var dh={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
37
+ `.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},vs=(o,t)=>(typeof o=="string"&&(o=hn(o)||new RegExp(o)),o.test(t)),vu=(o,t)=>{typeof o=="string"&&(o=hn(o)||new RegExp(o));const e=t.match(o);return e?o.flags.toLowerCase().indexOf("g")>=0?e.map(s=>({matchIndex:-1,fullMatch:s,groupMatchs:[]})):{matchIndex:typeof e.index=="number"?e.index:-1,fullMatch:e[0],groupMatchs:e.slice(1)}:null},bu=(o,t)=>{typeof o=="string"&&(o=hn(o)||new RegExp(o));const e=[],s=t.matchAll(o);for(const r of s)e.push({matchIndex:typeof r.index=="number"?r.index:-1,fullMatch:r[0],groupMatchs:r.slice(1)});return e};function i0(o){const t=o.match(/[\s\S]/gu);return t?t.length:0}function _u(o,t){const e=o.codePointAt(t);return e?String.fromCodePoint(e):void 0}function Fo(o=12){const t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghijklmnopqrstuvwxyz0123456789",e=t.length;let s="";for(let r=0;r<o;r++)s+=t[Math.floor(Math.random()*e)];return s}function l0(o){return o.replace(/(^\w)/g,t=>t.toLowerCase())}const is=(o,t="-")=>{let e=o.replace(new RegExp(`${t}?([A-Z])`,"g"),t+"$1").toLowerCase();return e=e.replace(new RegExp(`^${t}`),""),e};function c0(o){return o.replace(/(^\w|[_-]\w)/g,t=>t.slice(-1).toUpperCase())}function xu(o){return l0(c0(o))}const wu=(o,t="")=>(o=o.replaceAll(/\[data-v-[0-9a-zA-Z]*\]/g,t),o);function u0(o){return o!=null}function f0(o,...t){return new o.constructor(...t)}function ku(o,t){for(const e in o)Object.prototype.hasOwnProperty.call(o,e)&&!t(e,o[e])&&delete o[e];return o}function Cu(o){for(const t in o)Object.prototype.hasOwnProperty.call(o,t)&&delete o[t];return o}function hr(o=[],t=[]){const e=o.length,s=t.length;for(let n=0;n<s;n++)o[n]=t[n];let r=Math.max(0,e-s);for(;r>0;)o.pop(),r--;return o}function d0(o,t){const e=o.findIndex(s=>s===t);return e>=0&&o.splice(e,1),o}let Tu;try{Tu=Map}catch{Tu=function(){}}let Su;try{Su=Set}catch{Su=function(){}}function Zs(o,t){if(o=parseFloat(o),isNaN(o)){if(typeof t=="number")return t;throw new Error(`parseNumber(${o}) isNaN!`)}return o}function pn(o,t,e=Number.EPSILON*Math.pow(2,2)){return Math.abs(o-t)<e}const ie=(o,t,e)=>o<t?t:o>e?e:o;function h0(o,t,e,s,r){return s+(r-s)*((o-t)/(e-t))}const Eu=(o,t,e)=>s=>{const r=ie(s,o,t);return e==0?r:t-r<e?t:Math.round(r/e)*e};function p0(o,t=12){return Zs(o).toFixed(t)}function Ce(o,t=12){return+p0(o,t)}function bs(o,t){const e=vu("number-single",String(o));return{hasNumber:!!e,number:e&&!Array.isArray(e)&&e.fullMatch?parseFloat(e.fullMatch):u0(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 qa(o){const t=vu("number",o);return t?Array.isArray(t)?t.map(e=>Number(e.fullMatch)):[Number(t.fullMatch)]:[]}function m0(o=0,t=100){return Math.random()*(t-o)+o}function Jt(o=0,t=100){return Math.floor(m0(o,t))}g0();function g0(){const o=new ArrayBuffer(4),t=new Float32Array(o),e=new Uint32Array(o),s=new Uint32Array(512),r=new Uint32Array(512);for(let l=0;l<256;++l){const c=l-127;c<-27?(s[l]=0,s[l|256]=32768,r[l]=24,r[l|256]=24):c<-14?(s[l]=1024>>-c-14,s[l|256]=1024>>-c-14|32768,r[l]=-c-1,r[l|256]=-c-1):c<=15?(s[l]=c+15<<10,s[l|256]=c+15<<10|32768,r[l]=13,r[l|256]=13):c<128?(s[l]=31744,s[l|256]=64512,r[l]=24,r[l|256]=24):(s[l]=31744,s[l|256]=64512,r[l]=13,r[l|256]=13)}const n=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,n[l]=c|u}for(let l=1024;l<2048;++l)n[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:s,shiftTable:r,mantissaTable:n,exponentTable:a,offsetTable:i}}var Pu=(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))(Pu||{}),mn=(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))(mn||{});const Ou=(o,t,e)=>t?e===mn.base64?new Blob([o],{type:`${t};${e}`}):e===mn.utf8?new Blob([o],{type:`${t};charset=${e}`}):new Blob([o],{type:`${t}`}):new Blob([o]);function he(){return(performance||Date).now()}function y0(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 Qa(o){let t=y0(o)/1e3;const e=t%60;o[5]=e%10,o[4]=Math.floor(e/10),t=Math.floor(t/60);const s=t%60;o[3]=s%10,o[2]=Math.floor(s/10),t=Math.floor(t/60);const r=t%60%24;return o[1]=r%10,o[0]=Math.floor(r/10),o}function v0(o){const t=[0,0,0,0,0,0],e=qa(o);for(let s=0,r=Math.min(e.length,3);s<r;s++){const n=Math.floor(Math.abs(e[s]));t[2*s+1]=n%10,t[2*s]=Math.floor(n/10)}return Qa(t)}function Ka(o,t=1){return o[5]+=t,Qa(o)}function Ja(o,t=1){return o[5]-=t,Qa(o)}function b0(o,t){o.forEach((e,s)=>{t[s]=e})}function _0(o,t){const e=t.reduce((s,r)=>{const{match:n,error:a}=r;return n(o)||s.push(a),s},[]);return{valid:e.length===0,errors:e}}function x0(o="xxx不能为空!"){return{match:t=>!!t,error:o}}function w0(o="邮箱格式不正确!"){return{match:t=>vs("email",t),error:o}}class k0{criterias=[];constructor(t=[]){t.forEach(e=>this.add(e))}add(...t){this.criterias.push(...t)}clear(){this.criterias=[]}get(){return t=>_0(t,this.criterias)}run(t){return this.get()(t)}}function Do(o){return new k0([x0("邮箱不能为空!"),w0("邮箱格式不正确!")]).run(o)}function Ru(o,t){let e=!0;return function(...s){e&&(e=!1,o.apply(this,s),setTimeout(()=>{e=!0},t))}}function C0(o,t){let e;return function(...s){clearTimeout(e),e=setTimeout(()=>{o.apply(this,s)},t)}}class pr{events;constructor(){this.events={}}on(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].push(e),this}addListener(t,e){return this.on(t,e),this}prependListener(t,e){return this.events[t]||(this.events[t]=[]),this.events[t].unshift(e),this}removeListener(t,e){if(this.events[t])return this.events[t]=this.events[t].filter(s=>s!==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].forEach(s=>{s(...e)}),this}once(t,e){const r=(()=>{let n=!1;return(...a)=>{n||(n=!0,e(...a),this.off(t,r))}})();return this.on(t,r),this}}class gn extends pr{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(r=>r())),s=this.results.length;e.forEach((r,n)=>{if(r.status=="fulfilled"){const a=r.value;this.results.push(a),this.controller?.enqueue(a),this.emit("success",s+n,a)}else if(r.status=="rejected"){const a=new Error(r.reason);this.results.push(a),this.controller?.enqueue(a),this.emit("error",s+n,a)}}),this.activeTaskCount-=e.length}}}Array.prototype.ap=function(o){return this.reduce((t,e)=>t.concat(o.map(e)),[])};let mr;function ti(o){mr=o,o(),mr=null}class T0{subscribers=new Set;add(){mr&&!this.subscribers.has(mr)&&this.subscribers.add(mr)}notify(){this.subscribers.forEach(t=>t())}}const Iu=new WeakMap;function ei(o,t){let e=Iu.get(o);e||(e=new Map,Iu.set(o,e));let s=e.get(t);return s||(s=new T0,e.set(t,s)),s}function Fu(o,t=!1){const e={get(r,n,a){const i=Reflect.get(r,n,a);if(t&&typeof i=="object"&&i!==null&&!("isYZReactiveProxy"in i)){const c=Fu(i,t);c.YZReactiveProxyParentTarget=r,c.YZReactiveProxyParentKey=n,Reflect.set(a,n,c)}return ei(r,n).add(),Reflect.get(r,n,a)},set(r,n,a,i){const l=Reflect.get(r,n,i),c=Reflect.set(r,n,a,i);return Array.isArray(r)?ei(r.YZReactiveProxyParentTarget,r.YZReactiveProxyParentKey).notify():l!=a&&ei(r,n).notify(),c},has(r,n){return n==="isYZReactiveProxy"||n in r}};return new Proxy(o,e)}const S0=Fu;class si{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())}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)}shift(){const t=this.entries();if(t.length){const[e,s]=t[0];return this.delete(e),[e,s]}}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 s=0,r=e.length;s<r;s++){const[n,a]=e[s];t(n,a)===!1&&this.delete(n)}e=Array.from(this.mapsAddedDuringUpdate.entries())}}}function E0(o,t=(e,s)=>e<=s){const e=o.length;let s=Math.floor(e/2);for(;s>0;){for(let r=s;r<e;r++){const n=o[r];let a=r;for(;a>=s&&!t(o[a-s],n);)o[a]=o[a-s],a-=s;o[a]=n}s=Math.floor(s/2)}}let Du;try{Du=Promise}catch{Du=function(){}}const gr=/^[a-z0-9]+(-[a-z0-9]+)*$/,yn=(o,t,e,s="")=>{const r=o.split(":");if(o.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;s=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const i=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:s,prefix:l,name:i};return t&&!vn(c)?null:c}const n=r[0],a=n.split("-");if(a.length>1){const i={provider:s,prefix:a.shift(),name:a.join("-")};return t&&!vn(i)?null:i}if(e&&s===""){const i={provider:s,prefix:"",name:n};return t&&!vn(i,e)?null:i}return null},vn=(o,t)=>o?!!((o.provider===""||o.provider.match(gr))&&(t&&o.prefix===""||o.prefix.match(gr))&&o.name.match(gr)):!1,$u=Object.freeze({left:0,top:0,width:16,height:16}),bn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),_n=Object.freeze({...$u,...bn}),oi=Object.freeze({..._n,body:"",hidden:!1});function P0(o,t){const e={};!o.hFlip!=!t.hFlip&&(e.hFlip=!0),!o.vFlip!=!t.vFlip&&(e.vFlip=!0);const s=((o.rotate||0)+(t.rotate||0))%4;return s&&(e.rotate=s),e}function Lu(o,t){const e=P0(o,t);for(const s in oi)s in bn?s in o&&!(s in e)&&(e[s]=bn[s]):s in t?e[s]=t[s]:s in o&&(e[s]=o[s]);return e}function O0(o,t){const e=o.icons,s=o.aliases||Object.create(null),r=Object.create(null);function n(a){if(e[a])return r[a]=[];if(!(a in r)){r[a]=null;const i=s[a]&&s[a].parent,l=i&&n(i);l&&(r[a]=[i].concat(l))}return r[a]}return(t||Object.keys(e).concat(Object.keys(s))).forEach(n),r}function R0(o,t,e){const s=o.icons,r=o.aliases||Object.create(null);let n={};function a(i){n=Lu(s[i]||r[i],n)}return a(t),e.forEach(a),Lu(o,n)}function Nu(o,t){const e=[];if(typeof o!="object"||typeof o.icons!="object")return e;o.not_found instanceof Array&&o.not_found.forEach(r=>{t(r,null),e.push(r)});const s=O0(o);for(const r in s){const n=s[r];n&&(t(r,R0(o,r,n)),e.push(r))}return e}const I0={provider:"",aliases:{},not_found:{},...$u};function ri(o,t){for(const e in t)if(e in o&&typeof o[e]!=typeof t[e])return!1;return!0}function Mu(o){if(typeof o!="object"||o===null)return null;const t=o;if(typeof t.prefix!="string"||!o.icons||typeof o.icons!="object"||!ri(o,I0))return null;const e=t.icons;for(const r in e){const n=e[r];if(!r.match(gr)||typeof n.body!="string"||!ri(n,oi))return null}const s=t.aliases||Object.create(null);for(const r in s){const n=s[r],a=n.parent;if(!r.match(gr)||typeof a!="string"||!e[a]&&!s[a]||!ri(n,oi))return null}return t}const Au=Object.create(null);function F0(o,t){return{provider:o,prefix:t,icons:Object.create(null),missing:new Set}}function mo(o,t){const e=Au[o]||(Au[o]=Object.create(null));return e[t]||(e[t]=F0(o,t))}function ni(o,t){return Mu(t)?Nu(t,(e,s)=>{s?o.icons[e]=s:o.missing.add(e)}):[]}function D0(o,t,e){try{if(typeof e.body=="string")return o.icons[t]={...e},!0}catch{}return!1}let yr=!1;function zu(o){return typeof o=="boolean"&&(yr=o),yr}function $0(o){const t=typeof o=="string"?yn(o,!0,yr):o;if(t){const e=mo(t.provider,t.prefix),s=t.name;return e.icons[s]||(e.missing.has(s)?null:void 0)}}function L0(o,t){const e=yn(o,!0,yr);if(!e)return!1;const s=mo(e.provider,e.prefix);return D0(s,e.name,t)}function N0(o,t){if(typeof o!="object")return!1;if(typeof t!="string"&&(t=o.provider||""),yr&&!t&&!o.prefix){let r=!1;return Mu(o)&&(o.prefix="",Nu(o,(n,a)=>{a&&L0(n,a)&&(r=!0)})),r}const e=o.prefix;if(!vn({provider:t,prefix:e,name:"a"}))return!1;const s=mo(t,e);return!!ni(s,o)}const Vu=Object.freeze({width:null,height:null}),Bu=Object.freeze({...Vu,...bn}),M0=/(-?[0-9.]*[0-9]+[0-9.]*)/g,A0=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Yu(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 s=o.split(M0);if(s===null||!s.length)return o;const r=[];let n=s.shift(),a=A0.test(n);for(;;){if(a){const i=parseFloat(n);isNaN(i)?r.push(n):r.push(Math.ceil(i*t*e)/e)}else r.push(n);if(n=s.shift(),n===void 0)return r.join("");a=!a}}function z0(o,t="defs"){let e="";const s=o.indexOf("<"+t);for(;s>=0;){const r=o.indexOf(">",s),n=o.indexOf("</"+t);if(r===-1||n===-1)break;const a=o.indexOf(">",n);if(a===-1)break;e+=o.slice(r+1,n).trim(),o=o.slice(0,s).trim()+o.slice(a+1)}return{defs:e,content:o}}function V0(o,t){return o?"<defs>"+o+"</defs>"+t:t}function B0(o,t,e){const s=z0(o);return V0(s.defs,t+s.content+e)}const Y0=o=>o==="unset"||o==="undefined"||o==="none";function X0(o,t){const e={..._n,...o},s={...Bu,...t},r={left:e.left,top:e.top,width:e.width,height:e.height};let n=e.body;[e,s].forEach(w=>{const _=[],x=w.hFlip,v=w.vFlip;let g=w.rotate;x?v?g+=2:(_.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),_.push("scale(-1 1)"),r.top=r.left=0):v&&(_.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),_.push("scale(1 -1)"),r.top=r.left=0);let m;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:m=r.height/2+r.top,_.unshift("rotate(90 "+m.toString()+" "+m.toString()+")");break;case 2:_.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:m=r.width/2+r.left,_.unshift("rotate(-90 "+m.toString()+" "+m.toString()+")");break}g%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)),_.length&&(n=B0(n,'<g transform="'+_.join(" ")+'">',"</g>"))});const a=s.width,i=s.height,l=r.width,c=r.height;let u,f;a===null?(f=i===null?"1em":i==="auto"?c:i,u=Yu(f,l/c)):(u=a==="auto"?l:a,f=i===null?Yu(u,c/l):i==="auto"?c:i);const d={},p=(w,_)=>{Y0(_)||(d[w]=_.toString())};p("width",u),p("height",f);const h=[r.left,r.top,l,c];return d.viewBox=h.join(" "),{attributes:d,viewBox:h,body:n}}const G0=/\sid="(\S+)"/g,U0="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let j0=0;function H0(o,t=U0){const e=[];let s;for(;s=G0.exec(o);)e.push(s[1]);if(!e.length)return o;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return e.forEach(n=>{const a=typeof t=="function"?t(n):t+(j0++).toString(),i=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");o=o.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),o=o.replace(new RegExp(r,"g"),""),o}const ai=Object.create(null);function W0(o,t){ai[o]=t}function ii(o){return ai[o]||ai[""]}function li(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 ci=Object.create(null),vr=["https://api.simplesvg.com","https://api.unisvg.com"],xn=[];for(;vr.length>0;)vr.length===1||Math.random()>.5?xn.push(vr.shift()):xn.push(vr.pop());ci[""]=li({resources:["https://api.iconify.design"].concat(xn)});function Z0(o,t){const e=li(t);return e===null?!1:(ci[o]=e,!0)}function ui(o){return ci[o]}let Xu=(()=>{let o;try{if(o=fetch,typeof o=="function")return o}catch{}})();function q0(o,t){const e=ui(o);if(!e)return 0;let s;if(!e.maxURL)s=0;else{let r=0;e.resources.forEach(a=>{r=Math.max(r,a.length)});const n=t+".json?icons=";s=e.maxURL-r-e.path.length-n.length}return s}function Q0(o){return o===404}const K0=(o,t,e)=>{const s=[],r=q0(o,t),n="icons";let a={type:n,provider:o,prefix:t,icons:[]},i=0;return e.forEach((l,c)=>{i+=l.length+1,i>=r&&c>0&&(s.push(a),a={type:n,provider:o,prefix:t,icons:[]},i=l.length),a.icons.push(l)}),s.push(a),s};function J0(o){if(typeof o=="string"){const t=ui(o);if(t)return t.path}return"/"}const tg={prepare:K0,send:(o,t,e)=>{if(!Xu){e("abort",424);return}let s=J0(t.provider);switch(t.type){case"icons":{const n=t.prefix,i=t.icons.join(","),l=new URLSearchParams({icons:i});s+=n+".json?"+l.toString();break}case"custom":{const n=t.uri;s+=n.slice(0,1)==="/"?n.slice(1):n;break}default:e("abort",400);return}let r=503;Xu(o+s).then(n=>{const a=n.status;if(a!==200){setTimeout(()=>{e(Q0(a)?"abort":"next",a)});return}return r=501,n.json()}).then(n=>{if(typeof n!="object"||n===null){setTimeout(()=>{n===404?e("abort",n):e("next",r)});return}setTimeout(()=>{e("success",n)})}).catch(()=>{e("next",r)})}};function eg(o){const t={loaded:[],missing:[],pending:[]},e=Object.create(null);o.sort((r,n)=>r.provider!==n.provider?r.provider.localeCompare(n.provider):r.prefix!==n.prefix?r.prefix.localeCompare(n.prefix):r.name.localeCompare(n.name));let s={provider:"",prefix:"",name:""};return o.forEach(r=>{if(s.name===r.name&&s.prefix===r.prefix&&s.provider===r.provider)return;s=r;const n=r.provider,a=r.prefix,i=r.name,l=e[n]||(e[n]=Object.create(null)),c=l[a]||(l[a]=mo(n,a));let u;i in c.icons?u=t.loaded:a===""||c.missing.has(i)?u=t.missing:u=t.pending;const f={provider:n,prefix:a,name:i};u.push(f)}),t}function Gu(o,t){o.forEach(e=>{const s=e.loaderCallbacks;s&&(e.loaderCallbacks=s.filter(r=>r.id!==t))})}function sg(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 s=o.provider,r=o.prefix;t.forEach(n=>{const a=n.icons,i=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(o.icons[c])a.loaded.push({provider:s,prefix:r,name:c});else if(o.missing.has(c))a.missing.push({provider:s,prefix:r,name:c});else return e=!0,!0;return!1}),a.pending.length!==i&&(e||Gu([o],n.id),n.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),n.abort))})}))}let og=0;function rg(o,t,e){const s=og++,r=Gu.bind(null,e,s);if(!t.pending.length)return r;const n={id:s,icons:t,callback:o,abort:r};return e.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(n)}),r}function ng(o,t=!0,e=!1){const s=[];return o.forEach(r=>{const n=typeof r=="string"?yn(r,t,e):r;n&&s.push(n)}),s}var ag={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ig(o,t,e,s){const r=o.resources.length,n=o.random?Math.floor(Math.random()*r):o.index;let a;if(o.random){let C=o.resources.slice(0);for(a=[];C.length>1;){const U=Math.floor(Math.random()*C.length);a.push(C[U]),C=C.slice(0,U).concat(C.slice(U+1))}a=a.concat(C)}else a=o.resources.slice(n).concat(o.resources.slice(0,n));const i=Date.now();let l="pending",c=0,u,f=null,d=[],p=[];typeof s=="function"&&p.push(s);function h(){f&&(clearTimeout(f),f=null)}function w(){l==="pending"&&(l="aborted"),h(),d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function _(C,U){U&&(p=[]),typeof C=="function"&&p.push(C)}function x(){return{startTime:i,payload:t,status:l,queriesSent:c,queriesPending:d.length,subscribe:_,abort:w}}function v(){l="failed",p.forEach(C=>{C(void 0,u)})}function g(){d.forEach(C=>{C.status==="pending"&&(C.status="aborted")}),d=[]}function m(C,U,K){const I=U!=="success";switch(d=d.filter($=>$!==C),l){case"pending":break;case"failed":if(I||!o.dataAfterTimeout)return;break;default:return}if(U==="abort"){u=K,v();return}if(I){u=K,d.length||(a.length?b():v());return}if(h(),g(),!o.random){const $=o.resources.indexOf(C.resource);$!==-1&&$!==o.index&&(o.index=$)}l="completed",p.forEach($=>{$(K)})}function b(){if(l!=="pending")return;h();const C=a.shift();if(C===void 0){if(d.length){f=setTimeout(()=>{h(),l==="pending"&&(g(),v())},o.timeout);return}v();return}const U={status:"pending",resource:C,callback:(K,I)=>{m(U,K,I)}};d.push(U),c++,f=setTimeout(b,o.rotate),e(C,t,U.callback)}return setTimeout(b),x}function Uu(o){const t={...ag,...o};let e=[];function s(){e=e.filter(i=>i().status==="pending")}function r(i,l,c){const u=ig(t,i,l,(f,d)=>{s(),c&&c(f,d)});return e.push(u),u}function n(i){return e.find(l=>i(l))||null}return{query:r,find:n,setIndex:i=>{t.index=i},getIndex:()=>t.index,cleanup:s}}function ju(){}const fi=Object.create(null);function lg(o){if(!fi[o]){const t=ui(o);if(!t)return;const e=Uu(t),s={config:t,redundancy:e};fi[o]=s}return fi[o]}function cg(o,t,e){let s,r;if(typeof o=="string"){const n=ii(o);if(!n)return e(void 0,424),ju;r=n.send;const a=lg(o);a&&(s=a.redundancy)}else{const n=li(o);if(n){s=Uu(n);const a=o.resources?o.resources[0]:"",i=ii(a);i&&(r=i.send)}}return!s||!r?(e(void 0,424),ju):s.query(t,r,e)().abort}const Hu="iconify2",br="iconify",Wu=br+"-count",Zu=br+"-version",qu=36e5,ug=168,fg=50;function di(o,t){try{return o.getItem(t)}catch{}}function hi(o,t,e){try{return o.setItem(t,e),!0}catch{}}function Qu(o,t){try{o.removeItem(t)}catch{}}function pi(o,t){return hi(o,Wu,t.toString())}function mi(o){return parseInt(di(o,Wu))||0}const wn={local:!0,session:!0},Ku={local:new Set,session:new Set};let gi=!1;function dg(o){gi=o}let kn=typeof window>"u"?{}:window;function Ju(o){const t=o+"Storage";try{if(kn&&kn[t]&&typeof kn[t].length=="number")return kn[t]}catch{}wn[o]=!1}function tf(o,t){const e=Ju(o);if(!e)return;const s=di(e,Zu);if(s!==Hu){if(s){const i=mi(e);for(let l=0;l<i;l++)Qu(e,br+l.toString())}hi(e,Zu,Hu),pi(e,0);return}const r=Math.floor(Date.now()/qu)-ug,n=i=>{const l=br+i.toString(),c=di(e,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,i))return!0}catch{}Qu(e,l)}};let a=mi(e);for(let i=a-1;i>=0;i--)n(i)||(i===a-1?(a--,pi(e,a)):Ku[o].add(i))}function ef(){if(!gi){dg(!0);for(const o in wn)tf(o,t=>{const e=t.data,s=t.provider,r=e.prefix,n=mo(s,r);if(!ni(n,e).length)return!1;const a=e.lastModified||-1;return n.lastModifiedCached=n.lastModifiedCached?Math.min(n.lastModifiedCached,a):a,!0})}}function hg(o,t){const e=o.lastModifiedCached;if(e&&e>=t)return e===t;if(o.lastModifiedCached=t,e)for(const s in wn)tf(s,r=>{const n=r.data;return r.provider!==o.provider||n.prefix!==o.prefix||n.lastModified===t});return!0}function pg(o,t){gi||ef();function e(s){let r;if(!wn[s]||!(r=Ju(s)))return;const n=Ku[s];let a;if(n.size)n.delete(a=Array.from(n).shift());else if(a=mi(r),a>=fg||!pi(r,a+1))return;const i={cached:Math.floor(Date.now()/qu),provider:o.provider,data:t};return hi(r,br+a.toString(),JSON.stringify(i))}t.lastModified&&!hg(o,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),e("local")||e("session"))}function sf(){}function mg(o){o.iconsLoaderFlag||(o.iconsLoaderFlag=!0,setTimeout(()=>{o.iconsLoaderFlag=!1,sg(o)}))}function gg(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:s}=o,r=o.iconsToLoad;delete o.iconsToLoad;let n;if(!r||!(n=ii(e)))return;n.prepare(e,s,r).forEach(i=>{cg(e,i,l=>{if(typeof l!="object")i.icons.forEach(c=>{o.missing.add(c)});else try{const c=ni(o,l);if(!c.length)return;const u=o.pendingIcons;u&&c.forEach(f=>{u.delete(f)}),pg(o,l)}catch(c){console.error(c)}mg(o)})})}))}const yg=(o,t)=>{const e=ng(o,!0,zu()),s=eg(e);if(!s.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(s.loaded,s.missing,s.pending,sf)}),()=>{l=!1}}const r=Object.create(null),n=[];let a,i;return s.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===i&&c===a)return;a=c,i=u,n.push(mo(c,u));const f=r[c]||(r[c]=Object.create(null));f[u]||(f[u]=[])}),s.pending.forEach(l=>{const{provider:c,prefix:u,name:f}=l,d=mo(c,u),p=d.pendingIcons||(d.pendingIcons=new Set);p.has(f)||(p.add(f),r[c][u].push(f))}),n.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&gg(l,r[c][u])}),t?rg(t,s,n):sf};function vg(o,t){const e={...o};for(const s in t){const r=t[s],n=typeof r;s in Vu?(r===null||r&&(n==="string"||n==="number"))&&(e[s]=r):n===typeof e[s]&&(e[s]=s==="rotate"?r%4:r)}return e}const bg=/[\s,]+/;function _g(o,t){t.split(bg).forEach(e=>{switch(e.trim()){case"horizontal":o.hFlip=!0;break;case"vertical":o.vFlip=!0;break}})}function xg(o,t=0){const e=o.replace(/^-?[0-9.]*/,"");function s(r){for(;r<0;)r+=4;return r%4}if(e===""){const r=parseInt(o);return isNaN(r)?0:s(r)}else if(e!==o){let r=0;switch(e){case"%":r=25;break;case"deg":r=90}if(r){let n=parseFloat(o.slice(0,o.length-e.length));return isNaN(n)?0:(n=n/r,n%1===0?s(n):0)}}return t}function wg(o,t){let e=o.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const s in t)e+=" "+s+'="'+t[s]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+e+">"+o+"</svg>"}function kg(o){return o.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function Cg(o){return"data:image/svg+xml,"+kg(o)}function Tg(o){return'url("'+Cg(o)+'")'}const of={...Bu,inline:!1},Sg={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Eg={display:"inline-block"},yi={backgroundColor:"currentColor"},rf={backgroundColor:"transparent"},nf={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},af={webkitMask:yi,mask:yi,background:rf};for(const o in af){const t=af[o];for(const e in nf)t[o+e]=nf[e]}const Cn={};["horizontal","vertical"].forEach(o=>{const t=o.slice(0,1)+"Flip";Cn[o+"-flip"]=t,Cn[o.slice(0,1)+"-flip"]=t,Cn[o+"Flip"]=t});function lf(o){return o+(o.match(/^[-0-9.]+$/)?"px":"")}const cf=(o,t)=>{const e=vg(of,t),s={...Sg},r=t.mode||"svg",n={},a=t.style,i=typeof a=="object"&&!(a instanceof Array)?a:{};for(let w in t){const _=t[w];if(_!==void 0)switch(w){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":e[w]=_===!0||_==="true"||_===1;break;case"flip":typeof _=="string"&&_g(e,_);break;case"color":n.color=_;break;case"rotate":typeof _=="string"?e[w]=xg(_):typeof _=="number"&&(e[w]=_);break;case"ariaHidden":case"aria-hidden":_!==!0&&_!=="true"&&delete s["aria-hidden"];break;default:{const x=Cn[w];x?(_===!0||_==="true"||_===1)&&(e[x]=!0):of[w]===void 0&&(s[w]=_)}}}const l=X0(o,e),c=l.attributes;if(e.inline&&(n.verticalAlign="-0.125em"),r==="svg"){s.style={...n,...i},Object.assign(s,c);let w=0,_=t.id;return typeof _=="string"&&(_=_.replace(/-/g,"_")),s.innerHTML=H0(l.body,_?()=>_+"ID"+w++:"iconifyVue"),Kt("svg",s)}const{body:u,width:f,height:d}=o,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),h=wg(u,{...c,width:f+"",height:d+""});return s.style={...n,"--svg":Tg(h),width:lf(c.width),height:lf(c.height),...Eg,...p?yi:rf,...i},Kt("span",s)};if(zu(!0),W0("",tg),typeof document<"u"&&typeof window<"u"){ef();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(s=>{try{(typeof s!="object"||s===null||s instanceof Array||typeof s.icons!="object"||typeof s.prefix!="string"||!N0(s))&&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 s="IconifyProviders["+e+"] is invalid.";try{const r=t[e];if(typeof r!="object"||!r||r.resources===void 0)continue;Z0(e,r)||console.error(s)}catch{console.error(s)}}}}const Pg={..._n,body:""},uf=q({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){if(typeof o=="object"&&o!==null&&typeof o.body=="string")return this._name="",this.abortLoading(),{data:o};let e;if(typeof o!="string"||(e=yn(o,!1,!0))===null)return this.abortLoading(),null;const s=$0(e);if(!s)return(!this._loadingIcon||this._loadingIcon.name!==o)&&(this.abortLoading(),this._name="",s!==null&&(this._loadingIcon={name:o,abort:yg([e],()=>{this.counter++})})),null;this.abortLoading(),this._name!==o&&(this._name=o,t&&t(o));const r=["iconify"];return e.prefix!==""&&r.push("iconify--"+e.prefix),e.provider!==""&&r.push("iconify--"+e.provider),{data:s,classes:r}}},render(){this.counter;const o=this.$attrs,t=this.iconMounted||o.ssr?this.getIcon(o.icon,o.onLoad):null;if(!t)return cf(Pg,o);let e=o;return t.classes&&(e={...o,class:(typeof o.class=="string"?o.class+" ":"")+t.classes.join(" ")}),cf({..._n,...t.data},e)}});function Og(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var Rg={exports:{}};(function(o,t){(function(e){o.exports=e()})(function(e){var s=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(x,v){var g=x[0],m=x[1],b=x[2],C=x[3];g+=(m&b|~m&C)+v[0]-680876936|0,g=(g<<7|g>>>25)+m|0,C+=(g&m|~g&b)+v[1]-389564586|0,C=(C<<12|C>>>20)+g|0,b+=(C&g|~C&m)+v[2]+606105819|0,b=(b<<17|b>>>15)+C|0,m+=(b&C|~b&g)+v[3]-1044525330|0,m=(m<<22|m>>>10)+b|0,g+=(m&b|~m&C)+v[4]-176418897|0,g=(g<<7|g>>>25)+m|0,C+=(g&m|~g&b)+v[5]+1200080426|0,C=(C<<12|C>>>20)+g|0,b+=(C&g|~C&m)+v[6]-1473231341|0,b=(b<<17|b>>>15)+C|0,m+=(b&C|~b&g)+v[7]-45705983|0,m=(m<<22|m>>>10)+b|0,g+=(m&b|~m&C)+v[8]+1770035416|0,g=(g<<7|g>>>25)+m|0,C+=(g&m|~g&b)+v[9]-1958414417|0,C=(C<<12|C>>>20)+g|0,b+=(C&g|~C&m)+v[10]-42063|0,b=(b<<17|b>>>15)+C|0,m+=(b&C|~b&g)+v[11]-1990404162|0,m=(m<<22|m>>>10)+b|0,g+=(m&b|~m&C)+v[12]+1804603682|0,g=(g<<7|g>>>25)+m|0,C+=(g&m|~g&b)+v[13]-40341101|0,C=(C<<12|C>>>20)+g|0,b+=(C&g|~C&m)+v[14]-1502002290|0,b=(b<<17|b>>>15)+C|0,m+=(b&C|~b&g)+v[15]+1236535329|0,m=(m<<22|m>>>10)+b|0,g+=(m&C|b&~C)+v[1]-165796510|0,g=(g<<5|g>>>27)+m|0,C+=(g&b|m&~b)+v[6]-1069501632|0,C=(C<<9|C>>>23)+g|0,b+=(C&m|g&~m)+v[11]+643717713|0,b=(b<<14|b>>>18)+C|0,m+=(b&g|C&~g)+v[0]-373897302|0,m=(m<<20|m>>>12)+b|0,g+=(m&C|b&~C)+v[5]-701558691|0,g=(g<<5|g>>>27)+m|0,C+=(g&b|m&~b)+v[10]+38016083|0,C=(C<<9|C>>>23)+g|0,b+=(C&m|g&~m)+v[15]-660478335|0,b=(b<<14|b>>>18)+C|0,m+=(b&g|C&~g)+v[4]-405537848|0,m=(m<<20|m>>>12)+b|0,g+=(m&C|b&~C)+v[9]+568446438|0,g=(g<<5|g>>>27)+m|0,C+=(g&b|m&~b)+v[14]-1019803690|0,C=(C<<9|C>>>23)+g|0,b+=(C&m|g&~m)+v[3]-187363961|0,b=(b<<14|b>>>18)+C|0,m+=(b&g|C&~g)+v[8]+1163531501|0,m=(m<<20|m>>>12)+b|0,g+=(m&C|b&~C)+v[13]-1444681467|0,g=(g<<5|g>>>27)+m|0,C+=(g&b|m&~b)+v[2]-51403784|0,C=(C<<9|C>>>23)+g|0,b+=(C&m|g&~m)+v[7]+1735328473|0,b=(b<<14|b>>>18)+C|0,m+=(b&g|C&~g)+v[12]-1926607734|0,m=(m<<20|m>>>12)+b|0,g+=(m^b^C)+v[5]-378558|0,g=(g<<4|g>>>28)+m|0,C+=(g^m^b)+v[8]-2022574463|0,C=(C<<11|C>>>21)+g|0,b+=(C^g^m)+v[11]+1839030562|0,b=(b<<16|b>>>16)+C|0,m+=(b^C^g)+v[14]-35309556|0,m=(m<<23|m>>>9)+b|0,g+=(m^b^C)+v[1]-1530992060|0,g=(g<<4|g>>>28)+m|0,C+=(g^m^b)+v[4]+1272893353|0,C=(C<<11|C>>>21)+g|0,b+=(C^g^m)+v[7]-155497632|0,b=(b<<16|b>>>16)+C|0,m+=(b^C^g)+v[10]-1094730640|0,m=(m<<23|m>>>9)+b|0,g+=(m^b^C)+v[13]+681279174|0,g=(g<<4|g>>>28)+m|0,C+=(g^m^b)+v[0]-358537222|0,C=(C<<11|C>>>21)+g|0,b+=(C^g^m)+v[3]-722521979|0,b=(b<<16|b>>>16)+C|0,m+=(b^C^g)+v[6]+76029189|0,m=(m<<23|m>>>9)+b|0,g+=(m^b^C)+v[9]-640364487|0,g=(g<<4|g>>>28)+m|0,C+=(g^m^b)+v[12]-421815835|0,C=(C<<11|C>>>21)+g|0,b+=(C^g^m)+v[15]+530742520|0,b=(b<<16|b>>>16)+C|0,m+=(b^C^g)+v[2]-995338651|0,m=(m<<23|m>>>9)+b|0,g+=(b^(m|~C))+v[0]-198630844|0,g=(g<<6|g>>>26)+m|0,C+=(m^(g|~b))+v[7]+1126891415|0,C=(C<<10|C>>>22)+g|0,b+=(g^(C|~m))+v[14]-1416354905|0,b=(b<<15|b>>>17)+C|0,m+=(C^(b|~g))+v[5]-57434055|0,m=(m<<21|m>>>11)+b|0,g+=(b^(m|~C))+v[12]+1700485571|0,g=(g<<6|g>>>26)+m|0,C+=(m^(g|~b))+v[3]-1894986606|0,C=(C<<10|C>>>22)+g|0,b+=(g^(C|~m))+v[10]-1051523|0,b=(b<<15|b>>>17)+C|0,m+=(C^(b|~g))+v[1]-2054922799|0,m=(m<<21|m>>>11)+b|0,g+=(b^(m|~C))+v[8]+1873313359|0,g=(g<<6|g>>>26)+m|0,C+=(m^(g|~b))+v[15]-30611744|0,C=(C<<10|C>>>22)+g|0,b+=(g^(C|~m))+v[6]-1560198380|0,b=(b<<15|b>>>17)+C|0,m+=(C^(b|~g))+v[13]+1309151649|0,m=(m<<21|m>>>11)+b|0,g+=(b^(m|~C))+v[4]-145523070|0,g=(g<<6|g>>>26)+m|0,C+=(m^(g|~b))+v[11]-1120210379|0,C=(C<<10|C>>>22)+g|0,b+=(g^(C|~m))+v[2]+718787259|0,b=(b<<15|b>>>17)+C|0,m+=(C^(b|~g))+v[9]-343485551|0,m=(m<<21|m>>>11)+b|0,x[0]=g+x[0]|0,x[1]=m+x[1]|0,x[2]=b+x[2]|0,x[3]=C+x[3]|0}function n(x){var v=[],g;for(g=0;g<64;g+=4)v[g>>2]=x.charCodeAt(g)+(x.charCodeAt(g+1)<<8)+(x.charCodeAt(g+2)<<16)+(x.charCodeAt(g+3)<<24);return v}function a(x){var v=[],g;for(g=0;g<64;g+=4)v[g>>2]=x[g]+(x[g+1]<<8)+(x[g+2]<<16)+(x[g+3]<<24);return v}function i(x){var v=x.length,g=[1732584193,-271733879,-1732584194,271733878],m,b,C,U,K,I;for(m=64;m<=v;m+=64)r(g,n(x.substring(m-64,m)));for(x=x.substring(m-64),b=x.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<b;m+=1)C[m>>2]|=x.charCodeAt(m)<<(m%4<<3);if(C[m>>2]|=128<<(m%4<<3),m>55)for(r(g,C),m=0;m<16;m+=1)C[m]=0;return U=v*8,U=U.toString(16).match(/(.*?)(.{0,8})$/),K=parseInt(U[2],16),I=parseInt(U[1],16)||0,C[14]=K,C[15]=I,r(g,C),g}function l(x){var v=x.length,g=[1732584193,-271733879,-1732584194,271733878],m,b,C,U,K,I;for(m=64;m<=v;m+=64)r(g,a(x.subarray(m-64,m)));for(x=m-64<v?x.subarray(m-64):new Uint8Array(0),b=x.length,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],m=0;m<b;m+=1)C[m>>2]|=x[m]<<(m%4<<3);if(C[m>>2]|=128<<(m%4<<3),m>55)for(r(g,C),m=0;m<16;m+=1)C[m]=0;return U=v*8,U=U.toString(16).match(/(.*?)(.{0,8})$/),K=parseInt(U[2],16),I=parseInt(U[1],16)||0,C[14]=K,C[15]=I,r(g,C),g}function c(x){var v="",g;for(g=0;g<4;g+=1)v+=s[x>>g*8+4&15]+s[x>>g*8&15];return v}function u(x){var v;for(v=0;v<x.length;v+=1)x[v]=c(x[v]);return x.join("")}u(i("hello")),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function x(v,g){return v=v|0||0,v<0?Math.max(v+g,0):Math.min(v,g)}ArrayBuffer.prototype.slice=function(v,g){var m=this.byteLength,b=x(v,m),C=m,U,K,I,$;return g!==e&&(C=x(g,m)),b>C?new ArrayBuffer(0):(U=C-b,K=new ArrayBuffer(U),I=new Uint8Array(K),$=new Uint8Array(this,b,U),I.set($),K)}}();function f(x){return/[\u0080-\uFFFF]/.test(x)&&(x=unescape(encodeURIComponent(x))),x}function d(x,v){var g=x.length,m=new ArrayBuffer(g),b=new Uint8Array(m),C;for(C=0;C<g;C+=1)b[C]=x.charCodeAt(C);return v?b:m}function p(x){return String.fromCharCode.apply(null,new Uint8Array(x))}function h(x,v,g){var m=new Uint8Array(x.byteLength+v.byteLength);return m.set(new Uint8Array(x)),m.set(new Uint8Array(v),x.byteLength),g?m:m.buffer}function w(x){var v=[],g=x.length,m;for(m=0;m<g-1;m+=2)v.push(parseInt(x.substr(m,2),16));return String.fromCharCode.apply(String,v)}function _(){this.reset()}return _.prototype.append=function(x){return this.appendBinary(f(x)),this},_.prototype.appendBinary=function(x){this._buff+=x,this._length+=x.length;var v=this._buff.length,g;for(g=64;g<=v;g+=64)r(this._hash,n(this._buff.substring(g-64,g)));return this._buff=this._buff.substring(g-64),this},_.prototype.end=function(x){var v=this._buff,g=v.length,m,b=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],C;for(m=0;m<g;m+=1)b[m>>2]|=v.charCodeAt(m)<<(m%4<<3);return this._finish(b,g),C=u(this._hash),x&&(C=w(C)),this.reset(),C},_.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},_.prototype.setState=function(x){return this._buff=x.buff,this._length=x.length,this._hash=x.hash,this},_.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},_.prototype._finish=function(x,v){var g=v,m,b,C;if(x[g>>2]|=128<<(g%4<<3),g>55)for(r(this._hash,x),g=0;g<16;g+=1)x[g]=0;m=this._length*8,m=m.toString(16).match(/(.*?)(.{0,8})$/),b=parseInt(m[2],16),C=parseInt(m[1],16)||0,x[14]=b,x[15]=C,r(this._hash,x)},_.hash=function(x,v){return _.hashBinary(f(x),v)},_.hashBinary=function(x,v){var g=i(x),m=u(g);return v?w(m):m},_.ArrayBuffer=function(){this.reset()},_.ArrayBuffer.prototype.append=function(x){var v=h(this._buff.buffer,x,!0),g=v.length,m;for(this._length+=x.byteLength,m=64;m<=g;m+=64)r(this._hash,a(v.subarray(m-64,m)));return this._buff=m-64<g?new Uint8Array(v.buffer.slice(m-64)):new Uint8Array(0),this},_.ArrayBuffer.prototype.end=function(x){var v=this._buff,g=v.length,m=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],b,C;for(b=0;b<g;b+=1)m[b>>2]|=v[b]<<(b%4<<3);return this._finish(m,g),C=u(this._hash),x&&(C=w(C)),this.reset(),C},_.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},_.ArrayBuffer.prototype.getState=function(){var x=_.prototype.getState.call(this);return x.buff=p(x.buff),x},_.ArrayBuffer.prototype.setState=function(x){return x.buff=d(x.buff,!0),_.prototype.setState.call(this,x)},_.ArrayBuffer.prototype.destroy=_.prototype.destroy,_.ArrayBuffer.prototype._finish=_.prototype._finish,_.ArrayBuffer.hash=function(x,v){var g=l(new Uint8Array(x)),m=u(g);return v?w(m):m},_})})(Rg);const ff=o=>new XMLSerializer().serializeToString(o),Ig=(o,t=Pu.SVG,e=mn.utf8)=>Ou(ff(o),t,e),Fg=(o,t,e)=>{const s=async r=>{await e(r)};return o.addEventListener(t,s,!1),()=>{o.removeEventListener(t,s,!1)}};function vi(){const o=new pr;return{on:(t,e)=>{o.on(t,e)},off:(t,e)=>{o.off(t,e)},emit:(t,...e)=>{o.emit(t,...e)}}}function Dg(){const o=vi();return{destroy:Fg(document,"scroll",t=>{o.emit("scroll",t)}),on:t=>(o.on("scroll",t),()=>{o.off("scroll",t)})}}function $g(o){const t=vi(),e=new ResizeObserver(s=>{const r=s[0],{width:n,height:a}=r.contentRect;t.emit("resize",n,a)});return e.observe(o),{on:s=>(t.on("resize",s),()=>{t.off("resize",s)}),destroy:()=>{e.unobserve(o)}}}function Tn(o,t=.5,e){const s=vi();let r;const n=new IntersectionObserver((a,i)=>{let l=a[0];if(a.length>1){const u=a.find(f=>f.isIntersecting);u&&(l=u)}const c=l.isIntersecting&&l.intersectionRatio>=t;r!==c&&(c?s.emit("show"):s.emit("hide"),r=c)},{threshold:t,root:e});return n.observe(o),{onshow:a=>(s.on("show",a),()=>{s.off("show",a)}),onhide:a=>(s.on("hide",a),()=>{s.off("hide",a)}),destroy:()=>{n.unobserve(o)}}}function Sn(o,t,e,s,r){const n=t/e;let a=0,i=0;switch(o){case"aspectFit":n>=1?(a=s,i=a/n,i>r&&(i=r,a=i*n)):(i=r,a=i*n,a>s&&(a=s,i=a/n));break;case"aspectFill":n>=1?(i=r,a=i*n):(a=s,i=a/n);break;case"widthFix":a=s,i=a/n;break;case"heightFix":i=r,a=i*n;break;case"scaleToFill":default:a=s,i=r;break}return{width:a,height:i}}function Lg(o){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)}function Ng(){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 r=o.indexOf("rv:");return parseInt(o.substring(r+3,o.indexOf(".",r)),10)}const s=o.indexOf("Edge/");return s>0?parseInt(o.substring(s+5,o.indexOf(".",s)),10):-1}const bi=Ng()!==-1;(()=>{const o=yu();return!!(o.Worker&&o.Blob&&o.Promise&&o.OffscreenCanvas&&o.OffscreenCanvasRenderingContext2D&&o.HTMLCanvasElement&&o.HTMLCanvasElement.prototype.transferControlToOffscreen&&o.URL&&o.URL.createObjectURL)})(),function(){if(!yu().OffscreenCanvas)return!1;const t=new OffscreenCanvas(1,1),e=t.getContext("2d");e.fillRect(0,0,1,1);const s=t.transferToImageBitmap();try{e.createPattern(s,"no-repeat")}catch{return!1}return!0}();function Bt(o){return o*Math.PI/180}function Xe(o){return o*180/Math.PI}function _i(o,t,e=0){return Math.sqrt(o*o+t*t+e*e)}function xi(o,t,e,s){return _i(e-o,s-t)}function wi(o,t,e,s){const r=e-o,n=s-t;return r*r+n*n}function $o(o,t,e,s){let r=Math.atan2(s-t,e-o);return r<0&&(r+=Math.PI*2),r}function Ms(o,t){return{dx:Math.cos(o)*t,dy:Math.sin(o)*t}}const df=Mg("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 Mg(o,t=10){const e={},s=o.split(",");for(let r=0;r<s.length;r+=2){const n="&"+s[r+1]+";",a=parseInt(s[r],t);e[n]="&#"+a+";"}return e["\\xa0"]="&#160;",e}function Ne(o,t){const e=Object.keys(t);for(let s=0;s<e.length;s++)o=o.replace(new RegExp("{"+e[s]+"}","gi"),""+t[e[s]]);return o}function En(o){let t,e;if(!o)throw new Error("cannot create a random attribute name for an undefined object");const s="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";t="";do for(t="",e=0;e<12;e++)t+=s[Math.floor(Math.random()*s.length)];while(o[t]);return t}function Ag(o){const t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[o]||t.start}function zg(o){const t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[o]||t.alphabetic}const _r={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 ki{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}addColorStop(t,e){const s=this.__ctx.__createElement("stop");if(s.setAttribute("offset",""+t),e.indexOf("rgba")!==-1){const n=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi.exec(e);n&&(s.setAttribute("stop-color",Ne("rgb({r},{g},{b})",{r:n[1],g:n[2],b:n[3]})),s.setAttribute("stop-opacity",n[4]))}else s.setAttribute("stop-color",e);this.__root.appendChild(s)}}class hf{__root;__ctx;constructor(t,e){this.__root=t,this.__ctx=e}}class Pn{__document=document;__canvas;__ctx;width;height;__styleStack;__groupStack;__rootSVG;__ids;__SVGdefs;__currentElement;__currentElementsToStyle=null;constructor({canvas:t,width:e=500,height:s=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=s),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(_r);for(let e=0,s=t.length;e<s;e++){const r=t[e];this[r]=_r[r].canvas}}__getStyleState(){const t={},e=Object.keys(_r);for(let s=0,r=e.length;s<r;s++){const n=e[s];t[n]=this[n]}return t}__applyStyleState(t){const e=Object.keys(t);for(let s=0,r=e.length;s<r;s++){const n=e[s];this[n]=t[n]}}__createElement(t,e={},s=!1){const r=this.__document.createElementNS("http://www.w3.org/2000/svg",t),n=Object.keys(e);s&&(r.setAttribute("fill","none"),r.setAttribute("stroke","none"));for(let a=0;a<n.length;a++){const i=n[a];r.setAttribute(i,e[i])}return r}__applyStyleToCurrentElement(t){let e=this.__currentElement;const s=this.__currentElementsToStyle;s&&(e.setAttribute(t,""),e=s.element,s.children.forEach(n=>{n.setAttribute(t,"")}));const r=Object.keys(_r);for(let n=0;n<r.length;n++){const a=_r[r[n]],i=this[r[n]];if(a.apply){if(i instanceof hf){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,Ne("url(#{id})",{id:i.__root.getAttribute("id")}))}else if(i instanceof ki)e.setAttribute(a.apply,Ne("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,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),e.setAttribute(a.svgAttr+"-opacity",""+u)}}else{let l=a.svgAttr;if(r[n]==="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 r=Object.keys(df);for(let n=0,a=r.length;n<a;n++){const i=r[n],l=df[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 r=this.__createElement("g");e.appendChild(r),this.__currentElement=r}let s=this.__currentElement.getAttribute("transform");s?s+=" ":s="",s+=t,this.__currentElement.setAttribute("transform",s)}scale(t,e){e===void 0&&(e=t),this.__addTransform(Ne("scale({x},{y})",{x:t,y:e}))}rotate(t){const e=t*180/Math.PI;this.__addTransform(Ne("rotate({angle},{cx},{cy})",{angle:e,cx:0,cy:0}))}translate(t,e){this.__addTransform(Ne("translate({x},{y})",{x:t,y:e}))}transform(t,e,s,r,n,a){this.__addTransform(Ne("matrix({a},{b},{c},{d},{e},{f})",{a:t,b:e,c:s,d:r,e:n,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(Ne("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(Ne("L {x} {y}",this.__currentPosition)):this.__addPathCommand(Ne("M {x} {y}",this.__currentPosition))}bezierCurveTo(t,e,s,r,n,a){this.__currentPosition={x:n,y:a},this.__addPathCommand(Ne("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:t,cp1y:e,cp2x:s,cp2y:r,x:n,y:a}))}quadraticCurveTo(t,e,s,r){this.__currentPosition={x:s,y:r},this.__addPathCommand(Ne("Q {cpx} {cpy} {x} {y}",{cpx:t,cpy:e,x:s,y:r}))}normalize(t){const e=Math.sqrt(t[0]*t[0]+t[1]*t[1]);return[t[0]/e,t[1]/e]}arcTo(t,e,s,r,n){const a=this.__currentPosition&&this.__currentPosition.x,i=this.__currentPosition&&this.__currentPosition.y;if(typeof a>"u"||typeof i>"u")return;if(n<0)throw new Error("IndexSizeError: The radius provided ("+n+") is negative.");if(a===t&&i===e||t===s&&e===r||n===0){this.lineTo(t,e);return}const l=this.normalize([a-t,i-e]),c=this.normalize([s-t,r-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]]),p=n/Math.sin(f/2),h=t+p*d[0],w=e+p*d[1],_=[-l[1],l[0]],x=[c[1],-c[0]],v=function(b){const C=b[0];return b[1]>=0?Math.acos(C):-Math.acos(C)},g=v(_),m=v(x);this.lineTo(h+_[0]*n,w+_[1]*n),this.arc(h,w,n,g,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,e,s,r){this.__currentElement.nodeName!=="path"&&this.beginPath(),this.moveTo(t,e),this.lineTo(t+s,e),this.lineTo(t+s,e+r),this.lineTo(t,e+r),this.lineTo(t,e),this.closePath()}fillRect(t,e,s,r){const n=this.__createElement("rect",{x:t,y:e,width:s,height:r},!0);this.__closestGroupOrSvg().appendChild(n),this.__currentElement=n,this.__applyStyleToCurrentElement("fill")}strokeRect(t,e,s,r){const n=this.__createElement("rect",{x:t,y:e,width:s,height:r},!0);this.__closestGroupOrSvg().appendChild(n),this.__currentElement=n,this.__applyStyleToCurrentElement("stroke")}__clearCanvas(){const e=this.__closestGroupOrSvg().getAttribute("transform"),s=this.__rootSVG.childNodes[1],r=s.childNodes;for(let n=r.length-1;n>=0;n--)r[n]&&s.removeChild(r[n]);this.__currentElement=s,this.__groupStack=[],e&&this.__addTransform(e)}clearRect(t,e,s,r){if(t===0&&e===0&&s===this.width&&r===this.height){this.__clearCanvas();return}const n=this.__closestGroupOrSvg(),a=this.__createElement("rect",{x:t,y:e,width:s,height:r,fill:"#FFFFFF"},!0);n.appendChild(a)}createLinearGradient(t,e,s,r){const n=this.__createElement("linearGradient",{id:En(this.__ids),x1:t+"px",x2:s+"px",y1:e+"px",y2:r+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(n),new ki(n,this)}createRadialGradient(t,e,s,r,n,a){const i=this.__createElement("radialGradient",{id:En(this.__ids),cx:r+"px",cy:n+"px",r:a+"px",fx:t+"px",fy:e+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__SVGdefs.appendChild(i),new ki(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),s={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"&&(s.decoration="underline"),this.__fontHref&&(s.href=this.__fontHref),s}__wrapTextLink(t,e){if(t.href){const s=this.__createElement("a");return s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.href),s.appendChild(e),s}return e}__applyText(t,e,s,r){const n=this.__parseFont(),a=this.__closestGroupOrSvg(),i=this.__createElement("text",{"font-family":n.family,"font-size":n.size,"font-style":n.style,"font-weight":n.weight,"text-decoration":n.decoration,x:e,y:s,"text-anchor":Ag(this.textAlign),"dominant-baseline":zg(this.textBaseline)},!0);i.appendChild(this.__document.createTextNode(t)),this.__currentElement=i,this.__applyStyleToCurrentElement(r),a.appendChild(this.__wrapTextLink(n,i))}fillText(t,e,s){this.__applyText(t,e,s,"fill")}strokeText(t,e,s){this.__applyText(t,e,s,"stroke")}measureText(t){return this.__ctx.font=this.font,this.__ctx.measureText(t)}arc(t,e,s,r,n,a){if(r===n)return;r=r%(2*Math.PI),n=n%(2*Math.PI),r===n&&(n=(n+2*Math.PI-.001*(a?-1:1))%(2*Math.PI));const i=t+s*Math.cos(n),l=e+s*Math.sin(n),c=t+s*Math.cos(r),u=e+s*Math.sin(r),f=a?0:1;let d=0,p=n-r;p<0&&(p+=2*Math.PI),a?d=p>Math.PI?0:1:d=p>Math.PI?1:0,this.lineTo(c,u),this.__addPathCommand(Ne("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:s,ry:s,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"),s=En(this.__ids),r=this.__createElement("g");this.__applyCurrentDefaultPath(),t.removeChild(this.__currentElement),e.setAttribute("id",s),e.appendChild(this.__currentElement),this.__SVGdefs.appendChild(e),t.setAttribute("clip-path",Ne("url(#{id})",{id:s})),t.appendChild(r),this.__currentElement=r}drawImage(...t){let e=t[0],s,r,n,a,i=0,l=0,c,u,f,d,p,h,w,_;if(t.length===3)s=t[1],r=t[2],c=e.width,u=e.height,n=c,a=u;else if(t.length===5)s=t[1],r=t[2],n=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],s=t[5],r=t[6],n=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 v="translate("+s+", "+r+")";if(e instanceof Pn){if(f=e.getSvg().cloneNode(!0),f.childNodes&&f.childNodes.length>1){for(d=f.childNodes[0];d.childNodes.length;)_=d.childNodes[0].getAttribute("id"),this.__ids[_]=_,this.__SVGdefs.appendChild(d.childNodes[0]);if(p=f.childNodes[1],p){const g=p.getAttribute("transform");let m;g?m=g+" "+v:m=v,p.setAttribute("transform",m),x.appendChild(p)}}}else(e.nodeName==="CANVAS"||e.nodeName==="IMG")&&(h=this.__createElement("image"),h.setAttribute("width",n),h.setAttribute("height",a),h.setAttribute("preserveAspectRatio","none"),(i||l||c!==e.width||u!==e.height)&&(w=this.__document.createElement("canvas"),w.width=n,w.height=a,w.getContext("2d")?.drawImage(e,i,l,c,u,0,0,n,a),e=w),h.setAttribute("transform",v),h.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.nodeName==="CANVAS"?e.toDataURL():e.getAttribute("src")),x.appendChild(h))}createPattern(t,e){const s=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),r=En(this.__ids);let n;return s.setAttribute("id",r),t.nodeName==="CANVAS"||t.nodeName==="IMG"?(n=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),n.setAttribute("width",""+t.width),n.setAttribute("height",""+t.height),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t.nodeName==="CANVAS"?t.toDataURL():t.getAttribute("src")),s.appendChild(n),this.__SVGdefs.appendChild(s)):t instanceof Pn&&(s.setAttribute("width",""+t.width),s.setAttribute("height",""+t.height),s.appendChild(t.__rootSVG.childNodes[1]),this.__SVGdefs.appendChild(s)),new hf(s,this)}setLineDash(t){t&&t.length>0?this.lineDash=t.join(","):this.lineDash=null}drawFocusRing(){}createImageData(){}getImageData(){}putImageData(){}globalCompositeOperation(){}setTransform(){}}class Ci{canvas;context;customContext;currentPath2D=new Path2D;path2Ds=[];currentMatrix=new DOMMatrix;hasSetCustomStrokeStyle=!1;hasSetCustomFillStyle=!1;constructor(t,e,s,r=!1){this.canvas=t,this.context=t.getContext("2d",{willReadFrequently:!0}),r&&(this.customContext=new Pn({canvas:this.canvas,width:e||this.canvas.width,height:s||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,s,r){return this.context.fillRect(t,e,s,r),this.customContext&&this.customContext.fillRect(t,e,s,r),this}fillText(t,e,s,r){return this.hasSetCustomFillStyle=!1,this.context.fillText(t,e,s,r),this.customContext&&this.customContext.fillText(t,e,s),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,s,r){return this.context.strokeText(t,e,s,r),this.customContext&&this.customContext.strokeText(t,e,s),this}strokeRect(t,e,s,r){return this.context.strokeRect(t,e,s,r),this.customContext&&this.customContext.strokeRect(t,e,s,r),this}measureText(t){return this.context.measureText(t)}clearRect(t=0,e=0,s=this.canvas.width,r=this.canvas.height){return this.context.clearRect(t,e,s,r),this.customContext&&this.customContext.clearRect(t,e,s,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,e=this.currentMatrix){const s=new Path2D;s.addPath(t,e),this.currentPath2D=s}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,s=0){return this.translate(e,s),this.context.rotate(t),this.customContext&&this.customContext.rotate(t),this.currentMatrix.rotate(t),this.translate(-e,-s),this.changePath2D(),this}scale(t,e=t,s=0,r=0){return this.translate(s,r),this.context.scale(t,e),this.customContext&&this.customContext.scale(t,e),this.currentMatrix.scale(t,e),this.translate(-s,-r),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,s,r,n,a){return this.context.arc(t,e,s,r,n,a),this.customContext&&this.customContext.arc(t,e,s,r,n,a?-1:1),this.currentPath2D.arc(t,e,s,r,n,a),this}arcTo(t,e,s,r,n){return this.context.arcTo(t,e,s,r,n),this.customContext&&this.customContext.arcTo(t,e,s,r,n),this.currentPath2D.arcTo(t,e,s,r,n),this}ellipse(t,e,s,r,n,a,i,l){return this.context.ellipse(t,e,s,r,n,a,i,l),this.currentPath2D.ellipse(t,e,s,r,n,a,i,l),this}quadraticCurveTo(t,e,s,r){return this.context.quadraticCurveTo(t,e,s,r),this.customContext&&this.customContext.quadraticCurveTo(t,e,s,r),this.currentPath2D.quadraticCurveTo(t,e,s,r),this}bezierCurveTo(t,e,s,r,n,a){return this.context.bezierCurveTo(t,e,s,r,n,a),this.customContext&&this.customContext.bezierCurveTo(t,e,s,r,n,a),this.currentPath2D.bezierCurveTo(t,e,s,r,n,a),this}rect(t,e,s,r){return this.context.rect(t,e,s,r),this.customContext&&this.customContext.rect(t,e,s,r),this.currentPath2D.rect(t,e,s,r),this}createLinearGradient(t,e,s,r,n){const a=this.context.createLinearGradient(t,e,s,r);return n&&Object.entries(n).forEach(([i,l])=>{a.addColorStop(parseFloat(i),l)}),a}createRadialGradient(t,e,s,r,n,a,i){const l=this.context.createRadialGradient(t,e,s,r,n,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 s=e[0],r=e[1];this.context.drawImage(t,s,r)}else if(e.length===4){const s=e[0],r=e[1],n=e[2],a=e[3];this.context.drawImage(t,s,r,n,a)}else if(e.length===8){const s=e[0],r=e[1],n=e[2],a=e[3],i=e[4],l=e[5],c=e[6],u=e[7];this.context.drawImage(t,s,r,n,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,s=this.canvas.width,r=this.canvas.height,n){return this.context.getImageData(t,e,s,r,n)}putImageData(t,e=0,s=0){return this.context.putImageData(t,e,s)}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}}}class On{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=$o(this.x,this.y,this.toX,this.toY);if(t===0){const e=Math.min(this.x,this.toX),s=Math.min(this.y,this.toY),r=Math.max(this.x,this.toX),n=Math.max(this.y,this.toY);return{x:e,y:s,width:r-e,height:n-s}}else{const e=Math.sin(t),s=Math.cos(t),r=s*this.x-e*this.y,n=s*this.toX-e*this.toY,a=s*this.y+e*this.x,i=s*this.toY+e*this.toX;return{x:Math.min(r,n),y:Math.min(a,i),width:Math.max(r,n)-Math.min(r,n),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,s=this.y,r=t.toX,n=t.toY,a=this.toX-e,i=t.x-r;if(!a&&!i)return null;const l=(this.toY-s)/a,c=(t.y-n)/i;if(a){if(!i)return{x:r,y:l*(r-e)+s}}else return{x:e,y:c*(e-r)+n};const u=(-c*r+n+l*e-s)/(l-c),f=l*(u-e)+s;return isNaN(u)||isNaN(f)?null:{x:u,y:f}}}const pf=On;class Ti extends On{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,s,r,n,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,s,r,n,a,i,l,!this.sweepFlag)}convert(t,e,s,r,n,a,i,l,c){const u=i/180*Math.PI,f=(t-s)/2,d=(e-r)/2,p=Math.cos(u)*f+Math.sin(u)*d,h=-Math.sin(u)*f+Math.cos(u)*d,w=p*p/(n*n)+h*h/(a*a);if(w>1){const N=Math.sqrt(w);throw n=N*n,a=N*a,new Error(`Radii are too small to build an arc. Correcting them to ${n}/${a}.`)}const _=Math.sqrt((n*n*a*a-n*n*h*h-a*a*p*p)/(n*n*h*h+a*a*p*p)),x=l!=c?1:-1,v=x*_*n*h/a,g=x*_*-a*p/n,m=(t+s)/2,b=(e+r)/2,C=Math.cos(u)*v-Math.sin(u)*g+m,U=Math.sin(u)*v+Math.cos(u)*g+b,K=(N,D,A,X)=>(N*X>=D*A?1:-1)*Math.acos((N*A+D*X)/(Math.sqrt(N*N+D*D)*Math.sqrt(A*A+X*X))),I=K(1,0,t-C,e-U)-u,$=K(t-C,e-U,s-C,r-U);return[C,U,n,a,u,I,I+$]}}const Vg=Ti;class Bg extends On{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,s=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e,s,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 s,r,n,a;for(let c=0;c<2;++c)s=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,n=c==0?this.x:this.y,Math.abs(s)>1e-12&&(a=-r/(2*s),0<a&&a<1&&[t,e][c].push(s*a*a+r*a+n));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 Yg=Bg;class go extends On{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),s=this.x-this.c1x,r=(-e+Math.sqrt(e*e-4*t*s))/2/t,n=(-e-Math.sqrt(e*e-4*t*s))/2/t;const a=[this.y,this.toY],i=[this.x,this.toX];let l;const c=[];Math.abs(r)>1e12&&(r=.5),Math.abs(n)>1e12&&(n=.5),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),n>=0&&n<=1&&(l=this.interpolate(n),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),s=this.y-this.c1y,r=(-e+Math.sqrt(e*e-4*t*s))/2/t,n=(-e-Math.sqrt(e*e-4*t*s))/2/t,Math.abs(r)>1e12&&(r=.5),Math.abs(n)>1e12&&(n=.5),r>=0&&r<=1&&(l=this.interpolate(r),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y})),n>=0&&n<=1&&(l=this.interpolate(n),i.push(l.x),a.push(l.y),c.push({X:l.x,Y:l.y}));let u=[],f=c.length;for(let h=0;h<f;h++){for(let w=h+1;w<f;w++)c[h].X===c[w].X&&c[h].Y===c[w].Y&&(w=++h);u.push({X:c[h].X,Y:c[h].Y})}const d={x:Math.min.apply(Math,i),y:Math.min.apply(Math,a)},p={x:Math.max.apply(Math,i),y:Math.max.apply(Math,a)};return{x:d.x,y:d.y,width:p.x-d.x,height:p.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,s,r,n){const a=-3*e+9*s-9*r+3*n,i=t*a+6*e-12*s+6*r;return t*i-3*e+3*s}static bezlen(t,e,s,r,n,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 p=0;for(let h=0;h<12;h++){const w=u*f[h]+u,_=this.base3(w,t,s,n,i),x=this.base3(w,e,r,a,l);p+=d[h]*Math.sqrt(_*_+x*x)}return u*p}length(t=1){return go.bezlen(this.x,this.y,this.c1x,this.c1y,this.c2x,this.c2y,this.toX,this.toY,t)}getTatLen(t){const e=this.x,s=this.y,r=this.c1x,n=this.c1y,a=this.c2x,i=this.c2y,l=this.toX,c=this.toY;if(t<0||go.bezlen(e,s,r,n,a,i,l,c)<t)return 0;let u=1,f=u/2,d=u-f,p=go.bezlen(e,s,r,n,a,i,l,c,d);for(;Math.abs(p-t)>.01;)f/=2,d+=(p<t?1:-1)*f,p=go.bezlen(e,s,r,n,a,i,l,c,d);return d}getPointAtSegmentLength(t){const e=this.getTatLen(t);let s=1-e,r=Math.pow(s,3),n=Math.pow(s,2),a=e*e,i=a*e,l=r*this.x+n*3*e*this.c1x+s*3*e*e*this.c2x+i*this.toX,c=r*this.y+n*3*e*this.c1y+s*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),p=this.c1y+2*e*(this.c2y-this.c1y)+a*(this.toY-2*this.c2y+this.c1y),h=s*this.x+e*this.c1x,w=s*this.y+e*this.c1y,_=s*this.c2x+e*this.toX,x=s*this.c2y+e*this.toY,v=90-Math.atan2(u-d,f-p)*180/Math.PI;return{x:l,y:c,m:{x:u,y:f},n:{x:d,y:p},start:{x:h,y:w},end:{x:_,y:x},alpha:v}}}const qs=go,xr=Math.PI*2;function mf(o,t,e,s){const r=o*s-t*e<0?-1:1;let n=o*e+t*s;return n>1&&(n=1),n<-1&&(n=-1),r*Math.acos(n)}function Xg(o,t,e,s,r,n,a,i,l,c){const u=c*(o-e)/2+l*(t-s)/2,f=-l*(o-e)/2+c*(t-s)/2,d=a*a,p=i*i,h=u*u,w=f*f;let _=d*p-d*w-p*h;_<0&&(_=0),_/=d*w+p*h,_=Math.sqrt(_)*(r===n?-1:1);const x=_*a/i*f,v=_*-i/a*u,g=c*x-l*v+(o+e)/2,m=l*x+c*v+(t+s)/2,b=(u-x)/a,C=(f-v)/i,U=(-u-x)/a,K=(-f-v)/i,I=mf(1,0,b,C);let $=mf(b,C,U,K);return n===0&&$>0&&($-=xr),n===1&&$<0&&($+=xr),[g,m,I,$]}function Gg(o,t){const e=1.3333333333333333*Math.tan(t/4),s=Math.cos(o),r=Math.sin(o),n=Math.cos(o+t),a=Math.sin(o+t);return[s,r,s-r*e,r+s*e,n+a*e,a-n*e,n,a]}function gf(o,t,e,s,r,n,a,i,l){const c=Math.sin(l*xr/360),u=Math.cos(l*xr/360),f=u*(o-e)/2+c*(t-s)/2,d=-c*(o-e)/2+u*(t-s)/2;if(f===0&&d===0)return[];if(a===0||i===0)return[];a=Math.abs(a),i=Math.abs(i);const p=f*f/(a*a)+d*d/(i*i);p>1&&(a*=Math.sqrt(p),i*=Math.sqrt(p));const h=Xg(o,t,e,s,r,n,a,i,c,u),w=[];let _=h[2],x=h[3];const v=Math.max(Math.ceil(Math.abs(x)/(xr/4)),1);x/=v;for(let g=0;g<v;g++)w.push(Gg(_,x)),_+=x;return w.map(g=>{for(let m=0;m<g.length;m+=2){let b=g[m+0],C=g[m+1];b*=a,C*=i;const U=u*b-c*C,K=c*b+u*C;g[m+0]=U+h[0],g[m+1]=K+h[1]}return g})}function Si(o,t,e,s,r,n){return[o/3+.6666666666666666*e,t/3+.6666666666666666*s,r/3+.6666666666666666*e,n/3+.6666666666666666*s,r,n]}function wr(o,t,e,s){return[o,t,e,s,e,s]}const Rn={a:7,c:6,s:4,q:4,t:2,m:2,l:2,h:1,v:1,z:0};class pe{static createSVGElement(t="path",e){const s=document.createElementNS.call(document,"http://www.w3.org/2000/svg",t);return e&&zo(s,e),s}static createSvgPath(t,e){return this.createSVGElement("path",{d:t,id:e||Fo()})}static downloadFromSVGElement(t,e="shape"){return Nf(Ig(t),`${e}.svg`)}static downloadFromSVGString(t,e="shape"){return Nf(Ou(t),`${e}.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(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 pe.isSVGPath(t)&&t.replace(/([mlhvzaqtcs])([^mlhvzaqtcs]*)/gi,(s,r,n)=>{let a=r.toLowerCase();const i=qa(n);for(a=="m"&&i.length>Rn[a]&&(e.push([r,...i.splice(0,Rn[a])]),a="l",r=r=="m"?"l":"L");i.length;){if(i.length<Rn[a])throw new Error(`parseSVGPath substring:{ ${s} } command:{ ${r} } args:{ ${i} }`);e.push([r,...i.splice(0,Rn[a])])}return a=="z"&&e.push([r]),""}),e}static absolutizeSVGPath(t){let e=0,s=0,r=0,n=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]+=r,a[7]+=n;break;case"v":a[1]+=n;break;case"h":a[1]+=r;break;default:for(let c=1;c<a.length;)a[c++]+=r,a[c++]+=n}switch(l){case"Z":r=e,n=s;break;case"H":r=a[1];break;case"V":n=a[1];break;case"M":r=e=a[1],n=s=a[2];break;default:r=a[a.length-2],n=a[a.length-1]}return a})}static relativeSVGPath(t){let e=0,s=0,r=0,n=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]-=r,a[7]-=n;break;case"V":a[1]-=n;break;case"H":a[1]-=r;break;default:for(let c=1;c<a.length;)a[c++]-=r,a[c++]-=n}switch(l){case"z":r=e,n=s;break;case"h":r+=a[1];break;case"v":n+=a[1];break;case"m":r+=a[1],n+=a[2],e+=a[1],s+=a[2];break;default:r+=a[a.length-2],n+=a[a.length-1]}return a})}static normalizeSVGPath(t){const e=[];let s=0,r=0,n=0,a=0,i=0,l=0,c=0,u=0,f;for(let d=0,p=t.length;d<p;d++){let h=t[d];const w=h[0];switch(w){case"M":s=h[1],r=h[2];break;case"A":const _=gf(n,a,h[6],h[7],h[4],h[5],h[1],h[2],h[3]);if(!_.length)continue;_.forEach((g,m)=>{const[b,C,U,K,I,$,N,D]=g;h=["C",U,K,I,$,N,D],m<_.length-1&&e.push(h)});break;case"S":let x=n,v=a;(f=="C"||f=="S")&&(x+=x-c,v+=v-u),h=["C",x,v,h[1],h[2],h[3],h[4]];break;case"T":f=="Q"||f=="T"?(i=n*2-i,l=a*2-l):(i=n,l=a),h=["C",...Si(n,a,i,l,h[1],h[2])];break;case"Q":i=h[1],l=h[2],h=["C",...Si(n,a,h[1],h[2],h[3],h[4])];break;case"L":h=["C",...wr(n,a,h[1],h[2])];break;case"H":h=["C",...wr(n,a,h[1],a)];break;case"V":h=["C",...wr(n,a,n,h[1])];break;case"Z":h=["C",...wr(n,a,s,r)];break}f=w,n=h[h.length-2],a=h[h.length-1],h.length>4?(c=h[h.length-4],u=h[h.length-3]):(c=n,u=a),e.push(h)}return e}static catmullRom2bezier(t){const e=[];for(let s=0,r=t.length;r-2>s;s+=2){let n;s==0?n=[{x:t[s],y:t[s+1]},{x:t[s],y:t[s+1]},{x:t[s+2],y:t[s+3]},{x:t[s+4],y:t[s+5]}]:r-4==s?n=[{x:t[s-2],y:t[s-1]},{x:t[s],y:t[s+1]},{x:t[s+2],y:t[s+3]},{x:t[s+2],y:t[s+3]}]:n=[{x:t[s-2],y:t[s-1]},{x:t[s],y:t[s+1]},{x:t[s+2],y:t[s+3]},{x:t[s+4],y:t[s+5]}];const a=[{x:n[1].x,y:n[1].y},{x:(-n[0].x+6*n[1].x+n[2].x)/6,y:(-n[0].y+6*n[1].y+n[2].y)/6},{x:(n[1].x+6*n[2].x-n[3].x)/6,y:(n[1].y+6*n[2].y-n[3].y)/6},{x:n[2].x,y:n[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 s=["L",0,0],r;for(let n=0,a=t.length;n<a;n++){const i=t[n];switch(i[0]){case"M":s=["L",i[1],i[2]],e.push(i);break;case"Z":e.push(s);break;case"H":r=e[e.length-1]||["L",0,0],e.push(["L",i[1],r[r.length-1]]);break;case"V":r=e[e.length-1]||["L",0,0],e.push(["L",r[r.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 s,r=0,n=0;for(let a=0,i=t.length;a<i;a++){const l=t[a],c=e[l[0]];c&&(l[0]=c.to,s&&(s[0]===c.to?(r=2*Number(s[c.x+2])-Number(s[c.x]),n=2*Number(s[c.x+3])-Number(s[c.x+1])):(r=Number(s[s.length-2]),n=Number(s[s.length-1]))),l.splice(1,0,r,n)),s=l}return t}}class Qe{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(pe.parseSVGPath(t),e):t instanceof Qe?this.resetFromSVGPathData(t.toSVGPathData(),e):this.resetFromSVGPathData(t||[],e)}resetFromSVGPathData(t,e){this.normalizedLines=[];const s=pe.normalizeSVGPath(pe.absolutizeSVGPath(t));this.prevPathX=this.startPathX=0,this.prevPathY=this.startPathY=0;let r=!1;for(let n=0,a=s.length;n<a;n++){const i=s[n];if(i[0]=="M"){r||(r=!0,this.startPathX=i[1],this.startPathY=i[2]),this.prevPathX=i[1],this.prevPathY=i[2];continue}this.appendLine(new qs({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(n=>{({x:n.x,y:n.y}=e.transformPoint({x:n.x,y:n.y})),{x:n.c1x,y:n.c1y}=e.transformPoint({x:n.c1x,y:n.c1y}),{x:n.c2x,y:n.c2y}=e.transformPoint({x:n.c2x,y:n.c2y}),{x:n.toX,y:n.toY}=e.transformPoint({x:n.toX,y:n.toY})}))}static fromPolymorphPoints(t){const e=new Qe;e.prevPathX=e.startPathX=t[0]||0,e.prevPathY=e.startPathY=t[1]||0;for(let s=2,r=t.length;s+5<r;s+=6)e.appendLine(new qs({c1x:t[s],c1y:t[s+1],c2x:t[s+2],c2y:t[s+3],toX:t[s+4],toY:t[s+5]}));return e}static fromLines(t){const e=new Qe;e.prevPathX=e.startPathX=t[0].x||0,e.prevPathY=e.startPathY=t[0].y||0;for(let s=0,r=t.length;s<r;s++)e.appendLine(t[s]);return e}appendLine(t){if(t instanceof Vg){gf(this.prevPathX,this.prevPathY,t.toX,t.toY,t.largeArcFlag,t.sweepFlag,t.rx,t.ry,t.xAxisRotate).forEach(c=>{const[u,f,d,p,h,w,_,x]=c;this.normalizedLines.push(new qs({x:this.prevPathX,y:this.prevPathY,c1x:d,c1y:p,c2x:h,c2y:w,toX:_,toY:x})),this.prevPathX=_,this.prevPathY=x});return}let e,s,r,n,a,i;t instanceof qs?(e=t.c1x,s=t.c1y,r=t.c2x,n=t.c2y,a=t.toX,i=t.toY):t instanceof Yg?[e,s,r,n,a,i]=Si(this.prevPathX,this.prevPathY,t.cx,t.cy,t.toX,t.toY):[e,s,r,n,a,i]=wr(this.prevPathX,this.prevPathY,t.toX,t.toY),this.normalizedLines.push(new qs({x:this.prevPathX,y:this.prevPathY,c1x:e,c1y:s,c2x:r,c2y:n,toX:a,toY:i})),this.prevPathX=a,this.prevPathY=i}toSVGPathData(){const{startPathX:t,startPathY:e,normalizedLines:s}=this.updateTransform(),r=[];r.push(["M",t,e]);for(let n=0,a=s.length;n<a;n++)r.push(...s[n].toSVGPathData());return r}toSVGPathD(){return pe.SVGPathDataToD(this.toSVGPathData())}toCanvasContext(t){const{startPathX:e,startPathY:s,normalizedLines:r}=this.updateTransform();t.beginPath(),t.moveTo(e,s),r.forEach(n=>{n.toCanvasContext(t)})}getBoundingClientRect(){const{normalizedLines:t}=this.updateTransform(),e=[],s=[];if(t.forEach(l=>{const c=l.getBoundingClientRect();e.push(c.x,c.x+c.width),s.push(c.y,c.y+c.height)}),e.length==0||s.length==0)return{x:0,y:0,width:0,height:0};const r=Math.min.apply(0,e),n=Math.min.apply(0,s),a=Math.max.apply(0,e),i=Math.max.apply(0,s);return{x:r,y:n,width:a-r,height:i-n}}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 e=this.startPathX,s=this.startPathY;({x:e,y:s}=t.transformPoint({x:e,y:s}));const r=[];return this.normalizedLines.forEach(n=>{let a=n.x,i=n.y,l=n.c1x,c=n.c1y,u=n.c2x,f=n.c2y,d=n.toX,p=n.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:p}=t.transformPoint({x:d,y:p}),r.push(new qs({x:a,y:i,c1x:l,c1y:c,c2x:u,c2y:f,toX:d,toY:p}))}),{startPathX:e,startPathY:s,normalizedLines:r}}}getTotalLength(){const{normalizedLines:t}=this.updateTransform();return t.reduce((e,s)=>e+=s.length(),0)}getPointAtLength(t){const{normalizedLines:e}=this.updateTransform();let s=0;const r=e.length;for(let n=0;n<r;n++){const a=e[n],i=a.length();if(s+i>=t)return a.getPointAtSegmentLength(t-s);s+=i}return e[r-1].getPointAtSegmentLength(1)}interpolate(t){const{startPathX:e,startPathY:s,normalizedLines:r}=this.updateTransform(),n=r.length;if(n===0)return{x:e,y:s};if(n===1)return r[0].interpolate(t);{let a=t*n,i=r[0];if(a--,a>1)for(let l=1;l<n&&(i=r[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 s=this.getSubpathsAtLength(this,e,1);return t?this.getSubpathsAtLength(s,t):s}}getSubpathsAtLength(t,e,s){const{startPathX:r,startPathY:n,normalizedLines:a}=t.updateTransform();let i=null,l=0;const c=new Qe;c.prevPathX=c.startPathX=r,c.prevPathY=c.startPathY=n;for(let u=0,f=a.length;u<f;u++){const d=a[u],p=d.length();if(l+p>e&&!i){const h=d.getPointAtSegmentLength(e-l);if(c.appendLine(new qs({c1x:h.start.x,c1y:h.start.y,c2x:h.m.x,c2y:h.m.y,toX:h.x,toY:h.y})),s)return c;i=c,c.appendLine(new qs({c1x:h.n.x,c1y:h.n.y,c2x:h.end.x,c2y:h.end.y,toX:d.x,toY:d.y})),l+=p;continue}l+=p,c.appendLine(d)}return c}closestPoint(t,e){const s=this.getTotalLength();let r={x:t,y:e},n=0,a=1/0,i=8;for(let c=0;c<=s;c+=i){let u=this.getPointAtLength(c),f=wi(u.x,u.y,t,e);f<a&&(r=u,n=c,a=f)}for(i/=2;i>.5;){let c=n-i,u=this.getPointAtLength(c),f=wi(u.x,u.y,t,e),d=n+i,p=this.getPointAtLength(d),h=wi(p.x,p.y,t,e);c>=0&&f<a?(r=u,n=c,a=f):d<=s&&h<a?(r=p,n=d,a=h):i/=2}const l=this.getPointAtLength(n+(n===s?-.1:.1));return{point:r,rotation:n>=s?$o(l.x,l.y,r.x,r.y):$o(r.x,r.y,l.x,l.y),distance:Math.sqrt(a)}}get polymorphPoints(){const{startPathX:t,startPathY:e,normalizedLines:s}=this.updateTransform();return[t,e].concat(s.reduce((r,n)=>r.concat([n.c1x,n.c1y,n.c2x,n.c2y,n.toX,n.toY]),[]))}perimeterPoints(){const t=this.polymorphPoints,e=t.length;let s=t[e-2],r=t[e-1],n=0;for(let a=0;a<e;a+=6)n+=xi(t[a],t[a+1],s,r),s=t[a],r=t[a+1];return Math.floor(n)}expendFill(t){const e=this.polymorphPoints,s=e.length;let r=t-s;const n=Math.ceil(t/s),a=[];a.push(["M",e[0],e[1]]);let i=2;for(;i+5<=s-1;){const l=e[i++],c=e[i++],u=e[i++],f=e[i++],d=e[i++],p=e[i++];a.push(["C",l,c,u,f,d,p]);let h=0;for(;h<n&&r>0;)a.push(["C",d,p,d,p,d,p]),r-=6,h++}return a}static mixPoints(t,e,s){const r=t.length,n=new Array(r);for(let a=0;a<r;a++)n[a]=Ce(t[a]+(e[a]-t[a])*s,6);return n}static getPathInterpolator(t,e){return s=>Math.abs(s-0)<Number.EPSILON?t:Math.abs(s-1)<Number.EPSILON?e:Qe.fromPolymorphPoints(Qe.mixPoints(new Qe({d:t}).polymorphPoints,new Qe({d:e}).polymorphPoints,s)).toSVGPathData()}}(function(){if(!window.requestAnimationFrame){let o=he();window.requestAnimationFrame=function(t){const e=he(),s=Math.max(0,16-(e-o)),r=window.setTimeout(function(){t(e+s)},s);return o=e+s,r}}window.cancelAnimationFrame||(window.cancelAnimationFrame=function(o){clearTimeout(o)})})();const le=o=>{let t=!1;return window.requestAnimationFrame(function e(s){!t&&o(s)&&window.requestAnimationFrame(e)}),()=>{t=!0}};function Ei(o,t=0){if(t==0)return o(he()),()=>{};{const e=he();return le(s=>s-e>=t?(o(s),!1):!0)}}function Ug(o,t=0){let e=!1,s=0;const r=he(),n=a=>{if(e)return;s++;const i=a-r-s*t;o(a,s,t<=i),Ei(n,Math.max(0,t-i))};return Ei(n,t),()=>{e=!0}}function jg(o,t=20){const e=1e3/t;let s=0,r;return()=>(he()-s>=e&&(s=he(),r=o()),r)}const In=new si;let Pi=!1;function yf(o,t,e){if(o&&t&&In.set(o,t),Pi)return;Pi=!0;const s=he();Wg(r=>{for(Pi=!1;(r.timeRemaining()>0||e&&he()-s>=e)&&In.length>0;){const n=In.shift();n&&n[1]()}In.length>0&&yf()})}let Fn=0,yo=33,Qs=33,Oi;const vf=new MessageChannel,Hg=vf.port2;vf.port1.onmessage=o=>{Oi!==null&&Oi({didTimeout:Fn<=he(),timeRemaining:()=>Math.max(0,Fn-he())})};function Wg(o){return Oi=o,requestAnimationFrame(t=>{let e=t-Fn+Qs;e<Qs&&yo<Qs?(e<8&&(e=8),Qs=e<yo?yo:e):e>Qs&&yo>Qs?Qs=e<yo?yo:e:yo=e,Fn=t+Qs,Hg.postMessage(null)})}class kr{static _nextId=0;static nextId(){return kr._nextId++}}const ft={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-ft.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?ft.Bounce.In(o*2)*.5:ft.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(s){return t*Math.random()+e*o(s)}},swing:function(o){return o+Math.sin(o*Math.PI*2)/2},causeSeizures:function(o){return o+.2*Math.random()-.1}},Ri=ft;function Zg(o){switch(o){case ft.Quadratic.In:return ft.Quadratic.Out;case ft.Quadratic.Out:return ft.Quadratic.In;case ft.Quadratic.InOut:return ft.Quadratic.InOut;case ft.Cubic.In:return ft.Cubic.Out;case ft.Cubic.Out:return ft.Cubic.In;case ft.Cubic.InOut:return ft.Cubic.InOut;case ft.Quartic.In:return ft.Quartic.Out;case ft.Quartic.Out:return ft.Quartic.In;case ft.Quartic.InOut:return ft.Quartic.InOut;case ft.Quintic.In:return ft.Quintic.Out;case ft.Quintic.Out:return ft.Quintic.In;case ft.Quintic.InOut:return ft.Quintic.InOut;case ft.Sinusoidal.In:return ft.Sinusoidal.Out;case ft.Sinusoidal.Out:return ft.Sinusoidal.In;case ft.Sinusoidal.InOut:return ft.Sinusoidal.InOut;case ft.Exponential.In:return ft.Exponential.Out;case ft.Exponential.Out:return ft.Exponential.In;case ft.Exponential.InOut:return ft.Exponential.InOut;case ft.Circular.In:return ft.Circular.Out;case ft.Circular.Out:return ft.Circular.In;case ft.Circular.InOut:return ft.Circular.InOut;case ft.Elastic.In:return ft.Elastic.Out;case ft.Elastic.Out:return ft.Elastic.In;case ft.Elastic.InOut:return ft.Elastic.InOut;case ft.Back.In:return ft.Back.Out;case ft.Back.Out:return ft.Back.In;case ft.Back.InOut:return ft.Back.InOut;case ft.Bounce.In:return ft.Bounce.Out;case ft.Bounce.Out:return ft.Bounce.In;case ft.Bounce.InOut:return ft.Bounce.InOut;default:return o}}const Lo={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 s=t;s>1;s--)e*=s;return o[t]=e,e}}(),Bernstein:function(o,t){const e=Lo.Utils.Factorial;return e(o)/e(t)/e(o-t)},CatmullRom:function(o,t,e,s,r){const n=(e-o)*.5,a=(s-t)*.5,i=r*r,l=r*i;return(2*t-2*e+n+a)*l+(-3*t+3*e-2*n-a)*i+n*r+t},QuadraticBezier:(o,t,e,s)=>{const r=1-s;return r*r*o+2*r*s*t+s*s*e},CubicBezier:(o,t,e,s,r)=>{const n=1-r;return n*n*n*o+3*n*n*r*t+3*n*r*r*e+r*r*r*s}},Linear:function(o,t){const e=o.length-1,s=e*t,r=Math.floor(s),n=Lo.Utils.Linear;return t<0?n(o[0],o[1],s):t>1?n(o[e],o[e-1],e-s):n(o[r],o[r+1>e?e:r+1],s-r)},Bezier:function(o,t){let e=0;const s=o.length-1,r=Math.pow,n=Lo.Utils.Bernstein;for(let a=0;a<=s;a++)e+=r(1-t,s-a)*r(t,a)*o[a]*n(s,a);return e},CatmullRom:function(o,t){const e=o.length-1;let s=e*t,r=Math.floor(s);const n=Lo.Utils.CatmullRom;return o[0]===o[e]?(t<0&&(r=Math.floor(s=e*(1+t))),n(o[(r-1+e)%e],o[r],o[(r+1)%e],o[(r+2)%e],s-r)):t<0?o[0]-(n(o[0],o[0],o[1],o[1],-s)-o[0]):t>1?o[e]-(n(o[e],o[e],o[e-1],o[e-1],s-e)-o[e]):n(o[r?r-1:0],o[r],o[e<r+1?e:r+1],o[e<r+2?e:r+2],s-r)}},Ii=Lo;class bf{_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=he(),e=!1){const s=Object.keys(this._tweens);for(let r=0;r<s.length;r++){const n=this._tweens[s[r]],a=!e;n&&n.update(t,a)===!1&&!e&&delete this._tweens[s[r]]}return!!Object.keys(this._tweens).length}}const es=new bf;class _f{constructor(t,e=es){this._object=t,this._group=e}_id=kr.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=Ri.Linear.None;_interpolationFunction=Ii.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=he()){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,s,r){for(const n in s){const a=t[n],i=Array.isArray(a),l=i?"array":typeof a,c=!i&&Array.isArray(s[n]);if(!(l==="undefined"||l==="function")){if(c){let u=s[n];if(u.length===0)continue;u=u.map(this._handleRelativeValue.bind(this,a)),s[n]=[a].concat(u)}if((l==="object"||i)&&a&&!c){e[n]=i?[]:{};for(const u in a)e[n][u]=a[u];r[n]=i?[]:{},this._setupProperties(a,e[n],s[n],r[n])}else typeof e[n]>"u"&&(e[n]=a),i||(e[n]*=1),c?r[n]=s[n].slice().reverse():r[n]=e[n]||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=he()){return this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStartTime=t,this._group&&this._group.remove(this),this)}resume(t=he()){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=es){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=Ri.Linear.None){return this._easingFunction=t,this}interpolation(t=Ii.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=he(),e=!0){if(this._isPaused)return!0;let s,r;const n=this._startTime+this._durationTime;if(!this._goToEnd&&!this._isPlaying){if(t>n)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),r=(t-this._startTime)/this._durationTime,r=this._durationTime===0||r>1?1:r;const a=this._easingFunction(r);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,a),this._onUpdateCallback&&this._onUpdateCallback(this._object,r),r===1)if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(s in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[s]=="string"&&(this._valuesStartRepeat[s]=this._valuesStartRepeat[s]+parseFloat(this._valuesEnd[s])),this._yoyo&&this._swapEndStartRepeatValues(s),this._valuesStart[s]=this._valuesStartRepeat[s];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,s,r){for(const n in s){if(e[n]===void 0)continue;const a=e[n]||0;let i=s[n];const l=Array.isArray(t[n]),c=Array.isArray(i);!l&&c?t[n]=this._interpolationFunction(i,r):typeof i=="object"&&i?this._updateProperties(t[n],a,i,r):(i=this._handleRelativeValue(a,i),typeof i=="number"&&(t[n]=a+(i-a)*r))}}_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],s=this._valuesEnd[t];typeof s=="string"?this._valuesStartRepeat[t]=this._valuesStartRepeat[t]+parseFloat(s):this._valuesStartRepeat[t]=s,this._valuesEnd[t]=e}}const qg=_f,Qg=kr.nextId,Kg=es.getAll.bind(es),Jg=es.removeAll.bind(es),ty=es.add.bind(es),ey=es.remove.bind(es),sy=es.update.bind(es),xt={now:he,Sequence:kr,Easing:Ri,Interpolation:Ii,Group:bf,Tween:qg,nextId:Qg,getAll:Kg,removeAll:Jg,add:ty,remove:ey,update:sy};class oy{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=he(),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=he();t=e-this.oldTime,this.oldTime=e,this.elapsedTime+=t}return t}}const xf=oy;class Ie{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){E0(this.tweens,(e,s)=>t?e.delay>s.delay:e.delay<=s.delay)}cloneTweens(t=this.tweens){const e=[];return t.forEach(s=>{const r={...s};delete r.tween,r.fromValues={...r.fromValues},r.toValues={...r.toValues},e.push(r)}),e}addTween(t,e,s){const r={fromValues:t,toValues:e,frames:typeof s?.frames=="number"?s.frames:1,delay:typeof s?.delay=="number"?s.delay:this.tweens.length,easeFunction:s?.easeFunction||ft.Linear.None,interpolationFunction:s?.interpolationFunction||Lo.Linear,repeat:typeof s?.repeat=="number"?s.repeat:0,yoyo:s?.yoyo||!1,onStart:s?.onStart||(()=>{}),onUpdate:s?.onUpdate||(()=>{}),onComplete:s?.onComplete||(()=>{})};return this.tweens.push(r),this}cancelRequestAnimationCycle=()=>{};runTweens(t){this.cancelRequestAnimationCycle();const e=new xf,s=this.frameDuration;return new Promise(r=>{this.onGroupStart?.(),this.cancelRequestAnimationCycle=le(n=>{if(!this.isPaused){const i=Math.max(0,n-this.pausedDuration),l=Math.max(0,e.getElapsedTime()-this.pausedDuration);t.filter(c=>c.delay*s<=l).forEach(c=>{c.tween||(c.tween=new _f({...c.fromValues}).to({...c.toValues},c.frames*s).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))*s>l?c.tween.update(i):(c.tween.isPlaying()&&c.tween.end(),d0(t,c))})}const a=!!t.length;return a||(this.onGroupComplete?.(),r()),a})})}isPaused=!1;pausedClock=new xf;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(s=>{e=Math.max(e,s.delay+s.frames),s.easeFunction=Zg(s.easeFunction);const r={...s.toValues};s.toValues={...s.fromValues},s.fromValues={...r}}),t.forEach(s=>{s.delay=e-s.frames}),this.play(t)}pause(){this.pausedClock.start(),this.isPaused=!0}resume(){this.pausedDuration+=this.pausedClock.getElapsedTime(),this.pausedClock.stop(),this.isPaused=!1}}class oe extends pr{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=Fo(),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 s=this.getAttr("stroke-dasharray","4 4");this.setAttr("stroke-dasharray",s),this.strokeDashTotalLength=qa(s).reduce((r,n)=>r+n,0)}return S0(this)}forceSetCXY(t,e){this.cX=t,this.cY=e,this.forceCXY=!0}shapeInit(){}initPathD(){if(!this.pathd){if(this.pathd=new Qe,ti(()=>{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(s=>{const r=s.originMatrix?s.originMatrix.clone():new Ke;r.translate(-t.x+s.x,-t.y+s.y),s.originMatrix=r});const e=this.originMatrix?this.originMatrix.clone():new Ke;e.translate(-t.x+this.x,-t.y+this.y),this.originMatrix=e}isPointInPath(t,e,s){if(s instanceof Ci)return s.isPointInPath(new Path2D(this.toSVGPathD()),t,e);let r;try{r=new SVGPoint(t,e)}catch{r=s.createSVGPoint(),r.x=t,r.y=e}if(this.el instanceof SVGGeometryElement)return this.el.isPointInFill(r);{const n=this.getBoundingClientRect();if(n)return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height}return!1}isPointInStroke(t,e,s){if(s instanceof Ci)return s.isPointInStroke(new Path2D(this.toSVGPathD()),t,e);let r;try{r=new SVGPoint(t,e)}catch{r=s.createSVGPoint(),r.x=t,r.y=e}return this.el instanceof SVGGeometryElement?this.el.isPointInStroke(r):!1}clone(){return f0(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(([s,r])=>[is(s),r]))):e&&(this.attrs[is(t)]=e)}getAttr(t,e){return this.attrs[t]||this.attrs[is(t)]||e}getAttrs(){return this.attrs}hasAttr(t){return!!this.attrs[t]||!!this.attrs[is(t)]}distance(t){return xi(this.x,this.y,t.x,t.y)}rotateTo(t){this.degree=Xe($o(this.x,this.y,t.x,t.y))}followTo(t,e=3){this.rotateTo(t);const{dx:s,dy:r}=Ms(Bt(this.degree),e);this.vx=s,this.vy=r,this.run()}followAccelerationTo(t,e=.05){this.rotateTo(t);const{dx:s,dy:r}=Ms(Bt(this.degree),e);this.ax=s,this.ay=r,this.run()}checkCollision(t){}checkWall(t){}gravitateTo(t){const e=t.x-this.x,s=t.y-this.y,r=e*e+s*s,n=Math.sqrt(r),a=this.mass*t.mass/r,i=a*e/n,l=a*s/n;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=Zs(t?.gravity,0);this.vy+=e;const s=Zs(t?.friction,1);this.vx*=s,this.vy*=s,this.x+=this.vx,this.y+=this.vy}runEaseTo(t,e){const s=Zs(e?.easing,.05),r=t.x-this.cX-this.x,n=t.y-this.cY-this.y;this.vx=r*s,this.vy=n*s,this.run(e)}runSpringTo(t,e){const s=Zs(e?.spring,.03);(Array.isArray(t)?t:[t]).forEach(r=>{const n=r.x-this.cX-this.x,a=r.y-this.cY-this.y,i=n*s,l=a*s;this.vx+=i,this.vy+=l}),this.run({friction:.9,...e})}springMassTo(t,e){const s=Zs(e?.springLength,100),r=Zs(e?.spring,1e-4),n=t.x-this.x,a=t.y-this.y,i=Math.sqrt(n*n+a*a);if(i<s){const l=n*r,c=a*r;return this.vx+=l/this.mass,this.vy+=c/this.mass,t.vx-=l/t.mass,t.vy-=c/t.mass,1-i/s}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 s=this.getTotalLength();return t.originD=this.initPathD().getSubpath(0,e*s),this.getPointAtLength(e*s)}strokeDashTween(t=1e3,e){const s=this.initPathD(),r=Ce(s.getTotalLength(),0);this.setAttr({strokeDasharray:`${r} ${r}`,strokeDashoffset:`${r}`});const n=e?.onUpdate,a=new Ie({frameDuration:t});a.addTween({offset:r},{offset:0},Object.assign(e||{},{onUpdate:(i,l)=>{this.setAttr("strokeDashoffset",""+Ce(i.offset,2)),n?.(i,l)}})),a.play()}}class ry extends oe{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,s){this.cX=t,this.cY=e,this.cZ=s}rotateX(t){({x:this.y,y:this.z}=_s(Bt(t),this.y,this.z))}rotateY(t){({x:this.x,y:this.z}=_s(Bt(t),this.x,this.z))}rotateZ(t){({x:this.x,y:this.y}=_s(Bt(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 _i(this.x,this.y,this.z)}distance(t){const e=t.x-this.x,s=t.y-this.y,r=t.z-this.z;return Math.sqrt(e*e+s*s+r*r)}scalar(t){return this.x*=t,this.y*=t,this.z*=t,this}normalize(t=1){const e=this.length();if(e){const s=t/e;this.scalar(s)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,s=this.y,r=this.z;return{x:s*t.z-r*t.y,y:r*t.x-e*t.z,z:e*t.y-s*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 Dn=ry,wf=[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=wf){this.value=Array.from(t),this.m13=0,this.m23=0,this.m33=1,this.matrix3d=this.toMatrix3D()}static fromString(t){const e=new Ke,s=bu("number",t);return s.length===6&&s.forEach((r,n)=>{r.fullMatch&&(e.value[n]=parseFloat(r.fullMatch))}),e}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 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 ss(e)}identity(){return this.value=Array.from(wf),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 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 Ke([...this.value])}multiply(t){const e=this.clone(),s=t instanceof Ke?t:new Ke(t);return this.m11=s.m11*e.m11+s.m12*e.m21+s.m13*e.m31,this.m12=s.m11*e.m12+s.m12*e.m22+s.m13*e.m32,this.m13=s.m11*e.m13+s.m12*e.m23+s.m13*e.m33,this.m21=s.m21*e.m11+s.m22*e.m21+s.m23*e.m31,this.m22=s.m21*e.m12+s.m22*e.m22+s.m23*e.m32,this.m23=s.m21*e.m13+s.m22*e.m23+s.m23*e.m33,this.m31=s.m31*e.m11+s.m32*e.m21+s.m33*e.m31,this.m32=s.m31*e.m12+s.m32*e.m22+s.m33*e.m32,this.m33=s.m31*e.m13+s.m32*e.m23+s.m33*e.m33,this}append(t){return this.multiply(t)}prepend(t){return t.multiply(this),this}inverse(){const t=this.m11,e=this.m12,s=this.m13,r=this.m21,n=this.m22,a=this.m23,i=this.m31,l=this.m32,c=this.m33,u=c*n-a*l,f=-c*r+a*i,d=l*r-n*i;let p=t*u+e*f+s*d;return p?(p=1/p,this.m11=u*p,this.m12=(-c*e+s*l)*p,this.m13=(a*e-s*n)*p,this.m21=f*p,this.m22=(c*t-s*i)*p,this.m23=(-a*t+s*r)*p,this.m31=d*p,this.m32=(-l*t+e*i)*p,this.m33=(n*t-e*r)*p,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=Xe(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:Xe(Math.atan2(-this.m21,this.m22)),skewY:Xe(Math.atan2(this.m12,this.m11))}}getGroupCoords(t){const e=this.value[0],s=this.value[1],r=this.value[2],n=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],p=t.value[5],h=l*f,w=c*u,_=(u*s-e*f)/(w-h),x=(l*s-e*c)/(h-w),v=(u*n-r*f)/(w-h),g=(l*n-r*c)/(h-w),m=(u*(i-p)+f*(d-a))/(w-h),b=(l*(i-p)+c*(d-a))/(h-w),C=[_,x,v,g,m,b];return new Ke(C)}toString(t=6){return this.matrix3d.is2D()?`matrix(${this.value.map(e=>Ce(e,t)).join(",")})`:this.matrix3d.toString()}translate(t,e){return this.multiply([1,0,0,1,t,e]),this.toMatrix3D(),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.matrix3d.translate(0,0,t),this.matrix3d.toMatrix(this),this}translateZTo(t){return this.translateZ(t-this.matrix3d.m43),this}translate3d(t,e,s){return this.matrix3d.translate(t,e,s),this.matrix3d.toMatrix(this),this}translate3dTo(t,e,s){return this.translate3d(t-this.matrix3d.m41,e-this.matrix3d.m42,s-this.matrix3d.m43),this}rotate(t,e=0,s=0){const r=Bt(t),n=Math.cos(r),a=Math.sin(r);return this.translate(e,s),this.multiply([n,a,-a,n,0,0]),this.translate(-e,-s),this.toMatrix3D(),this}rotateTo(t,e=0,s=0){const{degree:r}=this.split();return this.rotate(t-r,e,s),this}rotateX(t){return this.matrix3d.rotateX(t),this.matrix3d.toMatrix(this),this}rotateXTo(t){const{degreeX:e}=this.matrix3d.split();return this.rotateX(t-e),this}rotateY(t){return this.matrix3d.rotateY(t),this.matrix3d.toMatrix(this),this}rotateYTo(t){const{degreeY:e}=this.matrix3d.split();return this.rotateY(t-e),this}rotateZ(t){return this.matrix3d.rotateZ(t),this.matrix3d.toMatrix(this),this}rotateZTo(t){const{degreeZ:e}=this.matrix3d.split();return this.rotateZ(t-e),this}rotate3d(t,e,s){return this.matrix3d.rotateX(t).rotateY(e).rotateZ(s),this.matrix3d.toMatrix(this),this}rotate3dTo(t,e,s){const{degreeX:r,degreeY:n,degreeZ:a}=this.matrix3d.split();return this.rotate3d(t-r,e-n,s-a),this}scale(t,e=t,s=0,r=0){return this.translate(s,r),this.multiply([t,0,0,e,0,0]),this.translate(-s,-r),this.toMatrix3D(),this}scaleTo(t,e=t,s=0,r=0){return this.scale(t/this.m11,e/this.m22,s,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:e}=this.matrix3d.split();return this.scaleZ(t/e),this}scale3d(t,e=t,s=t){return this.matrix3d.scale(t,e,s),this.matrix3d.toMatrix(this),this}scale3dTo(t,e=t,s=t){const{scalarX:r,scalarY:n,scalarZ:a}=this.matrix3d.split();return this.scale3d(t/r,e/n,s/a),this}skew(t,e=t){return this.multiply([Math.cos(Bt(e)),Math.sin(Bt(e)),-Math.sin(Bt(t)),Math.cos(Bt(t)),0,0]),this.toMatrix3D(),this}skewTo(t,e=t){const{skewX:s,skewY:r}=this.split();return this.skew(t-s,e-r)}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,s){return this}skew3dTo(t,e,s){return this}perspective(t){return this.matrix3d.perspective(t),this.matrix3d.toMatrix(this),this}}class ss{value;is3dSpecial=!1;constructor(t=kf){this.value=Array.from(t)}static fromString(t){const e=new ss,s=bu("number",t);return s.length===16&&s.forEach((r,n)=>{r.fullMatch&&(e.value[n]=parseFloat(r.fullMatch))}),e}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 ss([...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 e=t.z||1,s=t.w||1;return{x:t.x*this.m11+t.y*this.m21+e*this.m31+s*this.m41,y:t.x*this.m12+t.y*this.m22+e*this.m32+s*this.m42,z:t.x*this.m13+t.y*this.m23+e*this.m33+s*this.m43,w:t.x*this.m14+t.y*this.m24+e*this.m34+s*this.m44}}toMatrix(t){const{scalarX:e,scalarY:s,skewX:r,skewY:n,x:a,y:i}=this.split(),l=[e,n,r,s,a,i];return t?(t.value=l,t):new Ke(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`matrix3d(${this.value.map(e=>Ce(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),s=Math.sqrt(this.m31*this.m31+this.m32*this.m32+this.m33*this.m33),r=Xe(ie(Math.asin(-this.m13),-1,1));let n=Xe(Math.atan2(this.m23,this.m33));Math.cos(Bt(r))===0&&(n=Xe(Math.atan2(-this.m31,this.m22)));let a=Xe(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:s,degreeX:n,degreeY:r,degreeZ:a,skewX:Xe(this.m14),skewY:Xe(this.m24),skewZ:Xe(this.m34),skewW:this.m44,perspective:this.m34?-(1/this.m34):0}}inverse(){const t=[],e=this.m11,s=this.m12,r=this.m13,n=this.m14,a=this.m21,i=this.m22,l=this.m23,c=this.m24,u=this.m31,f=this.m32,d=this.m33,p=this.m34,h=this.m41,w=this.m42,_=this.m43,x=this.m44;t[0]=l*p*w-c*d*w+c*f*_-i*p*_-l*f*x+i*d*x,t[1]=n*d*w-r*p*w-n*f*_+s*p*_+r*f*x-s*d*x,t[2]=r*c*w-n*l*w+n*i*_-s*c*_-r*i*x+s*l*x,t[3]=n*l*f-r*c*f-n*i*d+s*c*d+r*i*p-s*l*p;const v=e*t[0]+a*t[1]+u*t[2]+h*t[3];if(v==0)return console.warn("Can't invert matrix, determinant is 0");t[4]=c*d*h-l*p*h-c*u*_+a*p*_+l*u*x-a*d*x,t[5]=r*p*h-n*d*h+n*u*_-e*p*_-r*u*x+e*d*x,t[6]=n*l*h-r*c*h-n*a*_+e*c*_+r*a*x-e*l*x,t[7]=r*c*u-n*l*u+n*a*d-e*c*d-r*a*p+e*l*p,t[8]=i*p*h-c*f*h+c*u*w-a*p*w-i*u*x+a*f*x,t[9]=n*f*h-s*p*h-n*u*w+e*p*w+s*u*x-e*f*x,t[10]=s*c*h-n*i*h+n*a*w-e*c*w-s*a*x+e*i*x,t[11]=n*i*u-s*c*u-n*a*f+e*c*f+s*a*p-e*i*p,t[12]=l*f*h-i*d*h-l*u*w+a*d*w+i*u*_-a*f*_,t[13]=s*d*h-r*f*h+r*u*w-e*d*w-s*u*_+e*f*_,t[14]=r*i*h-s*l*h-r*a*w+e*l*w+s*a*_-e*i*_,t[15]=s*l*u-r*i*u+r*a*f-e*l*f-s*a*d+e*i*d,this.value=t,this.scalar(1/v)}multiply(t){const e=this.clone();return this.m11=t.m11*e.m11+t.m12*e.m21+t.m13*e.m31+t.m14*e.m41,this.m12=t.m11*e.m12+t.m12*e.m22+t.m13*e.m32+t.m14*e.m42,this.m13=t.m11*e.m13+t.m12*e.m23+t.m13*e.m33+t.m14*e.m43,this.m14=t.m11*e.m14+t.m12*e.m24+t.m13*e.m34+t.m14*e.m44,this.m21=t.m21*e.m11+t.m22*e.m21+t.m23*e.m31+t.m24*e.m41,this.m22=t.m21*e.m12+t.m22*e.m22+t.m23*e.m32+t.m24*e.m42,this.m23=t.m21*e.m13+t.m22*e.m23+t.m23*e.m33+t.m24*e.m43,this.m24=t.m21*e.m14+t.m22*e.m24+t.m23*e.m34+t.m24*e.m44,this.m31=t.m31*e.m11+t.m32*e.m21+t.m33*e.m31+t.m34*e.m41,this.m32=t.m31*e.m12+t.m32*e.m22+t.m33*e.m32+t.m34*e.m42,this.m33=t.m31*e.m13+t.m32*e.m23+t.m33*e.m33+t.m34*e.m43,this.m34=t.m31*e.m14+t.m32*e.m24+t.m33*e.m34+t.m34*e.m44,this.m41=t.m41*e.m11+t.m42*e.m21+t.m43*e.m31+t.m44*e.m41,this.m42=t.m41*e.m12+t.m42*e.m22+t.m43*e.m32+t.m44*e.m42,this.m43=t.m41*e.m13+t.m42*e.m23+t.m43*e.m33+t.m44*e.m43,this.m44=t.m41*e.m14+t.m42*e.m24+t.m43*e.m34+t.m44*e.m44,this}translate(t=0,e=0,s=0){return this.multiply(new ss([1,0,0,0,0,1,0,0,0,0,1,0,t,e,s,1]))}scale(t=1,e=1,s=1){return this.multiply(new ss([t,0,0,0,0,e,0,0,0,0,s,0,0,0,0,1]))}rotateX(t){const e=Bt(t),s=Math.cos(e),r=Math.sin(e);return this.multiply(new ss([1,0,0,0,0,s,r,0,0,-r,s,0,0,0,0,1]))}rotateY(t){const e=Bt(t),s=Math.cos(e),r=Math.sin(e);return this.multiply(new ss([s,0,-r,0,0,1,0,0,r,0,s,0,0,0,0,1]))}rotateZ(t){this.is3dSpecial=!0;const e=Bt(t),s=Math.cos(e),r=Math.sin(e);return this.multiply(new ss([s,r,0,0,-r,s,0,0,0,0,1,0,0,0,0,1]))}skew(t=0,e=0,s=0){return this.multiply(new ss([1,0,0,Bt(t),0,1,0,Bt(e),0,0,1,Bt(s),0,0,0,1]))}perspective(t){return this.multiply(new ss([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,s=t.x*this.m12+t.y*this.m22+this.m42,r=t.x*this.m13+t.y*this.m23+this.m43,n=t.x*this.m14+t.y*this.m24+this.m44,a=e+this.m31,i=s+this.m32,l=r+this.m33,c=n+this.m34;n==0&&(n=1e-4),e/=n,s/=n,r/=n,c==0&&(c=1e-4),a/=c,i/=c,l/=c;const u=l-r;if(u==0)return{x:e,y:s,z:r,mass:n};const f=-r/u;return e+=f*(a-e),s+=f*(i-s),{x:e,y:s,z:r,mass:n}}project(t){const e=t.z;let s=t.x*this.m11+t.y*this.m21+e*this.m31+this.m41,r=t.x*this.m12+t.y*this.m22+e*this.m32+this.m42,n=t.x*this.m14+t.y*this.m24+e*this.m34+this.m44;return n==0&&(n=1e-4),s/=n,r/=n,n<0&&(s-=this.m41,r-=this.m42,s*=1/n,r*=1/n,s+=this.m41,r+=this.m42),{x:s,y:r,z:e,mass:n}}bounds(t,e,s,r){const n=new Dn({x:t,y:e}),a=new Dn({x:t+s,y:e}),i=new Dn({x:t+s,y:e+r}),l=new Dn({x:t,y:e+r});({x:n.x,y:n.y,z:n.z,mass:n.mass}=this.project(n)),{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(n.x,a.x,i.x,l.x),u=Math.min(n.y,a.y,i.y,l.y),f=Math.max(n.x,a.x,i.x,l.x)-c,d=Math.max(n.y,a.y,i.y,l.y)-u;return{x:c,y:u,width:f,height:d}}}function Cf(o){const t=new Ke;return o.replace(/([a-z0-9]+)\s*\(?\s*((-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)*[a-z%]*\s*,?\s*)+)\)?/gi,function(e,s,r){r.indexOf(",")>=0?r=r.split(/\s*,\s*/):r=r.split(/\s+/);const n=[];for(let a=0,i=r.length;a<i;a++)r[a].trim()&&n.push(parseFloat(""+r[a]));switch(s.toLowerCase()){case"t":case"translate":t.translate(n[0],n[1]);break;case"translatex":t.translateX(n[0]);break;case"translatey":t.translateY(n[0]);break;case"translatez":t.translateZ(n[0]);break;case"translate3d":t.translate3d(n[0],n[1],n[2]);break;case"r":case"rotate":t.rotate(n[0],n[1]??0,n[2]??0);break;case"rotatex":t.rotateX(n[0]);break;case"rotatey":t.rotateY(n[0]);break;case"rotatez":t.rotateZ(n[0]);break;case"rotate3d":t.rotate3d(n[0],n[1],n[2]);break;case"s":case"scale":t.scale(n[0],n[1]??n[0]);break;case"scalex":t.scaleX(n[0]);break;case"scaley":t.scaleY(n[0]);break;case"scalez":t.scaleZ(n[0]);break;case"scale3d":t.scale3d(n[0],n[1],n[2]);break;case"skew":t.skew(n[0],n[1]??0);break;case"skewx":t.skewX(n[0]);break;case"skewy":t.skewY(n[0]);break;case"skewz":t.skewZ(n[0]);break;case"skew3d":t.skew3d(n[0],n[1],n[2]);break;case"m":case"matrix":t.multiply([n[0],n[1],n[2],n[3],n[4],n[5]]),t.toMatrix3D();break;case"matrix3d":t.matrix3d.multiply(new ss(n)),t.matrix3d.toMatrix(t);break}return""}),t}function _s(o,t,e){const s=new Ke;return s.rotate(Xe(o)),s.transformPoint({x:t,y:e})}class xs extends oe{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(s=>{!s.independentTransformInGroup&&!s.isDragging&&(s.x=this.x+s.diffXInGroup,s.y=this.y+s.diffYInGroup,s.degree=this.degree+s.diffDegreeInGroup,s.scalarX=this.scalarX*s.diffScalarXInGroup,s.scalarY=this.scalarY*s.diffScalarYInGroup)}),super.frameUpdate(t,e)}addShape(t){(Array.isArray(t)?t:[t]).forEach(e=>{this.shapes.findIndex(s=>s.id==e.id)==-1&&(e.on("draging",(s,r)=>{this.enableDrag&&(this.x+=s,this.y+=r,this.emit("draging",s,r,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 s=this.pathd?.getBoundingClientRect();if(s&&(s.width||s.height)&&(t.push(s.x,s.x+s.width),e.push(s.y,s.y+s.height)),t.length==0||e.length==0)return null;const r=Math.min.apply(0,t),n=Math.min.apply(0,e),a=Math.max.apply(0,t),i=Math.max.apply(0,e);return{x:r,y:n,width:a-r,height:i-n}}setAttrs(t,e){typeof t!="string"?(super.setAttr(t),this.shapes.forEach(s=>{s.setAttr(t)})):e&&(super.setAttr(t,e),this.shapes.forEach(s=>{s.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,s=this.shapes.length;if(e<s)return t.expendFill(this);for(let r=s;r<e;r++){const a=t.shapes[r].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 oe({attrs:{...t.shapes[r].getAttrs()},d:c}))}}strokeDashTween(t,e){switch(e?.type){case"sequence":const s=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==s&&e?.onGroupComplete?.()}})});break;case"parallel":default:const r=new Ie({frameDuration:t}),n={},a={};this.shapes.forEach((i,l)=>{const c=Ce(i.getTotalLength(),0);n[`offset_${l}`]=c,a[`offset_${l}`]=0,i.setAttr({strokeDasharray:`${c} ${c}`,strokeDashoffset:`${c}`})}),r.addTween(n,a,Object.assign(e||{},{onStart:()=>{e?.onGroupStart?.()},onUpdate:(i,l)=>{for(let c in i){const u=bs(c).number;this.shapes[u].setAttr("strokeDashoffset",""+Ce(i[c],2))}e?.onGroupUpdate?.()},onComplete:()=>{e?.onGroupComplete?.()}})),r.play();break}}}const No=xs,ny=getComputedStyle(document.documentElement);function $t(o){return ny.getPropertyValue(o)}const vt={safeAreaTop:$t("--safe-area-inset-top"),safeAreaRight:$t("--safe-area-inset-right"),safeAreaBottom:$t("--safe-area-inset-bottom"),safeAreaLeft:$t("--safe-area-inset-left"),colorPrimary:$t("--color-primary")||"#5078f0",colorRed:$t("--color-red")||"#ff5050",colorOrange:$t("--color-orange")||"#fa8c00",colorYellow:$t("--color-yellow")||"#fadc32",colorGreen:$t("--color-green")||"#00c878",colorBlue:$t("--color-blue")||"#00b4fa",colorPurple:$t("--color-purple")||"#6464fa",colorBlack:$t("--color-black")||"#001428",colorGray00:$t("--color-gray-00")||"#000000",colorGray33:$t("--color-gray-33")||"#333333",colorGray66:$t("--color-gray-66")||"#666666",colorGray99:$t("--color-gray-99")||"#999999",colorGrayCC:$t("--color-gray-cc")||"#cccccc",colorGrayDD:$t("--color-gray-dd")||"#dddddd",colorGrayE6:$t("--color-gray-e6")||"#e6e6e6",colorGrayEE:$t("--color-gray-ee")||"#eeeeee",colorGrayEF:$t("--color-gray-ef")||"#efefef",colorGrayF5:$t("--color-gray-f5")||"#f5f5f5",colorGrayFF:$t("--color-gray-ff")||"#ffffff",fontLineHeight:$t("--font-line-height")||"1.4",fontSize32:$t("--font-size-32")||"32px",fontSize24:$t("--font-size-24")||"24px",fontSize22:$t("--font-size-22")||"22px",fontSize20:$t("--font-size-20")||"20px",fontSize18:$t("--font-size-18")||"18px",fontSize16:$t("--font-size-16")||"16px",fontSize14:$t("--font-size-14")||"14px",fontSize12:$t("--font-size-12")||"12px",fontSize10:$t("--font-size-10")||"10px",d4:$t("--distance-4")||"4px",d8:$t("--distance-8")||"8px",d12:$t("--distance-12")||"12px",d16:$t("--distance-16")||"16px",d20:$t("--distance-20")||"20px",d32:$t("--distance-32")||"32px",d40:$t("--distance-40")||"40px",d44:$t("--distance-44")||"44px"};class Ft{__color={r:0,g:0,b:0,a:1};constructor(t,e){t&&this.setColor(t),typeof e=="number"&&this.setAlpha(e)}get color(){return this.__color}set color(t){this.__color=Fi(t)}setColor(t){return this.color=t,this}get r(){return this.__color.r}set r(t){this.__color.r=ie(Math.round(t),0,255)}get g(){return this.__color.g}set g(t){this.__color.g=ie(Math.round(t),0,255)}get b(){return this.__color.b}set b(t){this.__color.b=ie(Math.round(t),0,255)}get a(){return this.__color.a}set a(t){this.__color.a=ie(t,0,1)}setAlpha(t){return this.a=t,this}setRGB(t,e,s){return this.r=t,this.g=e,this.b=s,this}setRGBA(t,e,s,r){return this.r=t,this.g=e,this.b=s,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},${Ce(this.a,6)})`}clone(){return new Ft(this.color)}copy(t){this.setColor(t.color)}opposite(t=!1,e="#000000",s="#ffffff"){if(t)return new Ft(this.r*.299+this.g*.587+this.b*.114>186?e:s);{const r=this.clone();return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,r}}lighten(t){t=ie(Math.abs(t),0,1);let{r:e,g:s,b:r}=this.color;return e+=(255-e)*t,s+=(255-s)*t,r+=(255-r)*t,new Ft().setRGBA(e,s,r,this.color.a)}darken(t){t=ie(Math.abs(t),0,1);let{r:e,g:s,b:r}=this.color;return e=e*(1-t),s=s*(1-t),r=r*(1-t),new Ft().setRGBA(e,s,r,this.color.a)}static gradient(t,e,s){try{const r=Fi(t),n=Fi(e);return new Ft().setRGB((n.r-r.r)*s+r.r,(n.g-r.g)*s+r.g,(n.b-r.b)*s+r.b)}catch{return new Ft(e)}}static random(){return new Ft(Math.random()*16777215)}get hsv(){const{r:t,g:e,b:s,a:r}=this.color,n=Math.max(t,e,s),a=Math.min(t,e,s),i=n-a;let l;return t===n?l=(e-s)/i:e===n?l=2+(s-t)/i:l=4+(t-e)/i,l/=6,l<0&&(l+=1),{h:i==0?0:l*360,s:n===0?0:i/n,v:n/255,a:r}}set h(t){const e=this.hsv;e.h=ie(t,0,360),this.setColor(e)}get h(){return this.hsv.h}set s(t){const e=this.hsv;e.s=ie(t,0,1),this.setColor(e)}get s(){return this.hsv.s}set v(t){const e=this.hsv;e.v=ie(t,0,1),this.setColor(e)}get v(){return this.hsv.v}}function me(o,t){return new Ft(o,t)}function Fi(o){const t=Object.prototype.hasOwnProperty.call(o,"a")?ie(o.a,0,1):1;if(Object.prototype.hasOwnProperty.call(o,"r")&&Object.prototype.hasOwnProperty.call(o,"g")&&Object.prototype.hasOwnProperty.call(o,"b"))return o.r=ie(Math.round(o.r),0,255),o.g=ie(Math.round(o.g),0,255),o.b=ie(Math.round(o.b),0,255),o.a=t,o;if(Object.prototype.hasOwnProperty.call(o,"h")&&Object.prototype.hasOwnProperty.call(o,"s")&&Object.prototype.hasOwnProperty.call(o,"v")){const s=ie(o.h,0,360),r=ie(o.s,0,1),n=ie(o.v,0,1),a=Math.floor(s/60)%6,i=s/60-Math.floor(s/60),l=n*(1-r),c=n*(1-i*r),u=n*(1-(1-i)*r),f=[[n,u,l],[c,n,l],[l,n,u],[l,c,n],[u,l,n],[n,l,c]][a];return{r:Math.round(f[0]*255),g:Math.round(f[1]*255),b:Math.round(f[2]*255),a:t}}const e={r:0,g:0,b:0,a:t};if(typeof o=="number")o<Math.pow(2,24)?(e.r=o>>16&255,e.g=o>>8&255,e.b=o&255):(e.r=o>>24&255,e.g=o>>16&255,e.b=o>>8&255,e.a=(o&255)/255);else if(typeof o=="string"){const s=/rgba?\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,?\s*(\d?\.?\d*)?\s*\)/gi.exec(o);if(s)e.r=parseInt(s[1]),e.g=parseInt(s[2]),e.b=parseInt(s[3]),s[4]&&(e.a=parseFloat(s[4]));else{let r=o.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);r?(e.r=parseInt(`${r[1]}${r[1]}`,16),e.g=parseInt(`${r[2]}${r[2]}`,16),e.b=parseInt(`${r[3]}${r[3]}`,16)):(r=o.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(e.r=parseInt(r[1],16),e.g=parseInt(r[2],16),e.b=parseInt(r[3],16)):(r=o.match(/^#([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})([A-F0-9]{2})$/i),r?(e.r=parseInt(r[1],16),e.g=parseInt(r[2],16),e.b=parseInt(r[3],16),e.a=parseInt(r[4],16)/255):o==="none"&&(e.a=0)))}}else throw new Error("parseColor 不支持的颜色解析:"+o);return e.r=ie(e.r,0,255),e.g=ie(e.g,0,255),e.b=ie(e.b,0,255),e.a=ie(e.a,0,1),e}const ay=["#0ac2d2","#7bb7fa","#60d7a9","#fdc162","#fd6a62","#f68dbb","#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff","#dc4916","#6871b1","#d1b935","#1bbc9b","#FF7F50","#4BBFC3","#ff9900"],Ks={backgroundColor:"#1a1a1a",numberColor:"#2FA1D6",booleanColor:"#806787",stringColor:"#1ed36f",functionColor:"#e61d5f",saveRowColor:"#dad5cb",buttonColor:"",borderColor:"",inputColor:""};Ks.buttonColor=new Ft(Ks.saveRowColor).darken(.1).toString(),Ks.borderColor=new Ft(Ks.backgroundColor).lighten(.07).toString(),Ks.inputColor=new Ft(Ks.backgroundColor).lighten(.085).toString();class xe extends oe{toX;toY;constructor(t){super(t),this.toX=t?.toX||0,this.toY=t?.toY||0;let e=this.toX-this.x,s=this.toY-this.y;return new Proxy(this,{set(r,n,a,i){switch(n){case"x":r.toX=a+e;break;case"y":r.toY=a+s;break;case"toX":e=a-r.x;break;case"toY":s=a-r.y;break}return Reflect.set(r,n,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 pf({x:this.x,y:this.y,toX:this.toX,toY:this.toY}),s=new pf({x:t.x,y:t.y,toX:t.toX,toY:t.toY});return e.intersection(s)}}class $n extends oe{cx;cy;toX;toY;isLineThrough;constructor(t){super(t),this.cx=t?.cx||0,this.cy=t?.cy||0,this.toX=t?.toX||0,this.toY=t?.toY||0,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[["m",0,0],["q",t-this.x,e-this.y,this.toX-this.x,this.toY-this.y]]}else return[["m",0,0],["q",this.cx-this.x,this.cy-this.y,this.toX-this.x,this.toY-this.y]]}toCanvasContext(t){if(t.beginPath(),t.moveTo(0,0),this.isLineThrough){const e=this.cx*2-(this.x+this.toX)/2,s=this.cy*2-(this.y+this.toY)/2;t.quadraticCurveTo(e-this.x,s-this.y,this.toX-this.x,this.toY-this.y)}else t.quadraticCurveTo(this.cx-this.x,this.cy-this.y,this.toX-this.x,this.toY-this.y)}}var Tf={exports:{}};/*! Hammer.JS - v2.0.7 - 2016-04-22
39
38
  * http://hammerjs.github.io/
40
39
  *
41
40
  * Copyright (c) 2016 Jorik Tangelder;
42
- * Licensed under the MIT license */(function(s){(function(t,e,o,r){var n=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),i="function",l=Math.round,c=Math.abs,u=Date.now;function h(y,x,O){return setTimeout(g(y,O),x)}function f(y,x,O){return Array.isArray(y)?(p(y,O[x],O),!0):!1}function p(y,x,O){var B;if(y)if(y.forEach)y.forEach(x,O);else if(y.length!==r)for(B=0;B<y.length;)x.call(O,y[B],B,y),B++;else for(B in y)y.hasOwnProperty(B)&&x.call(O,y[B],B,y)}function d(y,x,O){var B="DEPRECATED METHOD: "+x+`
41
+ * Licensed under the MIT license */(function(o){(function(t,e,s,r){var n=["","webkit","Moz","MS","ms","o"],a=e.createElement("div"),i="function",l=Math.round,c=Math.abs,u=Date.now;function f(y,k,O){return setTimeout(g(y,O),k)}function d(y,k,O){return Array.isArray(y)?(p(y,O[k],O),!0):!1}function p(y,k,O){var z;if(y)if(y.forEach)y.forEach(k,O);else if(y.length!==r)for(z=0;z<y.length;)k.call(O,y[z],z,y),z++;else for(z in y)y.hasOwnProperty(z)&&k.call(O,y[z],z,y)}function h(y,k,O){var z="DEPRECATED METHOD: "+k+`
43
42
  `+O+` AT
44
- `;return function(){var ot=new Error("get-stack-trace"),mt=ot&&ot.stack?ot.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",Bt=t.console&&(t.console.warn||t.console.log);return Bt&&Bt.call(t.console,B,mt),y.apply(this,arguments)}}var b;typeof Object.assign!="function"?b=function(x){if(x===r||x===null)throw new TypeError("Cannot convert undefined or null to object");for(var O=Object(x),B=1;B<arguments.length;B++){var ot=arguments[B];if(ot!==r&&ot!==null)for(var mt in ot)ot.hasOwnProperty(mt)&&(O[mt]=ot[mt])}return O}:b=Object.assign;var _=d(function(x,O,B){for(var ot=Object.keys(O),mt=0;mt<ot.length;)(!B||B&&x[ot[mt]]===r)&&(x[ot[mt]]=O[ot[mt]]),mt++;return x},"extend","Use `assign`."),v=d(function(x,O){return _(x,O,!0)},"merge","Use `assign`.");function w(y,x,O){var B=x.prototype,ot;ot=y.prototype=Object.create(B),ot.constructor=y,ot._super=B,O&&b(ot,O)}function g(y,x){return function(){return y.apply(x,arguments)}}function m(y,x){return typeof y==i?y.apply(x&&x[0]||r,x):y}function k(y,x){return y===r?x:y}function C(y,x,O){p(D(x),function(B){y.addEventListener(B,O,!1)})}function z(y,x,O){p(D(x),function(B){y.removeEventListener(B,O,!1)})}function tt(y,x){for(;y;){if(y==x)return!0;y=y.parentNode}return!1}function R(y,x){return y.indexOf(x)>-1}function D(y){return y.trim().split(/\s+/g)}function M(y,x,O){if(y.indexOf&&!O)return y.indexOf(x);for(var B=0;B<y.length;){if(O&&y[B][O]==x||!O&&y[B]===x)return B;B++}return-1}function $(y){return Array.prototype.slice.call(y,0)}function N(y,x,O){for(var B=[],ot=[],mt=0;mt<y.length;){var Bt=x?y[mt][x]:y[mt];M(ot,Bt)<0&&B.push(y[mt]),ot[mt]=Bt,mt++}return O&&(x?B=B.sort(function(Ee,Me){return Ee[x]>Me[x]}):B=B.sort()),B}function G(y,x){for(var O,B,ot=x[0].toUpperCase()+x.slice(1),mt=0;mt<n.length;){if(O=n[mt],B=O?O+ot:x,B in y)return B;mt++}return r}var st=1;function K(){return st++}function q(y){var x=y.ownerDocument||y;return x.defaultView||x.parentWindow||t}var nt=/mobile|tablet|ip(ad|hone|od)|android/i,U="ontouchstart"in t,H=G(t,"PointerEvent")!==r,gt=U&&nt.test(navigator.userAgent),ft="touch",V="pen",P="mouse",Vt="kinect",Nt=25,Ct=1,Kt=2,Gt=4,j=8,$e=1,Ve=2,Ie=4,S=8,F=16,X=Ve|Ie,W=S|F,Z=X|W,rt=["x","y"],ct=["clientX","clientY"];function J(y,x){var O=this;this.manager=y,this.callback=x,this.element=y.element,this.target=y.options.inputTarget,this.domHandler=function(B){m(y.options.enable,[y])&&O.handler(B)},this.init()}J.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(q(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&z(this.element,this.evEl,this.domHandler),this.evTarget&&z(this.target,this.evTarget,this.domHandler),this.evWin&&z(q(this.element),this.evWin,this.domHandler)}};function at(y){var x,O=y.options.inputClass;return O?x=O:H?x=nl:gt?x=Un:U?x=al:x=Le,new x(y,et)}function et(y,x,O){var B=O.pointers.length,ot=O.changedPointers.length,mt=x&Ct&&B-ot===0,Bt=x&(Gt|j)&&B-ot===0;O.isFirst=!!mt,O.isFinal=!!Bt,mt&&(y.session={}),O.eventType=x,dt(y,O),y.emit("hammer.input",O),y.recognize(O),y.session.prevInput=O}function dt(y,x){var O=y.session,B=x.pointers,ot=B.length;O.firstInput||(O.firstInput=Rt(x)),ot>1&&!O.firstMultiple?O.firstMultiple=Rt(x):ot===1&&(O.firstMultiple=!1);var mt=O.firstInput,Bt=O.firstMultiple,we=Bt?Bt.center:mt.center,Ee=x.center=At(B);x.timeStamp=u(),x.deltaTime=x.timeStamp-mt.timeStamp,x.angle=De(we,Ee),x.distance=le(we,Ee),Tt(O,x),x.offsetDirection=Jt(x.deltaX,x.deltaY);var Me=Ut(x.deltaTime,x.deltaX,x.deltaY);x.overallVelocityX=Me.x,x.overallVelocityY=Me.y,x.overallVelocity=c(Me.x)>c(Me.y)?Me.x:Me.y,x.scale=Bt?Vn(Bt.pointers,B):1,x.rotation=Bt?Ho(Bt.pointers,B):0,x.maxPointers=O.prevInput?x.pointers.length>O.prevInput.maxPointers?x.pointers.length:O.prevInput.maxPointers:x.pointers.length,wt(O,x);var po=y.element;tt(x.srcEvent.target,po)&&(po=x.srcEvent.target),x.target=po}function Tt(y,x){var O=x.center,B=y.offsetDelta||{},ot=y.prevDelta||{},mt=y.prevInput||{};(x.eventType===Ct||mt.eventType===Gt)&&(ot=y.prevDelta={x:mt.deltaX||0,y:mt.deltaY||0},B=y.offsetDelta={x:O.x,y:O.y}),x.deltaX=ot.x+(O.x-B.x),x.deltaY=ot.y+(O.y-B.y)}function wt(y,x){var O=y.lastInterval||x,B=x.timeStamp-O.timeStamp,ot,mt,Bt,we;if(x.eventType!=j&&(B>Nt||O.velocity===r)){var Ee=x.deltaX-O.deltaX,Me=x.deltaY-O.deltaY,po=Ut(B,Ee,Me);mt=po.x,Bt=po.y,ot=c(po.x)>c(po.y)?po.x:po.y,we=Jt(Ee,Me),y.lastInterval=x}else ot=O.velocity,mt=O.velocityX,Bt=O.velocityY,we=O.direction;x.velocity=ot,x.velocityX=mt,x.velocityY=Bt,x.direction=we}function Rt(y){for(var x=[],O=0;O<y.pointers.length;)x[O]={clientX:l(y.pointers[O].clientX),clientY:l(y.pointers[O].clientY)},O++;return{timeStamp:u(),pointers:x,center:At(x),deltaX:y.deltaX,deltaY:y.deltaY}}function At(y){var x=y.length;if(x===1)return{x:l(y[0].clientX),y:l(y[0].clientY)};for(var O=0,B=0,ot=0;ot<x;)O+=y[ot].clientX,B+=y[ot].clientY,ot++;return{x:l(O/x),y:l(B/x)}}function Ut(y,x,O){return{x:x/y||0,y:O/y||0}}function Jt(y,x){return y===x?$e:c(y)>=c(x)?y<0?Ve:Ie:x<0?S:F}function le(y,x,O){O||(O=rt);var B=x[O[0]]-y[O[0]],ot=x[O[1]]-y[O[1]];return Math.sqrt(B*B+ot*ot)}function De(y,x,O){O||(O=rt);var B=x[O[0]]-y[O[0]],ot=x[O[1]]-y[O[1]];return Math.atan2(ot,B)*180/Math.PI}function Ho(y,x){return De(x[1],x[0],ct)+De(y[1],y[0],ct)}function Vn(y,x){return le(x[0],x[1],ct)/le(y[0],y[1],ct)}var ys={mousedown:Ct,mousemove:Kt,mouseup:Gt},Xn="mousedown",Se="mousemove mouseup";function Le(){this.evEl=Xn,this.evWin=Se,this.pressed=!1,J.apply(this,arguments)}w(Le,J,{handler:function(x){var O=ys[x.type];O&Ct&&x.button===0&&(this.pressed=!0),O&Kt&&x.which!==1&&(O=Gt),this.pressed&&(O&Gt&&(this.pressed=!1),this.callback(this.manager,O,{pointers:[x],changedPointers:[x],pointerType:P,srcEvent:x}))}});var Gn={pointerdown:Ct,pointermove:Kt,pointerup:Gt,pointercancel:j,pointerout:j},U_={2:ft,3:V,4:P,5:Vt},Dd="pointerdown",Ld="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Dd="MSPointerDown",Ld="MSPointerMove MSPointerUp MSPointerCancel");function nl(){this.evEl=Dd,this.evWin=Ld,J.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}w(nl,J,{handler:function(x){var O=this.store,B=!1,ot=x.type.toLowerCase().replace("ms",""),mt=Gn[ot],Bt=U_[x.pointerType]||x.pointerType,we=Bt==ft,Ee=M(O,x.pointerId,"pointerId");mt&Ct&&(x.button===0||we)?Ee<0&&(O.push(x),Ee=O.length-1):mt&(Gt|j)&&(B=!0),!(Ee<0)&&(O[Ee]=x,this.callback(this.manager,mt,{pointers:O,changedPointers:[x],pointerType:Bt,srcEvent:x}),B&&O.splice(Ee,1))}});var j_={touchstart:Ct,touchmove:Kt,touchend:Gt,touchcancel:j},H_="touchstart",W_="touchstart touchmove touchend touchcancel";function Md(){this.evTarget=H_,this.evWin=W_,this.started=!1,J.apply(this,arguments)}w(Md,J,{handler:function(x){var O=j_[x.type];if(O===Ct&&(this.started=!0),!!this.started){var B=Z_.call(this,x,O);O&(Gt|j)&&B[0].length-B[1].length===0&&(this.started=!1),this.callback(this.manager,O,{pointers:B[0],changedPointers:B[1],pointerType:ft,srcEvent:x})}}});function Z_(y,x){var O=$(y.touches),B=$(y.changedTouches);return x&(Gt|j)&&(O=N(O.concat(B),"identifier",!0)),[O,B]}var q_={touchstart:Ct,touchmove:Kt,touchend:Gt,touchcancel:j},Q_="touchstart touchmove touchend touchcancel";function Un(){this.evTarget=Q_,this.targetIds={},J.apply(this,arguments)}w(Un,J,{handler:function(x){var O=q_[x.type],B=K_.call(this,x,O);B&&this.callback(this.manager,O,{pointers:B[0],changedPointers:B[1],pointerType:ft,srcEvent:x})}});function K_(y,x){var O=$(y.touches),B=this.targetIds;if(x&(Ct|Kt)&&O.length===1)return B[O[0].identifier]=!0,[O,O];var ot,mt,Bt=$(y.changedTouches),we=[],Ee=this.target;if(mt=O.filter(function(Me){return tt(Me.target,Ee)}),x===Ct)for(ot=0;ot<mt.length;)B[mt[ot].identifier]=!0,ot++;for(ot=0;ot<Bt.length;)B[Bt[ot].identifier]&&we.push(Bt[ot]),x&(Gt|j)&&delete B[Bt[ot].identifier],ot++;if(we.length)return[N(mt.concat(we),"identifier",!0),we]}var J_=2500,Ad=25;function al(){J.apply(this,arguments);var y=g(this.handler,this);this.touch=new Un(this.manager,y),this.mouse=new Le(this.manager,y),this.primaryTouch=null,this.lastTouches=[]}w(al,J,{handler:function(x,O,B){var ot=B.pointerType==ft,mt=B.pointerType==P;if(!(mt&&B.sourceCapabilities&&B.sourceCapabilities.firesTouchEvents)){if(ot)tx.call(this,O,B);else if(mt&&ex.call(this,B))return;this.callback(x,O,B)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function tx(y,x){y&Ct?(this.primaryTouch=x.changedPointers[0].identifier,Nd.call(this,x)):y&(Gt|j)&&Nd.call(this,x)}function Nd(y){var x=y.changedPointers[0];if(x.identifier===this.primaryTouch){var O={x:x.clientX,y:x.clientY};this.lastTouches.push(O);var B=this.lastTouches,ot=function(){var mt=B.indexOf(O);mt>-1&&B.splice(mt,1)};setTimeout(ot,J_)}}function ex(y){for(var x=y.srcEvent.clientX,O=y.srcEvent.clientY,B=0;B<this.lastTouches.length;B++){var ot=this.lastTouches[B],mt=Math.abs(x-ot.x),Bt=Math.abs(O-ot.y);if(mt<=Ad&&Bt<=Ad)return!0}return!1}var zd=G(a.style,"touchAction"),Bd=zd!==r,Yd="compute",Vd="auto",il="manipulation",vs="none",wr="pan-x",kr="pan-y",jn=sx();function ll(y,x){this.manager=y,this.set(x)}ll.prototype={set:function(y){y==Yd&&(y=this.compute()),Bd&&this.manager.element.style&&jn[y]&&(this.manager.element.style[zd]=y),this.actions=y.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var y=[];return p(this.manager.recognizers,function(x){m(x.options.enable,[x])&&(y=y.concat(x.getTouchAction()))}),ox(y.join(" "))},preventDefaults:function(y){var x=y.srcEvent,O=y.offsetDirection;if(this.manager.session.prevented){x.preventDefault();return}var B=this.actions,ot=R(B,vs)&&!jn[vs],mt=R(B,kr)&&!jn[kr],Bt=R(B,wr)&&!jn[wr];if(ot){var we=y.pointers.length===1,Ee=y.distance<2,Me=y.deltaTime<250;if(we&&Ee&&Me)return}if(!(Bt&&mt)&&(ot||mt&&O&X||Bt&&O&W))return this.preventSrc(x)},preventSrc:function(y){this.manager.session.prevented=!0,y.preventDefault()}};function ox(y){if(R(y,vs))return vs;var x=R(y,wr),O=R(y,kr);return x&&O?vs:x||O?x?wr:kr:R(y,il)?il:Vd}function sx(){if(!Bd)return!1;var y={},x=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(O){y[O]=x?t.CSS.supports("touch-action",O):!0}),y}var Hn=1,Ze=2,zs=4,Wo=8,Co=Wo,Cr=16,fo=32;function To(y){this.options=b({},this.defaults,y||{}),this.id=K(),this.manager=null,this.options.enable=k(this.options.enable,!0),this.state=Hn,this.simultaneous={},this.requireFail=[]}To.prototype={defaults:{},set:function(y){return b(this.options,y),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(y){if(f(y,"recognizeWith",this))return this;var x=this.simultaneous;return y=Wn(y,this),x[y.id]||(x[y.id]=y,y.recognizeWith(this)),this},dropRecognizeWith:function(y){return f(y,"dropRecognizeWith",this)?this:(y=Wn(y,this),delete this.simultaneous[y.id],this)},requireFailure:function(y){if(f(y,"requireFailure",this))return this;var x=this.requireFail;return y=Wn(y,this),M(x,y)===-1&&(x.push(y),y.requireFailure(this)),this},dropRequireFailure:function(y){if(f(y,"dropRequireFailure",this))return this;y=Wn(y,this);var x=M(this.requireFail,y);return x>-1&&this.requireFail.splice(x,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(y){return!!this.simultaneous[y.id]},emit:function(y){var x=this,O=this.state;function B(ot){x.manager.emit(ot,y)}O<Wo&&B(x.options.event+Xd(O)),B(x.options.event),y.additionalEvent&&B(y.additionalEvent),O>=Wo&&B(x.options.event+Xd(O))},tryEmit:function(y){if(this.canEmit())return this.emit(y);this.state=fo},canEmit:function(){for(var y=0;y<this.requireFail.length;){if(!(this.requireFail[y].state&(fo|Hn)))return!1;y++}return!0},recognize:function(y){var x=b({},y);if(!m(this.options.enable,[this,x])){this.reset(),this.state=fo;return}this.state&(Co|Cr|fo)&&(this.state=Hn),this.state=this.process(x),this.state&(Ze|zs|Wo|Cr)&&this.tryEmit(x)},process:function(y){},getTouchAction:function(){},reset:function(){}};function Xd(y){return y&Cr?"cancel":y&Wo?"end":y&zs?"move":y&Ze?"start":""}function Gd(y){return y==F?"down":y==S?"up":y==Ve?"left":y==Ie?"right":""}function Wn(y,x){var O=x.manager;return O?O.get(y):y}function eo(){To.apply(this,arguments)}w(eo,To,{defaults:{pointers:1},attrTest:function(y){var x=this.options.pointers;return x===0||y.pointers.length===x},process:function(y){var x=this.state,O=y.eventType,B=x&(Ze|zs),ot=this.attrTest(y);return B&&(O&j||!ot)?x|Cr:B||ot?O&Gt?x|Wo:x&Ze?x|zs:Ze:fo}});function Zn(){eo.apply(this,arguments),this.pX=null,this.pY=null}w(Zn,eo,{defaults:{event:"pan",threshold:10,pointers:1,direction:Z},getTouchAction:function(){var y=this.options.direction,x=[];return y&X&&x.push(kr),y&W&&x.push(wr),x},directionTest:function(y){var x=this.options,O=!0,B=y.distance,ot=y.direction,mt=y.deltaX,Bt=y.deltaY;return ot&x.direction||(x.direction&X?(ot=mt===0?$e:mt<0?Ve:Ie,O=mt!=this.pX,B=Math.abs(y.deltaX)):(ot=Bt===0?$e:Bt<0?S:F,O=Bt!=this.pY,B=Math.abs(y.deltaY))),y.direction=ot,O&&B>x.threshold&&ot&x.direction},attrTest:function(y){return eo.prototype.attrTest.call(this,y)&&(this.state&Ze||!(this.state&Ze)&&this.directionTest(y))},emit:function(y){this.pX=y.deltaX,this.pY=y.deltaY;var x=Gd(y.direction);x&&(y.additionalEvent=this.options.event+x),this._super.emit.call(this,y)}});function cl(){eo.apply(this,arguments)}w(cl,eo,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[vs]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.scale-1)>this.options.threshold||this.state&Ze)},emit:function(y){if(y.scale!==1){var x=y.scale<1?"in":"out";y.additionalEvent=this.options.event+x}this._super.emit.call(this,y)}});function ul(){To.apply(this,arguments),this._timer=null,this._input=null}w(ul,To,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Vd]},process:function(y){var x=this.options,O=y.pointers.length===x.pointers,B=y.distance<x.threshold,ot=y.deltaTime>x.time;if(this._input=y,!B||!O||y.eventType&(Gt|j)&&!ot)this.reset();else if(y.eventType&Ct)this.reset(),this._timer=h(function(){this.state=Co,this.tryEmit()},x.time,this);else if(y.eventType&Gt)return Co;return fo},reset:function(){clearTimeout(this._timer)},emit:function(y){this.state===Co&&(y&&y.eventType&Gt?this.manager.emit(this.options.event+"up",y):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function hl(){eo.apply(this,arguments)}w(hl,eo,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[vs]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.rotation)>this.options.threshold||this.state&Ze)}});function dl(){eo.apply(this,arguments)}w(dl,eo,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:X|W,pointers:1},getTouchAction:function(){return Zn.prototype.getTouchAction.call(this)},attrTest:function(y){var x=this.options.direction,O;return x&(X|W)?O=y.overallVelocity:x&X?O=y.overallVelocityX:x&W&&(O=y.overallVelocityY),this._super.attrTest.call(this,y)&&x&y.offsetDirection&&y.distance>this.options.threshold&&y.maxPointers==this.options.pointers&&c(O)>this.options.velocity&&y.eventType&Gt},emit:function(y){var x=Gd(y.offsetDirection);x&&this.manager.emit(this.options.event+x,y),this.manager.emit(this.options.event,y)}});function qn(){To.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}w(qn,To,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[il]},process:function(y){var x=this.options,O=y.pointers.length===x.pointers,B=y.distance<x.threshold,ot=y.deltaTime<x.time;if(this.reset(),y.eventType&Ct&&this.count===0)return this.failTimeout();if(B&&ot&&O){if(y.eventType!=Gt)return this.failTimeout();var mt=this.pTime?y.timeStamp-this.pTime<x.interval:!0,Bt=!this.pCenter||le(this.pCenter,y.center)<x.posThreshold;this.pTime=y.timeStamp,this.pCenter=y.center,!Bt||!mt?this.count=1:this.count+=1,this._input=y;var we=this.count%x.taps;if(we===0)return this.hasRequireFailures()?(this._timer=h(function(){this.state=Co,this.tryEmit()},x.interval,this),Ze):Co}return fo},failTimeout:function(){return this._timer=h(function(){this.state=fo},this.options.interval,this),fo},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Co&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function So(y,x){return x=x||{},x.recognizers=k(x.recognizers,So.defaults.preset),new fl(y,x)}So.VERSION="2.0.7",So.defaults={domEvents:!1,touchAction:Yd,enable:!0,inputTarget:null,inputClass:null,preset:[[hl,{enable:!1}],[cl,{enable:!1},["rotate"]],[dl,{direction:X}],[Zn,{direction:X},["swipe"]],[qn],[qn,{event:"doubletap",taps:2},["tap"]],[ul]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var rx=1,Ud=2;function fl(y,x){this.options=b({},So.defaults,x||{}),this.options.inputTarget=this.options.inputTarget||y,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=y,this.input=at(this),this.touchAction=new ll(this,this.options.touchAction),jd(this,!0),p(this.options.recognizers,function(O){var B=this.add(new O[0](O[1]));O[2]&&B.recognizeWith(O[2]),O[3]&&B.requireFailure(O[3])},this)}fl.prototype={set:function(y){return b(this.options,y),y.touchAction&&this.touchAction.update(),y.inputTarget&&(this.input.destroy(),this.input.target=y.inputTarget,this.input.init()),this},stop:function(y){this.session.stopped=y?Ud:rx},recognize:function(y){var x=this.session;if(!x.stopped){this.touchAction.preventDefaults(y);var O,B=this.recognizers,ot=x.curRecognizer;(!ot||ot&&ot.state&Co)&&(ot=x.curRecognizer=null);for(var mt=0;mt<B.length;)O=B[mt],x.stopped!==Ud&&(!ot||O==ot||O.canRecognizeWith(ot))?O.recognize(y):O.reset(),!ot&&O.state&(Ze|zs|Wo)&&(ot=x.curRecognizer=O),mt++}},get:function(y){if(y instanceof To)return y;for(var x=this.recognizers,O=0;O<x.length;O++)if(x[O].options.event==y)return x[O];return null},add:function(y){if(f(y,"add",this))return this;var x=this.get(y.options.event);return x&&this.remove(x),this.recognizers.push(y),y.manager=this,this.touchAction.update(),y},remove:function(y){if(f(y,"remove",this))return this;if(y=this.get(y),y){var x=this.recognizers,O=M(x,y);O!==-1&&(x.splice(O,1),this.touchAction.update())}return this},on:function(y,x){if(y!==r&&x!==r){var O=this.handlers;return p(D(y),function(B){O[B]=O[B]||[],O[B].push(x)}),this}},off:function(y,x){if(y!==r){var O=this.handlers;return p(D(y),function(B){x?O[B]&&O[B].splice(M(O[B],x),1):delete O[B]}),this}},emit:function(y,x){this.options.domEvents&&nx(y,x);var O=this.handlers[y]&&this.handlers[y].slice();if(!(!O||!O.length)){x.type=y,x.preventDefault=function(){x.srcEvent.preventDefault()};for(var B=0;B<O.length;)O[B](x),B++}},destroy:function(){this.element&&jd(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function jd(y,x){var O=y.element;if(O.style){var B;p(y.options.cssProps,function(ot,mt){B=G(O.style,mt),x?(y.oldCssProps[B]=O.style[B],O.style[B]=ot):O.style[B]=y.oldCssProps[B]||""}),x||(y.oldCssProps={})}}function nx(y,x){var O=e.createEvent("Event");O.initEvent(y,!0,!0),O.gesture=x,x.target.dispatchEvent(O)}b(So,{INPUT_START:Ct,INPUT_MOVE:Kt,INPUT_END:Gt,INPUT_CANCEL:j,STATE_POSSIBLE:Hn,STATE_BEGAN:Ze,STATE_CHANGED:zs,STATE_ENDED:Wo,STATE_RECOGNIZED:Co,STATE_CANCELLED:Cr,STATE_FAILED:fo,DIRECTION_NONE:$e,DIRECTION_LEFT:Ve,DIRECTION_RIGHT:Ie,DIRECTION_UP:S,DIRECTION_DOWN:F,DIRECTION_HORIZONTAL:X,DIRECTION_VERTICAL:W,DIRECTION_ALL:Z,Manager:fl,Input:J,TouchAction:ll,TouchInput:Un,MouseInput:Le,PointerEventInput:nl,TouchMouseInput:al,SingleTouchInput:Md,Recognizer:To,AttrRecognizer:eo,Tap:qn,Pan:Zn,Swipe:dl,Pinch:cl,Rotate:hl,Press:ul,on:C,off:z,each:p,merge:v,extend:_,assign:b,inherit:w,bindFn:g,prefixed:G});var ax=typeof t<"u"?t:typeof self<"u"?self:{};ax.Hammer=So,typeof r=="function"&&r.amd?r(function(){return So}):s.exports?s.exports=So:t[o]=So})(window,document,"Hammer")})(dh);var Yg=dh.exports;const Vg=cg(Yg);function Ei(){const s=document.documentElement;return{clientWidth:s.clientWidth,clientHeight:s.clientHeight,clientTop:s.clientTop,clientLeft:s.clientLeft,scrollWidth:s.scrollWidth,scrollHeight:s.scrollHeight,scrollTop:s.scrollTop,scrollLeft:s.scrollLeft,offsetWidth:s.offsetWidth,offsetHeight:s.offsetHeight,offsetTop:s.offsetTop,offsetLeft:s.offsetLeft,offsetParent:s.offsetParent}}function $s(){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 Xg(s){const{top:t,left:e,width:o,height:r}=s.getBoundingClientRect(),{scrollLeft:n,scrollTop:a}=Ei();return{x:e+n,y:t+a,width:o,height:r}}function Gg(){const{clientHeight:s,scrollTop:t,scrollHeight:e}=Ei(),o=e-s;return o<=0?0:t/o*100}function Ug(s){if("center"in s)return s.center;if(typeof s.pageX=="number"&&typeof s.pageY=="number")return{x:s.pageX,y:s.pageY};const{scrollLeft:t,scrollTop:e}=Ei();return{x:s.clientX+t,y:s.clientY+e}}function uo(s,t){if(!t&&"offsetX"in s)return{x:s.offsetX,y:s.offsetY};const e=Ug(s),o=Xg(t||s.target);return{x:e.x-o.x,y:e.y-o.y}}class We extends cr{container;width;height;mousePoint={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0};hammer;removes=[];constructor(t=document.documentElement,e=!0,o){super(),this.container=t,this.width=t.offsetWidth,this.height=t.offsetHeight,this.hammer=new Vg(this.container),e&&this.start(o)}emitDebounce=s0((t,...e)=>super.emit(t,...e),50);emit(t,...e){switch(t){case"panLeft":case"panRight":this.emitDebounce(t,...e);break;default:super.emit(t,...e);break}return this}start(t){this.registerMouseEventListeners(),this.registerTransitionEventListeners(),this.registerAnimationEventListeners(),this.registerResizeObserver(),this.registerElementDisplayInParent(),t&&t.forEach(e=>{this.addRemoves(e())}),this.on("pointerMove",e=>{this.setMousePoint(uo(e,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=j=>{this.emit("mouseDown",j)},e=j=>{this.emit("mouseUp",j)},o=j=>{this.emit("mouseMove",j)},r=j=>{this.emit("mouseOver",j)},n=j=>{this.emit("mouseOut",j)},a=j=>{this.emit("mouseEnter",j)},i=j=>{this.emit("mouseLeave",j)},l=j=>{this.emit("mouseClick",j)},c=j=>{this.emit("mouseDoubleClick",j)},u=j=>{this.emit("mouseWheel",j)},h=j=>{this.emit("mouseContextMenu",j)},f=j=>{this.emit("touchStart",j)},p=j=>{this.emit("touchEnd",j)},d=j=>{this.emit("touchCancel",j)},b=j=>{this.emit("touchMove",j)},_=j=>{this.emit("pointerDown",j)},v=j=>{this.emit("pointerUp",j)},w=j=>{this.emit("pointerCancel",j)},g=j=>{this.emit("pointerMove",j)},m=j=>{this.emit("pan",j)},k=j=>{this.emit("panStart",j)},C=j=>{this.emit("panMove",j)},z=j=>{this.emit("panEnd",j)},tt=j=>{this.emit("panCancel",j)},R=j=>{this.emit("panLeft",j)},D=j=>{this.emit("panRight",j)},M=j=>{this.emit("panUp",j)},$=j=>{this.emit("panDown",j)},N=j=>{this.emit("pinch",j)},G=j=>{this.emit("press",j)},st=j=>{this.emit("rotate",j)},K=j=>{this.emit("swipe",j)},q=j=>{this.emit("swipeLeft",j)},nt=j=>{this.emit("swipeRight",j)},U=j=>{this.emit("swipeUp",j)},H=j=>{this.emit("swipeDown",j)},gt=j=>{this.emit("tap",j)},ft=j=>{!j.target||this.container==j.target||this.container.contains(j.target)||this.emit("tapOutSide",j)},V=j=>{this.emit("inputChange",j,this.container.files)},P=j=>{this.emit("dragstart",j)},Vt=j=>{j.dataTransfer&&(j.dataTransfer.dropEffect="copy"),this.emit("dragover",j)},Nt=j=>{this.emit("dragenter",j)},Ct=j=>{this.emit("dragend",j)},Kt=j=>{j.dataTransfer,this.emit("drop",j,j.dataTransfer?.files)};this.container.addEventListener("mousedown",t,!1),this.container.addEventListener("mouseup",e,!1),this.container.addEventListener("mousemove",o,!1),this.container.addEventListener("mouseover",r,!1),this.container.addEventListener("mouseout",n,!1),this.container.addEventListener("mouseenter",a,!1),this.container.addEventListener("mouseleave",i,!1),this.container.addEventListener("click",l,!1),this.container.addEventListener("dblclick",c,!1),this.container.addEventListener("wheel",u,!1),this.container.addEventListener("contextmenu",h,!1),this.container.addEventListener("touchstart",f,!1),this.container.addEventListener("touchend",p,!1),this.container.addEventListener("touchcancel",d,!1),this.container.addEventListener("touchmove",b,!1),this.container.addEventListener("pointerdown",_,!1),this.container.addEventListener("pointerup",v,!1),this.container.addEventListener("pointercancel",w,!1),this.container.addEventListener("pointermove",g,!1),this.hammer.on("pan",m),this.hammer.on("panstart",k),this.hammer.on("panmove",C),this.hammer.on("panend",z),this.hammer.on("pancancel",tt),this.hammer.on("panleft",R),this.hammer.on("panright",D),this.hammer.on("panup",M),this.hammer.on("pandown",$),this.hammer.on("pinch",N),this.hammer.on("press",G),this.hammer.on("rotate",st),this.hammer.on("swipe",K),this.hammer.on("swipeleft",q),this.hammer.on("swiperight",nt),this.hammer.on("swipeup",U),this.hammer.on("swipedown",H),this.hammer.on("tap",gt),document.addEventListener("pointerdown",ft,!1),this.container instanceof HTMLInputElement&&this.container.addEventListener("change",V,!1),this.container.addEventListener("dragstart",P,!1),this.container.addEventListener("dragover",Vt,!1),this.container.addEventListener("dragenter",Nt,!1),this.container.addEventListener("dragend",Ct,!1),this.container.addEventListener("drop",Kt,!1);const Gt=()=>{this.container.removeEventListener("mousedown",t,!1),this.container.removeEventListener("mouseup",e,!1),this.container.removeEventListener("mousemove",o,!1),this.container.removeEventListener("mouseover",r,!1),this.container.removeEventListener("mouseout",n,!1),this.container.removeEventListener("mouseenter",a,!1),this.container.removeEventListener("mouseleave",i,!1),this.container.removeEventListener("click",l,!1),this.container.removeEventListener("dblclick",c,!1),this.container.removeEventListener("wheel",u,!1),this.container.removeEventListener("contextmenu",h,!1),this.container.removeEventListener("touchstart",f,!1),this.container.removeEventListener("touchend",p,!1),this.container.removeEventListener("touchcancel",d,!1),this.container.removeEventListener("touchmove",b,!1),this.container.removeEventListener("pointerdown",_,!1),this.container.removeEventListener("pointerup",v,!1),this.container.removeEventListener("pointercancel",w),this.container.removeEventListener("pointermove",g,!1),this.hammer.off("pan",m),this.hammer.off("panstart",k),this.hammer.off("panmove",C),this.hammer.off("panend",z),this.hammer.off("pancancel",tt),this.hammer.off("panleft",R),this.hammer.off("panright",D),this.hammer.off("panup",M),this.hammer.off("pandown",$),this.hammer.off("pinch",N),this.hammer.off("press",G),this.hammer.off("rotate",st),this.hammer.off("swipe",K),this.hammer.off("swipeleft",q),this.hammer.off("swiperight",nt),this.hammer.off("swipeup",U),this.hammer.off("swipedown",H),this.hammer.off("tap",gt),document.removeEventListener("pointerdown",ft,!1),document.removeEventListener("touchstart",ft,!1),document.removeEventListener("mousedown",ft,!1),this.container instanceof HTMLInputElement&&this.container.removeEventListener("change",V,!1),this.container.removeEventListener("dragstart",P,!1),this.container.removeEventListener("dragover",Vt,!1),this.container.removeEventListener("dragenter",Nt,!1),this.container.removeEventListener("dragend",Ct,!1),this.container.removeEventListener("drop",Kt,!1)};return this.addRemoves(Gt),Gt}registerTransitionEventListeners(){const t=r=>{this.emit("transitionstart",r)},e=r=>{this.emit("transitionend",r)};this.container.addEventListener("transitionstart",t,!1),this.container.addEventListener("transitionend",e,!1);const o=()=>{this.container.removeEventListener("transitionstart",t,!1),this.container.removeEventListener("transitionend",e,!1)};return this.addRemoves(o),o}registerAnimationEventListeners(){const t=r=>{this.emit("animationstart",r)},e=r=>{this.emit("animationend",r)};this.container.addEventListener("animationstart",t,!1),this.container.addEventListener("animationend",e,!1);const o=()=>{this.container.removeEventListener("animationstart",t,!1),this.container.removeEventListener("animationend",e,!1)};return this.addRemoves(o),o}registerResizeObserver(){let t;if(typeof ResizeObserver<"u"){const e=new ResizeObserver(o=>{const{width:r,height:n}=o[0].contentRect;this.width=r,this.height=n,this.emit("resize",r,n)});e.observe(this.container),t=()=>{e.unobserve(this.container)}}else{const e="orientationchange"in window?"orientationchange":"resize",o=r=>{const n=r.target.innerWidth,a=r.target.innerHeight;this.emit("resize",n,a)};window.addEventListener(e,o,!1),t=()=>{window.removeEventListener(e,o,!1)}}return this.addRemoves(t),t}registerElementDisplayInParent(t){const e={threshold:t?.threshold||.5,root:t?.parentElement},o=new IntersectionObserver((n,a)=>{let i=n[0];if(n.length>1){const c=n.find(u=>u.isIntersecting);c&&(i=c)}i.isIntersecting&&i.intersectionRatio>=e.threshold?this.emit("showInParent"):this.emit("showOffParent")},e);o.observe(this.container);const r=()=>{o.unobserve(this.container)};return this.addRemoves(r),r}registerPullDownRefresh(t){const e=t?.distance||50;return this.captureDrag({move:(o,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullDowning",r.dStartY)},end:(o,r)=>{r.dStartY>=e&&this.emit("pullDown")}})}registerPullUpLoading(t){const e=t?.distance||50;return this.captureDrag({move:(o,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullUping",r.dStartY)},end:(o,r)=>{r.dStartY>=e&&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 e,o;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("pointerMove",a),this.on("pointerUp",n),this.on("pointerCancel",n),o=uo(l,this.container);const c={...o};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("pointerMove",a),this.off("pointerUp",n),this.off("pointerCancel",n),o=uo(l,this.container);const c={...o,dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...o};o=uo(l,this.container);const u={...o,dx:o.x-(c.x||0),dy:o.y-(c.y||0),dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("pointerDown",r);const i=()=>{this.off("pointerDown",r)};return this.addRemoves(i),i}captureDragUseMouse(t){let e,o;const r=l=>{l.preventDefault(),l.stopPropagation(),document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",n,!1),o=uo(l,this.container);const c={...o};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),document.removeEventListener("mousemove",a,!1),document.removeEventListener("mouseup",n,!1),o=uo(l,this.container);const c={...o,dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...o};o=uo(l,this.container);const u={...o,dx:o.x-(c.x||0),dy:o.y-(c.y||0),dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("mouseDown",r);const i=()=>{this.off("mouseDown",r)};return this.addRemoves(i),i}captureDragUseTouch(t){let e,o;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("touchMove",a),this.on("touchEnd",n),this.on("touchCancel",n);const c=l.changedTouches[0];o=uo(c,this.container);const u={...o};e=u,this.setMousePoint(u),t?.start?.(c,u)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("touchMove",a),this.off("touchEnd",n),this.off("touchCancel",n);const c=l.changedTouches[0];o=uo(c,this.container);const u={...o,dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(u),t?.end?.(c,u),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c=l.changedTouches[0],u={...o};o=uo(c,this.container);const h={...o,dx:o.x-(u.x||0),dy:o.y-(u.y||0),dStartX:e?o.x-e.x:0,dStartY:e?o.y-e.y:0};this.setMousePoint(h),t?.move?.(c,h)};this.on("touchStart",r);const i=()=>{this.off("touchStart",r)};return this.addRemoves(i),i}}class Pi{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"),o=document.createElement("video"),r=document.createElement("source"),n=new MediaSource;n.addEventListener("sourceopen",()=>t(!0)),r.src=URL.createObjectURL(n),r.media="(min-width:10px)",o.append(r),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(o),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(()=>{Pi.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 jg extends cr{source;raw="";mode="text";tagname="";nodename="";textchunk="";entity="";quote="";attrs={};constructor(t){super(),this.source=t}parse(){const t=Bm(this.source);if(t===0){this.emit("finish");return}let e,o,r=lu(this.source,0);for(let n=1;n<t;n++)e=o,o=r,r=lu(this.source,n),this.raw+=o,o&&this.step(o,r,e);r&&this.step(r,void 0,o),this.emit("finish")}step(t,e,o){t==`
45
- `&&this.emit("newline"),this.act(t,e,o)}act(t,e,o){switch(this.mode){case"text":switch(t){case"<":case"eof":this.nodename="",this.attrs={},this.mode="tag name start",this.raw=this.raw.slice(0,-1),this.textchunk&&this.emit("text",this.textchunk),this.raw+=t,this.textchunk="";break;case"&":this.mode="entity",this.entity="";break;default:this.textchunk+=t;break}break;case"entity":ao("whitespace",t)?(this.textchunk+=fh(this.entity),this.mode="text"):t==";"?(this.textchunk+=fh(this.entity+t),this.mode="text"):this.entity+=t;break;case"special":if(o=="!"&&t=="-"&&e=="-"){this.mode="comment start";break}if(this.textchunk=="[CDATA"&&t=="["){this.mode="cdata",this.textchunk="";break}if(t==">"||t=="eof"){this.emit("special",this.textchunk),this.mode="text",this.textchunk="";break}this.textchunk+=t;break;case"cdata":if(o=="]"&&t=="]"&&e==">"){this.mode="cdata end",this.textchunk=this.textchunk.slice(0,-1);break}t=="eof"&&(this.mode="cdata end",this.act(t,e,o)),this.textchunk+=t;break;case"cdata end":this.emit("cdata",this.textchunk),this.textchunk="",this.mode="text";break;case"comment start":e==">"||t=="eof"?(this.emit("comment",""),this.mode="skip"):this.mode="comment";break;case"skip":this.mode="text";break;case"comment":t=="-"&&o=="-"&&e==">"?(this.mode="comment end",this.textchunk=this.textchunk.slice(0,-1)):t=="eof"?this.emit("comment",this.textchunk):this.textchunk+=t;break;case"comment end":this.emit("comment",this.textchunk),this.textchunk="",this.mode="text";break;case"declaration":if(t=="?"&&e==">"){this.mode="declaration end";break}t=="eof"&&this.emit("comment",this.textchunk),this.textchunk+=t;break;case"declaration end":this.emit("comment",this.textchunk),this.textchunk="",this.mode="text";break;case"tag name start":if(t=="eof"){this.emit("text","<");break}if(!ao("whitespace",t)){if(this.mode="tag name",t=="/"){this.mode="close tag name start";break}else if(t=="!"){this.mode="special",this.textchunk="";break}else if(t=="?"){this.mode="declaration";break}this.act(t,e,o)}break;case"close tag name start":ao("whitespace",t)||(this.mode="close tag name",this.tagname="",this.nodename="",this.act(t,e,o));break;case"close tag name":if(ao("whitespace",t))this.tagname=this.nodename;else switch(t){case">":this.emit("/tag",this.tagname||this.nodename,this.attrs),this.mode="text";break;default:!this.tagname&&(this.nodename+=t);break}break;case"tag name":if(ao("whitespace",t))this.tagname=this.nodename,this.nodename="",this.mode="attr start";else switch(t){case">":this.emit("tag",this.nodename,this.attrs),this.mode="text";break;case"/":this.raw+=e,this.emit("tag",this.nodename,this.attrs),this.emit("/tag",this.nodename,this.attrs),this.mode="skip";break;default:this.nodename+=t;break}break;case"attr start":ao("whitespace",t)||(this.mode="attr",this.nodename="",this.act(t,e,o));break;case"attr":if(ao("whitespace",t)||t=="=")this.attrs[this.nodename]="",this.mode="attr value start";else switch(t){case">":this.nodename=="/"?(delete this.attrs["/"],this.emit("tag",this.tagname,this.attrs),this.emit("/tag",this.tagname,this.attrs)):(this.nodename&&(this.attrs[this.nodename]=""),this.emit("tag",this.tagname,this.attrs)),this.mode="text";break;default:this.nodename+=t;break}break;case"attr value start":if(!ao("whitespace",t)){if(this.mode="attr value",this.quote="",t=="'"||t=='"'){this.quote=t;return}this.act(t,e,o)}break;case"attr value":if(ao("whitespace",t)&&!this.quote)this.mode="attr start";else if(t==">"&&!this.quote)this.emit("tag",this.tagname,this.attrs),this.mode="text";else switch(t){case'"':case"'":this.quote==t&&o!="\\"&&(this.mode="attr start");break;default:this.attrs[this.nodename]+=t;break}break}}}function fh(s){const t={lt:60,"lt;":60,"AMP;":38,AMP:38,"GT;":62,GT:62,"QUOT;":34,QUOT:34,"apos;":39,"bull;":8226,"bullet;":8226,"copy;":169,copy:169,"deg;":176,deg:176};let e;return s.charAt(0)=="#"?s.charAt(1).toLowerCase()=="x"?e=parseInt(s.substring(2),16):e=parseInt(s.substring(1),10):e=t[s],e?String.fromCharCode(e):"&"+s}var ph=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function Hg(s,t={}){var e=1,o=1;function r(U){var H=U.match(/\n/g);H&&(e+=H.length);var gt=U.lastIndexOf(`
46
- `);o=~gt?U.length-gt:o+U.length}function n(){var U={line:e,column:o};return function(H){return H.position=new a(U),d(),H}}function a(U){this.start=U,this.end={line:e,column:o},this.source=t.source}a.prototype.content=s;var i=[];function l(U){var H=new Error(t.source+":"+e+":"+o+": "+U);if(H.reason=U,H.filename=t.source,H.line=e,H.column=o,H.source=s,t.silent)i.push(H);else throw H}function c(){var U=f();return{type:"stylesheet",stylesheet:{source:t.source,rules:U,parsingErrors:i}}}function u(){return p(/^{\s*/)}function h(){return p(/^}/)}function f(){var U,H=[];for(d(),b(H);s.length&&s.charAt(0)!="}"&&(U=q()||nt());)U!==!1&&(H.push(U),b(H));return H}function p(U){var H=U.exec(s);if(H){var gt=H[0];return r(gt),s=s.slice(gt.length),H}}function d(){p(/^\s*/)}function b(U){var H;for(U=U||[];H=_();)H!==!1&&U.push(H);return U}function _(){var U=n();if(!(s.charAt(0)!="/"||s.charAt(1)!="*")){for(var H=2;s.charAt(H)!=""&&(s.charAt(H)!="*"||s.charAt(H+1)!="/");)++H;if(H+=2,s.charAt(H-1)==="")return l("End of comment missing");var gt=s.slice(2,H-2);return o+=2,r(gt),s=s.slice(H),o+=2,U({type:"comment",comment:gt})}}function v(){var U=p(/^([^{]+)/);if(U)return wo(U[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(H){return H.replace(/,/g,"‌")}).split(/\s*(?![^(]*\)),\s*/).map(function(H){return H.replace(/\u200C/g,",")})}function w(){var U=n(),H=p(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(H){if(H=wo(H[0]),!p(/^:\s*/))return l("property missing ':'");var gt=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),ft=U({type:"declaration",property:H.replace(ph,""),value:gt?wo(gt[0]).replace(ph,""):""});return p(/^[;\s]*/),ft}}function g(){var U=[];if(!u())return l("missing '{'");b(U);for(var H;H=w();)H!==!1&&(U.push(H),b(U));return h()?U:l("missing '}'")}function m(){for(var U,H=[],gt=n();U=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)H.push(U[1]),p(/^,\s*/);if(H.length)return gt({type:"keyframe",values:H,declarations:g()})}function k(){var U=n(),H=p(/^@([-\w]+)?keyframes\s*/);if(H){var gt=H[1];if(H=p(/^([-\w]+)\s*/),!H)return l("@keyframes missing name");var ft=H[1];if(!u())return l("@keyframes missing '{'");for(var V,P=b();V=m();)P.push(V),P=P.concat(b());return h()?U({type:"keyframes",name:ft,vendor:gt,keyframes:P}):l("@keyframes missing '}'")}}function C(){var U=n(),H=p(/^@supports *([^{]+)/);if(H){var gt=wo(H[1]);if(!u())return l("@supports missing '{'");var ft=b().concat(f());return h()?U({type:"supports",supports:gt,rules:ft}):l("@supports missing '}'")}}function z(){var U=n(),H=p(/^@host\s*/);if(H){if(!u())return l("@host missing '{'");var gt=b().concat(f());return h()?U({type:"host",rules:gt}):l("@host missing '}'")}}function tt(){var U=n(),H=p(/^@media *([^{]+)/);if(H){var gt=wo(H[1]);if(!u())return l("@media missing '{'");var ft=b().concat(f());return h()?U({type:"media",media:gt,rules:ft}):l("@media missing '}'")}}function R(){var U=n(),H=p(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(H)return U({type:"custom-media",name:wo(H[1]),media:wo(H[2])})}function D(){var U=n(),H=p(/^@page */);if(H){var gt=v()||[];if(!u())return l("@page missing '{'");for(var ft=b(),V;V=w();)ft.push(V),ft=ft.concat(b());return h()?U({type:"page",selectors:gt,declarations:ft}):l("@page missing '}'")}}function M(){var U=n(),H=p(/^@([-\w]+)?document *([^{]+)/);if(H){var gt=wo(H[1]),ft=wo(H[2]);if(!u())return l("@document missing '{'");var V=b().concat(f());return h()?U({type:"document",document:ft,vendor:gt,rules:V}):l("@document missing '}'")}}function $(){var U=n(),H=p(/^@font-face\s*/);if(H){if(!u())return l("@font-face missing '{'");for(var gt=b(),ft;ft=w();)gt.push(ft),gt=gt.concat(b());return h()?U({type:"font-face",declarations:gt}):l("@font-face missing '}'")}}var N=K("import"),G=K("charset"),st=K("namespace");function K(U){var H=new RegExp("^@"+U+"\\s*([^;]+);");return function(){var gt=n(),ft=p(H);if(ft){var V={type:U};return V[U]=ft[1].trim(),gt(V)}}}function q(){if(s[0]=="@")return k()||tt()||R()||C()||N()||G()||st()||M()||D()||z()||$()}function nt(){var U=n(),H=v();return H?(b(),U({type:"rule",selectors:H,declarations:g()})):l("selector missing")}return Oi(c())}function wo(s){return s?s.replace(/^\s+|\s+$/g,""):""}function Oi(s,t){var e=s&&typeof s.type=="string",o=e?s:t;for(var r in s){var n=s[r];Array.isArray(n)?n.forEach(function(a){Oi(a,o)}):n&&typeof n=="object"&&Oi(n,o)}return e&&Object.defineProperty(s,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),s}class Wg extends jg{currentItem={};items=[];groups=[];globalStyles={};grad={};idtops={};text="";constructor(t){super(t),this.on("tag",(e,o)=>{switch(this.text="",this.currentItem={type:e},e){case"g":this.groups.push(this.currentItem);break}this.processAttrs(e,o)}),this.on("text",e=>{if(this.currentItem.type=="style"){try{const o=Hg(e);for(const r of o.stylesheet.rules)for(const n of r.declarations)for(const a of r.selectors)this.globalStyles[a]=this.globalStyles[a]||[],this.globalStyles[a].push(`${n.property}:${n.value}`)}catch{console.error("CAN'T parse css text: "+e)}return}this.text+=e}),this.on("/tag",(e,o)=>{let r=this.groups.length;for(;r--;)if(this.groups[r]!=this.currentItem){let n="",a="";for(const i in this.groups[r])i=="transform"?n=this.groups[r].transform:i=="class"&&this.globalStyles["."+this.groups[r][i]]?a=this.globalStyles["."+this.groups[r][i]].join(";")+";"+a:i=="id"&&this.globalStyles["#"+this.groups[r][i]]?a=this.globalStyles["#"+this.groups[r][i]].join(";")+";"+a:typeof this.currentItem[i]>"u"&&(this.currentItem[i]=this.groups[r][i]);typeof this.currentItem.transform>"u"?this.currentItem.transform=n:this.currentItem.transform+=" "+n,typeof this.currentItem.style>"u"?this.currentItem.style=a:this.currentItem.style=a+this.currentItem.style,this.currentItem.class&&this.globalStyles["."+this.currentItem.class]?this.currentItem.style=this.globalStyles["."+this.currentItem.class].join(";")+";"+this.currentItem.style:this.currentItem.id&&this.globalStyles["#"+this.currentItem.id]&&(this.currentItem.style=this.globalStyles["#"+this.currentItem.id].join(";")+";"+this.currentItem.style),Ri(this.currentItem.style,this.currentItem,Fi)}switch(this.processAttrs(e,o),e){case"g":this.groups.pop();break;case"cirlce":this.addToItems();break;case"ellipse":this.addToItems();break;case"polygon":this.addToItems();break;case"path":this.addToItems();break;case"line":this.addToItems();break;case"rect":this.addToItems();break;case"image":this.addToItems();break;case"text":this.currentItem.text=this.text,this.currentItem["text-anchor"]=this.currentItem["text-anchor"]||"start",this.addToItems();break}}),this.on("finish",()=>{this.emit("result",this.items)})}parse(){return super.parse(),this.items}processAttrs(t,e){let o=[],r;switch(t){case"svg":let n="",a="";if(e.width&&e.height)n=e.width,a=e.height;else if(e.viewBox){const i=e.viewBox.split(/\s+/gi);i.length==4&&(n=String(parseFloat(i[2])-parseFloat(i[0])),a=String(parseFloat(i[3])-parseFloat(i[1])))}n&&a&&this.items.push({type:"viewbox",width:n,height:a});break;case"line":typeof e.x1=="number"&&typeof e.y1=="number"&&typeof e.x2=="number"&&typeof e.y2=="number"&&(this.currentItem.path="M"+[e.x1,e.y1,e.x2,e.y2]);break;case"stop":r={},e.style&&Ri(e.style,r),r.offset=r.offset||e.offset,r.color=r["stop-color"]||e["stop-color"],r.opacity=r["stop-opacity"]||e["stop-opacity"],~(r.offset+"").indexOf("%")?r.offset=parseFloat(r.offset):r.offset=parseFloat(r.offset)*100,r.offset=+r.offset.toFixed(2),this.grad.stops.push(r);break;case"linearGradient":this.grad.angle=(360+Ii(parseFloat(e.x1),parseFloat(e.y1),parseFloat(e.x2),parseFloat(e.y2),parseFloat(e.x1)+100,parseFloat(e.y1))).toFixed(2),o=[this.grad.angle];for(let i=0,l=this.grad.stops.length;i<l;i++)r=this.grad.stops[i],i&&i!=l-1?o.push(r.color+":"+r.offset):o.push(r.color);this.idtops[this.grad.id]=o.join("-"),this.items.forEach(i=>{i.fillid==this.grad.id&&(i.fill=this.idtops[this.grad.id])});break;case"radialGradient":o=[];for(let i=0,l=this.grad.stops.length;i<l;i++)r=this.grad.stops[i],i&&i!=l-1?o.push(r.color+":"+r.offset):o.push(r.color);this.idtops[this.grad.id]=o.join("-"),this.items.forEach(i=>{i.fillid==this.grad.id&&(i.fill=this.idtops[this.grad.id])});break}for(const n in e){const a=e[n];if(Fi.includes(n)&&(this.currentItem[n]=a),n==="id"&&(this.currentItem.type==="linearGradient"&&(this.grad={id:n,stops:[]}),this.currentItem.type==="radialGradient"&&(this.grad={id:n,stops:[]})),n==="style"&&Ri(a,this.currentItem,Fi),n==="transform"&&(this.currentItem.transform=a+(this.currentItem.transform||" ")),n==="fill"){const i=a.match(/url\(#([^)]+)\)/);if(i){const l=i[1];this.currentItem.fillid=l,this.idtops[l]&&(this.currentItem.fill=this.idtops[l])}}n==="points"&&this.currentItem.type=="polygon"&&(this.currentItem.path="M"+a+"z"),n==="d"&&this.currentItem.type=="path"&&(this.currentItem.path=a),n==="xlink:href"&&this.currentItem.type=="image"&&(this.currentItem.src=a)}}addToItems(){this.items.push(this.currentItem)}}function Ii(s,t,e,o,r,n){if(typeof r>"u"||typeof n>"u"){const a=s-e,i=t-o;return!a&&!i?0:(180+Math.atan2(-i,-a)*180/Math.PI+360)%360}else return Ii(s,t,r,n)-Ii(e,o,r,n)}function Ri(s,t,e){const o=(s+"").split(";"),r=/^\s+|\s+$/g;for(let n=0,a=o.length;n<a;n++){const i=o[n].split(":"),l=i[0].replace(r,"").replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});(!e||e.includes(l))&&(t[l]=i[1].replace(r,""))}}const Fi=["id","class","viewBox","width","height","x","y","cx","cy","r","rx","ry","cursor","opacity","src","fill","fill-opacity","stroke","stroke-dasharray","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","font","font-family","font-size","font-style","font-weight","letter-spacing"];class mh{app;rootEl;ue;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e,o){this.app=t,this.rootEl=me.createSVGElement("svg"),this.ue=ds(this.rootEl);const r=ds(this.app.container);r.empty(),r.insert(this.rootEl),e&&o?this.setSize(e,o):(this.setSize(this.app.width,this.app.height),this.app.on("resize",()=>{this.setSize(this.app.width,this.app.height)})),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,a)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=a.dx,this.dragDy+=a.dy),this.setCursor()}}),this.app.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked");let a=n.parent;for(;a;)a.emit("clicked",n),a=a.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"}setSize(t,e){return Ls(this.rootEl,{viewBox:`0 0 ${t} ${e}`,width:`${t}`,height:`${e}`}),this}download(){return me.downloadFromSVGElement(this.rootEl)}_addDrawShape(t){this.shapes.findIndex(e=>e.id==t.id)===-1&&(this.shapes.push(t),t instanceof co&&t.shapes.forEach(e=>{this._addDrawShape(e)}))}path(t){(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow){e.el&&(e.el.remove(),delete e.el);continue}if(e.frameStart(this.app.mousePoint),e.el||(e instanceof On?e.el=this.text(e.text,e.x,e.y,hu(e.getAttrs(),(r,n)=>typeof n=="string")):(e.el=me.createSvgPath(e.toSVGPathD(),e.id),this.ue.insert(e.el))),e.followMouse&&(!ln(e.x,this.app.mousePoint.x,5)||!ln(e.y,this.app.mousePoint.y,5))&&e.followTo(this.app.mousePoint),e.targetToAfterDragFree&&(this.isMouseDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const r=this.dragDx,n=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||n){if(e.x+=r,e.y+=n,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",r,n)}}else e.isDragging=!1;e instanceof On&&(e.setAttr("x",String(e.x)),e.setAttr("y",String(e.y))),e.frameUpdate(this.app.mousePoint);const o=e.toSVGPathD();if(this.attr(e,hu(e.getAttrs(),(r,n)=>typeof n=="string")),this.attr(e,"d",o),!this.currentMouseInShape){const r=e.isPointInPath(this.app.mousePoint.x,this.app.mousePoint.y,this.rootEl)||e.isPointInStroke(this.app.mousePoint.x,this.app.mousePoint.y,this.rootEl)||!1;e.isMouseIn=r,r&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.app.mousePoint)}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}delete(t){(Array.isArray(t)?t:[t]).forEach(e=>{e.el&&e.el.remove(),delete e.el,this.shapes=this.shapes.filter(o=>o.id!==e.id)})}clear(){this.shapes.forEach(t=>{t.el&&t.el.remove(),delete t.el}),this.ue.empty(),this.shapes=[]}attr(t,e,o){const r=t.el||t;return r instanceof SVGElement?e===void 0&&o===void 0?Ls(r):typeof e=="string"&&o===void 0?Ls(r,to(e))||"":(typeof e=="object"?Ls(r,e):typeof e=="string"&&o!==void 0&&Ls(r,to(e),o),this):this}circle(t,e,o){return this.path(new se({x:t,y:e,radius:o}))}circleEl(t,e,o){const r=me.createSVGElement("circle",{cx:String(t),cy:String(e),r:String(o)});return this.ue.insert(r),r}ellipse(t,e,o,r){return this.path(new yh({x:t,y:e,rx:o,ry:r}))}ellipseEl(t,e,o,r){const n=me.createSVGElement("ellipse",{cx:String(t),cy:String(e),rx:String(o),ry:String(r)});return this.ue.insert(n),n}rect(t,e,o,r){return this.path(new Te({x:t,y:e,width:o,height:r}))}rectEl(t,e,o,r){const n=me.createSVGElement("rect",{x:String(t),y:String(e),width:String(o),height:String(r)});return this.ue.insert(n),n}image(t,e,o,r,n){}text(t,e,o,r){const n=me.createSVGElement("text",{x:String(e),y:String(o)});return ds(n).html(t),this.attr(n,Object.assign({"alignment-baseline":"middle"},r)),this.ue.insert(n),n}textWithTspan(t,e,o,r){const n=r?.["line-height"]||"1.2em",a=me.createSVGElement("text",{x:String(e),y:String(o)});return t.split(`
47
- `).forEach((i,l)=>{if(i.trim()){const c=me.createSVGElement("tspan",{x:String(e),dy:l>0?n:"0"});ds(c).html(i),ds(a).insert(c),this.attr(c,Object.assign({"alignment-baseline":"middle"},r))}}),this.ue.insert(a),a}}class Zg extends Fs{svgWidth=0;svgHeight=0;width=0;height=0;constructor(t){super(t);const e=new Wg(t.svg).parse();for(let o=0,r=e.length;o<r;o++){const n=e[o];if(n.type=="viewbox"&&n.width&&n.height){if(this.svgWidth=parseFloat(n.width),this.svgHeight=parseFloat(n.height),t.width){const u=this.svgWidth/this.svgHeight;this.width=t.width,this.height=this.width/u}else this.width=this.svgWidth,this.height=this.svgHeight;continue}if(n.type!="path"||!me.isSVGPath(n.path))continue;const a={};for(const u in n)u==="type"||u==="path"||u==="transform"||(a[u]=n[u]);const i=me.absolutizeSVGPath(me.parseSVGPath(n.path)),l=[];let c=[];for(let u=0,h=i.length;u<h;u++){const f=i[u];c.push(f),f[0].toLowerCase()=="z"&&(l.push(c),c=[])}c.length&&l.push(c),l.forEach(u=>{const h=hh(n.transform??"");h.scale(this.width&&this.svgWidth?this.width/this.svgWidth:1),this.addShape(new oe({...t,attrs:{...a,...t?.attrs||{}},d:u,originMatrix:h}))})}}shapeInit(){this.trim()}}class se extends oe{radius;constructor(t){super(t),this.radius=t?.radius||0}getBoundingClientRect(){return{x:this.x-this.radius,y:this.y-this.radius,width:this.radius*2,height:this.radius*2}}toSVGPathData(){return this.radius?[["m",0,-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",0,0]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}eq(t){return this.x===t.x&&this.y===t.y&&this.radius===t.radius&&this.mass===t.mass}midPointBtw(t){return{x:this.x+(t.x-this.x)/2,y:this.y+(t.y-this.y)/2}}length(){return pi(this.x,this.y)}scalar(t){return this.x*=t,this.y*=t,this}normalize(t=1){const e=this.length();if(e){const o=t/e;this.scalar(o)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,o=this.y;return{x:o*t.x-e*t.y,y:e*t.y-o*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y}}div(t){return{x:this.x/t.x,y:this.y/t.y}}add(t){return{x:this.x+t.x,y:this.y+t.y}}sub(t){return{x:this.x-t.x,y:this.y-t.y}}dot(t){return this.x*t.x+this.y*t.y}reflect(t){const e=this.dot(t);return{x:this.x-2*e*t.x,y:this.y-2*e*t.y}}checkCollision(t){const e=t.x-this.x,o=t.y-this.y;if(Math.sqrt(e*e+o*o)<this.radius+t.radius){const n=Math.atan2(o,e),a={x:0,y:0},i=lo(-n,e,o),l=lo(-n,this.vx,this.vy),c=lo(-n,t.vx,t.vy),u=l.x-c.x;l.x=((this.mass-t.mass)*l.x+2*t.mass*c.x)/(this.mass+t.mass),c.x=u+l.x;const h=Math.abs(l.x)+Math.abs(c.x),f=this.radius+t.radius-Math.abs(a.x-i.x);a.x+=l.x/h*f,i.x+=c.x/h*f;const p=lo(n,a.x,a.y),d=lo(n,i.x,i.y);t.x=this.x+d.x,t.y=this.y+d.y,this.x=this.x+p.x,this.y=this.y+p.y;const b=lo(n,l.x,l.y),_=lo(n,c.x,c.y);this.vx=b.x,this.vy=b.y,t.vx=_.x,t.vy=_.y}}checkWall(t){const e=typeof t?.bounce=="number"?t.bounce:-1,o=t.wall.x,r=t.wall.y,n=t.wall.x+t.wall.width,a=t.wall.y+t.wall.height;this.x+this.radius>n?(this.x=n-this.radius,this.vx*=e):this.x-this.radius<o&&(this.x=o+this.radius,this.vx*=e),this.y+this.radius>a?(this.y=a-this.radius,this.vy*=e):this.y-this.radius<r&&(this.y=r+this.radius,this.vy*=e)}}class gh extends oe{points;isStraight;constructor(t){if(super(t),this.points=t.points,this.points.length<3)throw new Error("points length must >= 3");this.isStraight=typeof t?.isStraight=="boolean"?t.isStraight:!0}toSVGPathData(){const t=[],e=this.points.length;if(this.isStraight){t.push(["M",this.points[0].x,this.points[0].y]);for(let o=1;o<=e-1;o++)t.push(["L",this.points[o].x,this.points[o].y]);t.push(["Z"])}else{const o=(this.points[0].x+this.points[e-1].x)/2,r=(this.points[0].y+this.points[e-1].y)/2;t.push(["M",o,r]);for(let n=0;n<e-1;n++){const a=(this.points[n].x+this.points[n+1].x)/2,i=(this.points[n].y+this.points[n+1].y)/2;t.push(["Q",this.points[n].x,this.points[n].y,a,i])}t.push(["Q",this.points[e-1].x,this.points[e-1].y,o,r])}return t}toCanvasContext(t){t.beginPath();const e=this.points.length;if(this.isStraight){t.moveTo(this.points[0].x,this.points[0].y);for(let o=1;o<=e-1;o++)t.lineTo(this.points[o].x,this.points[o].y);t.closePath()}else{const o=(this.points[0].x+this.points[e-1].x)/2,r=(this.points[0].y+this.points[e-1].y)/2;t.moveTo(o,r);for(let n=0;n<e-1;n++){const a=(this.points[n].x+this.points[n+1].x)/2,i=(this.points[n].y+this.points[n+1].y)/2;t.quadraticCurveTo(this.points[n].x,this.points[n].y,a,i)}t.quadraticCurveTo(this.points[e-1].x,this.points[e-1].y,o,r)}}isContainPoint(t,e){const o=this.points.length;let r=!1;const n=2e-10;for(let a=0,i=o-1;a<o;i=a,a++){const l=this.points[a].x,c=this.points[a].y,u=this.points[i].x,h=this.points[i].y;if(l===t&&c===e||u===t&&h===e||e===c&&e===h)return!0;if(e>=c&&e<h||e<c&&e>=h){const f=(u-l)/(h-c),p=l+f*(e-c);if(p===t||Math.abs(p-t)<n)return!0;p>t&&(r=!r)}}return r}[Symbol.iterator](){let t=-1;return{next:()=>({value:t<=this.points.length-1?this.points[++t]:void 0,done:t>=this.points.length})}}}class Te extends oe{width;height;borderRadius;constructor(t){super(t),this.width=t.width,this.height=t.height,this.borderRadius=t.borderRadius||0}static fromCubicBezier(t,e,o,r,n,a,i,l){const c=new us({x:t,y:e,c1x:o,c1y:r,c2x:n,c2y:a,toX:i,toY:l});return new Te(c.getBoundingClientRect())}getBoundingClientRect(){return{x:this.x,y:this.y,width:this.width,height:this.height}}toSVGPathData(){return this.borderRadius?[["m",this.borderRadius,0],["l",this.width-this.borderRadius*2,0],["a",this.borderRadius,this.borderRadius,0,0,1,this.borderRadius,this.borderRadius],["l",0,this.height-this.borderRadius*2],["a",this.borderRadius,this.borderRadius,0,0,1,-this.borderRadius,this.borderRadius],["l",this.borderRadius*2-this.width,0],["a",this.borderRadius,this.borderRadius,0,0,1,-this.borderRadius,-this.borderRadius],["l",0,this.borderRadius*2-this.height],["a",this.borderRadius,this.borderRadius,0,0,1,this.borderRadius,-this.borderRadius],["z"]]:[["m",0,0],["l",this.width,0],["l",0,this.height],["l",-this.width,0],["z"]]}toCanvasContext(t){t.beginPath(),this.borderRadius<=0?t.rect(0,0,this.width,this.height):(t.moveTo(0,this.borderRadius),t.lineTo(0,this.height-this.borderRadius),t.quadraticCurveTo(0,this.height,this.borderRadius,this.height),t.lineTo(this.width-this.borderRadius,this.height),t.quadraticCurveTo(this.width,this.height,this.width,this.height-this.borderRadius),t.lineTo(this.width,this.borderRadius),t.quadraticCurveTo(this.width,0,this.width-this.borderRadius,0),t.lineTo(this.borderRadius,0),t.quadraticCurveTo(0,0,0,this.borderRadius)),t.closePath()}eq(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height&&this.borderRadius===t.borderRadius}isIntersectRect(t){return!(this.x+this.width<t.x||t.x+t.width<this.x||this.y+this.height<t.y||t.y+t.height<this.y)}isContainPoint(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height}}class yh extends oe{rx;ry;constructor(t){super(t),this.rx=t?.rx||0,this.ry=t?.ry||0}getBoundingClientRect(){return{x:this.x-this.rx,y:this.y-this.ry,width:this.rx*2,height:this.ry*2}}toSVGPathData(){return[["m",0,-this.ry],["a",this.rx,this.ry,0,1,1,0,2*this.ry],["a",this.rx,this.ry,0,1,1,0,-2*this.ry],["z"]]}toCanvasContext(t){t.beginPath(),t.ellipse(0,0,this.rx,this.ry,0,0,2*Math.PI,!0),t.closePath()}}class Pn extends oe{constructor(t){super(t)}toSVGPathData(){return[["m",-50,-25],["l",50,0],["l",0,-25],["l",50,50],["l",-50,50],["l",0,-25],["l",-50,0],["l",0,-50],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(-50,-25),t.lineTo(0,-25),t.lineTo(0,-50),t.lineTo(50,0),t.lineTo(0,50),t.lineTo(0,25),t.lineTo(-50,25),t.lineTo(-50,-25),t.closePath()}}class $i extends oe{constructor(t){super(t)}toSVGPathData(){return[["m",4,24],["l",4,-8],["l",6,-6],["l",1,-10],["l",-6,-10],["l",-7,10],["l",-4,0],["l",-7,-10],["l",-6,10],["l",1,10],["l",6,6],["l",4,8],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(4,24),t.lineTo(8,16),t.lineTo(14,10),t.lineTo(15,0),t.lineTo(9,-10),t.lineTo(2,0),t.lineTo(-2,0),t.lineTo(-9,-10),t.lineTo(-15,0),t.lineTo(-14,10),t.lineTo(-8,16),t.lineTo(-4,24),t.closePath()}}class qg extends oe{rx;ry;constructor(t){super(t),this.rx=t?.rx||10,this.ry=t?.ry||10}toSVGPathData(){return[["m",0,0],["l",this.rx*2.4,-this.ry*3.14],["a",this.rx/2,this.ry/2,0,0,0,-this.rx*2.4,-this.ry*1.5],["a",this.rx/2,this.ry/2,0,0,0,-this.rx*2.4,this.ry*1.5],["l",this.rx*2.4,this.ry*3.14],["z"]]}}class Qg extends oe{rx;ry;constructor(t){super(t),this.rx=t?.rx??50,this.ry=t?.ry??50}toSVGPathData(){return[["m",0,0+this.ry*.3],["C",0,0,0-this.rx/2,0,0-this.rx/2,0+this.ry*.3],["C",0-this.rx/2,0+(this.ry+this.ry*.3)/2,0,0+(this.ry+this.ry*.3)/1.4,0,0+this.ry],["C",0,0+(this.ry+this.ry*.3)/1.8,0+this.rx/2,0+(this.ry+this.ry*.3)/2,0+this.rx/2,0+this.ry*.3],["C",0+this.rx/2,0,0,0,0,0+this.ry*.3],["z"]]}}class Kg extends oe{r;constructor(t){super(t),this.r=t?.r||20}toSVGPathData(){const t=[["m",0,-this.r]];for(let e=0;e<6;e+=1){const o=288+e*144,r=this.r*Math.cos(Yt(o)),n=this.r*Math.sin(Yt(o));t.push(["l",r,n])}return t}}class Jg extends oe{constructor(t){super(t)}toSVGPathData(){return[["M",0,0],["C",15,0,15,-40,5,-30],["L",0,0],["C",-15,0,-15,-40,-5,-30],["L",0,0],["a",15,15,0,1,1,0,30],["a",15,15,0,1,1,0,-30]]}}class ty extends oe{constructor(t){super(t),this.originD="m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z"}}class ey extends Fs{constructor(t){super(t);const e=new ve({...t,x:this.x,y:this.y,toX:this.x,toY:this.y-140-Math.random()*20}),o=30+Math.random()*30,r=new ve({...t,x:this.x,y:this.y-o,diffYInGroup:-o,toX:this.x+Math.random()*80-40,toY:this.y-100-Math.random()*40}),n=60+Math.random()*40,a=new ve({...t,x:this.x,y:this.y-n,diffYInGroup:-n,toX:this.x+Math.random()*60-30,toY:this.y-110-Math.random()*20});this.addShape([e,r,a])}}class On extends oe{text;width=0;height=0;constructor(t){super(t),this.text=t.text,this.setAttr({fontSize:"10px",fontFamily:'system-ui, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',emojiFontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif',fill:"#666666",stroke:"none","alignment-baseline":"middle",textAnchor:"start",...this.getAttrs()});const e=io(this.getAttr("fontSize"),10).number,o=io(this.getAttr("fontWeight"),400).number,r=this.measureText(this.text,e,o);this.width=r.width,this.height=r.height}getBoundingClientRect(){return null}toSVGPathData(){return[]}toCanvasContext(t){t.fillText(this.text,0,0)}measureText(t,e=12,o=400){const r=document.createElement("span");r.style.visibility="hidden",r.style.margin="0",r.style.padding="0",r.style.inset="0",r.style.whiteSpace="nowrap",r.style.overflow="visible",r.style.fontSize=e+"px",r.style.fontWeight=o.toString(),r.innerText=t,document.body.appendChild(r);const n=r.offsetWidth,a=r.offsetHeight;return document.body.removeChild(r),{width:n,height:a}}getFixedWidthText(t,e,o=12,r=400,n=!0){let a="";if(!t||e<o)return a;const i=t.split(""),l="...";let c=n?this.measureText(l,o,r).width:0;for(let u=0,h=i.length;u<h;u++)if(c+=this.measureText(i[u],o,r).width,c>e){n&&(a+=l);break}else a+=i[u];return a}}class oy extends Fs{text;bg;padding;offset;isShow;textShape;bgShape;constructor(t){super(t),this.text=t.text,this.bg=t.bg||"rgba(0,0,0,0.5)",this.padding=t.padding||4,this.offset=t.offset||20,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!1,this.textShape=new On({...t,x:this.x+this.offset,y:this.y+this.offset,text:this.text,attrs:{...this.getAttrs(),fill:ge(this.bg).opposite(!0).toString(),textAnchor:"start"}}),this.bgShape=new Te({...t,x:this.textShape.x-this.padding,y:this.textShape.y-this.textShape.height/2-this.padding,width:this.textShape.width+this.padding*2,height:this.textShape.height+this.padding*2,attrs:{...this.getAttrs(),fill:this.bg}}),this.addShape([this.bgShape,this.textShape])}shapeInit(){Za(()=>{this.textShape.x=this.x+this.offset,this.textShape.y=this.y+this.offset,this.textShape.text=this.text,this.textShape.isShow=this.isShow,this.bgShape.x=this.textShape.x-this.padding,this.bgShape.y=this.textShape.y-this.textShape.height/2-this.padding,this.bgShape.width=this.textShape.width+this.padding*2,this.bgShape.height=this.textShape.height+this.padding*2,this.bgShape.isShow=this.isShow})}}class vh extends co{radius;expandRaidus;startDegree;endDegree;text="";defaultShowText;tip="";p1=new se;p1Offset=10;p2=new se;p2Offset=40;p3=new se;p3Offset=10;p4=new se;p4Offset=10;direction=1;sectorArc;line12;line23;textShape;tipShape;constructor(t){super(t),this.radius=t.radius,this.expandRaidus=t.expandRaidus??20,this.startDegree=t.startDegree,this.endDegree=t.endDegree,this.text=t.text||"",this.defaultShowText=typeof t?.defaultShowText=="boolean"?t.defaultShowText:!!this.text,this.tip=t.tip||"",this.sectorArc=new sy({x:this.x,y:this.y,radius:this.radius,expandRaidus:this.expandRaidus,startDegree:this.startDegree,endDegree:this.endDegree,attrs:Object.assign({...this.getAttrs()},{strokeWidth:"0"})}),this.addShape(this.sectorArc);const e=Object.assign({...this.getAttrs()},{fill:"none"});this.line12=new ve({x:this.p1.x,y:this.p1.y,toX:this.p2.x,toY:this.p2.y,attrs:{...e},isShow:this.defaultShowText}),this.line23=new ve({x:this.p2.x,y:this.p2.y,toX:this.p3.x,toY:this.p3.y,attrs:{...e},isShow:this.defaultShowText}),this.textShape=new On({x:this.p4.x,y:this.p4.y,text:this.text,attrs:{stroke:e.stroke,textAnchor:this.direction==1?"start":"end"},isShow:this.defaultShowText}),this.text&&(this.addShape(this.line12),this.addShape(this.line23),this.addShape(this.textShape)),this.tipShape=new oy({x:0,y:0,text:this.tip,isShow:!1}),this.tip&&this.addShape(this.tipShape)}frameUpdate(t){this.text&&!this.defaultShowText&&(this.line12.isShow=this.sectorArc.isMouseIn,this.line23.isShow=this.sectorArc.isMouseIn,this.textShape.isShow=this.sectorArc.isMouseIn);const e=this.startDegree+(this.endDegree-this.startDegree)/2,{dx:o,dy:r}=xo(Yt(e),this.sectorArc.radius+this.p1Offset);this.p1.x=this.x+o,this.p1.y=this.y+r;const{dx:n,dy:a}=xo(Yt(e),this.sectorArc.radius+this.p1Offset+this.p2Offset);this.p2.x=this.x+n,this.p2.y=this.y+a,this.line12.x=this.p1.x,this.line12.y=this.p1.y,this.line12.toX=this.p2.x,this.line12.toY=this.p2.y,this.direction=this.p1.x>this.x?1:-1,this.p3.x=this.p2.x+this.direction*this.p3Offset,this.p3.y=this.p2.y,this.p4.x=this.p3.x+this.direction*this.p4Offset,this.p4.y=this.p3.y,this.line23.x=this.p2.x,this.line23.y=this.p2.y,this.line23.toX=this.p3.x,this.line23.toY=this.p3.y,this.textShape.x=this.p4.x,this.textShape.y=this.p4.y,this.textShape.setAttr("textAnchor",this.direction==1?"start":"end"),this.sectorArc.isMouseIn?(this.tipShape.isShow=!0,this.tipShape.x=t.x,this.tipShape.y=t.y):(this.tipShape.isShow=!1,this.tipShape.x=t.x,this.tipShape.y=t.y)}}class sy extends oe{radius;realRadius;expandRaidus;startDegree;endDegree;vr;ar;bounce;durationTime;status;constructor(t){super(t),this.radius=0,this.realRadius=t.radius,this.expandRaidus=t.expandRaidus??20,this.startDegree=t.startDegree,this.endDegree=t.endDegree,this.vr=0,this.ar=.03,this.bounce=.6,this.durationTime=8.333333333333334,this.status=0}frameUpdate(){this.status==0&&this.radius<this.realRadius?(this.expand(this.realRadius),this.radius>=this.realRadius&&(this.status=1)):this.isMouseIn?this.expand(this.realRadius+this.expandRaidus):this.shrink(this.realRadius)}expand(t){this.vr+=this.ar,this.radius+=this.vr*this.durationTime,this.radius>t&&(this.radius=t,this.vr*=-this.bounce)}shrink(t){this.vr-=this.ar,this.radius+=this.vr*this.durationTime,this.radius<t&&(this.radius=t,this.vr*=-this.bounce)}toSVGPathData(){const{dx:t,dy:e}=xo(Yt(this.startDegree),this.radius),{dx:o,dy:r}=xo(Yt(this.endDegree),this.radius);return[["m",0,0],["l",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,o-t,r-e],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.arc(0,0,this.radius,Yt(this.startDegree),Yt(this.endDegree),!1),t.closePath()}containPoint(t,e){const o=mi(this.x,this.y,t,e),r=ze(Is(this.x,this.y,t,e));return o<=this.radius&&r>=this.startDegree&&r<=this.endDegree}}class ry extends co{showFlame;ship;flame;constructor(t){super(t),this.showFlame=typeof t?.showFlame=="boolean"?t.showFlame:!1,this.ship=new oe({...t,d:[["M",10,0],["L",-10,10],["L",-5,0],["L",-10,-10],["L",10,0],["Z"]]}),this.addShape(this.ship),this.flame=new oe({...t,isShow:this.showFlame,d:[["m",-10,-5],["l",-7.5,5],["l",7.5,5],["z"]]}),this.addShape(this.flame)}shapeInit(){Za(()=>{this.ship.x=this.x,this.ship.y=this.y,this.flame.x=this.x,this.flame.y=this.y,this.flame.isShow=this.showFlame})}}class bh extends Fs{value;backgroundRect;occupyRect;handle;constructor(t){super(t);const e=t?.min||0,o=t?.max||100,r=t?.step||1,n=mu(e,o,r);this.value=n(typeof t?.defaultValue=="number"?ne(t.defaultValue,e,o):e);const a=this.value/(o-e),i=t?.barWidth||100,l=t?.barHeight||4,c=t?.handleRadius||10,u=l*.5,h=t?.barColor||vt.colorGrayF5,f=t?.handleColor||vt.colorPrimary;this.backgroundRect=new Te({x:this.x,y:this.y,width:i,height:l,borderRadius:u,attrs:{fill:h},enableDrag:!1,independentTransformInGroup:!0}),this.addShape(this.backgroundRect),this.occupyRect=new Te({x:this.x,y:this.y,width:i*a,height:l,borderRadius:u,attrs:{fill:f},enableDrag:!1,independentTransformInGroup:!0}),this.addShape(this.occupyRect),this.handle=new se({x:this.x+i*a,y:this.y+u,diffXInGroup:i*a,diffYInGroup:u,radius:c,alongPath:new Ge({x:this.x,y:this.y+u,d:[["m",0,0],["l",i,0]]}),attrs:{fill:f},enableDrag:!0,independentTransformInGroup:!0}),this.addShape(this.handle),this.handle.on("draging",p=>{this.occupyRect.width=ne(this.occupyRect.width+p,0,i),this.value=n((this.handle.x-this.x)/i*(o-e)+e),this.emit("change",this.value)})}}class Ds extends Fs{width;height;cornerRadius;controlPoint;mainRect;rightPoint;constructor(t){super(t),this.width=t.width,this.height=t.height,this.cornerRadius=this.height/2,this.controlPoint=new se({...t,x:this.x,y:this.y,radius:2}),this.forceSetCXY(this.controlPoint.cX,this.controlPoint.cY),this.mainRect=new Te({...t,x:this.x-this.cornerRadius,y:this.y-this.cornerRadius,diffXInGroup:-this.cornerRadius,diffYInGroup:-this.cornerRadius,width:this.width+this.cornerRadius*2,height:this.height,borderRadius:this.cornerRadius}),this.rightPoint=new se({...t,x:this.x+this.width,y:this.y,diffXInGroup:this.width,radius:2}),this.addShape([this.mainRect,this.controlPoint,this.rightPoint])}getPin(){return{x:this.controlPoint.x+Math.cos(Yt(this.controlPoint.degree))*this.width,y:this.controlPoint.y+Math.sin(Yt(this.controlPoint.degree))*this.width}}}class Di extends oe{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=e-e*Math.abs(Math.sin(Yt(this.extendDegree))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(Yt(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}=xo(Yt(this.startDegree),this.radius),{dx:o,dy:r}=xo(Yt(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,o-t,r-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,Yt(this.startDegree),Yt(this.endDegree),!1)}}let _h=class extends Fs{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const e=t?.startDegree||0,o=t?.endDegree||180,r=t?.extendDegree||15,n=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 Di({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:o,extendDegree:r,lineWidth:n,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new Di({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:o,extendDegree:r,lineWidth:n}),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 ve({...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+(o-e+r*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,o)=>{this.shapes.forEach(r=>{r!=o&&(r.x+=t,r.y+=e)})})}frameUpdate(t,e){const o=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),r=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(e){const n=e.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+o,-r,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:n})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let n=0;n<this.indicatorLineCount;n++){const a=n/(this.indicatorLineCount-1)<=this.percent;this.lines[n].setAttr({stroke:a&&e?e.createLinearGradient(0,0,this.lines[n].toX-this.lines[n].x,this.lines[n].toY-this.lines[n].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};class ny extends co{fettis=[];constructor(t,e,o){super();const{shape:r,x:n,y:a,particleCount:i,angle:l,spread:c,startVelocity:u,decay:h,gravity:f,drift:p,ticks:d,colors:b,scalar:_,flat:v}=Object.assign({shape:Te,x:.5,y:.6,particleCount:100,angle:90,spread:70,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,colors:Bg,scalar:1,flat:!1},o||{}),w=Yt(l),g=Yt(c);let m=i;for(;m--;){const k=b[m%b.length],C=new r({x:t*n,y:e*a,width:10,height:10,scalar:_,attrs:{fill:k},independentTransformInGroup:!0});this.addShape(C),this.fettis.push({shape:C,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:u*.5+Math.random()*u,angle2D:-w+(.5*g-Math.random()*g),tiltAngle:(Math.random()*.5+.25)*Math.PI,tick:0,totalTicks:d,decay:h,drift:p,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:f*3,scalar:_,flat:v,color:ge(k)})}}frameUpdate(t){this.fettis.length&&(this.fettis=this.fettis.filter(e=>{e.shape.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.shape.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.shape.x+10*e.scalar,e.wobbleY=e.shape.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.shape.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.shape.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);const o=e.tick++/e.totalTicks,r=e.shape.x+e.random*e.tiltCos,n=e.shape.y+e.random*e.tiltSin,a=e.wobbleX+e.random*e.tiltCos,i=e.wobbleY+e.random*e.tiltSin;return e.shape.setAttr("fill",e.color.setAlpha(1-o).toString()),e.shape.degree=ze(Math.PI/10*e.wobble),e.shape.scalarX=Math.abs(a-r)*.1,e.shape.scalarY=Math.abs(i-n)*.1,e.tick<e.totalTicks}))}}class Be{shapes;constructor(t){this.shapes=t}run(t){this.shapes.forEach(o=>{o.run(),t?.wall&&o.checkWall({wall:t.wall,bounce:t.bounce})});const e=this.shapes.length;for(let o=0,r=e-1;o<r;o++)for(let n=o+1;n<e;n++)this.shapes[o].checkCollision(this.shapes[n])}gravitate(){const t=this.shapes.length;this.shapes.forEach((e,o)=>{e.run();for(let r=o+1;r<t;r++)e.checkCollision(this.shapes[r]),e.gravitateTo(this.shapes[r])})}springChain(t){this.shapes.forEach((e,o)=>{o>0&&e.runSpringTo(this.shapes[o-1],t)})}springConnect(t){const e=Yo(t?.springLength,100);this.shapes.forEach(o=>{o.isDragging||this.shapes.filter(r=>r.id!==o.id).forEach(r=>{const n=Is(o.x,o.y,r.x,r.y);o.runSpringTo({x:r.x-Math.cos(n)*e,y:r.y-Math.sin(n)*e},t)})})}springMass(t,e){const o=this.shapes.length,r=[];return this.shapes.forEach((n,a)=>{n.run(e),n.x>t.x+t.width?n.x=t.x:n.x<t.x&&(n.x=t.x+t.width),n.y>t.y+t.height?n.y=t.y:n.y<t.y&&(n.y=t.y+t.height);for(let i=a+1;i<o;i++)r.push([n.x,n.y,this.shapes[i].x,this.shapes[i].y,n.springMassTo(this.shapes[i],e)])}),r}polymorph(){if(this.shapes.length<2)throw new Error("shapes个数必须大于等于2");const t=this.shapes.length-1,e=new Array(t);for(let r=0;r<t;r++){const n=this.shapes[r].initPathD();this.shapes[r].frameStart();const a=this.shapes[r+1].initPathD();this.shapes[r+1].frameStart();const i=Math.max(n.polymorphPoints.length,a.polymorphPoints.length);e[r]=Ge.getPathInterpolator(n.expendFill(i),a.expendFill(i))}const o=new oe({d:e[0](0)});return r=>{const n=xe(t*r,6),a=Math.min(Math.floor(n),t-1),i=xe(n-a,6);o.originD=e[a](i);const l=this.shapes[a].getAttr("fill","none"),c=this.shapes[a+1].getAttr("fill","none");typeof l=="string"&&typeof c=="string"&&o.setAttr("fill",It.gradient(l,c,i).toString());const u=this.shapes[a].getAttr("stroke","none"),h=this.shapes[a+1].getAttr("stroke","none");return typeof u=="string"&&typeof h=="string"&&o.setAttr("stroke",It.gradient(u,h,i).toString()),o}}polymorphGroup(){if(this.shapes.length<2)throw new Error("shapes个数必须大于等于2");let t=0,e;const o=[];this.shapes.forEach(i=>{let l;i instanceof co?(l=i,l.sortPathD()):(l=new co,l.addShape(i)),o.push(l),t<l.shapes.length&&(t=l.shapes.length,e=l)}),o.forEach(i=>{i!==e&&i.expendFill(e)});const r=[];o.forEach((i,l)=>{i.shapes.forEach((c,u)=>{r[u]=r[u]||[],r[u][l]=c})});const n=[];r.forEach(i=>{n.push(new Be(i).polymorph())});const a=new co;return n.forEach(i=>{a.addShape(i(0))}),i=>(n.forEach(l=>{l(i)}),a)}polymorphTween(t=6e3,e){const o=this.shapes.findIndex(i=>i instanceof co)>=0?this.polymorphGroup():this.polymorph(),r=o(0),n=e?.onUpdate,a=new Oe({frameDuration:t});a.addTween({t:0},{t:1},Object.assign(e||{},{onUpdate:(i,l)=>{o(i.t),n?.(i,l),e?.draw?.(r)}})),a.play()}static generatePointsShape(t,e,o,r){const n=[];for(let a=0;a<r;a++){const i=a/r*2*Math.PI,{dx:l,dy:c}=xo(i,o);n.push({x:t+l,y:e+c})}return new gh({points:n})}static generateRosettaShape(t,e,o,r,n){if(n==0)throw new Error("no dividing by zero, please");const a=[],i=360/n;for(let l=0;l<n;l+=1){const c=i*l*Math.PI/180,u=t+2*o*Math.cos(c),h=e+2*o*Math.sin(c);a.push(new bi({x:t,y:e,rx:o,ry:r,xAxisRotate:i*l,largeArcFlag:1,sweepFlag:1,toX:u,toY:h})),a.push(new bi({x:u,y:h,rx:o,ry:r,xAxisRotate:i*l,largeArcFlag:1,sweepFlag:1,toX:t,toY:e}))}return new oe({d:Ge.fromLines(a)})}}function ay(s){return window.URL.createObjectURL(s)}const xh=new qa;async function wh(s,t=6e4){const e=typeof s=="string"?s:ay(s);return new Promise((o,r)=>{const n=xh.get(e);if(n)return o(n);const a=new Image;a.onload=l=>{clearTimeout(i);const c=a.naturalWidth||a.width,u=a.naturalHeight||a.height,h={width:c,height:u,aspectRatio:c/u,imageData:mg(a),element:a};xh.set(e,h),o(h),a.onerror=a.onload=null},a.onerror=l=>{clearTimeout(i),r(l)},a.src=e;const i=setTimeout(()=>{r("Timeout!")},t)})}async function iy(s,t=6e4){return new Promise((e,o)=>{const r=document.createElement("script");r.type="text/javascript",r.async=!1,r.onload=a=>{clearTimeout(n),e(a),r.onerror=r.onload=null},r.onerror=a=>{clearTimeout(n),o(a)},r.src=s;const n=setTimeout(()=>{o("Timeout!")},t);document.body.appendChild(r)})}function kh(s,t){const e=document.createElement("a");e.style.visibility="hidden",e.download=t,typeof s=="string"?e.href=s:e.href=window.URL.createObjectURL(s),e.click()}const In=new qa,ly=(s=!0)=>{In.filter((t,e)=>(e.alternate&&($h(e,e.alternate),s&&In.set(t,e.alternate),e.alternate=void 0),s))};function Ch(s){let t=In.get(s);return t||(t=Ni(s),In.set(s,t)),t}function cy(s){const t=Ch(s);return t.alternate||(t.alternate=Ni(s)),t.alternate}function Th(s,t,e=!0){t(cy(s)),rh("FLUSH_DOM_ACTION",()=>ly(e),50)}function br(s,t,e){const o=Ch(s);return t?o.props.style[t]||o.props.style[cu(t)]||o.props.style[to(t)]:o.props.style}function Sh(s,t,e){Th(s,o=>{typeof t=="string"&&e?o.props.style[t]=e:t instanceof Object&&Object.keys(t).forEach(r=>{o.props.style[r]=t[r]})},!0)}function Eh(s){const t=[];if(getComputedStyle){const e=getComputedStyle(s);for(let o=0,r=e.length;o<r;o++)t.push(e[o]+":"+e.getPropertyValue(e[o]))}else{const e=s.currentStyle;for(const o in e)t.push(o+":"+e[o])}return t.push(...(s.style.cssText||"").split(";")),Object.fromEntries(t.filter(e=>!!e).map(e=>e.split(":").map((o,r)=>r==0?cu(o).trim():o.trim())))}function Li(s,t,e){typeof t=="string"&&e?s.style.setProperty(to(t),e.replace(/!important/i,""),String(e).toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(o=>{Li(s,o,t[o])})}function Ph(s,t){typeof t=="string"?s.style.removeProperty(to(t)):Object.keys(t).forEach(e=>{Ph(s,e)})}function ko(s,t){let e;if(typeof t=="string"){const r=document.querySelector(t)?.shadowRoot;r?e=r:e=document.querySelector(t)}else e=t||document.getElementsByTagName("head")[0];const o=document.createElement("style");if(o.innerHTML=s,e)return e.appendChild(o),()=>{(e instanceof HTMLElement||e instanceof ShadowRoot)&&e.removeChild(o)};{const r=document.styleSheets[0].insertRule(s);return()=>{document.styleSheets[0].deleteRule(r)}}}function uy(s,t,e={}){Object.prototype.hasOwnProperty.call(e,"transform")||Object.assign(e,{transform:br(s,"transform")||""});const o=hh(e.transform),r={};for(const n in t){const a=t[n];switch(n){case"transform":break;case"translate":o.translate(a[0]||0,a[1]||0);break;case"translateTo":o.translateTo(a[0]||0,a[1]||0);break;case"translateX":o.translateX(a||0);break;case"translateXTo":o.translateXTo(a||0);break;case"translateY":o.translateY(a||0);break;case"translateYTo":o.translateYTo(a||0);break;case"translateZ":o.translateZ(a||0);break;case"translateZTo":o.translateZTo(a||0);break;case"translate3d":o.translate3d(a[0]||0,a[1]||0,a[2]||0);break;case"translate3dTo":o.translate3dTo(a[0]||0,a[1]||0,a[2]||0);break;case"rotate":typeof a=="number"?o.rotate(a||0):o.rotate(a[0]||0,a[1]||0,a[2]||0);break;case"rotateTo":typeof a=="number"?o.rotateTo(a||0):o.rotateTo(a[0]||0,a[1]||0,a[2]||0);break;case"rotateX":o.rotateX(a||0);break;case"rotateXTo":o.rotateXTo(a||0);break;case"rotateY":o.rotateY(a||0);break;case"rotateYTo":o.rotateYTo(a||0);break;case"rotateZ":o.rotateZ(a||0);break;case"rotateZTo":o.rotateZTo(a||0);break;case"rotate3d":o.rotate3d(a[0]||0,a[1]||0,a[2]||0);break;case"rotate3dTo":o.rotate3dTo(a[0]||0,a[1]||0,a[2]||0);break;case"scale":typeof a=="number"?o.scale(a||1):o.scale(a[0]||1,a[1]||1,a[2]||0,a[3]||0);break;case"scaleTo":typeof a=="number"?o.scaleTo(a||1):o.scaleTo(a[0]||1,a[1]||1,a[2]||0,a[3]||0);break;case"scaleX":o.scaleX(a||1);break;case"scaleXTo":o.scaleXTo(a||1);break;case"scaleY":o.scaleY(a||1);break;case"scaleYTo":o.scaleYTo(a||1);break;case"scaleZ":o.scaleZ(a||1);break;case"scaleZTo":o.scaleZTo(a||1);break;case"scale3d":typeof a=="number"?o.scale3d(a||1):o.scale3d(a[0]||1,a[1]||1,a[2]||1);break;case"scale3dTo":typeof a=="number"?o.scale3dTo(a||1):o.scale3dTo(a[0]||1,a[1]||1,a[2]||1);break;case"skew":typeof a=="number"?o.skew(a||0):o.skew(a[0]||0,a[1]||0);break;case"skewTo":typeof a=="number"?o.skewTo(a||0):o.skewTo(a[0]||0,a[1]||0);break;case"skewX":o.skewX(a||0);break;case"skewXTo":o.skewXTo(a||0);break;case"skewY":o.skewY(a||0);break;case"skewYTo":o.skewYTo(a||0);break;case"skewZ":break;case"skewZTo":break;case"skew3d":break;case"skew3dTo":break;case"perspective":o.perspective(a||0);break;default:Object.prototype.hasOwnProperty.call(e,n)||(e[n]=br(s,n)),Object.assign(r,{[n]:`${a}`});break}}return Object.assign(r,{transform:o.toString()}),r}function Ls(s,t,e){if(t===void 0&&e===void 0)return Oh(s);if(typeof t=="string"&&e===void 0)return hy(s,t);let o={};typeof t=="object"?o=t:typeof t=="string"&&typeof e=="string"&&(o[t]=e),Th(s,r=>{Object.entries(o).forEach(([n,a])=>{r.props[n]=a})})}function Oh(s){const t={};for(let e=0,o=s.attributes,r=o.length;e<r;e++){const n=o[e];n.nodeName&&n.nodeValue&&(n.nodeName==="style"?t[n.nodeName]=Eh(s):t[n.nodeName]=n.nodeValue)}return t}function hy(s,t){return t==="style"?Eh(s):s.getAttribute(to(t))}function Ih(s,t,e){return s.setAttribute(to(t),e)}function Mi(s,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(s.className)||!1}function ds(s){return{el:s,isRoot:()=>/(html|body)/i.test(s.tagName)||s===document.documentElement,isActive:()=>s===document.activeElement&&(s.type||s.href),parent:()=>s.parentElement,parents:function(t=s,e=[]){return!t||t.parentElement===null?e:this.parents(t.parentElement,e.concat([t]))},scrollParent:function(){const t=this.parents();for(let e=0,o=t.length;e<o;e++)if(/(auto|scroll)/.test(br(t[e],"overflow")+br(t[e],"overflow-y")+br(t[e],"overflow-x")))return t[e];return document.scrollingElement||document.documentElement},contains:t=>s.contains?s!=t&&s.contains(t):!!(s.compareDocumentPosition(t)&16),siblings:()=>Array.prototype.slice.call(s.parentElement?.children).filter(t=>t!==s),nextElementSibling:()=>s.nextElementSibling,previousElementSibling:()=>s.previousElementSibling,closest:t=>s.closest(t),shadowRoot:()=>s.shadowRoot,isInput:()=>s.tagName==="INPUT"||s instanceof HTMLInputElement,isSelect:()=>s.tagName==="SELECT"||s instanceof HTMLSelectElement,isTextArea:()=>s.tagName==="TEXTAREA"||s instanceof HTMLTextAreaElement,isInputCheckbox:function(){return this.isInput(s)&&s.getAttribute("type")==="checkbox"},isInputRadio:function(){return this.isInput(s)&&s.getAttribute("type")==="radio"},isInputText:function(){return this.isInput(s)&&s.getAttribute("type")==="text"},isInputNumber:function(){return this.isInput(s)&&s.getAttribute("type")==="number"},changeSelected:function(t){if(this.isSelect()){const e=s.options;for(let o=0,r=e.length;o<r;o++)e[o].selected=e[o].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const e=document.getElementsByName(s.name);for(let o=0,r=e.length;o<r;o++){const n=e[o];n.checked=n.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(s.checked=t)},insert:(t,e="append")=>{typeof t=="string"?s[e](dy(t)):s[e](t)},html:function(t){if(typeof t=="string"){s.innerHTML=t;const e=Rh(s);e!=s&&(s=e)}else this.insert(t,"replaceWith")},empty:function(){this.html("")},text:t=>{s.textContent=t},getInnerText:()=>{if(s instanceof SVGElement)return"";let t=s.innerText;if(!t){const e=s.querySelector("slot")?.assignedNodes()||[];let o=0;for(;!t&&o<=e.length-1;)"innerText"in e[o]&&(t=e[o].innerText),o++}return t},remove:()=>s.remove()}}function dy(s){const t=document.createElement("template");return t.innerHTML=s,t.content.childNodes.forEach(e=>{const o=Rh(e);o!=e&&t.content.replaceChild(o,e)}),t.content}function Rh(s){return s.tagName=="SCRIPT"&&(s=Fh(s)),s.querySelectorAll&&s.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(Fh(t),t)}),s}function Fh(s){const t=s.ownerDocument.createElement("script");t.text=s.text;const e=s.attributes;for(let o=0,r=e.length;o<r;o++)t.setAttribute(e[o].name,e[o].value);return t}async function Ai(s){if(navigator.clipboard)return await navigator.clipboard.writeText(s);{const t=document.createElement("textarea");return t.value=s,t.style.opacity="0",t.style.position="fixed",t.style.top="0",t.style.left="0",t.focus(),t.select(),document.execCommand("copy")}}function fy(s,t={},e=[],o){return{tag:s,props:t,children:e,el:o}}function Ni(s){return fy(s.tagName,Oh(s),Array.from(s.children).map(t=>Ni(t)),s)}function Rn(s,t=document.documentElement){if(s.el)return s.el;if(s.el=document.createElement(s.tag),s.props)for(const e in s.props){const o=s.props[e];e.startsWith("on")?s.el.addEventListener(e.slice(2).toLowerCase(),o):e==="style"?Li(s.el,s.props[e]):Ih(s.el,e,o)}return s.children&&(typeof s.children=="string"?s.el.appendChild(document.createTextNode(s.children)):s.children.forEach(e=>{Rn(e,s.el)})),t.appendChild(s.el),s.el}function $h(s,t){if(!s.el)return;if(s.tag!==t.tag){(s.el.parentElement||document.body).replaceChild(Rn(t),s.el);return}const e=t.el=s.el,o=s.props,r=t.props;for(const i in o)i in r||(i.startsWith("on")?e.removeEventListener(i.slice(2).toLowerCase(),o[i]):e.removeAttribute(i));for(const i in r){const l=o[i],c=r[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||Ph(e,u);Li(e,c)}else Ih(e,i,c)}const n=s.children||[],a=t.children||[];if(typeof a=="string")e.innerHTML=a;else if(typeof n=="string")e.innerHTML="",a.forEach(i=>{Rn(i,e)});else{const i=Math.min(n.length,a.length);for(let l=0;l<i;l++)$h(n[l],a[l]);a.length>n.length&&a.slice(n.length).forEach(l=>{Rn(l,e)}),a.length<n.length&&n.slice(a.length).forEach(l=>{l.el&&e.removeChild(l.el)})}}function py(s){const t=document.documentElement,e=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=e;let o=100;const r=function(){const n=Math.min(t.clientWidth,s);t.dataset.width=n,t.dataset.rem=o=Math.round(100*(n/s)),t.style.fontSize=o+"px"};r(),window.rem2px=function(n){return n=parseFloat(n),n*o},window.px2rem=function(n){return n=parseFloat(n),n/o},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",r,!1)}class zi{app;ctx;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e=!1){if(this.app=t,!(this.app.container instanceof HTMLCanvasElement))throw new Error("app.container 应该为 HTMLCanvasElement!");this.ctx=new vi(this.app.container,this.app.width,this.app.height,e),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:(o,r)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=r.dx,this.dragDy+=r.dy),this.setCursor()}}),this.app.on("tap",()=>{for(const o of this.shapes)if(this.currentMouseInShape==o){o.emit("clicked");let r=o.parent;for(;r;)r.emit("clicked",o),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(Yt(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 co&&t.shapes.forEach(e=>{this._addDrawShape(e)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow)continue;if(this.ctx.save(),e.frameStart(this.app.mousePoint),my(this.ctx,e.getAttrs()),e.followMouse&&(!ln(e.x,this.app.mousePoint.x,5)||!ln(e.y,this.app.mousePoint.y,5))&&e.followTo(this.app.mousePoint),e.targetToAfterDragFree&&(this.isMouseDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const r=this.dragDx,n=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||n){if(e.x+=r,e.y+=n,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",r,n)}}else e.isDragging=!1;e.frameUpdate(this.app.mousePoint,this.ctx),this.transformCtxBaseOnShape(e),e.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const o=this.ctx.currentPath2D;if(!this.currentMouseInShape){const r=this.ctx.isPointInPath(o,this.app.mousePoint.x,this.app.mousePoint.y)||this.ctx.isPointInStroke(o,this.app.mousePoint.x,this.app.mousePoint.y)||!1;e.isMouseIn=r,r&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.app.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",e){switch(t){case"brush":const o=e?.brushSize??10,r=e?.brushDensity??50,n=e?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),i=a.data,l=ge(n);return this.app.captureDrag({move:()=>{if(this.isMouseDown){for(let c=0;c<r;c++){const u=Math.random()*Math.PI*2,h=Math.random()*o,f=this.app.mousePoint.x+Math.cos(u)*h|0,p=this.app.mousePoint.y+Math.sin(u)*h|0,d=(f+p*a.width)*4;i[d]=l.r,i[d+1]=l.g,i[d+2]=l.b,i[d+3]=255}this.ctx.putImageData(a)}}});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 my(s,t){for(const e in t){const o=t[e];switch(e){case"fill":o!=="none"&&(s.fillStyle=o);break;case"stroke":o!=="none"&&(s.strokeStyle=o);break;case"stroke-width":case"strokeWidth":s.lineWidth=Number(o);break;case"stroke-linecap":case"strokeLinecap":s.lineCap=o;break;case"stroke-linejoin":case"strokeLinejoin":switch(o){case"round":case"bevel":case"miter":s.lineJoin=o;break;default:s.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":s.miterLimit=Number(o);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":s.lineDashOffset=Number(o);break;case"stroke-dasharray":case"strokeDasharray":typeof o=="string"&&s.setLineDash(o.split(/\s+/).map(r=>Number(r)));break;case"cursor":break;case"font":typeof o=="string"&&(s.font=o);break;case"font-size":case"fontSize":s.font+=` ${o}`;break;case"font-family":case"fontFamily":s.font+=` ${o}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(o){case"middle":s.textAlign="center";break;case"end":s.textAlign="end";break;case"start":s.textAlign="start";break}break;case"alignment-baseline":case"alignmentBaseline":switch(o){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":s.textBaseline=o;break;default:s.textBaseline="alphabetic";break}break}}}class gy{map;constructor(t,e=120.619585,o=31.299379,r=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(e,o),r)}}const yy=Q({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("span",{class:"icon",style:A(["color: "+e.color])},[lt(Et(Qu),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),vy=`.icon[data-v-b2d9b612]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}
48
- `,it=(s,t)=>{const e=s.__vccOpts||s;for(const[o,r]of t)e[o]=r;return e},Dh=it(yy,[["styles",[vy]],["__scopeId","data-v-b2d9b612"]]),by=Q({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("span",{class:"icon",style:A(["color: "+e.color])},[lt(Et(Qu),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),ux="",ho=it(by,[["__scopeId","data-v-8789b4ce"]]),_y={class:"loading-11",ref:"loading11"},xy={class:"container container-1"},wy={class:"container container-2"},ky={class:"container container-3"},Cy=Q({__name:"Loading11",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(s){const t=s;return(e,o)=>(L(),Y("div",_y,[E("div",{class:"loading-11-inner",style:A({width:t.width,height:t.width})},[E("div",xy,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",wy,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",ky,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)])],4)],512))}}),hx="",Fn=it(Cy,[["__scopeId","data-v-f95fac77"]]),Ty={key:0,class:"loading"},fs=it(Q({customOptions:{Loading11:Fn},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(o.borderColor),i=I(o.bgColor),l=I(o.fontColor),c=I(o.borderColor),u=I(o.bgColor);function h(m){switch(m){case"outline":a.value=o.borderColor??vt.colorPrimary,i.value=o.bgColor??vt.colorGrayFF,l.value=o.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=o.borderColor??vt.colorPrimary,i.value=o.bgColor??vt.colorPrimary,l.value=o.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}St(()=>o.stylePattern,()=>{h(o.stylePattern)},{immediate:!0});const f=I(o.disabled?"0.6":"1"),p=I(o.disabled?"not-allowed":"pointer");let d=!1;const b=()=>{o.disabled||(d=!0,a.value=ge(c.value).lighten(.05).toString(),i.value=ge(u.value).lighten(.05).toString())},_=()=>{o.disabled||(d=!1,a.value=c.value,i.value=u.value)},v=I(!1),g=vu(()=>{o.disabled||v.value||(a.value=ge(c.value).darken(.05).toString(),i.value=ge(u.value).darken(.05).toString(),setTimeout(()=>{d?b():_()},150),r("yz-click"),r("click"),o.asyncClick&&(v.value=!0,o.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},500);return t({el:n}),(m,k)=>(L(),Y("div",{ref_key:"el",ref:n,class:"button",style:A([`opacity: ${f.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${o.borderRadius}`,`height: ${o.height}`,`line-height: ${o.height}`,`font-size: ${o.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:b,onMouseleave:_,onClick:k[0]||(k[0]=(...C)=>Et(g)&&Et(g)(...C))},[E("label",{class:"label truncate",style:A({padding:"0 "+m.padding,cursor:p.value})},[v.value?(L(),Y("div",Ty,[lt(Fn,{color:l.value},null,8,["color"])])):Ot("",!0),kt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),Mt(ho,{key:0,icon:m.icon,color:l.value,style:A({marginRight:Et(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Ot("",!0),E("span",{style:A({cursor:p.value})},yt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),Mt(ho,{key:1,icon:m.icon,color:l.value,style:A({marginLeft:Et(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Ot("",!0)],!0)],4)],36))}}),[["styles",[`.button[data-v-42c4dc4c]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-42c4dc4c]{display:inline-flex;justify-content:center;align-items:center}.loading[data-v-42c4dc4c]{margin-right:6px}
49
- `]],["__scopeId","data-v-42c4dc4c"]]),Sy={key:0,class:"loading"},Ey=Q({customOptions:{Loading11:Fn},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(o.borderColor),i=I(o.bgColor),l=I(o.fontColor),c=I(o.borderColor),u=I(o.bgColor);function h(m){switch(m){case"outline":a.value=o.borderColor??vt.colorPrimary,i.value=o.bgColor??vt.colorGrayFF,l.value=o.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=o.borderColor??vt.colorPrimary,i.value=o.bgColor??vt.colorPrimary,l.value=o.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}St(()=>o.stylePattern,()=>{h(o.stylePattern)},{immediate:!0});const f=I(o.disabled?"0.6":"1"),p=I(o.disabled?"not-allowed":"pointer");let d=!1;const b=()=>{o.disabled||(d=!0,a.value=ge(c.value).lighten(.05).toString(),i.value=ge(u.value).lighten(.05).toString())},_=()=>{o.disabled||(d=!1,a.value=c.value,i.value=u.value)},v=I(!1),g=vu(()=>{o.disabled||v.value||(a.value=ge(c.value).darken(.05).toString(),i.value=ge(u.value).darken(.05).toString(),setTimeout(()=>{d?b():_()},150),r("yz-click"),r("click"),o.asyncClick&&(v.value=!0,o.asyncClick().then(()=>{v.value=!1}).catch(()=>{v.value=!1})))},500);return t({el:n}),(m,k)=>(L(),Y("div",{ref_key:"el",ref:n,class:"button",style:A([`opacity: ${f.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${o.borderRadius}`,`height: ${o.height}`,`line-height: ${o.height}`,`font-size: ${o.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:b,onMouseleave:_,onClick:k[0]||(k[0]=(...C)=>Et(g)&&Et(g)(...C))},[E("label",{class:"label truncate",style:A({padding:"0 "+m.padding,cursor:p.value})},[v.value?(L(),Y("div",Sy,[lt(Fn,{color:l.value},null,8,["color"])])):Ot("",!0),kt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),Mt(ho,{key:0,icon:m.icon,color:l.value,style:A({marginRight:Et(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Ot("",!0),E("span",{style:A({cursor:p.value})},yt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),Mt(ho,{key:1,icon:m.icon,color:l.value,style:A({marginLeft:Et(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Ot("",!0)],!0)],4)],36))}}),px="",re=it(Ey,[["__scopeId","data-v-b3e1b144"]]),Py=["onClick","value"],Oy={class:"option-inner"},Iy=it(Q({customOptions:{Icon:ho,Button:re},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(s,{emit:t}){const e=s,o=t;Lo(()=>{ko(`
43
+ `;return function(){var st=new Error("get-stack-trace"),mt=st&&st.stack?st.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,z,mt),y.apply(this,arguments)}}var w;typeof Object.assign!="function"?w=function(k){if(k===r||k===null)throw new TypeError("Cannot convert undefined or null to object");for(var O=Object(k),z=1;z<arguments.length;z++){var st=arguments[z];if(st!==r&&st!==null)for(var mt in st)st.hasOwnProperty(mt)&&(O[mt]=st[mt])}return O}:w=Object.assign;var _=h(function(k,O,z){for(var st=Object.keys(O),mt=0;mt<st.length;)(!z||z&&k[st[mt]]===r)&&(k[st[mt]]=O[st[mt]]),mt++;return k},"extend","Use `assign`."),x=h(function(k,O){return _(k,O,!0)},"merge","Use `assign`.");function v(y,k,O){var z=k.prototype,st;st=y.prototype=Object.create(z),st.constructor=y,st._super=z,O&&w(st,O)}function g(y,k){return function(){return y.apply(k,arguments)}}function m(y,k){return typeof y==i?y.apply(k&&k[0]||r,k):y}function b(y,k){return y===r?k:y}function C(y,k,O){p($(k),function(z){y.addEventListener(z,O,!1)})}function U(y,k,O){p($(k),function(z){y.removeEventListener(z,O,!1)})}function K(y,k){for(;y;){if(y==k)return!0;y=y.parentNode}return!1}function I(y,k){return y.indexOf(k)>-1}function $(y){return y.trim().split(/\s+/g)}function N(y,k,O){if(y.indexOf&&!O)return y.indexOf(k);for(var z=0;z<y.length;){if(O&&y[z][O]==k||!O&&y[z]===k)return z;z++}return-1}function D(y){return Array.prototype.slice.call(y,0)}function A(y,k,O){for(var z=[],st=[],mt=0;mt<y.length;){var zt=k?y[mt][k]:y[mt];N(st,zt)<0&&z.push(y[mt]),st[mt]=zt,mt++}return O&&(k?z=z.sort(function(Oe,Ve){return Oe[k]>Ve[k]}):z=z.sort()),z}function X(y,k){for(var O,z,st=k[0].toUpperCase()+k.slice(1),mt=0;mt<n.length;){if(O=n[mt],z=O?O+st:k,z in y)return z;mt++}return r}var rt=1;function Q(){return rt++}function Z(y){var k=y.ownerDocument||y;return k.defaultView||k.parentWindow||t}var at=/mobile|tablet|ip(ad|hone|od)|android/i,G="ontouchstart"in t,H=X(t,"PointerEvent")!==r,gt=G&&at.test(navigator.userAgent),ht="touch",B="pen",P="mouse",Yt="kinect",Mt=25,Et=1,te=2,Xt=4,j=8,Me=1,je=2,Fe=4,S=8,F=16,Y=je|Fe,J=S|F,W=Y|J,tt=["x","y"],lt=["clientX","clientY"];function et(y,k){var O=this;this.manager=y,this.callback=k,this.element=y.element,this.target=y.options.inputTarget,this.domHandler=function(z){m(y.options.enable,[y])&&O.handler(z)},this.init()}et.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(Z(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&U(this.element,this.evEl,this.domHandler),this.evTarget&&U(this.target,this.evTarget,this.domHandler),this.evWin&&U(Z(this.element),this.evWin,this.domHandler)}};function nt(y){var k,O=y.options.inputClass;return O?k=O:H?k=cl:gt?k=qn:G?k=ul:k=ze,new k(y,ot)}function ot(y,k,O){var z=O.pointers.length,st=O.changedPointers.length,mt=k&Et&&z-st===0,zt=k&(Xt|j)&&z-st===0;O.isFirst=!!mt,O.isFinal=!!zt,mt&&(y.session={}),O.eventType=k,Pt(y,O),y.emit("hammer.input",O),y.recognize(O),y.session.prevInput=O}function Pt(y,k){var O=y.session,z=k.pointers,st=z.length;O.firstInput||(O.firstInput=It(k)),st>1&&!O.firstMultiple?O.firstMultiple=It(k):st===1&&(O.firstMultiple=!1);var mt=O.firstInput,zt=O.firstMultiple,Se=zt?zt.center:mt.center,Oe=k.center=At(z);k.timeStamp=u(),k.deltaTime=k.timeStamp-mt.timeStamp,k.angle=ge(Se,Oe),k.distance=Te(Se,Oe),dt(O,k),k.offsetDirection=Ut(k.deltaX,k.deltaY);var Ve=Zt(k.deltaTime,k.deltaX,k.deltaY);k.overallVelocityX=Ve.x,k.overallVelocityY=Ve.y,k.overallVelocity=c(Ve.x)>c(Ve.y)?Ve.x:Ve.y,k.scale=zt?Ae(zt.pointers,z):1,k.rotation=zt?Je(zt.pointers,z):0,k.maxPointers=O.prevInput?k.pointers.length>O.prevInput.maxPointers?k.pointers.length:O.prevInput.maxPointers:k.pointers.length,_t(O,k);var Ts=y.element;K(k.srcEvent.target,Ts)&&(Ts=k.srcEvent.target),k.target=Ts}function dt(y,k){var O=k.center,z=y.offsetDelta||{},st=y.prevDelta||{},mt=y.prevInput||{};(k.eventType===Et||mt.eventType===Xt)&&(st=y.prevDelta={x:mt.deltaX||0,y:mt.deltaY||0},z=y.offsetDelta={x:O.x,y:O.y}),k.deltaX=st.x+(O.x-z.x),k.deltaY=st.y+(O.y-z.y)}function _t(y,k){var O=y.lastInterval||k,z=k.timeStamp-O.timeStamp,st,mt,zt,Se;if(k.eventType!=j&&(z>Mt||O.velocity===r)){var Oe=k.deltaX-O.deltaX,Ve=k.deltaY-O.deltaY,Ts=Zt(z,Oe,Ve);mt=Ts.x,zt=Ts.y,st=c(Ts.x)>c(Ts.y)?Ts.x:Ts.y,Se=Ut(Oe,Ve),y.lastInterval=k}else st=O.velocity,mt=O.velocityX,zt=O.velocityY,Se=O.direction;k.velocity=st,k.velocityX=mt,k.velocityY=zt,k.direction=Se}function It(y){for(var k=[],O=0;O<y.pointers.length;)k[O]={clientX:l(y.pointers[O].clientX),clientY:l(y.pointers[O].clientY)},O++;return{timeStamp:u(),pointers:k,center:At(k),deltaX:y.deltaX,deltaY:y.deltaY}}function At(y){var k=y.length;if(k===1)return{x:l(y[0].clientX),y:l(y[0].clientY)};for(var O=0,z=0,st=0;st<k;)O+=y[st].clientX,z+=y[st].clientY,st++;return{x:l(O/k),y:l(z/k)}}function Zt(y,k,O){return{x:k/y||0,y:O/y||0}}function Ut(y,k){return y===k?Me:c(y)>=c(k)?y<0?je:Fe:k<0?S:F}function Te(y,k,O){O||(O=tt);var z=k[O[0]]-y[O[0]],st=k[O[1]]-y[O[1]];return Math.sqrt(z*z+st*st)}function ge(y,k,O){O||(O=tt);var z=k[O[0]]-y[O[0]],st=k[O[1]]-y[O[1]];return Math.atan2(st,z)*180/Math.PI}function Je(y,k){return ge(k[1],k[0],lt)+ge(y[1],y[0],lt)}function Ae(y,k){return Te(k[0],k[1],lt)/Te(y[0],y[1],lt)}var ko={mousedown:Et,mousemove:te,mouseup:Xt},Wn="mousedown",Pe="mousemove mouseup";function ze(){this.evEl=Wn,this.evWin=Pe,this.pressed=!1,et.apply(this,arguments)}v(ze,et,{handler:function(k){var O=ko[k.type];O&Et&&k.button===0&&(this.pressed=!0),O&te&&k.which!==1&&(O=Xt),this.pressed&&(O&Xt&&(this.pressed=!1),this.callback(this.manager,O,{pointers:[k],changedPointers:[k],pointerType:P,srcEvent:k}))}});var Zn={pointerdown:Et,pointermove:te,pointerup:Xt,pointercancel:j,pointerout:j},W_={2:ht,3:B,4:P,5:Yt},jd="pointerdown",Hd="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(jd="MSPointerDown",Hd="MSPointerMove MSPointerUp MSPointerCancel");function cl(){this.evEl=jd,this.evWin=Hd,et.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}v(cl,et,{handler:function(k){var O=this.store,z=!1,st=k.type.toLowerCase().replace("ms",""),mt=Zn[st],zt=W_[k.pointerType]||k.pointerType,Se=zt==ht,Oe=N(O,k.pointerId,"pointerId");mt&Et&&(k.button===0||Se)?Oe<0&&(O.push(k),Oe=O.length-1):mt&(Xt|j)&&(z=!0),!(Oe<0)&&(O[Oe]=k,this.callback(this.manager,mt,{pointers:O,changedPointers:[k],pointerType:zt,srcEvent:k}),z&&O.splice(Oe,1))}});var Z_={touchstart:Et,touchmove:te,touchend:Xt,touchcancel:j},q_="touchstart",Q_="touchstart touchmove touchend touchcancel";function Wd(){this.evTarget=q_,this.evWin=Q_,this.started=!1,et.apply(this,arguments)}v(Wd,et,{handler:function(k){var O=Z_[k.type];if(O===Et&&(this.started=!0),!!this.started){var z=K_.call(this,k,O);O&(Xt|j)&&z[0].length-z[1].length===0&&(this.started=!1),this.callback(this.manager,O,{pointers:z[0],changedPointers:z[1],pointerType:ht,srcEvent:k})}}});function K_(y,k){var O=D(y.touches),z=D(y.changedTouches);return k&(Xt|j)&&(O=A(O.concat(z),"identifier",!0)),[O,z]}var J_={touchstart:Et,touchmove:te,touchend:Xt,touchcancel:j},tx="touchstart touchmove touchend touchcancel";function qn(){this.evTarget=tx,this.targetIds={},et.apply(this,arguments)}v(qn,et,{handler:function(k){var O=J_[k.type],z=ex.call(this,k,O);z&&this.callback(this.manager,O,{pointers:z[0],changedPointers:z[1],pointerType:ht,srcEvent:k})}});function ex(y,k){var O=D(y.touches),z=this.targetIds;if(k&(Et|te)&&O.length===1)return z[O[0].identifier]=!0,[O,O];var st,mt,zt=D(y.changedTouches),Se=[],Oe=this.target;if(mt=O.filter(function(Ve){return K(Ve.target,Oe)}),k===Et)for(st=0;st<mt.length;)z[mt[st].identifier]=!0,st++;for(st=0;st<zt.length;)z[zt[st].identifier]&&Se.push(zt[st]),k&(Xt|j)&&delete z[zt[st].identifier],st++;if(Se.length)return[A(mt.concat(Se),"identifier",!0),Se]}var sx=2500,Zd=25;function ul(){et.apply(this,arguments);var y=g(this.handler,this);this.touch=new qn(this.manager,y),this.mouse=new ze(this.manager,y),this.primaryTouch=null,this.lastTouches=[]}v(ul,et,{handler:function(k,O,z){var st=z.pointerType==ht,mt=z.pointerType==P;if(!(mt&&z.sourceCapabilities&&z.sourceCapabilities.firesTouchEvents)){if(st)ox.call(this,O,z);else if(mt&&rx.call(this,z))return;this.callback(k,O,z)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});function ox(y,k){y&Et?(this.primaryTouch=k.changedPointers[0].identifier,qd.call(this,k)):y&(Xt|j)&&qd.call(this,k)}function qd(y){var k=y.changedPointers[0];if(k.identifier===this.primaryTouch){var O={x:k.clientX,y:k.clientY};this.lastTouches.push(O);var z=this.lastTouches,st=function(){var mt=z.indexOf(O);mt>-1&&z.splice(mt,1)};setTimeout(st,sx)}}function rx(y){for(var k=y.srcEvent.clientX,O=y.srcEvent.clientY,z=0;z<this.lastTouches.length;z++){var st=this.lastTouches[z],mt=Math.abs(k-st.x),zt=Math.abs(O-st.y);if(mt<=Zd&&zt<=Zd)return!0}return!1}var Qd=X(a.style,"touchAction"),Kd=Qd!==r,Jd="compute",th="auto",fl="manipulation",Co="none",Er="pan-x",Pr="pan-y",Qn=ax();function dl(y,k){this.manager=y,this.set(k)}dl.prototype={set:function(y){y==Jd&&(y=this.compute()),Kd&&this.manager.element.style&&Qn[y]&&(this.manager.element.style[Qd]=y),this.actions=y.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var y=[];return p(this.manager.recognizers,function(k){m(k.options.enable,[k])&&(y=y.concat(k.getTouchAction()))}),nx(y.join(" "))},preventDefaults:function(y){var k=y.srcEvent,O=y.offsetDirection;if(this.manager.session.prevented){k.preventDefault();return}var z=this.actions,st=I(z,Co)&&!Qn[Co],mt=I(z,Pr)&&!Qn[Pr],zt=I(z,Er)&&!Qn[Er];if(st){var Se=y.pointers.length===1,Oe=y.distance<2,Ve=y.deltaTime<250;if(Se&&Oe&&Ve)return}if(!(zt&&mt)&&(st||mt&&O&Y||zt&&O&J))return this.preventSrc(k)},preventSrc:function(y){this.manager.session.prevented=!0,y.preventDefault()}};function nx(y){if(I(y,Co))return Co;var k=I(y,Er),O=I(y,Pr);return k&&O?Co:k||O?k?Er:Pr:I(y,fl)?fl:th}function ax(){if(!Kd)return!1;var y={},k=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(O){y[O]=k?t.CSS.supports("touch-action",O):!0}),y}var Kn=1,rs=2,Xo=4,eo=8,Vs=eo,Or=16,Cs=32;function Bs(y){this.options=w({},this.defaults,y||{}),this.id=Q(),this.manager=null,this.options.enable=b(this.options.enable,!0),this.state=Kn,this.simultaneous={},this.requireFail=[]}Bs.prototype={defaults:{},set:function(y){return w(this.options,y),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(y){if(d(y,"recognizeWith",this))return this;var k=this.simultaneous;return y=Jn(y,this),k[y.id]||(k[y.id]=y,y.recognizeWith(this)),this},dropRecognizeWith:function(y){return d(y,"dropRecognizeWith",this)?this:(y=Jn(y,this),delete this.simultaneous[y.id],this)},requireFailure:function(y){if(d(y,"requireFailure",this))return this;var k=this.requireFail;return y=Jn(y,this),N(k,y)===-1&&(k.push(y),y.requireFailure(this)),this},dropRequireFailure:function(y){if(d(y,"dropRequireFailure",this))return this;y=Jn(y,this);var k=N(this.requireFail,y);return k>-1&&this.requireFail.splice(k,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(y){return!!this.simultaneous[y.id]},emit:function(y){var k=this,O=this.state;function z(st){k.manager.emit(st,y)}O<eo&&z(k.options.event+eh(O)),z(k.options.event),y.additionalEvent&&z(y.additionalEvent),O>=eo&&z(k.options.event+eh(O))},tryEmit:function(y){if(this.canEmit())return this.emit(y);this.state=Cs},canEmit:function(){for(var y=0;y<this.requireFail.length;){if(!(this.requireFail[y].state&(Cs|Kn)))return!1;y++}return!0},recognize:function(y){var k=w({},y);if(!m(this.options.enable,[this,k])){this.reset(),this.state=Cs;return}this.state&(Vs|Or|Cs)&&(this.state=Kn),this.state=this.process(k),this.state&(rs|Xo|eo|Or)&&this.tryEmit(k)},process:function(y){},getTouchAction:function(){},reset:function(){}};function eh(y){return y&Or?"cancel":y&eo?"end":y&Xo?"move":y&rs?"start":""}function sh(y){return y==F?"down":y==S?"up":y==je?"left":y==Fe?"right":""}function Jn(y,k){var O=k.manager;return O?O.get(y):y}function ls(){Bs.apply(this,arguments)}v(ls,Bs,{defaults:{pointers:1},attrTest:function(y){var k=this.options.pointers;return k===0||y.pointers.length===k},process:function(y){var k=this.state,O=y.eventType,z=k&(rs|Xo),st=this.attrTest(y);return z&&(O&j||!st)?k|Or:z||st?O&Xt?k|eo:k&rs?k|Xo:rs:Cs}});function ta(){ls.apply(this,arguments),this.pX=null,this.pY=null}v(ta,ls,{defaults:{event:"pan",threshold:10,pointers:1,direction:W},getTouchAction:function(){var y=this.options.direction,k=[];return y&Y&&k.push(Pr),y&J&&k.push(Er),k},directionTest:function(y){var k=this.options,O=!0,z=y.distance,st=y.direction,mt=y.deltaX,zt=y.deltaY;return st&k.direction||(k.direction&Y?(st=mt===0?Me:mt<0?je:Fe,O=mt!=this.pX,z=Math.abs(y.deltaX)):(st=zt===0?Me:zt<0?S:F,O=zt!=this.pY,z=Math.abs(y.deltaY))),y.direction=st,O&&z>k.threshold&&st&k.direction},attrTest:function(y){return ls.prototype.attrTest.call(this,y)&&(this.state&rs||!(this.state&rs)&&this.directionTest(y))},emit:function(y){this.pX=y.deltaX,this.pY=y.deltaY;var k=sh(y.direction);k&&(y.additionalEvent=this.options.event+k),this._super.emit.call(this,y)}});function hl(){ls.apply(this,arguments)}v(hl,ls,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Co]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.scale-1)>this.options.threshold||this.state&rs)},emit:function(y){if(y.scale!==1){var k=y.scale<1?"in":"out";y.additionalEvent=this.options.event+k}this._super.emit.call(this,y)}});function pl(){Bs.apply(this,arguments),this._timer=null,this._input=null}v(pl,Bs,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[th]},process:function(y){var k=this.options,O=y.pointers.length===k.pointers,z=y.distance<k.threshold,st=y.deltaTime>k.time;if(this._input=y,!z||!O||y.eventType&(Xt|j)&&!st)this.reset();else if(y.eventType&Et)this.reset(),this._timer=f(function(){this.state=Vs,this.tryEmit()},k.time,this);else if(y.eventType&Xt)return Vs;return Cs},reset:function(){clearTimeout(this._timer)},emit:function(y){this.state===Vs&&(y&&y.eventType&Xt?this.manager.emit(this.options.event+"up",y):(this._input.timeStamp=u(),this.manager.emit(this.options.event,this._input)))}});function ml(){ls.apply(this,arguments)}v(ml,ls,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Co]},attrTest:function(y){return this._super.attrTest.call(this,y)&&(Math.abs(y.rotation)>this.options.threshold||this.state&rs)}});function gl(){ls.apply(this,arguments)}v(gl,ls,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Y|J,pointers:1},getTouchAction:function(){return ta.prototype.getTouchAction.call(this)},attrTest:function(y){var k=this.options.direction,O;return k&(Y|J)?O=y.overallVelocity:k&Y?O=y.overallVelocityX:k&J&&(O=y.overallVelocityY),this._super.attrTest.call(this,y)&&k&y.offsetDirection&&y.distance>this.options.threshold&&y.maxPointers==this.options.pointers&&c(O)>this.options.velocity&&y.eventType&Xt},emit:function(y){var k=sh(y.offsetDirection);k&&this.manager.emit(this.options.event+k,y),this.manager.emit(this.options.event,y)}});function ea(){Bs.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}v(ea,Bs,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[fl]},process:function(y){var k=this.options,O=y.pointers.length===k.pointers,z=y.distance<k.threshold,st=y.deltaTime<k.time;if(this.reset(),y.eventType&Et&&this.count===0)return this.failTimeout();if(z&&st&&O){if(y.eventType!=Xt)return this.failTimeout();var mt=this.pTime?y.timeStamp-this.pTime<k.interval:!0,zt=!this.pCenter||Te(this.pCenter,y.center)<k.posThreshold;this.pTime=y.timeStamp,this.pCenter=y.center,!zt||!mt?this.count=1:this.count+=1,this._input=y;var Se=this.count%k.taps;if(Se===0)return this.hasRequireFailures()?(this._timer=f(function(){this.state=Vs,this.tryEmit()},k.interval,this),rs):Vs}return Cs},failTimeout:function(){return this._timer=f(function(){this.state=Cs},this.options.interval,this),Cs},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==Vs&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}});function Ys(y,k){return k=k||{},k.recognizers=b(k.recognizers,Ys.defaults.preset),new yl(y,k)}Ys.VERSION="2.0.7",Ys.defaults={domEvents:!1,touchAction:Jd,enable:!0,inputTarget:null,inputClass:null,preset:[[ml,{enable:!1}],[hl,{enable:!1},["rotate"]],[gl,{direction:Y}],[ta,{direction:Y},["swipe"]],[ea],[ea,{event:"doubletap",taps:2},["tap"]],[pl]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ix=1,oh=2;function yl(y,k){this.options=w({},Ys.defaults,k||{}),this.options.inputTarget=this.options.inputTarget||y,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=y,this.input=nt(this),this.touchAction=new dl(this,this.options.touchAction),rh(this,!0),p(this.options.recognizers,function(O){var z=this.add(new O[0](O[1]));O[2]&&z.recognizeWith(O[2]),O[3]&&z.requireFailure(O[3])},this)}yl.prototype={set:function(y){return w(this.options,y),y.touchAction&&this.touchAction.update(),y.inputTarget&&(this.input.destroy(),this.input.target=y.inputTarget,this.input.init()),this},stop:function(y){this.session.stopped=y?oh:ix},recognize:function(y){var k=this.session;if(!k.stopped){this.touchAction.preventDefaults(y);var O,z=this.recognizers,st=k.curRecognizer;(!st||st&&st.state&Vs)&&(st=k.curRecognizer=null);for(var mt=0;mt<z.length;)O=z[mt],k.stopped!==oh&&(!st||O==st||O.canRecognizeWith(st))?O.recognize(y):O.reset(),!st&&O.state&(rs|Xo|eo)&&(st=k.curRecognizer=O),mt++}},get:function(y){if(y instanceof Bs)return y;for(var k=this.recognizers,O=0;O<k.length;O++)if(k[O].options.event==y)return k[O];return null},add:function(y){if(d(y,"add",this))return this;var k=this.get(y.options.event);return k&&this.remove(k),this.recognizers.push(y),y.manager=this,this.touchAction.update(),y},remove:function(y){if(d(y,"remove",this))return this;if(y=this.get(y),y){var k=this.recognizers,O=N(k,y);O!==-1&&(k.splice(O,1),this.touchAction.update())}return this},on:function(y,k){if(y!==r&&k!==r){var O=this.handlers;return p($(y),function(z){O[z]=O[z]||[],O[z].push(k)}),this}},off:function(y,k){if(y!==r){var O=this.handlers;return p($(y),function(z){k?O[z]&&O[z].splice(N(O[z],k),1):delete O[z]}),this}},emit:function(y,k){this.options.domEvents&&lx(y,k);var O=this.handlers[y]&&this.handlers[y].slice();if(!(!O||!O.length)){k.type=y,k.preventDefault=function(){k.srcEvent.preventDefault()};for(var z=0;z<O.length;)O[z](k),z++}},destroy:function(){this.element&&rh(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}};function rh(y,k){var O=y.element;if(O.style){var z;p(y.options.cssProps,function(st,mt){z=X(O.style,mt),k?(y.oldCssProps[z]=O.style[z],O.style[z]=st):O.style[z]=y.oldCssProps[z]||""}),k||(y.oldCssProps={})}}function lx(y,k){var O=e.createEvent("Event");O.initEvent(y,!0,!0),O.gesture=k,k.target.dispatchEvent(O)}w(Ys,{INPUT_START:Et,INPUT_MOVE:te,INPUT_END:Xt,INPUT_CANCEL:j,STATE_POSSIBLE:Kn,STATE_BEGAN:rs,STATE_CHANGED:Xo,STATE_ENDED:eo,STATE_RECOGNIZED:Vs,STATE_CANCELLED:Or,STATE_FAILED:Cs,DIRECTION_NONE:Me,DIRECTION_LEFT:je,DIRECTION_RIGHT:Fe,DIRECTION_UP:S,DIRECTION_DOWN:F,DIRECTION_HORIZONTAL:Y,DIRECTION_VERTICAL:J,DIRECTION_ALL:W,Manager:yl,Input:et,TouchAction:dl,TouchInput:qn,MouseInput:ze,PointerEventInput:cl,TouchMouseInput:ul,SingleTouchInput:Wd,Recognizer:Bs,AttrRecognizer:ls,Tap:ea,Pan:ta,Swipe:gl,Pinch:hl,Rotate:ml,Press:pl,on:C,off:U,each:p,merge:x,extend:_,assign:w,inherit:v,bindFn:g,prefixed:X});var cx=typeof t<"u"?t:typeof self<"u"?self:{};cx.Hammer=Ys,typeof r=="function"&&r.amd?r(function(){return Ys}):o.exports?o.exports=Ys:t[s]=Ys})(window,document,"Hammer")})(Tf);var iy=Tf.exports;const ly=Og(iy);function Di(){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 Mo(){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 cy(o){const{top:t,left:e,width:s,height:r}=o.getBoundingClientRect(),{scrollLeft:n,scrollTop:a}=Di();return{x:e+n,y:t+a,width:s,height:r}}function uy(){const{clientHeight:o,scrollTop:t,scrollHeight:e}=Di(),s=e-o;return s<=0?0:t/s*100}function fy(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}=Di();return{x:o.clientX+t,y:o.clientY+e}}function ws(o,t){if(!t&&"offsetX"in o)return{x:o.offsetX,y:o.offsetY};const e=fy(o),s=cy(t||o.target);return{x:e.x-s.x,y:e.y-s.y}}class os extends pr{container;width;height;mousePoint={x:0,y:0,dx:0,dy:0,dStartX:0,dStartY:0};hammer;removes=[];constructor(t=document.documentElement,e=!0,s){super(),this.container=t,this.width=t.offsetWidth,this.height=t.offsetHeight,this.hammer=new ly(this.container),e&&this.start(s)}emitDebounce=C0((t,...e)=>super.emit(t,...e),50);emit(t,...e){switch(t){case"panLeft":case"panRight":this.emitDebounce(t,...e);break;default:super.emit(t,...e);break}return this}start(t){this.registerMouseEventListeners(),this.registerTransitionEventListeners(),this.registerAnimationEventListeners(),this.registerResizeObserver(),t&&t.forEach(e=>{this.addRemoves(e())}),this.on("pointerMove",e=>{this.setMousePoint(ws(e,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=j=>{this.emit("mouseDown",j)},e=j=>{this.emit("mouseUp",j)},s=j=>{this.emit("mouseMove",j)},r=j=>{this.emit("mouseOver",j)},n=j=>{this.emit("mouseOut",j)},a=j=>{this.emit("mouseEnter",j)},i=j=>{this.emit("mouseLeave",j)},l=j=>{this.emit("mouseClick",j)},c=j=>{this.emit("mouseDoubleClick",j)},u=j=>{this.emit("mouseWheel",j)},f=j=>{this.emit("mouseContextMenu",j)},d=j=>{this.emit("touchStart",j)},p=j=>{this.emit("touchEnd",j)},h=j=>{this.emit("touchCancel",j)},w=j=>{this.emit("touchMove",j)},_=j=>{this.emit("pointerDown",j)},x=j=>{this.emit("pointerUp",j)},v=j=>{this.emit("pointerCancel",j)},g=j=>{this.emit("pointerMove",j)},m=j=>{this.emit("pan",j)},b=j=>{this.emit("panStart",j)},C=j=>{this.emit("panMove",j)},U=j=>{this.emit("panEnd",j)},K=j=>{this.emit("panCancel",j)},I=j=>{this.emit("panLeft",j)},$=j=>{this.emit("panRight",j)},N=j=>{this.emit("panUp",j)},D=j=>{this.emit("panDown",j)},A=j=>{this.emit("pinch",j)},X=j=>{this.emit("press",j)},rt=j=>{this.emit("rotate",j)},Q=j=>{this.emit("swipe",j)},Z=j=>{this.emit("swipeLeft",j)},at=j=>{this.emit("swipeRight",j)},G=j=>{this.emit("swipeUp",j)},H=j=>{this.emit("swipeDown",j)},gt=j=>{this.emit("tap",j)},ht=j=>{!j.target||this.container==j.target||this.container.contains(j.target)||this.emit("tapOutSide",j)},B=j=>{this.emit("inputChange",j,this.container.files)},P=j=>{this.emit("dragstart",j)},Yt=j=>{j.dataTransfer&&(j.dataTransfer.dropEffect="copy"),this.emit("dragover",j)},Mt=j=>{this.emit("dragenter",j)},Et=j=>{this.emit("dragend",j)},te=j=>{j.dataTransfer,this.emit("drop",j,j.dataTransfer?.files)};this.container.addEventListener("mousedown",t,!1),this.container.addEventListener("mouseup",e,!1),this.container.addEventListener("mousemove",s,!1),this.container.addEventListener("mouseover",r,!1),this.container.addEventListener("mouseout",n,!1),this.container.addEventListener("mouseenter",a,!1),this.container.addEventListener("mouseleave",i,!1),this.container.addEventListener("click",l,!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",p,!1),this.container.addEventListener("touchcancel",h,!1),this.container.addEventListener("touchmove",w,!1),this.container.addEventListener("pointerdown",_,!1),this.container.addEventListener("pointerup",x,!1),this.container.addEventListener("pointercancel",v,!1),this.container.addEventListener("pointermove",g,!1),this.hammer.on("pan",m),this.hammer.on("panstart",b),this.hammer.on("panmove",C),this.hammer.on("panend",U),this.hammer.on("pancancel",K),this.hammer.on("panleft",I),this.hammer.on("panright",$),this.hammer.on("panup",N),this.hammer.on("pandown",D),this.hammer.on("pinch",A),this.hammer.on("press",X),this.hammer.on("rotate",rt),this.hammer.on("swipe",Q),this.hammer.on("swipeleft",Z),this.hammer.on("swiperight",at),this.hammer.on("swipeup",G),this.hammer.on("swipedown",H),this.hammer.on("tap",gt),document.addEventListener("pointerdown",ht,!1),this.container instanceof HTMLInputElement&&this.container.addEventListener("change",B,!1),this.container.addEventListener("dragstart",P,!1),this.container.addEventListener("dragover",Yt,!1),this.container.addEventListener("dragenter",Mt,!1),this.container.addEventListener("dragend",Et,!1),this.container.addEventListener("drop",te,!1);const Xt=()=>{this.container.removeEventListener("mousedown",t,!1),this.container.removeEventListener("mouseup",e,!1),this.container.removeEventListener("mousemove",s,!1),this.container.removeEventListener("mouseover",r,!1),this.container.removeEventListener("mouseout",n,!1),this.container.removeEventListener("mouseenter",a,!1),this.container.removeEventListener("mouseleave",i,!1),this.container.removeEventListener("click",l,!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",p,!1),this.container.removeEventListener("touchcancel",h,!1),this.container.removeEventListener("touchmove",w,!1),this.container.removeEventListener("pointerdown",_,!1),this.container.removeEventListener("pointerup",x,!1),this.container.removeEventListener("pointercancel",v),this.container.removeEventListener("pointermove",g,!1),this.hammer.off("pan",m),this.hammer.off("panstart",b),this.hammer.off("panmove",C),this.hammer.off("panend",U),this.hammer.off("pancancel",K),this.hammer.off("panleft",I),this.hammer.off("panright",$),this.hammer.off("panup",N),this.hammer.off("pandown",D),this.hammer.off("pinch",A),this.hammer.off("press",X),this.hammer.off("rotate",rt),this.hammer.off("swipe",Q),this.hammer.off("swipeleft",Z),this.hammer.off("swiperight",at),this.hammer.off("swipeup",G),this.hammer.off("swipedown",H),this.hammer.off("tap",gt),document.removeEventListener("pointerdown",ht,!1),document.removeEventListener("touchstart",ht,!1),document.removeEventListener("mousedown",ht,!1),this.container instanceof HTMLInputElement&&this.container.removeEventListener("change",B,!1),this.container.removeEventListener("dragstart",P,!1),this.container.removeEventListener("dragover",Yt,!1),this.container.removeEventListener("dragenter",Mt,!1),this.container.removeEventListener("dragend",Et,!1),this.container.removeEventListener("drop",te,!1)};return this.addRemoves(Xt),Xt}registerTransitionEventListeners(){const t=r=>{this.emit("transitionstart",r)},e=r=>{this.emit("transitionend",r)};this.container.addEventListener("transitionstart",t,!1),this.container.addEventListener("transitionend",e,!1);const s=()=>{this.container.removeEventListener("transitionstart",t,!1),this.container.removeEventListener("transitionend",e,!1)};return this.addRemoves(s),s}registerAnimationEventListeners(){const t=r=>{this.emit("animationstart",r)},e=r=>{this.emit("animationend",r)};this.container.addEventListener("animationstart",t,!1),this.container.addEventListener("animationend",e,!1);const s=()=>{this.container.removeEventListener("animationstart",t,!1),this.container.removeEventListener("animationend",e,!1)};return this.addRemoves(s),s}registerResizeObserver(){const{on:t,destroy:e}=$g(this.container),s=t((n,a)=>{this.width=n,this.height=a,this.emit("resize",n,a)}),r=()=>{s(),e()};return this.addRemoves(r),r}registerPullDownRefresh(t){const e=t?.distance||50;return this.captureDrag({move:(s,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullDowning",r.dStartY)},end:(s,r)=>{r.dStartY>=e&&this.emit("pullDown")}})}registerPullUpLoading(t){const e=t?.distance||50;return this.captureDrag({move:(s,r)=>{r.dStartY>0&&r.dStartY<e&&this.emit("pullUping",r.dStartY)},end:(s,r)=>{r.dStartY>=e&&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 e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("pointerMove",a),this.on("pointerUp",n),this.on("pointerCancel",n),s=ws(l,this.container);const c={...s};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("pointerMove",a),this.off("pointerUp",n),this.off("pointerCancel",n),s=ws(l,this.container);const c={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...s};s=ws(l,this.container);const u={...s,dx:s.x-(c.x||0),dy:s.y-(c.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("pointerDown",r);const i=()=>{this.off("pointerDown",r)};return this.addRemoves(i),i}captureDragUseMouse(t){let e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),document.addEventListener("mousemove",a,!1),document.addEventListener("mouseup",n,!1),s=ws(l,this.container);const c={...s};e=c,this.setMousePoint(c),t?.start?.(l,c)},n=l=>{l.preventDefault(),l.stopPropagation(),document.removeEventListener("mousemove",a,!1),document.removeEventListener("mouseup",n,!1),s=ws(l,this.container);const c={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(c),t?.end?.(l,c),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c={...s};s=ws(l,this.container);const u={...s,dx:s.x-(c.x||0),dy:s.y-(c.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.move?.(l,u)};this.on("mouseDown",r);const i=()=>{this.off("mouseDown",r)};return this.addRemoves(i),i}captureDragUseTouch(t){let e,s;const r=l=>{l.preventDefault(),l.stopPropagation(),this.on("touchMove",a),this.on("touchEnd",n),this.on("touchCancel",n);const c=l.changedTouches[0];s=ws(c,this.container);const u={...s};e=u,this.setMousePoint(u),t?.start?.(c,u)},n=l=>{l.preventDefault(),l.stopPropagation(),this.off("touchMove",a),this.off("touchEnd",n),this.off("touchCancel",n);const c=l.changedTouches[0];s=ws(c,this.container);const u={...s,dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(u),t?.end?.(c,u),e=null},a=l=>{l.preventDefault(),l.stopPropagation();const c=l.changedTouches[0],u={...s};s=ws(c,this.container);const f={...s,dx:s.x-(u.x||0),dy:s.y-(u.y||0),dStartX:e?s.x-e.x:0,dStartY:e?s.y-e.y:0};this.setMousePoint(f),t?.move?.(c,f)};this.on("touchStart",r);const i=()=>{this.off("touchStart",r)};return this.addRemoves(i),i}}class $i{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"),s=document.createElement("video"),r=document.createElement("source"),n=new MediaSource;n.addEventListener("sourceopen",()=>t(!0)),r.src=URL.createObjectURL(n),r.media="(min-width:10px)",s.append(r),e.width="5",e.style.cssText="position: absolute; visibility: hidden;",document.documentElement.append(e),e.contentDocument?.body.append(s),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(()=>{$i.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 dy extends pr{source;raw="";mode="text";tagname="";nodename="";textchunk="";entity="";quote="";attrs={};constructor(t){super(),this.source=t}parse(){const t=i0(this.source);if(t===0){this.emit("finish");return}let e,s,r=_u(this.source,0);for(let n=1;n<t;n++)e=s,s=r,r=_u(this.source,n),this.raw+=s,s&&this.step(s,r,e);r&&this.step(r,void 0,s),this.emit("finish")}step(t,e,s){t==`
44
+ `&&this.emit("newline"),this.act(t,e,s)}act(t,e,s){switch(this.mode){case"text":switch(t){case"<":case"eof":this.nodename="",this.attrs={},this.mode="tag name start",this.raw=this.raw.slice(0,-1),this.textchunk&&this.emit("text",this.textchunk),this.raw+=t,this.textchunk="";break;case"&":this.mode="entity",this.entity="";break;default:this.textchunk+=t;break}break;case"entity":vs("whitespace",t)?(this.textchunk+=Sf(this.entity),this.mode="text"):t==";"?(this.textchunk+=Sf(this.entity+t),this.mode="text"):this.entity+=t;break;case"special":if(s=="!"&&t=="-"&&e=="-"){this.mode="comment start";break}if(this.textchunk=="[CDATA"&&t=="["){this.mode="cdata",this.textchunk="";break}if(t==">"||t=="eof"){this.emit("special",this.textchunk),this.mode="text",this.textchunk="";break}this.textchunk+=t;break;case"cdata":if(s=="]"&&t=="]"&&e==">"){this.mode="cdata end",this.textchunk=this.textchunk.slice(0,-1);break}t=="eof"&&(this.mode="cdata end",this.act(t,e,s)),this.textchunk+=t;break;case"cdata end":this.emit("cdata",this.textchunk),this.textchunk="",this.mode="text";break;case"comment start":e==">"||t=="eof"?(this.emit("comment",""),this.mode="skip"):this.mode="comment";break;case"skip":this.mode="text";break;case"comment":t=="-"&&s=="-"&&e==">"?(this.mode="comment end",this.textchunk=this.textchunk.slice(0,-1)):t=="eof"?this.emit("comment",this.textchunk):this.textchunk+=t;break;case"comment end":this.emit("comment",this.textchunk),this.textchunk="",this.mode="text";break;case"declaration":if(t=="?"&&e==">"){this.mode="declaration end";break}t=="eof"&&this.emit("comment",this.textchunk),this.textchunk+=t;break;case"declaration end":this.emit("comment",this.textchunk),this.textchunk="",this.mode="text";break;case"tag name start":if(t=="eof"){this.emit("text","<");break}if(!vs("whitespace",t)){if(this.mode="tag name",t=="/"){this.mode="close tag name start";break}else if(t=="!"){this.mode="special",this.textchunk="";break}else if(t=="?"){this.mode="declaration";break}this.act(t,e,s)}break;case"close tag name start":vs("whitespace",t)||(this.mode="close tag name",this.tagname="",this.nodename="",this.act(t,e,s));break;case"close tag name":if(vs("whitespace",t))this.tagname=this.nodename;else switch(t){case">":this.emit("/tag",this.tagname||this.nodename,this.attrs),this.mode="text";break;default:!this.tagname&&(this.nodename+=t);break}break;case"tag name":if(vs("whitespace",t))this.tagname=this.nodename,this.nodename="",this.mode="attr start";else switch(t){case">":this.emit("tag",this.nodename,this.attrs),this.mode="text";break;case"/":this.raw+=e,this.emit("tag",this.nodename,this.attrs),this.emit("/tag",this.nodename,this.attrs),this.mode="skip";break;default:this.nodename+=t;break}break;case"attr start":vs("whitespace",t)||(this.mode="attr",this.nodename="",this.act(t,e,s));break;case"attr":if(vs("whitespace",t)||t=="=")this.attrs[this.nodename]="",this.mode="attr value start";else switch(t){case">":this.nodename=="/"?(delete this.attrs["/"],this.emit("tag",this.tagname,this.attrs),this.emit("/tag",this.tagname,this.attrs)):(this.nodename&&(this.attrs[this.nodename]=""),this.emit("tag",this.tagname,this.attrs)),this.mode="text";break;default:this.nodename+=t;break}break;case"attr value start":if(!vs("whitespace",t)){if(this.mode="attr value",this.quote="",t=="'"||t=='"'){this.quote=t;return}this.act(t,e,s)}break;case"attr value":if(vs("whitespace",t)&&!this.quote)this.mode="attr start";else if(t==">"&&!this.quote)this.emit("tag",this.tagname,this.attrs),this.mode="text";else switch(t){case'"':case"'":this.quote==t&&s!="\\"&&(this.mode="attr start");break;default:this.attrs[this.nodename]+=t;break}break}}}function Sf(o){const t={lt:60,"lt;":60,"AMP;":38,AMP:38,"GT;":62,GT:62,"QUOT;":34,QUOT:34,"apos;":39,"bull;":8226,"bullet;":8226,"copy;":169,copy:169,"deg;":176,deg:176};let e;return o.charAt(0)=="#"?o.charAt(1).toLowerCase()=="x"?e=parseInt(o.substring(2),16):e=parseInt(o.substring(1),10):e=t[o],e?String.fromCharCode(e):"&"+o}var Ef=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function hy(o,t={}){var e=1,s=1;function r(G){var H=G.match(/\n/g);H&&(e+=H.length);var gt=G.lastIndexOf(`
45
+ `);s=~gt?G.length-gt:s+G.length}function n(){var G={line:e,column:s};return function(H){return H.position=new a(G),h(),H}}function a(G){this.start=G,this.end={line:e,column:s},this.source=t.source}a.prototype.content=o;var i=[];function l(G){var H=new Error(t.source+":"+e+":"+s+": "+G);if(H.reason=G,H.filename=t.source,H.line=e,H.column=s,H.source=o,t.silent)i.push(H);else throw H}function c(){var G=d();return{type:"stylesheet",stylesheet:{source:t.source,rules:G,parsingErrors:i}}}function u(){return p(/^{\s*/)}function f(){return p(/^}/)}function d(){var G,H=[];for(h(),w(H);o.length&&o.charAt(0)!="}"&&(G=Z()||at());)G!==!1&&(H.push(G),w(H));return H}function p(G){var H=G.exec(o);if(H){var gt=H[0];return r(gt),o=o.slice(gt.length),H}}function h(){p(/^\s*/)}function w(G){var H;for(G=G||[];H=_();)H!==!1&&G.push(H);return G}function _(){var G=n();if(!(o.charAt(0)!="/"||o.charAt(1)!="*")){for(var H=2;o.charAt(H)!=""&&(o.charAt(H)!="*"||o.charAt(H+1)!="/");)++H;if(H+=2,o.charAt(H-1)==="")return l("End of comment missing");var gt=o.slice(2,H-2);return s+=2,r(gt),o=o.slice(H),s+=2,G({type:"comment",comment:gt})}}function x(){var G=p(/^([^{]+)/);if(G)return As(G[0]).replace(/\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*\/+/g,"").replace(/"(?:\\"|[^"])*"|'(?:\\'|[^'])*'/g,function(H){return H.replace(/,/g,"‌")}).split(/\s*(?![^(]*\)),\s*/).map(function(H){return H.replace(/\u200C/g,",")})}function v(){var G=n(),H=p(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(H){if(H=As(H[0]),!p(/^:\s*/))return l("property missing ':'");var gt=p(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),ht=G({type:"declaration",property:H.replace(Ef,""),value:gt?As(gt[0]).replace(Ef,""):""});return p(/^[;\s]*/),ht}}function g(){var G=[];if(!u())return l("missing '{'");w(G);for(var H;H=v();)H!==!1&&(G.push(H),w(G));return f()?G:l("missing '}'")}function m(){for(var G,H=[],gt=n();G=p(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)H.push(G[1]),p(/^,\s*/);if(H.length)return gt({type:"keyframe",values:H,declarations:g()})}function b(){var G=n(),H=p(/^@([-\w]+)?keyframes\s*/);if(H){var gt=H[1];if(H=p(/^([-\w]+)\s*/),!H)return l("@keyframes missing name");var ht=H[1];if(!u())return l("@keyframes missing '{'");for(var B,P=w();B=m();)P.push(B),P=P.concat(w());return f()?G({type:"keyframes",name:ht,vendor:gt,keyframes:P}):l("@keyframes missing '}'")}}function C(){var G=n(),H=p(/^@supports *([^{]+)/);if(H){var gt=As(H[1]);if(!u())return l("@supports missing '{'");var ht=w().concat(d());return f()?G({type:"supports",supports:gt,rules:ht}):l("@supports missing '}'")}}function U(){var G=n(),H=p(/^@host\s*/);if(H){if(!u())return l("@host missing '{'");var gt=w().concat(d());return f()?G({type:"host",rules:gt}):l("@host missing '}'")}}function K(){var G=n(),H=p(/^@media *([^{]+)/);if(H){var gt=As(H[1]);if(!u())return l("@media missing '{'");var ht=w().concat(d());return f()?G({type:"media",media:gt,rules:ht}):l("@media missing '}'")}}function I(){var G=n(),H=p(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(H)return G({type:"custom-media",name:As(H[1]),media:As(H[2])})}function $(){var G=n(),H=p(/^@page */);if(H){var gt=x()||[];if(!u())return l("@page missing '{'");for(var ht=w(),B;B=v();)ht.push(B),ht=ht.concat(w());return f()?G({type:"page",selectors:gt,declarations:ht}):l("@page missing '}'")}}function N(){var G=n(),H=p(/^@([-\w]+)?document *([^{]+)/);if(H){var gt=As(H[1]),ht=As(H[2]);if(!u())return l("@document missing '{'");var B=w().concat(d());return f()?G({type:"document",document:ht,vendor:gt,rules:B}):l("@document missing '}'")}}function D(){var G=n(),H=p(/^@font-face\s*/);if(H){if(!u())return l("@font-face missing '{'");for(var gt=w(),ht;ht=v();)gt.push(ht),gt=gt.concat(w());return f()?G({type:"font-face",declarations:gt}):l("@font-face missing '}'")}}var A=Q("import"),X=Q("charset"),rt=Q("namespace");function Q(G){var H=new RegExp("^@"+G+"\\s*([^;]+);");return function(){var gt=n(),ht=p(H);if(ht){var B={type:G};return B[G]=ht[1].trim(),gt(B)}}}function Z(){if(o[0]=="@")return b()||K()||I()||C()||A()||X()||rt()||N()||$()||U()||D()}function at(){var G=n(),H=x();return H?(w(),G({type:"rule",selectors:H,declarations:g()})):l("selector missing")}return Li(c())}function As(o){return o?o.replace(/^\s+|\s+$/g,""):""}function Li(o,t){var e=o&&typeof o.type=="string",s=e?o:t;for(var r in o){var n=o[r];Array.isArray(n)?n.forEach(function(a){Li(a,s)}):n&&typeof n=="object"&&Li(n,s)}return e&&Object.defineProperty(o,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),o}class py extends dy{currentItem={};items=[];groups=[];globalStyles={};grad={};idtops={};text="";constructor(t){super(t),this.on("tag",(e,s)=>{switch(this.text="",this.currentItem={type:e},e){case"g":this.groups.push(this.currentItem);break}this.processAttrs(e,s)}),this.on("text",e=>{if(this.currentItem.type=="style"){try{const s=hy(e);for(const r of s.stylesheet.rules)for(const n of r.declarations)for(const a of r.selectors)this.globalStyles[a]=this.globalStyles[a]||[],this.globalStyles[a].push(`${n.property}:${n.value}`)}catch{console.error("CAN'T parse css text: "+e)}return}this.text+=e}),this.on("/tag",(e,s)=>{let r=this.groups.length;for(;r--;)if(this.groups[r]!=this.currentItem){let n="",a="";for(const i in this.groups[r])i=="transform"?n=this.groups[r].transform:i=="class"&&this.globalStyles["."+this.groups[r][i]]?a=this.globalStyles["."+this.groups[r][i]].join(";")+";"+a:i=="id"&&this.globalStyles["#"+this.groups[r][i]]?a=this.globalStyles["#"+this.groups[r][i]].join(";")+";"+a:typeof this.currentItem[i]>"u"&&(this.currentItem[i]=this.groups[r][i]);typeof this.currentItem.transform>"u"?this.currentItem.transform=n:this.currentItem.transform+=" "+n,typeof this.currentItem.style>"u"?this.currentItem.style=a:this.currentItem.style=a+this.currentItem.style,this.currentItem.class&&this.globalStyles["."+this.currentItem.class]?this.currentItem.style=this.globalStyles["."+this.currentItem.class].join(";")+";"+this.currentItem.style:this.currentItem.id&&this.globalStyles["#"+this.currentItem.id]&&(this.currentItem.style=this.globalStyles["#"+this.currentItem.id].join(";")+";"+this.currentItem.style),Mi(this.currentItem.style,this.currentItem,Ai)}switch(this.processAttrs(e,s),e){case"g":this.groups.pop();break;case"cirlce":this.addToItems();break;case"ellipse":this.addToItems();break;case"polygon":this.addToItems();break;case"path":this.addToItems();break;case"line":this.addToItems();break;case"rect":this.addToItems();break;case"image":this.addToItems();break;case"text":this.currentItem.text=this.text,this.currentItem["text-anchor"]=this.currentItem["text-anchor"]||"start",this.addToItems();break}}),this.on("finish",()=>{this.emit("result",this.items)})}parse(){return super.parse(),this.items}processAttrs(t,e){let s=[],r;switch(t){case"svg":let n="",a="";if(e.width&&e.height)n=e.width,a=e.height;else if(e.viewBox){const i=e.viewBox.split(/\s+/gi);i.length==4&&(n=String(parseFloat(i[2])-parseFloat(i[0])),a=String(parseFloat(i[3])-parseFloat(i[1])))}n&&a&&this.items.push({type:"viewbox",width:n,height:a});break;case"line":typeof e.x1=="number"&&typeof e.y1=="number"&&typeof e.x2=="number"&&typeof e.y2=="number"&&(this.currentItem.path="M"+[e.x1,e.y1,e.x2,e.y2]);break;case"stop":r={},e.style&&Mi(e.style,r),r.offset=r.offset||e.offset,r.color=r["stop-color"]||e["stop-color"],r.opacity=r["stop-opacity"]||e["stop-opacity"],~(r.offset+"").indexOf("%")?r.offset=parseFloat(r.offset):r.offset=parseFloat(r.offset)*100,r.offset=+r.offset.toFixed(2),this.grad.stops.push(r);break;case"linearGradient":this.grad.angle=(360+Ni(parseFloat(e.x1),parseFloat(e.y1),parseFloat(e.x2),parseFloat(e.y2),parseFloat(e.x1)+100,parseFloat(e.y1))).toFixed(2),s=[this.grad.angle];for(let i=0,l=this.grad.stops.length;i<l;i++)r=this.grad.stops[i],i&&i!=l-1?s.push(r.color+":"+r.offset):s.push(r.color);this.idtops[this.grad.id]=s.join("-"),this.items.forEach(i=>{i.fillid==this.grad.id&&(i.fill=this.idtops[this.grad.id])});break;case"radialGradient":s=[];for(let i=0,l=this.grad.stops.length;i<l;i++)r=this.grad.stops[i],i&&i!=l-1?s.push(r.color+":"+r.offset):s.push(r.color);this.idtops[this.grad.id]=s.join("-"),this.items.forEach(i=>{i.fillid==this.grad.id&&(i.fill=this.idtops[this.grad.id])});break}for(const n in e){const a=e[n];if(Ai.includes(n)&&(this.currentItem[n]=a),n==="id"&&(this.currentItem.type==="linearGradient"&&(this.grad={id:n,stops:[]}),this.currentItem.type==="radialGradient"&&(this.grad={id:n,stops:[]})),n==="style"&&Mi(a,this.currentItem,Ai),n==="transform"&&(this.currentItem.transform=a+(this.currentItem.transform||" ")),n==="fill"){const i=a.match(/url\(#([^)]+)\)/);if(i){const l=i[1];this.currentItem.fillid=l,this.idtops[l]&&(this.currentItem.fill=this.idtops[l])}}n==="points"&&this.currentItem.type=="polygon"&&(this.currentItem.path="M"+a+"z"),n==="d"&&this.currentItem.type=="path"&&(this.currentItem.path=a),n==="xlink:href"&&this.currentItem.type=="image"&&(this.currentItem.src=a)}}addToItems(){this.items.push(this.currentItem)}}function Ni(o,t,e,s,r,n){if(typeof r>"u"||typeof n>"u"){const a=o-e,i=t-s;return!a&&!i?0:(180+Math.atan2(-i,-a)*180/Math.PI+360)%360}else return Ni(o,t,r,n)-Ni(e,s,r,n)}function Mi(o,t,e){const s=(o+"").split(";"),r=/^\s+|\s+$/g;for(let n=0,a=s.length;n<a;n++){const i=s[n].split(":"),l=i[0].replace(r,"").replace(/[A-Z]/g,function(c){return"-"+c.toLowerCase()});(!e||e.includes(l))&&(t[l]=i[1].replace(r,""))}}const Ai=["id","class","viewBox","width","height","x","y","cx","cy","r","rx","ry","cursor","opacity","src","fill","fill-opacity","stroke","stroke-dasharray","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","font","font-family","font-size","font-style","font-weight","letter-spacing"];class Pf{app;rootEl;ue;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e,s){this.app=t,this.rootEl=pe.createSVGElement("svg"),this.ue=vo(this.rootEl);const r=vo(this.app.container);r.empty(),r.insert(this.rootEl),e&&s?this.setSize(e,s):(this.setSize(this.app.width,this.app.height),this.app.on("resize",()=>{this.setSize(this.app.width,this.app.height)})),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,a)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=a.dx,this.dragDy+=a.dy),this.setCursor()}}),this.app.on("tap",()=>{for(const n of this.shapes)if(this.currentMouseInShape==n){n.emit("clicked");let a=n.parent;for(;a;)a.emit("clicked",n),a=a.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"}setSize(t,e){return zo(this.rootEl,{viewBox:`0 0 ${t} ${e}`,width:`${t}`,height:`${e}`}),this}download(){return pe.downloadFromSVGElement(this.rootEl)}_addDrawShape(t){this.shapes.findIndex(e=>e.id==t.id)===-1&&(this.shapes.push(t),t instanceof xs&&t.shapes.forEach(e=>{this._addDrawShape(e)}))}path(t){(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow){e.el&&(e.el.remove(),delete e.el);continue}if(e.frameStart(this.app.mousePoint),e.el||(e instanceof Nn?e.el=this.text(e.text,e.x,e.y,ku(e.getAttrs(),(r,n)=>typeof n=="string")):(e.el=pe.createSvgPath(e.toSVGPathD(),e.id),this.ue.insert(e.el))),e.followMouse&&(!pn(e.x,this.app.mousePoint.x,5)||!pn(e.y,this.app.mousePoint.y,5))&&e.followTo(this.app.mousePoint),e.targetToAfterDragFree&&(this.isMouseDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const r=this.dragDx,n=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||n){if(e.x+=r,e.y+=n,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",r,n)}}else e.isDragging=!1;e instanceof Nn&&(e.setAttr("x",String(e.x)),e.setAttr("y",String(e.y))),e.frameUpdate(this.app.mousePoint);const s=e.toSVGPathD();if(this.attr(e,ku(e.getAttrs(),(r,n)=>typeof n=="string")),this.attr(e,"d",s),!this.currentMouseInShape){const r=e.isPointInPath(this.app.mousePoint.x,this.app.mousePoint.y,this.rootEl)||e.isPointInStroke(this.app.mousePoint.x,this.app.mousePoint.y,this.rootEl)||!1;e.isMouseIn=r,r&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.app.mousePoint)}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}delete(t){(Array.isArray(t)?t:[t]).forEach(e=>{e.el&&e.el.remove(),delete e.el,this.shapes=this.shapes.filter(s=>s.id!==e.id)})}clear(){this.shapes.forEach(t=>{t.el&&t.el.remove(),delete t.el}),this.ue.empty(),this.shapes=[]}attr(t,e,s){const r=t.el||t;return r instanceof SVGElement?e===void 0&&s===void 0?zo(r):typeof e=="string"&&s===void 0?zo(r,is(e))||"":(typeof e=="object"?zo(r,e):typeof e=="string"&&s!==void 0&&zo(r,is(e),s),this):this}circle(t,e,s){return this.path(new re({x:t,y:e,radius:s}))}circleEl(t,e,s){const r=pe.createSVGElement("circle",{cx:String(t),cy:String(e),r:String(s)});return this.ue.insert(r),r}ellipse(t,e,s,r){return this.path(new Rf({x:t,y:e,rx:s,ry:r}))}ellipseEl(t,e,s,r){const n=pe.createSVGElement("ellipse",{cx:String(t),cy:String(e),rx:String(s),ry:String(r)});return this.ue.insert(n),n}rect(t,e,s,r){return this.path(new Ee({x:t,y:e,width:s,height:r}))}rectEl(t,e,s,r){const n=pe.createSVGElement("rect",{x:String(t),y:String(e),width:String(s),height:String(r)});return this.ue.insert(n),n}image(t,e,s,r,n){}text(t,e,s,r){const n=pe.createSVGElement("text",{x:String(e),y:String(s)});return vo(n).html(t),this.attr(n,Object.assign({"alignment-baseline":"middle"},r)),this.ue.insert(n),n}textWithTspan(t,e,s,r){const n=r?.["line-height"]||"1.2em",a=pe.createSVGElement("text",{x:String(e),y:String(s)});return t.split(`
46
+ `).forEach((i,l)=>{if(i.trim()){const c=pe.createSVGElement("tspan",{x:String(e),dy:l>0?n:"0"});vo(c).html(i),vo(a).insert(c),this.attr(c,Object.assign({"alignment-baseline":"middle"},r))}}),this.ue.insert(a),a}}class my extends No{svgWidth=0;svgHeight=0;width=0;height=0;constructor(t){super(t);const e=new py(t.svg).parse();for(let s=0,r=e.length;s<r;s++){const n=e[s];if(n.type=="viewbox"&&n.width&&n.height){if(this.svgWidth=parseFloat(n.width),this.svgHeight=parseFloat(n.height),t.width){const u=this.svgWidth/this.svgHeight;this.width=t.width,this.height=this.width/u}else this.width=this.svgWidth,this.height=this.svgHeight;continue}if(n.type!="path"||!pe.isSVGPath(n.path))continue;const a={};for(const u in n)u==="type"||u==="path"||u==="transform"||(a[u]=n[u]);const i=pe.absolutizeSVGPath(pe.parseSVGPath(n.path)),l=[];let c=[];for(let u=0,f=i.length;u<f;u++){const d=i[u];c.push(d),d[0].toLowerCase()=="z"&&(l.push(c),c=[])}c.length&&l.push(c),l.forEach(u=>{const f=Cf(n.transform??"");f.scale(this.width&&this.svgWidth?this.width/this.svgWidth:1),this.addShape(new oe({...t,attrs:{...a,...t?.attrs||{}},d:u,originMatrix:f}))})}}shapeInit(){this.trim()}}class re extends oe{radius;constructor(t){super(t),this.radius=t?.radius||0}getBoundingClientRect(){return{x:this.x-this.radius,y:this.y-this.radius,width:this.radius*2,height:this.radius*2}}toSVGPathData(){return this.radius?[["m",0,-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",0,0]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,0,Math.PI*2,!0),t.closePath()}eq(t){return this.x===t.x&&this.y===t.y&&this.radius===t.radius&&this.mass===t.mass}midPointBtw(t){return{x:this.x+(t.x-this.x)/2,y:this.y+(t.y-this.y)/2}}length(){return _i(this.x,this.y)}scalar(t){return this.x*=t,this.y*=t,this}normalize(t=1){const e=this.length();if(e){const s=t/e;this.scalar(s)}return this}clamp(t){const e=this.length();return e&&e>t&&this.scalar(t/e),this}cross(t){const e=this.x,s=this.y;return{x:s*t.x-e*t.y,y:e*t.y-s*t.x}}multiply(t){return{x:this.x*t.x,y:this.y*t.y}}div(t){return{x:this.x/t.x,y:this.y/t.y}}add(t){return{x:this.x+t.x,y:this.y+t.y}}sub(t){return{x:this.x-t.x,y:this.y-t.y}}dot(t){return this.x*t.x+this.y*t.y}reflect(t){const e=this.dot(t);return{x:this.x-2*e*t.x,y:this.y-2*e*t.y}}checkCollision(t){const e=t.x-this.x,s=t.y-this.y;if(Math.sqrt(e*e+s*s)<this.radius+t.radius){const n=Math.atan2(s,e),a={x:0,y:0},i=_s(-n,e,s),l=_s(-n,this.vx,this.vy),c=_s(-n,t.vx,t.vy),u=l.x-c.x;l.x=((this.mass-t.mass)*l.x+2*t.mass*c.x)/(this.mass+t.mass),c.x=u+l.x;const f=Math.abs(l.x)+Math.abs(c.x),d=this.radius+t.radius-Math.abs(a.x-i.x);a.x+=l.x/f*d,i.x+=c.x/f*d;const p=_s(n,a.x,a.y),h=_s(n,i.x,i.y);t.x=this.x+h.x,t.y=this.y+h.y,this.x=this.x+p.x,this.y=this.y+p.y;const w=_s(n,l.x,l.y),_=_s(n,c.x,c.y);this.vx=w.x,this.vy=w.y,t.vx=_.x,t.vy=_.y}}checkWall(t){const e=typeof t?.bounce=="number"?t.bounce:-1,s=t.wall.x,r=t.wall.y,n=t.wall.x+t.wall.width,a=t.wall.y+t.wall.height;this.x+this.radius>n?(this.x=n-this.radius,this.vx*=e):this.x-this.radius<s&&(this.x=s+this.radius,this.vx*=e),this.y+this.radius>a?(this.y=a-this.radius,this.vy*=e):this.y-this.radius<r&&(this.y=r+this.radius,this.vy*=e)}}class Of extends oe{points;isStraight;constructor(t){if(super(t),this.points=t.points,this.points.length<3)throw new Error("points length must >= 3");this.isStraight=typeof t?.isStraight=="boolean"?t.isStraight:!0}toSVGPathData(){const t=[],e=this.points.length;if(this.isStraight){t.push(["M",this.points[0].x,this.points[0].y]);for(let s=1;s<=e-1;s++)t.push(["L",this.points[s].x,this.points[s].y]);t.push(["Z"])}else{const s=(this.points[0].x+this.points[e-1].x)/2,r=(this.points[0].y+this.points[e-1].y)/2;t.push(["M",s,r]);for(let n=0;n<e-1;n++){const a=(this.points[n].x+this.points[n+1].x)/2,i=(this.points[n].y+this.points[n+1].y)/2;t.push(["Q",this.points[n].x,this.points[n].y,a,i])}t.push(["Q",this.points[e-1].x,this.points[e-1].y,s,r])}return t}toCanvasContext(t){t.beginPath();const e=this.points.length;if(this.isStraight){t.moveTo(this.points[0].x,this.points[0].y);for(let s=1;s<=e-1;s++)t.lineTo(this.points[s].x,this.points[s].y);t.closePath()}else{const s=(this.points[0].x+this.points[e-1].x)/2,r=(this.points[0].y+this.points[e-1].y)/2;t.moveTo(s,r);for(let n=0;n<e-1;n++){const a=(this.points[n].x+this.points[n+1].x)/2,i=(this.points[n].y+this.points[n+1].y)/2;t.quadraticCurveTo(this.points[n].x,this.points[n].y,a,i)}t.quadraticCurveTo(this.points[e-1].x,this.points[e-1].y,s,r)}}isContainPoint(t,e){const s=this.points.length;let r=!1;const n=2e-10;for(let a=0,i=s-1;a<s;i=a,a++){const l=this.points[a].x,c=this.points[a].y,u=this.points[i].x,f=this.points[i].y;if(l===t&&c===e||u===t&&f===e||e===c&&e===f)return!0;if(e>=c&&e<f||e<c&&e>=f){const d=(u-l)/(f-c),p=l+d*(e-c);if(p===t||Math.abs(p-t)<n)return!0;p>t&&(r=!r)}}return r}[Symbol.iterator](){let t=-1;return{next:()=>({value:t<=this.points.length-1?this.points[++t]:void 0,done:t>=this.points.length})}}}class Ee extends oe{width;height;borderRadius;constructor(t){super(t),this.width=t.width,this.height=t.height,this.borderRadius=t.borderRadius||0}static fromCubicBezier(t,e,s,r,n,a,i,l){const c=new go({x:t,y:e,c1x:s,c1y:r,c2x:n,c2y:a,toX:i,toY:l});return new Ee(c.getBoundingClientRect())}getBoundingClientRect(){return{x:this.x,y:this.y,width:this.width,height:this.height}}toSVGPathData(){return this.borderRadius?[["m",this.borderRadius,0],["l",this.width-this.borderRadius*2,0],["a",this.borderRadius,this.borderRadius,0,0,1,this.borderRadius,this.borderRadius],["l",0,this.height-this.borderRadius*2],["a",this.borderRadius,this.borderRadius,0,0,1,-this.borderRadius,this.borderRadius],["l",this.borderRadius*2-this.width,0],["a",this.borderRadius,this.borderRadius,0,0,1,-this.borderRadius,-this.borderRadius],["l",0,this.borderRadius*2-this.height],["a",this.borderRadius,this.borderRadius,0,0,1,this.borderRadius,-this.borderRadius],["z"]]:[["m",0,0],["l",this.width,0],["l",0,this.height],["l",-this.width,0],["z"]]}toCanvasContext(t){t.beginPath(),this.borderRadius<=0?t.rect(0,0,this.width,this.height):(t.moveTo(0,this.borderRadius),t.lineTo(0,this.height-this.borderRadius),t.quadraticCurveTo(0,this.height,this.borderRadius,this.height),t.lineTo(this.width-this.borderRadius,this.height),t.quadraticCurveTo(this.width,this.height,this.width,this.height-this.borderRadius),t.lineTo(this.width,this.borderRadius),t.quadraticCurveTo(this.width,0,this.width-this.borderRadius,0),t.lineTo(this.borderRadius,0),t.quadraticCurveTo(0,0,0,this.borderRadius)),t.closePath()}eq(t){return this.x===t.x&&this.y===t.y&&this.width===t.width&&this.height===t.height&&this.borderRadius===t.borderRadius}isIntersectRect(t){return!(this.x+this.width<t.x||t.x+t.width<this.x||this.y+this.height<t.y||t.y+t.height<this.y)}isContainPoint(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height}}class Rf extends oe{rx;ry;constructor(t){super(t),this.rx=t?.rx||0,this.ry=t?.ry||0}getBoundingClientRect(){return{x:this.x-this.rx,y:this.y-this.ry,width:this.rx*2,height:this.ry*2}}toSVGPathData(){return[["m",0,-this.ry],["a",this.rx,this.ry,0,1,1,0,2*this.ry],["a",this.rx,this.ry,0,1,1,0,-2*this.ry],["z"]]}toCanvasContext(t){t.beginPath(),t.ellipse(0,0,this.rx,this.ry,0,0,2*Math.PI,!0),t.closePath()}}class Ln extends oe{constructor(t){super(t)}toSVGPathData(){return[["m",-50,-25],["l",50,0],["l",0,-25],["l",50,50],["l",-50,50],["l",0,-25],["l",-50,0],["l",0,-50],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(-50,-25),t.lineTo(0,-25),t.lineTo(0,-50),t.lineTo(50,0),t.lineTo(0,50),t.lineTo(0,25),t.lineTo(-50,25),t.lineTo(-50,-25),t.closePath()}}class zi extends oe{constructor(t){super(t)}toSVGPathData(){return[["m",4,24],["l",4,-8],["l",6,-6],["l",1,-10],["l",-6,-10],["l",-7,10],["l",-4,0],["l",-7,-10],["l",-6,10],["l",1,10],["l",6,6],["l",4,8],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(4,24),t.lineTo(8,16),t.lineTo(14,10),t.lineTo(15,0),t.lineTo(9,-10),t.lineTo(2,0),t.lineTo(-2,0),t.lineTo(-9,-10),t.lineTo(-15,0),t.lineTo(-14,10),t.lineTo(-8,16),t.lineTo(-4,24),t.closePath()}}class gy extends oe{rx;ry;constructor(t){super(t),this.rx=t?.rx||10,this.ry=t?.ry||10}toSVGPathData(){return[["m",0,0],["l",this.rx*2.4,-this.ry*3.14],["a",this.rx/2,this.ry/2,0,0,0,-this.rx*2.4,-this.ry*1.5],["a",this.rx/2,this.ry/2,0,0,0,-this.rx*2.4,this.ry*1.5],["l",this.rx*2.4,this.ry*3.14],["z"]]}}class yy extends oe{rx;ry;constructor(t){super(t),this.rx=t?.rx??50,this.ry=t?.ry??50}toSVGPathData(){return[["m",0,0+this.ry*.3],["C",0,0,0-this.rx/2,0,0-this.rx/2,0+this.ry*.3],["C",0-this.rx/2,0+(this.ry+this.ry*.3)/2,0,0+(this.ry+this.ry*.3)/1.4,0,0+this.ry],["C",0,0+(this.ry+this.ry*.3)/1.8,0+this.rx/2,0+(this.ry+this.ry*.3)/2,0+this.rx/2,0+this.ry*.3],["C",0+this.rx/2,0,0,0,0,0+this.ry*.3],["z"]]}}class vy extends oe{r;constructor(t){super(t),this.r=t?.r||20}toSVGPathData(){const t=[["m",0,-this.r]];for(let e=0;e<6;e+=1){const s=288+e*144,r=this.r*Math.cos(Bt(s)),n=this.r*Math.sin(Bt(s));t.push(["l",r,n])}return t}}class by extends oe{constructor(t){super(t)}toSVGPathData(){return[["M",0,0],["C",15,0,15,-40,5,-30],["L",0,0],["C",-15,0,-15,-40,-5,-30],["L",0,0],["a",15,15,0,1,1,0,30],["a",15,15,0,1,1,0,-30]]}}class _y extends oe{constructor(t){super(t),this.originD="m5.068 9.267-3.08-.77a.512.512 0 0 1 0-.994l3.08-.77a2.289 2.289 0 0 0 1.665-1.665l.77-3.08a.512.512 0 0 1 .994 0l.77 3.08c.205.82.845 1.46 1.665 1.665l3.08.77a.512.512 0 0 1 0 .994l-3.08.77a2.29 2.29 0 0 0-1.665 1.665l-.77 3.08a.512.512 0 0 1-.994 0l-.77-3.08a2.289 2.289 0 0 0-1.665-1.665Z"}}class xy extends No{constructor(t){super(t);const e=new xe({...t,x:this.x,y:this.y,toX:this.x,toY:this.y-140-Math.random()*20}),s=30+Math.random()*30,r=new xe({...t,x:this.x,y:this.y-s,diffYInGroup:-s,toX:this.x+Math.random()*80-40,toY:this.y-100-Math.random()*40}),n=60+Math.random()*40,a=new xe({...t,x:this.x,y:this.y-n,diffYInGroup:-n,toX:this.x+Math.random()*60-30,toY:this.y-110-Math.random()*20});this.addShape([e,r,a])}}class Nn extends oe{text;width=0;height=0;constructor(t){super(t),this.text=t.text,this.setAttr({fontSize:"10px",fontFamily:'system-ui, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',emojiFontFamily:'"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif',fill:"#666666",stroke:"none","alignment-baseline":"middle",textAnchor:"start",...this.getAttrs()});const e=bs(this.getAttr("fontSize"),10).number,s=bs(this.getAttr("fontWeight"),400).number,r=this.measureText(this.text,e,s);this.width=r.width,this.height=r.height}getBoundingClientRect(){return null}toSVGPathData(){return[]}toCanvasContext(t){t.fillText(this.text,0,0)}measureText(t,e=12,s=400){const r=document.createElement("span");r.style.visibility="hidden",r.style.margin="0",r.style.padding="0",r.style.inset="0",r.style.whiteSpace="nowrap",r.style.overflow="visible",r.style.fontSize=e+"px",r.style.fontWeight=s.toString(),r.innerText=t,document.body.appendChild(r);const n=r.offsetWidth,a=r.offsetHeight;return document.body.removeChild(r),{width:n,height:a}}getFixedWidthText(t,e,s=12,r=400,n=!0){let a="";if(!t||e<s)return a;const i=t.split(""),l="...";let c=n?this.measureText(l,s,r).width:0;for(let u=0,f=i.length;u<f;u++)if(c+=this.measureText(i[u],s,r).width,c>e){n&&(a+=l);break}else a+=i[u];return a}}class wy extends No{text;bg;padding;offset;isShow;textShape;bgShape;constructor(t){super(t),this.text=t.text,this.bg=t.bg||"rgba(0,0,0,0.5)",this.padding=t.padding||4,this.offset=t.offset||20,this.isShow=typeof t?.isShow=="boolean"?t?.isShow:!1,this.textShape=new Nn({...t,x:this.x+this.offset,y:this.y+this.offset,text:this.text,attrs:{...this.getAttrs(),fill:me(this.bg).opposite(!0).toString(),textAnchor:"start"}}),this.bgShape=new Ee({...t,x:this.textShape.x-this.padding,y:this.textShape.y-this.textShape.height/2-this.padding,width:this.textShape.width+this.padding*2,height:this.textShape.height+this.padding*2,attrs:{...this.getAttrs(),fill:this.bg}}),this.addShape([this.bgShape,this.textShape])}shapeInit(){ti(()=>{this.textShape.x=this.x+this.offset,this.textShape.y=this.y+this.offset,this.textShape.text=this.text,this.textShape.isShow=this.isShow,this.bgShape.x=this.textShape.x-this.padding,this.bgShape.y=this.textShape.y-this.textShape.height/2-this.padding,this.bgShape.width=this.textShape.width+this.padding*2,this.bgShape.height=this.textShape.height+this.padding*2,this.bgShape.isShow=this.isShow})}}class If extends xs{radius;expandRaidus;startDegree;endDegree;text="";defaultShowText;tip="";p1=new re;p1Offset=10;p2=new re;p2Offset=40;p3=new re;p3Offset=10;p4=new re;p4Offset=10;direction=1;sectorArc;line12;line23;textShape;tipShape;constructor(t){super(t),this.radius=t.radius,this.expandRaidus=t.expandRaidus??20,this.startDegree=t.startDegree,this.endDegree=t.endDegree,this.text=t.text||"",this.defaultShowText=typeof t?.defaultShowText=="boolean"?t.defaultShowText:!!this.text,this.tip=t.tip||"",this.sectorArc=new ky({x:this.x,y:this.y,radius:this.radius,expandRaidus:this.expandRaidus,startDegree:this.startDegree,endDegree:this.endDegree,attrs:Object.assign({...this.getAttrs()},{strokeWidth:"0"})}),this.addShape(this.sectorArc);const e=Object.assign({...this.getAttrs()},{fill:"none"});this.line12=new xe({x:this.p1.x,y:this.p1.y,toX:this.p2.x,toY:this.p2.y,attrs:{...e},isShow:this.defaultShowText}),this.line23=new xe({x:this.p2.x,y:this.p2.y,toX:this.p3.x,toY:this.p3.y,attrs:{...e},isShow:this.defaultShowText}),this.textShape=new Nn({x:this.p4.x,y:this.p4.y,text:this.text,attrs:{stroke:e.stroke,textAnchor:this.direction==1?"start":"end"},isShow:this.defaultShowText}),this.text&&(this.addShape(this.line12),this.addShape(this.line23),this.addShape(this.textShape)),this.tipShape=new wy({x:0,y:0,text:this.tip,isShow:!1}),this.tip&&this.addShape(this.tipShape)}frameUpdate(t){this.text&&!this.defaultShowText&&(this.line12.isShow=this.sectorArc.isMouseIn,this.line23.isShow=this.sectorArc.isMouseIn,this.textShape.isShow=this.sectorArc.isMouseIn);const e=this.startDegree+(this.endDegree-this.startDegree)/2,{dx:s,dy:r}=Ms(Bt(e),this.sectorArc.radius+this.p1Offset);this.p1.x=this.x+s,this.p1.y=this.y+r;const{dx:n,dy:a}=Ms(Bt(e),this.sectorArc.radius+this.p1Offset+this.p2Offset);this.p2.x=this.x+n,this.p2.y=this.y+a,this.line12.x=this.p1.x,this.line12.y=this.p1.y,this.line12.toX=this.p2.x,this.line12.toY=this.p2.y,this.direction=this.p1.x>this.x?1:-1,this.p3.x=this.p2.x+this.direction*this.p3Offset,this.p3.y=this.p2.y,this.p4.x=this.p3.x+this.direction*this.p4Offset,this.p4.y=this.p3.y,this.line23.x=this.p2.x,this.line23.y=this.p2.y,this.line23.toX=this.p3.x,this.line23.toY=this.p3.y,this.textShape.x=this.p4.x,this.textShape.y=this.p4.y,this.textShape.setAttr("textAnchor",this.direction==1?"start":"end"),this.sectorArc.isMouseIn?(this.tipShape.isShow=!0,this.tipShape.x=t.x,this.tipShape.y=t.y):(this.tipShape.isShow=!1,this.tipShape.x=t.x,this.tipShape.y=t.y)}}class ky extends oe{radius;realRadius;expandRaidus;startDegree;endDegree;vr;ar;bounce;durationTime;status;constructor(t){super(t),this.radius=0,this.realRadius=t.radius,this.expandRaidus=t.expandRaidus??20,this.startDegree=t.startDegree,this.endDegree=t.endDegree,this.vr=0,this.ar=.03,this.bounce=.6,this.durationTime=8.333333333333334,this.status=0}frameUpdate(){this.status==0&&this.radius<this.realRadius?(this.expand(this.realRadius),this.radius>=this.realRadius&&(this.status=1)):this.isMouseIn?this.expand(this.realRadius+this.expandRaidus):this.shrink(this.realRadius)}expand(t){this.vr+=this.ar,this.radius+=this.vr*this.durationTime,this.radius>t&&(this.radius=t,this.vr*=-this.bounce)}shrink(t){this.vr-=this.ar,this.radius+=this.vr*this.durationTime,this.radius<t&&(this.radius=t,this.vr*=-this.bounce)}toSVGPathData(){const{dx:t,dy:e}=Ms(Bt(this.startDegree),this.radius),{dx:s,dy:r}=Ms(Bt(this.endDegree),this.radius);return[["m",0,0],["l",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,s-t,r-e],["z"]]}toCanvasContext(t){t.beginPath(),t.moveTo(0,0),t.arc(0,0,this.radius,Bt(this.startDegree),Bt(this.endDegree),!1),t.closePath()}containPoint(t,e){const s=xi(this.x,this.y,t,e),r=Xe($o(this.x,this.y,t,e));return s<=this.radius&&r>=this.startDegree&&r<=this.endDegree}}class Cy extends xs{showFlame;ship;flame;constructor(t){super(t),this.showFlame=typeof t?.showFlame=="boolean"?t.showFlame:!1,this.ship=new oe({...t,d:[["M",10,0],["L",-10,10],["L",-5,0],["L",-10,-10],["L",10,0],["Z"]]}),this.addShape(this.ship),this.flame=new oe({...t,isShow:this.showFlame,d:[["m",-10,-5],["l",-7.5,5],["l",7.5,5],["z"]]}),this.addShape(this.flame)}shapeInit(){ti(()=>{this.ship.x=this.x,this.ship.y=this.y,this.flame.x=this.x,this.flame.y=this.y,this.flame.isShow=this.showFlame})}}class Ff extends No{value;backgroundRect;occupyRect;handle;constructor(t){super(t);const e=t?.min||0,s=t?.max||100,r=t?.step||1,n=Eu(e,s,r);this.value=n(typeof t?.defaultValue=="number"?ie(t.defaultValue,e,s):e);const a=this.value/(s-e),i=t?.barWidth||100,l=t?.barHeight||4,c=t?.handleRadius||10,u=l*.5,f=t?.barColor||vt.colorGrayF5,d=t?.handleColor||vt.colorPrimary;this.backgroundRect=new Ee({x:this.x,y:this.y,width:i,height:l,borderRadius:u,attrs:{fill:f},enableDrag:!1,independentTransformInGroup:!0}),this.addShape(this.backgroundRect),this.occupyRect=new Ee({x:this.x,y:this.y,width:i*a,height:l,borderRadius:u,attrs:{fill:d},enableDrag:!1,independentTransformInGroup:!0}),this.addShape(this.occupyRect),this.handle=new re({x:this.x+i*a,y:this.y+u,diffXInGroup:i*a,diffYInGroup:u,radius:c,alongPath:new Qe({x:this.x,y:this.y+u,d:[["m",0,0],["l",i,0]]}),attrs:{fill:d},enableDrag:!0,independentTransformInGroup:!0}),this.addShape(this.handle),this.handle.on("draging",p=>{this.occupyRect.width=ie(this.occupyRect.width+p,0,i),this.value=n((this.handle.x-this.x)/i*(s-e)+e),this.emit("change",this.value)})}}class Ao extends No{width;height;cornerRadius;controlPoint;mainRect;rightPoint;constructor(t){super(t),this.width=t.width,this.height=t.height,this.cornerRadius=this.height/2,this.controlPoint=new re({...t,x:this.x,y:this.y,radius:2}),this.forceSetCXY(this.controlPoint.cX,this.controlPoint.cY),this.mainRect=new Ee({...t,x:this.x-this.cornerRadius,y:this.y-this.cornerRadius,diffXInGroup:-this.cornerRadius,diffYInGroup:-this.cornerRadius,width:this.width+this.cornerRadius*2,height:this.height,borderRadius:this.cornerRadius}),this.rightPoint=new re({...t,x:this.x+this.width,y:this.y,diffXInGroup:this.width,radius:2}),this.addShape([this.mainRect,this.controlPoint,this.rightPoint])}getPin(){return{x:this.controlPoint.x+Math.cos(Bt(this.controlPoint.degree))*this.width,y:this.controlPoint.y+Math.sin(Bt(this.controlPoint.degree))*this.width}}}class Vi extends oe{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=e-e*Math.abs(Math.sin(Bt(this.extendDegree))),this.y=(t.y||0)+t.height-t.lineWidth-this.radius*Math.abs(Math.sin(Bt(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}=Ms(Bt(this.startDegree),this.radius),{dx:s,dy:r}=Ms(Bt(this.endDegree),this.radius);return[["m",t,e],["a",this.radius,this.radius,0,Math.abs(this.endDegree-this.startDegree)>=180?1:0,1,s-t,r-e]]}toCanvasContext(t){t.beginPath(),t.arc(0,0,this.radius,Bt(this.startDegree),Bt(this.endDegree),!1)}}let Df=class extends No{percent=0;ringBg;ring;lines=[];bgColor;startColor;endColor;indicatorLineCount;constructor(t){super(t);const e=t?.startDegree||0,s=t?.endDegree||180,r=t?.extendDegree||15,n=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 Vi({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:s,extendDegree:r,lineWidth:n,color:this.bgColor}),this.addShape(this.ringBg),this.ring=new Vi({...t,x:t?.x,y:t?.y,width:t.width,height:t.height,startDegree:e,endDegree:s,extendDegree:r,lineWidth:n}),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 xe({...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+(s-e+r*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,s)=>{this.shapes.forEach(r=>{r!=s&&(r.x+=t,r.y+=e)})})}frameUpdate(t,e){const s=this.ringBg.radius-this.ringBg.radius*Math.cos(Math.PI*this.percent),r=this.ringBg.radius*Math.sin(Math.PI*this.percent);if(e){const n=e.createLinearGradient(-this.ringBg.radius,0,-this.ringBg.radius+s,-r,{0:this.startColor,1:this.endColor});this.ring.setAttr({stroke:n})}else this.ring.setAttr({stroke:this.startColor});this.ring.setPercent(this.percent);for(let n=0;n<this.indicatorLineCount;n++){const a=n/(this.indicatorLineCount-1)<=this.percent;this.lines[n].setAttr({stroke:a&&e?e.createLinearGradient(0,0,this.lines[n].toX-this.lines[n].x,this.lines[n].toY-this.lines[n].y,{0:this.startColor,1:this.endColor}):a?this.startColor:this.bgColor})}}};class Ty extends xs{fettis=[];constructor(t,e,s){super();const{shape:r,x:n,y:a,particleCount:i,angle:l,spread:c,startVelocity:u,decay:f,gravity:d,drift:p,ticks:h,colors:w,scalar:_,flat:x}=Object.assign({shape:Ee,x:.5,y:.6,particleCount:100,angle:90,spread:70,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,colors:ay,scalar:1,flat:!1},s||{}),v=Bt(l),g=Bt(c);let m=i;for(;m--;){const b=w[m%w.length],C=new r({x:t*n,y:e*a,width:10,height:10,scalar:_,attrs:{fill:b},independentTransformInGroup:!0});this.addShape(C),this.fettis.push({shape:C,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:u*.5+Math.random()*u,angle2D:-v+(.5*g-Math.random()*g),tiltAngle:(Math.random()*.5+.25)*Math.PI,tick:0,totalTicks:h,decay:f,drift:p,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:d*3,scalar:_,flat:x,color:me(b)})}}frameUpdate(t){this.fettis.length&&(this.fettis=this.fettis.filter(e=>{e.shape.x+=Math.cos(e.angle2D)*e.velocity+e.drift,e.shape.y+=Math.sin(e.angle2D)*e.velocity+e.gravity,e.velocity*=e.decay,e.flat?(e.wobble=0,e.wobbleX=e.shape.x+10*e.scalar,e.wobbleY=e.shape.y+10*e.scalar,e.tiltSin=0,e.tiltCos=0,e.random=1):(e.wobble+=e.wobbleSpeed,e.wobbleX=e.shape.x+10*e.scalar*Math.cos(e.wobble),e.wobbleY=e.shape.y+10*e.scalar*Math.sin(e.wobble),e.tiltAngle+=.1,e.tiltSin=Math.sin(e.tiltAngle),e.tiltCos=Math.cos(e.tiltAngle),e.random=Math.random()+2);const s=e.tick++/e.totalTicks,r=e.shape.x+e.random*e.tiltCos,n=e.shape.y+e.random*e.tiltSin,a=e.wobbleX+e.random*e.tiltCos,i=e.wobbleY+e.random*e.tiltSin;return e.shape.setAttr("fill",e.color.setAlpha(1-s).toString()),e.shape.degree=Xe(Math.PI/10*e.wobble),e.shape.scalarX=Math.abs(a-r)*.1,e.shape.scalarY=Math.abs(i-n)*.1,e.tick<e.totalTicks}))}}class Ge{shapes;constructor(t){this.shapes=t}run(t){this.shapes.forEach(s=>{s.run(),t?.wall&&s.checkWall({wall:t.wall,bounce:t.bounce})});const e=this.shapes.length;for(let s=0,r=e-1;s<r;s++)for(let n=s+1;n<e;n++)this.shapes[s].checkCollision(this.shapes[n])}gravitate(){const t=this.shapes.length;this.shapes.forEach((e,s)=>{e.run();for(let r=s+1;r<t;r++)e.checkCollision(this.shapes[r]),e.gravitateTo(this.shapes[r])})}springChain(t){this.shapes.forEach((e,s)=>{s>0&&e.runSpringTo(this.shapes[s-1],t)})}springConnect(t){const e=Zs(t?.springLength,100);this.shapes.forEach(s=>{s.isDragging||this.shapes.filter(r=>r.id!==s.id).forEach(r=>{const n=$o(s.x,s.y,r.x,r.y);s.runSpringTo({x:r.x-Math.cos(n)*e,y:r.y-Math.sin(n)*e},t)})})}springMass(t,e){const s=this.shapes.length,r=[];return this.shapes.forEach((n,a)=>{n.run(e),n.x>t.x+t.width?n.x=t.x:n.x<t.x&&(n.x=t.x+t.width),n.y>t.y+t.height?n.y=t.y:n.y<t.y&&(n.y=t.y+t.height);for(let i=a+1;i<s;i++)r.push([n.x,n.y,this.shapes[i].x,this.shapes[i].y,n.springMassTo(this.shapes[i],e)])}),r}polymorph(){if(this.shapes.length<2)throw new Error("shapes个数必须大于等于2");const t=this.shapes.length-1,e=new Array(t);for(let r=0;r<t;r++){const n=this.shapes[r].initPathD();this.shapes[r].frameStart();const a=this.shapes[r+1].initPathD();this.shapes[r+1].frameStart();const i=Math.max(n.polymorphPoints.length,a.polymorphPoints.length);e[r]=Qe.getPathInterpolator(n.expendFill(i),a.expendFill(i))}const s=new oe({d:e[0](0)});return r=>{const n=Ce(t*r,6),a=Math.min(Math.floor(n),t-1),i=Ce(n-a,6);s.originD=e[a](i);const l=this.shapes[a].getAttr("fill","none"),c=this.shapes[a+1].getAttr("fill","none");typeof l=="string"&&typeof c=="string"&&s.setAttr("fill",Ft.gradient(l,c,i).toString());const u=this.shapes[a].getAttr("stroke","none"),f=this.shapes[a+1].getAttr("stroke","none");return typeof u=="string"&&typeof f=="string"&&s.setAttr("stroke",Ft.gradient(u,f,i).toString()),s}}polymorphGroup(){if(this.shapes.length<2)throw new Error("shapes个数必须大于等于2");let t=0,e;const s=[];this.shapes.forEach(i=>{let l;i instanceof xs?(l=i,l.sortPathD()):(l=new xs,l.addShape(i)),s.push(l),t<l.shapes.length&&(t=l.shapes.length,e=l)}),s.forEach(i=>{i!==e&&i.expendFill(e)});const r=[];s.forEach((i,l)=>{i.shapes.forEach((c,u)=>{r[u]=r[u]||[],r[u][l]=c})});const n=[];r.forEach(i=>{n.push(new Ge(i).polymorph())});const a=new xs;return n.forEach(i=>{a.addShape(i(0))}),i=>(n.forEach(l=>{l(i)}),a)}polymorphTween(t=6e3,e){const s=this.shapes.findIndex(i=>i instanceof xs)>=0?this.polymorphGroup():this.polymorph(),r=s(0),n=e?.onUpdate,a=new Ie({frameDuration:t});a.addTween({t:0},{t:1},Object.assign(e||{},{onUpdate:(i,l)=>{s(i.t),n?.(i,l),e?.draw?.(r)}})),a.play()}static generatePointsShape(t,e,s,r){const n=[];for(let a=0;a<r;a++){const i=a/r*2*Math.PI,{dx:l,dy:c}=Ms(i,s);n.push({x:t+l,y:e+c})}return new Of({points:n})}static generateRosettaShape(t,e,s,r,n){if(n==0)throw new Error("no dividing by zero, please");const a=[],i=360/n;for(let l=0;l<n;l+=1){const c=i*l*Math.PI/180,u=t+2*s*Math.cos(c),f=e+2*s*Math.sin(c);a.push(new Ti({x:t,y:e,rx:s,ry:r,xAxisRotate:i*l,largeArcFlag:1,sweepFlag:1,toX:u,toY:f})),a.push(new Ti({x:u,y:f,rx:s,ry:r,xAxisRotate:i*l,largeArcFlag:1,sweepFlag:1,toX:t,toY:e}))}return new oe({d:Qe.fromLines(a)})}}function Sy(o){return window.URL.createObjectURL(o)}const $f=new si;async function Lf(o,t=6e4){const e=typeof o=="string"?o:Sy(o);return new Promise((s,r)=>{const n=$f.get(e);if(n)return s(n);const a=new Image;a.onload=l=>{clearTimeout(i);const c=a.naturalWidth||a.width,u=a.naturalHeight||a.height,f={width:c,height:u,aspectRatio:c/u,imageData:Lg(a),element:a};$f.set(e,f),s(f),a.onerror=a.onload=null},a.onerror=l=>{clearTimeout(i),r(l)},a.src=e;const i=setTimeout(()=>{r("Timeout!")},t)})}async function Ey(o,t=6e4){return new Promise((e,s)=>{const r=document.createElement("script");r.type="text/javascript",r.async=!1,r.onload=a=>{clearTimeout(n),e(a),r.onerror=r.onload=null},r.onerror=a=>{clearTimeout(n),s(a)},r.src=o;const n=setTimeout(()=>{s("Timeout!")},t);document.body.appendChild(r)})}function Nf(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()}const Mn=new si,Py=(o=!0)=>{Mn.filter((t,e)=>(e.alternate&&(jf(e,e.alternate),o&&Mn.set(t,e.alternate),e.alternate=void 0),o))};function Mf(o){let t=Mn.get(o);return t||(t=Gi(o),Mn.set(o,t)),t}function Oy(o){const t=Mf(o);return t.alternate||(t.alternate=Gi(o)),t.alternate}function Af(o,t,e=!0){t(Oy(o)),yf("FLUSH_DOM_ACTION",()=>Py(e),50)}function Cr(o,t,e){const s=Mf(o);return s.props.style=s.props.style||{},t?s.props.style[t]||s.props.style[xu(t)]||s.props.style[is(t)]||"":s.props.style}function zf(o,t,e){Af(o,s=>{s.props.style=s.props.style||{},typeof t=="string"&&e?s.props.style[t]=e:t instanceof Object&&Object.keys(t).forEach(r=>{s.props.style[r]=t[r]})},!0)}function Vf(o){const t=[];if(getComputedStyle){const e=getComputedStyle(o);for(let s=0,r=e.length;s<r;s++)t.push(e[s]+":"+e.getPropertyValue(e[s]))}else{const e=o.currentStyle;for(const s in e)t.push(s+":"+e[s])}return t.push(...(o.style.cssText||"").split(";")),Object.fromEntries(t.filter(e=>!!e).map(e=>e.split(":").map((s,r)=>r==0?xu(s).trim():s.trim())))}function Bi(o,t,e){typeof t=="string"&&e?o.style.setProperty(is(t),e.replace(/!important/i,""),String(e).toLowerCase().includes("!important")?"important":""):t instanceof Object&&Object.keys(t).forEach(s=>{Bi(o,s,t[s])})}function Bf(o,t){typeof t=="string"?o.style.removeProperty(is(t)):Object.keys(t).forEach(e=>{Bf(o,e)})}function zs(o,t){let e;if(typeof t=="string"){const r=document.querySelector(t)?.shadowRoot;r?e=r:e=document.querySelector(t)}else e=t||document.getElementsByTagName("head")[0];const s=document.createElement("style");if(s.innerHTML=o,e)return e.appendChild(s),()=>{(e instanceof HTMLElement||e instanceof ShadowRoot)&&e.removeChild(s)};{const r=document.styleSheets[0].insertRule(o);return()=>{document.styleSheets[0].deleteRule(r)}}}function Ry(o,t,e={}){Object.prototype.hasOwnProperty.call(e,"transform")||Object.assign(e,{transform:Cr(o,"transform")||""});const s=Cf(e.transform),r={};for(const n in t){const a=t[n];switch(n){case"transform":break;case"translate":s.translate(a[0]||0,a[1]||0);break;case"translateTo":s.translateTo(a[0]||0,a[1]||0);break;case"translateX":s.translateX(a||0);break;case"translateXTo":s.translateXTo(a||0);break;case"translateY":s.translateY(a||0);break;case"translateYTo":s.translateYTo(a||0);break;case"translateZ":s.translateZ(a||0);break;case"translateZTo":s.translateZTo(a||0);break;case"translate3d":s.translate3d(a[0]||0,a[1]||0,a[2]||0);break;case"translate3dTo":s.translate3dTo(a[0]||0,a[1]||0,a[2]||0);break;case"rotate":typeof a=="number"?s.rotate(a||0):s.rotate(a[0]||0,a[1]||0,a[2]||0);break;case"rotateTo":typeof a=="number"?s.rotateTo(a||0):s.rotateTo(a[0]||0,a[1]||0,a[2]||0);break;case"rotateX":s.rotateX(a||0);break;case"rotateXTo":s.rotateXTo(a||0);break;case"rotateY":s.rotateY(a||0);break;case"rotateYTo":s.rotateYTo(a||0);break;case"rotateZ":s.rotateZ(a||0);break;case"rotateZTo":s.rotateZTo(a||0);break;case"rotate3d":s.rotate3d(a[0]||0,a[1]||0,a[2]||0);break;case"rotate3dTo":s.rotate3dTo(a[0]||0,a[1]||0,a[2]||0);break;case"scale":typeof a=="number"?s.scale(a||1):s.scale(a[0]||1,a[1]||1,a[2]||0,a[3]||0);break;case"scaleTo":typeof a=="number"?s.scaleTo(a||1):s.scaleTo(a[0]||1,a[1]||1,a[2]||0,a[3]||0);break;case"scaleX":s.scaleX(a||1);break;case"scaleXTo":s.scaleXTo(a||1);break;case"scaleY":s.scaleY(a||1);break;case"scaleYTo":s.scaleYTo(a||1);break;case"scaleZ":s.scaleZ(a||1);break;case"scaleZTo":s.scaleZTo(a||1);break;case"scale3d":typeof a=="number"?s.scale3d(a||1):s.scale3d(a[0]||1,a[1]||1,a[2]||1);break;case"scale3dTo":typeof a=="number"?s.scale3dTo(a||1):s.scale3dTo(a[0]||1,a[1]||1,a[2]||1);break;case"skew":typeof a=="number"?s.skew(a||0):s.skew(a[0]||0,a[1]||0);break;case"skewTo":typeof a=="number"?s.skewTo(a||0):s.skewTo(a[0]||0,a[1]||0);break;case"skewX":s.skewX(a||0);break;case"skewXTo":s.skewXTo(a||0);break;case"skewY":s.skewY(a||0);break;case"skewYTo":s.skewYTo(a||0);break;case"skewZ":break;case"skewZTo":break;case"skew3d":break;case"skew3dTo":break;case"perspective":s.perspective(a||0);break;default:Object.prototype.hasOwnProperty.call(e,n)||(e[n]=Cr(o,n)),Object.assign(r,{[n]:`${a}`});break}}return Object.assign(r,{transform:s.toString()}),r}function zo(o,t,e){if(t===void 0&&e===void 0)return Yf(o);if(typeof t=="string"&&e===void 0)return Iy(o,t);let s={};typeof t=="object"?s=t:typeof t=="string"&&typeof e=="string"&&(s[t]=e),Af(o,r=>{Object.entries(s).forEach(([n,a])=>{r.props[n]=a})})}function Yf(o){const t={};for(let e=0,s=o.attributes,r=s.length;e<r;e++){const n=s[e];n.nodeName&&n.nodeValue&&(n.nodeName==="style"?t[n.nodeName]=Vf(o):t[n.nodeName]=n.nodeValue)}return t}function Iy(o,t){return t==="style"?Vf(o):o.getAttribute(is(t))}function Xf(o,t,e){return o.setAttribute(is(t),e)}function Yi(o,t){return new RegExp("(?:^|\\s+)"+t+"(?:\\s+|$)").test(o.className)||!1}function vo(o){return{el:o,isRoot:()=>/(html|body)/i.test(o.tagName)||o===document.documentElement,isActive:()=>o===document.activeElement&&(o.type||o.href),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,s=t.length;e<s;e++)if(/(auto|scroll)/.test(Cr(t[e],"overflow")+Cr(t[e],"overflow-y")+Cr(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 s=0,r=e.length;s<r;s++)e[s].selected=e[s].value==t}},changeRadioChecked:function(t){if(this.isInputRadio()){const e=document.getElementsByName(o.name);for(let s=0,r=e.length;s<r;s++){const n=e[s];n.checked=n.value==t}}},changeCheckboxChecked:function(t){this.isInputCheckbox()&&(o.checked=t)},insert:(t,e="append")=>{typeof t=="string"?o[e](Fy(t)):o[e](t)},html:function(t){if(typeof t=="string"){o.innerHTML=t;const e=Gf(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 s=0;for(;!t&&s<=e.length-1;)"innerText"in e[s]&&(t=e[s].innerText),s++}return t},remove:()=>o.remove()}}function Fy(o){const t=document.createElement("template");return t.innerHTML=o,t.content.childNodes.forEach(e=>{const s=Gf(e);s!=e&&t.content.replaceChild(s,e)}),t.content}function Gf(o){return o.tagName=="SCRIPT"&&(o=Uf(o)),o.querySelectorAll&&o.querySelectorAll("script").forEach(t=>{t.parentNode?.replaceChild(Uf(t),t)}),o}function Uf(o){const t=o.ownerDocument.createElement("script");t.text=o.text;const e=o.attributes;for(let s=0,r=e.length;s<r;s++)t.setAttribute(e[s].name,e[s].value);return t}async function Xi(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 Dy(o,t={},e=[],s){return{tag:o,props:t,children:e,el:s}}function Gi(o){return Dy(o.tagName,Yf(o),Array.from(o.children).map(t=>Gi(t)),o)}function An(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 s=o.props[e];e.startsWith("on")?o.el.addEventListener(e.slice(2).toLowerCase(),s):e==="style"?Bi(o.el,o.props[e]):Xf(o.el,e,s)}return o.children&&(typeof o.children=="string"?o.el.appendChild(document.createTextNode(o.children)):o.children.forEach(e=>{An(e,o.el)})),t.appendChild(o.el),o.el}function jf(o,t){if(!o.el)return;if(o.tag!==t.tag){(o.el.parentElement||document.body).replaceChild(An(t),o.el);return}const e=t.el=o.el,s=o.props,r=t.props;for(const i in s)i in r||(i.startsWith("on")?e.removeEventListener(i.slice(2).toLowerCase(),s[i]):e.removeAttribute(i));for(const i in r){const l=s[i],c=r[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||Bf(e,u);Bi(e,c)}else Xf(e,i,c)}const n=o.children||[],a=t.children||[];if(typeof a=="string")e.innerHTML=a;else if(typeof n=="string")e.innerHTML="",a.forEach(i=>{An(i,e)});else{const i=Math.min(n.length,a.length);for(let l=0;l<i;l++)jf(n[l],a[l]);a.length>n.length&&a.slice(n.length).forEach(l=>{An(l,e)}),a.length<n.length&&n.slice(a.length).forEach(l=>{l.el&&e.removeChild(l.el)})}}function $y(o){const t=document.documentElement,e=window.top===window.self?window.devicePixelRatio:1;t.dataset.dpr=e;let s=100;const r=function(){const n=Math.min(t.clientWidth,o);t.dataset.width=n,t.dataset.rem=s=Math.round(100*(n/o)),t.style.fontSize=s+"px"};r(),window.rem2px=function(n){return n=parseFloat(n),n*s},window.px2rem=function(n){return n=parseFloat(n),n/s},window.addEventListener&&window.addEventListener("orientationchange"in window?"orientationchange":"resize",r,!1)}class Ui{app;ctx;shapes=[];isMouseDown=!1;currentMouseInShape;currentEnableDragMouseInShape;dragDx=0;dragDy=0;constructor(t,e=!1){if(this.app=t,!(this.app.container instanceof HTMLCanvasElement))throw new Error("app.container 应该为 HTMLCanvasElement!");this.ctx=new Ci(this.app.container,this.app.width,this.app.height,e),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:(s,r)=>{this.currentEnableDragMouseInShape&&(this.dragDx+=r.dx,this.dragDy+=r.dy),this.setCursor()}}),this.app.on("tap",()=>{for(const s of this.shapes)if(this.currentMouseInShape==s){s.emit("clicked");let r=s.parent;for(;r;)r.emit("clicked",s),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(Bt(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 xs&&t.shapes.forEach(e=>{this._addDrawShape(e)})}draw(t=[]){this.shapes=[],(Array.isArray(t)?t:[t]).forEach(e=>{this._addDrawShape(e)}),this.isMouseDown&&this.currentEnableDragMouseInShape||(this.currentMouseInShape=void 0);for(const e of this.shapes){if(!e.isShow)continue;if(this.ctx.save(),e.frameStart(this.app.mousePoint),Ly(this.ctx,e.getAttrs()),e.followMouse&&(!pn(e.x,this.app.mousePoint.x,5)||!pn(e.y,this.app.mousePoint.y,5))&&e.followTo(this.app.mousePoint),e.targetToAfterDragFree&&(this.isMouseDown||e.runEaseTo({x:e.targetToAfterDragFree.targetX,y:e.targetToAfterDragFree.targetY},{easing:e.targetToAfterDragFree?.easing})),this.isMouseDown&&this.currentEnableDragMouseInShape==e){e.isDragging=!0;const r=this.dragDx,n=this.dragDy;if(this.dragDx=0,this.dragDy=0,r||n){if(e.x+=r,e.y+=n,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",r,n)}}else e.isDragging=!1;e.frameUpdate(this.app.mousePoint,this.ctx),this.transformCtxBaseOnShape(e),e.toCanvasContext(this.ctx),this.ctx.hasSetCustomStrokeStyle&&this.ctx.stroke(),this.ctx.hasSetCustomFillStyle&&this.ctx.fill();const s=this.ctx.currentPath2D;if(!this.currentMouseInShape){const r=this.ctx.isPointInPath(s,this.app.mousePoint.x,this.app.mousePoint.y)||this.ctx.isPointInStroke(s,this.app.mousePoint.x,this.app.mousePoint.y)||!1;e.isMouseIn=r,r&&(this.currentMouseInShape=e,e.enableDrag&&(this.currentEnableDragMouseInShape=e))}e.frameEnd(this.app.mousePoint),this.ctx.restore()}this.currentMouseInShape||(this.currentEnableDragMouseInShape=void 0)}drawMouseMoveLine(t="line",e){switch(t){case"brush":const s=e?.brushSize??10,r=e?.brushDensity??50,n=e?.brushColor??"#000000",a=this.ctx.getImageData(0,0,this.ctx.canvas.width,this.ctx.canvas.height),i=a.data,l=me(n);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()*s,d=this.app.mousePoint.x+Math.cos(u)*f|0,p=this.app.mousePoint.y+Math.sin(u)*f|0,h=(d+p*a.width)*4;i[h]=l.r,i[h+1]=l.g,i[h+2]=l.b,i[h+3]=255}this.ctx.putImageData(a)}}});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 Ly(o,t){for(const e in t){const s=t[e];switch(e){case"fill":s!=="none"&&(o.fillStyle=s);break;case"stroke":s!=="none"&&(o.strokeStyle=s);break;case"stroke-width":case"strokeWidth":o.lineWidth=Number(s);break;case"stroke-linecap":case"strokeLinecap":o.lineCap=s;break;case"stroke-linejoin":case"strokeLinejoin":switch(s){case"round":case"bevel":case"miter":o.lineJoin=s;break;default:o.lineJoin="miter";break}break;case"stroke-miterlimit":case"strokeMiterlimit":o.miterLimit=Number(s);break;case"stroke-opacity":case"strokeOpacity":break;case"stroke-dashoffset":case"strokeDashoffset":o.lineDashOffset=Number(s);break;case"stroke-dasharray":case"strokeDasharray":typeof s=="string"&&o.setLineDash(s.split(/\s+/).map(r=>Number(r)));break;case"cursor":break;case"font":typeof s=="string"&&(o.font=s);break;case"font-size":case"fontSize":o.font+=` ${s}`;break;case"font-family":case"fontFamily":o.font+=` ${s}`;break;case"font-weight":case"fontWeight":break;case"font-style":case"fontStyle":break;case"text-anchor":case"textAnchor":switch(s){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(s){case"middle":case"bottom":case"top":case"alphabetic":case"hanging":case"ideographic":o.textBaseline=s;break;default:o.textBaseline="alphabetic";break}break}}}class Ny{map;constructor(t,e=120.619585,s=31.299379,r=18){this.map=new T.Map(t),this.map.centerAndZoom(new T.LngLat(e,s),r)}}const My=q({__name:"Icon.ce",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("span",{class:"icon",style:M(["color: "+e.color])},[ct(Ct(uf),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),Ay=`.icon[data-v-7966389b]{display:inline-flex;justify-content:center;align-items:center;cursor:pointer;font-size:1em}
47
+ `,it=(o,t)=>{const e=o.__vccOpts||o;for(const[s,r]of t)e[s]=r;return e},Hf=it(My,[["styles",[Ay]],["__scopeId","data-v-7966389b"]]),zy=q({__name:"Icon",props:{icon:{default:"mdi-light:home"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("span",{class:"icon",style:M(["color: "+e.color])},[ct(Ct(uf),{icon:t.icon,color:e.color},null,8,["icon","color"])],4))}}),hx="",ks=it(zy,[["__scopeId","data-v-3f9d90d2"]]),Vy={class:"loading-11",ref:"loading11"},By={class:"container container-1"},Yy={class:"container container-2"},Xy={class:"container container-3"},Gy=q({__name:"Loading11",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(o){const t=o;return(e,s)=>(L(),V("div",Vy,[E("div",{class:"loading-11-inner",style:M({width:t.width,height:t.width})},[E("div",By,[E("div",{class:"dot dot-1",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:M({backgroundColor:t.color})},null,4)]),E("div",Yy,[E("div",{class:"dot dot-1",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:M({backgroundColor:t.color})},null,4)]),E("div",Xy,[E("div",{class:"dot dot-1",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:M({backgroundColor:t.color})},null,4)])],4)],512))}}),px="",zn=it(Gy,[["__scopeId","data-v-f95fac77"]]),Uy={key:0,class:"loading"},bo=it(q({customOptions:{Loading11:zn},inheritAttrs:!0,__name:"Button.ce",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(s.borderColor),i=R(s.bgColor),l=R(s.fontColor),c=R(s.borderColor),u=R(s.bgColor);function f(m){switch(m){case"outline":a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorGrayFF,l.value=s.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorPrimary,l.value=s.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}St(()=>s.stylePattern,()=>{f(s.stylePattern)},{immediate:!0});const d=R(s.disabled?"0.6":"1"),p=R(s.disabled?"not-allowed":"pointer");let h=!1;const w=()=>{s.disabled||(h=!0,a.value=me(c.value).lighten(.05).toString(),i.value=me(u.value).lighten(.05).toString())},_=()=>{s.disabled||(h=!1,a.value=c.value,i.value=u.value)},x=R(!1),g=Ru(()=>{s.disabled||x.value||(a.value=me(c.value).darken(.05).toString(),i.value=me(u.value).darken(.05).toString(),setTimeout(()=>{h?w():_()},150),r("yz-click"),r("click"),s.asyncClick&&(x.value=!0,s.asyncClick().then(()=>{x.value=!1}).catch(()=>{x.value=!1})))},500);return t({el:n}),(m,b)=>(L(),V("div",{ref_key:"el",ref:n,class:"button",style:M([`opacity: ${d.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${s.borderRadius}`,`height: ${s.height}`,`line-height: ${s.height}`,`font-size: ${s.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:w,onMouseleave:_,onClick:b[0]||(b[0]=(...C)=>Ct(g)&&Ct(g)(...C))},[E("label",{class:"label truncate",style:M({padding:"0 "+m.padding,cursor:p.value})},[x.value?(L(),V("div",Uy,[ct(zn,{color:l.value},null,8,["color"])])):Rt("",!0),kt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),Nt(ks,{key:0,icon:m.icon,color:l.value,style:M({marginRight:Ct(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Rt("",!0),E("span",{style:M({cursor:p.value})},yt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),Nt(ks,{key:1,icon:m.icon,color:l.value,style:M({marginLeft:Ct(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Rt("",!0)],!0)],4)],36))}}),[["styles",[`.button[data-v-42c4dc4c]{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;z-index:0}.label[data-v-42c4dc4c]{display:inline-flex;justify-content:center;align-items:center}.loading[data-v-42c4dc4c]{margin-right:6px}
48
+ `]],["__scopeId","data-v-42c4dc4c"]]),jy={key:0,class:"loading"},Hy=q({customOptions:{Loading11:zn},inheritAttrs:!0,__name:"Button",props:{label:{},icon:{},iconPosition:{default:"left"},disabled:{type:Boolean,default:!1},height:{default:"44px"},padding:{default:"20px"},fontSize:{default:"14px"},borderRadius:{default:"4px"},stylePattern:{default:"fullfilled"},borderColor:{},bgColor:{},fontColor:{},asyncClick:{}},emits:["yz-click","click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(s.borderColor),i=R(s.bgColor),l=R(s.fontColor),c=R(s.borderColor),u=R(s.bgColor);function f(m){switch(m){case"outline":a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorGrayFF,l.value=s.fontColor??vt.colorPrimary,c.value=a.value,u.value=i.value;break;case"fullfilled":default:a.value=s.borderColor??vt.colorPrimary,i.value=s.bgColor??vt.colorPrimary,l.value=s.fontColor??vt.colorGrayFF,c.value=a.value,u.value=i.value;break}}St(()=>s.stylePattern,()=>{f(s.stylePattern)},{immediate:!0});const d=R(s.disabled?"0.6":"1"),p=R(s.disabled?"not-allowed":"pointer");let h=!1;const w=()=>{s.disabled||(h=!0,a.value=me(c.value).lighten(.05).toString(),i.value=me(u.value).lighten(.05).toString())},_=()=>{s.disabled||(h=!1,a.value=c.value,i.value=u.value)},x=R(!1),g=Ru(()=>{s.disabled||x.value||(a.value=me(c.value).darken(.05).toString(),i.value=me(u.value).darken(.05).toString(),setTimeout(()=>{h?w():_()},150),r("yz-click"),r("click"),s.asyncClick&&(x.value=!0,s.asyncClick().then(()=>{x.value=!1}).catch(()=>{x.value=!1})))},500);return t({el:n}),(m,b)=>(L(),V("div",{ref_key:"el",ref:n,class:"button",style:M([`opacity: ${d.value}`,`border: 1px solid ${a.value}`,`background-color: ${i.value}`,`color: ${l.value}`,`border-radius: ${s.borderRadius}`,`height: ${s.height}`,`line-height: ${s.height}`,`font-size: ${s.fontSize}`,`cursor: ${p.value}`,"user-select: none"]),onMouseover:w,onMouseleave:_,onClick:b[0]||(b[0]=(...C)=>Ct(g)&&Ct(g)(...C))},[E("label",{class:"label truncate",style:M({padding:"0 "+m.padding,cursor:p.value})},[x.value?(L(),V("div",jy,[ct(zn,{color:l.value},null,8,["color"])])):Rt("",!0),kt(m.$slots,"default",{},()=>[m.icon&&m.iconPosition==="left"?(L(),Nt(ks,{key:0,icon:m.icon,color:l.value,style:M({marginRight:Ct(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Rt("",!0),E("span",{style:M({cursor:p.value})},yt(m.label),5),m.icon&&m.iconPosition==="right"?(L(),Nt(ks,{key:1,icon:m.icon,color:l.value,style:M({marginLeft:Ct(vt).d4,cursor:p.value})},null,8,["icon","color","style"])):Rt("",!0)],!0)],4)],36))}}),yx="",ne=it(Hy,[["__scopeId","data-v-b3e1b144"]]),Wy=["onClick","value"],Zy={class:"option-inner"},qy=it(q({customOptions:{Icon:ks,Button:ne},__name:"Select.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"14px"}},emits:["change"],setup(o,{emit:t}){const e=o,s=t;gs(()=>{zs(`
50
49
  :root {
51
50
  --select-option-bg-color: ${vt.colorGrayFF};
52
51
  --select-option-bg-color-hover: ${vt.colorGrayF5};
53
52
  }
54
- `)});const r=I(!1),n=I(e.initIndex);St(n,function(){o("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(l){n.value=l,r.value=!1}return(l,c)=>(L(),Y("div",{class:"select",style:A(["font-size:"+l.fontSize])},[E("div",{onClick:a},[kt(l.$slots,"button",{selectedIndex:n.value},()=>[lt(re,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[n.value],style:{width:"100%"}},null,8,["label"])],!0)]),ns(E("div",{class:"options",style:A({border:"1px solid "+Et(vt).colorGrayCC})},[(L(!0),Y(Xt,null,ye(l.options,(u,h)=>(L(),Y("div",{onClick:f=>i(h),class:"option",key:h,value:h,style:A({borderTop:(h==0?"0":"1px")+" solid "+Et(vt).colorGrayCC})},[E("div",Oy,[kt(l.$slots,"default",{item:u,index:h},()=>[E("span",null,yt(u),1),h==n.value?(L(),Mt(ho,{key:0,icon:"mingcute:check-fill",class:"icon"})):Ot("",!0)],!0)])],12,Py))),128))],4),[[Bo,r.value]])],4))}}),[["styles",[`.select[data-v-e2eda65b]{display:inline-block;position:relative}.options[data-v-e2eda65b]{position:relative;width:100%;text-align:center;margin:0;padding:0;box-sizing:border-box;background-color:#fff}.option[data-v-e2eda65b]{cursor:pointer}.option-inner[data-v-e2eda65b]{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-e2eda65b]:hover{background-color:var(--select-option-bg-color-hover)}.icon[data-v-e2eda65b]{position:absolute;right:.5em;top:50%;transform:translateY(-50%)}
55
- `]],["__scopeId","data-v-e2eda65b"]]),Ry=["width","height"],Fy=["fill"],$y=Q({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:vt.colorGrayCC}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,Fy)],8,Ry))}}),yx="",$n=it($y,[["__scopeId","data-v-b1f2ae20"]]),Dy={class:"button-default"},Ly={class:"truncate"},My=["onClick","value"],Ay=Q({customOptions:{SVGDown:$n},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:vt.colorGrayFF},hoverColor:{default:vt.colorGrayF5},selectedColor:{default:vt.colorPrimary},fontColor:{default:vt.colorGray33},duration:{default:300}},emits:["change"],setup(s,{emit:t}){const e=s,o=t;Lo(()=>{ko(`
53
+ `)});const r=R(!1),n=R(e.initIndex);St(n,function(){s("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(l){n.value=l,r.value=!1}return(l,c)=>(L(),V("div",{class:"select",style:M(["font-size:"+l.fontSize])},[E("div",{onClick:a},[kt(l.$slots,"button",{selectedIndex:n.value},()=>[ct(ne,{icon:"carbon:chevron-sort",iconPosition:"right",label:l.options[n.value],style:{width:"100%"}},null,8,["label"])],!0)]),co(E("div",{class:"options",style:M({border:"1px solid "+Ct(vt).colorGrayCC})},[(L(!0),V(Vt,null,_e(l.options,(u,f)=>(L(),V("div",{onClick:d=>i(f),class:"option",key:f,value:f,style:M({borderTop:(f==0?"0":"1px")+" solid "+Ct(vt).colorGrayCC})},[E("div",Zy,[kt(l.$slots,"default",{item:u,index:f},()=>[E("span",null,yt(u),1),f==n.value?(L(),Nt(ks,{key:0,icon:"mingcute:check-fill",class:"icon"})):Rt("",!0)],!0)])],12,Wy))),128))],4),[[Ws,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%)}
54
+ `]],["__scopeId","data-v-fa255391"]]),Qy=["width","height"],Ky=["fill"],Jy=q({__name:"SVGDown",props:{width:{default:"1em"},height:{},color:{default:vt.colorGrayCC}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,Ky)],8,Qy))}}),_x="",Vn=it(Jy,[["__scopeId","data-v-b1f2ae20"]]),t1={class:"button-default"},e1={class:"truncate"},s1=["onClick","value"],o1=q({customOptions:{SVGDown:Vn},__name:"SelectAbsolute.ce",props:{options:{},initIndex:{default:0},fontSize:{default:"16px"},bgColor:{default:vt.colorGrayFF},hoverColor:{default:vt.colorGrayF5},selectedColor:{default:vt.colorPrimary},fontColor:{default:vt.colorGray33},duration:{default:300}},emits:["change"],setup(o,{emit:t}){const e=o,s=t;gs(()=>{zs(`
56
55
  :root {
57
56
  --select-option-bg-color: ${e.bgColor};
58
57
  --select-option-bg-color-hover: ${e.hoverColor};
59
58
  }
60
- `)});const r=I(!1),n=I(e.initIndex);St(n,function(){o("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(c){n.value=c,r.value=!1}const l=I("rotate(-180deg)");return uc(()=>{l.value=r.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(L(),Y("div",{class:"select-absolute",style:A({fontSize:e.fontSize,backgroundColor:e.bgColor})},[E("div",{class:"select-absolute-button",onClick:a},[kt(c.$slots,"button",{selectedIndex:n.value},()=>[E("div",Dy,[E("div",Ly,yt(c.options[n.value]),1),lt($n,{class:"icon-down",width:"20px",style:A({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),E("div",{class:"options",style:A({maxHeight:r.value?"200px":0,transition:`all ${e.duration}ms ease-in-out`,borderTop:`${r.value?1:0}px solid #e6e6e6`})},[(L(!0),Y(Xt,null,ye(c.options,(h,f)=>(L(),Y("div",{onClick:p=>i(f),class:"option",key:f,value:f},[kt(c.$slots,"default",{item:h,index:f},()=>[E("div",{class:"option-default",style:A({color:n.value==f?e.selectedColor:e.fontColor})},yt(h),5)],!0)],8,My))),128))],4)],4))}}),Lh=it(Ay,[["styles",[`.select-absolute[data-v-25297564]{display:block;position:relative;width:100%}.select-absolute-button[data-v-25297564]{overflow:hidden}.button-default[data-v-25297564]{display:flex;justify-content:space-between;align-items:center;padding:0 10px 0 15px;height:44px;line-height:44px}.icon-down[data-v-25297564]{flex:0 0 auto}.truncate[data-v-25297564]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.options[data-v-25297564]{position:absolute;bottom:0;left:0;transform:translateY(100%);z-index:99;width:100%;overflow-y:scroll;box-sizing:border-box}.options[data-v-25297564]::-webkit-scrollbar{-webkit-appearance:none}.options[data-v-25297564]::-webkit-scrollbar:vertical{width:2px}.options[data-v-25297564]::-webkit-scrollbar-track{background-color:var(--select-option-bg-color)}.options[data-v-25297564]::-webkit-scrollbar-thumb{border-radius:2px;background-color:#0000004d}.option[data-v-25297564]{cursor:pointer}.option-default[data-v-25297564]{padding:14px 15px;line-height:1;background-color:var(--select-option-bg-color)}.option-default[data-v-25297564]:hover{background-color:var(--select-option-bg-color-hover)}
61
- `]],["__scopeId","data-v-25297564"]]),Ny=it(Q({__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(s,{emit:t}){const e=s,o=io(e.width),r=io(e.height),n=io(e.padding),a=r.number-n.number*2+r.suffix,i=e.padding,l=o.number-io(i).number-io(a).number+o.suffix,c=t,u=I(e.init);St(u,function(){c("change",u.value)});function h(){u.value=!u.value}return(f,p)=>(L(),Y("div",{class:"switch",onClick:h,style:A(["width: "+e.width,"height: "+e.height,"background-color: "+(u.value?e.colorBgOn:e.colorBgOff)])},[E("span",{class:"round",style:A(["width: "+a,"height: "+a,"background-color: "+(u.value?e.colorPrimary:Et(ge)(e.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?l:Et(i))+", 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)}
62
- `]],["__scopeId","data-v-fedd031c"]]),zy=["stroke","fill"],By=["stroke","fill"],Yy=["stroke"],Bi=it(Q({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(s,{expose:t,emit:e}){const o=s,r=e;let n=I(o.selected),a=I(o.disabled),i=I(o.label);const l=()=>{switch(o.colorChangeMode){case"only-foreground":return a.value?o.colorDisabled:o.colorBackground;case"reverse":default:return a.value?o.colorDisabled:n.value?o.colorForeground:o.colorBackground}},c=()=>a.value?o.colorDisabled:ge(l()).darken(.2).toString(),u=()=>{switch(o.colorChangeMode){case"only-foreground":return a.value?o.colorBackground:o.colorForeground;case"reverse":default:return n.value?o.colorBackground:o.colorForeground}},h=()=>{a.value||(p(),r("change",n.value))},f=w=>{w!==n.value&&(n.value=w)},p=()=>{n.value=!n.value};return t({setValue:f,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:w=>{i.value=w}}),(w,g)=>(L(),Y("div",{class:te(["boolean-box",Et(a)?"disabled":""]),onClick:h},[kt(w.$slots,"default",{selected:Et(n),disabled:Et(a),label:Et(i)},()=>[(L(),Y("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:A(["width:"+o.boxWidth])},[o.isRounded?Ot("",!0):(L(),Y("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,zy)),o.isRounded?(L(),Y("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,By)):Ot("",!0),Et(n)?(L(),Y("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Yy)):Ot("",!0)],4)),w.label?(L(),Y("span",{key:0,style:A(["font-size:"+o.fontSize,"margin-left:"+o.labelPadding])},yt(w.label),5)):Ot("",!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}
63
- `]],["__scopeId","data-v-79270ea2"]]),Vy=["stroke","fill"],Xy=["stroke","fill"],Gy=["stroke"],Uy=Q({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(s,{expose:t,emit:e}){const o=s,r=e;let n=I(o.selected),a=I(o.disabled),i=I(o.label);const l=()=>{switch(o.colorChangeMode){case"only-foreground":return a.value?o.colorDisabled:o.colorBackground;case"reverse":default:return a.value?o.colorDisabled:n.value?o.colorForeground:o.colorBackground}},c=()=>a.value?o.colorDisabled:ge(l()).darken(.2).toString(),u=()=>{switch(o.colorChangeMode){case"only-foreground":return a.value?o.colorBackground:o.colorForeground;case"reverse":default:return n.value?o.colorBackground:o.colorForeground}},h=()=>{a.value||(p(),r("change",n.value))},f=w=>{w!==n.value&&(n.value=w)},p=()=>{n.value=!n.value};return t({setValue:f,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:w=>{i.value=w}}),(w,g)=>(L(),Y("div",{class:te(["boolean-box",Et(a)?"disabled":""]),onClick:h},[kt(w.$slots,"default",{selected:Et(n),disabled:Et(a),label:Et(i)},()=>[(L(),Y("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:A(["width:"+o.boxWidth])},[o.isRounded?Ot("",!0):(L(),Y("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,Vy)),o.isRounded?(L(),Y("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,Xy)):Ot("",!0),Et(n)?(L(),Y("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Gy)):Ot("",!0)],4)),w.label?(L(),Y("span",{key:0,style:A(["font-size:"+o.fontSize,"margin-left:"+o.labelPadding])},yt(w.label),5)):Ot("",!0)],!0)],2))}}),kx="",Uo=it(Uy,[["__scopeId","data-v-3df94794"]]),Yi=it(Q({customOptions:{BooleanBox:Uo},__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(s,{emit:t}){const e=s,o=t,r=I([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=I(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,o("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),Y(Xt,null,ye(l.options,(u,h)=>(L(),Y("div",{class:"radio-group",key:h,style:A(["margin-left:"+(h>0?e.itemPadding:0)])},[lt(Uo,{ref_for:!0,ref:f=>n(f,h),selected:Et(a)==h,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(f=>f===h)>=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:f=>i(h,f)},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}
64
- `]],["__scopeId","data-v-4793f58f"]]),Vi=it(Q({customOptions:{BooleanBox:Uo},__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(s,{emit:t}){const e=s,o=t;let r=Zt(e.initIndexs??[]);const n=(a,i)=>{const l=r.findIndex(u=>u===a);let c=!1;l>=0&&!i?(r.splice(l,1),c=!0):l<0&&i&&(r.push(a),c=!0),c&&o("change",r.map(u=>e.options[u]))};return(a,i)=>(L(!0),Y(Xt,null,ye(a.options,(l,c)=>(L(),Y("div",{class:"checkbox-group",key:c,style:A(["margin-left:"+(c>0?e.itemPadding:0)])},[lt(Uo,{selected:Et(r).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=>n(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}
65
- `]],["__scopeId","data-v-f267549e"]]),jy=["width","height"],Hy=["fill"],Wy=["fill"],Zy=["fill"],qy=Q({__name:"SVGPrompt",props:{width:{default:"1.5em"},height:{},color:{default:vt.colorRed}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12ZM19 12C19 15.866 15.866 19 12 19C8.13401 19 5 15.866 5 12C5 8.13401 8.13401 5 12 5C15.866 5 19 8.13401 19 12Z",fill:t.color},null,8,Hy),E("path",{d:"M12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4665 15.4946 11.4665 15.2001L11.4665 10.9334C11.4665 10.6388 11.7053 10.4001 11.9999 10.4001C12.2944 10.4001 12.5332 10.6388 12.5332 10.9334L12.5332 15.2001Z",fill:t.color},null,8,Wy),E("path",{d:"M12.5332 8.80006C12.5332 9.09462 12.2944 9.3334 11.9999 9.3334C11.7053 9.3334 11.4665 9.09462 11.4665 8.80006C11.4665 8.50551 11.7053 8.26673 11.9999 8.26673C12.2944 8.26673 12.5332 8.50551 12.5332 8.80006Z",fill:t.color},null,8,Zy)],8,jy))}}),Px="",Mh=it(qy,[["__scopeId","data-v-41294f60"]]),Qy={class:"input"},Ky={class:"ellipsis"},Jy={class:"input-wrap"},t1=["type","required"],e1={key:0,style:{paddingLeft:"0.5em"}},o1={key:1},s1=it(Q({customOptions:{SVGPrompt:Mh},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},height:{default:"44px"},type:{default:"text"},required:{type:Boolean,default:!1},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},borderColor:{default:"#cccccc"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500},validator:{},defaultValue:{}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=o.placeholder.split(""),a=o.duration/n.length,i=I(),l=I(!1),c=I(""),u=I(o.defaultValue||"");function h(){l.value=!0,r("focus"),r("yz-focus")}function f(){l.value=!1,r("blur"),r("yz-blur"),d()}function p(b){u.value=b.target.value,d()}function d(){if(u.value&&o.validator){const b=o.validator(u.value);if(!b.valid){c.value=b.errors[0];return}}c.value="",u.value&&(r("input",u.value),r("yz-input",u.value))}return Lo(()=>{o.defaultValue&&(i.value.value=o.defaultValue)}),ee(()=>{}),t({}),(b,_)=>(L(),Y("div",Qy,[c.value?(L(),Y("div",{key:0,class:"error-text",style:A({color:o.errorColor})},[lt(Mh,{class:"icon"}),E("div",Ky,yt(c.value),1)],4)):Ot("",!0),E("div",Jy,[E("input",{ref_key:"inputEl",ref:i,class:te(["input-raw",l.value||u.value?"focus":""]),type:o.type,required:o.required,autocomplete:"off",style:A({height:o.height,lineHeight:o.height,borderRadius:o.borderRadius,color:o.fontColor,borderColor:c.value?o.errorColor:l.value?o.focusColor:u.value||o.placeholderType=="normal"?o.borderColor:"transparent",transition:o.duration+"ms"}),onFocus:h,onBlur:f,onInput:p,onChange:p},null,46,t1),E("div",{class:"placeholder",style:A({lineHeight:l.value||u.value?1.3:o.height,color:o.placeholderColor,transition:o.placeholderType=="normal"?"":o.duration+"ms",transform:o.placeholderType=="normal"?"":l.value||u.value?"translateY(-100%)":"none"})},[!c.value&&o.placeholderType=="normal"&&!l.value&&!u.value?(L(),Y("div",e1,yt(o.placeholder),1)):Ot("",!0),!c.value&&o.placeholderType=="jump"?(L(),Y("div",o1,yt(o.placeholder),1)):Ot("",!0),!c.value&&o.placeholderType=="jump-each"?(L(!0),Y(Xt,{key:2},ye(Et(n),(v,w)=>(L(),Y("span",{key:w,style:A({transition:o.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${a*w}ms`,transform:l.value||u.value?`translateX(${100*w}%) translateY(-100%)`:`translateX(${100*w}%)`}),class:"single"},yt(v),5))),128)):Ot("",!0)],4),E("div",{class:"background",style:A({transition:o.duration+"ms",backgroundColor:o.placeholderType=="normal"||l.value||u.value?"transparent":o.borderColor,height:o.placeholderType=="normal"||l.value||u.value?o.height:"2px",borderRadius:o.borderRadius})},null,4)])]))}}),[["styles",[`.input[data-v-812cd68c]{position:relative;box-sizing:border-box;font-size:1em}.error-text[data-v-812cd68c]{position:absolute;top:0;left:0;width:100%;font-size:.75em;display:flex;align-items:center;transform:translateY(-100%)}.icon[data-v-812cd68c]{flex:0 0 auto}.ellipsis[data-v-812cd68c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.input-wrap[data-v-812cd68c]{position:relative;box-sizing:border-box}.input-raw[data-v-812cd68c]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;border:1px solid transparent;padding:.6em;z-index:10}.background[data-v-812cd68c]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-812cd68c]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus~.placeholder[data-v-812cd68c]{font-size:.75em}.placeholder>div[data-v-812cd68c]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-812cd68c]{position:absolute;left:0;top:0}
66
- `]],["__scopeId","data-v-812cd68c"]]),r1=["max","min","step","value","autofocus"],n1={key:0,class:"label"},Xi=it(Q({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(s,{expose:t,emit:e}){const o=s,r=e,n=I(o.defaultValue),a=()=>xe((n.value-o.min)/(o.max-o.min),4)*100,i=I(a());function l(h){n.value=xe(h.target.value,2),i.value=a(),r("change",n.value)}const c=`
59
+ `)});const r=R(!1),n=R(e.initIndex);St(n,function(){s("change",n.value,e.options[n.value])});function a(){r.value=!r.value}function i(c){n.value=c,r.value=!1}const l=R("rotate(-180deg)");return Ic(()=>{l.value=r.value?"rotate(0deg)":"rotate(-90deg)"}),(c,u)=>(L(),V("div",{class:"select-absolute",style:M({fontSize:e.fontSize,backgroundColor:e.bgColor})},[E("div",{class:"select-absolute-button",onClick:a},[kt(c.$slots,"button",{selectedIndex:n.value},()=>[E("div",t1,[E("div",e1,yt(c.options[n.value]),1),ct(Vn,{class:"icon-down",width:"20px",style:M({transition:`transform ${e.duration}ms ease-in-out`,transform:l.value})},null,8,["style"])])],!0)]),E("div",{class:"options",style:M({maxHeight:r.value?"200px":0,transition:`all ${e.duration}ms ease-in-out`,borderTop:`${r.value?1:0}px solid #e6e6e6`})},[(L(!0),V(Vt,null,_e(c.options,(f,d)=>(L(),V("div",{onClick:p=>i(d),class:"option",key:d,value:d},[kt(c.$slots,"default",{item:f,index:d},()=>[E("div",{class:"option-default",style:M({color:n.value==d?e.selectedColor:e.fontColor})},yt(f),5)],!0)],8,s1))),128))],4)],4))}}),Wf=it(o1,[["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)}
60
+ `]],["__scopeId","data-v-09b63393"]]),r1=it(q({__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,s=bs(e.width),r=bs(e.height),n=bs(e.padding),a=r.number-n.number*2+r.suffix,i=e.padding,l=s.number-bs(i).number-bs(a).number+s.suffix,c=t,u=R(e.init);St(u,function(){c("change",u.value)});function f(){u.value=!u.value}return(d,p)=>(L(),V("div",{class:"switch",onClick:f,style:M(["width: "+e.width,"height: "+e.height,"background-color: "+(u.value?e.colorBgOn:e.colorBgOff)])},[E("span",{class:"round",style:M(["width: "+a,"height: "+a,"background-color: "+(u.value?e.colorPrimary:Ct(me)(e.colorPrimary).lighten(.5).toString()),"transform: translate("+(u.value?l:Ct(i))+", 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)}
61
+ `]],["__scopeId","data-v-fedd031c"]]),n1=["stroke","fill"],a1=["stroke","fill"],i1=["stroke"],ji=it(q({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 s=o,r=e;let n=R(s.selected),a=R(s.disabled),i=R(s.label);const l=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorDisabled:s.colorBackground;case"reverse":default:return a.value?s.colorDisabled:n.value?s.colorForeground:s.colorBackground}},c=()=>a.value?s.colorDisabled:me(l()).darken(.2).toString(),u=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorBackground:s.colorForeground;case"reverse":default:return n.value?s.colorBackground:s.colorForeground}},f=()=>{a.value||(p(),r("change",n.value))},d=v=>{v!==n.value&&(n.value=v)},p=()=>{n.value=!n.value};return t({setValue:d,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:v=>{i.value=v}}),(v,g)=>(L(),V("div",{class:ee(["boolean-box",Ct(a)?"disabled":""]),onClick:f},[kt(v.$slots,"default",{selected:Ct(n),disabled:Ct(a),label:Ct(i)},()=>[(L(),V("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:M(["width:"+s.boxWidth])},[s.isRounded?Rt("",!0):(L(),V("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,n1)),s.isRounded?(L(),V("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,a1)):Rt("",!0),Ct(n)?(L(),V("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,i1)):Rt("",!0)],4)),v.label?(L(),V("span",{key:0,style:M(["font-size:"+s.fontSize,"margin-left:"+s.labelPadding])},yt(v.label),5)):Rt("",!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}
62
+ `]],["__scopeId","data-v-79270ea2"]]),l1=["stroke","fill"],c1=["stroke","fill"],u1=["stroke"],f1=q({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 s=o,r=e;let n=R(s.selected),a=R(s.disabled),i=R(s.label);const l=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorDisabled:s.colorBackground;case"reverse":default:return a.value?s.colorDisabled:n.value?s.colorForeground:s.colorBackground}},c=()=>a.value?s.colorDisabled:me(l()).darken(.2).toString(),u=()=>{switch(s.colorChangeMode){case"only-foreground":return a.value?s.colorBackground:s.colorForeground;case"reverse":default:return n.value?s.colorBackground:s.colorForeground}},f=()=>{a.value||(p(),r("change",n.value))},d=v=>{v!==n.value&&(n.value=v)},p=()=>{n.value=!n.value};return t({setValue:d,toggleValue:p,getValue:()=>n.value,enable:()=>{a.value=!1},disable:()=>{a.value=!0},setLabel:v=>{i.value=v}}),(v,g)=>(L(),V("div",{class:ee(["boolean-box",Ct(a)?"disabled":""]),onClick:f},[kt(v.$slots,"default",{selected:Ct(n),disabled:Ct(a),label:Ct(i)},()=>[(L(),V("svg",{viewBox:"0 0 24 24",fill:"none",class:"icon",style:M(["width:"+s.boxWidth])},[s.isRounded?Rt("",!0):(L(),V("rect",{key:0,x:"0",y:"0",width:"22",height:"22","strke-width":"1",stroke:c(),fill:l()},null,8,l1)),s.isRounded?(L(),V("circle",{key:1,cx:"12",cy:"12",r:"11","strke-width":"1",stroke:c(),fill:l()},null,8,c1)):Rt("",!0),Ct(n)?(L(),V("path",{key:2,d:"m7 13l3 3 7-7",stroke:u(),"stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,u1)):Rt("",!0)],4)),v.label?(L(),V("span",{key:0,style:M(["font-size:"+s.fontSize,"margin-left:"+s.labelPadding])},yt(v.label),5)):Rt("",!0)],!0)],2))}}),Sx="",Js=it(f1,[["__scopeId","data-v-3df94794"]]),Hi=it(q({customOptions:{BooleanBox:Js},__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,s=t,r=R([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=R(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,s("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),V(Vt,null,_e(l.options,(u,f)=>(L(),V("div",{class:"radio-group",key:f,style:M(["margin-left:"+(f>0?e.itemPadding:0)])},[ct(Js,{ref_for:!0,ref:d=>n(d,f),selected:Ct(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}
63
+ `]],["__scopeId","data-v-4793f58f"]]),Wi=it(q({customOptions:{BooleanBox:Js},__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,s=t;let r=Qt(e.initIndexs??[]);const n=(a,i)=>{const l=r.findIndex(u=>u===a);let c=!1;l>=0&&!i?(r.splice(l,1),c=!0):l<0&&i&&(r.push(a),c=!0),c&&s("change",r.map(u=>e.options[u]))};return(a,i)=>(L(!0),V(Vt,null,_e(a.options,(l,c)=>(L(),V("div",{class:"checkbox-group",key:c,style:M(["margin-left:"+(c>0?e.itemPadding:0)])},[ct(Js,{selected:Ct(r).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=>n(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}
64
+ `]],["__scopeId","data-v-f267549e"]]),d1=["width","height"],h1=["fill"],p1=["fill"],m1=["fill"],g1=q({__name:"SVGPrompt",props:{width:{default:"1.5em"},height:{},color:{default:vt.colorRed}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12ZM19 12C19 15.866 15.866 19 12 19C8.13401 19 5 15.866 5 12C5 8.13401 8.13401 5 12 5C15.866 5 19 8.13401 19 12Z",fill:t.color},null,8,h1),E("path",{d:"M12.5332 15.2001C12.5332 15.4946 12.2944 15.7334 11.9999 15.7334C11.7053 15.7334 11.4665 15.4946 11.4665 15.2001L11.4665 10.9334C11.4665 10.6388 11.7053 10.4001 11.9999 10.4001C12.2944 10.4001 12.5332 10.6388 12.5332 10.9334L12.5332 15.2001Z",fill:t.color},null,8,p1),E("path",{d:"M12.5332 8.80006C12.5332 9.09462 12.2944 9.3334 11.9999 9.3334C11.7053 9.3334 11.4665 9.09462 11.4665 8.80006C11.4665 8.50551 11.7053 8.26673 11.9999 8.26673C12.2944 8.26673 12.5332 8.50551 12.5332 8.80006Z",fill:t.color},null,8,m1)],8,d1))}}),Ix="",Zf=it(g1,[["__scopeId","data-v-41294f60"]]),y1={class:"input"},v1={class:"ellipsis"},b1={class:"input-wrap"},_1=["type","required"],x1={key:0,style:{paddingLeft:"0.5em"}},w1={key:1},k1=it(q({customOptions:{SVGPrompt:Zf},inheritAttrs:!0,__name:"Input.ce",props:{placeholder:{default:""},placeholderType:{default:"normal"},height:{default:"44px"},type:{default:"text"},required:{type:Boolean,default:!1},focusColor:{default:"#5a82f0"},errorColor:{default:"#ff5050"},borderColor:{default:"#cccccc"},placeholderColor:{default:"#8f8f8f"},fontColor:{default:"#333333"},borderRadius:{default:"4px"},duration:{default:500},validator:{},defaultValue:{}},emits:["focus","yz-focus","blur","yz-blur","input","yz-input"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=s.placeholder.split(""),a=s.duration/n.length,i=R(),l=R(!1),c=R(""),u=R(s.defaultValue||"");function f(){l.value=!0,r("focus"),r("yz-focus")}function d(){l.value=!1,r("blur"),r("yz-blur"),h()}function p(w){u.value=w.target.value,h()}function h(){if(u.value&&s.validator){const w=s.validator(u.value);if(!w.valid){c.value=w.errors[0];return}}c.value="",u.value&&(r("input",u.value),r("yz-input",u.value))}return gs(()=>{s.defaultValue&&(i.value.value=s.defaultValue)}),se(()=>{}),t({}),(w,_)=>(L(),V("div",y1,[c.value?(L(),V("div",{key:0,class:"error-text",style:M({color:s.errorColor})},[ct(Zf,{class:"icon"}),E("div",v1,yt(c.value),1)],4)):Rt("",!0),E("div",b1,[E("input",{ref_key:"inputEl",ref:i,class:ee(["input-raw",l.value||u.value?"focus":""]),type:s.type,required:s.required,autocomplete:"off",style:M({height:s.height,lineHeight:s.height,borderRadius:s.borderRadius,color:s.fontColor,borderColor:c.value?s.errorColor:l.value?s.focusColor:u.value||s.placeholderType=="normal"?s.borderColor:"transparent",transition:s.duration+"ms"}),onFocus:f,onBlur:d,onInput:p,onChange:p},null,46,_1),E("div",{class:"placeholder",style:M({lineHeight:l.value||u.value?1.3:s.height,color:s.placeholderColor,transition:s.placeholderType=="normal"?"":s.duration+"ms",transform:s.placeholderType=="normal"?"":l.value||u.value?"translateY(-100%)":"none"})},[!c.value&&s.placeholderType=="normal"&&!l.value&&!u.value?(L(),V("div",x1,yt(s.placeholder),1)):Rt("",!0),!c.value&&s.placeholderType=="jump"?(L(),V("div",w1,yt(s.placeholder),1)):Rt("",!0),!c.value&&s.placeholderType=="jump-each"?(L(!0),V(Vt,{key:2},_e(Ct(n),(x,v)=>(L(),V("span",{key:v,style:M({transition:s.duration+"ms cubic-bezier(0.68, -0.55, 0.265, 1.55)",transitionDelay:`${a*v}ms`,transform:l.value||u.value?`translateX(${100*v}%) translateY(-100%)`:`translateX(${100*v}%)`}),class:"single"},yt(x),5))),128)):Rt("",!0)],4),E("div",{class:"background",style:M({transition:s.duration+"ms",backgroundColor:s.placeholderType=="normal"||l.value||u.value?"transparent":s.borderColor,height:s.placeholderType=="normal"||l.value||u.value?s.height:"2px",borderRadius:s.borderRadius})},null,4)])]))}}),[["styles",[`.input[data-v-812cd68c]{position:relative;box-sizing:border-box;font-size:1em}.error-text[data-v-812cd68c]{position:absolute;top:0;left:0;width:100%;font-size:.75em;display:flex;align-items:center;transform:translateY(-100%)}.icon[data-v-812cd68c]{flex:0 0 auto}.ellipsis[data-v-812cd68c]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:normal;word-break:break-all}.input-wrap[data-v-812cd68c]{position:relative;box-sizing:border-box}.input-raw[data-v-812cd68c]{display:block;box-sizing:border-box;position:relative;width:100%;background:transparent;outline:none;box-shadow:none;border:1px solid transparent;padding:.6em;z-index:10}.background[data-v-812cd68c]{position:absolute;left:0;bottom:0;width:100%;pointer-events:none;z-index:9}.placeholder[data-v-812cd68c]{position:absolute;left:0;top:0;width:100%;pointer-events:none}.focus~.placeholder[data-v-812cd68c]{font-size:.75em}.placeholder>div[data-v-812cd68c]{width:100%;display:flex;justify-content:flex-start;align-items:center}.placeholder>span.single[data-v-812cd68c]{position:absolute;left:0;top:0}
65
+ `]],["__scopeId","data-v-812cd68c"]]),C1=["max","min","step","value","autofocus"],T1={key:0,class:"label"},Zi=it(q({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 s=o,r=e,n=R(s.defaultValue),a=()=>Ce((n.value-s.min)/(s.max-s.min),4)*100,i=R(a());function l(f){n.value=Ce(f.target.value,2),i.value=a(),r("change",n.value)}const c=`
67
66
  :root {
68
- --input-range-color: ${o.color};
69
- --input-range-thumb-size: ${o.handleSize};
70
- --input-range-track-size: ${o.barHeight};
67
+ --input-range-color: ${s.color};
68
+ --input-range-thumb-size: ${s.handleSize};
69
+ --input-range-track-size: ${s.barHeight};
71
70
  }
72
71
  :host {
73
- --input-range-color: ${o.color};
74
- --input-range-thumb-size: ${o.handleSize};
75
- --input-range-track-size: ${o.barHeight};
72
+ --input-range-color: ${s.color};
73
+ --input-range-thumb-size: ${s.handleSize};
74
+ --input-range-track-size: ${s.barHeight};
76
75
  }
77
- `,u=I();return St(u,()=>{u.value&&ko(c,u.value)}),ee(()=>{}),t({}),(h,f)=>(L(),Y("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:o.max,min:o.min,step:o.step,value:n.value,autofocus:o.autofocus,onInput:l,style:A({background:`linear-gradient(to right, ${o.color} 0%, ${o.color} ${i.value}%, ${o.barColor} ${i.value}%, ${o.barColor})`})},null,44,r1),kt(h.$slots,"default",{value:n.value},()=>[h.showValue?(L(),Y("label",n1,yt(n.value)+yt(o.unit),1)):Ot("",!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}
78
- `]],["__scopeId","data-v-d547a5f1"]]),a1=["width","height"],i1=Q({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(),i=I(0),l=I(0);let c;St(n,()=>{n.value&&(c=new We(n.value,!1),c.on("resize",(b,_)=>{const v=$s();i.value=Math.min(b,v.width),l.value=Math.min(_,v.height),p()}),c.start())}),St(a,()=>{a.value&&p()});let u,h,f;function p(){u||!a.value||!i.value||!l.value||(u=new We(a.value,!1),u.on("resize",(b,_)=>{r("resize",b,_),h=new zi(u,o.enableCustomContext),f?.(h),r("ready",h)}),u.start())}function d(){return new Promise(b=>{if(h)return b(h);f=b})}return ee(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:d}),(b,_)=>(L(),Y("div",{class:"canvas",ref_key:"canvasOutterRef",ref:n},[E("canvas",{ref_key:"canvasRef",ref:a,width:i.value,height:l.value,style:A({backgroundColor:o.bgColor})},null,12,a1)],512))}}),$x="",Ye=it(i1,[["__scopeId","data-v-1fc03287"]]),l1={class:"input-range-canvas"},c1={key:0,class:"label"},Ah=it(Q({customOptions:{Canvas:Ye},inheritAttrs:!0,__name:"InputRangeCanvas.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(o.defaultValue),a=p=>{n.value=p,r("change",p)},i=io(o.handleSize,20).number/2,l=io(o.barHeight,4).number;let c;const u=()=>{c=new bh({x:0,y:i-l/2,min:o.min,max:o.max,step:o.step,defaultValue:n.value,barWidth:h,handleRadius:i,barHeight:l}),c.on("change",a)};let h=0;const f=I();return St(f,()=>{f.value&&f.value.getCanvas().then(p=>{h=p.app.width,u(),p.app.on("resize",d=>{h=d,u()}),ae(()=>(p.ctx.clearRect(),p.draw(c),!0))})}),ee(()=>{}),t({}),(p,d)=>(L(),Y("div",l1,[E("div",{class:"input",style:A({height:o.handleSize})},[lt(Ye,{ref_key:"canvasRef",ref:f},null,512)],4),kt(p.$slots,"default",{value:n.value},()=>[p.showValue?(L(),Y("div",c1,yt(n.value)+yt(o.unit),1)):Ot("",!0)],!0)]))}}),[["styles",[`.input-range-canvas[data-v-14730339]{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}.input[data-v-14730339]{flex:1 1 auto;overflow:hidden}.label[data-v-14730339]{min-width:3em;text-align:right}
79
- `]],["__scopeId","data-v-14730339"]]),xt=Q({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},styleSheets:{},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","start","end"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n="start";const a=()=>{n="start",r("start")},i=()=>{n="end",r("end")},l=()=>{n=="start"?i():a()},c=()=>{n=="start"?a():i()};let u=!1,h,f;const p=I();St(p,()=>{if(!(!p.value||h)){if(o.styleSheets){let _="";for(let v in o.styleSheets)_+=`${v}: ${o.styleSheets[v]};`;ko(`
76
+ `,u=R();return St(u,()=>{u.value&&zs(c,u.value)}),se(()=>{}),t({}),(f,d)=>(L(),V("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:s.max,min:s.min,step:s.step,value:n.value,autofocus:s.autofocus,onInput:l,style:M({background:`linear-gradient(to right, ${s.color} 0%, ${s.color} ${i.value}%, ${s.barColor} ${i.value}%, ${s.barColor})`})},null,44,C1),kt(f.$slots,"default",{value:n.value},()=>[f.showValue?(L(),V("label",T1,yt(n.value)+yt(s.unit),1)):Rt("",!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}
77
+ `]],["__scopeId","data-v-d547a5f1"]]),S1=["width","height"],E1=q({__name:"Canvas",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(),i=R(0),l=R(0);let c;St(n,()=>{n.value&&(c=new os(n.value,!1),c.on("resize",(w,_)=>{const x=Mo();i.value=Math.min(w,x.width),l.value=Math.min(_,x.height),p()}),c.start())}),St(a,()=>{a.value&&p()});let u,f,d;function p(){u||!a.value||!i.value||!l.value||(u=new os(a.value,!1),u.on("resize",(w,_)=>{r("resize",w,_),f=new Ui(u,s.enableCustomContext),d?.(f),r("ready",f)}),u.start())}function h(){return new Promise(w=>{if(f)return w(f);d=w})}return se(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:h}),(w,_)=>(L(),V("div",{class:"canvas",ref_key:"canvasOutterRef",ref:n},[E("canvas",{ref_key:"canvasRef",ref:a,width:i.value,height:l.value,style:M({backgroundColor:s.bgColor})},null,12,S1)],512))}}),Nx="",Ue=it(E1,[["__scopeId","data-v-1fc03287"]]),P1={class:"input-range-canvas"},O1={key:0,class:"label"},qf=it(q({customOptions:{Canvas:Ue},inheritAttrs:!0,__name:"InputRangeCanvas.ce",props:{min:{default:0},max:{default:100},step:{default:1},defaultValue:{default:0},unit:{default:""},showValue:{type:Boolean,default:!0},color:{default:"#5a82f0"},barColor:{default:"#f5f5f5"},handleSize:{default:"20px"},barHeight:{default:"4px"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.defaultValue),a=p=>{n.value=p,r("change",p)},i=bs(s.handleSize,20).number/2,l=bs(s.barHeight,4).number;let c;const u=()=>{c=new Ff({x:0,y:i-l/2,min:s.min,max:s.max,step:s.step,defaultValue:n.value,barWidth:f,handleRadius:i,barHeight:l}),c.on("change",a)};let f=0;const d=R();return St(d,()=>{d.value&&d.value.getCanvas().then(p=>{f=p.app.width,u(),p.app.on("resize",h=>{f=h,u()}),le(()=>(p.ctx.clearRect(),p.draw(c),!0))})}),se(()=>{}),t({}),(p,h)=>(L(),V("div",P1,[E("div",{class:"input",style:M({height:s.handleSize})},[ct(Ue,{ref_key:"canvasRef",ref:d},null,512)],4),kt(p.$slots,"default",{value:n.value},()=>[p.showValue?(L(),V("div",O1,yt(n.value)+yt(s.unit),1)):Rt("",!0)],!0)]))}}),[["styles",[`.input-range-canvas[data-v-14730339]{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}.input[data-v-14730339]{flex:1 1 auto;overflow:hidden}.label[data-v-14730339]{min-width:3em;text-align:right}
78
+ `]],["__scopeId","data-v-14730339"]]),wt=q({customOptions:{},inheritAttrs:!0,__name:"Container",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1},styleSheets:{}},emits:["ready","resize","start","end"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n="start";const a=()=>{n="start",r("start")},i=()=>{n="end",r("end")},l=()=>{n=="start"?i():a()},c=()=>{n=="start"?a():i()},u=R();let f=!1,d,p;gs(()=>{if(s.styleSheets){let _="";for(let x in s.styleSheets)_+=`${x}: ${s.styleSheets[x]};`;zs(`
80
79
  :root {
81
80
  ${_}
82
81
  }
83
82
  :host {
84
83
  ${_}
85
84
  }
86
- `,p.value)}h=new We(p.value,!1),h.on("resize",(_,v)=>{r("resize",_,v,p.value.getBoundingClientRect()),f?.(h),u||(u=!0,o.effectTriggerTiming!=="manual"&&a(),r("ready",h),o.effectTriggerTiming=="immediate"&&l())}),h.on("mouseEnter",()=>{o.effectTriggerTiming=="mouseMove"&&l()}),h.on("mouseLeave",()=>{o.effectTriggerTiming=="mouseMove"&&l()}),h.on("tap",()=>{o.effectTriggerTiming=="click"&&l(),o.supportCopyText&&Ai(ds(p.value).getInnerText()).then(()=>{}).catch(_=>{})}),h.start()}});const d=()=>new Promise(_=>{if(h)return _(h);f=_}),b=()=>d().then(()=>p.value.getBoundingClientRect());return ee(()=>{h?.destroy()}),t({getElement:()=>p.value,getApp:d,getSize:b,getStatus:()=>n,startEffect:a,endEffect:i,nextEffect:l,repeatEffect:c}),(_,v)=>(L(),Y("div",{class:te(["container",[o.type]]),ref_key:"containerRef",ref:p,style:A({position:"relative",boxSizing:"border-box",display:o.type=="shrink"?"inline-block":"block",width:o.type=="full"?"100%":"auto",height:o.type=="full"?"100%":"auto"})},[kt(_.$slots,"default")],6))}}),u1={class:"input-range-box"},h1={key:0,class:"label"},d1=Q({customOptions:{Container:xt},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:Go.inputColor},barColor:{default:Go.numberColor},barHeight:{default:"20px"}},emits:["change"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(o.defaultValue),a=()=>xe(mu(o.min,o.max,o.step)(n.value),2),i=()=>xe((n.value-o.min)/(o.max-o.min),4)*100;n.value=a();const l=I(i()),c={"--input-range-box-background-hover-color":ge(o.bgColor).lighten(.05).toString(),"--input-range-box-foreground-hover-color":ge(o.barColor).lighten(.05).toString()},u=I();function h(f){const p=async d=>{const b=await u.value.getSize();n.value=xe(jm(d,b.left,b.right,o.min,o.max),2),n.value=a(),l.value=i(),r("change",n.value)};f.captureDrag({start:d=>{p(d.clientX)},move:d=>{p(d.clientX)}})}return ee(()=>{}),t({}),(f,p)=>(L(),Y("div",u1,[E("div",{class:"box",style:A({height:o.barHeight,cursor:"ew-resize"})},[lt(xt,{ref_key:"boxContainerRef",ref:u,type:"full",styleSheets:c,onReady:h},{default:bt(()=>[E("div",{class:"background",style:A({backgroundColor:o.bgColor,width:"100%",height:"100%"})},null,4),E("div",{class:"foreground",style:A({backgroundColor:o.barColor,width:l.value+"%",height:"100%"})},null,4)]),_:1},512)],4),kt(f.$slots,"default",{value:n.value},()=>[f.showValue?(L(),Y("label",h1,yt(n.value)+yt(o.unit),1)):Ot("",!0)],!0)]))}}),Nh=it(d1,[["styles",[`.input-range-box[data-v-b07b3c9b]{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-b07b3c9b]{min-width:3em;text-align:right}.box[data-v-b07b3c9b]{flex:1 1 auto;position:relative}.foreground[data-v-b07b3c9b]{position:absolute;left:0;top:0}.box:hover .background[data-v-b07b3c9b]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-b07b3c9b]{background-color:var(--input-range-box-foreground-hover-color)!important}
87
- `]],["__scopeId","data-v-b07b3c9b"]]),Ms=Q({customOptions:{Container:xt},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(s,{expose:t,emit:e}){const o=s,r=e,n=Zt({}),a=Zt({});let i=o.name,l=o.duration,c=o.timingFunction,u=o.delay,h=o.repeat,f=o.direction;function p(){switch(i){case"superRainbow":l=o.duration||15e3;break;case"heartBeat":l=o.duration||1300;break;case"statusProcessing":l=o.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=o.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=o.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=o.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=o.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=o.duration||600;break;default:l=o.duration||500;break}switch(i){case"superRainbow":c=o.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=o.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=o.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=o.timingFunction||"ease-in-out";break;default:c=o.timingFunction||"ease";break}switch(i){default:u=o.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":h=o.repeat||"infinite";break;default:h=o.repeat||1;break}switch(i){case"superRainbow":f=o.direction||"alternate";break;default:f=o.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":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}St(()=>o.name,()=>{i=o.name,p()},{immediate:!0});const d=I(),b=I(),_=z=>{n.perspective=o.perspective,z.on("animationstart",tt=>{r("cssanimationstart",tt.animationName)}),z.on("animationend",tt=>{r("cssanimationend",tt.animationName)})};function v(){b.value.style.animation="none",b.value.offsetHeight,b.value.style.animation=null}const w=()=>{a.animation="none"},g=()=>{v(),a.animation=`${l}ms ${c} ${u}ms ${h} ${f} ${o.fillMode} ${o.playState} ${i}`};return t({trigger:z=>{z&&(i=z,p()),d.value.startEffect(),f="normal",d.value.endEffect()},triggerReverse:z=>{z&&(i=z,p()),d.value.startEffect(),f="reverse",d.value.endEffect()},clear:()=>{a.animation="none"}}),(z,tt)=>(L(),Mt(xt,{class:"css-animation",ref_key:"containerRef",ref:d,type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,style:A(n),onReady:_,onStart:w,onEnd:g},{default:bt(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:b,style:A({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[kt(z.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),Ax="",f1={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},zh=Q({customOptions:{CSSAnimation:Ms},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(s,{expose:t,emit:e}){const o=s;let r="";switch(o.status){case"wait":r="#d9d9d9";break;case"success":r="#52c41a";break;case"error":r="#ff4d4f";break;case"processing":default:r="#1677ff";break}return o.color&&(r=o.color),t({}),(n,a)=>(L(),Y("div",f1,[n.status==="processing"?(L(),Mt(Ms,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:bt(()=>[E("div",{style:A({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Et(r)})},null,4)]),_:1})):Ot("",!0),E("div",{style:A({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Et(r)})},null,4)]))}}),p1=it(Q({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(!1);function i(){a.value=!0}function l(){a.value=!1}function c(h){h.preventDefault()}function u(h){h.preventDefault(),r("yz-drop",h.dataTransfer.files),l()}return ee(()=>{}),t({}),(h,f)=>(L(),Y("div",{class:te(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:n,onDragenter:i,onDragleave:l,onDragover:c,onDrop:u},[kt(h.$slots,"default",{},()=>[jt(yt(o.placeholder),1)],!0)],34))}}),[["styles",[`.input-file-drop[data-v-141eb7ce]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-141eb7ce]{border-color:#000;color:#000}
88
- `]],["__scopeId","data-v-141eb7ce"]]),m1=["width","height"],g1=["fill"],y1=Q({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("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,g1)],8,m1))}}),Bx="",Bh=it(y1,[["__scopeId","data-v-4747d4a7"]]),v1=Q({customOptions:{SVGDelete:Bh},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{bgColor:{default:vt.colorGrayFF},deleteColor:{default:vt.colorRed},fontColor:{default:vt.colorGrayFF},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(!1),a=()=>{r("delete"),n.value=!1};let i;const l=I();return St(l,()=>{l.value&&(i=new We(l.value),i.on("panLeft",()=>{n.value=!0}),i.on("panRight",()=>{n.value=!1}),i.on("tapOutSide",()=>{n.value=!1}))}),ee(()=>{i?.destroy()}),t({}),(c,u)=>(L(),Y("div",{class:"parent",ref_key:"item",ref:l,style:A({backgroundColor:o.bgColor,borderRadius:o.borderRadius})},[E("div",{class:"content",style:A({transition:"all ease-in "+o.transtionDuration,transform:n.value?"translate(-"+o.deleteWidth+", 0)":"translate(0, 0)"})},[kt(c.$slots,"default",{},void 0,!0)],4),E("div",{class:"delete",onClick:a,style:A({backgroundColor:o.deleteColor,width:o.deleteWidth,transition:"all ease-in "+o.transtionDuration,transform:n.value?"translate(0, 0)":"translate("+o.deleteWidth+", 0)"})},[lt(Bh,{color:o.fontColor},null,8,["color"])],4)],4))}}),Yh=it(v1,[["styles",[`.parent[data-v-4ea80232]{position:relative;overflow:hidden;width:100%}.content[data-v-4ea80232]{width:100%;height:100%}.delete[data-v-4ea80232]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
89
- `]],["__scopeId","data-v-4ea80232"]]),b1=it(Q({customOptions:{Container:xt,SVGDown:$n},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(s,{expose:t,emit:e}){const o=s,r=e,n=(h,f)=>{r("resize",h,f)},a=I(Number.MAX_SAFE_INTEGER+"px"),i=I(),l=I(!0);St(i,()=>{i.value&&(a.value=i.value.getBoundingClientRect().height+"px",l.value=o.initOpen)});function c(){l.value=!l.value,l.value?r("open"):r("close")}const u=I(0);return uc(()=>{u.value=l.value?0:-90}),t({}),(h,f)=>(L(),Mt(xt,{onResize:n},{default:bt(()=>[E("div",{class:"accordion",style:A({background:o.bgColor,color:o.fontColor,borderRadius:o.borderRadius})},[E("div",{class:"accordion-title",onClick:c,style:A({height:o.titleHeight,lineHeight:o.titleHeight,margin:`0 ${o.padding}`,transitionDelay:`${l.value?0:o.duration}ms`,borderBottom:`${l.value?1:0}px solid ${o.borderColor}`})},[kt(h.$slots,"title",{},()=>[jt("title")],!0),lt($n,{class:"arrow",style:A({transition:`transform ${o.duration}ms ease-in-out`,transform:`rotate(${u.value}deg)`})},null,8,["style"])],4),E("div",{class:"accordion-content",ref_key:"content",ref:i,style:A({margin:`0 ${o.padding}`,transition:`max-height ${o.duration}ms ease-in-out`,maxHeight:l.value?a.value:"0"})},[kt(h.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-33318c10]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-33318c10]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-33318c10]{word-break:break-all;overflow:hidden}
90
- `]],["__scopeId","data-v-33318c10"]]),_1=Q({__name:"ProgressBar",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(s,{expose:t,emit:e}){const o=s,r=I(0);function n(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:n}),(a,i)=>(L(),Y("div",{class:"bar",style:A({border:`1px solid ${o.borderColor}`,borderRadius:o.borderRadius,backgroundColor:o.bgColor})},[E("div",{class:"bar-inner",style:A({width:r.value+"%",backgroundColor:o.progressColor})},yt(o.showText?r.value+"%":""),5)],4))}}),Gx="",Dn=it(_1,[["__scopeId","data-v-d986b312"]]),x1=["width","height"],w1=["src","type"],k1={class:"video-progress-bar"},Vh=it(Q({customOptions:{ProgressBar:Dn},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(s,{expose:t,emit:e}){const o=s,r=e;let n;function a(h){if(n){n.resume();return}n=new Oe({frameDuration:this.duration*1e3}),n.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{r("start"),l.value?.goto(0)},onUpdate:f=>{l.value?.goto(f.x)},onComplete:()=>{r("complete"),n=null}}),n.play()}const i=I(),l=I();St(i,()=>{i.value&&(i.value.addEventListener("play",a),o.autoplay&&Pi.tryAutoPlayOrAutoPlayAfterClick(i.value))}),ee(()=>{i.value?.removeEventListener(a)});function c(){i.value?.play()}function u(){i.value?.pause(),n?.pause()}return t({play:c,pause:u}),(h,f)=>(L(),Y("div",{class:"video",style:A({width:o.width,height:o.height}),onClick:c},[E("video",{ref_key:"video",ref:i,width:o.width,height:o.height,preload:"metadata"},[E("source",{src:o.src,type:o.type},null,8,w1)],8,x1),E("div",k1,[lt(Dn,{ref_key:"bar",ref:l,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-b54fc81b]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-b54fc81b]{position:absolute;bottom:0;left:0;width:100%;height:6px}
91
- `]],["__scopeId","data-v-b54fc81b"]]),jo=Q({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},color:{default:ge("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(s,{expose:t,emit:e}){const o=s,r=I(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return St(()=>o.visible,()=>{o.isGlobal?o.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(o.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>o.visible?(L(),Y("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:A([`background-color: ${o.color}`,`position: ${o.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[kt(i.$slots,"default")],4)):Ot("",!0)}}),C1=E("div",null,null,-1),be=Q({customOptions:{Overlay:jo,Container:xt},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:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=new Oe({frameDuration:o.dur}),a=Zt({backgroundColor:o.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=I("full");St(()=>[o.directionFrom,o.popValue],()=>{n.clear();const b=o.popValue?o.popValue:o.popPercent,_=o.popValue?"px":"%";switch(o.directionFrom){case"left":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:b},{left:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.left=`-${v.left}${_}`},onComplete:u});break;case"right":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:b},{right:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.right=`-${v.right}${_}`},onComplete:u});break;case"top":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:b},{top:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.top=`-${v.top}${_}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:b},{bottom:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.bottom=`-${v.bottom}${_}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.transform=`translate(-50%, -50%) scale(${v.scale})`,a.opacity=`${v.opacity}`},onComplete:u});break;case"absolute":a.width=o.absoluteWidth,a.height=o.absoluteHeight,a.left=o.absoluteLeft,a.top=o.absoluteTop,delete a.right,delete a.bottom;break}switch(o.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),St(()=>o.absoluteLeft,()=>{switch(o.directionFrom){case"absolute":a.left=o.absoluteLeft;break}}),St(()=>o.absoluteTop,()=>{switch(o.directionFrom){case"absolute":a.top=o.absoluteTop;break}}),St(()=>o.absoluteWidth,()=>{switch(o.directionFrom){case"absolute":a.width=o.absoluteWidth;break}}),St(()=>o.absoluteHeight,()=>{switch(o.directionFrom){case"absolute":a.height=o.absoluteHeight;break}});const l=(b,_,v)=>{r("resize",b,_,v)};let c="open";function u(){c=="open"?r("open"):(h.value=!1,r("close"))}const h=I(!1);function f(){h.value=!0,c="open",n.play()}function p(){switch(c="close",o.directionFrom){case"absolute":u();break;default:n.reverse();break}}function d(b){const _=o.directionFrom=="absolute"&&o.absoluteWidth=="100%"&&o.absoluteHeight=="100%"?"pop-content":"pop";b.target&&Mi(b.target,_)&&(o.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:f,close:p}),(b,_)=>(L(),Mt(jo,{visible:h.value,isGlobal:o.isGlobal,color:o.overlayBgColor},{default:bt(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:d},[lt(xt,{class:"pop-content",type:i.value,style:A(a),onResize:l},{default:bt(()=>[kt(b.$slots,"default",{},()=>[C1])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),T1=Q({...{},name:"Image",customOptions:{Container:xt,Pop:be},inheritAttrs:!0,__name:"Image.ce",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=new Oe({frameDuration:o.dur}),a=I(0),i=I(0),l=I(0),c=I(0),u=I(0),h=I(0),f=I(0),p=I(0),d=I(0),b=I(0);wh(o.src).then($=>{d.value=$.width,b.value=$.height,k()});const _=I(0),v=I(0),w=($,N)=>{_.value=$,v.value=N,k()},g=I(0),m=I(0);function k(){if(!_.value||!v.value||!d.value||!b.value)return;const $=bn(o.mode,d.value,b.value,_.value,v.value);g.value=$.width,m.value=$.height;const{width:N,height:G}=$s(),st=bn("aspectFit",d.value,b.value,N,G);f.value=st.width,p.value=st.height,u.value=(N-f.value)/2,h.value=(G-p.value)/2}const C=($,N,G)=>{r("settled",G.x,G.y,G.width,G.height)};let z=!1;const tt=I(),R=I();async function D(){if(!o.openImageDetailWhenClick)return;const $=await tt.value.getSize();n.clear(),n.addTween({left:$.x,top:$.y,width:$.width,height:$.height},{left:u.value,top:h.value,width:f.value,height:p.value},{easeFunction:ht.Quadratic.Out,onUpdate(N){a.value=N.left,i.value=N.top,l.value=N.width,c.value=N.height},onComplete(){z&&R.value.close(),z=!z}}),z||(R.value.open(),n.play())}function M(){z&&n.reverse()}return t({}),($,N)=>(L(),Mt(xt,{class:"image",type:"full",style:A({backgroundColor:o.bgColor}),onResize:w,onClick:D},{default:bt(()=>[lt(xt,{class:"image-inner",ref_key:"imageRef",ref:tt,type:"shrink",style:A({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${o.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:C},null,8,["style"]),lt(be,{ref_key:"popRef",ref:R,"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:M},{default:bt(()=>[E("div",{class:"image-pop",style:A({width:"100%",height:"100%",backgroundImage:`url(${o.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Gi=it(T1,[["styles",[`.image[data-v-892af4f0]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-892af4f0],.image-pop[data-v-892af4f0]{background-repeat:no-repeat;background-position:center center}
92
- `]],["__scopeId","data-v-892af4f0"]]),Ln=Q({customOptions:{Container:xt,CSSAnimation:Ms},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=Zt({}),i=()=>{r("ready",C,z)},l=()=>{b()},c=I();let u="rotateRightSideFirst",h=o.effect;function f(tt,R){switch(h){case"static":R();break;default:tt();break}}let p=!1;const d=new Oe,b=()=>{const tt={},R={};d.clear(),d.frameDuration=o.duration,f(()=>{u=h},()=>{d.addTween(tt,R,{delay:o.delay/o.duration,easeFunction:o.easeFunction,onStart:()=>{r(p?"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:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};St(()=>[o.effect,o.delay,o.duration,o.easeFunction],()=>{h=o.effect,b()},{immediate:!0});const _=()=>{r(p?"pageCloseStart":"pageOpenStart")},v=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},w=()=>{f(()=>{c.value.trigger(u)},()=>{d.play()})},g=()=>{f(()=>{c.value.triggerReverse(u)},()=>{d.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function k(){f(()=>{m()},()=>{c.value?.clear()})}const C=tt=>{tt&&(h=tt,b()),p=!1,k(),n.value.startEffect()},z=tt=>{tt&&(h=tt,b()),p=!0,k(),n.value.endEffect()};return t({open:C,close:z,clear:m,getElement:()=>n.value.getElement()}),(tt,R)=>(L(),Mt(xt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l,onStart:w,onEnd:g},{default:bt(()=>[lt(Ms,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:o.duration,delay:o.delay,timingFunction:o.timingFunction,onCssanimationstart:_,onCssanimationend:v},{default:bt(()=>[E("div",{class:"page-inner",style:A({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[kt(tt.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Ui=Q({customOptions:{Page:Ln,Container:xt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],h=[];function f(V){return V>=0&&V<c.length}function p(){return a>n}function d(V,P,Vt){switch(V){case n:return p()?P:Vt;case a:return p()?Vt:P;default:return"static"}}function b(V,P){switch(V){case"moveToLeft":return d(P,"moveToLeft","moveFromRight");case"moveToRight":return d(P,"moveToRight","moveFromLeft");case"moveToTop":return d(P,"moveToTop","moveFromBottom");case"moveToBottom":return d(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return d(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return d(P,"fade","moveFromRight");case"moveFromTopPrevFade":return d(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return d(P,"fade","moveFromBottom");case"moveToLeftFade":return d(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return d(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return d(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return d(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return d(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return d(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return d(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return d(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return d(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return d(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return d(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return d(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return d(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return d(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return d(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return d(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return d(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return d(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return d(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return d(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return d(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return d(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return d(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return d(P,"flipOutLeft","flipInRight");case"flipToRight":return d(P,"flipOutRight","flipInLeft");case"flipToTop":return d(P,"flipOutTop","flipInBottom");case"flipToBottom":return d(P,"flipOutBottom","flipInTop");case"rotateFall":return d(P,"rotateFall","scaleFromSmall");case"newspaper":return d(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return d(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return d(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return d(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return d(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return d(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return d(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return d(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return d(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return d(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return d(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return d(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return d(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return d(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return d(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return d(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return d(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return d(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return d(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return d(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return d(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return d(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return d(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return d(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return d(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return d(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return d(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return d(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return d(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return d(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return d(P,"rotateSlideOut","rotateSlideIn")}}function _(V,P=600,Vt=600){switch(V){case n:return P;case a:return Vt;default:return o.duration}}function v(V,P){switch(V){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return _(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return _(P,700,600);case"scaleSmall":return _(P,700,500);case"scaleLarge":return _(P,500,700);case"scaleToLargePrevScaleToSmall":return _(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return _(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return _(P,800,600);default:return o.duration}}let w=o.timingFunction;function g(V){switch(V){default:return o.easeFunction}}function m(V,P){switch(V){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:w=p()?"ease-in-out":"ease";break;case a:default:w=p()?"ease":"ease-in-out"}return g(P);default:return w=o.timingFunction,o.easeFunction}}function k(V,P=300){switch(V){case a:return o.delay+P;default:return o.delay}}function C(V,P){switch(V){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return k(P,500);case"scaleSmall":case"scaleLarge":return k(P,300);case"scaleToLargePrevScaleToSmall":return k(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return k(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return k(P,180);default:return o.delay}}let z=2,tt=2;const R=()=>{z=2,tt=2},D=()=>{z=2,tt=3},M=()=>{z=3,tt=2};function $(V){switch(o.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":M();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":p()?M():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":p()?D():M();break;default:R();break}f(n)&&n==V&&(h[n].style.zIndex=`${z}`,h[n].style.visibility="visible"),f(a)&&a==V&&(h[a].style.zIndex=`${tt}`,h[a].style.visibility="visible")}function N(V){D(),V==n&&(h[n].style.zIndex=`${z}`,h[n].style.visibility="hidden"),V==a&&(h[a].style.zIndex=`${tt}`,h[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const G=I();function st(V=0,P=!1){if(!G.value)return;let Vt=0;ir(qt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,Ct)=>{const Kt=b(o.effect,Ct);return qt("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:n==Ct?"visible":"hidden",zIndex:P?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),qt(Ln,{effect:Kt,duration:v(o.effect,Ct),easeFunction:m(o.effect,Ct),timingFunction:w,delay:C(o.effect,Ct),onReady:(Gt,j)=>{u[Ct]={open:Gt,close:j},++Vt==V&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{$(Ct)},onPageOpenEnd:()=>{N(Ct)},onPageCloseStart:()=>{$(Ct)},onPageCloseEnd:()=>{N(Ct)}},{default:()=>Nt.component instanceof HTMLElement?qt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):qt(Nt.component,Nt.attributes,()=>Nt.child)}))})),G.value),h=G.value.children[0].children}St(()=>o.effect,()=>{st()});function K(V=[]){c=[...V],c.forEach(P=>{P.pageKey=P.pageKey||Ps()}),i=()=>{n=-1,ft(0)},st(c.length,!0)}function q(V){V.pageKey=V.pageKey||Ps(),c.push(V),i=()=>{ft(c.length-1)},st(1,c.length==1)}function nt(){c.length<=1||ft(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,st()})}function U(){ft(n+1)}function H(){ft(n-1)}const gt=new un(1);function ft(V,P){gt.addTask(()=>new Promise(Vt=>{const Nt=()=>{P?.(),Vt()};if(!f(V)){Nt();return}if(a=V,a==n){Nt();return}l.push(Nt),st(),r("routeChangeStart",n,a,c.length),p()?(f(n)&&u[n].open(),f(a)&&u[a].open()):(f(n)&&u[n].close(),f(a)&&u[a].close())}))}return t({reset:K,push:q,pop:nt,forward:U,back:H,goto:ft,currentPageIndex:()=>n,totalPages:()=>c.length}),(V,P)=>(L(),Y("div",{class:"routes",ref_key:"routesRef",ref:G,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),S1=Q({...{},name:"Image",customOptions:{Container:xt,Pop:be},inheritAttrs:!0,__name:"Image",props:{src:{},mode:{default:"scaleToFill"},dur:{default:300},bgColor:{default:"transparent"},openImageDetailWhenClick:{type:Boolean,default:!0}},emits:["settled"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=new Oe({frameDuration:o.dur}),a=I(0),i=I(0),l=I(0),c=I(0),u=I(0),h=I(0),f=I(0),p=I(0),d=I(0),b=I(0);wh(o.src).then($=>{d.value=$.width,b.value=$.height,k()});const _=I(0),v=I(0),w=($,N)=>{_.value=$,v.value=N,k()},g=I(0),m=I(0);function k(){if(!_.value||!v.value||!d.value||!b.value)return;const $=bn(o.mode,d.value,b.value,_.value,v.value);g.value=$.width,m.value=$.height;const{width:N,height:G}=$s(),st=bn("aspectFit",d.value,b.value,N,G);f.value=st.width,p.value=st.height,u.value=(N-f.value)/2,h.value=(G-p.value)/2}const C=($,N,G)=>{r("settled",G.x,G.y,G.width,G.height)};let z=!1;const tt=I(),R=I();async function D(){if(!o.openImageDetailWhenClick)return;const $=await tt.value.getSize();n.clear(),n.addTween({left:$.x,top:$.y,width:$.width,height:$.height},{left:u.value,top:h.value,width:f.value,height:p.value},{easeFunction:ht.Quadratic.Out,onUpdate(N){a.value=N.left,i.value=N.top,l.value=N.width,c.value=N.height},onComplete(){z&&R.value.close(),z=!z}}),z||(R.value.open(),n.play())}function M(){z&&n.reverse()}return t({}),($,N)=>(L(),Mt(xt,{class:"image",type:"full",style:A({backgroundColor:o.bgColor}),onResize:w,onClick:D},{default:bt(()=>[lt(xt,{class:"image-inner",ref_key:"imageRef",ref:tt,type:"shrink",style:A({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${o.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:C},null,8,["style"]),lt(be,{ref_key:"popRef",ref:R,"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:M},{default:bt(()=>[E("div",{class:"image-pop",style:A({width:"100%",height:"100%",backgroundImage:`url(${o.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),qx="",Xh=it(S1,[["__scopeId","data-v-4e9887dd"]]),E1={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},Gh=Q({customOptions:{Image:Xh,Container:xt,Routes:Ui},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(s,{expose:t,emit:e}){const o=s,r=I(0);function n(f,p){r.value=p}const a=I(),i=f=>{f.on("panLeft",()=>{a.value?.forward()}),f.on("panRight",()=>{a.value?.back()}),a.value.reset(o.urls.map(p=>({component:qt(Xh,{mode:"aspectFit",src:p,openImageDetailWhenClick:!1})})))},l=I();function c(){l.value?.open()}function u(){l.value?.close()}const h=f=>{f.target&&Mi(f.target,"image")&&u()};return t({open:c,close:u}),(f,p)=>(L(),Mt(be,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:h},{default:bt(()=>[o.urls.length>1?(L(),Y("div",E1,yt(r.value+1)+" / "+yt(o.urls.length),1)):Ot("",!0),lt(xt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:bt(()=>[lt(Ui,{ref_key:"routesRef",ref:a,effect:o.effect,onRouteChangeEnd:n},null,8,["effect"])]),_:1})]),_:1},512))}}),Qx="",P1={class:"page"},O1={class:"header"},I1={class:"main"},R1={class:"main-scroll"},F1={class:"footer"},$1=it(Q({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(s,{expose:t,emit:e}){return py(s.designWidth),t({}),(r,n)=>(L(),Y("div",P1,[E("header",O1,[kt(r.$slots,"header",{},void 0,!0)]),E("div",I1,[E("div",R1,[kt(r.$slots,"main",{},void 0,!0)])]),E("footer",F1,[kt(r.$slots,"footer",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-20686fd2]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}.main[data-v-20686fd2]{flex:1 1 auto;width:100%;overflow-y:scroll;display:flex;flex-direction:column}.main-scroll[data-v-20686fd2]{flex:1 1 auto;width:100%}.main-scroll[data-v-20686fd2]>:nth-child(1){min-height:100%}.header[data-v-20686fd2],.footer[data-v-20686fd2]{flex:0 0 auto}
93
- `]],["__scopeId","data-v-20686fd2"]]),D1=it(Q({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(s,{expose:t,emit:e}){const o=s,r=Zt({}),n=Zt({});function a(){switch(du(r),du(n),o.type){case"table":r.display="table",n.display="table-cell",n.verticalAlign="middle",n.textAlign="center";break;case"transform":n.position="absolute",n.top="50%",n.left="50%",n.transform="translate(-50%, -50%)";break;case"grid":r.display="grid",r.justifyContent="center",r.alignItems="center";break;case"flex":default:r.display="flex",n.margin="auto"}}return a(),ee(()=>{}),t({}),(i,l)=>(L(),Y("div",{class:"layout-center",style:A(r)},[E("div",{style:A(n)},[kt(i.$slots,"default",{},void 0,!0)],4)],4))}}),[["styles",[`.layout-center[data-v-114afb17]{position:relative;display:block;width:100%;height:100%;overflow:hidden}
94
- `]],["__scopeId","data-v-114afb17"]]),ue=Q({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},styleSheets:{},supportCopyText:{type:Boolean,default:!1}},emits:["ready","resize","start","end"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n="start";const a=()=>{n="start",r("start")},i=()=>{n="end",r("end")},l=()=>{n=="start"?i():a()},c=()=>{n=="start"?a():i()};let u=!1,h,f;const p=I();St(p,()=>{if(!(!p.value||h)){if(o.styleSheets){let _="";for(let v in o.styleSheets)_+=`${v}: ${o.styleSheets[v]};`;ko(`
85
+ `,u.value)}d=new os(u.value,!1),d.on("resize",(_,x)=>{r("resize",_,x,u.value.getBoundingClientRect()),p?.(d),f||(f=!0,s.effectTriggerTiming!=="manual"&&a(),r("ready",d),s.effectTriggerTiming=="immediate"&&l())}),d.on("mouseEnter",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("mouseLeave",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("tap",()=>{s.effectTriggerTiming=="click"&&l(),s.supportCopyText&&Xi(vo(u.value).getInnerText()).then(()=>{}).catch(_=>{})}),d.start()});const h=()=>new Promise(_=>{if(d)return _(d);p=_}),w=async()=>(await h(),u.value.getBoundingClientRect());return se(()=>{d?.destroy()}),t({getElement:()=>u.value,getApp:h,getSize:w,startEffect:a,endEffect:i,nextEffect:l,repeatEffect:c}),(_,x)=>(L(),V("div",{class:ee(["container",[s.type]]),ref_key:"containerRef",ref:u,style:M({position:"relative",boxSizing:"border-box",display:s.type=="shrink"?"inline-block":"block",width:s.type=="full"?"100%":"auto",height:s.type=="full"?"100%":"auto"})},[kt(_.$slots,"default")],6))}}),R1={class:"input-range-box"},I1={key:0,class:"label"},F1=q({customOptions:{Container:wt},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:Ks.inputColor},barColor:{default:Ks.numberColor},barHeight:{default:"20px"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.defaultValue),a=()=>Ce(Eu(s.min,s.max,s.step)(n.value),2),i=()=>Ce((n.value-s.min)/(s.max-s.min),4)*100;n.value=a();const l=R(i()),c={"--input-range-box-background-hover-color":me(s.bgColor).lighten(.05).toString(),"--input-range-box-foreground-hover-color":me(s.barColor).lighten(.05).toString()},u=R();function f(d){const p=async h=>{const w=await u.value.getSize();n.value=Ce(h0(h,w.left,w.right,s.min,s.max),2),n.value=a(),l.value=i(),r("change",n.value)};d.captureDrag({start:h=>{p(h.clientX)},move:h=>{p(h.clientX)}})}return se(()=>{}),t({}),(d,p)=>(L(),V("div",R1,[E("div",{class:"box",style:M({height:s.barHeight,cursor:"ew-resize"})},[ct(wt,{ref_key:"boxContainerRef",ref:u,type:"full",styleSheets:c,onReady:f},{default:bt(()=>[E("div",{class:"background",style:M({backgroundColor:s.bgColor,width:"100%",height:"100%"})},null,4),E("div",{class:"foreground",style:M({backgroundColor:s.barColor,width:l.value+"%",height:"100%"})},null,4)]),_:1},512)],4),kt(d.$slots,"default",{value:n.value},()=>[d.showValue?(L(),V("label",I1,yt(n.value)+yt(s.unit),1)):Rt("",!0)],!0)]))}}),Qf=it(F1,[["styles",[`.input-range-box[data-v-b07b3c9b]{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-b07b3c9b]{min-width:3em;text-align:right}.box[data-v-b07b3c9b]{flex:1 1 auto;position:relative}.foreground[data-v-b07b3c9b]{position:absolute;left:0;top:0}.box:hover .background[data-v-b07b3c9b]{background-color:var(--input-range-box-background-hover-color)!important}.box:hover .foreground[data-v-b07b3c9b]{background-color:var(--input-range-box-foreground-hover-color)!important}
86
+ `]],["__scopeId","data-v-b07b3c9b"]]),Vo=q({customOptions:{Container:wt},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 s=o,r=e,n=Qt({}),a=Qt({});let i=s.name,l=s.duration,c=s.timingFunction,u=s.delay,f=s.repeat,d=s.direction;function p(){switch(i){case"superRainbow":l=s.duration||15e3;break;case"heartBeat":l=s.duration||1300;break;case"statusProcessing":l=s.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=s.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=s.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=s.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=s.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=s.duration||600;break;default:l=s.duration||500;break}switch(i){case"superRainbow":c=s.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=s.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=s.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=s.timingFunction||"ease-in-out";break;default:c=s.timingFunction||"ease";break}switch(i){default:u=s.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=s.repeat||"infinite";break;default:f=s.repeat||1;break}switch(i){case"superRainbow":d=s.direction||"alternate";break;default:d=s.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":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}St(()=>s.name,()=>{i=s.name,p()},{immediate:!0});const h=R(),w=R(),_=U=>{n.perspective=s.perspective,U.on("animationstart",K=>{r("cssanimationstart",K.animationName)}),U.on("animationend",K=>{r("cssanimationend",K.animationName)})};function x(){w.value.style.animation="none",w.value.offsetHeight,w.value.style.animation=null}const v=()=>{a.animation="none"},g=()=>{x(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${s.fillMode} ${s.playState} ${i}`};return t({trigger:U=>{U&&(i=U,p()),h.value.startEffect(),d="normal",h.value.endEffect()},triggerReverse:U=>{U&&(i=U,p()),h.value.startEffect(),d="reverse",h.value.endEffect()},clear:()=>{a.animation="none"}}),(U,K)=>(L(),Nt(wt,{class:"css-animation",ref_key:"containerRef",ref:h,type:s.containerType,supportCopyText:s.supportCopyText,effectTriggerTiming:s.effectTriggerTiming,style:M(n),onReady:_,onStart:v,onEnd:g},{default:bt(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:w,style:M({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[kt(U.$slots,"default")],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming","style"]))}}),Vx="",D1={class:"status-processing",style:{position:"relative",display:"inline-block",width:"12px",height:"12px",borderRadius:"50%",overflow:"hidden"}},Kf=q({customOptions:{CSSAnimation:Vo},__name:"Status.ce",props:{status:{default:"processing"},color:{}},setup(o,{expose:t,emit:e}){const s=o;let r="";switch(s.status){case"wait":r="#d9d9d9";break;case"success":r="#52c41a";break;case"error":r="#ff4d4f";break;case"processing":default:r="#1677ff";break}return s.color&&(r=s.color),t({}),(n,a)=>(L(),V("div",D1,[n.status==="processing"?(L(),Nt(Vo,{key:0,name:"statusProcessing",containerType:"full",effectTriggerTiming:"immediate"},{default:bt(()=>[E("div",{style:M({width:"100%",height:"100%",borderRadius:"50%",backgroundColor:Ct(r)})},null,4)]),_:1})):Rt("",!0),E("div",{style:M({position:"absolute",top:"3px",left:"3px",width:"6px",height:"6px",borderRadius:"50%",backgroundColor:Ct(r)})},null,4)]))}}),$1=it(q({customOptions:{},inheritAttrs:!0,__name:"InputFileDrop.ce",props:{placeholder:{default:"drop file"}},emits:["yz-drop"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(!1);function i(){a.value=!0}function l(){a.value=!1}function c(f){f.preventDefault()}function u(f){f.preventDefault(),r("yz-drop",f.dataTransfer.files),l()}return se(()=>{}),t({}),(f,d)=>(L(),V("div",{class:ee(["input-file-drop",[a.value?"over":""]]),ref_key:"zone",ref:n,onDragenter:i,onDragleave:l,onDragover:c,onDrop:u},[kt(f.$slots,"default",{},()=>[jt(yt(s.placeholder),1)],!0)],34))}}),[["styles",[`.input-file-drop[data-v-141eb7ce]{width:100%;height:100%;display:flex;justify-content:center;align-items:center;border:2px dashed #ccc;color:#ccc}.input-file-drop.over[data-v-141eb7ce]{border-color:#000;color:#000}
87
+ `]],["__scopeId","data-v-141eb7ce"]]),L1=["width","height"],N1=["fill"],M1=q({__name:"SVGDelete",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("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,N1)],8,L1))}}),Xx="",Jf=it(M1,[["__scopeId","data-v-4747d4a7"]]),A1=q({customOptions:{SVGDelete:Jf},inheritAttrs:!0,__name:"SlideLeftItem.ce",props:{bgColor:{default:vt.colorGrayFF},deleteColor:{default:vt.colorRed},fontColor:{default:vt.colorGrayFF},borderRadius:{default:"4px"},deleteWidth:{default:"44px"},transtionDuration:{default:"150ms"}},emits:["delete"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(!1),a=()=>{r("delete"),n.value=!1};let i;const l=R();return St(l,()=>{l.value&&(i=new os(l.value),i.on("panLeft",()=>{n.value=!0}),i.on("panRight",()=>{n.value=!1}),i.on("tapOutSide",()=>{n.value=!1}))}),se(()=>{i?.destroy()}),t({}),(c,u)=>(L(),V("div",{class:"parent",ref_key:"item",ref:l,style:M({backgroundColor:s.bgColor,borderRadius:s.borderRadius})},[E("div",{class:"content",style:M({transition:"all ease-in "+s.transtionDuration,transform:n.value?"translate(-"+s.deleteWidth+", 0)":"translate(0, 0)"})},[kt(c.$slots,"default",{},void 0,!0)],4),E("div",{class:"delete",onClick:a,style:M({backgroundColor:s.deleteColor,width:s.deleteWidth,transition:"all ease-in "+s.transtionDuration,transform:n.value?"translate(0, 0)":"translate("+s.deleteWidth+", 0)"})},[ct(Jf,{color:s.fontColor},null,8,["color"])],4)],4))}}),td=it(A1,[["styles",[`.parent[data-v-4ea80232]{position:relative;overflow:hidden;width:100%}.content[data-v-4ea80232]{width:100%;height:100%}.delete[data-v-4ea80232]{position:absolute;right:0;top:0;height:100%;display:flex;justify-content:center;align-items:center;cursor:pointer}
88
+ `]],["__scopeId","data-v-4ea80232"]]),z1=it(q({customOptions:{Container:wt,SVGDown:Vn},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(o,{expose:t,emit:e}){const s=o,r=e,n=(f,d)=>{r("resize",f,d)},a=R(Number.MAX_SAFE_INTEGER+"px"),i=R(),l=R(!0);St(i,()=>{i.value&&(a.value=i.value.getBoundingClientRect().height+"px",l.value=s.initOpen)});function c(){l.value=!l.value,l.value?r("open"):r("close")}const u=R(0);return Ic(()=>{u.value=l.value?0:-90}),t({}),(f,d)=>(L(),Nt(wt,{onResize:n},{default:bt(()=>[E("div",{class:"accordion",style:M({background:s.bgColor,color:s.fontColor,borderRadius:s.borderRadius})},[E("div",{class:"accordion-title",onClick:c,style:M({height:s.titleHeight,lineHeight:s.titleHeight,margin:`0 ${s.padding}`,transitionDelay:`${l.value?0:s.duration}ms`,borderBottom:`${l.value?1:0}px solid ${s.borderColor}`})},[kt(f.$slots,"title",{},()=>[d[0]||(d[0]=jt("title"))],!0),ct(Vn,{class:"arrow",style:M({transition:`transform ${s.duration}ms ease-in-out`,transform:`rotate(${u.value}deg)`})},null,8,["style"])],4),E("div",{class:"accordion-content",ref_key:"content",ref:i,style:M({margin:`0 ${s.padding}`,transition:`max-height ${s.duration}ms ease-in-out`,maxHeight:l.value?a.value:"0"})},[kt(f.$slots,"content",{},void 0,!0)],4)],4)]),_:3}))}}),[["styles",[`.accordion[data-v-33318c10]{width:100%;font-size:1em;position:relative;overflow:hidden}.accordion-title[data-v-33318c10]{display:flex;justify-content:space-between;align-items:center;user-select:none;cursor:pointer}.accordion-content[data-v-33318c10]{word-break:break-all;overflow:hidden}
89
+ `]],["__scopeId","data-v-33318c10"]]),V1=q({__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 s=o,r=R(0);function n(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:n}),(a,i)=>(L(),V("div",{class:"bar",style:M({border:`1px solid ${s.borderColor}`,borderRadius:s.borderRadius,backgroundColor:s.bgColor})},[E("div",{class:"bar-inner",style:M({width:r.value+"%",backgroundColor:s.progressColor})},yt(s.showText?r.value+"%":""),5)],4))}}),Hx="",Bn=it(V1,[["__scopeId","data-v-d986b312"]]),B1=["width","height"],Y1=["src","type"],X1={class:"video-progress-bar"},ed=it(q({customOptions:{ProgressBar:Bn},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 s=o,r=e;let n;function a(f){if(n){n.resume();return}n=new Ie({frameDuration:this.duration*1e3}),n.addTween({x:0},{x:100},{frames:1,delay:0,onStart:()=>{r("start"),l.value?.goto(0)},onUpdate:d=>{l.value?.goto(d.x)},onComplete:()=>{r("complete"),n=null}}),n.play()}const i=R(),l=R();St(i,()=>{i.value&&(i.value.addEventListener("play",a),s.autoplay&&$i.tryAutoPlayOrAutoPlayAfterClick(i.value))}),se(()=>{i.value?.removeEventListener(a)});function c(){i.value?.play()}function u(){i.value?.pause(),n?.pause()}return t({play:c,pause:u}),(f,d)=>(L(),V("div",{class:"video",style:M({width:s.width,height:s.height}),onClick:c},[E("video",{ref_key:"video",ref:i,width:s.width,height:s.height,preload:"metadata"},[E("source",{src:s.src,type:s.type},null,8,Y1)],8,B1),E("div",X1,[ct(Bn,{ref_key:"bar",ref:l,bgColor:"#ffffff"},null,512)])],4))}}),[["styles",[`.video[data-v-b54fc81b]{position:relative;overflow:hidden;background-color:#f5f5f5}.video-progress-bar[data-v-b54fc81b]{position:absolute;bottom:0;left:0;width:100%;height:6px}
90
+ `]],["__scopeId","data-v-b54fc81b"]]),to=q({customOptions:{},inheritAttrs:!0,__name:"Overlay",props:{visible:{type:Boolean,default:!1},color:{default:me("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(o,{expose:t,emit:e}){const s=o,r=R(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return St(()=>s.visible,()=>{s.isGlobal?s.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(s.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>s.visible?(L(),V("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:M([`background-color: ${s.color}`,`position: ${s.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[kt(i.$slots,"default")],4)):Rt("",!0)}}),we=q({customOptions:{Overlay:to,Container:wt},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:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=new Ie({frameDuration:s.dur}),a=Qt({backgroundColor:s.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=R("full");St(()=>[s.directionFrom,s.popValue],()=>{n.clear();const w=s.popValue?s.popValue:s.popPercent,_=s.popValue?"px":"%";switch(s.directionFrom){case"left":a.height="100%",a.width=`${w}${_}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:w},{left:0},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.left=`-${x.left}${_}`},onComplete:u});break;case"right":a.height="100%",a.width=`${w}${_}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:w},{right:0},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.right=`-${x.right}${_}`},onComplete:u});break;case"top":a.width="100%",a.height=`${w}${_}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:w},{top:0},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.top=`-${x.top}${_}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${w}${_}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:w},{bottom:0},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.bottom=`-${x.bottom}${_}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.transform=`translate(-50%, -50%) scale(${x.scale})`,a.opacity=`${x.opacity}`},onComplete:u});break;case"absolute":a.width=s.absoluteWidth,a.height=s.absoluteHeight,a.left=s.absoluteLeft,a.top=s.absoluteTop,delete a.right,delete a.bottom;break}switch(s.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),St(()=>s.absoluteLeft,()=>{switch(s.directionFrom){case"absolute":a.left=s.absoluteLeft;break}}),St(()=>s.absoluteTop,()=>{switch(s.directionFrom){case"absolute":a.top=s.absoluteTop;break}}),St(()=>s.absoluteWidth,()=>{switch(s.directionFrom){case"absolute":a.width=s.absoluteWidth;break}}),St(()=>s.absoluteHeight,()=>{switch(s.directionFrom){case"absolute":a.height=s.absoluteHeight;break}});const l=(w,_,x)=>{r("resize",w,_,x)};let c="open";function u(){c=="open"?r("open"):(f.value=!1,r("close"))}const f=R(!1);function d(){f.value=!0,c="open",n.play()}function p(){switch(c="close",s.directionFrom){case"absolute":u();break;default:n.reverse();break}}function h(w){const _=s.directionFrom=="absolute"&&s.absoluteWidth=="100%"&&s.absoluteHeight=="100%"?"pop-content":"pop";w.target&&Yi(w.target,_)&&(s.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:d,close:p}),(w,_)=>(L(),Nt(to,{visible:f.value,isGlobal:s.isGlobal,color:s.overlayBgColor},{default:bt(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:h},[ct(wt,{class:"pop-content",type:i.value,style:M(a),onResize:l},{default:bt(()=>[kt(w.$slots,"default",{},()=>[_[0]||(_[0]=E("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),G1=q({...{},name:"Image",customOptions:{Container:wt,Pop:we},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 s=o,r=e,n=new Ie({frameDuration:s.dur}),a=R(0),i=R(0),l=R(0),c=R(0),u=R(0),f=R(0),d=R(0),p=R(0),h=R(0),w=R(0);Lf(s.src).then(D=>{h.value=D.width,w.value=D.height,b()});const _=R(0),x=R(0),v=(D,A)=>{_.value=D,x.value=A,b()},g=R(0),m=R(0);function b(){if(!_.value||!x.value||!h.value||!w.value)return;const D=Sn(s.mode,h.value,w.value,_.value,x.value);g.value=D.width,m.value=D.height;const{width:A,height:X}=Mo(),rt=Sn("aspectFit",h.value,w.value,A,X);d.value=rt.width,p.value=rt.height,u.value=(A-d.value)/2,f.value=(X-p.value)/2}const C=(D,A,X)=>{r("settled",X.x,X.y,X.width,X.height)};let U=!1;const K=R(),I=R();async function $(){if(!s.openImageDetailWhenClick)return;const D=await K.value.getSize();n.clear(),n.addTween({left:D.x,top:D.y,width:D.width,height:D.height},{left:u.value,top:f.value,width:d.value,height:p.value},{easeFunction:ft.Quadratic.Out,onUpdate(A){a.value=A.left,i.value=A.top,l.value=A.width,c.value=A.height},onComplete(){U&&I.value.close(),U=!U}}),U||(I.value.open(),n.play())}function N(){U&&n.reverse()}return t({}),(D,A)=>(L(),Nt(wt,{class:"image",type:"full",style:M({backgroundColor:s.bgColor}),onResize:v,onClick:$},{default:bt(()=>[ct(wt,{class:"image-inner",ref_key:"imageRef",ref:K,type:"shrink",style:M({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${s.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:C},null,8,["style"]),ct(we,{ref_key:"popRef",ref:I,"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:N},{default:bt(()=>[E("div",{class:"image-pop",style:M({width:"100%",height:"100%",backgroundImage:`url(${s.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),qi=it(G1,[["styles",[`.image[data-v-892af4f0]{overflow:hidden;display:flex!important;justify-content:center;align-items:center}.image-inner[data-v-892af4f0],.image-pop[data-v-892af4f0]{background-repeat:no-repeat;background-position:center center}
91
+ `]],["__scopeId","data-v-892af4f0"]]),Yn=q({customOptions:{Container:wt,CSSAnimation:Vo},inheritAttrs:!0,__name:"Page",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:ft.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=Qt({}),i=()=>{r("ready",C,U)},l=()=>{w()},c=R();let u="rotateRightSideFirst",f=s.effect;function d(K,I){switch(f){case"static":I();break;default:K();break}}let p=!1;const h=new Ie,w=()=>{const K={},I={};h.clear(),h.frameDuration=s.duration,d(()=>{u=f},()=>{h.addTween(K,I,{delay:s.delay/s.duration,easeFunction:s.easeFunction,onStart:()=>{r(p?"pageCloseStart":"pageOpenStart")},onUpdate:$=>{a.transform="","x"in $&&(a.transform+=` translateX(${$.x}%)`),"y"in $&&(a.transform+=` translateY(${$.y}%)`),"rx"in $&&(a.transform+=` rotateX(${$.rx}deg)`),"ry"in $&&(a.transform+=` rotateY(${$.ry}deg)`),"scale"in $&&(a.transform+=` scale(${$.scale})`),"opacity"in $&&(a.opacity=`${$.opacity}`)},onComplete:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};St(()=>[s.effect,s.delay,s.duration,s.easeFunction],()=>{f=s.effect,w()},{immediate:!0});const _=()=>{r(p?"pageCloseStart":"pageOpenStart")},x=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},v=()=>{d(()=>{c.value.trigger(u)},()=>{h.play()})},g=()=>{d(()=>{c.value.triggerReverse(u)},()=>{h.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function b(){d(()=>{m()},()=>{c.value?.clear()})}const C=K=>{K&&(f=K,w()),p=!1,b(),n.value.startEffect()},U=K=>{K&&(f=K,w()),p=!0,b(),n.value.endEffect()};return t({open:C,close:U,clear:m,getElement:()=>n.value.getElement()}),(K,I)=>(L(),Nt(wt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l,onStart:v,onEnd:g},{default:bt(()=>[ct(Vo,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:s.duration,delay:s.delay,timingFunction:s.timingFunction,onCssanimationstart:_,onCssanimationend:x},{default:bt(()=>[E("div",{class:"page-inner",style:M({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[kt(K.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Qi=q({customOptions:{Page:Yn,Container:wt},inheritAttrs:!0,__name:"Routes",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:ft.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(B){return B>=0&&B<c.length}function p(){return a>n}function h(B,P,Yt){switch(B){case n:return p()?P:Yt;case a:return p()?Yt:P;default:return"static"}}function w(B,P){switch(B){case"moveToLeft":return h(P,"moveToLeft","moveFromRight");case"moveToRight":return h(P,"moveToRight","moveFromLeft");case"moveToTop":return h(P,"moveToTop","moveFromBottom");case"moveToBottom":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return h(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return h(P,"fade","moveFromRight");case"moveFromTopPrevFade":return h(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return h(P,"fade","moveFromBottom");case"moveToLeftFade":return h(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return h(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return h(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return h(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return h(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return h(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return h(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return h(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return h(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return h(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return h(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return h(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return h(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return h(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return h(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return h(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return h(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return h(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return h(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return h(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return h(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return h(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return h(P,"flipOutLeft","flipInRight");case"flipToRight":return h(P,"flipOutRight","flipInLeft");case"flipToTop":return h(P,"flipOutTop","flipInBottom");case"flipToBottom":return h(P,"flipOutBottom","flipInTop");case"rotateFall":return h(P,"rotateFall","scaleFromSmall");case"newspaper":return h(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return h(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return h(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return h(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return h(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return h(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return h(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return h(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return h(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return h(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return h(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return h(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return h(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return h(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return h(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return h(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return h(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return h(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return h(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return h(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return h(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return h(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return h(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return h(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return h(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return h(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return h(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return h(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return h(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return h(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return h(P,"rotateSlideOut","rotateSlideIn")}}function _(B,P=600,Yt=600){switch(B){case n:return P;case a:return Yt;default:return s.duration}}function x(B,P){switch(B){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return _(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return _(P,700,600);case"scaleSmall":return _(P,700,500);case"scaleLarge":return _(P,500,700);case"scaleToLargePrevScaleToSmall":return _(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return _(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return _(P,800,600);default:return s.duration}}let v=s.timingFunction;function g(B){switch(B){default:return s.easeFunction}}function m(B,P){switch(B){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:v=p()?"ease-in-out":"ease";break;case a:default:v=p()?"ease":"ease-in-out"}return g(P);default:return v=s.timingFunction,s.easeFunction}}function b(B,P=300){switch(B){case a:return s.delay+P;default:return s.delay}}function C(B,P){switch(B){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return b(P,500);case"scaleSmall":case"scaleLarge":return b(P,300);case"scaleToLargePrevScaleToSmall":return b(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return b(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return b(P,180);default:return s.delay}}let U=2,K=2;const I=()=>{U=2,K=2},$=()=>{U=2,K=3},N=()=>{U=3,K=2};function D(B){switch(s.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":N();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":p()?N():$();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":p()?$():N();break;default:I();break}d(n)&&n==B&&(f[n].style.zIndex=`${U}`,f[n].style.visibility="visible"),d(a)&&a==B&&(f[a].style.zIndex=`${K}`,f[a].style.visibility="visible")}function A(B){$(),B==n&&(f[n].style.zIndex=`${U}`,f[n].style.visibility="hidden"),B==a&&(f[a].style.zIndex=`${K}`,f[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const X=R();function rt(B=0,P=!1){if(!X.value)return;let Yt=0;dn(Kt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Mt,Et)=>{const te=w(s.effect,Et);return Kt("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:n==Et?"visible":"hidden",zIndex:P?"1":"0"}},Mt.pageKey?{key:Mt.pageKey}:{}),Kt(Yn,{effect:te,duration:x(s.effect,Et),easeFunction:m(s.effect,Et),timingFunction:v,delay:C(s.effect,Et),onReady:(Xt,j)=>{u[Et]={open:Xt,close:j},++Yt==B&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{D(Et)},onPageOpenEnd:()=>{A(Et)},onPageCloseStart:()=>{D(Et)},onPageCloseEnd:()=>{A(Et)}},{default:()=>Mt.component instanceof HTMLElement?Kt("div",{...Mt.attributes,innerHTML:Mt.component.innerHTML}):Kt(Mt.component,Mt.attributes,()=>Mt.child)}))})),X.value),f=X.value.children[0].children}St(()=>s.effect,()=>{rt()});function Q(B=[]){c=[...B],c.forEach(P=>{P.pageKey=P.pageKey||Fo()}),i=()=>{n=-1,ht(0)},rt(c.length,!0)}function Z(B){B.pageKey=B.pageKey||Fo(),c.push(B),i=()=>{ht(c.length-1)},rt(1,c.length==1)}function at(){c.length<=1||ht(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,rt()})}function G(){ht(n+1)}function H(){ht(n-1)}const gt=new gn(1);function ht(B,P){gt.addTask(()=>new Promise(Yt=>{const Mt=()=>{P?.(),Yt()};if(!d(B)){Mt();return}if(a=B,a==n){Mt();return}l.push(Mt),rt(),r("routeChangeStart",n,a,c.length),p()?(d(n)&&u[n].open(),d(a)&&u[a].open()):(d(n)&&u[n].close(),d(a)&&u[a].close())}))}return t({reset:Q,push:Z,pop:at,forward:G,back:H,goto:ht,currentPageIndex:()=>n,totalPages:()=>c.length}),(B,P)=>(L(),V("div",{class:"routes",ref_key:"routesRef",ref:X,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),U1=q({...{},name:"Image",customOptions:{Container:wt,Pop:we},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 s=o,r=e,n=new Ie({frameDuration:s.dur}),a=R(0),i=R(0),l=R(0),c=R(0),u=R(0),f=R(0),d=R(0),p=R(0),h=R(0),w=R(0);Lf(s.src).then(D=>{h.value=D.width,w.value=D.height,b()});const _=R(0),x=R(0),v=(D,A)=>{_.value=D,x.value=A,b()},g=R(0),m=R(0);function b(){if(!_.value||!x.value||!h.value||!w.value)return;const D=Sn(s.mode,h.value,w.value,_.value,x.value);g.value=D.width,m.value=D.height;const{width:A,height:X}=Mo(),rt=Sn("aspectFit",h.value,w.value,A,X);d.value=rt.width,p.value=rt.height,u.value=(A-d.value)/2,f.value=(X-p.value)/2}const C=(D,A,X)=>{r("settled",X.x,X.y,X.width,X.height)};let U=!1;const K=R(),I=R();async function $(){if(!s.openImageDetailWhenClick)return;const D=await K.value.getSize();n.clear(),n.addTween({left:D.x,top:D.y,width:D.width,height:D.height},{left:u.value,top:f.value,width:d.value,height:p.value},{easeFunction:ft.Quadratic.Out,onUpdate(A){a.value=A.left,i.value=A.top,l.value=A.width,c.value=A.height},onComplete(){U&&I.value.close(),U=!U}}),U||(I.value.open(),n.play())}function N(){U&&n.reverse()}return t({}),(D,A)=>(L(),Nt(wt,{class:"image",type:"full",style:M({backgroundColor:s.bgColor}),onResize:v,onClick:$},{default:bt(()=>[ct(wt,{class:"image-inner",ref_key:"imageRef",ref:K,type:"shrink",style:M({width:g.value+"px",height:m.value+"px",backgroundImage:`url(${s.src})`,backgroundSize:`${g.value}px ${m.value}px`}),onResize:C},null,8,["style"]),ct(we,{ref_key:"popRef",ref:I,"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:N},{default:bt(()=>[E("div",{class:"image-pop",style:M({width:"100%",height:"100%",backgroundImage:`url(${s.src})`,backgroundSize:"100% 100%"})},null,4)]),_:1},8,["absolute-left","absolute-top","absolute-width","absolute-height"])]),_:1},8,["style"]))}}),Jx="",sd=it(U1,[["__scopeId","data-v-4e9887dd"]]),j1={key:0,style:{position:"absolute",top:"30px",left:"50%",transform:"translate(-50%, 0)",color:"#ffffff","font-size":"1em","z-index":"98"}},od=q({customOptions:{Image:sd,Container:wt,Routes:Qi},inheritAttrs:!0,__name:"ImageView.ce",props:{urls:{default:()=>[]},effect:{default:"moveToLeftFade"}},setup(o,{expose:t,emit:e}){const s=o,r=R(0);function n(d,p){r.value=p}const a=R(),i=d=>{d.on("panLeft",()=>{a.value?.forward()}),d.on("panRight",()=>{a.value?.back()}),a.value.reset(s.urls.map(p=>({component:Kt(sd,{mode:"aspectFit",src:p,openImageDetailWhenClick:!1})})))},l=R();function c(){l.value?.open()}function u(){l.value?.close()}const f=d=>{d.target&&Yi(d.target,"image")&&u()};return t({open:c,close:u}),(d,p)=>(L(),Nt(we,{ref_key:"popRef",ref:l,directionFrom:"absolute",onClick:f},{default:bt(()=>[s.urls.length>1?(L(),V("div",j1,yt(r.value+1)+" / "+yt(s.urls.length),1)):Rt("",!0),ct(wt,{style:{position:"absolute",top:"50%",transform:"translate(0, -50%)",width:"100%",height:"100%","z-index":"97"},onReady:i},{default:bt(()=>[ct(Qi,{ref_key:"routesRef",ref:a,effect:s.effect,onRouteChangeEnd:n},null,8,["effect"])]),_:1})]),_:1},512))}}),t2="",H1={class:"page"},W1={class:"header"},Z1={class:"main"},q1={class:"main-scroll"},Q1={class:"footer"},K1=it(q({customOptions:{},inheritAttrs:!0,__name:"LayoutMobile.ce",props:{designWidth:{default:750}},setup(o,{expose:t,emit:e}){return $y(o.designWidth),t({}),(r,n)=>(L(),V("div",H1,[E("header",W1,[kt(r.$slots,"header",{},void 0,!0)]),E("div",Z1,[E("div",q1,[kt(r.$slots,"main",{},void 0,!0)])]),E("footer",Q1,[kt(r.$slots,"footer",{},void 0,!0)])]))}}),[["styles",[`.page[data-v-37c36e58]{width:100%;height:100%;position:relative;overflow:hidden;display:flex;flex-direction:column}.main[data-v-37c36e58]{flex:1 1 auto;width:100%;overflow-y:scroll;display:flex;flex-direction:column}.main-scroll[data-v-37c36e58]{flex:1 1 auto;width:100%}.main-scroll[data-v-37c36e58]>:nth-child(1){min-height:100%}.header[data-v-37c36e58],.footer[data-v-37c36e58]{flex:0 0 auto}
92
+ `]],["__scopeId","data-v-37c36e58"]]),J1=it(q({customOptions:{},inheritAttrs:!0,__name:"LayoutCenter.ce",props:{type:{default:"grid"}},setup(o,{expose:t,emit:e}){const s=o,r=Qt({}),n=Qt({});function a(){switch(Cu(r),Cu(n),s.type){case"table":r.display="table",n.display="table-cell",n.verticalAlign="middle",n.textAlign="center";break;case"transform":n.position="absolute",n.top="50%",n.left="50%",n.transform="translate(-50%, -50%)";break;case"grid":r.display="grid",r.justifyContent="center",r.alignItems="center";break;case"flex":default:r.display="flex",n.margin="auto"}}return a(),se(()=>{}),t({}),(i,l)=>(L(),V("div",{class:"layout-center",style:M(r)},[E("div",{style:M(n)},[kt(i.$slots,"default",{},void 0,!0)],4)],4))}}),[["styles",[`.layout-center[data-v-114afb17]{position:relative;display:block;width:100%;height:100%;overflow:hidden}
93
+ `]],["__scopeId","data-v-114afb17"]]),ue=q({customOptions:{},inheritAttrs:!0,__name:"Container.ce",props:{type:{default:"block"},effectTriggerTiming:{default:"manual"},supportCopyText:{type:Boolean,default:!1},styleSheets:{}},emits:["ready","resize","start","end"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n="start";const a=()=>{n="start",r("start")},i=()=>{n="end",r("end")},l=()=>{n=="start"?i():a()},c=()=>{n=="start"?a():i()},u=R();let f=!1,d,p;gs(()=>{if(s.styleSheets){let _="";for(let x in s.styleSheets)_+=`${x}: ${s.styleSheets[x]};`;zs(`
95
94
  :root {
96
95
  ${_}
97
96
  }
98
97
  :host {
99
98
  ${_}
100
99
  }
101
- `,p.value)}h=new We(p.value,!1),h.on("resize",(_,v)=>{r("resize",_,v,p.value.getBoundingClientRect()),f?.(h),u||(u=!0,o.effectTriggerTiming!=="manual"&&a(),r("ready",h),o.effectTriggerTiming=="immediate"&&l())}),h.on("mouseEnter",()=>{o.effectTriggerTiming=="mouseMove"&&l()}),h.on("mouseLeave",()=>{o.effectTriggerTiming=="mouseMove"&&l()}),h.on("tap",()=>{o.effectTriggerTiming=="click"&&l(),o.supportCopyText&&Ai(ds(p.value).getInnerText()).then(()=>{}).catch(_=>{})}),h.start()}});const d=()=>new Promise(_=>{if(h)return _(h);f=_}),b=()=>d().then(()=>p.value.getBoundingClientRect());return ee(()=>{h?.destroy()}),t({getElement:()=>p.value,getApp:d,getSize:b,getStatus:()=>n,startEffect:a,endEffect:i,nextEffect:l,repeatEffect:c}),(_,v)=>(L(),Y("div",{class:te(["container",[o.type]]),ref_key:"containerRef",ref:p,style:A({position:"relative",boxSizing:"border-box",display:o.type=="shrink"?"inline-block":"block",width:o.type=="full"?"100%":"auto",height:o.type=="full"?"100%":"auto"})},[kt(_.$slots,"default")],6))}}),Mn=Q({customOptions:{},inheritAttrs:!0,__name:"Overlay.ce",props:{visible:{type:Boolean,default:!1},color:{default:ge("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(s,{expose:t,emit:e}){const o=s,r=I(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return St(()=>o.visible,()=>{o.isGlobal?o.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(o.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>o.visible?(L(),Y("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:A([`background-color: ${o.color}`,`position: ${o.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[kt(i.$slots,"default")],4)):Ot("",!0)}}),L1=E("div",null,null,-1),ps=Q({customOptions:{Overlay:jo,Container:xt},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:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=new Oe({frameDuration:o.dur}),a=Zt({backgroundColor:o.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=I("full");St(()=>[o.directionFrom,o.popValue],()=>{n.clear();const b=o.popValue?o.popValue:o.popPercent,_=o.popValue?"px":"%";switch(o.directionFrom){case"left":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:b},{left:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.left=`-${v.left}${_}`},onComplete:u});break;case"right":a.height="100%",a.width=`${b}${_}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:b},{right:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.right=`-${v.right}${_}`},onComplete:u});break;case"top":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:b},{top:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.top=`-${v.top}${_}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${b}${_}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:b},{bottom:0},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.bottom=`-${v.bottom}${_}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:ht.Quadratic.Out,onUpdate(v){a.transform=`translate(-50%, -50%) scale(${v.scale})`,a.opacity=`${v.opacity}`},onComplete:u});break;case"absolute":a.width=o.absoluteWidth,a.height=o.absoluteHeight,a.left=o.absoluteLeft,a.top=o.absoluteTop,delete a.right,delete a.bottom;break}switch(o.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),St(()=>o.absoluteLeft,()=>{switch(o.directionFrom){case"absolute":a.left=o.absoluteLeft;break}}),St(()=>o.absoluteTop,()=>{switch(o.directionFrom){case"absolute":a.top=o.absoluteTop;break}}),St(()=>o.absoluteWidth,()=>{switch(o.directionFrom){case"absolute":a.width=o.absoluteWidth;break}}),St(()=>o.absoluteHeight,()=>{switch(o.directionFrom){case"absolute":a.height=o.absoluteHeight;break}});const l=(b,_,v)=>{r("resize",b,_,v)};let c="open";function u(){c=="open"?r("open"):(h.value=!1,r("close"))}const h=I(!1);function f(){h.value=!0,c="open",n.play()}function p(){switch(c="close",o.directionFrom){case"absolute":u();break;default:n.reverse();break}}function d(b){const _=o.directionFrom=="absolute"&&o.absoluteWidth=="100%"&&o.absoluteHeight=="100%"?"pop-content":"pop";b.target&&Mi(b.target,_)&&(o.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:f,close:p}),(b,_)=>(L(),Mt(jo,{visible:h.value,isGlobal:o.isGlobal,color:o.overlayBgColor},{default:bt(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:d},[lt(xt,{class:"pop-content",type:i.value,style:A(a),onResize:l},{default:bt(()=>[kt(b.$slots,"default",{},()=>[L1])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),M1=E("div",{style:{"background-color":"#ffffff"}},"...",-1),ji=Q({customOptions:{Pop:be,Button:re,Container:xt},inheritAttrs:!0,__name:"Popover.ce",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(s,{expose:t}){const e=s,o=I();function r(){o.value.open()}function n(){o.value.close()}const a=I(),i=I(0),l=I(0),c=I(0),u=I(0),h=(f,p)=>{if(c.value=f,u.value=p,!a.value)return;const d=$s(),b=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,d.width-f-e.gap)),l.value=Math.max(e.gap,Math.min(b.y,d.height-p-e.gap))};return t({open:r,close:n}),(f,p)=>(L(),Y(Xt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[kt(f.$slots,"button",{},()=>[lt(re,null,{default:bt(()=>[jt("popover")]),_:1})])],512),lt(be,{ref_key:"popRef",ref:o,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:bt(()=>[E("div",{style:A({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[lt(xt,{type:"shrink",onResize:h},{default:bt(()=>[kt(f.$slots,"panel",{},()=>[M1])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),A1={class:"dialog-parent"},N1={key:0,class:"title"},z1={key:0,class:"title-inner truncate"},B1={class:"custom-content"},Y1={class:"custom-content-default"},V1={key:1,class:"btns"},An=it(Q({customOptions:{Overlay:jo,Pop:be,Icon:ho,Button:re},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(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(""),i=I(""),l=I(!1),c=I(""),u=I("");let h,f,p;const d=()=>{r("open")},b=()=>{h?.(),r("close")};function _(m){a.value=m?.title||"",i.value=m?.content||"",l.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",h=m?.onClose,f=m?.onCancel,p=m?.onConfirm,n.value.open()}function v(){n.value.close()}function w(){v(),f?.(),r("cancel")}function g(){v(),p?.(),r("confirm")}return t({open:_,close:v}),(m,k)=>(L(),Mt(be,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:o.closeWhenClickOverlay,dur:o.dur,overlayBgColor:o.overlayBgColor,onOpen:d,onClose:b},{default:bt(()=>[E("div",A1,[E("div",{class:"dialog",style:A({minWidth:o.minWidth,maxWidth:o.maxWidth})},[a.value||l.value?(L(),Y("div",N1,[a.value?(L(),Y("div",z1,yt(a.value),1)):Ot("",!0),l.value?(L(),Y("div",{key:1,class:"close",onClick:v},[lt(ho,{icon:"ic:baseline-close",color:Et(vt).colorGrayCC},null,8,["color"])])):Ot("",!0)])):Ot("",!0),E("div",B1,[kt(m.$slots,"default",{},()=>[E("div",Y1,yt(i.value),1)],!0)]),c.value||u.value?(L(),Y("div",V1,[c.value?(L(),Mt(re,{key:0,onClick:w,class:"btn",bgColor:Et(vt).colorGrayE6,borderColor:Et(vt).colorGrayE6,fontColor:Et(vt).colorGray33,borderRadius:"0"},{default:bt(()=>[jt(yt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):Ot("",!0),u.value?(L(),Mt(re,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:bt(()=>[jt(yt(u.value),1)]),_:1})):Ot("",!0)])):Ot("",!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}
102
- `]],["__scopeId","data-v-061fc404"]]),X1={class:"dialog-parent"},G1={key:0,class:"title"},U1={key:0,class:"title-inner truncate"},j1={class:"custom-content"},H1={class:"custom-content-default"},W1={key:1,class:"btns"},Z1=Q({customOptions:{Overlay:jo,Pop:be,Icon:ho,Button:re},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(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(""),i=I(""),l=I(!1),c=I(""),u=I("");let h,f,p;const d=()=>{r("open")},b=()=>{h?.(),r("close")};function _(m){a.value=m?.title||"",i.value=m?.content||"",l.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",h=m?.onClose,f=m?.onCancel,p=m?.onConfirm,n.value.open()}function v(){n.value.close()}function w(){v(),f?.(),r("cancel")}function g(){v(),p?.(),r("confirm")}return t({open:_,close:v}),(m,k)=>(L(),Mt(be,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:o.closeWhenClickOverlay,dur:o.dur,overlayBgColor:o.overlayBgColor,onOpen:d,onClose:b},{default:bt(()=>[E("div",X1,[E("div",{class:"dialog",style:A({minWidth:o.minWidth,maxWidth:o.maxWidth})},[a.value||l.value?(L(),Y("div",G1,[a.value?(L(),Y("div",U1,yt(a.value),1)):Ot("",!0),l.value?(L(),Y("div",{key:1,class:"close",onClick:v},[lt(ho,{icon:"ic:baseline-close",color:Et(vt).colorGrayCC},null,8,["color"])])):Ot("",!0)])):Ot("",!0),E("div",j1,[kt(m.$slots,"default",{},()=>[E("div",H1,yt(i.value),1)],!0)]),c.value||u.value?(L(),Y("div",W1,[c.value?(L(),Mt(re,{key:0,onClick:w,class:"btn",bgColor:Et(vt).colorGrayE6,borderColor:Et(vt).colorGrayE6,fontColor:Et(vt).colorGray33,borderRadius:"0"},{default:bt(()=>[jt(yt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):Ot("",!0),u.value?(L(),Mt(re,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:bt(()=>[jt(yt(u.value),1)]),_:1})):Ot("",!0)])):Ot("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),r2="",Nn=it(Z1,[["__scopeId","data-v-f9df8635"]]),q1={class:"loading-8"},Q1={viewBox:"25 25 50 50"},K1=Q({__name:"Loading8",props:{color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("div",q1,[(L(),Y("svg",Q1,[E("circle",{cx:"50",cy:"50",r:"20",style:A(["stroke: "+t.color])},null,4)]))]))}}),n2="",Uh=it(K1,[["__scopeId","data-v-e5e3cf4c"]]),J1={class:"loading"},tv={class:"icon"},ev={style:{width:"8em"}},ov={key:0,class:"content"},jh=it(Q({customOptions:{Overlay:jo,Pop:be,Dialog:Nn,Loading8:Uh},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(""),i=()=>{r("open")},l=()=>{r("close")};function c(h){a.value=h||"",n.value.open()}function u(){n.value.close()}return t({open:c,close:u}),(h,f)=>(L(),Mt(Nn,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:o.closeWhenClickOverlay,dur:o.dur,onOpen:i,onClose:l},{default:bt(()=>[E("div",J1,[E("div",tv,[kt(h.$slots,"default",{},()=>[E("div",ev,[lt(Uh)])],!0)]),a.value?(L(),Y("div",ov,yt(a.value),1)):Ot("",!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}
103
- `]],["__scopeId","data-v-2227dca8"]]),sv={class:"toast"},rv={class:"content"},Hh=it(Q({customOptions:{Overlay:jo,Pop:be,Dialog:Nn},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(""),i=()=>{r("open")},l=()=>{r("close")};function c(h,f=1500){a.value=h,n.value.open(),setTimeout(()=>{u()},f)}function u(){n.value.close()}return t({open:c,close:u}),(h,f)=>(L(),Mt(Nn,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:o.closeWhenClickOverlay,dur:o.dur,overlayBgColor:"transparent",minWidth:"10em",onOpen:i,onClose:l},{default:bt(()=>[E("div",sv,[E("div",rv,yt(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}
104
- `]],["__scopeId","data-v-c02c226c"]]),Hi=Q({customOptions:{Container:xt,CSSAnimation:Ms},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=Zt({}),i=()=>{r("ready",C,z)},l=()=>{b()},c=I();let u="rotateRightSideFirst",h=o.effect;function f(tt,R){switch(h){case"static":R();break;default:tt();break}}let p=!1;const d=new Oe,b=()=>{const tt={},R={};d.clear(),d.frameDuration=o.duration,f(()=>{u=h},()=>{d.addTween(tt,R,{delay:o.delay/o.duration,easeFunction:o.easeFunction,onStart:()=>{r(p?"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:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};St(()=>[o.effect,o.delay,o.duration,o.easeFunction],()=>{h=o.effect,b()},{immediate:!0});const _=()=>{r(p?"pageCloseStart":"pageOpenStart")},v=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},w=()=>{f(()=>{c.value.trigger(u)},()=>{d.play()})},g=()=>{f(()=>{c.value.triggerReverse(u)},()=>{d.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function k(){f(()=>{m()},()=>{c.value?.clear()})}const C=tt=>{tt&&(h=tt,b()),p=!1,k(),n.value.startEffect()},z=tt=>{tt&&(h=tt,b()),p=!0,k(),n.value.endEffect()};return t({open:C,close:z,clear:m,getElement:()=>n.value.getElement()}),(tt,R)=>(L(),Mt(xt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l,onStart:w,onEnd:g},{default:bt(()=>[lt(Ms,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:o.duration,delay:o.delay,timingFunction:o.timingFunction,onCssanimationstart:_,onCssanimationend:v},{default:bt(()=>[E("div",{class:"page-inner",style:A({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[kt(tt.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),Wi=Q({customOptions:{Page:Ln,Container:xt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:ht.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],h=[];function f(V){return V>=0&&V<c.length}function p(){return a>n}function d(V,P,Vt){switch(V){case n:return p()?P:Vt;case a:return p()?Vt:P;default:return"static"}}function b(V,P){switch(V){case"moveToLeft":return d(P,"moveToLeft","moveFromRight");case"moveToRight":return d(P,"moveToRight","moveFromLeft");case"moveToTop":return d(P,"moveToTop","moveFromBottom");case"moveToBottom":return d(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return d(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return d(P,"fade","moveFromRight");case"moveFromTopPrevFade":return d(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return d(P,"fade","moveFromBottom");case"moveToLeftFade":return d(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return d(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return d(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return d(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return d(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return d(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return d(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return d(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return d(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return d(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return d(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return d(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return d(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return d(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return d(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return d(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return d(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return d(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return d(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return d(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return d(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return d(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return d(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return d(P,"flipOutLeft","flipInRight");case"flipToRight":return d(P,"flipOutRight","flipInLeft");case"flipToTop":return d(P,"flipOutTop","flipInBottom");case"flipToBottom":return d(P,"flipOutBottom","flipInTop");case"rotateFall":return d(P,"rotateFall","scaleFromSmall");case"newspaper":return d(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return d(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return d(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return d(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return d(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return d(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return d(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return d(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return d(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return d(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return d(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return d(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return d(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return d(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return d(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return d(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return d(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return d(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return d(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return d(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return d(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return d(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return d(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return d(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return d(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return d(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return d(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return d(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return d(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return d(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return d(P,"rotateSlideOut","rotateSlideIn")}}function _(V,P=600,Vt=600){switch(V){case n:return P;case a:return Vt;default:return o.duration}}function v(V,P){switch(V){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return _(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return _(P,700,600);case"scaleSmall":return _(P,700,500);case"scaleLarge":return _(P,500,700);case"scaleToLargePrevScaleToSmall":return _(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return _(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return _(P,800,600);default:return o.duration}}let w=o.timingFunction;function g(V){switch(V){default:return o.easeFunction}}function m(V,P){switch(V){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:w=p()?"ease-in-out":"ease";break;case a:default:w=p()?"ease":"ease-in-out"}return g(P);default:return w=o.timingFunction,o.easeFunction}}function k(V,P=300){switch(V){case a:return o.delay+P;default:return o.delay}}function C(V,P){switch(V){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return k(P,500);case"scaleSmall":case"scaleLarge":return k(P,300);case"scaleToLargePrevScaleToSmall":return k(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return k(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return k(P,180);default:return o.delay}}let z=2,tt=2;const R=()=>{z=2,tt=2},D=()=>{z=2,tt=3},M=()=>{z=3,tt=2};function $(V){switch(o.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":M();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":p()?M():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":p()?D():M();break;default:R();break}f(n)&&n==V&&(h[n].style.zIndex=`${z}`,h[n].style.visibility="visible"),f(a)&&a==V&&(h[a].style.zIndex=`${tt}`,h[a].style.visibility="visible")}function N(V){D(),V==n&&(h[n].style.zIndex=`${z}`,h[n].style.visibility="hidden"),V==a&&(h[a].style.zIndex=`${tt}`,h[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const G=I();function st(V=0,P=!1){if(!G.value)return;let Vt=0;ir(qt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Nt,Ct)=>{const Kt=b(o.effect,Ct);return qt("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:n==Ct?"visible":"hidden",zIndex:P?"1":"0"}},Nt.pageKey?{key:Nt.pageKey}:{}),qt(Ln,{effect:Kt,duration:v(o.effect,Ct),easeFunction:m(o.effect,Ct),timingFunction:w,delay:C(o.effect,Ct),onReady:(Gt,j)=>{u[Ct]={open:Gt,close:j},++Vt==V&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{$(Ct)},onPageOpenEnd:()=>{N(Ct)},onPageCloseStart:()=>{$(Ct)},onPageCloseEnd:()=>{N(Ct)}},{default:()=>Nt.component instanceof HTMLElement?qt("div",{...Nt.attributes,innerHTML:Nt.component.innerHTML}):qt(Nt.component,Nt.attributes,()=>Nt.child)}))})),G.value),h=G.value.children[0].children}St(()=>o.effect,()=>{st()});function K(V=[]){c=[...V],c.forEach(P=>{P.pageKey=P.pageKey||Ps()}),i=()=>{n=-1,ft(0)},st(c.length,!0)}function q(V){V.pageKey=V.pageKey||Ps(),c.push(V),i=()=>{ft(c.length-1)},st(1,c.length==1)}function nt(){c.length<=1||ft(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,st()})}function U(){ft(n+1)}function H(){ft(n-1)}const gt=new un(1);function ft(V,P){gt.addTask(()=>new Promise(Vt=>{const Nt=()=>{P?.(),Vt()};if(!f(V)){Nt();return}if(a=V,a==n){Nt();return}l.push(Nt),st(),r("routeChangeStart",n,a,c.length),p()?(f(n)&&u[n].open(),f(a)&&u[a].open()):(f(n)&&u[n].close(),f(a)&&u[a].close())}))}return t({reset:K,push:q,pop:nt,forward:U,back:H,goto:ft,currentPageIndex:()=>n,totalPages:()=>c.length}),(V,P)=>(L(),Y("div",{class:"routes",ref_key:"routesRef",ref:G,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),nv={class:"tabs"},av=["onClick"],iv={class:"content"},lv=it(Q({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(o.initIndex),a=Zt([]),i=I(),l=I(0),c=I(0),u=I(0),h=I([]),f=[],p=Tp(),d=p.default&&p.default();d&&(lr(a,d),v(n.value));const b=(g,m)=>{if(g){if(f.push({index:m,el:g}),f.length<a.length)return;h.value=f}};St([i,h],()=>{_()});function _(){if(i.value&&h.value.length){const g=i.value.getBoundingClientRect(),m=h.value[n.value].el.getBoundingClientRect();l.value=m.x-g.x,c.value=m.y-g.y+m.height-2,u.value=m.width}}function v(g){n.value=g,r("changedIndex",g),_(),w.value.goto(g)}const w=I();return St(w,()=>{w.value&&w.value.reset(o.pages,()=>{w.value.goto(o.initIndex)})}),t({}),(g,m)=>(L(),Y("div",nv,[E("div",{class:"header",ref_key:"headerRef",ref:i},[(L(!0),Y(Xt,null,ye(o.labels,(k,C)=>(L(),Y("div",{key:k,class:te(C==n.value?"active":""),onClick:z=>v(C)},[E("div",{ref_for:!0,ref:z=>b(z,C)},yt(k),513)],10,av))),128)),E("div",{class:"indicator",style:A({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),E("div",iv,[lt(Ui,{ref_key:"routesRef",ref:w},null,512)])]))}}),[["styles",[`.tabs[data-v-a49dc86a]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-a49dc86a]{flex:1 1 auto}.header[data-v-a49dc86a]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-a49dc86a]{color:#5a82f0}.header>div[data-v-a49dc86a]{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-a49dc86a]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-a49dc86a]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
105
- `]],["__scopeId","data-v-a49dc86a"]]),cv=["width","height"],uv=Q({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(s,{expose:t,emit:e}){const o=s;let r=()=>{};const n=I();return St(n,()=>{if(!n.value)return;const a=new We(n.value),i=new zi(a,!0);i.ctx.strokeStyle=o.brushColor,i.ctx.lineWidth=o.brushSize,i.drawMouseMoveLine("line"),r=()=>{me.downloadFromSVGString(i.ctx.toRawSVG().raw,o.downloadFileName)}}),t({download:()=>r()}),(a,i)=>(L(),Y("canvas",{ref_key:"panelRef",ref:n,width:o.canvasWidth,height:o.canvasHeight,style:A([`border: 1px solid ${a.borderColor}`])},null,12,cv))}}),Zi=it(Q({__name:"ProgressBar.ce",props:{bgColor:{default:"#efefef"},progressColor:{default:"#a0dde9"},borderColor:{default:"#eeeeee"},borderRadius:{default:"4px"},showText:{type:Boolean,default:!1}},emits:["complete"],setup(s,{expose:t,emit:e}){const o=s,r=I(0);function n(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:n}),(a,i)=>(L(),Y("div",{class:"bar",style:A({border:`1px solid ${o.borderColor}`,borderRadius:o.borderRadius,backgroundColor:o.bgColor})},[E("div",{class:"bar-inner",style:A({width:r.value+"%",backgroundColor:o.progressColor})},yt(o.showText?r.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-2492fe8d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-2492fe8d]{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}
106
- `]],["__scopeId","data-v-2492fe8d"]]),hv={class:"page-vertical-scroll-progress-bar"},Wh=it(Q({customOptions:{ProgressBar:Dn},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(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=pg();return a.on(()=>{const i=Gg();r("progress",i),n.value?.goto(i)}),ee(()=>{a.remove()}),t({}),(i,l)=>(L(),Y("div",hv,[lt(Dn,{ref_key:"bar",ref:n,bgColor:o.bgColor,progressColor:o.progressColor,borderColor:o.borderColor,borderRadius:o.borderRadius,duringTimeGap:o.duringTimeGap,showText:o.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-7a8e7518]{position:relative;overflow:hidden;width:100%;height:100%}
107
- `]],["__scopeId","data-v-7a8e7518"]]),dv=["fill"],fv=["fill"],pv=Q({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{style:A(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,dv),E("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,fv)],4))}}),g2="",Zh=it(pv,[["__scopeId","data-v-987aed3d"]]),mv=s=>{const t={};if(s.attributes)for(let e=0,o=s.attributes,r=o.length;e<r;e++){const n=o[e];n.nodeName&&n.nodeValue&&(t[n.nodeName]=n.nodeValue)}return t},qi=s=>(Ts("data-v-85491020"),s=s(),Ss(),s),gv=[qi(()=>E("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)),qi(()=>E("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)),qi(()=>E("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))],yv=Q({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{style:A(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},gv,4))}}),_2="",Qi=it(yv,[["__scopeId","data-v-85491020"]]);function x2(s){return s}document.getElementById("teleport")||document.documentElement;function vv(s,t){{const e=document.querySelector("yz-dialog-toast#globalDialogToast");e&&"_instance"in e&&e._instance.exposed.open(s,t)}}function bv(s){{const t=document.querySelector("yz-dialog-loading#globalDialogLoading");return t&&"_instance"in t&&t._instance.exposed.open(s),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function _v(s){{const t=document.querySelector("yz-dialog#globalDialog");return t&&"_instance"in t&&t._instance.exposed.open(s),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}function As(s,t="bottom",e){let o;s instanceof HTMLElement?o=qt(be,{directionFrom:t,popBgColor:e?.popBgColor||"#ffffff",absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>qt("div",{...mv(s),innerHTML:s.innerHTML})):o=qt(be,{directionFrom:t,popBgColor:e?.popBgColor||"#ffffff",absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>s),ir(o,document.getElementById("teleport")||document.documentElement),o.component?.exposed?.open();const r=()=>{o.component?.exposed?.close()};return r.vnode=o,r}function qh(s,t){return As(s,"bottom",t)}function Qh(s,t){return As(s,"top",t)}function Kh(s,t){return As(s,"left",t)}function Jh(s,t){return As(s,"right",t)}function td(s,t){return As(s,"center",t)}function ed(s,t){return As(s,"absolute",t)}const xv=()=>qh(qt("div",{style:"padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Os}))),wv=()=>Qh(qt("div",{style:"padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Os}))),kv=()=>Kh(qt("div",{style:"padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Os}))),Cv=()=>Jh(qt("div",{style:"padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Os}))),Tv=()=>td(qt("div",{style:"width: 200px;height: 200px;padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Os}))),Sv=()=>ed(qt("div",{style:"width: 200px;height: 200px;padding: 30px;"},qt("yz-input",{placeholder:"请输入邮箱",validator:Os})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});let zn;function od(s){{const t=document.querySelector("yz-plate-keyboard#globalPlateKeyboard");return t&&"_instance"in t&&(zn&&t.removeEventListener("plates",zn),zn=e=>{"detail"in e&&s?.onPlates?.(e.detail[0])},t.addEventListener("plates",zn),t.initPlates=s?.initPlates,t.completePlateLength=s?.completePlateLength,t._instance.exposed.open()),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}const Bn=s=>(Ts("data-v-8d96d860"),s=s(),Ss(),s),Ev=Bn(()=>E("div",{class:"title"},"车牌颜色",-1)),Pv={class:"plate-types"},Ov=["onClick"],Iv=Bn(()=>E("div",{class:"title"},"车牌号码",-1)),Rv={class:"plate-numbers"},Fv=Bn(()=>E("div",{class:"dot"},"·",-1)),$v=["onClick"],Dv=Bn(()=>E("div",{class:"info"},"请输入您真实有效的车牌号,便于正常使用系统功能。",-1)),sd=it(Q({customOptions:{SVGCheck:Zh},__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"}},emits:["clear","complete"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7}],a=I(0),i=Zt([]),l=I(-1);function c(){od({initPlates:i,completePlateLength:n[a.value].completePlateLength,onPlates:f=>{lr(i,f),l.value=i.length,i.length===n[a.value].completePlateLength&&r("complete",n[a.value].name,i.join(""))}})}const u=f=>{a.value=f,l.value<=n[f].completePlateLength&&i.length<n[f].completePlateLength?(l.value=i.length,c(),r("clear")):lr(i,i.slice(0,n[f].completePlateLength)),n[f].completePlateLength===i.length&&r("complete",n[a.value].name,i.join(""))},h=f=>{lr(i,i.slice(0,f)),l.value=Math.min(Math.max(0,l.value),f),c(),r("clear")};return t({}),(f,p)=>(L(),Y("div",Aa(f.$attrs,{class:"plate-mobile",style:{maxWidth:o.maxWidth}}),[Ev,E("div",Pv,[(L(),Y(Xt,null,ye(n,(d,b)=>E("div",{key:b,class:te(b==a.value?"checked":""),onClick:_=>u(b)},[E("div",{style:A(d.style)},null,4),E("div",null,yt(d.name),1),E("div",null,[lt(Zh,{color:"#ffffff",width:"0.14rem"})])],10,Ov)),64))]),Iv,E("div",Rv,[E("div",{onClick:p[0]||(p[0]=d=>h(0)),class:te(l.value==0?"current":"")},yt(i[0]),3),E("div",{onClick:p[1]||(p[1]=d=>h(1)),class:te(l.value==1?"current":"")},yt(i[1]),3),Fv,(L(!0),Y(Xt,null,ye(n[a.value].completePlateLength-2,d=>(L(),Y("div",{key:d,class:te(d+1==l.value?"current":""),onClick:b=>h(d+1)},yt(i[d+1]),11,$v))),128))]),Dv],16))}}),[["styles",[`.plate-mobile[data-v-8d96d860]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-8d96d860]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-8d96d860]{display:flex;justify-content:center}.plate-types>div[data-v-8d96d860]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-8d96d860]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-8d96d860]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-8d96d860]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-8d96d860]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-8d96d860]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-8d96d860]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-8d96d860]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-8d96d860]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-8d96d860]{margin-left:.1rem}.plate-types>div.checked[data-v-8d96d860]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-8d96d860]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-8d96d860]:nth-child(3){display:block}.plate-numbers[data-v-8d96d860]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-8d96d860]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-8d96d860]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-8d96d860]{margin-left:.1rem}.plate-numbers>div.dot[data-v-8d96d860]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-8d96d860]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}
108
- `]],["__scopeId","data-v-8d96d860"]]),Lv=["data-number"],Mv=["data-number","data-unactive"],Av=["data-number"],Nv=["data-number","data-unactive"],Ki=it(Q({customOptions:{Pop:be,SVGCleanUp:Qi,Container:xt},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(0),i=Zt([]);function l(){i.length==0?a.value=0:i.length==1?a.value=1:a.value=2,i.length>=o.completePlateLength&&f()}St(()=>[...o.initPlates],()=>{lr(i,o.initPlates),l()},{immediate:!0});const c=I(0),u=(g,m)=>{c.value=m},h=()=>{n.value.open(),r("open")},f=()=>{n.value.close(),r("close")},p=()=>{i.pop(),l(),r("plates",i)},d=g=>{if(g.target.dataset.unactive||"")return;let k=g.target.dataset.number;k&&(i.push(k),l(),r("plates",i))};t({open:h,close:f});const b=["京","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],_=["1","2","3","4","5","6","7","8","9","0"],v=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],w=["港","澳","学","警","使","领","挂","应","急"];return(g,m)=>(L(),Mt(be,{ref_key:"popRef",ref:n,directionFrom:"bottom",isGlobal:!0,closeWhenClickOverlay:!1,popValue:c.value},{default:bt(()=>[lt(xt,{class:"popup-plate",style:A({paddingBottom:Et(vt).safeAreaBottom}),onResize:u},{default:bt(()=>[E("div",null,[E("div",{onClick:f},"关闭")]),E("div",{class:te(["step",a.value==0?"":"hide"])},[(L(),Y(Xt,null,ye(b,k=>E("div",{key:k,class:"popitem",onClick:d,"data-number":k},yt(k),9,Lv)),64)),E("div",{class:"popitem popitem-clear",onClick:p},[lt(Qi,{width:"16px"})])],2),E("div",{class:te(["step",a.value!=0?"":"hide"])},[(L(),Y(Xt,null,ye(_,k=>E("div",{key:k,class:te(["popitem",a.value!=2?"unactive":""]),onClick:d,"data-number":k,"data-unactive":a.value!=2?"unactive":""},yt(k),11,Mv)),64)),(L(),Y(Xt,null,ye(v,k=>E("div",{key:k,class:"popitem",onClick:d,"data-number":k},yt(k),9,Av)),64)),(L(),Y(Xt,null,ye(w,k=>E("div",{key:k,class:te(["popitem",a.value!=2?"unactive":""]),onClick:d,"data-number":k,"data-unactive":a.value!=2?"unactive":""},yt(k),11,Nv)),64)),E("div",{class:"popitem popitem-clear",onClick:p},[lt(Qi,{width:"16px"})])],2)]),_:1},8,["style"])]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-205c59a9]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-205c59a9]{display:none!important}.popup-plate>div[data-v-205c59a9]: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-205c59a9]{flex:0 0 auto;padding:0 .3rem;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-205c59a9]{display:flex;flex-wrap:wrap;justify-content:center;padding:.2rem .2rem .1rem}.popup-plate>.step>.popitem[data-v-205c59a9]{flex:0 0 auto;width:1rem;padding:.2rem 0;border:1px solid #e6e6e6;border-radius:.08rem;margin-right:.1rem;margin-bottom:.1rem;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-205c59a9]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-205c59a9]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-205c59a9]{background-color:#eee;display:flex;justify-content:center;align-items:center}
109
- `]],["__scopeId","data-v-205c59a9"]]),zv={class:"parent"},Bv=it(Q({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"},fontColor:{},fontSize:{}},setup(s,{expose:t,emit:e}){const o=s,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 n(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(h=>h.name===c);return u.length?u[0]:n("未知")}const a=I(n(o.plateType||""));let i=o.fontColor,l=o.fontSize;switch(o.displayType){case"dot":i=i||"#999999",l=l||"14px";break;case"chinese":i=i||"#333333",l=l||"14px";break;case"plaintext":i=i||"#333333",l=l||"14px";break}return t({}),(c,u)=>(L(),Y("div",zv,[c.displayType=="dot"&&c.plate!=="无牌车"?(L(),Y("div",{key:0,class:te(["leading",c.displayType]),style:A({...a.value.style,width:Et(l),height:Et(l)})},yt(a.value.name),7)):Ot("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(L(),Y("div",{key:1,class:te(["leading",c.displayType]),style:A(a.value.style)},yt(a.value.name),7)):Ot("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(L(),Y("div",{key:2,class:te(["leading",c.displayType]),style:A({color:Et(i),fontSize:Et(l)})},yt(a.value.name),7)):Ot("",!0),E("div",{class:"text",style:A({color:Et(i),"font-size":Et(l)})},yt(c.plate),5)]))}}),[["styles",[`.parent[data-v-49a2baa1]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-49a2baa1]{box-sizing:border-box;font-size:12px;line-height:1;border-radius:4px;margin-right:5px}.leading.chinese[data-v-49a2baa1]{padding:4px}.leading.dot[data-v-49a2baa1]{font-size:0;border-radius:50%}.leading.plaintext[data-v-49a2baa1]{padding-right:5px;border-right:1px solid #e6e6e6;border-radius:0}.text[data-v-49a2baa1]{line-height:1}
110
- `]],["__scopeId","data-v-49a2baa1"]]),Yv=E("div",{style:{"background-color":"#ffffff"}},"...",-1),rd=Q({customOptions:{Pop:be,Button:re,Container:xt},inheritAttrs:!0,__name:"Popover",props:{gap:{default:10},isGlobal:{type:Boolean,default:!0},closeWhenClickOverlay:{type:Boolean,default:!0}},setup(s,{expose:t}){const e=s,o=I();function r(){o.value.open()}function n(){o.value.close()}const a=I(),i=I(0),l=I(0),c=I(0),u=I(0),h=(f,p)=>{if(c.value=f,u.value=p,!a.value)return;const d=$s(),b=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(b.x+b.width+e.gap,d.width-f-e.gap)),l.value=Math.max(e.gap,Math.min(b.y,d.height-p-e.gap))};return t({open:r,close:n}),(f,p)=>(L(),Y(Xt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[kt(f.$slots,"button",{},()=>[lt(re,null,{default:bt(()=>[jt("popover")]),_:1})])],512),lt(be,{ref_key:"popRef",ref:o,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:bt(()=>[E("div",{style:A({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[lt(xt,{type:"shrink",onResize:h},{default:bt(()=>[kt(f.$slots,"panel",{},()=>[Yv])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),Vv={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},Xv=E("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
111
- to bottom,
112
- rgba(0, 0, 0, 0) 0%,
113
- rgb(0, 0, 0) 100%
114
- )`,"box-sizing":"border-box"}},null,-1),Gv={class:"hue-field",style:{width:"15px",height:"100px",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px",background:`linear-gradient(
100
+ `,u.value)}d=new os(u.value,!1),d.on("resize",(_,x)=>{r("resize",_,x,u.value.getBoundingClientRect()),p?.(d),f||(f=!0,s.effectTriggerTiming!=="manual"&&a(),r("ready",d),s.effectTriggerTiming=="immediate"&&l())}),d.on("mouseEnter",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("mouseLeave",()=>{s.effectTriggerTiming=="mouseMove"&&l()}),d.on("tap",()=>{s.effectTriggerTiming=="click"&&l(),s.supportCopyText&&Xi(vo(u.value).getInnerText()).then(()=>{}).catch(_=>{})}),d.start()});const h=()=>new Promise(_=>{if(d)return _(d);p=_}),w=async()=>(await h(),u.value.getBoundingClientRect());return se(()=>{d?.destroy()}),t({getElement:()=>u.value,getApp:h,getSize:w,startEffect:a,endEffect:i,nextEffect:l,repeatEffect:c}),(_,x)=>(L(),V("div",{class:ee(["container",[s.type]]),ref_key:"containerRef",ref:u,style:M({position:"relative",boxSizing:"border-box",display:s.type=="shrink"?"inline-block":"block",width:s.type=="full"?"100%":"auto",height:s.type=="full"?"100%":"auto"})},[kt(_.$slots,"default")],6))}}),Xn=q({customOptions:{},inheritAttrs:!0,__name:"Overlay.ce",props:{visible:{type:Boolean,default:!1},color:{default:me("#000000",.25).toString()},isGlobal:{type:Boolean,default:!0}},setup(o,{expose:t,emit:e}){const s=o,r=R(),n=document.documentElement.style.overflow,a=document.body.style.overflow;return St(()=>s.visible,()=>{s.isGlobal?s.visible?(document.documentElement.style.overflow="hidden",document.body.style.overflow="hidden"):(document.documentElement.style.overflow=n,document.body.style.overflow=a):r.value&&(s.visible?r.value.parentElement.style.overflow="hidden":r.value.parentElement.style.overflow="")},{immediate:!0}),t({}),(i,l)=>s.visible?(L(),V("div",{key:0,class:"overlay",ref_key:"overlayRef",ref:r,style:M([`background-color: ${s.color}`,`position: ${s.isGlobal?"fixed":"absolute"}`,"z-index: 9000","display: block","width: 100%","height: 100%","inset: 0","overflow: hidden"])},[kt(i.$slots,"default")],4)):Rt("",!0)}}),_o=q({customOptions:{Overlay:to,Container:wt},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:{},popPercent:{default:50},popBgColor:{default:"rgba(255,255,255,0)"}},emits:["open","close","resize","clickOverlay"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=new Ie({frameDuration:s.dur}),a=Qt({backgroundColor:s.popBgColor,position:"absolute",overflow:"hidden",opacity:"1"}),i=R("full");St(()=>[s.directionFrom,s.popValue],()=>{n.clear();const w=s.popValue?s.popValue:s.popPercent,_=s.popValue?"px":"%";switch(s.directionFrom){case"left":a.height="100%",a.width=`${w}${_}`,a.top="0",a.bottom="0",delete a.right,n.addTween({left:w},{left:0},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.left=`-${x.left}${_}`},onComplete:u});break;case"right":a.height="100%",a.width=`${w}${_}`,a.top="0",a.bottom="0",delete a.left,n.addTween({right:w},{right:0},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.right=`-${x.right}${_}`},onComplete:u});break;case"top":a.width="100%",a.height=`${w}${_}`,a.left="0",a.right="0",delete a.bottom,n.addTween({top:w},{top:0},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.top=`-${x.top}${_}`},onComplete:u});break;case"bottom":a.width="100%",a.height=`${w}${_}`,a.left="0",a.right="0",delete a.top,n.addTween({bottom:w},{bottom:0},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.bottom=`-${x.bottom}${_}`},onComplete:u});break;case"center":delete a.width,delete a.height,a.left="50%",delete a.right,a.top="50%",delete a.bottom,n.addTween({scale:.8,opacity:0},{scale:1,opacity:1},{easeFunction:ft.Quadratic.Out,onUpdate(x){a.transform=`translate(-50%, -50%) scale(${x.scale})`,a.opacity=`${x.opacity}`},onComplete:u});break;case"absolute":a.width=s.absoluteWidth,a.height=s.absoluteHeight,a.left=s.absoluteLeft,a.top=s.absoluteTop,delete a.right,delete a.bottom;break}switch(s.directionFrom){case"center":i.value="shrink",a.transform="translate(-50%, -50%)";break;case"absolute":i.value="shrink",delete a.transform,delete a.opacity;break;default:i.value="full",delete a.transform,delete a.opacity;break}},{immediate:!0}),St(()=>s.absoluteLeft,()=>{switch(s.directionFrom){case"absolute":a.left=s.absoluteLeft;break}}),St(()=>s.absoluteTop,()=>{switch(s.directionFrom){case"absolute":a.top=s.absoluteTop;break}}),St(()=>s.absoluteWidth,()=>{switch(s.directionFrom){case"absolute":a.width=s.absoluteWidth;break}}),St(()=>s.absoluteHeight,()=>{switch(s.directionFrom){case"absolute":a.height=s.absoluteHeight;break}});const l=(w,_,x)=>{r("resize",w,_,x)};let c="open";function u(){c=="open"?r("open"):(f.value=!1,r("close"))}const f=R(!1);function d(){f.value=!0,c="open",n.play()}function p(){switch(c="close",s.directionFrom){case"absolute":u();break;default:n.reverse();break}}function h(w){const _=s.directionFrom=="absolute"&&s.absoluteWidth=="100%"&&s.absoluteHeight=="100%"?"pop-content":"pop";w.target&&Yi(w.target,_)&&(s.closeWhenClickOverlay&&p(),r("clickOverlay"))}return t({open:d,close:p}),(w,_)=>(L(),Nt(to,{visible:f.value,isGlobal:s.isGlobal,color:s.overlayBgColor},{default:bt(()=>[E("div",{class:"pop",style:{display:"block",position:"relative",width:"100%",height:"100%",overflow:"hidden"},onClick:h},[ct(wt,{class:"pop-content",type:i.value,style:M(a),onResize:l},{default:bt(()=>[kt(w.$slots,"default",{},()=>[_[0]||(_[0]=E("div",null,null,-1))])]),_:3},8,["type","style"])])]),_:3},8,["visible","isGlobal","color"]))}}),Ki=q({customOptions:{Pop:we,Button:ne,Container:wt},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,s=R();function r(){s.value.open()}function n(){s.value.close()}const a=R(),i=R(0),l=R(0),c=R(0),u=R(0),f=(d,p)=>{if(c.value=d,u.value=p,!a.value)return;const h=Mo(),w=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(w.x+w.width+e.gap,h.width-d-e.gap)),l.value=Math.max(e.gap,Math.min(w.y,h.height-p-e.gap))};return t({open:r,close:n}),(d,p)=>(L(),V(Vt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[kt(d.$slots,"button",{},()=>[ct(ne,null,{default:bt(()=>p[0]||(p[0]=[jt("popover")])),_:1})])],512),ct(we,{ref_key:"popRef",ref:s,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:bt(()=>[E("div",{style:M({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[ct(wt,{type:"shrink",onResize:f},{default:bt(()=>[kt(d.$slots,"panel",{},()=>[p[1]||(p[1]=E("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),tv={class:"dialog-parent"},ev={key:0,class:"title"},sv={key:0,class:"title-inner truncate"},ov={class:"custom-content"},rv={class:"custom-content-default"},nv={key:1,class:"btns"},Gn=it(q({customOptions:{Overlay:to,Pop:we,Icon:ks,Button:ne},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(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=R(""),l=R(!1),c=R(""),u=R("");let f,d,p;const h=()=>{r("open")},w=()=>{f?.(),r("close")};function _(m){a.value=m?.title||"",i.value=m?.content||"",l.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",f=m?.onClose,d=m?.onCancel,p=m?.onConfirm,n.value.open()}function x(){n.value.close()}function v(){x(),d?.(),r("cancel")}function g(){x(),p?.(),r("confirm")}return t({open:_,close:x}),(m,b)=>(L(),Nt(we,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,overlayBgColor:s.overlayBgColor,onOpen:h,onClose:w},{default:bt(()=>[E("div",tv,[E("div",{class:"dialog",style:M({minWidth:s.minWidth,maxWidth:s.maxWidth})},[a.value||l.value?(L(),V("div",ev,[a.value?(L(),V("div",sv,yt(a.value),1)):Rt("",!0),l.value?(L(),V("div",{key:1,class:"close",onClick:x},[ct(ks,{icon:"ic:baseline-close",color:Ct(vt).colorGrayCC},null,8,["color"])])):Rt("",!0)])):Rt("",!0),E("div",ov,[kt(m.$slots,"default",{},()=>[E("div",rv,yt(i.value),1)],!0)]),c.value||u.value?(L(),V("div",nv,[c.value?(L(),Nt(ne,{key:0,onClick:v,class:"btn",bgColor:Ct(vt).colorGrayE6,borderColor:Ct(vt).colorGrayE6,fontColor:Ct(vt).colorGray33,borderRadius:"0"},{default:bt(()=>[jt(yt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):Rt("",!0),u.value?(L(),Nt(ne,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:bt(()=>[jt(yt(u.value),1)]),_:1})):Rt("",!0)])):Rt("",!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}
101
+ `]],["__scopeId","data-v-061fc404"]]),av={class:"dialog-parent"},iv={key:0,class:"title"},lv={key:0,class:"title-inner truncate"},cv={class:"custom-content"},uv={class:"custom-content-default"},fv={key:1,class:"btns"},dv=q({customOptions:{Overlay:to,Pop:we,Icon:ks,Button:ne},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(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=R(""),l=R(!1),c=R(""),u=R("");let f,d,p;const h=()=>{r("open")},w=()=>{f?.(),r("close")};function _(m){a.value=m?.title||"",i.value=m?.content||"",l.value=typeof m?.showClose=="boolean"?m?.showClose:!1,c.value=m?.cancelText||"",u.value=m?.confirmText||"",f=m?.onClose,d=m?.onCancel,p=m?.onConfirm,n.value.open()}function x(){n.value.close()}function v(){x(),d?.(),r("cancel")}function g(){x(),p?.(),r("confirm")}return t({open:_,close:x}),(m,b)=>(L(),Nt(we,{ref_key:"popRef",ref:n,directionFrom:"center",closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,overlayBgColor:s.overlayBgColor,onOpen:h,onClose:w},{default:bt(()=>[E("div",av,[E("div",{class:"dialog",style:M({minWidth:s.minWidth,maxWidth:s.maxWidth})},[a.value||l.value?(L(),V("div",iv,[a.value?(L(),V("div",lv,yt(a.value),1)):Rt("",!0),l.value?(L(),V("div",{key:1,class:"close",onClick:x},[ct(ks,{icon:"ic:baseline-close",color:Ct(vt).colorGrayCC},null,8,["color"])])):Rt("",!0)])):Rt("",!0),E("div",cv,[kt(m.$slots,"default",{},()=>[E("div",uv,yt(i.value),1)],!0)]),c.value||u.value?(L(),V("div",fv,[c.value?(L(),Nt(ne,{key:0,onClick:v,class:"btn",bgColor:Ct(vt).colorGrayE6,borderColor:Ct(vt).colorGrayE6,fontColor:Ct(vt).colorGray33,borderRadius:"0"},{default:bt(()=>[jt(yt(c.value),1)]),_:1},8,["bgColor","borderColor","fontColor"])):Rt("",!0),u.value?(L(),Nt(ne,{key:1,onClick:g,class:"btn",borderRadius:"0"},{default:bt(()=>[jt(yt(u.value),1)]),_:1})):Rt("",!0)])):Rt("",!0)],4)])]),_:3},8,["closeWhenClickOverlay","dur","overlayBgColor"]))}}),i2="",Un=it(dv,[["__scopeId","data-v-f9df8635"]]),hv={class:"loading-8"},pv={viewBox:"25 25 50 50"},mv=q({__name:"Loading8",props:{color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("div",hv,[(L(),V("svg",pv,[E("circle",{cx:"50",cy:"50",r:"20",style:M(["stroke: "+t.color])},null,4)]))]))}}),l2="",rd=it(mv,[["__scopeId","data-v-e5e3cf4c"]]),gv={class:"loading"},yv={class:"icon"},vv={style:{width:"8em"}},bv={key:0,class:"content"},nd=it(q({customOptions:{Overlay:to,Pop:we,Dialog:Un,Loading8:rd},inheritAttrs:!0,__name:"DialogLoading.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=()=>{r("open")},l=()=>{r("close")};function c(f){a.value=f||"",n.value.open()}function u(){n.value.close()}return t({open:c,close:u}),(f,d)=>(L(),Nt(Un,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,onOpen:i,onClose:l},{default:bt(()=>[E("div",gv,[E("div",yv,[kt(f.$slots,"default",{},()=>[E("div",vv,[ct(rd)])],!0)]),a.value?(L(),V("div",bv,yt(a.value),1)):Rt("",!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}
102
+ `]],["__scopeId","data-v-2227dca8"]]),_v={class:"toast"},xv={class:"content"},ad=it(q({customOptions:{Overlay:to,Pop:we,Dialog:Un},inheritAttrs:!0,__name:"DialogToast.ce",props:{closeWhenClickOverlay:{type:Boolean,default:!1},dur:{default:200}},emits:["open","close"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(""),i=()=>{r("open")},l=()=>{r("close")};function c(f,d=1500){a.value=f,n.value.open(),setTimeout(()=>{u()},d)}function u(){n.value.close()}return t({open:c,close:u}),(f,d)=>(L(),Nt(Un,{ref_key:"dialogRef",ref:n,showConfirm:!1,showTitle:!1,closeWhenClickOverlay:s.closeWhenClickOverlay,dur:s.dur,overlayBgColor:"transparent",minWidth:"10em",onOpen:i,onClose:l},{default:bt(()=>[E("div",_v,[E("div",xv,yt(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}
103
+ `]],["__scopeId","data-v-c02c226c"]]),Ji=q({customOptions:{Container:wt,CSSAnimation:Vo},inheritAttrs:!0,__name:"Page.ce",props:{effect:{default:"moveFromLeft"},duration:{default:500},easeFunction:{type:Function,default:ft.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["ready","pageOpenStart","pageOpenEnd","pageCloseStart","pageCloseEnd"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=Qt({}),i=()=>{r("ready",C,U)},l=()=>{w()},c=R();let u="rotateRightSideFirst",f=s.effect;function d(K,I){switch(f){case"static":I();break;default:K();break}}let p=!1;const h=new Ie,w=()=>{const K={},I={};h.clear(),h.frameDuration=s.duration,d(()=>{u=f},()=>{h.addTween(K,I,{delay:s.delay/s.duration,easeFunction:s.easeFunction,onStart:()=>{r(p?"pageCloseStart":"pageOpenStart")},onUpdate:$=>{a.transform="","x"in $&&(a.transform+=` translateX(${$.x}%)`),"y"in $&&(a.transform+=` translateY(${$.y}%)`),"rx"in $&&(a.transform+=` rotateX(${$.rx}deg)`),"ry"in $&&(a.transform+=` rotateY(${$.ry}deg)`),"scale"in $&&(a.transform+=` scale(${$.scale})`),"opacity"in $&&(a.opacity=`${$.opacity}`)},onComplete:()=>{r(p?"pageCloseEnd":"pageOpenEnd")}})})};St(()=>[s.effect,s.delay,s.duration,s.easeFunction],()=>{f=s.effect,w()},{immediate:!0});const _=()=>{r(p?"pageCloseStart":"pageOpenStart")},x=()=>{r(p?"pageCloseEnd":"pageOpenEnd")},v=()=>{d(()=>{c.value.trigger(u)},()=>{h.play()})},g=()=>{d(()=>{c.value.triggerReverse(u)},()=>{h.reverse()})},m=()=>{a.transform="none",a.opacity="1"};function b(){d(()=>{m()},()=>{c.value?.clear()})}const C=K=>{K&&(f=K,w()),p=!1,b(),n.value.startEffect()},U=K=>{K&&(f=K,w()),p=!0,b(),n.value.endEffect()};return t({open:C,close:U,clear:m,getElement:()=>n.value.getElement()}),(K,I)=>(L(),Nt(wt,{class:"page",ref_key:"pageRef",ref:n,type:"full",effectTriggerTiming:"manual",style:{overflow:"hidden",width:"100%",height:"100%"},onReady:i,onResize:l,onStart:v,onEnd:g},{default:bt(()=>[ct(Vo,{ref_key:"cssAnimationRef",ref:c,containerType:"full",effectTriggerTiming:"manual",duration:s.duration,delay:s.delay,timingFunction:s.timingFunction,onCssanimationstart:_,onCssanimationend:x},{default:bt(()=>[E("div",{class:"page-inner",style:M({position:"relative",display:"block",width:"100%",height:"100%",overflow:"scroll",backfaceVisibility:"hidden",transformStyle:"preserve-3d",...a})},[kt(K.$slots,"default")],4)]),_:3},8,["duration","delay","timingFunction"])]),_:3},512))}}),tl=q({customOptions:{Page:Yn,Container:wt},inheritAttrs:!0,__name:"Routes.ce",props:{effect:{default:"moveToLeft"},duration:{default:500},easeFunction:{type:Function,default:ft.Cubic.InOut},timingFunction:{default:"ease"},delay:{default:0}},emits:["routeChangeStart","routeChangeEnd","renderComplete"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n=-1,a=-1,i;const l=[];let c=[],u=[],f=[];function d(B){return B>=0&&B<c.length}function p(){return a>n}function h(B,P,Yt){switch(B){case n:return p()?P:Yt;case a:return p()?Yt:P;default:return"static"}}function w(B,P){switch(B){case"moveToLeft":return h(P,"moveToLeft","moveFromRight");case"moveToRight":return h(P,"moveToRight","moveFromLeft");case"moveToTop":return h(P,"moveToTop","moveFromBottom");case"moveToBottom":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevFade":return h(P,"fade","moveFromLeft");case"moveFromRightPrevFade":return h(P,"fade","moveFromRight");case"moveFromTopPrevFade":return h(P,"fade","moveFromTop");case"moveFromBottomPrevFade":return h(P,"fade","moveFromBottom");case"moveToLeftFade":return h(P,"moveToLeftFade","moveFromRightFade");case"moveToRightFade":return h(P,"moveToRightFade","moveFromLeftFade");case"moveToTopFade":return h(P,"moveToTopFade","moveFromBottomFade");case"moveToBottomFade":return h(P,"moveToBottomFade","moveFromTopFade");case"moveToLeftEasing":return h(P,"moveToLeft","moveFromRight");case"moveToRightEasing":return h(P,"moveToRight","moveFromLeft");case"moveToTopEasing":return h(P,"moveToTop","moveFromBottom");case"moveToBottomEasing":return h(P,"moveToBottom","moveFromTop");case"moveFromLeftPrevScaleToSmall":return h(P,"scaleToSmall","moveFromLeft");case"moveFromRightPrevScaleToSmall":return h(P,"scaleToSmall","moveFromRight");case"moveFromTopPrevScaleToSmall":return h(P,"scaleToSmall","moveFromTop");case"moveFromBottomPrevScaleToSmall":return h(P,"scaleToSmall","moveFromBottom");case"scaleSmall":return h(P,"scaleToSmall","scaleFromLarge");case"scaleLarge":return h(P,"scaleToLarge","scaleFromSmall");case"scaleToLargePrevScaleToSmall":return h(P,"scaleToSmallCenter","scaleFromSmallCenter");case"scaleFromSmallPrevMoveToLeft":return h(P,"moveToLeft","scaleFromSmall");case"scaleFromSmallPrevMoveToRight":return h(P,"moveToRight","scaleFromSmall");case"scaleFromSmallPrevMoveToTop":return h(P,"moveToTop","scaleFromSmall");case"scaleFromSmallPrevMoveToBottom":return h(P,"moveToBottom","scaleFromSmall");case"glueToLeft":return h(P,"rotateRightSideFirst","moveFromRight");case"glueToRight":return h(P,"rotateLeftSideFirst","moveFromLeft");case"glueToTop":return h(P,"rotateBottomSideFirst","moveFromBottom");case"glueToBottom":return h(P,"rotateTopSideFirst","moveFromTop");case"flipToLeft":return h(P,"flipOutLeft","flipInRight");case"flipToRight":return h(P,"flipOutRight","flipInLeft");case"flipToTop":return h(P,"flipOutTop","flipInBottom");case"flipToBottom":return h(P,"flipOutBottom","flipInTop");case"rotateFall":return h(P,"rotateFall","scaleFromSmall");case"newspaper":return h(P,"rotateOutNewspaper","rotateInNewspaper");case"moveFromLeftPrevPush":return h(P,"rotatePushRight","moveFromLeft");case"moveFromRightPrevPush":return h(P,"rotatePushLeft","moveFromRight");case"moveFromTopPrevPush":return h(P,"rotatePushBottom","moveFromTop");case"moveFromBottomPrevPush":return h(P,"rotatePushTop","moveFromBottom");case"pullFromLeftPrevPush":return h(P,"rotatePushRight","rotatePullLeft");case"pullFromRightPrevPush":return h(P,"rotatePushLeft","rotatePullRight");case"pullFromTopPrevPush":return h(P,"rotatePushBottom","rotatePullTop");case"pullFromBottomPrevPush":return h(P,"rotatePushTop","rotatePullBottom");case"moveFromLeftFadePrevFold":return h(P,"rotateFoldRight","moveFromLeftFade");case"moveFromRightFadePrevFold":return h(P,"rotateFoldLeft","moveFromRightFade");case"moveFromTopFadePrevFold":return h(P,"rotateFoldBottom","moveFromTopFade");case"moveFromBottomFadePrevFold":return h(P,"rotateFoldTop","moveFromBottomFade");case"moveToLeftFadePrevUnfold":return h(P,"moveToLeftFade","rotateUnfoldRight");case"moveToRightFadePrevUnfold":return h(P,"moveToRightFade","rotateUnfoldLeft");case"moveToTopFadePrevUnfold":return h(P,"moveToTopFade","rotateUnfoldBottom");case"moveToBottomFadePrevUnfold":return h(P,"moveToBottomFade","rotateUnfoldTop");case"rotateRoomLeftIn":return h(P,"rotateRoomLeftOut","rotateRoomLeftIn");case"rotateRoomRightIn":return h(P,"rotateRoomRightOut","rotateRoomRightIn");case"rotateRoomTopIn":return h(P,"rotateRoomTopOut","rotateRoomTopIn");case"rotateRoomBottomIn":return h(P,"rotateRoomBottomOut","rotateRoomBottomIn");case"rotateCubeLeftIn":return h(P,"rotateCubeLeftOut","rotateCubeLeftIn");case"rotateCubeRightIn":return h(P,"rotateCubeRightOut","rotateCubeRightIn");case"rotateCubeTopIn":return h(P,"rotateCubeTopOut","rotateCubeTopIn");case"rotateCubeBottomIn":return h(P,"rotateCubeBottomOut","rotateCubeBottomIn");case"rotateCarouselLeftIn":return h(P,"rotateCarouselLeftOut","rotateCarouselLeftIn");case"rotateCarouselRightIn":return h(P,"rotateCarouselRightOut","rotateCarouselRightIn");case"rotateCarouselTopIn":return h(P,"rotateCarouselTopOut","rotateCarouselTopIn");case"rotateCarouselBottomIn":return h(P,"rotateCarouselBottomOut","rotateCarouselBottomIn");case"rotateSidesIn":return h(P,"rotateSidesOut","rotateSidesIn");case"rotateSlideIn":return h(P,"rotateSlideOut","rotateSlideIn")}}function _(B,P=600,Yt=600){switch(B){case n:return P;case a:return Yt;default:return s.duration}}function x(B,P){switch(B){case"moveFromLeftFadePrevFold":case"moveFromRightFadePrevFold":case"moveFromTopFadePrevFold":case"moveFromBottomFadePrevFold":return _(P,700,700);case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":case"moveFromLeftPrevScaleToSmall":case"moveFromRightPrevScaleToSmall":case"moveFromTopPrevScaleToSmall":case"moveFromBottomPrevScaleToSmall":return _(P,700,600);case"scaleSmall":return _(P,700,500);case"scaleLarge":return _(P,500,700);case"scaleToLargePrevScaleToSmall":return _(P,400,400);case"scaleFromSmallPrevMoveToLeft":case"scaleFromSmallPrevMoveToRight":case"scaleFromSmallPrevMoveToTop":case"scaleFromSmallPrevMoveToBottom":return _(P,600,700);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":return _(P,800,600);default:return s.duration}}let v=s.timingFunction;function g(B){switch(B){default:return s.easeFunction}}function m(B,P){switch(B){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":switch(P){case n:v=p()?"ease-in-out":"ease";break;case a:default:v=p()?"ease":"ease-in-out"}return g(P);default:return v=s.timingFunction,s.easeFunction}}function b(B,P=300){switch(B){case a:return s.delay+P;default:return s.delay}}function C(B,P){switch(B){case"flipToLeft":case"flipToRight":case"flipToTop":case"flipToBottom":case"newspaper":return b(P,500);case"scaleSmall":case"scaleLarge":return b(P,300);case"scaleToLargePrevScaleToSmall":return b(P,400);case"glueToLeft":case"glueToRight":case"glueToTop":case"glueToBottom":case"rotateSidesIn":return b(P,200);case"pullFromLeftPrevPush":case"pullFromRightPrevPush":case"pullFromTopPrevPush":case"pullFromBottomPrevPush":return b(P,180);default:return s.delay}}let U=2,K=2;const I=()=>{U=2,K=2},$=()=>{U=2,K=3},N=()=>{U=3,K=2};function D(B){switch(s.effect){case"moveToLeftEasing":case"moveToRightEasing":case"moveToTopEasing":case"moveToBottomEasing":N();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":p()?N():$();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":p()?$():N();break;default:I();break}d(n)&&n==B&&(f[n].style.zIndex=`${U}`,f[n].style.visibility="visible"),d(a)&&a==B&&(f[a].style.zIndex=`${K}`,f[a].style.visibility="visible")}function A(B){$(),B==n&&(f[n].style.zIndex=`${U}`,f[n].style.visibility="hidden"),B==a&&(f[a].style.zIndex=`${K}`,f[a].style.visibility="visible",l.shift()?.(),r("routeChangeEnd",n,a,c.length),n=a)}const X=R();function rt(B=0,P=!1){if(!X.value)return;let Yt=0;dn(Kt("div",{class:"routes-pages",style:{display:"block",width:"100%",height:"100%",overflow:"hidden",position:"relative"}},c.map((Mt,Et)=>{const te=w(s.effect,Et);return Kt("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:n==Et?"visible":"hidden",zIndex:P?"1":"0"}},Mt.pageKey?{key:Mt.pageKey}:{}),Kt(Yn,{effect:te,duration:x(s.effect,Et),easeFunction:m(s.effect,Et),timingFunction:v,delay:C(s.effect,Et),onReady:(Xt,j)=>{u[Et]={open:Xt,close:j},++Yt==B&&(i?.(),r("renderComplete"))},onPageOpenStart:()=>{D(Et)},onPageOpenEnd:()=>{A(Et)},onPageCloseStart:()=>{D(Et)},onPageCloseEnd:()=>{A(Et)}},{default:()=>Mt.component instanceof HTMLElement?Kt("div",{...Mt.attributes,innerHTML:Mt.component.innerHTML}):Kt(Mt.component,Mt.attributes,()=>Mt.child)}))})),X.value),f=X.value.children[0].children}St(()=>s.effect,()=>{rt()});function Q(B=[]){c=[...B],c.forEach(P=>{P.pageKey=P.pageKey||Fo()}),i=()=>{n=-1,ht(0)},rt(c.length,!0)}function Z(B){B.pageKey=B.pageKey||Fo(),c.push(B),i=()=>{ht(c.length-1)},rt(1,c.length==1)}function at(){c.length<=1||ht(c.length-2,()=>{c.splice(c.length-1,1),n=c.length-1,rt()})}function G(){ht(n+1)}function H(){ht(n-1)}const gt=new gn(1);function ht(B,P){gt.addTask(()=>new Promise(Yt=>{const Mt=()=>{P?.(),Yt()};if(!d(B)){Mt();return}if(a=B,a==n){Mt();return}l.push(Mt),rt(),r("routeChangeStart",n,a,c.length),p()?(d(n)&&u[n].open(),d(a)&&u[a].open()):(d(n)&&u[n].close(),d(a)&&u[a].close())}))}return t({reset:Q,push:Z,pop:at,forward:G,back:H,goto:ht,currentPageIndex:()=>n,totalPages:()=>c.length}),(B,P)=>(L(),V("div",{class:"routes",ref_key:"routesRef",ref:X,style:{display:"block",position:"relative",width:"100%",height:"100%","overflow-x":"hidden","overflow-y":"hidden"}},null,512))}}),wv={class:"tabs"},kv=["onClick"],Cv={class:"content"},Tv=it(q({customOptions:{},inheritAttrs:!0,__name:"Tabs.ce",props:{labels:{},pages:{},initIndex:{default:0}},emits:["changedIndex"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(s.initIndex),a=Qt([]),i=R(),l=R(0),c=R(0),u=R(0),f=R([]),d=[],p=$p(),h=p.default&&p.default();h&&(hr(a,h),x(n.value));const w=(g,m)=>{if(g){if(d.push({index:m,el:g}),d.length<a.length)return;f.value=d}};St([i,f],()=>{_()});function _(){if(i.value&&f.value.length){const g=i.value.getBoundingClientRect(),m=f.value[n.value].el.getBoundingClientRect();l.value=m.x-g.x,c.value=m.y-g.y+m.height-2,u.value=m.width}}function x(g){n.value=g,r("changedIndex",g),_(),v.value.goto(g)}const v=R();return St(v,()=>{v.value&&v.value.reset(s.pages,()=>{v.value.goto(s.initIndex)})}),t({}),(g,m)=>(L(),V("div",wv,[E("div",{class:"header",ref_key:"headerRef",ref:i},[(L(!0),V(Vt,null,_e(s.labels,(b,C)=>(L(),V("div",{key:b,class:ee(C==n.value?"active":""),onClick:U=>x(C)},[E("div",{ref_for:!0,ref:U=>w(U,C)},yt(b),513)],10,kv))),128)),E("div",{class:"indicator",style:M({top:c.value+"px",left:l.value+"px",width:u.value+"px",height:"2px"})},null,4)],512),E("div",Cv,[ct(Qi,{ref_key:"routesRef",ref:v},null,512)])]))}}),[["styles",[`.tabs[data-v-a49dc86a]{display:flex;flex-direction:column;width:100%;height:100%}.content[data-v-a49dc86a]{flex:1 1 auto}.header[data-v-a49dc86a]{flex:0 0 auto;position:relative;display:flex;font-size:14px;line-height:1;color:#999;box-sizing:border-box}.header .active[data-v-a49dc86a]{color:#5a82f0}.header>div[data-v-a49dc86a]{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-a49dc86a]{box-sizing:border-box;padding:10px 0}.header>div.indicator[data-v-a49dc86a]{display:inline-block;flex:0;position:absolute;background-color:#5a82f0;transition:all ease-out .2s}
104
+ `]],["__scopeId","data-v-a49dc86a"]]),Sv=["width","height"],Ev=q({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 s=o;let r=()=>{};const n=R();return St(n,()=>{if(!n.value)return;const a=new os(n.value),i=new Ui(a,!0);i.ctx.strokeStyle=s.brushColor,i.ctx.lineWidth=s.brushSize,i.drawMouseMoveLine("line"),r=()=>{pe.downloadFromSVGString(i.ctx.toRawSVG().raw,s.downloadFileName)}}),t({download:()=>r()}),(a,i)=>(L(),V("canvas",{ref_key:"panelRef",ref:n,width:s.canvasWidth,height:s.canvasHeight,style:M([`border: 1px solid ${a.borderColor}`])},null,12,Sv))}}),el=it(q({__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 s=o,r=R(0);function n(a){r.value=Math.min(Math.max(0,a),100)}return t({goto:n}),(a,i)=>(L(),V("div",{class:"bar",style:M({border:`1px solid ${s.borderColor}`,borderRadius:s.borderRadius,backgroundColor:s.bgColor})},[E("div",{class:"bar-inner",style:M({width:r.value+"%",backgroundColor:s.progressColor})},yt(s.showText?r.value+"%":""),5)],4))}}),[["styles",[`.bar[data-v-2492fe8d]{position:relative;overflow:hidden;width:100%;height:100%}.bar-inner[data-v-2492fe8d]{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}
105
+ `]],["__scopeId","data-v-2492fe8d"]]),Pv={class:"page-vertical-scroll-progress-bar"},id=it(q({customOptions:{ProgressBar:Bn},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 s=o,r=e,n=R(),a=Dg();return a.on(()=>{const i=uy();r("progress",i),n.value?.goto(i)}),se(()=>{a.destroy()}),t({}),(i,l)=>(L(),V("div",Pv,[ct(Bn,{ref_key:"bar",ref:n,bgColor:s.bgColor,progressColor:s.progressColor,borderColor:s.borderColor,borderRadius:s.borderRadius,duringTimeGap:s.duringTimeGap,showText:s.showText},null,8,["bgColor","progressColor","borderColor","borderRadius","duringTimeGap","showText"])]))}}),[["styles",[`.page-vertical-scroll-progress-bar[data-v-7a4e1639]{position:relative;overflow:hidden;width:100%;height:100%}
106
+ `]],["__scopeId","data-v-7a4e1639"]]),Ov=["fill"],Rv=["fill"],Iv=q({__name:"SVGCheck",props:{width:{default:"10px"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{style:M(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,Ov),E("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,Rv)],4))}}),b2="",ld=it(Iv,[["__scopeId","data-v-987aed3d"]]),Fv=o=>{const t={};if(o.attributes)for(let e=0,s=o.attributes,r=s.length;e<r;e++){const n=s[e];n.nodeName&&n.nodeValue&&(t[n.nodeName]=n.nodeValue)}return t},Dv=q({__name:"SVGCleanUp",props:{width:{default:"16px"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{style:M(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},s[0]||(s[0]=[E("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),E("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),E("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))}}),_2="",sl=it(Dv,[["__scopeId","data-v-85491020"]]);function x2(o){return o}document.getElementById("teleport")||document.documentElement;function $v(o,t){{const e=document.querySelector("yz-dialog-toast#globalDialogToast");e&&"_instance"in e&&e._instance.exposed.open(o,t)}}function Lv(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 Nv(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 Bo(o,t="bottom",e){let s;o instanceof HTMLElement?s=Kt(we,{directionFrom:t,popBgColor:e?.popBgColor||"#ffffff",absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>Kt("div",{...Fv(o),innerHTML:o.innerHTML})):s=Kt(we,{directionFrom:t,popBgColor:e?.popBgColor||"#ffffff",absoluteLeft:e?.absoluteLeft,absoluteTop:e?.absoluteTop,absoluteWidth:e?.absoluteWidth,absoluteHeight:e?.absoluteHeight},()=>o),dn(s,document.getElementById("teleport")||document.documentElement),s.component?.exposed?.open();const r=()=>{s.component?.exposed?.close()};return r.vnode=s,r}function cd(o,t){return Bo(o,"bottom",t)}function ud(o,t){return Bo(o,"top",t)}function fd(o,t){return Bo(o,"left",t)}function dd(o,t){return Bo(o,"right",t)}function hd(o,t){return Bo(o,"center",t)}function pd(o,t){return Bo(o,"absolute",t)}const Mv=()=>cd(Kt("div",{style:"padding: 30px;"},Kt("yz-input",{placeholder:"请输入邮箱",validator:Do}))),Av=()=>ud(Kt("div",{style:"padding: 30px;"},Kt("yz-input",{placeholder:"请输入邮箱",validator:Do}))),zv=()=>fd(Kt("div",{style:"padding: 30px;"},Kt("yz-input",{placeholder:"请输入邮箱",validator:Do}))),Vv=()=>dd(Kt("div",{style:"padding: 30px;"},Kt("yz-input",{placeholder:"请输入邮箱",validator:Do}))),Bv=()=>hd(Kt("div",{style:"width: 200px;height: 200px;padding: 30px;"},Kt("yz-input",{placeholder:"请输入邮箱",validator:Do}))),Yv=()=>pd(Kt("div",{style:"width: 200px;height: 200px;padding: 30px;"},Kt("yz-input",{placeholder:"请输入邮箱",validator:Do})),{absoluteLeft:"50%",absoluteTop:"50%",absoluteWidth:"200px",absoluteHeight:"200px"});let jn;function md(o){{const t=document.querySelector("yz-plate-keyboard#globalPlateKeyboard");return t&&"_instance"in t&&(jn&&t.removeEventListener("plates",jn),jn=e=>{"detail"in e&&o?.onPlates?.(e.detail[0])},t.addEventListener("plates",jn),t.initPlates=o?.initPlates,t.completePlateLength=o?.completePlateLength,t._instance.exposed.open()),()=>{t&&"_instance"in t&&t._instance.exposed.close()}}}const Xv={class:"plate-types"},Gv=["onClick"],Uv={class:"plate-numbers"},jv=["onClick"],gd=it(q({customOptions:{SVGCheck:ld},__name:"PlateMobile.ce",props:{maxWidth:{default:"750px"}},emits:["clear","complete"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=[{name:"蓝牌",style:"background-color: #0078f0;",completePlateLength:7},{name:"绿牌",style:"background-color: #00f08c;",completePlateLength:8},{name:"黄牌",style:"background-color: #fac800;",completePlateLength:7},{name:"黄绿",style:"background: linear-gradient(90deg, #fac800 51.5%, #00f08c 51.51%);",completePlateLength:8},{name:"黑牌",style:"background-color: #222222;",completePlateLength:7}],a=R(0),i=Qt([]),l=R(-1);function c(){md({initPlates:i,completePlateLength:n[a.value].completePlateLength,onPlates:d=>{hr(i,d),l.value=i.length,i.length===n[a.value].completePlateLength&&r("complete",n[a.value].name,i.join(""))}})}const u=d=>{a.value=d,l.value<=n[d].completePlateLength&&i.length<n[d].completePlateLength?(l.value=i.length,c(),r("clear")):hr(i,i.slice(0,n[d].completePlateLength)),n[d].completePlateLength===i.length&&r("complete",n[a.value].name,i.join(""))},f=d=>{hr(i,i.slice(0,d)),l.value=Math.min(Math.max(0,l.value),d),c(),r("clear")};return t({}),(d,p)=>(L(),V("div",Ya(d.$attrs,{class:"plate-mobile",style:{maxWidth:s.maxWidth}}),[p[3]||(p[3]=E("div",{class:"title"},"车牌颜色",-1)),E("div",Xv,[(L(),V(Vt,null,_e(n,(h,w)=>E("div",{key:w,class:ee(w==a.value?"checked":""),onClick:_=>u(w)},[E("div",{style:M(h.style)},null,4),E("div",null,yt(h.name),1),E("div",null,[ct(ld,{color:"#ffffff",width:"0.14rem"})])],10,Gv)),64))]),p[4]||(p[4]=E("div",{class:"title"},"车牌号码",-1)),E("div",Uv,[E("div",{onClick:p[0]||(p[0]=h=>f(0)),class:ee(l.value==0?"current":"")},yt(i[0]),3),E("div",{onClick:p[1]||(p[1]=h=>f(1)),class:ee(l.value==1?"current":"")},yt(i[1]),3),p[2]||(p[2]=E("div",{class:"dot"},"·",-1)),(L(!0),V(Vt,null,_e(n[a.value].completePlateLength-2,h=>(L(),V("div",{key:h,class:ee(h+1==l.value?"current":""),onClick:w=>f(h+1)},yt(i[h+1]),11,jv))),128))]),p[5]||(p[5]=E("div",{class:"info"},"请输入您真实有效的车牌号,便于正常使用系统功能。",-1))],16))}}),[["styles",[`.plate-mobile[data-v-8d96d860]{background-color:#fff;overflow:hidden;border-radius:.16rem;padding-bottom:.3rem;padding-left:.3rem;padding-right:.3rem}.title[data-v-8d96d860]{font-size:16px;line-height:1;color:#333;font-weight:700;text-align:center;margin-top:.4rem;margin-bottom:.2rem}.plate-types[data-v-8d96d860]{display:flex;justify-content:center}.plate-types>div[data-v-8d96d860]{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;width:1.2rem;height:.88rem;border-radius:.08rem;background-color:#f5f5f5;cursor:pointer;overflow:hidden}.plate-types>div>div[data-v-8d96d860]:nth-child(1){width:.28rem;height:.28rem;margin-bottom:.1rem;border-radius:50%;background-color:#0078f0}.plate-types>div:nth-child(2)>div[data-v-8d96d860]:nth-child(1){background-color:#00f08c}.plate-types>div:nth-child(3)>div[data-v-8d96d860]:nth-child(1){background-color:#fac800}.plate-types>div:nth-child(4)>div[data-v-8d96d860]:nth-child(1){background:linear-gradient(90deg,#fac800 51.5%,#00f08c 51.51%)}.plate-types>div:nth-child(5)>div[data-v-8d96d860]:nth-child(1){background-color:#222}.plate-types>div>div[data-v-8d96d860]:nth-child(2){color:#ccc;font-size:14px;line-height:1;font-weight:700}.plate-types>div>div[data-v-8d96d860]:nth-child(3){display:none;position:absolute;right:-.02rem;bottom:-.02rem;width:.32rem;height:.32rem;border-radius:.32rem 0 .08rem;background:#5a82f0}.plate-types>div>div:nth-child(3)>svg[data-v-8d96d860]{position:absolute;top:.12rem;left:.12rem}.plate-types>div+div[data-v-8d96d860]{margin-left:.1rem}.plate-types>div.checked[data-v-8d96d860]{border:1px solid #5a82f0}.plate-types>div.checked>div[data-v-8d96d860]:nth-child(2){color:#333}.plate-types>div.checked>div[data-v-8d96d860]:nth-child(3){display:block}.plate-numbers[data-v-8d96d860]{display:flex;justify-content:center;align-items:center}.plate-numbers>div[data-v-8d96d860]{flex:1;max-width:.8rem;height:.88rem;line-height:.88rem;border-radius:.08rem;font-size:.36rem;color:#333;text-align:center;border:1px solid #cccccc}.plate-numbers>div.current[data-v-8d96d860]{border:1px solid #5a82f0}.plate-numbers>div+div[data-v-8d96d860]{margin-left:.1rem}.plate-numbers>div.dot[data-v-8d96d860]{flex:0;border:0;padding:0 .05rem;color:#ccc;font-size:46px;margin-right:-.1rem;margin-left:0}.info[data-v-8d96d860]{font-size:12px;line-height:16px;font-weight:400;color:#999;text-align:center;padding:0 .1rem;margin-top:.4rem}
107
+ `]],["__scopeId","data-v-8d96d860"]]),Hv=["data-number"],Wv=["data-number","data-unactive"],Zv=["data-number"],qv=["data-number","data-unactive"],ol=it(q({customOptions:{Pop:we,SVGCleanUp:sl,Container:wt},__name:"PlateKeyboard.ce",props:{initPlates:{default:()=>[]},completePlateLength:{default:7}},emits:["open","close","plates"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(0),i=Qt([]);function l(){i.length==0?a.value=0:i.length==1?a.value=1:a.value=2,i.length>=s.completePlateLength&&d()}St(()=>[...s.initPlates],()=>{hr(i,s.initPlates),l()},{immediate:!0});const c=R(0),u=(g,m)=>{c.value=m},f=()=>{n.value.open(),r("open")},d=()=>{n.value.close(),r("close")},p=()=>{i.pop(),l(),r("plates",i)},h=g=>{if(g.target.dataset.unactive||"")return;let b=g.target.dataset.number;b&&(i.push(b),l(),r("plates",i))};t({open:f,close:d});const w=["京","沪","津","渝","黑","吉","辽","蒙","冀","新","甘","青","陕","宁","豫","鲁","晋","皖","鄂","湘","苏","川","云","桂","藏","浙","赣","粤","闽","琼","贵"],_=["1","2","3","4","5","6","7","8","9","0"],x=["A","B","C","D","E","F","G","H","J","K","L","M","N","P","Q","R","S","T","U","V","W","X","Y","Z"],v=["港","澳","学","警","使","领","挂","应","急"];return(g,m)=>(L(),Nt(we,{ref_key:"popRef",ref:n,directionFrom:"bottom",isGlobal:!0,closeWhenClickOverlay:!1,popValue:c.value},{default:bt(()=>[ct(wt,{class:"popup-plate",style:M({paddingBottom:Ct(vt).safeAreaBottom}),onResize:u},{default:bt(()=>[E("div",null,[E("div",{onClick:d},"关闭")]),E("div",{class:ee(["step",a.value==0?"":"hide"])},[(L(),V(Vt,null,_e(w,b=>E("div",{key:b,class:"popitem",onClick:h,"data-number":b},yt(b),9,Hv)),64)),E("div",{class:"popitem popitem-clear",onClick:p},[ct(sl,{width:"16px"})])],2),E("div",{class:ee(["step",a.value!=0?"":"hide"])},[(L(),V(Vt,null,_e(_,b=>E("div",{key:b,class:ee(["popitem",a.value!=2?"unactive":""]),onClick:h,"data-number":b,"data-unactive":a.value!=2?"unactive":""},yt(b),11,Wv)),64)),(L(),V(Vt,null,_e(x,b=>E("div",{key:b,class:"popitem",onClick:h,"data-number":b},yt(b),9,Zv)),64)),(L(),V(Vt,null,_e(v,b=>E("div",{key:b,class:ee(["popitem",a.value!=2?"unactive":""]),onClick:h,"data-number":b,"data-unactive":a.value!=2?"unactive":""},yt(b),11,qv)),64)),E("div",{class:"popitem popitem-clear",onClick:p},[ct(sl,{width:"16px"})])],2)]),_:1},8,["style"])]),_:1},8,["popValue"]))}}),[["styles",[`.popup-plate[data-v-205c59a9]{box-sizing:border-box;width:100%;background-color:#ddd}.hide[data-v-205c59a9]{display:none!important}.popup-plate>div[data-v-205c59a9]: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-205c59a9]{flex:0 0 auto;padding:0 .3rem;color:#5a82f0;font-size:16px;line-height:2.6;cursor:pointer}.popup-plate>.step[data-v-205c59a9]{display:flex;flex-wrap:wrap;justify-content:center;padding:.2rem .2rem .1rem}.popup-plate>.step>.popitem[data-v-205c59a9]{flex:0 0 auto;width:1rem;padding:.2rem 0;border:1px solid #e6e6e6;border-radius:.08rem;margin-right:.1rem;margin-bottom:.1rem;font-size:16px;line-height:1;text-align:center;background-color:#fff;cursor:pointer}.popup-plate>.step>.popitem[data-v-205c59a9]:not(.unactive):active{background-color:#eee}.popup-plate>.step>.popitem.unactive[data-v-205c59a9]{color:#ccc}.popup-plate>.step>.popitem.popitem-clear[data-v-205c59a9]{background-color:#eee;display:flex;justify-content:center;align-items:center}
108
+ `]],["__scopeId","data-v-205c59a9"]]),Qv={class:"parent"},Kv=it(q({customOptions:{},inheritAttrs:!0,__name:"PlateDisplay.ce",props:{plate:{},plateType:{},displayType:{default:"chinese"},fontColor:{},fontSize:{}},setup(o,{expose:t,emit:e}){const s=o,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 n(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]:n("未知")}const a=R(n(s.plateType||""));let i=s.fontColor,l=s.fontSize;switch(s.displayType){case"dot":i=i||"#999999",l=l||"14px";break;case"chinese":i=i||"#333333",l=l||"14px";break;case"plaintext":i=i||"#333333",l=l||"14px";break}return t({}),(c,u)=>(L(),V("div",Qv,[c.displayType=="dot"&&c.plate!=="无牌车"?(L(),V("div",{key:0,class:ee(["leading",c.displayType]),style:M({...a.value.style,width:Ct(l),height:Ct(l)})},yt(a.value.name),7)):Rt("",!0),c.displayType=="chinese"&&c.plate!=="无牌车"?(L(),V("div",{key:1,class:ee(["leading",c.displayType]),style:M(a.value.style)},yt(a.value.name),7)):Rt("",!0),c.displayType=="plaintext"&&c.plate!=="无牌车"?(L(),V("div",{key:2,class:ee(["leading",c.displayType]),style:M({color:Ct(i),fontSize:Ct(l)})},yt(a.value.name),7)):Rt("",!0),E("div",{class:"text",style:M({color:Ct(i),"font-size":Ct(l)})},yt(c.plate),5)]))}}),[["styles",[`.parent[data-v-49a2baa1]{display:inline-flex;justify-content:center;align-items:center}.leading[data-v-49a2baa1]{box-sizing:border-box;font-size:12px;line-height:1;border-radius:4px;margin-right:5px}.leading.chinese[data-v-49a2baa1]{padding:4px}.leading.dot[data-v-49a2baa1]{font-size:0;border-radius:50%}.leading.plaintext[data-v-49a2baa1]{padding-right:5px;border-right:1px solid #e6e6e6;border-radius:0}.text[data-v-49a2baa1]{line-height:1}
109
+ `]],["__scopeId","data-v-49a2baa1"]]),yd=q({customOptions:{Pop:we,Button:ne,Container:wt},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,s=R();function r(){s.value.open()}function n(){s.value.close()}const a=R(),i=R(0),l=R(0),c=R(0),u=R(0),f=(d,p)=>{if(c.value=d,u.value=p,!a.value)return;const h=Mo(),w=a.value.getBoundingClientRect();i.value=Math.max(e.gap,Math.min(w.x+w.width+e.gap,h.width-d-e.gap)),l.value=Math.max(e.gap,Math.min(w.y,h.height-p-e.gap))};return t({open:r,close:n}),(d,p)=>(L(),V(Vt,null,[E("div",{ref_key:"popoverButtonRef",ref:a,class:"popover-button",style:{display:"inline-block"},onClick:r},[kt(d.$slots,"button",{},()=>[ct(ne,null,{default:bt(()=>p[0]||(p[0]=[jt("popover")])),_:1})])],512),ct(we,{ref_key:"popRef",ref:s,"direction-from":"absolute",isGlobal:e.isGlobal,closeWhenClickOverlay:e.closeWhenClickOverlay},{default:bt(()=>[E("div",{style:M({position:"absolute",left:i.value+"px",top:l.value+"px",width:c.value+"px",height:u.value+"px"})},[ct(wt,{type:"shrink",onResize:f},{default:bt(()=>[kt(d.$slots,"panel",{},()=>[p[1]||(p[1]=E("div",{style:{"background-color":"#ffffff"}},"...",-1))])]),_:3})],4)]),_:3},8,["isGlobal","closeWhenClickOverlay"])],64))}}),Jv={class:"selector",style:{position:"relative",width:"124px",height:"106px",padding:"3px","background-color":"#222222","box-sizing":"border-box"}},tb={class:"hue-field",style:{width:"15px",height:"100px",cursor:"ns-resize",position:"absolute",top:"3px",right:"3px",background:`linear-gradient(
115
110
  to bottom,
116
111
  rgb(255, 0, 0) 0%,
117
112
  rgb(255, 0, 255) 17%,
@@ -120,38 +115,42 @@ Component that was made reactive: `,s)),E(s,t,e,o,r,a,n,!0)}function em(s){retur
120
115
  rgb(0, 255, 0) 67%,
121
116
  rgb(255, 255, 0) 84%,
122
117
  rgb(255, 0, 0) 100%
123
- )`,"box-sizing":"border-box"}},nd=Q({customOptions:{Popover:rd,Container:xt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=new It(o.color),i=new It(o.color),l=I(a.toString()),c=I(a.opposite(!0).toString()),u=I(i.toString()),h=I(i.opposite(!0).toString()),f=I(i.h),p=I(a.s),d=I(a.v);function b(w){w&&(a.setColor(w),i.setColor(w)),l.value=a.toString(),c.value=a.opposite(!0).toString(),u.value=i.toString(),h.value=i.opposite(!0).toString(),f.value=i.h,p.value=a.s,d.value=a.v}const _=w=>{const g=(m,k)=>{i.h=(1-k.y/w.height)*360,a.h=i.h,b()};w.captureDrag({start:g,move:g})},v=w=>{const g=(m,k)=>{a.s=k.x/w.width,a.v=1-k.y/w.height,b()};w.captureDrag({start:g,move:g,end:()=>{r("change",l.value),n.value.close(),Ai(l.value).then(()=>{})}})};return t({setColor:b}),(w,g)=>(L(),Mt(rd,{ref_key:"popover",ref:n,closeWhenClickOverlay:!1},{button:bt(()=>[kt(w.$slots,"default",{},()=>[E("span",{style:A([{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}])},yt(l.value),5)])]),panel:bt(()=>[E("div",Vv,[E("div",{class:"saturation-field",style:A([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
118
+ )`,"box-sizing":"border-box"}},vd=q({customOptions:{Popover:yd,Container:wt},__name:"ColorPicker.ce",props:{color:{default:"#5a82f0"}},emits:["change"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=new Ft(s.color),i=new Ft(s.color),l=R(a.toString()),c=R(a.opposite(!0).toString()),u=R(i.toString()),f=R(i.opposite(!0).toString()),d=R(i.h),p=R(a.s),h=R(a.v);function w(v){v&&(a.setColor(v),i.setColor(v)),l.value=a.toString(),c.value=a.opposite(!0).toString(),u.value=i.toString(),f.value=i.opposite(!0).toString(),d.value=i.h,p.value=a.s,h.value=a.v}const _=v=>{const g=(m,b)=>{i.h=(1-b.y/v.height)*360,a.h=i.h,w()};v.captureDrag({start:g,move:g})},x=v=>{const g=(m,b)=>{a.s=b.x/v.width,a.v=1-b.y/v.height,w()};v.captureDrag({start:g,move:g,end:()=>{r("change",l.value),n.value.close(),Xi(l.value).then(()=>{})}})};return t({setColor:w}),(v,g)=>(L(),Nt(yd,{ref_key:"popover",ref:n,closeWhenClickOverlay:!1},{button:bt(()=>[kt(v.$slots,"default",{},()=>[E("span",{style:M([{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}])},yt(l.value),5)])]),panel:bt(()=>[E("div",Jv,[E("div",{class:"saturation-field",style:M([{position:"relative",width:"100px",height:"100px",display:"inline-block",cursor:"pointer","box-sizing":"border-box"},{background:`linear-gradient(
124
119
  to right,
125
120
  rgb(255, 255, 255) 0%,
126
121
  ${u.value} 100%
127
- )`}])},[lt(xt,{type:"full",onReady:v},{default:bt(()=>[Xv,E("div",{class:"field-knob",style:A([{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*p.value-6+"px",top:100*(1-d.value)-6+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),E("div",Gv,[lt(xt,{type:"full",onReady:_},{default:bt(()=>[E("div",{class:"hue-knob",style:A([{position:"absolute",width:"15px",height:"2px","z-index":"1","box-sizing":"border-box"},{marginTop:(1-f.value/360)*100+"px",borderRight:"4px solid "+h.value}])},null,4)]),_:1})])])]),_:3},512))}}),Uv=`.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}
128
- `,jv={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 s=document.createElement("object");this._resizeObject=s,s.setAttribute("aria-hidden","true"),s.setAttribute("tabindex",-1),s.onload=this.addResizeHandlers,s.type="text/html",fi&&this.$el.appendChild(s),s.data="about:blank",fi||this.$el.appendChild(s)},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&&(!fi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},Hv={class:"resize-observer",tabindex:"-1"};function Wv(s,t,e,o,r,n){return L(),Y("div",Hv)}const Zv=it(jv,[["render",Wv],["styles",[Uv]],["__scopeId","data-v-16da9fc4"]]),qv=it(Q({__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(s,{expose:t,emit:e}){const o=s,r=I(o.mapWidth),n=I(o.mapHeight);let a;const i=I();return St(i,()=>{i.value&&(a=new We(i.value,!1),a.on("resize",(l,c)=>{r.value=l+"px",n.value=c+"px"}),a.start())}),Lo(()=>{iy(`http://api.tianditu.gov.cn/api?v=4.0&tk=${o.mapKey}`).then(()=>{new gy(o.mapContainerID,o.mapCenterLng,o.mapCenterLat,o.mapZoom)}).catch(l=>{console.log("error",l)})}),ee(()=>{a.destroy()}),t({}),(l,c)=>(L(),Y("div",Aa({class:"mapDivWrap",ref_key:"mapWrap",ref:i},l.$attrs),[kt(l.$slots,"default",{width:r.value,height:n.value},void 0,!0)],16))}}),[["styles",[`.mapDivWrap[data-v-24e42cfa]{position:relative;width:100%;height:100%}
129
- `]],["__scopeId","data-v-24e42cfa"]]);var _r=function(){var s=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(),o(++s%t.children.length)},!1);function e(u){return t.appendChild(u.dom),u}function o(u){for(var h=0;h<t.children.length;h++)t.children[h].style.display=h===u?"block":"none";s=u}var r=(performance||Date).now(),n=r,a=0,i=e(new _r.Panel("FPS","#0ff","#002")),l=e(new _r.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new _r.Panel("MB","#f08","#201"));return o(0),{REVISION:16,dom:t,addPanel:e,showPanel:o,begin:function(){r=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(l.update(u-r,200),u>n+1e3&&(i.update(a*1e3/(u-n),100),n=u,a=0,c)){var h=performance.memory;c.update(h.usedJSHeapSize/1048576,h.jsHeapSizeLimit/1048576)}return u},update:function(){r=this.end()},domElement:t,setMode:o}};_r.Panel=function(s,t,e){var o=1/0,r=0,n=Math.round,a=n(window.devicePixelRatio||1),i=80*a,l=48*a,c=3*a,u=2*a,h=3*a,f=15*a,p=74*a,d=30*a,b=document.createElement("canvas");b.width=i,b.height=l,b.style.cssText="width:80px;height:48px";var _=b.getContext("2d");return _.font="bold "+9*a+"px Helvetica,Arial,sans-serif",_.textBaseline="top",_.fillStyle=e,_.fillRect(0,0,i,l),_.fillStyle=t,_.fillText(s,c,u),_.fillRect(h,f,p,d),_.fillStyle=e,_.globalAlpha=.9,_.fillRect(h,f,p,d),{dom:b,update:function(v,w){o=Math.min(o,v),r=Math.max(r,v),_.fillStyle=e,_.globalAlpha=1,_.fillRect(0,0,i,f),_.fillStyle=t,_.fillText(n(v)+" "+s+" ("+n(o)+"-"+n(r)+")",c,u),_.drawImage(b,h+a,f,p-a,d,h,f,p-a,d),_.fillRect(h+p-a,f,a,d),_.fillStyle=e,_.globalAlpha=.9,_.fillRect(h+p-a,f,a,n((1-v/w)*d))}}};const Qv=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(s,{expose:t}){const e=I();return Lo(()=>{const o=new _r;o.domElement.style.margin="1em",e.value.appendChild(o.domElement),ae(()=>(o.update(),!0))}),t({}),(o,r)=>(L(),Y("div",{ref_key:"containerRef",ref:e},null,512))}}),Kv={class:"ease-graph"},Ji=it(Q({customOptions:{Button:re,Canvas:Ye},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(s,{expose:t,emit:e}){const o=s,r=e,n=I();let a;St(n,()=>{n.value&&n.value.getCanvas().then(u=>{a=u,r("onMounted",o.easeName),a.app.on("showInParent",l)})});let i=!1;const l=()=>{if(!a||i)return;i=!0,r("onStart",o.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,o.canvasWidth,o.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,o.graphVerticalGap),a.ctx.lineTo(o.canvasWidth,o.graphVerticalGap),a.ctx.moveTo(0,o.canvasHeight-o.graphVerticalGap),a.ctx.lineTo(o.canvasWidth,o.canvasHeight-o.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const u={x:o.graphHorizontalGap,y:o.canvasHeight-o.graphVerticalGap},h={x:o.graphHorizontalGap,y:o.canvasHeight-o.graphVerticalGap},f=()=>{a.ctx.beginPath(),a.ctx.moveTo(h.x,h.y),a.ctx.lineTo(u.x,u.y),a.ctx.closePath(),a.ctx.stroke(),h.x=u.x,h.y=u.y},p=new Oe({frameDuration:o.easeDuration});p.addTween(u,{x:o.canvasWidth-o.graphHorizontalGap},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,onUpdate:d=>{u.x=d.x},onComplete:()=>{}}),p.addTween(u,{y:o.graphVerticalGap},{frames:1,delay:0,easeFunction:o.easeFunction,onUpdate:d=>{u.y=d.y,f()},onComplete:()=>{r("onCompleted",o.easeName),i=!1}}),p.play()},c=()=>{r("onSelected",o.easeName,o.easeFunction)};return ee(()=>{a.app.off("showInParent",l)}),t({start:l}),(u,h)=>(L(),Y("div",Kv,[E("div",null,"缓动:"+yt(u.easeName),1),E("div",null,[E("div",null,[lt(re,{stylePattern:"outline",height:"32px",padding:"10px",onClick:l},{default:bt(()=>[jt(" 开始 ")]),_:1})]),E("div",null,[lt(re,{stylePattern:o.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:c},{default:bt(()=>[jt(" 选择 ")]),_:1},8,["stylePattern"])])]),E("div",{style:A({width:u.canvasWidth+"px",height:u.canvasHeight+"px"})},[lt(Ye,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.ease-graph[data-v-00a87d30]{display:inline-block}.ease-graph>div[data-v-00a87d30]:nth-child(1){margin-top:10px;font-size:14px}.ease-graph>div[data-v-00a87d30]:nth-child(2){margin-bottom:10px}.ease-graph>div:nth-child(2)>div[data-v-00a87d30]{display:inline-block}.ease-graph>div:nth-child(2)>div+div[data-v-00a87d30]{margin-left:10px}
130
- `]],["__scopeId","data-v-00a87d30"]]),Jv={class:"ease-graph"},tb=Q({customOptions:{Button:re,Canvas:Ye},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(s,{expose:t,emit:e}){const o=s,r=e,n=I();let a;St(n,()=>{n.value&&n.value.getCanvas().then(u=>{a=u,r("onMounted",o.easeName),a.app.on("showInParent",l)})});let i=!1;const l=()=>{if(!a||i)return;i=!0,r("onStart",o.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,o.canvasWidth,o.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,o.graphVerticalGap),a.ctx.lineTo(o.canvasWidth,o.graphVerticalGap),a.ctx.moveTo(0,o.canvasHeight-o.graphVerticalGap),a.ctx.lineTo(o.canvasWidth,o.canvasHeight-o.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const u={x:o.graphHorizontalGap,y:o.canvasHeight-o.graphVerticalGap},h={x:o.graphHorizontalGap,y:o.canvasHeight-o.graphVerticalGap},f=()=>{a.ctx.beginPath(),a.ctx.moveTo(h.x,h.y),a.ctx.lineTo(u.x,u.y),a.ctx.closePath(),a.ctx.stroke(),h.x=u.x,h.y=u.y},p=new Oe({frameDuration:o.easeDuration});p.addTween(u,{x:o.canvasWidth-o.graphHorizontalGap},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,onUpdate:d=>{u.x=d.x},onComplete:()=>{}}),p.addTween(u,{y:o.graphVerticalGap},{frames:1,delay:0,easeFunction:o.easeFunction,onUpdate:d=>{u.y=d.y,f()},onComplete:()=>{r("onCompleted",o.easeName),i=!1}}),p.play()},c=()=>{r("onSelected",o.easeName,o.easeFunction)};return ee(()=>{a.app.off("showInParent",l)}),t({start:l}),(u,h)=>(L(),Y("div",Jv,[E("div",null,"缓动:"+yt(u.easeName),1),E("div",null,[E("div",null,[lt(re,{stylePattern:"outline",height:"32px",padding:"10px",onClick:l},{default:bt(()=>[jt(" 开始 ")]),_:1})]),E("div",null,[lt(re,{stylePattern:o.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:c},{default:bt(()=>[jt(" 选择 ")]),_:1},8,["stylePattern"])])]),E("div",{style:A({width:u.canvasWidth+"px",height:u.canvasHeight+"px"})},[lt(Ye,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),$2="",ad=it(tb,[["__scopeId","data-v-e8afe7ba"]]),eb=2e3,id=it(Q({customOptions:{EaseGraphDisplay:ad},inheritAttrs:!0,__name:"EaseGroupGraphDisplay.ce",props:{easeList:{default:()=>[{easeName:"Linear",easeFunction:_t.Easing.Linear.None},{easeName:"gap"},{easeName:"QuadraticIn",easeFunction:_t.Easing.Quadratic.In},{easeName:"QuadraticOut",easeFunction:_t.Easing.Quadratic.Out},{easeName:"QuadraticInOut",easeFunction:_t.Easing.Quadratic.InOut},{easeName:"gap"},{easeName:"CubicIn",easeFunction:_t.Easing.Cubic.In},{easeName:"CubicOut",easeFunction:_t.Easing.Cubic.Out},{easeName:"CubicInOut",easeFunction:_t.Easing.Cubic.InOut},{easeName:"gap"},{easeName:"QuarticIn",easeFunction:_t.Easing.Quartic.In},{easeName:"QuarticOut",easeFunction:_t.Easing.Quartic.Out},{easeName:"QuarticInOut",easeFunction:_t.Easing.Quartic.InOut},{easeName:"gap"},{easeName:"QuinticIn",easeFunction:_t.Easing.Quintic.In},{easeName:"QuinticOut",easeFunction:_t.Easing.Quintic.Out},{easeName:"QuinticInOut",easeFunction:_t.Easing.Quintic.InOut},{easeName:"gap"},{easeName:"SinusoidalIn",easeFunction:_t.Easing.Sinusoidal.In},{easeName:"SinusoidalOut",easeFunction:_t.Easing.Sinusoidal.Out},{easeName:"SinusoidalInOut",easeFunction:_t.Easing.Sinusoidal.InOut},{easeName:"gap"},{easeName:"ExponentialIn",easeFunction:_t.Easing.Exponential.In},{easeName:"ExponentialOut",easeFunction:_t.Easing.Exponential.Out},{easeName:"ExponentialInOut",easeFunction:_t.Easing.Exponential.InOut},{easeName:"gap"},{easeName:"CircularIn",easeFunction:_t.Easing.Circular.In},{easeName:"CircularOut",easeFunction:_t.Easing.Circular.Out},{easeName:"CircularInOut",easeFunction:_t.Easing.Circular.InOut},{easeName:"gap"},{easeName:"ElasticIn",easeFunction:_t.Easing.Elastic.In},{easeName:"ElasticOut",easeFunction:_t.Easing.Elastic.Out},{easeName:"ElasticInOut",easeFunction:_t.Easing.Elastic.InOut},{easeName:"gap"},{easeName:"BackIn",easeFunction:_t.Easing.Back.In},{easeName:"BackOut",easeFunction:_t.Easing.Back.Out},{easeName:"BackInOut",easeFunction:_t.Easing.Back.InOut},{easeName:"gap"},{easeName:"BounceIn",easeFunction:_t.Easing.Bounce.In},{easeName:"BounceOut",easeFunction:_t.Easing.Bounce.Out},{easeName:"BounceInOut",easeFunction:_t.Easing.Bounce.InOut},{easeName:"gap"},{easeName:"generatePow(10)In",easeFunction:_t.Easing.generatePow(10).In},{easeName:"generatePow(10)Out",easeFunction:_t.Easing.generatePow(10).Out},{easeName:"generatePow(10)InOut",easeFunction:_t.Easing.generatePow(10).InOut},{easeName:"gap"},{easeName:"4 steps",easeFunction:_t.Easing.createStep(4)},{easeName:"8 steps",easeFunction:_t.Easing.createStep(8)},{easeName:"12 steps",easeFunction:_t.Easing.createStep(12)},{easeName:"16 steps",easeFunction:_t.Easing.createStep(16)},{easeName:"gap"},{easeName:"Noisy Exponential.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Exponential.InOut,.1)},{easeName:"Noisy Elastic.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Elastic.InOut,.2)},{easeName:"Noisy Circular.InOut",easeFunction:_t.Easing.createNoisyEasing(_t.Easing.Circular.InOut,.1)},{easeName:"swing",easeFunction:_t.Easing.swing},{easeName:"causeSeizures",easeFunction:_t.Easing.causeSeizures}]}},emits:["selectedEaseFunction"],setup(s,{expose:t,emit:e}){const o=s,r=e,n={};function a(f,p){f&&(n[p]={el:f})}const i=new un(10);function l(f){i.addTask(()=>(n[f].el.start(),new Promise(p=>{n[f].resolve=p})))}function c(f){n[f].resolve?.()}const u=I("Linear");function h(f,p){u.value=f,r("selectedEaseFunction",f,p)}return h("Linear",_t.Easing.Linear.None),t({}),(f,p)=>(L(),Y("div",null,[(L(!0),Y(Xt,null,ye(o.easeList,d=>(L(),Y("div",{key:d.easeName,class:"ease-graph-wrap"},[d.easeFunction?(L(),Mt(ad,{key:0,easeName:d.easeName,easeFunction:d.easeFunction,easeDuration:eb,isSelected:u.value==d.easeName,onOnMounted:l,onOnCompleted:c,onOnSelected:h,ref_for:!0,ref:b=>a(b,d.easeName)},null,8,["easeName","easeFunction","isSelected"])):Ot("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
131
- `]],["__scopeId","data-v-b3ce4b26"]]),ob={class:"interpolation-graph"},ld=1/6,cd=5/6,tl=it(Q({customOptions:{Button:re,Canvas:Ye},inheritAttrs:!0,__name:"InterpolationGraphDisplay.ce",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I();let a;St(n,()=>{n.value&&n.value.getCanvas().then(b=>{a=b,r("onMounted",o.interpolationName),a.app.on("showInParent",d)})});const i=o.canvasWidth*ld,l=o.canvasHeight/2,c=[o.canvasWidth*cd,o.canvasWidth/2],u=[o.canvasHeight*ld,o.canvasHeight*cd],h=[...c,i],f=[...u,l];let p=!1;const d=()=>{if(!a||p)return;p=!0,r("onStart",o.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,o.canvasWidth,o.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(i-3,l-3,6,6),a.ctx.fillRect(c[c.length-1]-3,u[u.length-1]-3,6,6);for(var b=0;b<c.length;b++)a.ctx.fillRect(c[b]-2,u[b]-2,4,4);const _=new Oe({frameDuration:o.interpolationDuration});_.addTween({x:i,y:l,old:{x:i,y:l}},{x:c,y:u},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:o.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{}}),_.addTween({x:i,y:l,old:{x:i,y:l}},{x:h,y:f},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:o.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{r("onCompleted",o.interpolationName),p=!1}}),_.play()};return ee(()=>{a.app.off("showInParent",d)}),t({start:d}),(b,_)=>(L(),Y("div",ob,[E("div",null,[jt(" 插值:"+yt(b.interpolationName)+" ",1),lt(re,{stylePattern:"outline",height:"32px",onClick:d},{default:bt(()=>[jt(" 开始 ")]),_:1})]),E("div",{style:A({width:b.canvasWidth+"px",height:b.canvasHeight+"px"})},[lt(Ye,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),[["styles",[`.interpolation-graph[data-v-82139a83]{display:inline-block}.interpolation-graph>div[data-v-82139a83]:nth-child(1){margin-top:10px;margin-bottom:10px;font-size:14px}
132
- `]],["__scopeId","data-v-82139a83"]]),sb={class:"interpolation-graph"},ud=1/6,hd=5/6,rb=Q({customOptions:{Button:re,Canvas:Ye},inheritAttrs:!0,__name:"InterpolationGraphDisplay",props:{interpolationName:{},interpolationFunction:{},canvasWidth:{default:240},canvasHeight:{default:160},interpolationDuration:{default:2e3}},emits:["onMounted","onStart","onCompleted"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I();let a;St(n,()=>{n.value&&n.value.getCanvas().then(b=>{a=b,r("onMounted",o.interpolationName),a.app.on("showInParent",d)})});const i=o.canvasWidth*ud,l=o.canvasHeight/2,c=[o.canvasWidth*hd,o.canvasWidth/2],u=[o.canvasHeight*ud,o.canvasHeight*hd],h=[...c,i],f=[...u,l];let p=!1;const d=()=>{if(!a||p)return;p=!0,r("onStart",o.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,o.canvasWidth,o.canvasHeight),a.ctx.fillStyle="rgb(200,200,200)",a.ctx.fillRect(i-3,l-3,6,6),a.ctx.fillRect(c[c.length-1]-3,u[u.length-1]-3,6,6);for(var b=0;b<c.length;b++)a.ctx.fillRect(c[b]-2,u[b]-2,4,4);const _=new Oe({frameDuration:o.interpolationDuration});_.addTween({x:i,y:l,old:{x:i,y:l}},{x:c,y:u},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:o.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{}}),_.addTween({x:i,y:l,old:{x:i,y:l}},{x:h,y:f},{frames:1,delay:0,easeFunction:_t.Easing.Linear.None,interpolationFunction:o.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{r("onCompleted",o.interpolationName),p=!1}}),_.play()};return ee(()=>{a.app.off("showInParent",d)}),t({start:d}),(b,_)=>(L(),Y("div",sb,[E("div",null,[jt(" 插值:"+yt(b.interpolationName)+" ",1),lt(re,{stylePattern:"outline",height:"32px",onClick:d},{default:bt(()=>[jt(" 开始 ")]),_:1})]),E("div",{style:A({width:b.canvasWidth+"px",height:b.canvasHeight+"px"})},[lt(Ye,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),N2="",dd=it(rb,[["__scopeId","data-v-17bd4dde"]]),nb=2e3,fd=it(Q({customOptions:{InterpolationGraphDisplay:dd},inheritAttrs:!0,__name:"InterpolationGroupGraphDisplay.ce",props:{interpolationList:{default:()=>[{interpolationName:"Linear",interpolationFunction:_t.Interpolation.Linear},{interpolationName:"Bezier",interpolationFunction:_t.Interpolation.Bezier},{interpolationName:"CatmullRom",interpolationFunction:_t.Interpolation.CatmullRom}]}},setup(s,{expose:t,emit:e}){const o=s,r={};function n(c,u){c&&(r[u]={el:c})}const a=new un(1);function i(c){a.addTask(()=>(r[c].el.start(),new Promise(u=>{r[c].resolve=u})))}function l(c){r[c].resolve?.()}return t({}),(c,u)=>(L(),Y("div",null,[(L(!0),Y(Xt,null,ye(o.interpolationList,h=>(L(),Y("div",{key:h.interpolationName,class:"interpolation-graph-wrap"},[lt(dd,{interpolationName:h.interpolationName,interpolationFunction:h.interpolationFunction,easeDuration:nb,onOnMounted:i,onOnCompleted:l,ref_for:!0,ref:f=>n(f,h.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-7128e350]{display:inline-block;margin-right:10px}
133
- `]],["__scopeId","data-v-7128e350"]]),ab=it(Q({__name:"SVG.ce",props:{bgColor:{default:"rgba(255,255,255,0)"}},emits:["ready","resize"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n,a,i;const l=I();St(l,()=>{n||!l.value||(n=new We(l.value,!1),n.on("resize",(u,h)=>{r("resize",u,h),a=new mh(n),i?.(a),r("ready",a)}),n.start())});function c(){return new Promise(u=>{if(a)return u(a);i=u})}return ee(()=>{n?.destroy()}),t({getSVGElement:()=>l.value,getSVG:c}),(u,h)=>(L(),Y("div",{class:"svg",ref_key:"svgRef",ref:l,style:A({backgroundColor:o.bgColor})},null,4))}}),[["styles",[`.svg[data-v-4e16ec5b]{display:block;position:relative;overflow:hidden;width:100%;height:100%}
134
- `]],["__scopeId","data-v-4e16ec5b"]]),ib=["width","height"],xr=it(Q({__name:"Canvas.ce",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(),a=I(),i=I(0),l=I(0);let c;St(n,()=>{n.value&&(c=new We(n.value,!1),c.on("resize",(b,_)=>{const v=$s();i.value=Math.min(b,v.width),l.value=Math.min(_,v.height),p()}),c.start())}),St(a,()=>{a.value&&p()});let u,h,f;function p(){u||!a.value||!i.value||!l.value||(u=new We(a.value,!1),u.on("resize",(b,_)=>{r("resize",b,_),h=new zi(u,o.enableCustomContext),f?.(h),r("ready",h)}),u.start())}function d(){return new Promise(b=>{if(h)return b(h);f=b})}return ee(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:d}),(b,_)=>(L(),Y("div",{class:"canvas",ref_key:"canvasOutterRef",ref:n},[E("canvas",{ref_key:"canvasRef",ref:a,width:i.value,height:l.value,style:A({backgroundColor:o.bgColor})},null,12,ib)],512))}}),[["styles",[`.canvas[data-v-e0bc94d8]{display:block;position:relative;overflow:hidden;width:100%;height:100%}
135
- `]],["__scopeId","data-v-e0bc94d8"]]),lb=["max","min","step","value","autofocus"],cb={key:0,class:"label"},ub=Q({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(s,{expose:t,emit:e}){const o=s,r=e,n=I(o.defaultValue),a=()=>xe((n.value-o.min)/(o.max-o.min),4)*100,i=I(a());function l(h){n.value=xe(h.target.value,2),i.value=a(),r("change",n.value)}const c=`
122
+ )`}])},[ct(wt,{type:"full",onReady:x},{default:bt(()=>[g[0]||(g[0]=E("div",{style:{width:"100%",height:"100%",background:`linear-gradient(
123
+ to bottom,
124
+ rgba(0, 0, 0, 0) 0%,
125
+ rgb(0, 0, 0) 100%
126
+ )`,"box-sizing":"border-box"}},null,-1)),E("div",{class:"field-knob",style:M([{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*p.value-6+"px",top:100*(1-h.value)-6+"px",backgroundColor:l.value,border:`2px solid ${c.value}`}])},null,4)]),_:1})],4),E("div",tb,[ct(wt,{type:"full",onReady:_},{default:bt(()=>[E("div",{class:"hue-knob",style:M([{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))}}),eb=`.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}
127
+ `,sb={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",bi&&this.$el.appendChild(o),o.data="about:blank",bi||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&&(!bi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}},ob={class:"resize-observer",tabindex:"-1"};function rb(o,t,e,s,r,n){return L(),V("div",ob)}const nb=it(sb,[["render",rb],["styles",[eb]],["__scopeId","data-v-16da9fc4"]]),ab=it(q({__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 s=o,r=R(s.mapWidth),n=R(s.mapHeight);let a;const i=R();return St(i,()=>{i.value&&(a=new os(i.value,!1),a.on("resize",(l,c)=>{r.value=l+"px",n.value=c+"px"}),a.start())}),gs(()=>{Ey(`http://api.tianditu.gov.cn/api?v=4.0&tk=${s.mapKey}`).then(()=>{new Ny(s.mapContainerID,s.mapCenterLng,s.mapCenterLat,s.mapZoom)}).catch(l=>{console.log("error",l)})}),se(()=>{a.destroy()}),t({}),(l,c)=>(L(),V("div",Ya({class:"mapDivWrap",ref_key:"mapWrap",ref:i},l.$attrs),[kt(l.$slots,"default",{width:r.value,height:n.value},void 0,!0)],16))}}),[["styles",[`.mapDivWrap[data-v-24e42cfa]{position:relative;width:100%;height:100%}
128
+ `]],["__scopeId","data-v-24e42cfa"]]);var Tr=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(),s(++o%t.children.length)},!1);function e(u){return t.appendChild(u.dom),u}function s(u){for(var f=0;f<t.children.length;f++)t.children[f].style.display=f===u?"block":"none";o=u}var r=(performance||Date).now(),n=r,a=0,i=e(new Tr.Panel("FPS","#0ff","#002")),l=e(new Tr.Panel("MS","#0f0","#020"));if(self.performance&&self.performance.memory)var c=e(new Tr.Panel("MB","#f08","#201"));return s(0),{REVISION:16,dom:t,addPanel:e,showPanel:s,begin:function(){r=(performance||Date).now()},end:function(){a++;var u=(performance||Date).now();if(l.update(u-r,200),u>n+1e3&&(i.update(a*1e3/(u-n),100),n=u,a=0,c)){var f=performance.memory;c.update(f.usedJSHeapSize/1048576,f.jsHeapSizeLimit/1048576)}return u},update:function(){r=this.end()},domElement:t,setMode:s}};Tr.Panel=function(o,t,e){var s=1/0,r=0,n=Math.round,a=n(window.devicePixelRatio||1),i=80*a,l=48*a,c=3*a,u=2*a,f=3*a,d=15*a,p=74*a,h=30*a,w=document.createElement("canvas");w.width=i,w.height=l,w.style.cssText="width:80px;height:48px";var _=w.getContext("2d");return _.font="bold "+9*a+"px Helvetica,Arial,sans-serif",_.textBaseline="top",_.fillStyle=e,_.fillRect(0,0,i,l),_.fillStyle=t,_.fillText(o,c,u),_.fillRect(f,d,p,h),_.fillStyle=e,_.globalAlpha=.9,_.fillRect(f,d,p,h),{dom:w,update:function(x,v){s=Math.min(s,x),r=Math.max(r,x),_.fillStyle=e,_.globalAlpha=1,_.fillRect(0,0,i,d),_.fillStyle=t,_.fillText(n(x)+" "+o+" ("+n(s)+"-"+n(r)+")",c,u),_.drawImage(w,f+a,d,p-a,h,f,d,p-a,h),_.fillRect(f+p-a,d,a,h),_.fillStyle=e,_.globalAlpha=.9,_.fillRect(f+p-a,d,a,n((1-x/v)*h))}}};const ib=Object.assign({customOptions:{},inheritAttrs:!0},{__name:"FPSStats.ce",setup(o,{expose:t}){const e=R();return gs(()=>{const s=new Tr;s.domElement.style.margin="1em",e.value.appendChild(s.domElement),le(()=>(s.update(),!0))}),t({}),(s,r)=>(L(),V("div",{ref_key:"containerRef",ref:e},null,512))}}),lb={class:"ease-graph"},rl=it(q({customOptions:{Button:ne,Canvas:Ue},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 s=o,r=e,n=R();let a,i;St(n,()=>{n.value&&(i=Tn(n.value.getCanvasElement()),n.value.getCanvas().then(f=>{a=f,r("onMounted",s.easeName),i?.onshow(c)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,r("onStart",s.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,s.canvasWidth,s.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,s.graphVerticalGap),a.ctx.lineTo(s.canvasWidth,s.graphVerticalGap),a.ctx.moveTo(0,s.canvasHeight-s.graphVerticalGap),a.ctx.lineTo(s.canvasWidth,s.canvasHeight-s.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:s.graphHorizontalGap,y:s.canvasHeight-s.graphVerticalGap},d={x:s.graphHorizontalGap,y:s.canvasHeight-s.graphVerticalGap},p=()=>{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},h=new Ie({frameDuration:s.easeDuration});h.addTween(f,{x:s.canvasWidth-s.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:w=>{f.x=w.x},onComplete:()=>{}}),h.addTween(f,{y:s.graphVerticalGap},{frames:1,delay:0,easeFunction:s.easeFunction,onUpdate:w=>{f.y=w.y,p()},onComplete:()=>{r("onCompleted",s.easeName),l=!1}}),h.play()},u=()=>{r("onSelected",s.easeName,s.easeFunction)};return se(()=>{i?.destroy()}),t({start:c}),(f,d)=>(L(),V("div",lb,[E("div",null,"缓动:"+yt(f.easeName),1),E("div",null,[E("div",null,[ct(ne,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:bt(()=>d[0]||(d[0]=[jt(" 开始 ")])),_:1})]),E("div",null,[ct(ne,{stylePattern:s.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:u},{default:bt(()=>d[1]||(d[1]=[jt(" 选择 ")])),_:1},8,["stylePattern"])])]),E("div",{style:M({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[ct(Ue,{ref_key:"canvasRef",ref:n,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}
129
+ `]],["__scopeId","data-v-2d807a98"]]),cb={class:"ease-graph"},ub=q({customOptions:{Button:ne,Canvas:Ue},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 s=o,r=e,n=R();let a,i;St(n,()=>{n.value&&(i=Tn(n.value.getCanvasElement()),n.value.getCanvas().then(f=>{a=f,r("onMounted",s.easeName),i?.onshow(c)}))});let l=!1;const c=()=>{if(!a||l)return;l=!0,r("onStart",s.easeName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,s.canvasWidth,s.canvasHeight),a.ctx.lineWidth=.5,a.ctx.strokeStyle="rgb(230,230,230)",a.ctx.beginPath(),a.ctx.moveTo(0,s.graphVerticalGap),a.ctx.lineTo(s.canvasWidth,s.graphVerticalGap),a.ctx.moveTo(0,s.canvasHeight-s.graphVerticalGap),a.ctx.lineTo(s.canvasWidth,s.canvasHeight-s.graphVerticalGap),a.ctx.closePath(),a.ctx.stroke(),a.ctx.lineWidth=2,a.ctx.strokeStyle="rgb(255,127,127)";const f={x:s.graphHorizontalGap,y:s.canvasHeight-s.graphVerticalGap},d={x:s.graphHorizontalGap,y:s.canvasHeight-s.graphVerticalGap},p=()=>{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},h=new Ie({frameDuration:s.easeDuration});h.addTween(f,{x:s.canvasWidth-s.graphHorizontalGap},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,onUpdate:w=>{f.x=w.x},onComplete:()=>{}}),h.addTween(f,{y:s.graphVerticalGap},{frames:1,delay:0,easeFunction:s.easeFunction,onUpdate:w=>{f.y=w.y,p()},onComplete:()=>{r("onCompleted",s.easeName),l=!1}}),h.play()},u=()=>{r("onSelected",s.easeName,s.easeFunction)};return se(()=>{i?.destroy()}),t({start:c}),(f,d)=>(L(),V("div",cb,[E("div",null,"缓动:"+yt(f.easeName),1),E("div",null,[E("div",null,[ct(ne,{stylePattern:"outline",height:"32px",padding:"10px",onClick:c},{default:bt(()=>d[0]||(d[0]=[jt(" 开始 ")])),_:1})]),E("div",null,[ct(ne,{stylePattern:s.isSelected?"fullfilled":"outline",height:"32px",padding:"10px",onClick:u},{default:bt(()=>d[1]||(d[1]=[jt(" 选择 ")])),_:1},8,["stylePattern"])])]),E("div",{style:M({width:f.canvasWidth+"px",height:f.canvasHeight+"px"})},[ct(Ue,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),D2="",bd=it(ub,[["__scopeId","data-v-fa615237"]]),fb=2e3,_d=it(q({customOptions:{EaseGraphDisplay:bd},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 s=o,r=e,n={};function a(d,p){d&&(n[p]={el:d})}const i=new gn(10);function l(d){i.addTask(()=>(n[d].el.start(),new Promise(p=>{n[d].resolve=p})))}function c(d){n[d].resolve?.()}const u=R("Linear");function f(d,p){u.value=d,r("selectedEaseFunction",d,p)}return f("Linear",xt.Easing.Linear.None),t({}),(d,p)=>(L(),V("div",null,[(L(!0),V(Vt,null,_e(s.easeList,h=>(L(),V("div",{key:h.easeName,class:"ease-graph-wrap"},[h.easeFunction?(L(),Nt(bd,{key:0,easeName:h.easeName,easeFunction:h.easeFunction,easeDuration:fb,isSelected:u.value==h.easeName,onOnMounted:l,onOnCompleted:c,onOnSelected:f,ref_for:!0,ref:w=>a(w,h.easeName)},null,8,["easeName","easeFunction","isSelected"])):Rt("",!0)]))),128))]))}}),[["styles",[`.ease-graph-wrap[data-v-b3ce4b26]{display:inline-block;margin-right:10px}.ease-group-gap[data-v-b3ce4b26]{margin:10px}
130
+ `]],["__scopeId","data-v-b3ce4b26"]]),db={class:"interpolation-graph"},xd=1/6,wd=5/6,nl=it(q({customOptions:{Button:ne,Canvas:Ue},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 s=o,r=e,n=R();let a,i;St(n,()=>{n.value&&(i=Tn(n.value.getCanvasElement()),n.value.getCanvas().then(_=>{a=_,r("onMounted",s.interpolationName),i?.onshow(w)}))});const l=s.canvasWidth*xd,c=s.canvasHeight/2,u=[s.canvasWidth*wd,s.canvasWidth/2],f=[s.canvasHeight*xd,s.canvasHeight*wd],d=[...u,l],p=[...f,c];let h=!1;const w=()=>{if(!a||h)return;h=!0,r("onStart",s.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,s.canvasWidth,s.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 _=0;_<u.length;_++)a.ctx.fillRect(u[_]-2,f[_]-2,4,4);const x=new Ie({frameDuration:s.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:s.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{}}),x.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:p},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:s.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{r("onCompleted",s.interpolationName),h=!1}}),x.play()};return se(()=>{i?.destroy()}),t({start:w}),(_,x)=>(L(),V("div",db,[E("div",null,[jt(" 插值:"+yt(_.interpolationName)+" ",1),ct(ne,{stylePattern:"outline",height:"32px",onClick:w},{default:bt(()=>x[0]||(x[0]=[jt(" 开始 ")])),_:1})]),E("div",{style:M({width:_.canvasWidth+"px",height:_.canvasHeight+"px"})},[ct(Ue,{ref_key:"canvasRef",ref:n,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}
131
+ `]],["__scopeId","data-v-52732a09"]]),hb={class:"interpolation-graph"},kd=1/6,Cd=5/6,pb=q({customOptions:{Button:ne,Canvas:Ue},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 s=o,r=e,n=R();let a,i;St(n,()=>{n.value&&(i=Tn(n.value.getCanvasElement()),n.value.getCanvas().then(_=>{a=_,r("onMounted",s.interpolationName),i?.onshow(w)}))});const l=s.canvasWidth*kd,c=s.canvasHeight/2,u=[s.canvasWidth*Cd,s.canvasWidth/2],f=[s.canvasHeight*kd,s.canvasHeight*Cd],d=[...u,l],p=[...f,c];let h=!1;const w=()=>{if(!a||h)return;h=!0,r("onStart",s.interpolationName),a.ctx.fillStyle="rgb(250,250,250)",a.ctx.fillRect(0,0,s.canvasWidth,s.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 _=0;_<u.length;_++)a.ctx.fillRect(u[_]-2,f[_]-2,4,4);const x=new Ie({frameDuration:s.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:s.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.9)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{}}),x.addTween({x:l,y:c,old:{x:l,y:c}},{x:d,y:p},{frames:1,delay:0,easeFunction:xt.Easing.Linear.None,interpolationFunction:s.interpolationFunction,onUpdate:v=>{a.ctx.lineWidth=2,a.ctx.strokeStyle="rgba(255,127,127,0.5)",a.ctx.beginPath(),a.ctx.moveTo(v.old.x,v.old.y),a.ctx.lineTo(v.x,v.y),a.ctx.closePath(),a.ctx.stroke(),v.old.x=v.x,v.old.y=v.y},onComplete:()=>{r("onCompleted",s.interpolationName),h=!1}}),x.play()};return se(()=>{i?.destroy()}),t({start:w}),(_,x)=>(L(),V("div",hb,[E("div",null,[jt(" 插值:"+yt(_.interpolationName)+" ",1),ct(ne,{stylePattern:"outline",height:"32px",onClick:w},{default:bt(()=>x[0]||(x[0]=[jt(" 开始 ")])),_:1})]),E("div",{style:M({width:_.canvasWidth+"px",height:_.canvasHeight+"px"})},[ct(Ue,{ref_key:"canvasRef",ref:n,bgColor:"#ffffff"},null,512)],4)]))}}),A2="",Td=it(pb,[["__scopeId","data-v-858ad7b1"]]),mb=2e3,Sd=it(q({customOptions:{InterpolationGraphDisplay:Td},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 s=o,r={};function n(c,u){c&&(r[u]={el:c})}const a=new gn(1);function i(c){a.addTask(()=>(r[c].el.start(),new Promise(u=>{r[c].resolve=u})))}function l(c){r[c].resolve?.()}return t({}),(c,u)=>(L(),V("div",null,[(L(!0),V(Vt,null,_e(s.interpolationList,f=>(L(),V("div",{key:f.interpolationName,class:"interpolation-graph-wrap"},[ct(Td,{interpolationName:f.interpolationName,interpolationFunction:f.interpolationFunction,easeDuration:mb,onOnMounted:i,onOnCompleted:l,ref_for:!0,ref:d=>n(d,f.interpolationName)},null,8,["interpolationName","interpolationFunction"])]))),128))]))}}),[["styles",[`.interpolation-graph-wrap[data-v-7128e350]{display:inline-block;margin-right:10px}
132
+ `]],["__scopeId","data-v-7128e350"]]),gb=it(q({__name:"SVG.ce",props:{bgColor:{default:"rgba(255,255,255,0)"}},emits:["ready","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n,a,i;const l=R();St(l,()=>{n||!l.value||(n=new os(l.value,!1),n.on("resize",(u,f)=>{r("resize",u,f),a=new Pf(n),i?.(a),r("ready",a)}),n.start())});function c(){return new Promise(u=>{if(a)return u(a);i=u})}return se(()=>{n?.destroy()}),t({getSVGElement:()=>l.value,getSVG:c}),(u,f)=>(L(),V("div",{class:"svg",ref_key:"svgRef",ref:l,style:M({backgroundColor:s.bgColor})},null,4))}}),[["styles",[`.svg[data-v-4e16ec5b]{display:block;position:relative;overflow:hidden;width:100%;height:100%}
133
+ `]],["__scopeId","data-v-4e16ec5b"]]),yb=["width","height"],Sr=it(q({__name:"Canvas.ce",props:{bgColor:{default:"rgba(255,255,255,0)"},enableCustomContext:{type:Boolean,default:!1}},emits:["ready","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(),a=R(),i=R(0),l=R(0);let c;St(n,()=>{n.value&&(c=new os(n.value,!1),c.on("resize",(w,_)=>{const x=Mo();i.value=Math.min(w,x.width),l.value=Math.min(_,x.height),p()}),c.start())}),St(a,()=>{a.value&&p()});let u,f,d;function p(){u||!a.value||!i.value||!l.value||(u=new os(a.value,!1),u.on("resize",(w,_)=>{r("resize",w,_),f=new Ui(u,s.enableCustomContext),d?.(f),r("ready",f)}),u.start())}function h(){return new Promise(w=>{if(f)return w(f);d=w})}return se(()=>{u?.destroy(),c?.destroy()}),t({getCanvasElement:()=>a.value,getCanvas:h}),(w,_)=>(L(),V("div",{class:"canvas",ref_key:"canvasOutterRef",ref:n},[E("canvas",{ref_key:"canvasRef",ref:a,width:i.value,height:l.value,style:M({backgroundColor:s.bgColor})},null,12,yb)],512))}}),[["styles",[`.canvas[data-v-e0bc94d8]{display:block;position:relative;overflow:hidden;width:100%;height:100%}
134
+ `]],["__scopeId","data-v-e0bc94d8"]]),vb=["max","min","step","value","autofocus"],bb={key:0,class:"label"},_b=q({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 s=o,r=e,n=R(s.defaultValue),a=()=>Ce((n.value-s.min)/(s.max-s.min),4)*100,i=R(a());function l(f){n.value=Ce(f.target.value,2),i.value=a(),r("change",n.value)}const c=`
136
135
  :root {
137
- --input-range-color: ${o.color};
138
- --input-range-thumb-size: ${o.handleSize};
139
- --input-range-track-size: ${o.barHeight};
136
+ --input-range-color: ${s.color};
137
+ --input-range-thumb-size: ${s.handleSize};
138
+ --input-range-track-size: ${s.barHeight};
140
139
  }
141
140
  :host {
142
- --input-range-color: ${o.color};
143
- --input-range-thumb-size: ${o.handleSize};
144
- --input-range-track-size: ${o.barHeight};
141
+ --input-range-color: ${s.color};
142
+ --input-range-thumb-size: ${s.handleSize};
143
+ --input-range-track-size: ${s.barHeight};
145
144
  }
146
- `,u=I();return St(u,()=>{u.value&&ko(c,u.value)}),ee(()=>{}),t({}),(h,f)=>(L(),Y("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:o.max,min:o.min,step:o.step,value:n.value,autofocus:o.autofocus,onInput:l,style:A({background:`linear-gradient(to right, ${o.color} 0%, ${o.color} ${i.value}%, ${o.barColor} ${i.value}%, ${o.barColor})`})},null,44,lb),kt(h.$slots,"default",{value:n.value},()=>[h.showValue?(L(),Y("label",cb,yt(n.value)+yt(o.unit),1)):Ot("",!0)],!0)],512))}}),U2="",ms=it(ub,[["__scopeId","data-v-cab67db2"]]),hb=Q({__name:"SVG",props:{bgColor:{default:"rgba(255,255,255,0)"}},emits:["ready","resize"],setup(s,{expose:t,emit:e}){const o=s,r=e;let n,a,i;const l=I();St(l,()=>{n||!l.value||(n=new We(l.value,!1),n.on("resize",(u,h)=>{r("resize",u,h),a=new mh(n),i?.(a),r("ready",a)}),n.start())});function c(){return new Promise(u=>{if(a)return u(a);i=u})}return ee(()=>{n?.destroy()}),t({getSVGElement:()=>l.value,getSVG:c}),(u,h)=>(L(),Y("div",{class:"svg",ref_key:"svgRef",ref:l,style:A({backgroundColor:o.bgColor})},null,4))}}),j2="",pd=it(hb,[["__scopeId","data-v-132e642b"]]),db='<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><path d="M405.614 190.524c17.843 0 32.315-14.472 32.315-32.329s-14.472-32.329-32.315-32.329c-17.87 0-32.342 14.472-32.342 32.33 0 17.856 14.471 32.328 32.342 32.328zm21.479 7.867c-.528-.333-1.11-.569-1.665-.805a37.223 37.223 0 0 0-11.78-5.189l-8.034 8.103-7.811-8.2c-.028 0-.056.014-.084.014-4.135.985-8.2 2.747-11.821 5.133-.639.264-1.277.555-1.901.93-25.1 15.387-39.502 27.57-43.956 98.79-.43 6.924 4.842 12.876 11.738 13.306.278.014.541.028.805.028 6.577 0 12.099-5.12 12.529-11.766 1.512-24.045 3.927-39.627 7.437-50.38v43.47c0 3.386.652 6.535 1.804 9.421-.083.666-.167 1.319-.167 1.998l.028 120.172c0 8.186 6.618 14.832 14.819 14.832 8.2 0 14.832-6.646 14.832-14.832V320.283c.583.028 1.18.07 1.776.07.097 0 .222-.015.333-.015v103.078c0 8.2 6.632 14.832 14.832 14.832 8.2 0 14.833-6.632 14.833-14.832l.014-119.422c1.942-3.608 3.08-7.687 3.08-12.155v-43.11c3.427 10.74 5.827 26.238 7.312 50.02.416 6.646 5.952 11.766 12.515 11.766.25 0 .527 0 .791-.028 6.91-.43 12.168-6.396 11.752-13.306-4.454-71.234-18.87-83.403-43.97-98.79h-.041zm-21.41 66.087h-.152l-7.798-10.67 7.798-52.115h.152l7.798 52.115-7.798 10.67zM63.235 217.927c0 12.682 10.267 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.281-22.95-22.935-22.95c-12.696 0-22.963 10.282-22.963 22.95zm38.211 28.527c-.374-.222-.79-.402-1.179-.569a26.82 26.82 0 0 0-8.367-3.69l-5.702 5.757-5.564-5.827c-.014 0-.042.014-.056.014a26.862 26.862 0 0 0-8.394 3.649c-.458.194-.916.388-1.346.652-15.873 9.727-25.724 17.69-29.914 55.056h17.912c.985-8.366 2.276-14.68 3.857-19.564v19.564h46.981v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.899c-4.176-37.365-14.028-45.316-29.9-55.056v.014zM86.24 293.379h-.097l-5.536-7.576 5.536-36.99h.097l5.536 36.99-5.536 7.576zm67.432-75.452c0 12.682 10.281 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.267-22.95-22.935-22.95c-12.682 0-22.963 10.282-22.963 22.95zm38.212 28.527c-.375-.222-.791-.402-1.18-.569a26.54 26.54 0 0 0-8.366-3.69l-5.703 5.757-5.55-5.827c-.014 0-.042.014-.055.014a26.723 26.723 0 0 0-8.395 3.649c-.458.194-.916.388-1.36.652-15.873 9.727-25.724 17.69-29.914 55.056h17.926c.985-8.366 2.276-14.68 3.858-19.564v19.564h46.98v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.9c-4.191-37.365-14.042-45.316-29.915-55.056v.014zm-15.221 46.925h-.111l-5.536-7.576 5.536-36.99h.11l5.537 36.99-5.536 7.576zm-45.607-104.784c42.624 0 77.297-34.673 77.297-77.297C208.353 68.674 173.68 34 131.056 34c-42.624 0-77.298 34.674-77.298 77.298s34.674 77.297 77.298 77.297zm0-134.074c31.316 0 56.776 25.46 56.776 56.777 0 31.316-25.474 56.776-56.776 56.776-31.302 0-56.777-25.46-56.777-56.776 0-31.316 25.475-56.777 56.777-56.777z"/><path d="M170.918 103.084H139.27V69.908h-16.414v49.59h48.063zm30.137 305.277l-8.464-3.121a64.461 64.461 0 0 0-.707-18.732l8.172-3.774c5.106-2.345 7.354-8.422 4.995-13.528l-4.773-10.365c-2.345-5.106-8.408-7.353-13.514-4.995l-8.187 3.774a64.241 64.241 0 0 0-13.763-12.723l3.121-8.464c1.943-5.272-.763-11.155-6.035-13.098l-10.712-3.954c-5.106-1.873-11.21.944-13.098 6.036l-3.122 8.463a65.463 65.463 0 0 0-18.73.708l-3.775-8.186c-2.345-5.106-8.422-7.34-13.528-4.995L88.57 326.18c-5.106 2.358-7.353 8.436-4.995 13.528l3.774 8.172a64.996 64.996 0 0 0-12.723 13.778l-8.45-3.122c-5.106-1.9-11.21.916-13.112 6.022l-3.94 10.712a10.136 10.136 0 0 0 .305 7.797 10.124 10.124 0 0 0 5.73 5.287l8.464 3.135a64.95 64.95 0 0 0 .708 18.732l-8.187 3.774c-5.106 2.344-7.34 8.422-4.995 13.514l4.787 10.378c2.345 5.106 8.409 7.34 13.528 4.981l8.187-3.774a64.336 64.336 0 0 0 13.778 12.724l-3.122 8.464c-.958 2.553-.847 5.314.305 7.797a10.104 10.104 0 0 0 5.716 5.315l10.712 3.954c2.553.943 5.314.832 7.798-.305a10.034 10.034 0 0 0 5.286-5.73l3.136-8.464a64.931 64.931 0 0 0 18.731-.708l3.76 8.186c2.345 5.092 8.422 7.34 13.528 4.981l10.365-4.773c5.12-2.345 7.354-8.408 4.995-13.528l-3.774-8.172a64.24 64.24 0 0 0 12.71-13.778l8.463 3.136c2.567.957 5.328.832 7.812-.306 2.483-1.137 4.343-3.177 5.286-5.716l3.955-10.712c1.956-5.272-.736-11.141-6.022-13.084l-.014-.014zm-56.083 26.64c-5.342 2.456-11.017 3.705-16.858 3.705-15.693 0-30.08-9.213-36.644-23.463-9.296-20.202-.43-44.192 19.758-53.488a39.873 39.873 0 0 1 16.845-3.704c15.692 0 30.08 9.199 36.643 23.448 9.297 20.202.43 44.206-19.744 53.502zm142.635-185.578V76.458h-52.406V87.82h41.043v161.602H235.2v13.986h41.043v176.227H235.2v11.363h52.406V263.41h47.647l-.805-13.986z"/></g></svg>',fb={class:"btns"},pb={class:"btns"},mb={class:"btns sub-btns"},gb={class:"btns sub-btns"},yb={style:{width:"100%"}},vb={style:{width:"100%"}},bb={style:{height:"400px"}},_b={style:{height:"400px"}},xb=Q({customOptions:{Button:re,InputRange:ms,SVG:pd,Canvas:Ye},inheritAttrs:!0,__name:"SVGAndCanvas.ce",props:{easeName:{default:"Linear"},easeFunction:{type:Function,default:_t.Easing.Linear.None}},setup(s,{expose:t}){const e=s,o=I();let r=0,n=0;St(o,()=>{o.value&&o.value.getSVG().then(R=>{r=R.app.width,n=R.app.height,R.app.on("resize",(D,M)=>{r=D,n=M})})});const a=I(),i=I(),l=I(),c=I(""),u=I("");let h;function f(R){switch(u.value=R,c.value){case"AnimateToTweenCSS":z();break}}const p=new Zg({svg:db,width:300,attrs:{"stroke-width":"1",stroke:"#ff0000",fill:"none"},enableDrag:!0}),d=new oe({d:"M62.9 14.9c-25-7.74-56.6 4.8-60.4 24.3-3.73 19.6 21.6 35 39.6 37.6 42.8 6.2 72.9-53.4 116-58.9 65-18.2 191 101 215 28.8 5-16.7-7-49.1-34-44-34 11.5-31 46.5-14 69.3 9.38 12.6 24.2 20.6 39.8 22.9 91.4 9.05 102-98.9 176-86.7 18.8 3.81 33 17.3 36.7 34.6 2.01 10.2.124 21.1-5.18 30.1"}),b=+d.getTotalLength().toFixed(0),_=I(b),v=I(Math.floor(b/2));function w(R){_.value=R,d.setAttr("strokeDasharray",`${_.value} ${_.value}`)}function g(R){v.value=R,d.setAttr("strokeDashoffset",`${v.value}`)}const m=[{name:"Shape",type:"Shape",onClick:()=>{c.value="Shape",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=new Ds({x:0,y:0,width:100,height:20,degree:30,scalar:2,attrs:{stroke:It.random().toString()},enableDrag:!0});R.clear(),h=ae(()=>(D.ctx.clearRect(),R.path([M]),D.draw([M]),!0))})}))}},{name:"Shapes",type:"Shapes",onClick:()=>{if(c.value="Shapes",!o.value||!a.value)return;h?.();const R=new ve({x:100,y:100,toX:100,toY:200,attrs:{stroke:"#666666"},enableDrag:!0}),D=new ve({x:100,y:100,toX:100,toY:200,degree:30,attrs:{stroke:"#666666"},enableDrag:!0}),M=Qt(0,r-100),$=Qt(0,n-100),N=new ve({attrs:{stroke:"#666666"}});N.x=M,N.y=$,N.toX=M+100,N.toY=$+100;const G=new ve({attrs:{stroke:"#666666"}});G.x=M+100,G.y=$,G.toX=M,G.toY=$+100;const st=N.intersection(G),K=new se({x:0,y:0,radius:10,attrs:{fill:It.random().toString()}});st&&(K.x=st.x,K.y=st.y);const q=new Pn({x:Qt(0,r),y:Qt(0,n),scalar:.5,degree:45,attrs:{fill:"#5a82f0",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),nt=new Te({x:Qt(0,r),y:Qt(0,n),scalar:.8,degree:5,width:100,height:60,borderRadius:10,attrs:{fill:"pink",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),U=new qg({x:Qt(0,r),y:Qt(0,n),scalar:.99,degree:-1,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),H=new Qg({x:Qt(0,r),y:Qt(0,n),scalar:.99,degree:-1,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),gt=new Kg({x:Qt(0,r),y:Qt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString()},enableDrag:!0}),ft=new $i({x:Qt(0,r),y:Qt(0,n),scalar:1,degree:0,attrs:{fill:"rgb(200,80,80)",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),V=new Jg({x:Qt(0,r),y:Qt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),P=new ty({x:Qt(0,r),y:Qt(0,n),scalar:1,degree:0,attrs:{fill:It.random().toString()},enableDrag:!0}),Vt=new ey({x:100,y:200,degree:30,scalar:.8,attrs:{strokeWidth:"2",stroke:It.random().toString(),fill:"none"},enableDrag:!0}),Nt=new ry({x:Qt(0,r),y:Qt(0,n),degree:30,scalar:2,showFlame:!0,attrs:{stroke:It.random().toString()},enableDrag:!0}),Ct=new Ds({x:100,y:100,width:100,height:20,degree:30,attrs:{stroke:It.random().toString()},enableDrag:!0}),Kt=new bh({x:200,y:200,min:0,max:200,step:2,defaultValue:10,barWidth:200});Kt.on("change",Ie=>{console.log(`slider change: ${Ie}`)});const Gt=new Di({x:100,y:100,width:100,height:100,startDegree:45,endDegree:270,lineWidth:10,color:It.random().toString(),enableDrag:!0}),j=new _h({x:Qt(0,r),y:Qt(0,n),width:300,height:150,startDegree:-30,endDegree:190,extendDegree:10,percent:.3,enableDrag:!0}),$e=new yh({x:Qt(0,r),y:Qt(0,n),rx:50,ry:10,enableDrag:!0,attrs:{fill:It.random().toString()}}),Ve=[R,D,N,G,K,q,nt,U,H,gt,ft,V,P,Vt,Nt,Ct,Kt,Gt,j,$e];o.value.getSVG().then(Ie=>{a.value.getCanvas().then(S=>{Ie.clear(),h=ae(()=>(Ie.path(Ve),S.ctx.clearRect(),S.draw(Ve),!0))})})}},{name:"followMouse",type:"followMouse",onClick:()=>{c.value="followMouse",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=new Pn({scalar:.5,followMouse:!0,attrs:{fill:It.random().toString()}}),$=M.clone(),N=new ve({x:R.app.width/2,y:R.app.height/2,attrs:{"stroke-width":"1",stroke:"#666666"}}),G=N.clone();R.clear(),h=ae(()=>(D.ctx.clearRect(),N.toX=M.x,N.toY=M.y,G.toX=$.x,G.toY=$.y,R.path([N,M]),D.draw([G,$]),!0))})}))}},{name:"targetToAfterDragFree",type:"targetToAfterDragFree",onClick:()=>{c.value="targetToAfterDragFree",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=new se({x:R.app.width/2,y:R.app.height/2,radius:30,attrs:{fill:It.random().toString()}});M.enableDrag=!0,M.targetToAfterDragFree={targetX:R.app.width/2,targetY:R.app.height/2};const $=M.clone();R.clear(),h=ae(()=>(R.path(M),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"BallCollision",type:"BallCollision",onClick:()=>{c.value="BallCollision",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=new se({x:50,y:R.app.height/2,radius:30,attrs:{fill:It.random().toString()}});M.mass=2,M.vx=2;const $=new se({x:R.app.width-50,y:R.app.height/2,radius:30,attrs:{fill:It.random().toString()}});$.mass=1,$.vx=-2,R.clear(),h=ae(()=>(M.checkCollision($),M.run(),$.run(),R.path([M,$]),D.ctx.clearRect(),D.draw([M,$]),!0))})}))}},{name:"Balls",type:"Balls",onClick:()=>{c.value="Balls",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const $=[];for(let st=0;st<15;st++){const K=Math.random()*20+15,q=new se({x:Math.random()*R.app.width,y:Math.random()*R.app.height,radius:K,attrs:{fill:It.random().toString()}});q.mass=K,q.vx=Math.random()*10-5,q.vy=Math.random()*10-5,$.push(q)}const N=new Te({x:0,y:0,width:R.app.width,height:R.app.height}),G=new Be($);R.clear(),h=ae(()=>(G.run({wall:N}),R.path($),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"万有引力",type:"Gravitate",onClick:()=>{c.value="Gravitate",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const $=[];for(let G=0;G<30;G++){const st=Math.random()*25+5,K=new se({x:Math.random()*R.app.width,y:Math.random()*R.app.height,radius:st,attrs:{fill:It.random().toString()}});K.mass=st,$.push(K)}const N=new Be($);R.clear(),h=ae(()=>(N.gravitate(),R.path($),D.ctx.clearRect(),D.draw($),!0))})}))}},{name:"行星",type:"SunPlanet",onClick:()=>{c.value="SunPlanet",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=new se({x:R.app.width*.5,y:R.app.height*.5,radius:50,attrs:{fill:It.random().toString()}});M.mass=1e4;const $=new se({x:R.app.width*.5+200,y:R.app.height*.5,radius:10,attrs:{fill:It.random().toString()}});$.mass=1,$.vy=7;const N=[M,$],G=new Be(N);R.clear(),h=ae(()=>(G.gravitate(),R.path(N),D.ctx.clearRect(),D.draw(N),!0))})}))}},{name:"SpringMass",type:"SpringMass",onClick:()=>{c.value="SpringMass",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=[];for(let q=0;q<30;q++){const nt=Math.random()*10+2,U=new se({x:Math.random()*D.app.width,y:Math.random()*D.app.height,radius:nt,attrs:{fill:It.random().toString()}});U.vx=Math.random()*6-3,U.vy=Math.random()*6-3,U.mass=nt,M.push(U)}const N=new Be(M),G=new Te({x:0,y:0,width:D.app.width,height:D.app.height}),st=new It("#666666");let K=[];R.clear(),h=ae(()=>(R.delete(K),K=[],N.springMass(G,{spring:5e-4}).forEach(([q,nt,U,H,gt])=>{gt>0&&K.push(new ve({x:q,y:nt,toX:U,toY:H,attrs:{strokeWidth:"1",stroke:st.setAlpha(gt).toString()}}))}),R.path(K),R.path(M),D.ctx.clearRect(),D.draw(K),D.draw(M),!0))})}))}},{name:"LinePicture",type:"LinePicture",onClick:()=>{c.value="LinePicture",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=new se({x:0,y:0,radius:8,attrs:{fill:It.random().toString()}}),$=new se({x:0,y:0,radius:5,attrs:{fill:It.random().toString()}});let N=[p,M,$],G,st;p.on("clicked",H=>{st&&R.delete(st),G&&G.restore(),G=H,H.save(),H.setAttr({fill:"pink",stroke:"green"}),N=[p,M,$];const gt=H.getBoundingClientRect();gt&&(st=new Te(gt),st.setAttr({fill:"none",stroke:"#0000ff",strokeWidth:"4"}),N.push(st))});let K=0,q=p.shapes[K].getTotalLength(),nt=0;const U=.01;R.clear(),h=ae(()=>{nt>1&&(K++,nt=0,K>p.shapes.length-1&&(K=0),q=p.shapes[K].getTotalLength()),D.ctx.clearRect();let{x:H,y:gt}=p.shapes[K].interpolate(nt);M.x=H,M.y=gt;let{x:ft,y:V}=p.shapes[K].getPointAtLength(nt*q);return $.x=ft,$.y=V,R.path(N),D.draw(N),nt+=U,!0})})}))}},{name:"WalkMan",type:"WalkMan",onClick:()=>{c.value="WalkMan",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=new Ds({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),$=new Ds({width:50,height:10,attrs:{stroke:"#666666"}}),N=new Ds({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),G=new Ds({width:50,height:10,attrs:{stroke:"#666666"}});let st=0,K=0;function q(){K+=.2,M.x+=st,M.y+=K,N.x+=st,N.y+=K}const nt=-Math.PI/2;function U(V,P,Vt){const Nt=Math.sin(Vt)*45+90,Ct=Math.sin(Vt+nt)*45+45,Kt=P.getPin();V.degree=Nt,P.degree=V.degree+Ct,P.x=V.getPin().x,P.y=V.getPin().y,P.vx=P.getPin().x-Kt.x,P.vy=P.getPin().y-Kt.y}function H(V){const P=V.getPin().y+V.height/2;if(P>D.app.height){const Vt=P-D.app.height;M.y-=Vt,$.y-=Vt,N.y-=Vt,G.y-=Vt,st-=V.vx,K-=V.vy}}function gt(){const V=D.app.width+200;M.x>D.app.width+100?(M.x-=V,$.x-=V,N.x-=V,G.x-=V):M.x<-100&&(M.x+=V,$.x+=V,N.x+=V,G.x+=V)}let ft=0;R.clear(),h=ae(()=>(D.ctx.clearRect(),ft+=.06,q(),U(M,$,ft),U(N,G,ft+Math.PI),H($),H(G),gt(),R.path([M,$,N,G]),D.draw([M,$,N,G]),!0))})}))}},{name:"俄罗斯方块",type:"RectGame",onClick:()=>{if(c.value="RectGame",!o.value||!a.value)return;h?.();function R(G){return new Te({x:Math.random()*G,y:0,width:50,height:50,attrs:{fill:It.random().toString()},enableDrag:!0})}const D=.2,M=[];function $(){const G=R(r);return M.push(G),G}let N=$();o.value.getSVG().then(G=>{a.value.getCanvas().then(st=>{G.clear(),h=ae(()=>(st.ctx.clearRect(),G.isMouseDown||st.isMouseDown?(G.path(M),st.draw(M)):(N&&N.run({gravity:D}),N&&N.y+N.height>=st.ctx.canvas.height&&(N.y=st.ctx.canvas.height-N.height,N=$()),M.forEach(K=>(N&&N!==K&&N.isIntersectRect(K)&&(N.y=K.y-N.height,N.y>=N.height?N=$():N=null),K)),G.path(M),st.draw(M)),!0))})})}},{name:"喷泉",type:"PointWater",onClick:()=>{c.value="PointWater",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=[];for(let $=0;$<80;$++){const N=new se({x:R.app.width/2,y:R.app.height,radius:2,attrs:{fill:It.random().toString()}});N.vx=Math.random()*2-1,N.vy=Math.random()*-10-10,M.push(N)}R.clear(),h=ae(()=>(M.forEach($=>{$.run({gravity:.5}),($.x-$.radius>R.app.width||$.x+$.radius<0||$.y-$.radius>R.app.height||$.y+$.radius<0)&&($.x=R.app.width/2,$.y=R.app.height,$.vx=Math.random()*2-1,$.vy=Math.random()*-10-10)}),R.path(M),D.ctx.clearRect(),D.draw(M),!0))})}))}},{name:"SpringChain",type:"SpringChain",onClick:()=>{if(c.value="SpringChain",!o.value||!a.value)return;h?.();function R($,N){const G=[];for(let st=0;st<3;st++)G.push(new se({x:$,y:N,radius:20,attrs:{fill:It.random().toString()}}));return G}function D(){const $=[];for(let N=0;N<3;N++)$.push(new ve({attrs:{"stroke-width":"1",stroke:"#666666"}}));return $}const M={spring:.03,friction:.9,gravity:2};o.value.getSVG().then($=>{a.value.getCanvas().then(N=>{const G=D(),st=R($.app.width/2,$.app.height/2),K=new se({x:0,y:0}),q=D(),nt=R(N.app.width/2,N.app.height/2),U=new se({x:0,y:0}),H=new Be([K,...st]),gt=new Be([U,...nt]);$.clear(),h=ae(()=>(N.ctx.clearRect(),K.x=$.app.mousePoint.x,K.y=$.app.mousePoint.y,H.springChain(M),st.forEach((ft,V)=>{if(V===0)G[V].x=$.app.mousePoint.x,G[V].y=$.app.mousePoint.y,G[V].toX=ft.x,G[V].toY=ft.y;else{const P=st[V-1];G[V].x=P.x,G[V].y=P.y,G[V].toX=ft.x,G[V].toY=ft.y}}),$.path(G),$.path(st),U.x=N.app.mousePoint.x,U.y=N.app.mousePoint.y,gt.springChain(M),nt.forEach((ft,V)=>{if(V===0)q[V].x=N.app.mousePoint.x,q[V].y=N.app.mousePoint.y,q[V].toX=ft.x,q[V].toY=ft.y;else{const P=nt[V-1];q[V].x=P.x,q[V].y=P.y,q[V].toX=ft.x,q[V].toY=ft.y}}),N.draw(q),N.draw(nt),!0))})})}},{name:"多点弹簧",type:"PointSpringMulti",onClick:()=>{c.value="PointSpringMulti",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=[new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}})],$=[];for(let G=0;G<3;G++)$.push(new se({x:Math.random()*R.app.width,y:Math.random()*R.app.height,radius:10,attrs:{fill:It.random().toString()},enableDrag:!0}));const N=new se({radius:20,attrs:{fill:"#ff0000"}});R.clear(),h=ae(()=>(D.ctx.clearRect(),N.runSpringTo($,{spring:.03}),$.forEach((G,st)=>{M[st].x=N.x,M[st].y=N.y,M[st].toX=G.x,M[st].toY=G.y}),R.path([...M,...$,N]),D.draw([...M,...$,N]),!0))})}))}},{name:"SpringConnect",type:"SpringConnect",onClick:()=>{c.value="SpringConnect",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=[new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}}),new ve({attrs:{stroke:"#666666"}})],$=[];for(let G=0;G<3;G++)$.push(new se({x:Math.random()*R.app.width,y:Math.random()*R.app.height,radius:10,attrs:{fill:It.random().toString()},enableDrag:!0}));const N=new Be($);R.clear(),h=ae(()=>(N.springConnect({springLength:120}),M[0].x=$[0].x,M[0].y=$[0].y,M[0].toX=$[1].x,M[0].toY=$[1].y,M[1].x=$[1].x,M[1].y=$[1].y,M[1].toX=$[2].x,M[1].toY=$[2].y,M[2].x=$[2].x,M[2].y=$[2].y,M[2].toX=$[0].x,M[2].toY=$[0].y,R.path([...M,...$]),D.ctx.clearRect(),D.draw([...M,...$]),!0))})}))}},{name:"LineQuadraticBezier",type:"QuadraticBezierCurve",onClick:()=>{c.value="QuadraticBezierCurve",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const $=new En({x:50,y:R.app.height-50,toX:R.app.width-50,toY:R.app.height-50,cx:R.app.mousePoint.x,cy:R.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),N=new En({x:50,y:R.app.height-50,toX:R.app.width-50,toY:R.app.height-50,cx:R.app.mousePoint.x,cy:R.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0}),G=new En({x:50,y:D.ctx.canvas.height-50,toX:D.ctx.canvas.width-50,toY:D.ctx.canvas.height-50,cx:D.app.mousePoint.x,cy:D.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),st=new En({x:50,y:D.ctx.canvas.height-50,toX:D.ctx.canvas.width-50,toY:D.ctx.canvas.height-50,cx:D.app.mousePoint.x,cy:D.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0});R.clear(),h=ae(()=>(D.ctx.clearRect(),N.cx=$.cx=R.app.mousePoint.x,N.cy=$.cy=R.app.mousePoint.y,R.path($),R.path(N),st.cx=G.cx=D.app.mousePoint.x,st.cy=G.cy=D.app.mousePoint.y,D.draw([G,st]),!0))})}))}},{name:"PointsRandom",type:"PointsRandom",onClick:()=>{c.value="PointsRandom",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{R.clear(),D.ctx.clearRect();const M=[];for(let G=0;G<10;G++)M.push({x:Math.random()*R.app.width,y:Math.random()*R.app.height});const $=M.map((G,st)=>new Te({x:G.x,y:G.y,width:6,height:6,attrs:{fill:st==0?"#ff0000":st==M.length-1?"#00ff00":"#666666"}})),N=new gh({points:M,attrs:{stroke:"#ff0000"},isStraight:!0});N.isStraight=!0,R.path($),R.path(N),N.isStraight=!1,D.draw([...$,N])})}))}},{name:"扇形",type:"Sector",onClick:()=>{if(c.value="Sector",!o.value||!a.value)return;h?.();const R=new vh({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}}),D=new vh({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}});o.value.getSVG().then(M=>{a.value.getCanvas().then($=>{M.clear(),h=ae(()=>($.ctx.clearRect(),M.path(R),$.draw(D),!0))})})}},{name:"strokeDash",type:"StrokeDash",onClick:()=>{c.value="StrokeDash",!(!o.value||!a.value)&&(h?.(),d.setAttr({stroke:"#666666",strokeWidth:"4",strokeDasharray:`${_.value} ${_.value}`,strokeDashoffset:`${v.value}`}),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{R.clear(),h=ae(()=>(D.ctx.clearRect(),R.path(d),D.draw(d),!0))})}))}},{name:"strokeDashTween",type:"strokeDashTween",onClick:()=>{c.value="strokeDashTween",!(!o.value||!a.value)&&(h?.(),d.setAttr({stroke:"#ff0000",strokeWidth:"4"}),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{R.clear(),d.strokeDashTween(4e3,{easeFunction:e.easeFunction,onUpdate:()=>{R.path(d),D.ctx.clearRect(),D.draw(d)}})})}))}},{name:"strokeDashTweenParallel",type:"strokeDashTweenParallel",onClick:()=>{c.value="strokeDashTweenParallel",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{R.clear(),D.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(4e3,{type:"parallel",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:It.random().toString()})},onGroupUpdate:()=>{R.path(p),D.ctx.clearRect(),D.draw(p)}})})}))}},{name:"strokeDashTweenSequence",type:"strokeDashTweenSequence",onClick:()=>{c.value="strokeDashTweenSequence",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{R.clear(),D.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(1e3,{type:"sequence",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:It.random().toString()})},onGroupUpdate:()=>{R.path(p),D.ctx.clearRect(),D.draw(p)}})})}))}},{name:"线条动画",type:"InterpolatePath",onClick:()=>{if(c.value="InterpolatePath",!o.value||!a.value)return;h?.();const R=new Pn({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),D=new Te({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#ACFFAD"}}),M=new $i({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),$=Be.generatePointsShape(100,100,100,3);$.x=100,$.y=100,$.setAttr({stroke:"#666666"});const N=Be.generatePointsShape(100,100,100,6);N.x=50,N.y=50,N.setAttr({stroke:"#7EEDFF"});const G=new Be([$,N,R,D,M]);o.value.getSVG().then(st=>{a.value.getCanvas().then(K=>{st.clear(),G.polymorphTween(6e3,{draw:q=>{st.path(q),K.ctx.clearRect(),K.draw(q)}})})})}},{name:"线条动画Group",type:"InterpolatePathGroup",onClick:()=>{if(c.value="InterpolatePathGroup",!o.value||!a.value)return;h?.();const R=new Pn({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),D=new Te({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#42B79E"}}),M=new $i({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),$=new Be([R,D,p,M]);o.value.getSVG().then(N=>{a.value.getCanvas().then(G=>{N.clear(),$.polymorphTween(6e3,{draw:st=>{N.path(st),G.ctx.clearRect(),G.draw(st)}})})})}},{name:"AnimateToTweenCSS",type:"AnimateToTweenCSS",onClick:()=>{c.value="AnimateToTweenCSS",!(!o.value||!a.value)&&(h?.(),Sh(l.value,{transform:""}))}},{name:"Rosetta",type:"Rosetta",onClick:()=>{c.value="Rosetta",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=Be.generateRosettaShape(120,120,55,35,6);M.setAttr({stroke:"none",fill:"none"});const $=new Te({x:0,y:0,width:20,height:10,attrs:{stroke:"none",fill:"green"}}),N=new oe({attrs:{stroke:"red","stroke-width":"3",fill:"none"}});R.clear(),D.ctx.clearRect();const G=new Oe({frameDuration:15e3});G.addTween({progress:0},{progress:1},{onUpdate:st=>{const K=M.trailPath(N,st.progress);$.x=K.x,$.y=K.y,$.degree=K.alpha+90,R.path([N,$]),D.ctx.clearRect(),D.draw([N,$])}}),G.play()})}))}},{name:"Confetti",type:"Confetti",onClick:()=>{c.value="Confetti",!(!o.value||!a.value)&&(h?.(),o.value.getSVG().then(R=>{a.value.getCanvas().then(D=>{const M=new ny(D.app.width,D.app.height,{angle:Qt(55,125),spread:Qt(50,70),particleCount:Qt(50,100)});R.clear(),h=ae(()=>(D.ctx.clearRect(),R.path(M),D.draw(M),!0))})}))}}],k=[{type:"translateTo",onClick:()=>f("translateTo")},{type:"translateXTo",onClick:()=>f("translateXTo")},{type:"translateYTo",onClick:()=>f("translateYTo")},{type:"translateZTo",onClick:()=>f("translateZTo")},{type:"translate3dTo",onClick:()=>f("translate3dTo")},{type:"rotateTo",onClick:()=>f("rotateTo")},{type:"rotateXTo",onClick:()=>f("rotateXTo")},{type:"rotateYTo",onClick:()=>f("rotateYTo")},{type:"rotateZTo",onClick:()=>f("rotateZTo")},{type:"rotate3dTo",onClick:()=>f("rotate3dTo")},{type:"scaleTo",onClick:()=>f("scaleTo")},{type:"scaleXTo",onClick:()=>f("scaleXTo")},{type:"scaleYTo",onClick:()=>f("scaleYTo")},{type:"scaleZTo",onClick:()=>f("scaleZTo")},{type:"scale3dTo",onClick:()=>f("scale3dTo")},{type:"skewTo",onClick:()=>f("skewTo")},{type:"skewXTo",onClick:()=>f("skewXTo")},{type:"skewYTo",onClick:()=>f("skewYTo")},{type:"perspective",onClick:()=>f("perspective")}];let C;function z(){C||(C=new We(i.value));const R=50,D=0,M=0,$=0,N=C.width-R,G=C.height-R,st=C.height-R,K=C.width/2-R/2,q=C.height/2-R/2,nt={},U={};switch(u.value){case"translateTo":Object.assign(nt,{translateTo:[D,M]}),Object.assign(U,{translateTo:[N,G]});break;case"translateXTo":Object.assign(nt,{translateXTo:D}),Object.assign(U,{translateXTo:N});break;case"translateYTo":Object.assign(nt,{translateYTo:M}),Object.assign(U,{translateYTo:G});break;case"translateZTo":Object.assign(nt,{translateTo:[K,q],translateZTo:$}),Object.assign(U,{translateTo:[K,q],translateZTo:st});break;case"translate3dTo":Object.assign(nt,{translate3dTo:[K-50,q-50,$]}),Object.assign(U,{translate3dTo:[K+50,q+50,st]});break;case"rotateTo":Object.assign(nt,{translateTo:[K,q],rotateTo:0}),Object.assign(U,{translateTo:[K,q],rotateTo:360});break;case"rotateXTo":Object.assign(nt,{translateTo:[K,q],rotateXTo:0}),Object.assign(U,{translateTo:[K,q],rotateXTo:180});break;case"rotateYTo":Object.assign(nt,{translateTo:[K,q],rotateYTo:0}),Object.assign(U,{translateTo:[K,q],rotateYTo:180});break;case"rotateZTo":Object.assign(nt,{translateTo:[K,q],rotateZTo:0}),Object.assign(U,{translateTo:[K,q],rotateZTo:360});break;case"rotate3dTo":Object.assign(nt,{translateTo:[K,q],rotate3dTo:[0,0,0]}),Object.assign(U,{translateTo:[K,q],rotate3dTo:[360,360,360]});break;case"scaleTo":Object.assign(nt,{translateTo:[K,q],scaleTo:1}),Object.assign(U,{translateTo:[K,q],scaleTo:3});break;case"scaleXTo":Object.assign(nt,{translateTo:[K,q],scaleXTo:1}),Object.assign(U,{translateTo:[K,q],scaleXTo:3});break;case"scaleYTo":Object.assign(nt,{translateTo:[K,q],scaleYTo:1}),Object.assign(U,{translateTo:[K,q],scaleYTo:3});break;case"scaleZTo":Object.assign(nt,{translateTo:[K,q],scaleZTo:1}),Object.assign(U,{translateTo:[K,q],scaleZTo:3});break;case"scale3dTo":Object.assign(nt,{translateTo:[K,q],scale3dTo:[1,1,1]}),Object.assign(U,{translateTo:[K,q],scale3dTo:[3,3,3]});break;case"skewTo":Object.assign(nt,{translateTo:[K,q],skewTo:0}),Object.assign(U,{translateTo:[K,q],skewTo:30});break;case"skewXTo":Object.assign(nt,{translateTo:[K,q],skewXTo:0}),Object.assign(U,{translateTo:[K,q],skewXTo:30});break;case"skewYTo":Object.assign(nt,{translateTo:[K,q],skewYTo:0}),Object.assign(U,{translateTo:[K,q],skewYTo:30});break;case"perspective":Object.assign(nt,{translateTo:[K,q],perspective:0}),Object.assign(U,{translateTo:[K,q],perspective:1e3});break}const H=new Oe({frameDuration:2e3});H.addTween(nt,U,{easeFunction:e.easeFunction,onUpdate:gt=>{Sh(l.value,uy(l.value,gt))}}),H.play()}function tt(){return new Promise(R=>{a.value.getCanvas().then(D=>{me.downloadFromSVGString(D.ctx.toRawSVG().raw,"CanvasToSVG"),R()})})}return ee(()=>{}),t({}),(R,D)=>(L(),Y(Xt,null,[E("div",fb,[lt(re,{asyncClick:tt},{default:bt(()=>[jt(" downloadFromCanvasToSVG ")]),_:1})]),E("div",pb,[(L(),Y(Xt,null,ye(m,M=>lt(re,{key:M.type,item:M,onClick:M.onClick,stylePattern:c.value==M.type?"fullfilled":"outline"},{default:bt(()=>[jt(yt(M.name),1)]),_:2},1032,["item","onClick","stylePattern"])),64))]),ns(E("div",null," 当前缓动函数:"+yt(e.easeName),513),[[Bo,c.value=="AnimateToTweenCSS"]]),ns(E("div",mb,[(L(),Y(Xt,null,ye(k,M=>lt(re,{key:M.type,item:M,onClick:M.onClick,stylePattern:u.value==M.type?"fullfilled":"outline"},{default:bt(()=>[jt(yt(M.type),1)]),_:2},1032,["item","onClick","stylePattern"])),64))],512),[[Bo,c.value=="AnimateToTweenCSS"]]),ns(E("div",gb,[E("div",yb,[E("div",null,"stroke-dasharray: "+yt(_.value)+","+yt(_.value),1),lt(ms,{max:988,defaultValue:_.value,onChange:w},null,8,["defaultValue"])]),E("div",vb,[E("div",null,"stroke-dashoffset: "+yt(v.value),1),lt(ms,{max:988,defaultValue:v.value,onChange:g},null,8,["defaultValue"])])],512),[[Bo,c.value=="StrokeDash"]]),ns(E("div",bb,[lt(pd,{ref_key:"svgRef",ref:o,bgColor:"#ffffff"},null,512)],512),[[Bo,c.value!=="AnimateToTweenCSS"]]),ns(E("div",_b,[lt(Ye,{ref_key:"canvasRef",ref:a,bgColor:"#333333","enable-custom-context":!1},null,512)],512),[[Bo,c.value!=="AnimateToTweenCSS"]]),ns(E("div",{ref_key:"tweenCSSContainerRef",ref:i,style:{height:"400px"},class:"css-area"},[E("div",{ref_key:"divTweenTargetRef",ref:l,class:"tween-css-target"},null,512)],512),[[Bo,c.value=="AnimateToTweenCSS"]])],64))}}),md=it(xb,[["styles",[`.btns[data-v-0155e0d3]{display:flex;flex-wrap:wrap}.btns>*[data-v-0155e0d3]{margin-right:10px;margin-bottom:10px}.sub-btns[data-v-0155e0d3]{padding-top:10px;background-color:#dbffff}.css-area[data-v-0155e0d3]{background-color:#fff}.tween-css-target[data-v-0155e0d3]{width:50px;height:50px;background-color:#cfc;background-color:#fcc;background-color:#ccf}
147
- `]],["__scopeId","data-v-0155e0d3"]]),wb=["fill"],kb=["fill"],Cb=Q({__name:"SVGCheck.ce",props:{width:{default:"10px"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{style:A(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,wb),E("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,kb)],4))}}),Tb=it(Cb,[["styles",[`svg[data-v-8fe3f9fd]{transform-origin:center}
148
- `]],["__scopeId","data-v-8fe3f9fd"]]),el=s=>(Ts("data-v-7aebdea0"),s=s(),Ss(),s),Sb=[el(()=>E("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)),el(()=>E("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)),el(()=>E("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))],Eb=Q({__name:"SVGCleanUp.ce",props:{width:{default:"16px"},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{style:A(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},Sb,4))}}),Pb=it(Eb,[["styles",[`svg[data-v-7aebdea0]{transform-origin:center}
149
- `]],["__scopeId","data-v-7aebdea0"]]),Ob=["width","height"],Ib=["fill"],Rb=Q({__name:"SVGDelete.ce",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("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,Ib)],8,Ob))}}),Fb=it(Rb,[["styles",[`svg[data-v-8745630f]{transform-origin:center}
150
- `]],["__scopeId","data-v-8745630f"]]),$b=["width","height"],Db=["fill"],Lb=Q({__name:"SVGDown.ce",props:{width:{default:"1em"},height:{},color:{default:vt.colorGrayCC}},setup(s){const t=s;return(e,o)=>(L(),Y("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,Db)],8,$b))}}),Mb=it(Lb,[["styles",[`svg[data-v-0e77f86d]{transform-origin:center}
151
- `]],["__scopeId","data-v-0e77f86d"]]),Ab={class:"svg"},Nb=[zc('<defs data-v-ba0e36ce><mask id="mask" maskContentUnits="objectBoundingBox" data-v-ba0e36ce><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black" data-v-ba0e36ce></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black" data-v-ba0e36ce></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white" data-v-ba0e36ce></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white" data-v-ba0e36ce></rect></mask></defs>',1)],zb=it(Q({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin.ce",setup(s){return(t,e)=>(L(),Y("svg",Ab,Nb))}}),[["styles",[`.svg[data-v-ba0e36ce]{position:absolute;width:0;height:0}
152
- `]],["__scopeId","data-v-ba0e36ce"]]),Bb={class:"loading-1"},Yb=Q({__name:"Loading1.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),Y("div",Bb,[E("div",{class:"rect1",style:e}),E("div",{class:"rect2",style:e}),E("div",{class:"rect3",style:e}),E("div",{class:"rect4",style:e}),E("div",{class:"rect5",style:e})]))}}),Vb=it(Yb,[["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)}}
153
- `]],["__scopeId","data-v-f7deb691"]]),Xb={class:"loading-2"},Gb=Q({__name:"Loading2.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),Y("div",Xb,[E("div",{class:"dot1",style:e}),E("div",{class:"dot2",style:e})]))}}),Ub=it(Gb,[["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)}}
154
- `]],["__scopeId","data-v-945f5b2e"]]),jb=Q({__name:"Loading3.ce",props:{fromColor:{default:vt.colorPrimary},toColor:{default:vt.colorRed}},setup(s){const t=s,e=`
145
+ `,u=R();return St(u,()=>{u.value&&zs(c,u.value)}),se(()=>{}),t({}),(f,d)=>(L(),V("div",{class:"input-range",ref_key:"inputRangeContainer",ref:u},[E("input",{type:"range",max:s.max,min:s.min,step:s.step,value:n.value,autofocus:s.autofocus,onInput:l,style:M({background:`linear-gradient(to right, ${s.color} 0%, ${s.color} ${i.value}%, ${s.barColor} ${i.value}%, ${s.barColor})`})},null,44,vb),kt(f.$slots,"default",{value:n.value},()=>[f.showValue?(L(),V("label",bb,yt(n.value)+yt(s.unit),1)):Rt("",!0)],!0)],512))}}),U2="",xo=it(_b,[["__scopeId","data-v-cab67db2"]]),xb=q({__name:"SVG",props:{bgColor:{default:"rgba(255,255,255,0)"}},emits:["ready","resize"],setup(o,{expose:t,emit:e}){const s=o,r=e;let n,a,i;const l=R();St(l,()=>{n||!l.value||(n=new os(l.value,!1),n.on("resize",(u,f)=>{r("resize",u,f),a=new Pf(n),i?.(a),r("ready",a)}),n.start())});function c(){return new Promise(u=>{if(a)return u(a);i=u})}return se(()=>{n?.destroy()}),t({getSVGElement:()=>l.value,getSVG:c}),(u,f)=>(L(),V("div",{class:"svg",ref_key:"svgRef",ref:l,style:M({backgroundColor:s.bgColor})},null,4))}}),j2="",Ed=it(xb,[["__scopeId","data-v-132e642b"]]),wb='<svg width="512" height="512" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd"><path d="M405.614 190.524c17.843 0 32.315-14.472 32.315-32.329s-14.472-32.329-32.315-32.329c-17.87 0-32.342 14.472-32.342 32.33 0 17.856 14.471 32.328 32.342 32.328zm21.479 7.867c-.528-.333-1.11-.569-1.665-.805a37.223 37.223 0 0 0-11.78-5.189l-8.034 8.103-7.811-8.2c-.028 0-.056.014-.084.014-4.135.985-8.2 2.747-11.821 5.133-.639.264-1.277.555-1.901.93-25.1 15.387-39.502 27.57-43.956 98.79-.43 6.924 4.842 12.876 11.738 13.306.278.014.541.028.805.028 6.577 0 12.099-5.12 12.529-11.766 1.512-24.045 3.927-39.627 7.437-50.38v43.47c0 3.386.652 6.535 1.804 9.421-.083.666-.167 1.319-.167 1.998l.028 120.172c0 8.186 6.618 14.832 14.819 14.832 8.2 0 14.832-6.646 14.832-14.832V320.283c.583.028 1.18.07 1.776.07.097 0 .222-.015.333-.015v103.078c0 8.2 6.632 14.832 14.832 14.832 8.2 0 14.833-6.632 14.833-14.832l.014-119.422c1.942-3.608 3.08-7.687 3.08-12.155v-43.11c3.427 10.74 5.827 26.238 7.312 50.02.416 6.646 5.952 11.766 12.515 11.766.25 0 .527 0 .791-.028 6.91-.43 12.168-6.396 11.752-13.306-4.454-71.234-18.87-83.403-43.97-98.79h-.041zm-21.41 66.087h-.152l-7.798-10.67 7.798-52.115h.152l7.798 52.115-7.798 10.67zM63.235 217.927c0 12.682 10.267 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.281-22.95-22.935-22.95c-12.696 0-22.963 10.282-22.963 22.95zm38.211 28.527c-.374-.222-.79-.402-1.179-.569a26.82 26.82 0 0 0-8.367-3.69l-5.702 5.757-5.564-5.827c-.014 0-.042.014-.056.014a26.862 26.862 0 0 0-8.394 3.649c-.458.194-.916.388-1.346.652-15.873 9.727-25.724 17.69-29.914 55.056h17.912c.985-8.366 2.276-14.68 3.857-19.564v19.564h46.981v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.899c-4.176-37.365-14.028-45.316-29.9-55.056v.014zM86.24 293.379h-.097l-5.536-7.576 5.536-36.99h.097l5.536 36.99-5.536 7.576zm67.432-75.452c0 12.682 10.281 22.95 22.963 22.95 12.668 0 22.935-10.282 22.935-22.95s-10.267-22.95-22.935-22.95c-12.682 0-22.963 10.282-22.963 22.95zm38.212 28.527c-.375-.222-.791-.402-1.18-.569a26.54 26.54 0 0 0-8.366-3.69l-5.703 5.757-5.55-5.827c-.014 0-.042.014-.055.014a26.723 26.723 0 0 0-8.395 3.649c-.458.194-.916.388-1.36.652-15.873 9.727-25.724 17.69-29.914 55.056h17.926c.985-8.366 2.276-14.68 3.858-19.564v19.564h46.98v-19.314c1.554 4.843 2.803 11.086 3.774 19.314h17.9c-4.191-37.365-14.042-45.316-29.915-55.056v.014zm-15.221 46.925h-.111l-5.536-7.576 5.536-36.99h.11l5.537 36.99-5.536 7.576zm-45.607-104.784c42.624 0 77.297-34.673 77.297-77.297C208.353 68.674 173.68 34 131.056 34c-42.624 0-77.298 34.674-77.298 77.298s34.674 77.297 77.298 77.297zm0-134.074c31.316 0 56.776 25.46 56.776 56.777 0 31.316-25.474 56.776-56.776 56.776-31.302 0-56.777-25.46-56.777-56.776 0-31.316 25.475-56.777 56.777-56.777z"/><path d="M170.918 103.084H139.27V69.908h-16.414v49.59h48.063zm30.137 305.277l-8.464-3.121a64.461 64.461 0 0 0-.707-18.732l8.172-3.774c5.106-2.345 7.354-8.422 4.995-13.528l-4.773-10.365c-2.345-5.106-8.408-7.353-13.514-4.995l-8.187 3.774a64.241 64.241 0 0 0-13.763-12.723l3.121-8.464c1.943-5.272-.763-11.155-6.035-13.098l-10.712-3.954c-5.106-1.873-11.21.944-13.098 6.036l-3.122 8.463a65.463 65.463 0 0 0-18.73.708l-3.775-8.186c-2.345-5.106-8.422-7.34-13.528-4.995L88.57 326.18c-5.106 2.358-7.353 8.436-4.995 13.528l3.774 8.172a64.996 64.996 0 0 0-12.723 13.778l-8.45-3.122c-5.106-1.9-11.21.916-13.112 6.022l-3.94 10.712a10.136 10.136 0 0 0 .305 7.797 10.124 10.124 0 0 0 5.73 5.287l8.464 3.135a64.95 64.95 0 0 0 .708 18.732l-8.187 3.774c-5.106 2.344-7.34 8.422-4.995 13.514l4.787 10.378c2.345 5.106 8.409 7.34 13.528 4.981l8.187-3.774a64.336 64.336 0 0 0 13.778 12.724l-3.122 8.464c-.958 2.553-.847 5.314.305 7.797a10.104 10.104 0 0 0 5.716 5.315l10.712 3.954c2.553.943 5.314.832 7.798-.305a10.034 10.034 0 0 0 5.286-5.73l3.136-8.464a64.931 64.931 0 0 0 18.731-.708l3.76 8.186c2.345 5.092 8.422 7.34 13.528 4.981l10.365-4.773c5.12-2.345 7.354-8.408 4.995-13.528l-3.774-8.172a64.24 64.24 0 0 0 12.71-13.778l8.463 3.136c2.567.957 5.328.832 7.812-.306 2.483-1.137 4.343-3.177 5.286-5.716l3.955-10.712c1.956-5.272-.736-11.141-6.022-13.084l-.014-.014zm-56.083 26.64c-5.342 2.456-11.017 3.705-16.858 3.705-15.693 0-30.08-9.213-36.644-23.463-9.296-20.202-.43-44.192 19.758-53.488a39.873 39.873 0 0 1 16.845-3.704c15.692 0 30.08 9.199 36.643 23.448 9.297 20.202.43 44.206-19.744 53.502zm142.635-185.578V76.458h-52.406V87.82h41.043v161.602H235.2v13.986h41.043v176.227H235.2v11.363h52.406V263.41h47.647l-.805-13.986z"/></g></svg>',kb={class:"btns"},Cb={class:"btns"},Tb={class:"btns sub-btns"},Sb={class:"btns sub-btns"},Eb={style:{width:"100%"}},Pb={style:{width:"100%"}},Ob={style:{height:"400px"}},Rb={style:{height:"400px"}},Ib=q({customOptions:{Button:ne,InputRange:xo,SVG:Ed,Canvas:Ue},inheritAttrs:!0,__name:"SVGAndCanvas.ce",props:{easeName:{default:"Linear"},easeFunction:{type:Function,default:xt.Easing.Linear.None}},setup(o,{expose:t}){const e=o,s=R();let r=0,n=0;St(s,()=>{s.value&&s.value.getSVG().then(I=>{r=I.app.width,n=I.app.height,I.app.on("resize",($,N)=>{r=$,n=N})})});const a=R(),i=R(),l=R(),c=R(""),u=R("");let f;function d(I){switch(u.value=I,c.value){case"AnimateToTweenCSS":U();break}}const p=new my({svg:wb,width:300,attrs:{"stroke-width":"1",stroke:"#ff0000",fill:"none"},enableDrag:!0}),h=new oe({d:"M62.9 14.9c-25-7.74-56.6 4.8-60.4 24.3-3.73 19.6 21.6 35 39.6 37.6 42.8 6.2 72.9-53.4 116-58.9 65-18.2 191 101 215 28.8 5-16.7-7-49.1-34-44-34 11.5-31 46.5-14 69.3 9.38 12.6 24.2 20.6 39.8 22.9 91.4 9.05 102-98.9 176-86.7 18.8 3.81 33 17.3 36.7 34.6 2.01 10.2.124 21.1-5.18 30.1"}),w=+h.getTotalLength().toFixed(0),_=R(w),x=R(Math.floor(w/2));function v(I){_.value=I,h.setAttr("strokeDasharray",`${_.value} ${_.value}`)}function g(I){x.value=I,h.setAttr("strokeDashoffset",`${x.value}`)}const m=[{name:"Shape",type:"Shape",onClick:()=>{c.value="Shape",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=new Ao({x:0,y:0,width:100,height:20,degree:30,scalar:2,attrs:{stroke:Ft.random().toString()},enableDrag:!0});I.clear(),f=le(()=>($.ctx.clearRect(),I.path([N]),$.draw([N]),!0))})}))}},{name:"Shapes",type:"Shapes",onClick:()=>{if(c.value="Shapes",!s.value||!a.value)return;f?.();const I=new xe({x:100,y:100,toX:100,toY:200,attrs:{stroke:"#666666"},enableDrag:!0}),$=new xe({x:100,y:100,toX:100,toY:200,degree:30,attrs:{stroke:"#666666"},enableDrag:!0}),N=Jt(0,r-100),D=Jt(0,n-100),A=new xe({attrs:{stroke:"#666666"}});A.x=N,A.y=D,A.toX=N+100,A.toY=D+100;const X=new xe({attrs:{stroke:"#666666"}});X.x=N+100,X.y=D,X.toX=N,X.toY=D+100;const rt=A.intersection(X),Q=new re({x:0,y:0,radius:10,attrs:{fill:Ft.random().toString()}});rt&&(Q.x=rt.x,Q.y=rt.y);const Z=new Ln({x:Jt(0,r),y:Jt(0,n),scalar:.5,degree:45,attrs:{fill:"#5a82f0",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),at=new Ee({x:Jt(0,r),y:Jt(0,n),scalar:.8,degree:5,width:100,height:60,borderRadius:10,attrs:{fill:"pink",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),G=new gy({x:Jt(0,r),y:Jt(0,n),scalar:.99,degree:-1,attrs:{fill:Ft.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),H=new yy({x:Jt(0,r),y:Jt(0,n),scalar:.99,degree:-1,attrs:{fill:Ft.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),gt=new vy({x:Jt(0,r),y:Jt(0,n),scalar:1,degree:0,attrs:{fill:Ft.random().toString()},enableDrag:!0}),ht=new zi({x:Jt(0,r),y:Jt(0,n),scalar:1,degree:0,attrs:{fill:"rgb(200,80,80)",stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),B=new by({x:Jt(0,r),y:Jt(0,n),scalar:1,degree:0,attrs:{fill:Ft.random().toString(),stroke:"#ff0000",strokeWidth:"3"},enableDrag:!0,strokeArmyAnts:!0}),P=new _y({x:Jt(0,r),y:Jt(0,n),scalar:1,degree:0,attrs:{fill:Ft.random().toString()},enableDrag:!0}),Yt=new xy({x:100,y:200,degree:30,scalar:.8,attrs:{strokeWidth:"2",stroke:Ft.random().toString(),fill:"none"},enableDrag:!0}),Mt=new Cy({x:Jt(0,r),y:Jt(0,n),degree:30,scalar:2,showFlame:!0,attrs:{stroke:Ft.random().toString()},enableDrag:!0}),Et=new Ao({x:100,y:100,width:100,height:20,degree:30,attrs:{stroke:Ft.random().toString()},enableDrag:!0}),te=new Ff({x:200,y:200,min:0,max:200,step:2,defaultValue:10,barWidth:200});te.on("change",Fe=>{console.log(`slider change: ${Fe}`)});const Xt=new Vi({x:100,y:100,width:100,height:100,startDegree:45,endDegree:270,lineWidth:10,color:Ft.random().toString(),enableDrag:!0}),j=new Df({x:Jt(0,r),y:Jt(0,n),width:300,height:150,startDegree:-30,endDegree:190,extendDegree:10,percent:.3,enableDrag:!0}),Me=new Rf({x:Jt(0,r),y:Jt(0,n),rx:50,ry:10,enableDrag:!0,attrs:{fill:Ft.random().toString()}}),je=[I,$,A,X,Q,Z,at,G,H,gt,ht,B,P,Yt,Mt,Et,te,Xt,j,Me];s.value.getSVG().then(Fe=>{a.value.getCanvas().then(S=>{Fe.clear(),f=le(()=>(Fe.path(je),S.ctx.clearRect(),S.draw(je),!0))})})}},{name:"followMouse",type:"followMouse",onClick:()=>{c.value="followMouse",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=new Ln({scalar:.5,followMouse:!0,attrs:{fill:Ft.random().toString()}}),D=N.clone(),A=new xe({x:I.app.width/2,y:I.app.height/2,attrs:{"stroke-width":"1",stroke:"#666666"}}),X=A.clone();I.clear(),f=le(()=>($.ctx.clearRect(),A.toX=N.x,A.toY=N.y,X.toX=D.x,X.toY=D.y,I.path([A,N]),$.draw([X,D]),!0))})}))}},{name:"targetToAfterDragFree",type:"targetToAfterDragFree",onClick:()=>{c.value="targetToAfterDragFree",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=new re({x:I.app.width/2,y:I.app.height/2,radius:30,attrs:{fill:Ft.random().toString()}});N.enableDrag=!0,N.targetToAfterDragFree={targetX:I.app.width/2,targetY:I.app.height/2};const D=N.clone();I.clear(),f=le(()=>(I.path(N),$.ctx.clearRect(),$.draw(D),!0))})}))}},{name:"BallCollision",type:"BallCollision",onClick:()=>{c.value="BallCollision",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=new re({x:50,y:I.app.height/2,radius:30,attrs:{fill:Ft.random().toString()}});N.mass=2,N.vx=2;const D=new re({x:I.app.width-50,y:I.app.height/2,radius:30,attrs:{fill:Ft.random().toString()}});D.mass=1,D.vx=-2,I.clear(),f=le(()=>(N.checkCollision(D),N.run(),D.run(),I.path([N,D]),$.ctx.clearRect(),$.draw([N,D]),!0))})}))}},{name:"Balls",type:"Balls",onClick:()=>{c.value="Balls",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const D=[];for(let rt=0;rt<15;rt++){const Q=Math.random()*20+15,Z=new re({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:Q,attrs:{fill:Ft.random().toString()}});Z.mass=Q,Z.vx=Math.random()*10-5,Z.vy=Math.random()*10-5,D.push(Z)}const A=new Ee({x:0,y:0,width:I.app.width,height:I.app.height}),X=new Ge(D);I.clear(),f=le(()=>(X.run({wall:A}),I.path(D),$.ctx.clearRect(),$.draw(D),!0))})}))}},{name:"万有引力",type:"Gravitate",onClick:()=>{c.value="Gravitate",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const D=[];for(let X=0;X<30;X++){const rt=Math.random()*25+5,Q=new re({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:rt,attrs:{fill:Ft.random().toString()}});Q.mass=rt,D.push(Q)}const A=new Ge(D);I.clear(),f=le(()=>(A.gravitate(),I.path(D),$.ctx.clearRect(),$.draw(D),!0))})}))}},{name:"行星",type:"SunPlanet",onClick:()=>{c.value="SunPlanet",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=new re({x:I.app.width*.5,y:I.app.height*.5,radius:50,attrs:{fill:Ft.random().toString()}});N.mass=1e4;const D=new re({x:I.app.width*.5+200,y:I.app.height*.5,radius:10,attrs:{fill:Ft.random().toString()}});D.mass=1,D.vy=7;const A=[N,D],X=new Ge(A);I.clear(),f=le(()=>(X.gravitate(),I.path(A),$.ctx.clearRect(),$.draw(A),!0))})}))}},{name:"SpringMass",type:"SpringMass",onClick:()=>{c.value="SpringMass",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=[];for(let Z=0;Z<30;Z++){const at=Math.random()*10+2,G=new re({x:Math.random()*$.app.width,y:Math.random()*$.app.height,radius:at,attrs:{fill:Ft.random().toString()}});G.vx=Math.random()*6-3,G.vy=Math.random()*6-3,G.mass=at,N.push(G)}const A=new Ge(N),X=new Ee({x:0,y:0,width:$.app.width,height:$.app.height}),rt=new Ft("#666666");let Q=[];I.clear(),f=le(()=>(I.delete(Q),Q=[],A.springMass(X,{spring:5e-4}).forEach(([Z,at,G,H,gt])=>{gt>0&&Q.push(new xe({x:Z,y:at,toX:G,toY:H,attrs:{strokeWidth:"1",stroke:rt.setAlpha(gt).toString()}}))}),I.path(Q),I.path(N),$.ctx.clearRect(),$.draw(Q),$.draw(N),!0))})}))}},{name:"LinePicture",type:"LinePicture",onClick:()=>{c.value="LinePicture",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=new re({x:0,y:0,radius:8,attrs:{fill:Ft.random().toString()}}),D=new re({x:0,y:0,radius:5,attrs:{fill:Ft.random().toString()}});let A=[p,N,D],X,rt;p.on("clicked",H=>{rt&&I.delete(rt),X&&X.restore(),X=H,H.save(),H.setAttr({fill:"pink",stroke:"green"}),A=[p,N,D];const gt=H.getBoundingClientRect();gt&&(rt=new Ee(gt),rt.setAttr({fill:"none",stroke:"#0000ff",strokeWidth:"4"}),A.push(rt))});let Q=0,Z=p.shapes[Q].getTotalLength(),at=0;const G=.01;I.clear(),f=le(()=>{at>1&&(Q++,at=0,Q>p.shapes.length-1&&(Q=0),Z=p.shapes[Q].getTotalLength()),$.ctx.clearRect();let{x:H,y:gt}=p.shapes[Q].interpolate(at);N.x=H,N.y=gt;let{x:ht,y:B}=p.shapes[Q].getPointAtLength(at*Z);return D.x=ht,D.y=B,I.path(A),$.draw(A),at+=G,!0})})}))}},{name:"WalkMan",type:"WalkMan",onClick:()=>{c.value="WalkMan",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=new Ao({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),D=new Ao({width:50,height:10,attrs:{stroke:"#666666"}}),A=new Ao({x:200,y:200,width:50,height:15,attrs:{stroke:"#666666"}}),X=new Ao({width:50,height:10,attrs:{stroke:"#666666"}});let rt=0,Q=0;function Z(){Q+=.2,N.x+=rt,N.y+=Q,A.x+=rt,A.y+=Q}const at=-Math.PI/2;function G(B,P,Yt){const Mt=Math.sin(Yt)*45+90,Et=Math.sin(Yt+at)*45+45,te=P.getPin();B.degree=Mt,P.degree=B.degree+Et,P.x=B.getPin().x,P.y=B.getPin().y,P.vx=P.getPin().x-te.x,P.vy=P.getPin().y-te.y}function H(B){const P=B.getPin().y+B.height/2;if(P>$.app.height){const Yt=P-$.app.height;N.y-=Yt,D.y-=Yt,A.y-=Yt,X.y-=Yt,rt-=B.vx,Q-=B.vy}}function gt(){const B=$.app.width+200;N.x>$.app.width+100?(N.x-=B,D.x-=B,A.x-=B,X.x-=B):N.x<-100&&(N.x+=B,D.x+=B,A.x+=B,X.x+=B)}let ht=0;I.clear(),f=le(()=>($.ctx.clearRect(),ht+=.06,Z(),G(N,D,ht),G(A,X,ht+Math.PI),H(D),H(X),gt(),I.path([N,D,A,X]),$.draw([N,D,A,X]),!0))})}))}},{name:"俄罗斯方块",type:"RectGame",onClick:()=>{if(c.value="RectGame",!s.value||!a.value)return;f?.();function I(X){return new Ee({x:Math.random()*X,y:0,width:50,height:50,attrs:{fill:Ft.random().toString()},enableDrag:!0})}const $=.2,N=[];function D(){const X=I(r);return N.push(X),X}let A=D();s.value.getSVG().then(X=>{a.value.getCanvas().then(rt=>{X.clear(),f=le(()=>(rt.ctx.clearRect(),X.isMouseDown||rt.isMouseDown?(X.path(N),rt.draw(N)):(A&&A.run({gravity:$}),A&&A.y+A.height>=rt.ctx.canvas.height&&(A.y=rt.ctx.canvas.height-A.height,A=D()),N.forEach(Q=>(A&&A!==Q&&A.isIntersectRect(Q)&&(A.y=Q.y-A.height,A.y>=A.height?A=D():A=null),Q)),X.path(N),rt.draw(N)),!0))})})}},{name:"喷泉",type:"PointWater",onClick:()=>{c.value="PointWater",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=[];for(let D=0;D<80;D++){const A=new re({x:I.app.width/2,y:I.app.height,radius:2,attrs:{fill:Ft.random().toString()}});A.vx=Math.random()*2-1,A.vy=Math.random()*-10-10,N.push(A)}I.clear(),f=le(()=>(N.forEach(D=>{D.run({gravity:.5}),(D.x-D.radius>I.app.width||D.x+D.radius<0||D.y-D.radius>I.app.height||D.y+D.radius<0)&&(D.x=I.app.width/2,D.y=I.app.height,D.vx=Math.random()*2-1,D.vy=Math.random()*-10-10)}),I.path(N),$.ctx.clearRect(),$.draw(N),!0))})}))}},{name:"SpringChain",type:"SpringChain",onClick:()=>{if(c.value="SpringChain",!s.value||!a.value)return;f?.();function I(D,A){const X=[];for(let rt=0;rt<3;rt++)X.push(new re({x:D,y:A,radius:20,attrs:{fill:Ft.random().toString()}}));return X}function $(){const D=[];for(let A=0;A<3;A++)D.push(new xe({attrs:{"stroke-width":"1",stroke:"#666666"}}));return D}const N={spring:.03,friction:.9,gravity:2};s.value.getSVG().then(D=>{a.value.getCanvas().then(A=>{const X=$(),rt=I(D.app.width/2,D.app.height/2),Q=new re({x:0,y:0}),Z=$(),at=I(A.app.width/2,A.app.height/2),G=new re({x:0,y:0}),H=new Ge([Q,...rt]),gt=new Ge([G,...at]);D.clear(),f=le(()=>(A.ctx.clearRect(),Q.x=D.app.mousePoint.x,Q.y=D.app.mousePoint.y,H.springChain(N),rt.forEach((ht,B)=>{if(B===0)X[B].x=D.app.mousePoint.x,X[B].y=D.app.mousePoint.y,X[B].toX=ht.x,X[B].toY=ht.y;else{const P=rt[B-1];X[B].x=P.x,X[B].y=P.y,X[B].toX=ht.x,X[B].toY=ht.y}}),D.path(X),D.path(rt),G.x=A.app.mousePoint.x,G.y=A.app.mousePoint.y,gt.springChain(N),at.forEach((ht,B)=>{if(B===0)Z[B].x=A.app.mousePoint.x,Z[B].y=A.app.mousePoint.y,Z[B].toX=ht.x,Z[B].toY=ht.y;else{const P=at[B-1];Z[B].x=P.x,Z[B].y=P.y,Z[B].toX=ht.x,Z[B].toY=ht.y}}),A.draw(Z),A.draw(at),!0))})})}},{name:"多点弹簧",type:"PointSpringMulti",onClick:()=>{c.value="PointSpringMulti",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=[new xe({attrs:{stroke:"#666666"}}),new xe({attrs:{stroke:"#666666"}}),new xe({attrs:{stroke:"#666666"}})],D=[];for(let X=0;X<3;X++)D.push(new re({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:10,attrs:{fill:Ft.random().toString()},enableDrag:!0}));const A=new re({radius:20,attrs:{fill:"#ff0000"}});I.clear(),f=le(()=>($.ctx.clearRect(),A.runSpringTo(D,{spring:.03}),D.forEach((X,rt)=>{N[rt].x=A.x,N[rt].y=A.y,N[rt].toX=X.x,N[rt].toY=X.y}),I.path([...N,...D,A]),$.draw([...N,...D,A]),!0))})}))}},{name:"SpringConnect",type:"SpringConnect",onClick:()=>{c.value="SpringConnect",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=[new xe({attrs:{stroke:"#666666"}}),new xe({attrs:{stroke:"#666666"}}),new xe({attrs:{stroke:"#666666"}})],D=[];for(let X=0;X<3;X++)D.push(new re({x:Math.random()*I.app.width,y:Math.random()*I.app.height,radius:10,attrs:{fill:Ft.random().toString()},enableDrag:!0}));const A=new Ge(D);I.clear(),f=le(()=>(A.springConnect({springLength:120}),N[0].x=D[0].x,N[0].y=D[0].y,N[0].toX=D[1].x,N[0].toY=D[1].y,N[1].x=D[1].x,N[1].y=D[1].y,N[1].toX=D[2].x,N[1].toY=D[2].y,N[2].x=D[2].x,N[2].y=D[2].y,N[2].toX=D[0].x,N[2].toY=D[0].y,I.path([...N,...D]),$.ctx.clearRect(),$.draw([...N,...D]),!0))})}))}},{name:"LineQuadraticBezier",type:"QuadraticBezierCurve",onClick:()=>{c.value="QuadraticBezierCurve",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const D=new $n({x:50,y:I.app.height-50,toX:I.app.width-50,toY:I.app.height-50,cx:I.app.mousePoint.x,cy:I.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),A=new $n({x:50,y:I.app.height-50,toX:I.app.width-50,toY:I.app.height-50,cx:I.app.mousePoint.x,cy:I.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0}),X=new $n({x:50,y:$.ctx.canvas.height-50,toX:$.ctx.canvas.width-50,toY:$.ctx.canvas.height-50,cx:$.app.mousePoint.x,cy:$.app.mousePoint.y,attrs:{stroke:"#ff0000","stroke-width":"2"},isLineThrough:!1}),rt=new $n({x:50,y:$.ctx.canvas.height-50,toX:$.ctx.canvas.width-50,toY:$.ctx.canvas.height-50,cx:$.app.mousePoint.x,cy:$.app.mousePoint.y,attrs:{stroke:"#00ff00","stroke-width":"2"},isLineThrough:!0});I.clear(),f=le(()=>($.ctx.clearRect(),A.cx=D.cx=I.app.mousePoint.x,A.cy=D.cy=I.app.mousePoint.y,I.path(D),I.path(A),rt.cx=X.cx=$.app.mousePoint.x,rt.cy=X.cy=$.app.mousePoint.y,$.draw([X,rt]),!0))})}))}},{name:"PointsRandom",type:"PointsRandom",onClick:()=>{c.value="PointsRandom",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),$.ctx.clearRect();const N=[];for(let X=0;X<10;X++)N.push({x:Math.random()*I.app.width,y:Math.random()*I.app.height});const D=N.map((X,rt)=>new Ee({x:X.x,y:X.y,width:6,height:6,attrs:{fill:rt==0?"#ff0000":rt==N.length-1?"#00ff00":"#666666"}})),A=new Of({points:N,attrs:{stroke:"#ff0000"},isStraight:!0});A.isStraight=!0,I.path(D),I.path(A),A.isStraight=!1,$.draw([...D,A])})}))}},{name:"扇形",type:"Sector",onClick:()=>{if(c.value="Sector",!s.value||!a.value)return;f?.();const I=new If({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}}),$=new If({x:300,y:100,radius:100,startDegree:80,endDegree:200,enableDrag:!0,text:"些许文字",defaultShowText:!1,tip:"提示文字...",attrs:{fill:"pink",stroke:"#666666"}});s.value.getSVG().then(N=>{a.value.getCanvas().then(D=>{N.clear(),f=le(()=>(D.ctx.clearRect(),N.path(I),D.draw($),!0))})})}},{name:"strokeDash",type:"StrokeDash",onClick:()=>{c.value="StrokeDash",!(!s.value||!a.value)&&(f?.(),h.setAttr({stroke:"#666666",strokeWidth:"4",strokeDasharray:`${_.value} ${_.value}`,strokeDashoffset:`${x.value}`}),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),f=le(()=>($.ctx.clearRect(),I.path(h),$.draw(h),!0))})}))}},{name:"strokeDashTween",type:"strokeDashTween",onClick:()=>{c.value="strokeDashTween",!(!s.value||!a.value)&&(f?.(),h.setAttr({stroke:"#ff0000",strokeWidth:"4"}),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),h.strokeDashTween(4e3,{easeFunction:e.easeFunction,onUpdate:()=>{I.path(h),$.ctx.clearRect(),$.draw(h)}})})}))}},{name:"strokeDashTweenParallel",type:"strokeDashTweenParallel",onClick:()=>{c.value="strokeDashTweenParallel",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),$.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(4e3,{type:"parallel",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:Ft.random().toString()})},onGroupUpdate:()=>{I.path(p),$.ctx.clearRect(),$.draw(p)}})})}))}},{name:"strokeDashTweenSequence",type:"strokeDashTweenSequence",onClick:()=>{c.value="strokeDashTweenSequence",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{I.clear(),$.ctx.clearRect(),p.setAttrs({stroke:"none"}),p.strokeDashTween(1e3,{type:"sequence",easeFunction:e.easeFunction,onGroupStart:()=>{p.setAttrs({stroke:Ft.random().toString()})},onGroupUpdate:()=>{I.path(p),$.ctx.clearRect(),$.draw(p)}})})}))}},{name:"线条动画",type:"InterpolatePath",onClick:()=>{if(c.value="InterpolatePath",!s.value||!a.value)return;f?.();const I=new Ln({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),$=new Ee({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#ACFFAD"}}),N=new zi({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),D=Ge.generatePointsShape(100,100,100,3);D.x=100,D.y=100,D.setAttr({stroke:"#666666"});const A=Ge.generatePointsShape(100,100,100,6);A.x=50,A.y=50,A.setAttr({stroke:"#7EEDFF"});const X=new Ge([D,A,I,$,N]);s.value.getSVG().then(rt=>{a.value.getCanvas().then(Q=>{rt.clear(),X.polymorphTween(6e3,{draw:Z=>{rt.path(Z),Q.ctx.clearRect(),Q.draw(Z)}})})})}},{name:"线条动画Group",type:"InterpolatePathGroup",onClick:()=>{if(c.value="InterpolatePathGroup",!s.value||!a.value)return;f?.();const I=new Ln({x:200,y:200,scalar:1,attrs:{stroke:"#5a82f0"}}),$=new Ee({width:100,height:60,x:150,y:170,borderRadius:10,attrs:{stroke:"#42B79E"}}),N=new zi({x:200,y:200,scalar:3,attrs:{stroke:"rgb(200,80,80)"}}),D=new Ge([I,$,p,N]);s.value.getSVG().then(A=>{a.value.getCanvas().then(X=>{A.clear(),D.polymorphTween(6e3,{draw:rt=>{A.path(rt),X.ctx.clearRect(),X.draw(rt)}})})})}},{name:"AnimateToTweenCSS",type:"AnimateToTweenCSS",onClick:()=>{c.value="AnimateToTweenCSS",!(!s.value||!a.value)&&(f?.(),zf(l.value,{transform:""}))}},{name:"Rosetta",type:"Rosetta",onClick:()=>{c.value="Rosetta",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=Ge.generateRosettaShape(120,120,55,35,6);N.setAttr({stroke:"none",fill:"none"});const D=new Ee({x:0,y:0,width:20,height:10,attrs:{stroke:"none",fill:"green"}}),A=new oe({attrs:{stroke:"red","stroke-width":"3",fill:"none"}});I.clear(),$.ctx.clearRect();const X=new Ie({frameDuration:15e3});X.addTween({progress:0},{progress:1},{onUpdate:rt=>{const Q=N.trailPath(A,rt.progress);D.x=Q.x,D.y=Q.y,D.degree=Q.alpha+90,I.path([A,D]),$.ctx.clearRect(),$.draw([A,D])}}),X.play()})}))}},{name:"Confetti",type:"Confetti",onClick:()=>{c.value="Confetti",!(!s.value||!a.value)&&(f?.(),s.value.getSVG().then(I=>{a.value.getCanvas().then($=>{const N=new Ty($.app.width,$.app.height,{angle:Jt(55,125),spread:Jt(50,70),particleCount:Jt(50,100)});I.clear(),f=le(()=>($.ctx.clearRect(),I.path(N),$.draw(N),!0))})}))}}],b=[{type:"translateTo",onClick:()=>d("translateTo")},{type:"translateXTo",onClick:()=>d("translateXTo")},{type:"translateYTo",onClick:()=>d("translateYTo")},{type:"translateZTo",onClick:()=>d("translateZTo")},{type:"translate3dTo",onClick:()=>d("translate3dTo")},{type:"rotateTo",onClick:()=>d("rotateTo")},{type:"rotateXTo",onClick:()=>d("rotateXTo")},{type:"rotateYTo",onClick:()=>d("rotateYTo")},{type:"rotateZTo",onClick:()=>d("rotateZTo")},{type:"rotate3dTo",onClick:()=>d("rotate3dTo")},{type:"scaleTo",onClick:()=>d("scaleTo")},{type:"scaleXTo",onClick:()=>d("scaleXTo")},{type:"scaleYTo",onClick:()=>d("scaleYTo")},{type:"scaleZTo",onClick:()=>d("scaleZTo")},{type:"scale3dTo",onClick:()=>d("scale3dTo")},{type:"skewTo",onClick:()=>d("skewTo")},{type:"skewXTo",onClick:()=>d("skewXTo")},{type:"skewYTo",onClick:()=>d("skewYTo")},{type:"perspective",onClick:()=>d("perspective")}];let C;function U(){C||(C=new os(i.value));const I=50,$=0,N=0,D=0,A=C.width-I,X=C.height-I,rt=C.height-I,Q=C.width/2-I/2,Z=C.height/2-I/2,at={},G={};switch(u.value){case"translateTo":Object.assign(at,{translateTo:[$,N]}),Object.assign(G,{translateTo:[A,X]});break;case"translateXTo":Object.assign(at,{translateXTo:$}),Object.assign(G,{translateXTo:A});break;case"translateYTo":Object.assign(at,{translateYTo:N}),Object.assign(G,{translateYTo:X});break;case"translateZTo":Object.assign(at,{translateTo:[Q,Z],translateZTo:D}),Object.assign(G,{translateTo:[Q,Z],translateZTo:rt});break;case"translate3dTo":Object.assign(at,{translate3dTo:[Q-50,Z-50,D]}),Object.assign(G,{translate3dTo:[Q+50,Z+50,rt]});break;case"rotateTo":Object.assign(at,{translateTo:[Q,Z],rotateTo:0}),Object.assign(G,{translateTo:[Q,Z],rotateTo:360});break;case"rotateXTo":Object.assign(at,{translateTo:[Q,Z],rotateXTo:0}),Object.assign(G,{translateTo:[Q,Z],rotateXTo:180});break;case"rotateYTo":Object.assign(at,{translateTo:[Q,Z],rotateYTo:0}),Object.assign(G,{translateTo:[Q,Z],rotateYTo:180});break;case"rotateZTo":Object.assign(at,{translateTo:[Q,Z],rotateZTo:0}),Object.assign(G,{translateTo:[Q,Z],rotateZTo:360});break;case"rotate3dTo":Object.assign(at,{translateTo:[Q,Z],rotate3dTo:[0,0,0]}),Object.assign(G,{translateTo:[Q,Z],rotate3dTo:[360,360,360]});break;case"scaleTo":Object.assign(at,{translateTo:[Q,Z],scaleTo:1}),Object.assign(G,{translateTo:[Q,Z],scaleTo:3});break;case"scaleXTo":Object.assign(at,{translateTo:[Q,Z],scaleXTo:1}),Object.assign(G,{translateTo:[Q,Z],scaleXTo:3});break;case"scaleYTo":Object.assign(at,{translateTo:[Q,Z],scaleYTo:1}),Object.assign(G,{translateTo:[Q,Z],scaleYTo:3});break;case"scaleZTo":Object.assign(at,{translateTo:[Q,Z],scaleZTo:1}),Object.assign(G,{translateTo:[Q,Z],scaleZTo:3});break;case"scale3dTo":Object.assign(at,{translateTo:[Q,Z],scale3dTo:[1,1,1]}),Object.assign(G,{translateTo:[Q,Z],scale3dTo:[3,3,3]});break;case"skewTo":Object.assign(at,{translateTo:[Q,Z],skewTo:0}),Object.assign(G,{translateTo:[Q,Z],skewTo:30});break;case"skewXTo":Object.assign(at,{translateTo:[Q,Z],skewXTo:0}),Object.assign(G,{translateTo:[Q,Z],skewXTo:30});break;case"skewYTo":Object.assign(at,{translateTo:[Q,Z],skewYTo:0}),Object.assign(G,{translateTo:[Q,Z],skewYTo:30});break;case"perspective":Object.assign(at,{translateTo:[Q,Z],perspective:0}),Object.assign(G,{translateTo:[Q,Z],perspective:1e3});break}const H=new Ie({frameDuration:2e3});H.addTween(at,G,{easeFunction:e.easeFunction,onUpdate:gt=>{zf(l.value,Ry(l.value,gt))}}),H.play()}function K(){return new Promise(I=>{a.value.getCanvas().then($=>{pe.downloadFromSVGString($.ctx.toRawSVG().raw,"CanvasToSVG"),I()})})}return se(()=>{}),t({}),(I,$)=>(L(),V(Vt,null,[E("div",kb,[ct(ne,{asyncClick:K},{default:bt(()=>$[0]||($[0]=[jt(" downloadFromCanvasToSVG ")])),_:1})]),E("div",Cb,[(L(),V(Vt,null,_e(m,N=>ct(ne,{key:N.type,item:N,onClick:N.onClick,stylePattern:c.value==N.type?"fullfilled":"outline"},{default:bt(()=>[jt(yt(N.name),1)]),_:2},1032,["item","onClick","stylePattern"])),64))]),co(E("div",null," 当前缓动函数:"+yt(e.easeName),513),[[Ws,c.value=="AnimateToTweenCSS"]]),co(E("div",Tb,[(L(),V(Vt,null,_e(b,N=>ct(ne,{key:N.type,item:N,onClick:N.onClick,stylePattern:u.value==N.type?"fullfilled":"outline"},{default:bt(()=>[jt(yt(N.type),1)]),_:2},1032,["item","onClick","stylePattern"])),64))],512),[[Ws,c.value=="AnimateToTweenCSS"]]),co(E("div",Sb,[E("div",Eb,[E("div",null,"stroke-dasharray: "+yt(_.value)+","+yt(_.value),1),ct(xo,{max:988,defaultValue:_.value,onChange:v},null,8,["defaultValue"])]),E("div",Pb,[E("div",null,"stroke-dashoffset: "+yt(x.value),1),ct(xo,{max:988,defaultValue:x.value,onChange:g},null,8,["defaultValue"])])],512),[[Ws,c.value=="StrokeDash"]]),co(E("div",Ob,[ct(Ed,{ref_key:"svgRef",ref:s,bgColor:"#ffffff"},null,512)],512),[[Ws,c.value!=="AnimateToTweenCSS"]]),co(E("div",Rb,[ct(Ue,{ref_key:"canvasRef",ref:a,bgColor:"#333333","enable-custom-context":!1},null,512)],512),[[Ws,c.value!=="AnimateToTweenCSS"]]),co(E("div",{ref_key:"tweenCSSContainerRef",ref:i,style:{height:"400px"},class:"css-area"},[E("div",{ref_key:"divTweenTargetRef",ref:l,class:"tween-css-target"},null,512)],512),[[Ws,c.value=="AnimateToTweenCSS"]])],64))}}),Pd=it(Ib,[["styles",[`.btns[data-v-0155e0d3]{display:flex;flex-wrap:wrap}.btns[data-v-0155e0d3]>*{margin-right:10px;margin-bottom:10px}.sub-btns[data-v-0155e0d3]{padding-top:10px;background-color:#dbffff}.css-area[data-v-0155e0d3]{background-color:#fff}.tween-css-target[data-v-0155e0d3]{width:50px;height:50px;background-color:#cfc;background-color:#fcc;background-color:#ccf}
146
+ `]],["__scopeId","data-v-0155e0d3"]]),Fb=["fill"],Db=["fill"],$b=q({__name:"SVGCheck.ce",props:{width:{default:"10px"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{style:M(["width: "+t.width]),viewBox:"0 0 7 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,Fb),E("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,Db)],4))}}),Lb=it($b,[["styles",[`svg[data-v-8fe3f9fd]{transform-origin:center}
147
+ `]],["__scopeId","data-v-8fe3f9fd"]]),Nb=q({__name:"SVGCleanUp.ce",props:{width:{default:"16px"},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{style:M(["width: "+t.width]),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48"},s[0]||(s[0]=[E("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),E("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),E("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))}}),Mb=it(Nb,[["styles",[`svg[data-v-7aebdea0]{transform-origin:center}
148
+ `]],["__scopeId","data-v-7aebdea0"]]),Ab=["width","height"],zb=["fill"],Vb=q({__name:"SVGDelete.ce",props:{width:{default:"16px"},height:{},color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{viewBox:"0 0 24 24",width:t.width,height:t.height??t.width,xmlns:"http://www.w3.org/2000/svg"},[E("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,zb)],8,Ab))}}),Bb=it(Vb,[["styles",[`svg[data-v-8745630f]{transform-origin:center}
149
+ `]],["__scopeId","data-v-8745630f"]]),Yb=["width","height"],Xb=["fill"],Gb=q({__name:"SVGDown.ce",props:{width:{default:"1em"},height:{},color:{default:vt.colorGrayCC}},setup(o){const t=o;return(e,s)=>(L(),V("svg",{viewBox:"0 0 20 20",width:t.width,height:t.height??t.width,fill:"none",xmlns:"http://www.w3.org/2000/svg"},[E("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,Xb)],8,Yb))}}),Ub=it(Gb,[["styles",[`svg[data-v-0e77f86d]{transform-origin:center}
150
+ `]],["__scopeId","data-v-0e77f86d"]]),jb={class:"svg"},Hb=it(q({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin.ce",setup(o){return(t,e)=>(L(),V("svg",jb,e[0]||(e[0]=[Xc('<defs data-v-ba0e36ce><mask id="mask" maskContentUnits="objectBoundingBox" data-v-ba0e36ce><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black" data-v-ba0e36ce></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black" data-v-ba0e36ce></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white" data-v-ba0e36ce></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white" data-v-ba0e36ce></rect></mask></defs>',1)])))}}),[["styles",[`.svg[data-v-ba0e36ce]{position:absolute;width:0;height:0}
151
+ `]],["__scopeId","data-v-ba0e36ce"]]),Wb={class:"loading-1"},Zb=q({__name:"Loading1.ce",props:{color:{default:vt.colorPrimary}},setup(o){const e={backgroundColor:o.color};return(s,r)=>(L(),V("div",Wb,[E("div",{class:"rect1",style:e}),E("div",{class:"rect2",style:e}),E("div",{class:"rect3",style:e}),E("div",{class:"rect4",style:e}),E("div",{class:"rect5",style:e})]))}}),qb=it(Zb,[["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)}}
152
+ `]],["__scopeId","data-v-f7deb691"]]),Qb={class:"loading-2"},Kb=q({__name:"Loading2.ce",props:{color:{default:vt.colorPrimary}},setup(o){const e={backgroundColor:o.color};return(s,r)=>(L(),V("div",Qb,[E("div",{class:"dot1",style:e}),E("div",{class:"dot2",style:e})]))}}),Jb=it(Kb,[["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)}}
153
+ `]],["__scopeId","data-v-945f5b2e"]]),t_=q({__name:"Loading3.ce",props:{fromColor:{default:vt.colorPrimary},toColor:{default:vt.colorRed}},setup(o){const t=o,e=`
155
154
  @keyframes snake {
156
155
  0% {
157
156
  opacity: 0.3;
@@ -170,43 +169,43 @@ Component that was made reactive: `,s)),E(s,t,e,o,r,a,n,!0)}function em(s){retur
170
169
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
171
170
  }
172
171
  }
173
- `,o={backgroundColor:t.fromColor,width:"20%"},r=I();return St(r,()=>{r.value&&ko(e,r.value)}),Lo(()=>{}),ee(()=>{}),(n,a)=>(L(),Y("div",{class:"loading-3",ref_key:"loading3",ref:r},[E("div",{class:"dot",style:A({...o,left:"0"})},null,4),E("div",{class:"dot",style:A({...o,left:"20%"})},null,4),E("div",{class:"dot",style:A({...o,left:"40%"})},null,4),E("div",{class:"dot",style:A({...o,left:"60%"})},null,4),E("div",{class:"dot",style:A({...o,left:"80%"})},null,4)],512))}}),Hb=it(jb,[["styles",[`.loading-3[data-v-edc89186]{position:relative;display:inline-block;width:100%;height:100%;text-align:center}.dot[data-v-edc89186]{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-edc89186]:nth-child(1){animation-delay:0s}.loading-3 div[data-v-edc89186]:nth-child(2){animation-delay:.2s}.loading-3 div[data-v-edc89186]:nth-child(3){animation-delay:.4s}.loading-3 div[data-v-edc89186]:nth-child(4){animation-delay:.6s}.loading-3 div[data-v-edc89186]:nth-child(5){animation-delay:.8s}
174
- `]],["__scopeId","data-v-edc89186"]]),Wb={class:"loading-4"},Zb=Q({__name:"Loading4.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),Y("div",Wb,[E("div",{class:"rect",style:e})]))}}),qb=it(Zb,[["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)}}
175
- `]],["__scopeId","data-v-b2b74418"]]),Qb={class:"loading-5"},Kb=Q({__name:"Loading5.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),Y("div",Qb,[E("div",{class:"cube1",style:e}),E("div",{class:"cube2",style:e})]))}}),Jb=it(Kb,[["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)}}
176
- `]],["__scopeId","data-v-2e49b1eb"]]),t_={class:"loading-6"},e_=Q({__name:"Loading6.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={backgroundColor:s.color};return(o,r)=>(L(),Y("div",t_,[E("div",{style:e}),E("div",{style:e}),E("div",{style:e})]))}}),o_=it(e_,[["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}}
177
- `]],["__scopeId","data-v-0e771b32"]]),s_=[(s=>(Ts("data-v-bb5e2767"),s=s(),Ss(),s))(()=>E("div",null,null,-1))],r_=Q({__name:"Loading7.ce",props:{color:{default:vt.colorPrimary}},setup(s){const t=s,e=`
172
+ `,s={backgroundColor:t.fromColor,width:"20%"},r=R();return St(r,()=>{r.value&&zs(e,r.value)}),gs(()=>{}),se(()=>{}),(n,a)=>(L(),V("div",{class:"loading-3",ref_key:"loading3",ref:r},[E("div",{class:"dot",style:M({...s,left:"0"})},null,4),E("div",{class:"dot",style:M({...s,left:"20%"})},null,4),E("div",{class:"dot",style:M({...s,left:"40%"})},null,4),E("div",{class:"dot",style:M({...s,left:"60%"})},null,4),E("div",{class:"dot",style:M({...s,left:"80%"})},null,4)],512))}}),e_=it(t_,[["styles",[`.loading-3[data-v-edc89186]{position:relative;display:inline-block;width:100%;height:100%;text-align:center}.dot[data-v-edc89186]{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-edc89186]:nth-child(1){animation-delay:0s}.loading-3 div[data-v-edc89186]:nth-child(2){animation-delay:.2s}.loading-3 div[data-v-edc89186]:nth-child(3){animation-delay:.4s}.loading-3 div[data-v-edc89186]:nth-child(4){animation-delay:.6s}.loading-3 div[data-v-edc89186]:nth-child(5){animation-delay:.8s}
173
+ `]],["__scopeId","data-v-edc89186"]]),s_={class:"loading-4"},o_=q({__name:"Loading4.ce",props:{color:{default:vt.colorPrimary}},setup(o){const e={backgroundColor:o.color};return(s,r)=>(L(),V("div",s_,[E("div",{class:"rect",style:e})]))}}),r_=it(o_,[["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)}}
174
+ `]],["__scopeId","data-v-b2b74418"]]),n_={class:"loading-5"},a_=q({__name:"Loading5.ce",props:{color:{default:vt.colorPrimary}},setup(o){const e={backgroundColor:o.color};return(s,r)=>(L(),V("div",n_,[E("div",{class:"cube1",style:e}),E("div",{class:"cube2",style:e})]))}}),i_=it(a_,[["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)}}
175
+ `]],["__scopeId","data-v-2e49b1eb"]]),l_={class:"loading-6"},c_=q({__name:"Loading6.ce",props:{color:{default:vt.colorPrimary}},setup(o){const e={backgroundColor:o.color};return(s,r)=>(L(),V("div",l_,[E("div",{style:e}),E("div",{style:e}),E("div",{style:e})]))}}),u_=it(c_,[["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}}
176
+ `]],["__scopeId","data-v-0e771b32"]]),f_=q({__name:"Loading7.ce",props:{color:{default:vt.colorPrimary}},setup(o){const t=o,e=`
178
177
  :root {
179
178
  --loading-7-bg-color: ${t.color}
180
179
  }
181
180
  :host {
182
181
  --loading-7-bg-color: ${t.color}
183
182
  }
184
- `,o=I();return St(o,()=>{o.value&&ko(e,o.value)}),Lo(()=>{}),ee(()=>{}),(r,n)=>(L(),Y("div",{class:"loading-7",ref_key:"loading7",ref:o},s_,512))}}),n_=it(r_,[["styles",[`.loading-7[data-v-bb5e2767]{position:relative;display:block;width:100%;height:100%}.loading-7>div[data-v-bb5e2767]{width:50%;height:50%;margin:auto;position:absolute;inset:0}.loading-7>div[data-v-bb5e2767]: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-bb5e2767 .5s linear infinite}.loading-7>div[data-v-bb5e2767]:after{content:"";width:100%;height:100%;animation:animate-bb5e2767 .5s linear infinite;position:absolute;inset:0;border-radius:3px;background-color:var(--loading-7-bg-color)}@keyframes animate-bb5e2767{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-bb5e2767{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
185
- `]],["__scopeId","data-v-bb5e2767"]]),a_={class:"loading-8"},i_={viewBox:"25 25 50 50"},l_=Q({__name:"Loading8.ce",props:{color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("div",a_,[(L(),Y("svg",i_,[E("circle",{cx:"50",cy:"50",r:"20",style:A(["stroke: "+t.color])},null,4)]))]))}}),gd=it(l_,[["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}}
186
- `]],["__scopeId","data-v-51a259a7"]]),c_={class:"loading-9"},u_=Q({__name:"Loading9.ce",props:{color:{default:vt.colorPrimary}},setup(s){const e={borderTopColor:s.color};return(o,r)=>(L(),Y("div",c_,[E("div",{style:e})]))}}),h_=it(u_,[["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)}}
187
- `]],["__scopeId","data-v-ee782ac8"]]),d_={class:"loading-10"},f_={viewBox:"0 0 50 50"},p_=Q({__name:"Loading10.ce",props:{color:{default:vt.colorPrimary}},setup(s){const t=s;return(e,o)=>(L(),Y("div",d_,[(L(),Y("svg",f_,[E("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:A(["stroke: rgba(0,0,0,0.1)"])},null,4),E("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:A(["fill: "+t.color])},null,4)]))]))}}),m_=it(p_,[["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)}}
188
- `]],["__scopeId","data-v-984ad184"]]),g_={class:"loading-11",ref:"loading11"},y_={class:"container container-1"},v_={class:"container container-2"},b_={class:"container container-3"},__=Q({__name:"Loading11.ce",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(s){const t=s;return(e,o)=>(L(),Y("div",g_,[E("div",{class:"loading-11-inner",style:A({width:t.width,height:t.width})},[E("div",y_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",v_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)]),E("div",b_,[E("div",{class:"dot dot-1",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:A({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:A({backgroundColor:t.color})},null,4)])],4)],512))}}),yd=it(__,[["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)}}
189
- `]],["__scopeId","data-v-7fb118c9"]]),x_={class:"face front"},w_={class:"face back"},k_=it(Q({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(s,{expose:t,emit:e}){const o=s,r=e,n=I(!1),a=()=>{n.value=!n.value,r("click",n.value)};return t({}),(i,l)=>(L(),Y("div",{class:"card-flip-scene",style:A({perspective:o.perspective})},[E("div",{class:te(["card",[o.type,{flip:n.value}]]),style:A({transition:`transform ${o.dur}ms`}),onClick:a},[E("div",x_,[kt(i.$slots,"front",{},()=>[jt("front")],!0)]),E("div",w_,[kt(i.$slots,"back",{},()=>[jt("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)}
190
- `]],["__scopeId","data-v-1ee90a6e"]]),C_=Q({customOptions:{BooleanBox:Uo},__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(s,{emit:t}){const e=s,o=t,r=I([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=I(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,o("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),Y(Xt,null,ye(l.options,(u,h)=>(L(),Y("div",{class:"radio-group",key:h,style:A(["margin-left:"+(h>0?e.itemPadding:0)])},[lt(Uo,{ref_for:!0,ref:f=>n(f,h),selected:Et(a)==h,disabled:l.disabledIndexs&&l.disabledIndexs.findIndex(f=>f===h)>=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:f=>i(h,f)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),bw="",vd=it(C_,[["__scopeId","data-v-308d559c"]]),T_=Q({customOptions:{BooleanBox:Uo},__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(s,{emit:t}){const e=s,o=t;let r=Zt(e.initIndexs??[]);const n=(a,i)=>{const l=r.findIndex(u=>u===a);let c=!1;l>=0&&!i?(r.splice(l,1),c=!0):l<0&&i&&(r.push(a),c=!0),c&&o("change",r.map(u=>e.options[u]))};return(a,i)=>(L(!0),Y(Xt,null,ye(a.options,(l,c)=>(L(),Y("div",{class:"checkbox-group",key:c,style:A(["margin-left:"+(c>0?e.itemPadding:0)])},[lt(Uo,{selected:Et(r).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=>n(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),_w="",ol=it(T_,[["__scopeId","data-v-4c28fda3"]]),bd=it(Q({customOptions:{RadioGroup:vd,CheckboxGroup:ol,InputRange:ms},inheritAttrs:!0,__name:"Cube.ce",props:{width:{default:200},height:{default:200},dur:{default:1e3},perspective:{default:400}},setup(s,{expose:t,emit:e}){const o=s,r=I(Math.floor(o.width/2)),n=`
183
+ `,s=R();return St(s,()=>{s.value&&zs(e,s.value)}),gs(()=>{}),se(()=>{}),(r,n)=>(L(),V("div",{class:"loading-7",ref_key:"loading7",ref:s},n[0]||(n[0]=[E("div",null,null,-1)]),512))}}),d_=it(f_,[["styles",[`.loading-7[data-v-bb5e2767]{position:relative;display:block;width:100%;height:100%}.loading-7>div[data-v-bb5e2767]{width:50%;height:50%;margin:auto;position:absolute;inset:0}.loading-7>div[data-v-bb5e2767]: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-bb5e2767 .5s linear infinite}.loading-7>div[data-v-bb5e2767]:after{content:"";width:100%;height:100%;animation:animate-bb5e2767 .5s linear infinite;position:absolute;inset:0;border-radius:3px;background-color:var(--loading-7-bg-color)}@keyframes animate-bb5e2767{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-bb5e2767{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}
184
+ `]],["__scopeId","data-v-bb5e2767"]]),h_={class:"loading-8"},p_={viewBox:"25 25 50 50"},m_=q({__name:"Loading8.ce",props:{color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("div",h_,[(L(),V("svg",p_,[E("circle",{cx:"50",cy:"50",r:"20",style:M(["stroke: "+t.color])},null,4)]))]))}}),Od=it(m_,[["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}}
185
+ `]],["__scopeId","data-v-51a259a7"]]),g_={class:"loading-9"},y_=q({__name:"Loading9.ce",props:{color:{default:vt.colorPrimary}},setup(o){const e={borderTopColor:o.color};return(s,r)=>(L(),V("div",g_,[E("div",{style:e})]))}}),v_=it(y_,[["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)}}
186
+ `]],["__scopeId","data-v-ee782ac8"]]),b_={class:"loading-10"},__={viewBox:"0 0 50 50"},x_=q({__name:"Loading10.ce",props:{color:{default:vt.colorPrimary}},setup(o){const t=o;return(e,s)=>(L(),V("div",b_,[(L(),V("svg",__,[s[0]||(s[0]=E("circle",{class:"ring",cx:"25",cy:"25",r:"20",style:M(["stroke: rgba(0,0,0,0.1)"])},null,-1)),E("circle",{class:"ball",cx:"25",cy:"5",r:"3.5",style:M(["fill: "+t.color])},null,4)]))]))}}),w_=it(x_,[["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)}}
187
+ `]],["__scopeId","data-v-984ad184"]]),k_={class:"loading-11",ref:"loading11"},C_={class:"container container-1"},T_={class:"container container-2"},S_={class:"container container-3"},E_=q({__name:"Loading11.ce",props:{color:{default:vt.colorPrimary},width:{default:"0.8em"}},setup(o){const t=o;return(e,s)=>(L(),V("div",k_,[E("div",{class:"loading-11-inner",style:M({width:t.width,height:t.width})},[E("div",C_,[E("div",{class:"dot dot-1",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:M({backgroundColor:t.color})},null,4)]),E("div",T_,[E("div",{class:"dot dot-1",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:M({backgroundColor:t.color})},null,4)]),E("div",S_,[E("div",{class:"dot dot-1",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-2",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-3",style:M({backgroundColor:t.color})},null,4),E("div",{class:"dot dot-4",style:M({backgroundColor:t.color})},null,4)])],4)],512))}}),Rd=it(E_,[["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)}}
188
+ `]],["__scopeId","data-v-7fb118c9"]]),P_={class:"face front"},O_={class:"face back"},R_=it(q({customOptions:{},inheritAttrs:!0,__name:"CardFlip.ce",props:{type:{default:""},dur:{default:500},perspective:{default:"600px"}},emits:["click"],setup(o,{expose:t,emit:e}){const s=o,r=e,n=R(!1),a=()=>{n.value=!n.value,r("click",n.value)};return t({}),(i,l)=>(L(),V("div",{class:"card-flip-scene",style:M({perspective:s.perspective})},[E("div",{class:ee(["card",[s.type,{flip:n.value}]]),style:M({transition:`transform ${s.dur}ms`}),onClick:a},[E("div",P_,[kt(i.$slots,"front",{},()=>[l[0]||(l[0]=jt("front"))],!0)]),E("div",O_,[kt(i.$slots,"back",{},()=>[l[1]||(l[1]=jt("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)}
189
+ `]],["__scopeId","data-v-1ee90a6e"]]),I_=q({customOptions:{BooleanBox:Js},__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,s=t,r=R([]),n=(l,c)=>{l&&(r.value[c]=l)};let a=R(e.initIndex);const i=(l,c)=>{a.value!==l?(r.value[a.value].toggleValue(),c&&(a.value=l,s("change",e.options[a.value]))):c||r.value[a.value].setValue(!0)};return(l,c)=>(L(!0),V(Vt,null,_e(l.options,(u,f)=>(L(),V("div",{class:"radio-group",key:f,style:M(["margin-left:"+(f>0?e.itemPadding:0)])},[ct(Js,{ref_for:!0,ref:d=>n(d,f),selected:Ct(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))}}),h3="",Id=it(I_,[["__scopeId","data-v-308d559c"]]),F_=q({customOptions:{BooleanBox:Js},__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,s=t;let r=Qt(e.initIndexs??[]);const n=(a,i)=>{const l=r.findIndex(u=>u===a);let c=!1;l>=0&&!i?(r.splice(l,1),c=!0):l<0&&i&&(r.push(a),c=!0),c&&s("change",r.map(u=>e.options[u]))};return(a,i)=>(L(!0),V(Vt,null,_e(a.options,(l,c)=>(L(),V("div",{class:"checkbox-group",key:c,style:M(["margin-left:"+(c>0?e.itemPadding:0)])},[ct(Js,{selected:Ct(r).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=>n(c,u)},null,8,["selected","disabled","isRounded","label","labelPadding","colorBackground","colorForeground","colorDisabled","colorChangeMode","boxWidth","fontSize","onChange"])],4))),128))}}),p3="",al=it(F_,[["__scopeId","data-v-4c28fda3"]]),Fd=it(q({customOptions:{RadioGroup:Id,CheckboxGroup:al,InputRange:xo},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 s=o,r=R(Math.floor(s.width/2)),n=`
191
190
  :root {
192
191
  --spin-cube-z: -${r.value}px;
193
192
  }
194
193
  :host {
195
194
  --spin-cube-z: -${r.value}px;
196
195
  }
197
- `,a=I();St(a,()=>{a.value&&ko(n,a.value)});const i=I(o.perspective+"px"),l=m=>{i.value=m==2e3?"none":m+"px"},c=I("50%"),u=m=>{c.value=m+"%"},h=I("50%"),f=m=>{h.value=m+"%"},p=`translateZ(-${r.value}px)`,d=I(p),b=m=>{switch(m){case"front":d.value=p+" rotateY(0deg)";break;case"right":d.value=p+" rotateY(-90deg)";break;case"back":d.value=p+" rotateY(-180deg)";break;case"left":d.value=p+" rotateY(90deg)";break;case"top":d.value=p+" rotateX(-90deg)";break;case"bottom":d.value=p+" rotateX(90deg)";break;default:d.value=p;break}},_=I(!1),v=m=>{m.length?_.value=!0:_.value=!1},w=I("visible"),g=m=>{m.length?w.value="visible":w.value="hidden"};return t({}),(m,k)=>(L(),Y("div",{ref_key:"container",ref:a},[E("div",{class:"cube-scene",style:A({width:`${o.width}px`,height:`${o.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${h.value}`})},[E("div",{class:te(["cube",{spinning:_.value}]),style:A({transformStyle:"preserve-3d",transform:d.value,transition:`transform ${o.dur}ms`})},[E("div",{class:"face front",style:A({transform:`rotateY(0deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[kt(m.$slots,"front",{},()=>[jt("front")],!0)],4),E("div",{class:"face back",style:A({transform:`rotateY(180deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[kt(m.$slots,"back",{},()=>[jt("back")],!0)],4),E("div",{class:"face right",style:A({transform:`rotateY(90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[kt(m.$slots,"right",{},()=>[jt("right")],!0)],4),E("div",{class:"face left",style:A({transform:`rotateY(-90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[kt(m.$slots,"left",{},()=>[jt("left")],!0)],4),E("div",{class:"face top",style:A({transform:`rotateX(90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[kt(m.$slots,"top",{},()=>[jt("top")],!0)],4),E("div",{class:"face bottom",style:A({transform:`rotateX(-90deg) translateZ(${r.value}px)`,backfaceVisibility:w.value})},[kt(m.$slots,"bottom",{},()=>[jt("bottom")],!0)],4)],6)],4),E("div",null,[lt(vd,{options:["front","right","back","left","top","bottom"],onChange:b})]),E("div",null,[lt(ol,{options:["Backface visible"],onChange:g})]),E("div",null,[lt(ol,{options:["spin cube"],onChange:v})]),E("div",null,[jt(" perspective: "),lt(ms,{min:1,max:2e3,defaultValue:o.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),E("div",null,[jt(" perspective-origin x: "),lt(ms,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),E("div",null,[jt(" perspective-origin y: "),lt(ms,{min:0,max:100,defaultValue:50,unit:"%",onChange:f})])],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)}}
198
- `]],["__scopeId","data-v-d77b4117"]]),S_=s=>(Ts("data-v-57b7fa75"),s=s(),Ss(),s),E_={class:"ring-indicator"},P_={class:"ring-text"},O_=S_(()=>E("span",null,"%",-1)),_d=it(Q({customOptions:{Canvas:Ye},inheritAttrs:!0,__name:"RingIndicator.ce",props:{percent:{default:0},lineWidth:{default:12},bgColor:{default:"#B3C6E7"},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"}},setup(s,{expose:t}){const e=s;let o=I(0);const r=Sg(()=>{const c=ne(Math.floor(e.percent),0,100);return o.value<c?o.value=Math.min(o.value+1,c):o.value>c&&(o.value=Math.max(o.value-1,c)),xe(o.value/100,2)},20),n=I(0),a=I(0),i=(c,u)=>{n.value=c,a.value=u},l=I();return St(l,()=>{l.value&&l.value.getCanvas().then(c=>{const u=new _h({width:n.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});ae(()=>(c.ctx.clearRect(),u.setPercent(r()),c.draw(u),!0))})}),t({}),(c,u)=>(L(),Y("div",E_,[lt(Ye,{ref_key:"canvasRef",ref:l,onResize:i},null,512),E("div",P_,[E("span",null,yt(Et(o)),1),O_])]))}}),[["styles",[`.ring-indicator[data-v-57b7fa75]{position:relative;width:100%;height:100%}.ring-text[data-v-57b7fa75]{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-57b7fa75]:nth-child(1){font-size:64px}.ring-text>span[data-v-57b7fa75]:nth-child(2){font-size:20px}
199
- `]],["__scopeId","data-v-57b7fa75"]]),xd=s=>(Ts("data-v-8b4a3cb1"),s=s(),Ss(),s),I_=[xd(()=>E("div",{class:"left"},null,-1)),xd(()=>E("div",{class:"right"},null,-1))],R_={key:0},F_={key:1},gs=10,Ns=4,wd=it(Q({customOptions:{Container:xt},inheritAttrs:!0,__name:"RingText.ce",props:{text:{default:""},secondText:{default:""},startColor:{default:"#5A82F0"},endColor:{default:"#66B3FF"},dur:{default:2e3}},setup(s,{expose:t}){const e=s,o=I(0),r=(n,a)=>{o.value=Math.floor(Math.min(n,a))};return t({}),(n,a)=>(L(),Mt(xt,{onResize:r,type:"full"},{default:bt(()=>[E("div",{class:"ring",style:A({width:o.value+"px",height:o.value+"px",padding:gs+"px",background:`linear-gradient(180deg, ${e.startColor} 0%, ${e.endColor} 100%)`})},[E("div",{class:"ring-rotate",style:A({animation:`rotate-reverse ${e.dur}ms infinite linear`,mask:`radial-gradient(transparent ${o.value/2-gs-Ns}px, #000 ${o.value/2-gs-Ns}px)`})},I_,4),E("div",{class:"ring-content",style:A({top:gs+Ns+"px",left:gs+Ns+"px",width:o.value-(gs+Ns)*2+"px",height:o.value-(gs+Ns)*2+"px"})},[e.text?(L(),Y("div",R_,yt(e.text),1)):Ot("",!0),e.secondText?(L(),Y("div",F_,yt(e.secondText),1)):Ot("",!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}}
196
+ `,a=R();St(a,()=>{a.value&&zs(n,a.value)});const i=R(s.perspective+"px"),l=m=>{i.value=m==2e3?"none":m+"px"},c=R("50%"),u=m=>{c.value=m+"%"},f=R("50%"),d=m=>{f.value=m+"%"},p=`translateZ(-${r.value}px)`,h=R(p),w=m=>{switch(m){case"front":h.value=p+" rotateY(0deg)";break;case"right":h.value=p+" rotateY(-90deg)";break;case"back":h.value=p+" rotateY(-180deg)";break;case"left":h.value=p+" rotateY(90deg)";break;case"top":h.value=p+" rotateX(-90deg)";break;case"bottom":h.value=p+" rotateX(90deg)";break;default:h.value=p;break}},_=R(!1),x=m=>{m.length?_.value=!0:_.value=!1},v=R("visible"),g=m=>{m.length?v.value="visible":v.value="hidden"};return t({}),(m,b)=>(L(),V("div",{ref_key:"container",ref:a},[E("div",{class:"cube-scene",style:M({width:`${s.width}px`,height:`${s.height}px`,perspective:`${i.value}`,perspectiveOrigin:`${c.value} ${f.value}`})},[E("div",{class:ee(["cube",{spinning:_.value}]),style:M({transformStyle:"preserve-3d",transform:h.value,transition:`transform ${s.dur}ms`})},[E("div",{class:"face front",style:M({transform:`rotateY(0deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[kt(m.$slots,"front",{},()=>[b[0]||(b[0]=jt("front"))],!0)],4),E("div",{class:"face back",style:M({transform:`rotateY(180deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[kt(m.$slots,"back",{},()=>[b[1]||(b[1]=jt("back"))],!0)],4),E("div",{class:"face right",style:M({transform:`rotateY(90deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[kt(m.$slots,"right",{},()=>[b[2]||(b[2]=jt("right"))],!0)],4),E("div",{class:"face left",style:M({transform:`rotateY(-90deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[kt(m.$slots,"left",{},()=>[b[3]||(b[3]=jt("left"))],!0)],4),E("div",{class:"face top",style:M({transform:`rotateX(90deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[kt(m.$slots,"top",{},()=>[b[4]||(b[4]=jt("top"))],!0)],4),E("div",{class:"face bottom",style:M({transform:`rotateX(-90deg) translateZ(${r.value}px)`,backfaceVisibility:v.value})},[kt(m.$slots,"bottom",{},()=>[b[5]||(b[5]=jt("bottom"))],!0)],4)],6)],4),E("div",null,[ct(Id,{options:["front","right","back","left","top","bottom"],onChange:w})]),E("div",null,[ct(al,{options:["Backface visible"],onChange:g})]),E("div",null,[ct(al,{options:["spin cube"],onChange:x})]),E("div",null,[b[6]||(b[6]=jt(" perspective: ")),ct(xo,{min:1,max:2e3,defaultValue:s.perspective,unit:"px",onChange:l},null,8,["defaultValue"])]),E("div",null,[b[7]||(b[7]=jt(" perspective-origin x: ")),ct(xo,{min:0,max:100,defaultValue:50,unit:"%",onChange:u})]),E("div",null,[b[8]||(b[8]=jt(" perspective-origin y: ")),ct(xo,{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)}}
197
+ `]],["__scopeId","data-v-d77b4117"]]),D_={class:"ring-indicator"},$_={class:"ring-text"},Dd=it(q({customOptions:{Canvas:Ue},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 s=R(0);const r=jg(()=>{const c=ie(Math.floor(e.percent),0,100);return s.value<c?s.value=Math.min(s.value+1,c):s.value>c&&(s.value=Math.max(s.value-1,c)),Ce(s.value/100,2)},20),n=R(0),a=R(0),i=(c,u)=>{n.value=c,a.value=u},l=R();return St(l,()=>{l.value&&l.value.getCanvas().then(c=>{const u=new Df({width:n.value,height:a.value,startDegree:0,endDegree:180,extendDegree:15,lineWidth:e.lineWidth,bgColor:e.bgColor,startColor:e.startColor,endColor:e.endColor});le(()=>(c.ctx.clearRect(),u.setPercent(r()),c.draw(u),!0))})}),t({}),(c,u)=>(L(),V("div",D_,[ct(Ue,{ref_key:"canvasRef",ref:l,onResize:i},null,512),E("div",$_,[E("span",null,yt(Ct(s)),1),u[0]||(u[0]=E("span",null,"%",-1))])]))}}),[["styles",[`.ring-indicator[data-v-57b7fa75]{position:relative;width:100%;height:100%}.ring-text[data-v-57b7fa75]{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-57b7fa75]:nth-child(1){font-size:64px}.ring-text>span[data-v-57b7fa75]:nth-child(2){font-size:20px}
198
+ `]],["__scopeId","data-v-57b7fa75"]]),L_={key:0},N_={key:1},wo=10,Yo=4,$d=it(q({customOptions:{Container:wt},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,s=R(0),r=(n,a)=>{s.value=Math.floor(Math.min(n,a))};return t({}),(n,a)=>(L(),Nt(wt,{onResize:r,type:"full"},{default:bt(()=>[E("div",{class:"ring",style:M({width:s.value+"px",height:s.value+"px",padding:wo+"px",background:`linear-gradient(180deg, ${e.startColor} 0%, ${e.endColor} 100%)`})},[E("div",{class:"ring-rotate",style:M({animation:`rotate-reverse ${e.dur}ms infinite linear`,mask:`radial-gradient(transparent ${s.value/2-wo-Yo}px, #000 ${s.value/2-wo-Yo}px)`})},a[0]||(a[0]=[E("div",{class:"left"},null,-1),E("div",{class:"right"},null,-1)]),4),E("div",{class:"ring-content",style:M({top:wo+Yo+"px",left:wo+Yo+"px",width:s.value-(wo+Yo)*2+"px",height:s.value-(wo+Yo)*2+"px"})},[e.text?(L(),V("div",L_,yt(e.text),1)):Rt("",!0),e.secondText?(L(),V("div",N_,yt(e.secondText),1)):Rt("",!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}}
200
199
  `,`.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))}
201
- `]],["__scopeId","data-v-8b4a3cb1"]]),kd=it(Q({customOptions:{Container:xt},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(s,{expose:t}){const e=s,o=I(),r=I(40),n=I(20),a=I(20),i=(v,w)=>{r.value=Math.floor(v/(6+1)),n.value=Math.floor(w),a.value=Math.max(12,n.value)},l=()=>{e.initStart&&b(e.startTime)};let c;const u=()=>{c?.()},h=Zt([0,0,0,0,0,0]),f=Zt([0,0,0,0,0,0]),p=[0,0,0,0,0,0];let d=0;const b=v=>{v&&(Km(Qm(v),p),p.forEach((w,g)=>{h[g]=w,f[g]=w})),u(),d=0,_(pe(),0,!1),c=Tg((w,g,m)=>{_(w,g,m)},1e3)},_=(v,w,g)=>{if(g)d=w;else{if(d>0){p.forEach((k,C)=>{h[C]=k,f[C]=k});const m=d+1;e.creaseType=="increase"?(Ha(h,m),Ha(f,m+1)):(Wa(h,m),Wa(f,m+1)),d=0}else e.creaseType=="increase"?Ha(f,1):Wa(f,1);xi(()=>{f.forEach((m,k)=>{h[k]=m})},e.dur)}};return t({start:b,pause:u}),(v,w)=>(L(),Mt(xt,{ref_key:"containerRef",ref:o,type:"full",overflow:"visible","style-sheets":{"--yz-clock-flipper-bg-color":e.bgColor,"--yz-clock-flipper-text-color":e.textColor,"--yz-clock-flipper-border-radius":e.borderRadius+"px","--yz-clock-flipper-gap":e.gap+"px","--yz-clock-flipper-gap-double":e.gap*2+"px","--yz-clock-flipper-gap-four":e.gap*4+"px","--yz-clock-flipper-animation-duration":e.dur+"ms","--yz-clock-flipper-perspective":e.perspective+"px"},onResize:i,onReady:l},{default:bt(()=>[E("div",{class:"clock-flipper",style:A({fontSize:a.value+"px",lineHeight:n.value+"px"})},[(L(!0),Y(Xt,null,ye(h,(g,m)=>(L(),Y(Xt,{key:m},[E("div",{class:te(["flip",[e.flipDirection,f[m]!=g?"go":""]]),style:A({width:r.value+"px"})},[E("div",{class:te(["front digital",[`flipper_${m}`,`number_${g}`]])},null,2),E("div",{class:te(["back digital",[`number_${f[m]}`]])},null,2)],6),m==1||m==3?(L(),Y("div",{key:0,class:"gap",style:A({fontSize:Math.floor(a.value*.6)+"px",lineHeight:0})}," : ",4)):Ot("",!0)],64))),128))],4)]),_:1},8,["style-sheets"]))}}),[["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)}}
200
+ `]],["__scopeId","data-v-8b4a3cb1"]]),Ld=it(q({customOptions:{Container:wt},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,s=R(),r=R(40),n=R(20),a=R(20),i=(x,v)=>{r.value=Math.floor(x/(6+1)),n.value=Math.floor(v),a.value=Math.max(12,n.value)},l=()=>{e.initStart&&w(e.startTime)};let c;const u=()=>{c?.()},f=Qt([0,0,0,0,0,0]),d=Qt([0,0,0,0,0,0]),p=[0,0,0,0,0,0];let h=0;const w=x=>{x&&(b0(v0(x),p),p.forEach((v,g)=>{f[g]=v,d[g]=v})),u(),h=0,_(he(),0,!1),c=Ug((v,g,m)=>{_(v,g,m)},1e3)},_=(x,v,g)=>{if(g)h=v;else{if(h>0){p.forEach((b,C)=>{f[C]=b,d[C]=b});const m=h+1;e.creaseType=="increase"?(Ka(f,m),Ka(d,m+1)):(Ja(f,m),Ja(d,m+1)),h=0}else e.creaseType=="increase"?Ka(d,1):Ja(d,1);Ei(()=>{d.forEach((m,b)=>{f[b]=m})},e.dur)}};return t({start:w,pause:u}),(x,v)=>(L(),Nt(wt,{ref_key:"containerRef",ref:s,type:"full",overflow:"visible","style-sheets":{"--yz-clock-flipper-bg-color":e.bgColor,"--yz-clock-flipper-text-color":e.textColor,"--yz-clock-flipper-border-radius":e.borderRadius+"px","--yz-clock-flipper-gap":e.gap+"px","--yz-clock-flipper-gap-double":e.gap*2+"px","--yz-clock-flipper-gap-four":e.gap*4+"px","--yz-clock-flipper-animation-duration":e.dur+"ms","--yz-clock-flipper-perspective":e.perspective+"px"},onResize:i,onReady:l},{default:bt(()=>[E("div",{class:"clock-flipper",style:M({fontSize:a.value+"px",lineHeight:n.value+"px"})},[(L(!0),V(Vt,null,_e(f,(g,m)=>(L(),V(Vt,{key:m},[E("div",{class:ee(["flip",[e.flipDirection,d[m]!=g?"go":""]]),style:M({width:r.value+"px"})},[E("div",{class:ee(["front digital",[`flipper_${m}`,`number_${g}`]])},null,2),E("div",{class:ee(["back digital",[`number_${d[m]}`]])},null,2)],6),m==1||m==3?(L(),V("div",{key:0,class:"gap",style:M({fontSize:Math.floor(a.value*.6)+"px",lineHeight:0})}," : ",4)):Rt("",!0)],64))),128))],4)]),_:1},8,["style-sheets"]))}}),[["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)}}
202
201
  `,`.clock-flipper[data-v-0a7bd62f]{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-0a7bd62f]{position:relative;height:100%;box-sizing:border-box;color:var(--yz-clock-flipper-text-color)}.flip+.flip[data-v-0a7bd62f]{margin-left:var(--yz-clock-flipper-gap-double)}.flip.down .front[data-v-0a7bd62f]:after,.flip.down .back[data-v-0a7bd62f]:before{z-index:1}.flip.down .front[data-v-0a7bd62f]:before{z-index:3}.flip.down .back[data-v-0a7bd62f]:after{z-index:2;transform-origin:50% 0%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(180deg)}.flip.down.go .front[data-v-0a7bd62f]: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-0a7bd62f]:after{animation:backFlipDown var(--yz-clock-flipper-animation-duration) ease-in-out both}.flip.up .front[data-v-0a7bd62f]:before,.flip.up .back[data-v-0a7bd62f]:after{z-index:1}.flip.up .front[data-v-0a7bd62f]:after{z-index:3}.flip.up .back[data-v-0a7bd62f]:before{z-index:2;transform-origin:50% 100%;transform:perspective(var(--yz-clock-flipper-perspective)) rotateX(-180deg)}.flip.up.go .front[data-v-0a7bd62f]: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-0a7bd62f]:before{animation:backFlipUp var(--yz-clock-flipper-animation-duration) ease-in-out both}.gap[data-v-0a7bd62f]{margin:0 var(--yz-clock-flipper-gap-four);color:var(--yz-clock-flipper-bg-color)}.digital[data-v-0a7bd62f]:before,.digital[data-v-0a7bd62f]: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-0a7bd62f]: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-0a7bd62f]: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-0a7bd62f]:before,.digital.number_0[data-v-0a7bd62f]:after{content:"0"}.digital.number_1[data-v-0a7bd62f]:before,.digital.number_1[data-v-0a7bd62f]:after{content:"1"}.digital.number_2[data-v-0a7bd62f]:before,.digital.number_2[data-v-0a7bd62f]:after{content:"2"}.digital.number_3[data-v-0a7bd62f]:before,.digital.number_3[data-v-0a7bd62f]:after{content:"3"}.digital.number_4[data-v-0a7bd62f]:before,.digital.number_4[data-v-0a7bd62f]:after{content:"4"}.digital.number_5[data-v-0a7bd62f]:before,.digital.number_5[data-v-0a7bd62f]:after{content:"5"}.digital.number_6[data-v-0a7bd62f]:before,.digital.number_6[data-v-0a7bd62f]:after{content:"6"}.digital.number_7[data-v-0a7bd62f]:before,.digital.number_7[data-v-0a7bd62f]:after{content:"7"}.digital.number_8[data-v-0a7bd62f]:before,.digital.number_8[data-v-0a7bd62f]:after{content:"8"}.digital.number_9[data-v-0a7bd62f]:before,.digital.number_9[data-v-0a7bd62f]:after{content:"9"}
203
- `]],["__scopeId","data-v-0a7bd62f"]]),Cd=Q({customOptions:{Container:xt},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(s,{expose:t}){const e=s;return t({}),(o,r)=>(L(),Mt(xt,null,{default:bt(()=>[E("div",{style:A({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},yt(e.text),5)]),_:1}))}}),$_={class:"slide"},Td=it(Q({customOptions:{Container:xt},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(s,{expose:t}){const e=s,o=Zt({}),r=()=>{switch(e.direction){case"left":o.transformOrigin="center left",o.transform="scaleX(0)";break;case"right":o.transformOrigin="center right",o.transform="scaleX(0)";break;case"down":o.transformOrigin="center bottom",o.transform="scaleY(0)";break;case"up":o.transformOrigin="center top",o.transform="scaleY(0)";break}},n=()=>{switch(e.direction){case"left":o.transformOrigin="center right",o.transform="scaleX(1)";break;case"right":o.transformOrigin="center left",o.transform="scaleX(1)";break;case"down":o.transformOrigin="center top",o.transform="scaleY(1)";break;case"up":o.transformOrigin="center bottom",o.transform="scaleY(1)";break}};return t({}),(a,i)=>(L(),Mt(xt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n,style:{overflow:"hidden"}},{default:bt(()=>[E("div",{class:"slide-before",style:A({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...o})},null,4),E("div",$_,[kt(a.$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}
204
- `]],["__scopeId","data-v-370e136b"]]),D_={class:"slide-corner"},Sd=it(Q({customOptions:{Container:xt},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(s,{expose:t}){const e=s,o=Zt({});let r=1,n=r*2;const a=(c,u)=>{r=Math.ceil(Math.max(c,u)/Math.min(c,u)),n=r*2,o.width=o.height=Math.ceil(Math.min(c,u))+"px"},i=()=>{switch(e.direction){case"fromBottomLeft":o.top="100%",o.right="100%",o.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":o.top="100%",o.left="100%",o.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":o.bottom="100%",o.right="100%",o.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":o.bottom="100%",o.left="100%",o.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":o.top="50%",o.left="50%",o.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},l=()=>{switch(e.direction){case"fromBottomLeft":o.top="100%",o.right="100%",o.transform=`translate(50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromBottomRight":o.top="100%",o.left="100%",o.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopLeft":o.bottom="100%",o.right="100%",o.transform=`translate(50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopRight":o.bottom="100%",o.left="100%",o.transform=`translate(-50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromCenter":o.top="50%",o.left="50%",o.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break}};return t({}),(c,u)=>(L(),Mt(xt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onResize:a,style:{overflow:"hidden"}},{default:bt(()=>[E("div",{class:"slide-corner-before",style:A({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Et(r)}ms ease-in-out`,transformOrigin:"center",...o})},null,4),E("div",D_,[kt(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}
205
- `]],["__scopeId","data-v-6065adbb"]]),L_={class:"line-single"},Ed=it(Q({customOptions:{Container:xt},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(s,{expose:t}){const e=s;let o=1;const r=(l,c)=>{o=Math.ceil(Math.max(l,c)/Math.min(l,c))},n=Zt({});switch(e.location){case"underline":n.bottom="0";break;case"overline":n.top="0";break;case"through":n.top="50%";break}const a=()=>{switch(e.direction){case"right":n.transformOrigin="bottom right",n.transform="scaleX(0)";break;case"left":n.transformOrigin="bottom left",n.transform="scaleX(0)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(0)";break}},i=()=>{switch(e.direction){case"right":n.transformOrigin="bottom left",n.transform="scaleX(1)";break;case"left":n.transformOrigin="bottom right",n.transform="scaleX(1)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(1)";break}};return t({}),(l,c)=>(L(),Mt(xt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:r},{default:bt(()=>[E("div",{class:"line-single-before",style:A({left:0,width:"100%",height:e.lineHeight+"px",backgroundColor:e.color,transition:`transform ${e.timeGap*Et(o)}ms ease-in-out`,...n})},null,4),E("div",L_,[kt(l.$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}
206
- `]],["__scopeId","data-v-f6ff8ebf"]]),M_={class:"line-double"},Pd=it(Q({customOptions:{Container:xt},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(s,{expose:t}){const e=s;let o=1;const r=(u,h)=>{o=Math.ceil(Math.max(u,h)/Math.min(u,h))},n=Zt({}),a=Zt({}),i=Zt({});switch(e.location){case"horizontal":n.width="100%",n.height=e.lineHeight+"px",a.top="0",i.bottom="0";break;case"vertical":n.width=e.lineHeight+"px",n.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",n.transformOrigin="center right",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.transform="scaleY(0)";break}break;case"toStart":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(0)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.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",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",a.transformOrigin="center bottom",i.top="0",i.transformOrigin="center top",n.transform="scaleY(0)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(0)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(1)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.transform="scaleY(1)";break}break;case"toStart":switch(e.location){case"horizontal":a.right="0",i.right="0",n.transformOrigin="center right",n.transform="scaleX(1)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.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",n.transform="scaleX(1)";break;case"vertical":a.top="0",a.transformOrigin="center top",i.bottom="0",i.transformOrigin="center bottom",n.transform="scaleY(1)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(1)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,h)=>(L(),Mt(xt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:l,onEnd:c,onResize:r},{default:bt(()=>[E("div",{class:"line-double-before",style:A({backgroundColor:e.color,transition:`transform ${e.timeGap*Et(o)}ms ease-in-out`,...n,...a})},null,4),E("div",M_,[kt(u.$slots,"default",{},void 0,!0)]),E("div",{class:"line-double-after",style:A({backgroundColor:e.color,transition:`transform ${e.timeGap*Et(o)}ms ease-in-out`,...n,...i})},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}
207
- `]],["__scopeId","data-v-dcf10fee"]]),Od=it(Q({customOptions:{Container:xt},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(s,{expose:t}){const e=s,o=Zt({willChange:"box-shadow, transform"}),r=()=>{switch(o.boxShadow="none",e.direction){case"left":o.transform="translateX(0)";break;case"right":o.transform="translateX(0)";break;case"down":o.transform="translateY(0)";break;case"up":o.transform="translateY(0)";break}},n=()=>{switch(o.boxShadow=e.boxShadow,e.direction){case"left":o.transform=`translateX(-${e.distance}px)`;break;case"right":o.transform=`translateX(${e.distance}px)`;break;case"down":o.transform=`translateY(${e.distance}px)`;break;case"up":o.transform=`translateY(-${e.distance}px)`;break}};return t({}),(a,i)=>(L(),Mt(xt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:bt(()=>[E("div",{class:"float",style:A({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...o})},[kt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-e9e9dadd]{position:relative;z-index:1;cursor:pointer}
208
- `]],["__scopeId","data-v-e9e9dadd"]]),Yn=it(Q({customOptions:{Container:xt},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(s,{expose:t,emit:e}){const o=s,r=e,n=Zt({}),a=Zt({});let i=o.name,l=o.duration,c=o.timingFunction,u=o.delay,h=o.repeat,f=o.direction;function p(){switch(i){case"superRainbow":l=o.duration||15e3;break;case"heartBeat":l=o.duration||1300;break;case"statusProcessing":l=o.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=o.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=o.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=o.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=o.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=o.duration||600;break;default:l=o.duration||500;break}switch(i){case"superRainbow":c=o.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=o.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=o.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=o.timingFunction||"ease-in-out";break;default:c=o.timingFunction||"ease";break}switch(i){default:u=o.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":h=o.repeat||"infinite";break;default:h=o.repeat||1;break}switch(i){case"superRainbow":f=o.direction||"alternate";break;default:f=o.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":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}St(()=>o.name,()=>{i=o.name,p()},{immediate:!0});const d=I(),b=I(),_=z=>{n.perspective=o.perspective,z.on("animationstart",tt=>{r("cssanimationstart",tt.animationName)}),z.on("animationend",tt=>{r("cssanimationend",tt.animationName)})};function v(){b.value.style.animation="none",b.value.offsetHeight,b.value.style.animation=null}const w=()=>{a.animation="none"},g=()=>{v(),a.animation=`${l}ms ${c} ${u}ms ${h} ${f} ${o.fillMode} ${o.playState} ${i}`};return t({trigger:z=>{z&&(i=z,p()),d.value.startEffect(),f="normal",d.value.endEffect()},triggerReverse:z=>{z&&(i=z,p()),d.value.startEffect(),f="reverse",d.value.endEffect()},clear:()=>{a.animation="none"}}),(z,tt)=>(L(),Mt(xt,{class:"css-animation",ref_key:"containerRef",ref:d,type:o.containerType,supportCopyText:o.supportCopyText,effectTriggerTiming:o.effectTriggerTiming,style:A(n),onReady:_,onStart:w,onEnd:g},{default:bt(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:b,style:A({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[kt(z.$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}}
209
- `]]]),A_={class:"circle"},Id=it(Q({customOptions:{Container:xt},inheritAttrs:!0,__name:"Circle.ce",props:{containerType:{default:"shrink"},supportCopyText:{type:Boolean,default:!0},effectTriggerTiming:{default:"mouseMove"},color:{default:"#3cefff"},dur:{default:750}},setup(s,{expose:t}){const e=s,o=I(),r=Zt({transition:`box-shadow ${e.dur}ms`,borderRadius:"100%"}),n=(l,c)=>{r.width=r.height=Math.ceil(Math.max(l,c))+"px",o.value?.repeatEffect?.()},a=()=>{const l=ge(e.color,.2).toString();r.boxShadow=`
202
+ `]],["__scopeId","data-v-0a7bd62f"]]),Nd=q({customOptions:{Container:wt},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({}),(s,r)=>(L(),Nt(wt,null,{default:bt(()=>[E("div",{style:M({backgroundImage:`url(${e.bgImageUrl})`,"background-clip":"text",color:"transparent"})},yt(e.text),5)]),_:1}))}}),M_={class:"slide"},Md=it(q({customOptions:{Container:wt},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,s=Qt({}),r=()=>{switch(e.direction){case"left":s.transformOrigin="center left",s.transform="scaleX(0)";break;case"right":s.transformOrigin="center right",s.transform="scaleX(0)";break;case"down":s.transformOrigin="center bottom",s.transform="scaleY(0)";break;case"up":s.transformOrigin="center top",s.transform="scaleY(0)";break}},n=()=>{switch(e.direction){case"left":s.transformOrigin="center right",s.transform="scaleX(1)";break;case"right":s.transformOrigin="center left",s.transform="scaleX(1)";break;case"down":s.transformOrigin="center top",s.transform="scaleY(1)";break;case"up":s.transformOrigin="center bottom",s.transform="scaleY(1)";break}};return t({}),(a,i)=>(L(),Nt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n,style:{overflow:"hidden"}},{default:bt(()=>[E("div",{class:"slide-before",style:M({backgroundColor:e.color,transition:`transform ${e.dur}ms ease-in-out`,...s})},null,4),E("div",M_,[kt(a.$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}
203
+ `]],["__scopeId","data-v-370e136b"]]),A_={class:"slide-corner"},Ad=it(q({customOptions:{Container:wt},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,s=Qt({});let r=1,n=r*2;const a=(c,u)=>{r=Math.ceil(Math.max(c,u)/Math.min(c,u)),n=r*2,s.width=s.height=Math.ceil(Math.min(c,u))+"px"},i=()=>{switch(e.direction){case"fromBottomLeft":s.top="100%",s.right="100%",s.transform="translate(50%, -50%) scale3d(0, 0, 0)";break;case"fromBottomRight":s.top="100%",s.left="100%",s.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break;case"fromTopLeft":s.bottom="100%",s.right="100%",s.transform="translate(50%, 50%) scale3d(0, 0, 0)";break;case"fromTopRight":s.bottom="100%",s.left="100%",s.transform="translate(-50%, 50%) scale3d(0, 0, 0)";break;case"fromCenter":s.top="50%",s.left="50%",s.transform="translate(-50%, -50%) scale3d(0, 0, 0)";break}},l=()=>{switch(e.direction){case"fromBottomLeft":s.top="100%",s.right="100%",s.transform=`translate(50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromBottomRight":s.top="100%",s.left="100%",s.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopLeft":s.bottom="100%",s.right="100%",s.transform=`translate(50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromTopRight":s.bottom="100%",s.left="100%",s.transform=`translate(-50%, 50%) scale3d(${n}, ${n}, ${n})`;break;case"fromCenter":s.top="50%",s.left="50%",s.transform=`translate(-50%, -50%) scale3d(${n}, ${n}, ${n})`;break}};return t({}),(c,u)=>(L(),Nt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:i,onEnd:l,onResize:a,style:{overflow:"hidden"}},{default:bt(()=>[E("div",{class:"slide-corner-before",style:M({backgroundColor:e.color,borderRadius:"50%",transition:`transform ${e.timeGap*Ct(r)}ms ease-in-out`,transformOrigin:"center",...s})},null,4),E("div",A_,[kt(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}
204
+ `]],["__scopeId","data-v-6065adbb"]]),z_={class:"line-single"},zd=it(q({customOptions:{Container:wt},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 s=1;const r=(l,c)=>{s=Math.ceil(Math.max(l,c)/Math.min(l,c))},n=Qt({});switch(e.location){case"underline":n.bottom="0";break;case"overline":n.top="0";break;case"through":n.top="50%";break}const a=()=>{switch(e.direction){case"right":n.transformOrigin="bottom right",n.transform="scaleX(0)";break;case"left":n.transformOrigin="bottom left",n.transform="scaleX(0)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(0)";break}},i=()=>{switch(e.direction){case"right":n.transformOrigin="bottom left",n.transform="scaleX(1)";break;case"left":n.transformOrigin="bottom right",n.transform="scaleX(1)";break;case"fromCenter":n.transformOrigin="center",n.transform="scaleX(1)";break}};return t({}),(l,c)=>(L(),Nt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:r},{default:bt(()=>[E("div",{class:"line-single-before",style:M({left:0,width:"100%",height:e.lineHeight+"px",backgroundColor:e.color,transition:`transform ${e.timeGap*Ct(s)}ms ease-in-out`,...n})},null,4),E("div",z_,[kt(l.$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}
205
+ `]],["__scopeId","data-v-f6ff8ebf"]]),V_={class:"line-double"},Vd=it(q({customOptions:{Container:wt},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 s=1;const r=(u,f)=>{s=Math.ceil(Math.max(u,f)/Math.min(u,f))},n=Qt({}),a=Qt({}),i=Qt({});switch(e.location){case"horizontal":n.width="100%",n.height=e.lineHeight+"px",a.top="0",i.bottom="0";break;case"vertical":n.width=e.lineHeight+"px",n.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",n.transformOrigin="center right",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.transform="scaleY(0)";break}break;case"toStart":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(0)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.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",n.transform="scaleX(0)";break;case"vertical":a.bottom="0",a.transformOrigin="center bottom",i.top="0",i.transformOrigin="center top",n.transform="scaleY(0)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(0)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(0)";break}break}},c=()=>{switch(e.direction){case"toEnd":switch(e.location){case"horizontal":a.left="0",i.left="0",n.transformOrigin="center left",n.transform="scaleX(1)";break;case"vertical":a.top="0",i.top="0",n.transformOrigin="center top",n.transform="scaleY(1)";break}break;case"toStart":switch(e.location){case"horizontal":a.right="0",i.right="0",n.transformOrigin="center right",n.transform="scaleX(1)";break;case"vertical":a.bottom="0",i.bottom="0",n.transformOrigin="center bottom",n.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",n.transform="scaleX(1)";break;case"vertical":a.top="0",a.transformOrigin="center top",i.bottom="0",i.transformOrigin="center bottom",n.transform="scaleY(1)";break}break;case"fromCenter":switch(e.location){case"horizontal":a.left="50%",i.left="50%",n.transformOrigin="center",n.transform="translateX(-50%) scaleX(1)";break;case"vertical":a.top="50%",i.top="50%",n.transformOrigin="center",n.transform="translateY(-50%) scaleY(1)";break}break}};return t({}),(u,f)=>(L(),Nt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:l,onEnd:c,onResize:r},{default:bt(()=>[E("div",{class:"line-double-before",style:M({backgroundColor:e.color,transition:`transform ${e.timeGap*Ct(s)}ms ease-in-out`,...n,...a})},null,4),E("div",V_,[kt(u.$slots,"default",{},void 0,!0)]),E("div",{class:"line-double-after",style:M({backgroundColor:e.color,transition:`transform ${e.timeGap*Ct(s)}ms ease-in-out`,...n,...i})},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}
206
+ `]],["__scopeId","data-v-dcf10fee"]]),Bd=it(q({customOptions:{Container:wt},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,s=Qt({willChange:"box-shadow, transform"}),r=()=>{switch(s.boxShadow="none",e.direction){case"left":s.transform="translateX(0)";break;case"right":s.transform="translateX(0)";break;case"down":s.transform="translateY(0)";break;case"up":s.transform="translateY(0)";break}},n=()=>{switch(s.boxShadow=e.boxShadow,e.direction){case"left":s.transform=`translateX(-${e.distance}px)`;break;case"right":s.transform=`translateX(${e.distance}px)`;break;case"down":s.transform=`translateY(${e.distance}px)`;break;case"up":s.transform=`translateY(-${e.distance}px)`;break}};return t({}),(a,i)=>(L(),Nt(wt,{type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:bt(()=>[E("div",{class:"float",style:M({transition:`transform ${e.dur}ms ease-in-out, box-shadow ${e.dur}ms ease-in-out`,...s})},[kt(a.$slots,"default",{},void 0,!0)],4)]),_:3},8,["type","supportCopyText","effectTriggerTiming"]))}}),[["styles",[`.float[data-v-e9e9dadd]{position:relative;z-index:1;cursor:pointer}
207
+ `]],["__scopeId","data-v-e9e9dadd"]]),Hn=it(q({customOptions:{Container:wt},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 s=o,r=e,n=Qt({}),a=Qt({});let i=s.name,l=s.duration,c=s.timingFunction,u=s.delay,f=s.repeat,d=s.direction;function p(){switch(i){case"superRainbow":l=s.duration||15e3;break;case"heartBeat":l=s.duration||1300;break;case"statusProcessing":l=s.duration||1200;break;case"rotateFall":case"rotateSlideOut":case"rotateSlideIn":l=s.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=s.duration||800;break;case"bounceIn":case"bounceOut":case"flipOutX":case"hinge":l=s.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=s.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=s.duration||600;break;default:l=s.duration||500;break}switch(i){case"superRainbow":c=s.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=s.timingFunction||"ease-in";break;case"lightSpeedInLeft":case"lightSpeedInRight":case"flipInLeft":case"flipInRight":case"flipInBottom":case"flipInTop":case"rotateInNewspaper":case"rotateSidesIn":c=s.timingFunction||"ease-out";break;case"pulse":case"headShake":case"heartBeat":case"statusProcessing":c=s.timingFunction||"ease-in-out";break;default:c=s.timingFunction||"ease";break}switch(i){default:u=s.delay||0;break}switch(i){case"superRainbow":case"statusProcessing":f=s.repeat||"infinite";break;default:f=s.repeat||1;break}switch(i){case"superRainbow":d=s.direction||"alternate";break;default:d=s.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":n.overflow="visible";break;default:n.overflow="hidden";break}switch(i){case"flip":case"flipInX":case"flipInY":case"flipOutX":case"flipOutY":a.backfaceVisibility="visible";break;default:delete a.backfaceVisibility;break}}St(()=>s.name,()=>{i=s.name,p()},{immediate:!0});const h=R(),w=R(),_=U=>{n.perspective=s.perspective,U.on("animationstart",K=>{r("cssanimationstart",K.animationName)}),U.on("animationend",K=>{r("cssanimationend",K.animationName)})};function x(){w.value.style.animation="none",w.value.offsetHeight,w.value.style.animation=null}const v=()=>{a.animation="none"},g=()=>{x(),a.animation=`${l}ms ${c} ${u}ms ${f} ${d} ${s.fillMode} ${s.playState} ${i}`};return t({trigger:U=>{U&&(i=U,p()),h.value.startEffect(),d="normal",h.value.endEffect()},triggerReverse:U=>{U&&(i=U,p()),h.value.startEffect(),d="reverse",h.value.endEffect()},clear:()=>{a.animation="none"}}),(U,K)=>(L(),Nt(wt,{class:"css-animation",ref_key:"containerRef",ref:h,type:s.containerType,supportCopyText:s.supportCopyText,effectTriggerTiming:s.effectTriggerTiming,style:M(n),onReady:_,onStart:v,onEnd:g},{default:bt(()=>[E("div",{class:"css-animation-inner",ref_key:"animationRef",ref:w,style:M({position:"relative",display:"block",width:"100%",height:"100%",cursor:"pointer",transformStyle:"preserve-3d",...a})},[kt(U.$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}}
208
+ `]]]),B_={class:"circle"},Yd=it(q({customOptions:{Container:wt},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,s=R(),r=Qt({transition:`box-shadow ${e.dur}ms`,borderRadius:"100%"}),n=(l,c)=>{r.width=r.height=Math.ceil(Math.max(l,c))+"px",s.value?.repeatEffect?.()},a=()=>{const l=me(e.color,.2).toString();r.boxShadow=`
210
209
  inset ${r.width} 0 0 ${l},
211
210
  inset 0 ${r.width} 0 ${l},
212
211
  inset -${r.width} 0 0 ${l},
@@ -216,7 +215,7 @@ Component that was made reactive: `,s)),E(s,t,e,o,r,a,n,!0)}function em(s){retur
216
215
  inset 0 0.5em 0 rgba(252, 150, 0, 0.5),
217
216
  inset -0.5em 0 0 rgba(0, 255, 0, 0.5),
218
217
  inset 0 -0.5em 0 rgba(0, 150, 255, 0.5)
219
- `};return t({}),(l,c)=>(L(),Mt(xt,{ref_key:"containerRef",ref:o,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:n},{default:bt(()=>[E("div",{class:"circle-before",style:A(r)},null,4),E("div",A_,[kt(l.$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}
220
- `]],["__scopeId","data-v-1c3f9baa"]]),Rd=it(Q({customOptions:{Container:xt},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(s,{expose:t}){const e=s,o=I(!0),r=()=>{o.value=!0},n=()=>{o.value=!1};return t({}),(a,i)=>(L(),Mt(xt,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:bt(()=>[o.value?(L(),Y("div",{key:0,class:"text",style:A({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:Et(ge)(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},yt(e.text),5)):Ot("",!0),E("div",{class:"inner",style:A(o.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[kt(a.$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}
221
- `]],["__scopeId","data-v-45681ed0"]]),N_={class:"svg"},z_=[zc('<defs data-v-7ee5c19e><mask id="mask" maskContentUnits="objectBoundingBox" data-v-7ee5c19e><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black" data-v-7ee5c19e></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black" data-v-7ee5c19e></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white" data-v-7ee5c19e></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white" data-v-7ee5c19e></rect></mask></defs>',1)],B_=Q({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(s){return(t,e)=>(L(),Y("svg",N_,z_))}}),qw="",Fd=it(B_,[["__scopeId","data-v-7ee5c19e"]]),$d=Q({customOptions:{Container:xt,SVGMaskNapkin:Fd},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(s,{expose:t}){const e=s,o=I(0),r=I(0),n=(a,i)=>{o.value=a,r.value=i};return t({}),(a,i)=>(L(),Y("div",{style:A({width:`${o.value}px`,height:`${r.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[kt(a.$slots,"mask",{},()=>[lt(Fd)]),lt(xt,{type:"shrink",onResize:n},{default:bt(()=>[kt(a.$slots,"default")]),_:3})],4))}});class Y_ 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 o=t;for(;t.previousElementSibling;)if(o.src===e)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,e=this.video.playState;this.video.load();const o=()=>{this.video.playState=e,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",o)};this.video.addEventListener("loadeddata",o)}}const V_=Y_;function X_(s,t="style.css"){for(let e of s){const o=document.querySelector(e)?.shadowRoot;if(o){const r=document.createElement("link");r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),o.appendChild(r)}}}const sl={},rl={},$t=(s,t,e=!0)=>{const o=s.__name;sl[o]=[];let r=[...s.styles||[]],n=0;for(let a in s.customOptions)sl[o].push(a),`${s.customOptions[a].__scopeId}`,r=[...(sl[a]||[]).reduce((i,l)=>(i.push(...(rl[l]||[]).map(c=>uu(c))),i),[]),...(t[n++]?.styles||[]).map(i=>uu(i)),...r],rl[a]=r;if(e)s.styles=r;else for(let a of s.styles){const i=document.createElement("style");i.innerHTML=a,document.head.insertBefore(i,document.head.childNodes[document.head.childNodes.length-1].nextSibling)}return rl[o]=r,s},G_=()=>{customElements.define("yz-loading-1",pt(Vb)),customElements.define("yz-loading-2",pt(Ub)),customElements.define("yz-loading-3",pt(Hb)),customElements.define("yz-loading-4",pt(qb)),customElements.define("yz-loading-5",pt(Jb)),customElements.define("yz-loading-6",pt(o_)),customElements.define("yz-loading-7",pt(n_)),customElements.define("yz-loading-8",pt(gd)),customElements.define("yz-loading-9",pt(h_)),customElements.define("yz-loading-10",pt(m_)),customElements.define("yz-loading-11",pt(yd));const s=pt(Dh);customElements.define("yz-icon",s),$t(fs,[yd]);const t=pt(fs);customElements.define("yz-button",t);const e=pt($1);customElements.define("yz-layout-mobile",e);const o=pt(D1);customElements.define("yz-layout-center",o),$t(ps,[Mn,ue]);const r=pt(ps);customElements.define("yz-pop",r),$t(An,[Mn,ps,Dh,fs]);const n=pt(An);customElements.define("yz-dialog",n),$t(jh,[Mn,ps,An,gd]);const a=pt(jh);customElements.define("yz-dialog-loading",a),$t(Hh,[Mn,ps,An]);const i=pt(Hh);customElements.define("yz-dialog-toast",i);const l=pt(Iy);customElements.define("yz-select",l),$t(Lh,[Mb]);const c=pt(Lh);customElements.define("yz-select-absolute",c);const u=pt(Ny);customElements.define("yz-switch",u);const h=pt(Bi);customElements.define("yz-boolean-box",h),$t(Yi,[Bi]);const f=pt(Yi);customElements.define("yz-radio-group",f),$t(Vi,[Bi]);const p=pt(Vi);customElements.define("yz-checkbox-group",p),$t(ji,[ps,fs,ue]);const d=pt(ji);customElements.define("yz-popover",d),$t(nd,[ji,ue]);const b=pt(nd);customElements.define("yz-color-picker",b);const _=pt(Zv);customElements.define("yz-resize-observer",_);const v=pt(qv);customElements.define("yz-map-tianditu",v),$t(Ki,[ps,Pb,ue]);const w=pt(Ki);customElements.define("yz-plate-keyboard",w),$t(sd,[Tb,Ki]);const g=pt(sd);customElements.define("yz-plate-mobile",g),$t(Yh,[Fb]);const m=pt(Yh);customElements.define("yz-slide-left-item",m);const k=pt(Bv);customElements.define("yz-plate-display",k);const C=pt(lv);customElements.define("yz-tabs",C);const z=pt(Qv);customElements.define("yz-fps-stats",z),$t(Ji,[fs,xr]);const tt=pt(Ji);customElements.define("yz-ease-graph-display",tt),$t(id,[Ji]);const R=pt(id);customElements.define("yz-ease-group-graph-display",R),$t(tl,[fs,xr]);const D=pt(tl);customElements.define("yz-interpolation-graph-display",D),$t(fd,[tl]);const M=pt(fd);customElements.define("yz-interpolation-group-graph-display",M);const $=pt(Zi);customElements.define("yz-progress-bar",$),$t(Wh,[Zi]);const N=pt(Wh);customElements.define("yz-page-vertical-scroll-progress-bar",N),$t(md,[fs,Xi,ab,xr]);const G=pt(md);customElements.define("yz-svg-and-canvas",G),customElements.define("yz-hand-write-panel",pt(uv)),$t(Vh,[Zi]);const st=pt(Vh);customElements.define("yz-video",st),customElements.define("yz-input",pt(s1)),customElements.define("yz-input-range",pt(Xi)),$t(Nh,[ue]);const K=pt(Nh);customElements.define("yz-input-range-box",K),$t(Ah,[xr]),customElements.define("yz-input-range-canvas",pt(Ah)),$t(zh,[Yn]);const q=pt(zh);customElements.define("yz-status",q),customElements.define("yz-input-file-drop",pt(p1)),customElements.define("yz-accordion",pt(b1)),$t(Gi,[ue]);const nt=pt(Gi);customElements.define("yz-image",nt);const U=pt(ue);customElements.define("yz-container",U),$t(Yn,[ue]);const H=pt(Yn);customElements.define("yz-effect-css-animation",H),$t(Hi,[ue,Yn]);const gt=pt(Hi);customElements.define("yz-page",gt),$t(Wi,[Hi,ue]);const ft=pt(Wi);customElements.define("yz-routes",ft),$t(Gh,[Gi,ue,Wi]);const V=pt(Gh);customElements.define("yz-image-view",V);const P=pt(k_);customElements.define("yz-card-flip",P),$t(bd,[Yi,Vi,Xi]);const Vt=pt(bd);customElements.define("yz-cube",Vt),$t(_d,[xr]);const Nt=pt(_d);customElements.define("yz-chat-ring-indicator",Nt),$t(wd,[ue]);const Ct=pt(wd);customElements.define("yz-chat-ring-text",Ct),$t(kd,[ue]);const Kt=pt(kd);customElements.define("yz-chat-clock-flipper",Kt),$t(Cd,[ue]);const Gt=pt(Cd);customElements.define("yz-effect-text-background-clip",Gt),$t(Td,[ue]);const j=pt(Td);customElements.define("yz-effect-slide",j),$t(Sd,[ue]);const $e=pt(Sd);customElements.define("yz-effect-slide-corner",$e),$t(Ed,[ue]);const Ve=pt(Ed);customElements.define("yz-effect-line-single",Ve),$t(Pd,[ue]);const Ie=pt(Pd);customElements.define("yz-effect-line-double",Ie),$t(Od,[ue]);const S=pt(Od);customElements.define("yz-effect-float",S),$t(Id,[ue]);const F=pt(Id);customElements.define("yz-effect-circle",F),$t(Rd,[ue]);const X=pt(Rd);customElements.define("yz-effect-border-focus-text",X),$t($d,[ue,zb]);const W=pt($d);customElements.define("yz-effect-image-mask",W),customElements.define("yz-responsive-video",V_);const Z=document.getElementById("teleport")||document.documentElement,rt=document.createElement("yz-dialog-toast");rt.id="globalDialogToast",Z?.appendChild(rt);const ct=document.createElement("yz-dialog-loading");ct.id="globalDialogLoading",Z?.appendChild(ct);const J=document.createElement("yz-dialog");J.id="globalDialog",Z?.appendChild(J);const at=document.createElement("yz-plate-keyboard");at.id="globalPlateKeyboard",Z?.appendChild(at)};return he.dialog=_v,he.install=G_,he.linkChildrenComponentsStyles=X_,he.loading=bv,he.mergeChildComponentCSS=$t,he.plateKeyboard=od,he.popAbsolute=ed,he.popAbsoluteSample=Sv,he.popBottom=qh,he.popBottomSample=xv,he.popCenter=td,he.popCenterSample=Tv,he.popLeft=Kh,he.popLeftSample=kv,he.popRight=Jh,he.popRightSample=Cv,he.popTop=Qh,he.popTopSample=wv,he.toast=vv,Object.defineProperty(he,Symbol.toStringTag,{value:"Module"}),he}({});
218
+ `};return t({}),(l,c)=>(L(),Nt(wt,{ref_key:"containerRef",ref:s,type:e.containerType,supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:a,onEnd:i,onResize:n},{default:bt(()=>[E("div",{class:"circle-before",style:M(r)},null,4),E("div",B_,[kt(l.$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}
219
+ `]],["__scopeId","data-v-1c3f9baa"]]),Xd=it(q({customOptions:{Container:wt},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,s=R(!0),r=()=>{s.value=!0},n=()=>{s.value=!1};return t({}),(a,i)=>(L(),Nt(wt,{type:e.containerType,overflow:"visible",supportCopyText:e.supportCopyText,effectTriggerTiming:e.effectTriggerTiming,onStart:r,onEnd:n},{default:bt(()=>[s.value?(L(),V("div",{key:0,class:"text",style:M({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:Ct(me)(a.borderColor).opposite(!0,"#333333","#ffffff").toString()})},yt(e.text),5)):Rt("",!0),E("div",{class:"inner",style:M(s.value?{border:`${a.borderWidth}px solid ${a.borderColor}`,borderRadius:`${a.borderRadius}px`}:{})},[kt(a.$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}
220
+ `]],["__scopeId","data-v-45681ed0"]]),Y_={class:"svg"},X_=q({customOptions:{},inheritAttrs:!0,__name:"SVGMaskNapkin",setup(o){return(t,e)=>(L(),V("svg",Y_,e[0]||(e[0]=[Xc('<defs data-v-7ee5c19e><mask id="mask" maskContentUnits="objectBoundingBox" data-v-7ee5c19e><ellipse cx=".5" cy=".5" rx=".48" ry=".28" fill="black" data-v-7ee5c19e></ellipse><rect x=".2" y="0" width=".6" height="1" rx=".1" ry=".1" fill="black" data-v-7ee5c19e></rect><ellipse cx=".5" cy=".5" rx=".4" ry=".2" fill="white" data-v-7ee5c19e></ellipse><rect x=".3" y=".1" width=".4" height=".8" rx=".1" ry=".1" fill="white" data-v-7ee5c19e></rect></mask></defs>',1)])))}}),B3="",Gd=it(X_,[["__scopeId","data-v-7ee5c19e"]]),Ud=q({customOptions:{Container:wt,SVGMaskNapkin:Gd},inheritAttrs:!0,__name:"ImageMask.ce",props:{maskMode:{default:"alaph"},imageUrl:{default:""}},setup(o,{expose:t}){const e=o,s=R(0),r=R(0),n=(a,i)=>{s.value=a,r.value=i};return t({}),(a,i)=>(L(),V("div",{style:M({width:`${s.value}px`,height:`${r.value}px`,maskImage:e.imageUrl?`url(${e.imageUrl})`:"url(#mask)","mask-mode":e.maskMode})},[kt(a.$slots,"mask",{},()=>[ct(Gd)]),ct(wt,{type:"shrink",onResize:n},{default:bt(()=>[kt(a.$slots,"default")]),_:3})],4))}});class G_ 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 s=t;for(;t.previousElementSibling;)if(s.src===e)return!0;return!1}reloadVideo(){this.reloadQueued=!0;const t=this.video.currentTime,e=this.video.playState;this.video.load();const s=()=>{this.video.playState=e,this.video.currentTime=t.toString(),this.reloadQueued=!1,this.video.removeEventListener("loadeddata",s)};this.video.addEventListener("loadeddata",s)}}const U_=G_;function j_(o,t="style.css"){for(let e of o){const s=document.querySelector(e)?.shadowRoot;if(s){const r=document.createElement("link");r.setAttribute("rel","stylesheet"),r.setAttribute("href",t),s.appendChild(r)}}}const il={},ll={},Dt=(o,t,e=!0)=>{const s=o.__name;il[s]=[];let r=[...o.styles||[]],n=0;for(let a in o.customOptions)il[s].push(a),`${o.customOptions[a].__scopeId}`,r=[...(il[a]||[]).reduce((i,l)=>(i.push(...(ll[l]||[]).map(c=>wu(c))),i),[]),...(t[n++]?.styles||[]).map(i=>wu(i)),...r],ll[a]=r;if(e)o.styles=r;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 ll[s]=r,o},H_=()=>{customElements.define("yz-loading-1",pt(qb)),customElements.define("yz-loading-2",pt(Jb)),customElements.define("yz-loading-3",pt(e_)),customElements.define("yz-loading-4",pt(r_)),customElements.define("yz-loading-5",pt(i_)),customElements.define("yz-loading-6",pt(u_)),customElements.define("yz-loading-7",pt(d_)),customElements.define("yz-loading-8",pt(Od)),customElements.define("yz-loading-9",pt(v_)),customElements.define("yz-loading-10",pt(w_)),customElements.define("yz-loading-11",pt(Rd));const o=pt(Hf);customElements.define("yz-icon",o),Dt(bo,[Rd]);const t=pt(bo);customElements.define("yz-button",t);const e=pt(K1);customElements.define("yz-layout-mobile",e);const s=pt(J1);customElements.define("yz-layout-center",s),Dt(_o,[Xn,ue]);const r=pt(_o);customElements.define("yz-pop",r),Dt(Gn,[Xn,_o,Hf,bo]);const n=pt(Gn);customElements.define("yz-dialog",n),Dt(nd,[Xn,_o,Gn,Od]);const a=pt(nd);customElements.define("yz-dialog-loading",a),Dt(ad,[Xn,_o,Gn]);const i=pt(ad);customElements.define("yz-dialog-toast",i);const l=pt(qy);customElements.define("yz-select",l),Dt(Wf,[Ub]);const c=pt(Wf);customElements.define("yz-select-absolute",c);const u=pt(r1);customElements.define("yz-switch",u);const f=pt(ji);customElements.define("yz-boolean-box",f),Dt(Hi,[ji]);const d=pt(Hi);customElements.define("yz-radio-group",d),Dt(Wi,[ji]);const p=pt(Wi);customElements.define("yz-checkbox-group",p),Dt(Ki,[_o,bo,ue]);const h=pt(Ki);customElements.define("yz-popover",h),Dt(vd,[Ki,ue]);const w=pt(vd);customElements.define("yz-color-picker",w);const _=pt(nb);customElements.define("yz-resize-observer",_);const x=pt(ab);customElements.define("yz-map-tianditu",x),Dt(ol,[_o,Mb,ue]);const v=pt(ol);customElements.define("yz-plate-keyboard",v),Dt(gd,[Lb,ol]);const g=pt(gd);customElements.define("yz-plate-mobile",g),Dt(td,[Bb]);const m=pt(td);customElements.define("yz-slide-left-item",m);const b=pt(Kv);customElements.define("yz-plate-display",b);const C=pt(Tv);customElements.define("yz-tabs",C);const U=pt(ib);customElements.define("yz-fps-stats",U),Dt(rl,[bo,Sr]);const K=pt(rl);customElements.define("yz-ease-graph-display",K),Dt(_d,[rl]);const I=pt(_d);customElements.define("yz-ease-group-graph-display",I),Dt(nl,[bo,Sr]);const $=pt(nl);customElements.define("yz-interpolation-graph-display",$),Dt(Sd,[nl]);const N=pt(Sd);customElements.define("yz-interpolation-group-graph-display",N);const D=pt(el);customElements.define("yz-progress-bar",D),Dt(id,[el]);const A=pt(id);customElements.define("yz-page-vertical-scroll-progress-bar",A),Dt(Pd,[bo,Zi,gb,Sr]);const X=pt(Pd);customElements.define("yz-svg-and-canvas",X),customElements.define("yz-hand-write-panel",pt(Ev)),Dt(ed,[el]);const rt=pt(ed);customElements.define("yz-video",rt),customElements.define("yz-input",pt(k1)),customElements.define("yz-input-range",pt(Zi)),Dt(Qf,[ue]);const Q=pt(Qf);customElements.define("yz-input-range-box",Q),Dt(qf,[Sr]),customElements.define("yz-input-range-canvas",pt(qf)),Dt(Kf,[Hn]);const Z=pt(Kf);customElements.define("yz-status",Z),customElements.define("yz-input-file-drop",pt($1)),customElements.define("yz-accordion",pt(z1)),Dt(qi,[ue]);const at=pt(qi);customElements.define("yz-image",at);const G=pt(ue);customElements.define("yz-container",G),Dt(Hn,[ue]);const H=pt(Hn);customElements.define("yz-effect-css-animation",H),Dt(Ji,[ue,Hn]);const gt=pt(Ji);customElements.define("yz-page",gt),Dt(tl,[Ji,ue]);const ht=pt(tl);customElements.define("yz-routes",ht),Dt(od,[qi,ue,tl]);const B=pt(od);customElements.define("yz-image-view",B);const P=pt(R_);customElements.define("yz-card-flip",P),Dt(Fd,[Hi,Wi,Zi]);const Yt=pt(Fd);customElements.define("yz-cube",Yt),Dt(Dd,[Sr]);const Mt=pt(Dd);customElements.define("yz-chat-ring-indicator",Mt),Dt($d,[ue]);const Et=pt($d);customElements.define("yz-chat-ring-text",Et),Dt(Ld,[ue]);const te=pt(Ld);customElements.define("yz-chat-clock-flipper",te),Dt(Nd,[ue]);const Xt=pt(Nd);customElements.define("yz-effect-text-background-clip",Xt),Dt(Md,[ue]);const j=pt(Md);customElements.define("yz-effect-slide",j),Dt(Ad,[ue]);const Me=pt(Ad);customElements.define("yz-effect-slide-corner",Me),Dt(zd,[ue]);const je=pt(zd);customElements.define("yz-effect-line-single",je),Dt(Vd,[ue]);const Fe=pt(Vd);customElements.define("yz-effect-line-double",Fe),Dt(Bd,[ue]);const S=pt(Bd);customElements.define("yz-effect-float",S),Dt(Yd,[ue]);const F=pt(Yd);customElements.define("yz-effect-circle",F),Dt(Xd,[ue]);const Y=pt(Xd);customElements.define("yz-effect-border-focus-text",Y),Dt(Ud,[ue,Hb]);const J=pt(Ud);customElements.define("yz-effect-image-mask",J),customElements.define("yz-responsive-video",U_);const W=document.getElementById("teleport")||document.documentElement,tt=document.createElement("yz-dialog-toast");tt.id="globalDialogToast",W?.appendChild(tt);const lt=document.createElement("yz-dialog-loading");lt.id="globalDialogLoading",W?.appendChild(lt);const et=document.createElement("yz-dialog");et.id="globalDialog",W?.appendChild(et);const nt=document.createElement("yz-plate-keyboard");nt.id="globalPlateKeyboard",W?.appendChild(nt)};return fe.dialog=Nv,fe.install=H_,fe.linkChildrenComponentsStyles=j_,fe.loading=Lv,fe.mergeChildComponentCSS=Dt,fe.plateKeyboard=md,fe.popAbsolute=pd,fe.popAbsoluteSample=Yv,fe.popBottom=cd,fe.popBottomSample=Mv,fe.popCenter=hd,fe.popCenterSample=Bv,fe.popLeft=fd,fe.popLeftSample=zv,fe.popRight=dd,fe.popRightSample=Vv,fe.popTop=ud,fe.popTopSample=Av,fe.toast=$v,Object.defineProperty(fe,Symbol.toStringTag,{value:"Module"}),fe}({});
222
221
  //# sourceMappingURL=yz_custom_element.iife.js.map