ss-component-new 1.3.338 → 1.3.340

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 (144) hide show
  1. package/dist/{MTLLoader-BPkDlKQY.js → MTLLoader-C-XJYnXR.js} +1 -1
  2. package/dist/{MTLLoader-BSAD_hGU.cjs → MTLLoader-Dx_OCevv.cjs} +1 -1
  3. package/dist/{OrbitControls-DmrQ6Qms.cjs → OrbitControls-B55yzIKX.cjs} +1 -1
  4. package/dist/{OrbitControls-BmF9oSwu.js → OrbitControls-BB87FyuR.js} +1 -1
  5. package/dist/{URDFLoader-yNcNWc8y.js → URDFLoader-DgP2bMhH.js} +2 -2
  6. package/dist/{URDFLoader-BX2xO-G6.cjs → URDFLoader-Uh4bBb-n.cjs} +1 -1
  7. package/dist/{animationData-Fzp5MGPx.cjs → animationData-BfEyrEkb.cjs} +1 -1
  8. package/dist/{animationData-D0Wf5oqE.js → animationData-CF6benhM.js} +3 -3
  9. package/dist/array-Dk18oefG.cjs +1 -0
  10. package/dist/{array-qvvk1rzy.js → array-Dz0LlM28.js} +15 -14
  11. package/dist/clone-BDBSWARv.cjs +1 -0
  12. package/dist/clone-BqeCvECh.js +8 -0
  13. package/dist/{dayjs.min-BuNwfEqV.cjs → dayjs.min-CSW85jLQ.cjs} +1 -1
  14. package/dist/{dayjs.min-k4eV5VaF.js → dayjs.min-bC5IyY3C.js} +15 -15
  15. package/dist/{iconfont-DoIvvZJ4.js → iconfont-DV-mBuRs.js} +2 -2
  16. package/dist/{iconfont-RzjRJt3k.cjs → iconfont-rvMUQHIL.cjs} +1 -1
  17. package/dist/index--E8u7lHy.cjs +12 -0
  18. package/dist/{index-3SrvYl-e.js → index-0VkKesv_.js} +16 -15
  19. package/dist/{index-yzO3VRjc.js → index-9nQLsFiY.js} +2 -2
  20. package/dist/index-B38fQMRk.cjs +1 -0
  21. package/dist/index-BIg-Nt0x.cjs +25 -0
  22. package/dist/{index-CLWqjd6p.cjs → index-BPpYDffY.cjs} +1 -1
  23. package/dist/index-BQO25T-T.cjs +1 -0
  24. package/dist/{index-CFeJYmGf.js → index-BSCoLGXF.js} +123 -122
  25. package/dist/{index-DNAGMKpI.cjs → index-BTgJ9oD-.cjs} +1 -1
  26. package/dist/{index-DslJemMC.cjs → index-BWpqDCVF.cjs} +1 -1
  27. package/dist/index-BchGbZ1v.cjs +15 -0
  28. package/dist/{index-DlViTF82.js → index-Bdh2uHRO.js} +45 -44
  29. package/dist/index-Bio1_C_H.cjs +1 -0
  30. package/dist/index-BmJV5eVh.js +4669 -0
  31. package/dist/index-BtyugMgY.cjs +1 -0
  32. package/dist/index-BzeH13wt.cjs +1 -0
  33. package/dist/{index-CdrI3q21.js → index-C3-1AlM-.js} +11 -10
  34. package/dist/{index-DcFINcWZ.cjs → index-C3lScvOV.cjs} +1 -1
  35. package/dist/{index--rPeSICn.js → index-C4NN-IA4.js} +17 -16
  36. package/dist/{index-Le8Yusb8.js → index-C6gCT4vd.js} +71 -70
  37. package/dist/{index--edHnTba.js → index-C9baGOvW.js} +171 -170
  38. package/dist/{index-CQivR-lI.js → index-CHAqLCtD.js} +8 -7
  39. package/dist/{index-v-ovngKr.js → index-CHIMUYG3.js} +11 -10
  40. package/dist/{index-CTcYkvWl.js → index-CHnN0kSC.js} +17 -16
  41. package/dist/index-CMsGT7Tl.cjs +1 -0
  42. package/dist/index-COTur3RT.cjs +1 -0
  43. package/dist/index-COowXWF7.cjs +1 -0
  44. package/dist/index-CUp0Z80f.cjs +2 -0
  45. package/dist/{index-CKRf8Ami.js → index-CYgpY06q.js} +1 -1
  46. package/dist/{index-Cw_Pv2mr.cjs → index-Ca3THBbJ.cjs} +1 -1
  47. package/dist/{index-KjGumfMh.js → index-CbBP02RV.js} +2 -2
  48. package/dist/{index-hc0ka42R.js → index-CgjHHxqY.js} +7 -6
  49. package/dist/index-CoX9mofW.cjs +1 -0
  50. package/dist/index-CyQV3nI9.cjs +1 -0
  51. package/dist/{index-CzLk74Qf.js → index-D0gKkud0.js} +13 -12
  52. package/dist/{index-CzSyQ5Dz.js → index-D6Zkrpou.js} +14 -13
  53. package/dist/index-DBhc2SoQ.cjs +1 -0
  54. package/dist/index-DBrXonf1.cjs +1 -0
  55. package/dist/index-DEfKSijb.cjs +7 -0
  56. package/dist/{index-Dhr09zBK.js → index-DGwbEHLN.js} +7 -6
  57. package/dist/{index-cetb2cxj.js → index-DLLST1Nd.js} +11 -10
  58. package/dist/{index-Nlcszcxu.js → index-DMt7y2yA.js} +26 -25
  59. package/dist/{index-DDsxDvtn.js → index-DN4OcDlg.js} +1 -1
  60. package/dist/index-DNyLSjIf.cjs +1 -0
  61. package/dist/index-DOQApax-.cjs +1 -0
  62. package/dist/{index-sRpRqcWY.js → index-DWP-FYxV.js} +11 -10
  63. package/dist/{index-BRsJCA7J.js → index-Dcp8sI4C.js} +2 -2
  64. package/dist/index-DtlQjI5L.cjs +1 -0
  65. package/dist/{index-BJ3dWzJE.js → index-DyJCopUt.js} +4 -3
  66. package/dist/index-FJ_oMfF3.cjs +1 -0
  67. package/dist/{index-DTXDYM2Y.js → index-Ijbw1FIL.js} +8 -7
  68. package/dist/{index-DYLcmfM7.cjs → index-L9DruvvE.cjs} +1 -1
  69. package/dist/{index-CFfsuz29.js → index-S2ChvJMP.js} +1 -1
  70. package/dist/index-T25jN7df.cjs +104 -0
  71. package/dist/index-W6w3oiQ2.cjs +1 -0
  72. package/dist/{index-DzisQWri.cjs → index-Zvul3j_r.cjs} +1 -1
  73. package/dist/{index-jXcRil4X.js → index-c1EWDQO1.js} +1 -1
  74. package/dist/index-ipcwULw-.js +167 -0
  75. package/dist/{index-Dz46J_oX.js → index-rW-jQkgq.js} +14 -13
  76. package/dist/{index-DN-hIpic.js → index-voXPz7Hq.js} +8 -7
  77. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CqftJ73D.js → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-CHrvpoVb.js} +1956 -1950
  78. package/dist/{index.vue_vue_type_style_index_0_scoped_6b92e250_lang-GYMecS8S.cjs → index.vue_vue_type_style_index_0_scoped_6b92e250_lang-Dyd5heHe.cjs} +336 -336
  79. package/dist/{main-CSmrLXc1.js → main-Cd_mObtH.js} +9 -8
  80. package/dist/main-FOjt8u8O.cjs +11 -0
  81. package/dist/menu-7kw8Lwp_.cjs +1 -0
  82. package/dist/menu-CK0ndSHP.js +1132 -0
  83. package/dist/{menuIndex-H4svQtY4.cjs → menuIndex-Ba-9R5jd.cjs} +1 -1
  84. package/dist/{menuIndex-DnIGdu3r.js → menuIndex-DiNvd_FY.js} +1 -1
  85. package/dist/obj/model.mtl +42 -0
  86. package/dist/obj/model.obj +26110 -0
  87. package/dist/ss-component.cjs +1 -1
  88. package/dist/ss-component.css +1 -1
  89. package/dist/ss-component.js +13 -13
  90. package/dist/ss-component2.cjs +1 -1
  91. package/dist/ss-component2.js +10 -115
  92. package/dist/ss-component3.cjs +1 -1
  93. package/dist/ss-component3.js +5 -10
  94. package/dist/{threeModel-DVoiGwQY.js → threeModel-CIZ5D8Df.js} +4 -4
  95. package/dist/{threeModel-DMLcMdcO.cjs → threeModel-Dekl17Re.cjs} +1 -1
  96. package/dist/{threePreview-BlBYsSIY.js → threePreview-B46ButBi.js} +7 -6
  97. package/dist/threePreview-DcCfaIpB.cjs +1 -0
  98. package/dist/{threeSceneView-DxmqccX0.cjs → threeSceneView-CoQQCgZ3.cjs} +1 -1
  99. package/dist/{threeSceneView-DmElWi83.js → threeSceneView-D4mxD9hv.js} +16 -15
  100. package/dist/{threeSceneViewForCPMPIP-CG3vUmL9.cjs → threeSceneViewForCPMPIP-BR01ytzC.cjs} +1 -1
  101. package/dist/{threeSceneViewForCPMPIP-BiCRauu-.js → threeSceneViewForCPMPIP-DTtZGOcw.js} +11 -10
  102. package/dist/{threeTrackPathView-PNsjrZQ4.js → threeTrackPathView-BQPS8ajS.js} +88 -87
  103. package/dist/threeTrackPathView-C6IiddAw.cjs +1 -0
  104. package/dist/threeViewerHost-B3elQtpE.cjs +1 -0
  105. package/dist/{threeViewerHost-DZOE1mqQ.js → threeViewerHost-CsMI9jbX.js} +15 -14
  106. package/dist/{urdfTree-6H5q4vZJ.js → urdfTree-B118FC_3.js} +1 -1
  107. package/dist/{urdfTree-BHCNo0In.cjs → urdfTree-umPKeRFh.cjs} +1 -1
  108. package/dist/{workpieceTreePanel-hvdMKyB1.cjs → workpieceTreePanel-CwUXRyn3.cjs} +1 -1
  109. package/dist/{workpieceTreePanel-vIuHvU5P.js → workpieceTreePanel-D9TnLdIy.js} +4 -4
  110. package/package.json +1 -1
  111. package/public/obj/model.mtl +42 -0
  112. package/public/obj/model.obj +26110 -0
  113. package/dist/array-pgerzJif.cjs +0 -1
  114. package/dist/clone-CD9irwJl.cjs +0 -1
  115. package/dist/clone-NBEQjHYy.js +0 -8
  116. package/dist/index-B03AQcTh.cjs +0 -25
  117. package/dist/index-BKkBbMbq.cjs +0 -1
  118. package/dist/index-BypZhlZy.cjs +0 -1
  119. package/dist/index-C0M6Lcz7.cjs +0 -1
  120. package/dist/index-C3ub7esH.cjs +0 -1
  121. package/dist/index-CKFKnWYs.cjs +0 -1
  122. package/dist/index-CMCBjpMf.cjs +0 -1
  123. package/dist/index-CYl8EVmW.cjs +0 -1
  124. package/dist/index-CfnRQDoO.cjs +0 -1
  125. package/dist/index-CjBKQL-I.cjs +0 -7
  126. package/dist/index-Ckzoh1F1.cjs +0 -1
  127. package/dist/index-Czr_BmcF.cjs +0 -104
  128. package/dist/index-D76hP8qR.cjs +0 -1
  129. package/dist/index-D9ZxWMRp.cjs +0 -1
  130. package/dist/index-DIhyy3bB.cjs +0 -1
  131. package/dist/index-DNi-yN1x.cjs +0 -1
  132. package/dist/index-DdM-FFFt.cjs +0 -1
  133. package/dist/index-DxmeuinP.cjs +0 -15
  134. package/dist/index-HhzebblY.cjs +0 -1
  135. package/dist/index-LkCWNS6C.cjs +0 -1
  136. package/dist/index-Ud1yGLeD.js +0 -154
  137. package/dist/index-nMK8yuAt.cjs +0 -1
  138. package/dist/index-sTz1k0DD.cjs +0 -2
  139. package/dist/main-CzYhl2gc.cjs +0 -11
  140. package/dist/menu-CtDRlErv.cjs +0 -12
  141. package/dist/menu-z-45O0EF.js +0 -5667
  142. package/dist/threePreview-BPEiRaxd.cjs +0 -1
  143. package/dist/threeTrackPathView-217IAm4H.cjs +0 -1
  144. package/dist/threeViewerHost-DcxUb5_x.cjs +0 -1
@@ -0,0 +1,12 @@
1
+ "use strict";const _=require("vue"),gt=require("vue-router");var Lr=Object.create,wn=Object.defineProperty,Ur=Object.getOwnPropertyDescriptor,nt=Object.getOwnPropertyNames,Br=Object.getPrototypeOf,Mr=Object.prototype.hasOwnProperty,$r=(e,t)=>function(){return e&&(t=(0,e[nt(e)[0]])(e=0)),t},Hr=(e,t)=>function(){return t||(0,e[nt(e)[0]])((t={exports:{}}).exports,t),t.exports},Kr=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of nt(t))!Mr.call(e,o)&&o!==n&&wn(e,o,{get:()=>t[o],enumerable:!(r=Ur(t,o))||r.enumerable});return e},zr=(e,t,n)=>(n=e!=null?Lr(Br(e)):{},Kr(wn(n,"default",{value:e,enumerable:!0}),e)),Ce=$r({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),jr=Hr({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Ce(),t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);const u=new Map;if(u.set(Date,f=>new Date(f)),u.set(Map,(f,O)=>new Map(l(Array.from(f),O))),u.set(Set,(f,O)=>new Set(l(Array.from(f),O))),s.constructorHandlers)for(const f of s.constructorHandlers)u.set(f[0],f[1]);let i=null;return s.proto?v:c;function l(f,O){const d=Object.keys(f),p=new Array(d.length);for(let S=0;S<d.length;S++){const g=d[S],m=f[g];typeof m!="object"||m===null?p[g]=m:m.constructor!==Object&&(i=u.get(m.constructor))?p[g]=i(m,O):ArrayBuffer.isView(m)?p[g]=n(m):p[g]=O(m)}return p}function c(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return l(f,c);if(f.constructor!==Object&&(i=u.get(f.constructor)))return i(f,c);const O={};for(const d in f){if(Object.hasOwnProperty.call(f,d)===!1)continue;const p=f[d];typeof p!="object"||p===null?O[d]=p:p.constructor!==Object&&(i=u.get(p.constructor))?O[d]=i(p,c):ArrayBuffer.isView(p)?O[d]=n(p):O[d]=c(p)}return O}function v(f){if(typeof f!="object"||f===null)return f;if(Array.isArray(f))return l(f,v);if(f.constructor!==Object&&(i=u.get(f.constructor)))return i(f,v);const O={};for(const d in f){const p=f[d];typeof p!="object"||p===null?O[d]=p:p.constructor!==Object&&(i=u.get(p.constructor))?O[d]=i(p,v):ArrayBuffer.isView(p)?O[d]=n(p):O[d]=v(p)}return O}}function o(s){const u=[],i=[],l=new Map;if(l.set(Date,d=>new Date(d)),l.set(Map,(d,p)=>new Map(v(Array.from(d),p))),l.set(Set,(d,p)=>new Set(v(Array.from(d),p))),s.constructorHandlers)for(const d of s.constructorHandlers)l.set(d[0],d[1]);let c=null;return s.proto?O:f;function v(d,p){const S=Object.keys(d),g=new Array(S.length);for(let m=0;m<S.length;m++){const D=S[m],b=d[D];if(typeof b!="object"||b===null)g[D]=b;else if(b.constructor!==Object&&(c=l.get(b.constructor)))g[D]=c(b,p);else if(ArrayBuffer.isView(b))g[D]=n(b);else{const V=u.indexOf(b);V!==-1?g[D]=i[V]:g[D]=p(b)}}return g}function f(d){if(typeof d!="object"||d===null)return d;if(Array.isArray(d))return v(d,f);if(d.constructor!==Object&&(c=l.get(d.constructor)))return c(d,f);const p={};u.push(d),i.push(p);for(const S in d){if(Object.hasOwnProperty.call(d,S)===!1)continue;const g=d[S];if(typeof g!="object"||g===null)p[S]=g;else if(g.constructor!==Object&&(c=l.get(g.constructor)))p[S]=c(g,f);else if(ArrayBuffer.isView(g))p[S]=n(g);else{const m=u.indexOf(g);m!==-1?p[S]=i[m]:p[S]=f(g)}}return u.pop(),i.pop(),p}function O(d){if(typeof d!="object"||d===null)return d;if(Array.isArray(d))return v(d,O);if(d.constructor!==Object&&(c=l.get(d.constructor)))return c(d,O);const p={};u.push(d),i.push(p);for(const S in d){const g=d[S];if(typeof g!="object"||g===null)p[S]=g;else if(g.constructor!==Object&&(c=l.get(g.constructor)))p[S]=c(g,O);else if(ArrayBuffer.isView(g))p[S]=n(g);else{const m=u.indexOf(g);m!==-1?p[S]=i[m]:p[S]=O(g)}}return u.pop(),i.pop(),p}}}});Ce();Ce();Ce();var Pn=typeof navigator<"u",h=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof h.chrome<"u"&&h.chrome.devtools;Pn&&(h.self,h.top);var mt;typeof navigator<"u"&&((mt=navigator.userAgent)==null||mt.toLowerCase().includes("electron"));Ce();var Gr=zr(jr()),qr=/(?:^|[-_/])(\w)/g;function Wr(e,t){return t?t.toUpperCase():""}function Yr(e){return e&&`${e}`.replace(qr,Wr)}function Zr(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const r=n.lastIndexOf("/"),o=n.substring(r+1);{const s=o.lastIndexOf(t);return o.substring(0,s)}}var vt=(0,Gr.default)({circles:!0});const Xr={trailing:!0};function fe(e,t=25,n={}){if(n={...Xr,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,s=[],u,i;const l=(c,v)=>(u=Jr(e,c,v),u.finally(()=>{if(u=null,n.trailing&&i&&!o){const f=l(c,i);return i=null,f}}),u);return function(...c){return u?(n.trailing&&(i=c),u):new Promise(v=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const O=n.leading?r:l(this,c);for(const d of s)d(O);s=[]},t),f?(r=l(this,c),v(r)):s.push(v)})}}async function Jr(e,t,n){return await e.apply(t,n)}function je(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?je(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Qr={run:e=>e()},eo=()=>Qr,Rn=typeof console.createTask<"u"?console.createTask:eo;function to(e,t){const n=t.shift(),r=Rn(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function no(e,t){const n=t.shift(),r=Rn(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Me(e,t){for(const n of[...e])n(t)}class ro{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let u=s.message;u||(u=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(u)||(console.warn(u),this._deprecatedMessages.add(u))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=je(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=je(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(to,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(no,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Me(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Me(this._after,o)}):(this._after&&o&&Me(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Nn(){return new ro}var oo=Object.create,Vn=Object.defineProperty,so=Object.getOwnPropertyDescriptor,rt=Object.getOwnPropertyNames,uo=Object.getPrototypeOf,io=Object.prototype.hasOwnProperty,ao=(e,t)=>function(){return e&&(t=(0,e[rt(e)[0]])(e=0)),t},xn=(e,t)=>function(){return t||(0,e[rt(e)[0]])((t={exports:{}}).exports,t),t.exports},lo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of rt(t))!io.call(e,o)&&o!==n&&Vn(e,o,{get:()=>t[o],enumerable:!(r=so(t,o))||r.enumerable});return e},co=(e,t,n)=>(n=e!=null?oo(uo(e)):{},lo(Vn(n,"default",{value:e,enumerable:!0}),e)),a=ao({"../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.51.1_@types+node@22.13.14__jiti@2.4.2_postcss@8.5_96eb05a9d65343021e53791dd83f3773/node_modules/tsup/assets/esm_shims.js"(){}}),fo=xn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){a(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},u={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},i={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),v=[".","!","~","*","'","(",")"].join(""),f=function(g,m){var D="-",b="",V="",B=!0,L={},T,ne,x,y,E,I,P,M,X,$,C,z,w,J,q="";if(typeof g!="string")return"";if(typeof m=="string"&&(D=m),P=i.en,M=u.en,typeof m=="object"){T=m.maintainCase||!1,L=m.custom&&typeof m.custom=="object"?m.custom:L,x=+m.truncate>1&&m.truncate||!1,y=m.uric||!1,E=m.uricNoSlash||!1,I=m.mark||!1,B=!(m.symbols===!1||m.lang===!1),D=m.separator||D,y&&(q+=l),E&&(q+=c),I&&(q+=v),P=m.lang&&i[m.lang]&&B?i[m.lang]:B?i.en:{},M=m.lang&&u[m.lang]?u[m.lang]:m.lang===!1||m.lang===!0?{}:u.en,m.titleCase&&typeof m.titleCase.length=="number"&&Array.prototype.toString.call(m.titleCase)?(m.titleCase.forEach(function(H){L[H+""]=H+""}),ne=!0):ne=!!m.titleCase,m.custom&&typeof m.custom.length=="number"&&Array.prototype.toString.call(m.custom)&&m.custom.forEach(function(H){L[H+""]=H+""}),Object.keys(L).forEach(function(H){var re;H.length>1?re=new RegExp("\\b"+d(H)+"\\b","gi"):re=new RegExp(d(H),"gi"),g=g.replace(re,L[H])});for(C in L)q+=C}for(q+=D,q=d(q),g=g.replace(/(^\s+|\s+$)/g,""),w=!1,J=!1,$=0,z=g.length;$<z;$++)C=g[$],p(C,L)?w=!1:M[C]?(C=w&&M[C].match(/[A-Za-z0-9]/)?" "+M[C]:M[C],w=!1):C in r?($+1<z&&o.indexOf(g[$+1])>=0?(V+=C,C=""):J===!0?(C=s[V]+r[C],V=""):C=w&&r[C].match(/[A-Za-z0-9]/)?" "+r[C]:r[C],w=!1,J=!1):C in s?(V+=C,C="",$===z-1&&(C=s[V]),J=!0):P[C]&&!(y&&l.indexOf(C)!==-1)&&!(E&&c.indexOf(C)!==-1)?(C=w||b.substr(-1).match(/[A-Za-z0-9]/)?D+P[C]:P[C],C+=g[$+1]!==void 0&&g[$+1].match(/[A-Za-z0-9]/)?D:"",w=!0):(J===!0?(C=s[V]+C,V="",J=!1):w&&(/[A-Za-z0-9]/.test(C)||b.substr(-1).match(/A-Za-z0-9]/))&&(C=" "+C),w=!1),b+=C.replace(new RegExp("[^\\w\\s"+q+"_-]","g"),D);return ne&&(b=b.replace(/(\w)(\S*)/g,function(H,re,be){var he=re.toUpperCase()+(be!==null?be:"");return Object.keys(L).indexOf(he.toLowerCase())<0?he:he.toLowerCase()})),b=b.replace(/\s+/g,D).replace(new RegExp("\\"+D+"+","g"),D).replace(new RegExp("(^\\"+D+"+|\\"+D+"+$)","g"),""),x&&b.length>x&&(X=b.charAt(x)===D,b=b.slice(0,x),X||(b=b.slice(0,b.lastIndexOf(D)))),!T&&!ne&&(b=b.toLowerCase()),b},O=function(g){return function(D){return f(D,g)}},d=function(g){return g.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},p=function(S,g){for(var m in g)if(g[m]===S)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=O;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=O}catch{}}(e)}}),_o=xn({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){a(),t.exports=fo()}});a();a();a();a();a();a();a();a();function po(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function Eo(e){const t=e.__file;if(t)return Yr(Zr(t,".vue"))}function yt(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function ot(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}function Fn(e){var t,n;const r=(t=e.subTree)==null?void 0:t.type,o=ot(e);return o?((n=o==null?void 0:o.types)==null?void 0:n.Fragment)===r:!1}function Le(e){var t,n,r;const o=po((e==null?void 0:e.type)||{});if(o)return o;if((e==null?void 0:e.root)===e)return"Root";for(const u in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[u]===(e==null?void 0:e.type))return yt(e,u);for(const u in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[u]===(e==null?void 0:e.type))return yt(e,u);const s=Eo((e==null?void 0:e.type)||{});return s||"Anonymous Component"}function ho(e){var t,n,r;const o=(r=(n=(t=e==null?void 0:e.appContext)==null?void 0:t.app)==null?void 0:n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__)!=null?r:0,s=e===(e==null?void 0:e.root)?"root":e.uid;return`${o}:${s}`}function Ge(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function go(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var De;function mo(e){return De||(De=document.createRange()),De.selectNode(e),De.getBoundingClientRect()}function vo(e){const t=go();if(!e.children)return t;for(let n=0,r=e.children.length;n<r;n++){const o=e.children[n];let s;if(o.component)s=ue(o.component);else if(o.el){const u=o.el;u.nodeType===1||u.getBoundingClientRect?s=u.getBoundingClientRect():u.nodeType===3&&u.data.trim()&&(s=mo(u))}s&&yo(t,s)}return t}function yo(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var Ot={top:0,left:0,right:0,bottom:0,width:0,height:0};function ue(e){const t=e.subTree.el;return typeof window>"u"?Ot:Fn(e)?vo(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?ue(e.subTree.component):Ot}a();function st(e){return Fn(e)?Oo(e.subTree):e.subTree?[e.subTree.el]:[]}function Oo(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...st(n.component)):n!=null&&n.el&&t.push(n.el)}),t}var Ln="__vue-devtools-component-inspector__",Un="__vue-devtools-component-inspector__card__",Bn="__vue-devtools-component-inspector__name__",Mn="__vue-devtools-component-inspector__indicator__",$n={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},Ao={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},So={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function pe(){return document.getElementById(Ln)}function To(){return document.getElementById(Un)}function Co(){return document.getElementById(Mn)}function bo(){return document.getElementById(Bn)}function ut(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function it(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Ln,Object.assign(n.style,{...$n,...ut(e.bounds),...e.style});const r=document.createElement("span");r.id=Un,Object.assign(r.style,{...Ao,top:e.bounds.top<35?0:"-35px"});const o=document.createElement("span");o.id=Bn,o.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`;const s=document.createElement("i");return s.id=Mn,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(s.style,So),r.appendChild(o),r.appendChild(s),n.appendChild(r),document.body.appendChild(n),n}function at(e){const t=pe(),n=To(),r=bo(),o=Co();t&&(Object.assign(t.style,{...$n,...ut(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`&lt;${e.name}&gt;&nbsp;&nbsp;`,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function Do(e){const t=ue(e);if(!t.width&&!t.height)return;const n=Le(e);pe()?at({bounds:t,name:n}):it({bounds:t,name:n})}function Hn(){const e=pe();e&&(e.style.display="none")}var qe=null;function We(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(qe=n,n.vnode.el)){const o=ue(n),s=Le(n);pe()?at({bounds:o,name:s}):it({bounds:o,name:s})}}}function Io(e,t){if(e.preventDefault(),e.stopPropagation(),qe){const n=ho(qe);t(n)}}var xe=null;function ko(){Hn(),window.removeEventListener("mouseover",We),window.removeEventListener("click",xe,!0),xe=null}function wo(){return window.addEventListener("mouseover",We),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),Io(n,r=>{window.removeEventListener("click",t,!0),xe=null,window.removeEventListener("mouseover",We);const o=pe();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}xe=t,window.addEventListener("click",t,!0)})}function Po(e){const t=Ge(U.value,e.id);if(t){const[n]=st(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=ue(t),o=document.createElement("div"),s={...ut(r),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=ue(t);if(r.width||r.height){const o=Le(t),s=pe();s?at({...e,name:o,bounds:r}):it({...e,name:o,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}a();var At,St;(St=(At=h).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(At.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Ro(e){let t=0;const n=setInterval(()=>{h.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function No(){const e=h.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function Vo(){return new Promise(e=>{function t(){No(),e(h.__VUE_INSPECTOR__)}h.__VUE_INSPECTOR__?t():Ro(()=>{t()})})}a();a();function xo(e){return!!(e&&e.__v_isReadonly)}function Kn(e){return xo(e)?Kn(e.__v_raw):!!(e&&e.__v_isReactive)}function $e(e){return!!(e&&e.__v_isRef===!0)}function ge(e){const t=e&&e.__v_raw;return t?ge(t):e}var Fo=class{constructor(){this.refEditor=new Lo}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const i=o.shift();e instanceof Map?e=e.get(i):e instanceof Set?e=Array.from(e.values())[i]:e=e[i],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],u=this.refEditor.get(e)[s];r?r(e,s,n):this.refEditor.isRef(u)?this.refEditor.set(u,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r<n.length;r++)if(e instanceof Map?e=e.get(n[r]):e=e[n[r]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,n=!1){if(typeof e>"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const s=r.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):ge(t)instanceof Map?t.delete(n):ge(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):ge(t)instanceof Map?t.set(e.newKey||n,r):ge(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},Lo=class{set(e,t){if($e(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return $e(e)?e.value:e}isRef(e){return $e(e)||Kn(e)}};a();a();a();var Uo="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Bo(){if(!Pn||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(Uo);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}a();a();a();var Tt,Ct;(Ct=(Tt=h).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(Tt.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var Mo=new Proxy(h.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function $o(e,t){R.timelineLayersState[t.id]=!1,Mo.push({...e,descriptorId:t.id,appRecord:ot(t.app)})}var bt,Dt;(Dt=(bt=h).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(bt.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var lt=new Proxy(h.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),zn=fe(()=>{Ee.hooks.callHook("sendInspectorToClient",jn())});function Ho(e,t){var n,r;lt.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(r=e.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:ot(t.app)}),zn()}function jn(){return lt.filter(e=>e.descriptor.app===U.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,r=e.options;return{id:r.id,label:r.label,logo:n.logo,icon:`custom-ic-baseline-${(t=r==null?void 0:r.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function Ie(e,t){return lt.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function Ko(){const e=Nn();e.hook("addInspector",({inspector:r,plugin:o})=>{Ho(r,o.descriptor)});const t=fe(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||R.highPerfModeEnabled)return;const u=Ie(r,o.descriptor.app),i={app:o.descriptor.app,inspectorId:r,filter:(u==null?void 0:u.treeFilter)||"",rootNodes:[]};await new Promise(l=>{e.callHookWith(async c=>{await Promise.all(c.map(v=>v(i))),l()},"getInspectorTree")}),e.callHookWith(async l=>{await Promise.all(l.map(c=>c({inspectorId:r,rootNodes:i.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=fe(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||R.highPerfModeEnabled)return;const u=Ie(r,o.descriptor.app),i={app:o.descriptor.app,inspectorId:r,nodeId:(u==null?void 0:u.selectedNodeId)||"",state:null},l={currentTab:`custom-inspector:${r}`};i.nodeId&&await new Promise(c=>{e.callHookWith(async v=>{await Promise.all(v.map(f=>f(i,l))),c()},"getInspectorState")}),e.callHookWith(async c=>{await Promise.all(c.map(v=>v({inspectorId:r,nodeId:i.nodeId,state:i.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:r,nodeId:o,plugin:s})=>{const u=Ie(r,s.descriptor.app);u&&(u.selectedNodeId=o)}),e.hook("timelineLayerAdded",({options:r,plugin:o})=>{$o(r,o.descriptor)}),e.hook("timelineEventAdded",({options:r,plugin:o})=>{var s;const u=["performance","component-event","keyboard","mouse"];R.highPerfModeEnabled||!((s=R.timelineLayersState)!=null&&s[o.descriptor.id])&&!u.includes(r.layerId)||e.callHookWith(async i=>{await Promise.all(i.map(l=>l(r)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:r})=>{const o=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const s=o.id.toString();return[...o.instanceMap].filter(([i])=>i.split(":")[0]===s).map(([,i])=>i)}),e.hook("getComponentBounds",async({instance:r})=>ue(r)),e.hook("getComponentName",({instance:r})=>Le(r)),e.hook("componentHighlight",({uid:r})=>{const o=U.value.instanceMap.get(r);o&&Do(o)}),e.hook("componentUnhighlight",()=>{Hn()}),e}var It,kt;(kt=(It=h).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(It.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var wt,Pt;(Pt=(wt=h).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(wt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Rt,Nt;(Nt=(Rt=h).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Rt.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Vt,xt;(xt=(Vt=h).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(Vt.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Ft,Lt;(Lt=(Ft=h).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Ft.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var se="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function zo(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Bo()}}var Ut,Bt;(Bt=(Ut=h)[se])!=null||(Ut[se]=zo());var jo=fe(e=>{Ee.hooks.callHook("devtoolsStateUpdated",{state:e})});fe((e,t)=>{Ee.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var Ue=new Proxy(h.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?h.__VUE_DEVTOOLS_KIT_APP_RECORDS__:h.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),U=new Proxy(h.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?h.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?h.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:h.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Gn(){jo({...h[se],appRecords:Ue.value,activeAppRecordId:U.id,tabs:h.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:h.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function Go(e){h.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Gn()}function qo(e){h.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Gn()}var R=new Proxy(h[se],{get(e,t){return t==="appRecords"?Ue:t==="activeAppRecordId"?U.id:t==="tabs"?h.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?h.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:h[se][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...h[se]},e[t]=n,h[se][t]=n,!0}});function Wo(e={}){var t,n,r;const{file:o,host:s,baseUrl:u=window.location.origin,line:i=0,column:l=0}=e;if(o){if(s==="chrome-extension"){const c=o.replace(/\\/g,"\\\\"),v=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${v}__open-in-editor?file=${encodeURI(o)}`).then(f=>{if(!f.ok){const O=`Opening component ${c} failed`;console.log(`%c${O}`,"color:red")}})}else if(R.vitePluginDetected){const c=(r=h.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:u;h.__VUE_INSPECTOR__.openInEditor(c,o,i,l)}}}a();a();a();a();a();var Mt,$t;($t=(Mt=h).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Mt.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var ct=new Proxy(h.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function Ye(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function ft(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function Yo(e){var t,n,r;const o=(n=(t=ct.find(s=>{var u;return s[0].id===e&&!!((u=s[0])!=null&&u.settings)}))==null?void 0:t[0])!=null?n:null;return(r=o==null?void 0:o.settings)!=null?r:null}function qn(e,t){var n,r,o;const s=ft(e);if(s){const u=localStorage.getItem(s);if(u)return JSON.parse(u)}if(e){const u=(r=(n=ct.find(i=>i[0].id===e))==null?void 0:n[0])!=null?r:null;return Ye((o=u==null?void 0:u.settings)!=null?o:{})}return Ye(t)}function Zo(e,t){const n=ft(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(Ye(t)))}function Xo(e,t,n){const r=ft(e),o=localStorage.getItem(r),s=JSON.parse(o||"{}"),u={...s,[t]:n};localStorage.setItem(r,JSON.stringify(u)),Ee.hooks.callHookWith(i=>{i.forEach(l=>l({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:u}))},"setPluginSettings")}a();a();a();a();a();a();a();a();a();a();a();var Ht,Kt,K=(Kt=(Ht=h).__VUE_DEVTOOLS_HOOK)!=null?Kt:Ht.__VUE_DEVTOOLS_HOOK=Nn(),Jo={vueAppInit(e){K.hook("app:init",e)},vueAppUnmount(e){K.hook("app:unmount",e)},vueAppConnected(e){K.hook("app:connected",e)},componentAdded(e){return K.hook("component:added",e)},componentEmit(e){return K.hook("component:emit",e)},componentUpdated(e){return K.hook("component:updated",e)},componentRemoved(e){return K.hook("component:removed",e)},setupDevtoolsPlugin(e){K.hook("devtools-plugin:setup",e)},perfStart(e){return K.hook("perf:start",e)},perfEnd(e){return K.hook("perf:end",e)}},Wn={on:Jo,setupDevToolsPlugin(e,t){return K.callHook("devtools-plugin:setup",e,t)}},Qo=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if(R.highPerfModeEnabled)return;const n=jn().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const r=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];K.callHook("component:updated",...r)}else K.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&Zo(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){R.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){R.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return R.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){R.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return qn(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},es=Qo;a();a();a();a();var ts="__vue_devtool_undefined__",ns="__vue_devtool_infinity__",rs="__vue_devtool_negative_infinity__",os="__vue_devtool_nan__";a();a();var ss={[ts]:"undefined",[os]:"NaN",[ns]:"Infinity",[rs]:"-Infinity"};Object.entries(ss).reduce((e,[t,n])=>(e[n]=t,e),{});a();a();a();a();a();var zt,jt;(jt=(zt=h).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(zt.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function Yn(e,t){return Wn.setupDevToolsPlugin(e,t)}function us(e,t){const[n,r]=e;if(n.app!==t)return;const o=new es({plugin:{setupFn:r,descriptor:n},ctx:Ee});n.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),r(o)}function Zn(e,t){h.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||R.highPerfModeEnabled&&!(t!=null&&t.inspectingComponent)||(h.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),ct.forEach(n=>{us(n,e)}))}a();a();var ye="__VUE_DEVTOOLS_ROUTER__",de="__VUE_DEVTOOLS_ROUTER_INFO__",Gt,qt;(qt=(Gt=h)[de])!=null||(Gt[de]={currentRoute:null,routes:[]});var Wt,Yt;(Yt=(Wt=h)[ye])!=null||(Wt[ye]={});new Proxy(h[de],{get(e,t){return h[de][t]}});new Proxy(h[ye],{get(e,t){if(t==="value")return h[ye]}});function is(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function dt(e){return e.map(t=>{let{path:n,name:r,children:o,meta:s}=t;return o!=null&&o.length&&(o=dt(o)),{path:n,name:r,children:o,meta:s}})}function as(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:u,params:i,query:l}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:i,query:l,matched:dt(u)}}return e}function ls(e,t){function n(){var r;const o=(r=e.app)==null?void 0:r.config.globalProperties.$router,s=as(o==null?void 0:o.currentRoute.value),u=dt(is(o)),i=console.warn;console.warn=()=>{},h[de]={currentRoute:s?vt(s):{},routes:vt(u)},h[ye]=o,console.warn=i}n(),Wn.on.componentUpdated(fe(()=>{var r;((r=t.value)==null?void 0:r.app)===e.app&&(n(),!R.highPerfModeEnabled&&Ee.hooks.callHook("routerInfoUpdated",{state:h[de]}))},200))}function cs(e){return{async getInspectorTree(t){const n={...t,app:U.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:U.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(u=>u(n,r))),o()},"getInspectorState")}),n.state},editInspectorState(t){const n=new Fo,r={...t,app:U.value.app,set:(o,s=t.path,u=t.state.value,i)=>{n.set(o,s,u,i||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(r))},"editInspectorState")},sendInspectorState(t){const n=Ie(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return wo()},cancelInspectComponentInspector(){return ko()},getComponentRenderCode(t){const n=Ge(U.value,t);if(n)return typeof(n==null?void 0:n.type)!="function"?n.render.toString():n.type.toString()},scrollToComponent(t){return Po({id:t})},openInEditor:Wo,getVueInspector:Vo,toggleApp(t,n){const r=Ue.value.find(o=>o.id===t);r&&(qo(t),Go(r),ls(r,U),zn(),Zn(r.app,n))},inspectDOM(t){const n=Ge(U.value,t);if(n){const[r]=st(n);r&&(h.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){Xo(t,n,r)},getPluginSettings(t){return{options:Yo(t),values:qn(t)}}}}a();var Zt,Xt;(Xt=(Zt=h).__VUE_DEVTOOLS_ENV__)!=null||(Zt.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var Jt=Ko(),Qt,en;(en=(Qt=h).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Qt.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:Jt,get state(){return{...R,activeAppRecordId:U.id,activeAppRecord:U.value,appRecords:Ue.value}},api:cs(Jt)});var Ee=h.__VUE_DEVTOOLS_KIT_CONTEXT__;a();co(_o());var tn,nn;(nn=(tn=h).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(tn.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});a();a();function fs(e){R.highPerfModeEnabled=e??!R.highPerfModeEnabled,!e&&U.value&&Zn(U.value.app)}a();a();a();function ds(e){R.devtoolsClientDetected={...R.devtoolsClientDetected,...e};const t=Object.values(R.devtoolsClientDetected).some(Boolean);fs(!t)}var rn,on;(on=(rn=h).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(rn.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=ds);a();a();a();a();a();a();a();var _s=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},Xn=class{constructor(e){this.generateIdentifier=e,this.kv=new _s}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},ps=class extends Xn{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};a();a();function Es(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function hs(e,t){const n=Es(e);if("find"in n)return n.find(t);const r=n;for(let o=0;o<r.length;o++){const s=r[o];if(t(s))return s}}function _e(e,t){Object.entries(e).forEach(([n,r])=>t(r,n))}function ke(e,t){return e.indexOf(t)!==-1}function sn(e,t){for(let n=0;n<e.length;n++){const r=e[n];if(t(r))return r}}var gs=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return hs(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};a();a();var ms=e=>Object.prototype.toString.call(e).slice(8,-1),Jn=e=>typeof e>"u",vs=e=>e===null,Oe=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,Ze=e=>Oe(e)&&Object.keys(e).length===0,te=e=>Array.isArray(e),ys=e=>typeof e=="string",Os=e=>typeof e=="number"&&!isNaN(e),As=e=>typeof e=="boolean",Ss=e=>e instanceof RegExp,Ae=e=>e instanceof Map,Se=e=>e instanceof Set,Qn=e=>ms(e)==="Symbol",Ts=e=>e instanceof Date&&!isNaN(e.valueOf()),Cs=e=>e instanceof Error,un=e=>typeof e=="number"&&isNaN(e),bs=e=>As(e)||vs(e)||Jn(e)||Os(e)||ys(e)||Qn(e),Ds=e=>typeof e=="bigint",Is=e=>e===1/0||e===-1/0,ks=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),ws=e=>e instanceof URL;a();var er=e=>e.replace(/\./g,"\\."),He=e=>e.map(String).map(er).join("."),ve=e=>{const t=[];let n="";for(let o=0;o<e.length;o++){let s=e.charAt(o);if(s==="\\"&&e.charAt(o+1)==="."){n+=".",o++;continue}if(s==="."){t.push(n),n="";continue}n+=s}const r=n;return t.push(r),t};a();function W(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var tr=[W(Jn,"undefined",()=>null,()=>{}),W(Ds,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),W(Ts,"Date",e=>e.toISOString(),e=>new Date(e)),W(Cs,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),W(Ss,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),W(Se,"set",e=>[...e.values()],e=>new Set(e)),W(Ae,"map",e=>[...e.entries()],e=>new Map(e)),W(e=>un(e)||Is(e),"number",e=>un(e)?"NaN":e>0?"Infinity":"-Infinity",Number),W(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),W(ws,"URL",e=>e.toString(),e=>new URL(e))];function Be(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var nr=Be((e,t)=>Qn(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),Ps=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),rr=Be(ks,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=Ps[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function or(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var sr=Be(or,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(r.prototype),e)}),ur=Be((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Rs=[sr,nr,ur,rr],an=(e,t)=>{const n=sn(Rs,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=sn(tr,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},ir={};tr.forEach(e=>{ir[e.annotation]=e});var Ns=(e,t,n)=>{if(te(t))switch(t[0]){case"symbol":return nr.untransform(e,t,n);case"class":return sr.untransform(e,t,n);case"custom":return ur.untransform(e,t,n);case"typed-array":return rr.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=ir[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}};a();var le=(e,t)=>{if(t>e.size)throw new Error("index out of bounds");const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function ar(e){if(ke(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(ke(e,"prototype"))throw new Error("prototype is not allowed as a property");if(ke(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Vs=(e,t)=>{ar(t);for(let n=0;n<t.length;n++){const r=t[n];if(Se(e))e=le(e,+r);else if(Ae(e)){const o=+r,s=+t[++n]==0?"key":"value",u=le(e,o);switch(s){case"key":e=u;break;case"value":e=e.get(u);break}}else e=e[r]}return e},Xe=(e,t,n)=>{if(ar(t),t.length===0)return n(e);let r=e;for(let s=0;s<t.length-1;s++){const u=t[s];if(te(r)){const i=+u;r=r[i]}else if(Oe(r))r=r[u];else if(Se(r)){const i=+u;r=le(r,i)}else if(Ae(r)){if(s===t.length-2)break;const l=+u,c=+t[++s]==0?"key":"value",v=le(r,l);switch(c){case"key":r=v;break;case"value":r=r.get(v);break}}}const o=t[t.length-1];if(te(r)?r[+o]=n(r[+o]):Oe(r)&&(r[o]=n(r[o])),Se(r)){const s=le(r,+o),u=n(s);s!==u&&(r.delete(s),r.add(u))}if(Ae(r)){const s=+t[t.length-2],u=le(r,s);switch(+o==0?"key":"value"){case"key":{const l=n(u);r.set(l,r.get(u)),l!==u&&r.delete(u);break}case"value":{r.set(u,n(r.get(u)));break}}}return e};function Je(e,t,n=[]){if(!e)return;if(!te(e)){_e(e,(s,u)=>Je(s,t,[...n,...ve(u)]));return}const[r,o]=e;o&&_e(o,(s,u)=>{Je(s,t,[...n,...ve(u)])}),t(r,n)}function xs(e,t,n){return Je(t,(r,o)=>{e=Xe(e,o,s=>Ns(s,r,n))}),e}function Fs(e,t){function n(r,o){const s=Vs(e,ve(o));r.map(ve).forEach(u=>{e=Xe(e,u,()=>s)})}if(te(t)){const[r,o]=t;r.forEach(s=>{e=Xe(e,ve(s),()=>e)}),o&&_e(o,n)}else _e(t,n);return e}var Ls=(e,t)=>Oe(e)||te(e)||Ae(e)||Se(e)||or(e,t);function Us(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function Bs(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(i=>i.map(String)).sort((i,l)=>i.length-l.length));const[s,...u]=o;s.length===0?r=u.map(He):n[He(s)]=u.map(He)}),r?Ze(n)?[r]:[r,n]:Ze(n)?void 0:n}var lr=(e,t,n,r,o=[],s=[],u=new Map)=>{var i;const l=bs(e);if(!l){Us(e,o,t);const p=u.get(e);if(p)return r?{transformedValue:null}:p}if(!Ls(e,n)){const p=an(e,n),S=p?{transformedValue:p.value,annotations:[p.type]}:{transformedValue:e};return l||u.set(e,S),S}if(ke(s,e))return{transformedValue:null};const c=an(e,n),v=(i=c==null?void 0:c.value)!=null?i:e,f=te(v)?[]:{},O={};_e(v,(p,S)=>{if(S==="__proto__"||S==="constructor"||S==="prototype")throw new Error(`Detected property ${S}. This is a prototype pollution risk, please remove it from your object.`);const g=lr(p,t,n,r,[...o,S],[...s,e],u);f[S]=g.transformedValue,te(g.annotations)?O[S]=g.annotations:Oe(g.annotations)&&_e(g.annotations,(m,D)=>{O[er(S)+"."+D]=m})});const d=Ze(O)?{transformedValue:f,annotations:c?[c.type]:void 0}:{transformedValue:f,annotations:c?[c.type,O]:O};return l||u.set(e,d),d};a();a();function cr(e){return Object.prototype.toString.call(e).slice(8,-1)}function ln(e){return cr(e)==="Array"}function Ms(e){if(cr(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function $s(e,t,n,r,o){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function Qe(e,t={}){if(ln(e))return e.map(o=>Qe(o,t));if(!Ms(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,s)=>{if(ln(t.props)&&!t.props.includes(s))return o;const u=e[s],i=Qe(u,t);return $s(o,s,i,e,t.nonenumerable),o},{})}var k=class{constructor({dedupe:e=!1}={}){this.classRegistry=new ps,this.symbolRegistry=new Xn(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new gs,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=lr(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=Bs(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=Qe(t);return n!=null&&n.values&&(r=xs(r,n.values,this)),n!=null&&n.referentialEqualities&&(r=Fs(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};k.defaultInstance=new k;k.serialize=k.defaultInstance.serialize.bind(k.defaultInstance);k.deserialize=k.defaultInstance.deserialize.bind(k.defaultInstance);k.stringify=k.defaultInstance.stringify.bind(k.defaultInstance);k.parse=k.defaultInstance.parse.bind(k.defaultInstance);k.registerClass=k.defaultInstance.registerClass.bind(k.defaultInstance);k.registerSymbol=k.defaultInstance.registerSymbol.bind(k.defaultInstance);k.registerCustom=k.defaultInstance.registerCustom.bind(k.defaultInstance);k.allowErrorProps=k.defaultInstance.allowErrorProps.bind(k.defaultInstance);a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();a();var cn,fn;(fn=(cn=h).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(cn.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var dn,_n;(_n=(dn=h).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(dn.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var pn,En;(En=(pn=h).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(pn.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var hn,gn;(gn=(hn=h).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(hn.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var mn,vn;(vn=(mn=h).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(mn.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var yn,On;(On=(yn=h).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(yn.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);a();a();a();a();a();a();a();/*!
2
+ * pinia v3.0.3
3
+ * (c) 2025 Eduardo San Martin Morote
4
+ * @license MIT
5
+ */let me;const Te=e=>me=e,fr=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function ie(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Y;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Y||(Y={}));const Q=typeof window<"u",An=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function Hs(e,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e}function _t(e,t,n){const r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){pr(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function dr(e){const t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function we(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{const n=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window,detail:0,screenX:80,screenY:20,clientX:80,clientY:20,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,button:0,relatedTarget:null});e.dispatchEvent(n)}}const Pe=typeof navigator=="object"?navigator:{userAgent:""},_r=/Macintosh/.test(Pe.userAgent)&&/AppleWebKit/.test(Pe.userAgent)&&!/Safari/.test(Pe.userAgent),pr=Q?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!_r?Ks:"msSaveOrOpenBlob"in Pe?zs:js:()=>{};function Ks(e,t="download",n){const r=document.createElement("a");r.download=t,r.rel="noopener",typeof e=="string"?(r.href=e,r.origin!==location.origin?dr(r.href)?_t(e,t,n):(r.target="_blank",we(r)):we(r)):(r.href=URL.createObjectURL(e),setTimeout(function(){URL.revokeObjectURL(r.href)},4e4),setTimeout(function(){we(r)},0))}function zs(e,t="download",n){if(typeof e=="string")if(dr(e))_t(e,t,n);else{const r=document.createElement("a");r.href=e,r.target="_blank",setTimeout(function(){we(r)})}else navigator.msSaveOrOpenBlob(Hs(e,n),t)}function js(e,t,n,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),typeof e=="string")return _t(e,t,n);const o=e.type==="application/octet-stream",s=/constructor/i.test(String(An.HTMLElement))||"safari"in An,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||o&&s||_r)&&typeof FileReader<"u"){const i=new FileReader;i.onloadend=function(){let l=i.result;if(typeof l!="string")throw r=null,new Error("Wrong reader.result type");l=u?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=l:location.assign(l),r=null},i.readAsDataURL(e)}else{const i=URL.createObjectURL(e);r?r.location.assign(i):location.href=i,r=null,setTimeout(function(){URL.revokeObjectURL(i)},4e4)}}function N(e,t){const n="🍍 "+e;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(n,t):t==="error"?console.error(n):t==="warn"?console.warn(n):console.log(n)}function pt(e){return"_a"in e&&"install"in e}function Er(){if(!("clipboard"in navigator))return N("Your browser doesn't support the Clipboard API","error"),!0}function hr(e){return e instanceof Error&&e.message.toLowerCase().includes("document is not focused")?(N('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function Gs(e){if(!Er())try{await navigator.clipboard.writeText(JSON.stringify(e.state.value)),N("Global state copied to clipboard.")}catch(t){if(hr(t))return;N("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function qs(e){if(!Er())try{gr(e,JSON.parse(await navigator.clipboard.readText())),N("Global state pasted from clipboard.")}catch(t){if(hr(t))return;N("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function Ws(e){try{pr(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){N("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let Z;function Ys(){Z||(Z=document.createElement("input"),Z.type="file",Z.accept=".json");function e(){return new Promise((t,n)=>{Z.onchange=async()=>{const r=Z.files;if(!r)return t(null);const o=r.item(0);return t(o?{text:await o.text(),file:o}:null)},Z.oncancel=()=>t(null),Z.onerror=n,Z.click()})}return e}async function Zs(e){try{const n=await Ys()();if(!n)return;const{text:r,file:o}=n;gr(e,JSON.parse(r)),N(`Global state imported from "${o.name}".`)}catch(t){N("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function gr(e,t){for(const n in t){const r=e.state.value[n];r?Object.assign(r,t[n]):e.state.value[n]=t[n]}}function G(e){return{_custom:{display:e}}}const mr="🍍 Pinia (root)",Re="_root";function Xs(e){return pt(e)?{id:Re,label:mr}:{id:e.$id,label:e.$id}}function Js(e){if(pt(e)){const n=Array.from(e._s.keys()),r=e._s;return{state:n.map(s=>({editable:!0,key:s,value:e.state.value[s]})),getters:n.filter(s=>r.get(s)._getters).map(s=>{const u=r.get(s);return{editable:!1,key:s,value:u._getters.reduce((i,l)=>(i[l]=u[l],i),{})}})}}const t={state:Object.keys(e.$state).map(n=>({editable:!0,key:n,value:e.$state[n]}))};return e._getters&&e._getters.length&&(t.getters=e._getters.map(n=>({editable:!1,key:n,value:e[n]}))),e._customProperties.size&&(t.customProperties=Array.from(e._customProperties).map(n=>({editable:!0,key:n,value:e[n]}))),t}function Qs(e){return e?Array.isArray(e)?e.reduce((t,n)=>(t.keys.push(n.key),t.operations.push(n.type),t.oldValue[n.key]=n.oldValue,t.newValue[n.key]=n.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:G(e.type),key:G(e.key),oldValue:e.oldValue,newValue:e.newValue}:{}}function eu(e){switch(e){case Y.direct:return"mutation";case Y.patchFunction:return"$patch";case Y.patchObject:return"$patch";default:return"unknown"}}let ce=!0;const Ne=[],oe="pinia:mutations",F="pinia",{assign:tu}=Object,Fe=e=>"🍍 "+e;function nu(e,t){Yn({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Ne,app:e},n=>{typeof n.now!="function"&&N("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),n.addTimelineLayer({id:oe,label:"Pinia 🍍",color:15064968}),n.addInspector({id:F,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{Gs(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await qs(t),n.sendInspectorTree(F),n.sendInspectorState(F)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{Ws(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await Zs(t),n.sendInspectorTree(F),n.sendInspectorState(F)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:r=>{const o=t._s.get(r);o?typeof o.$reset!="function"?N(`Cannot reset "${r}" store because it doesn't have a "$reset" method implemented.`,"warn"):(o.$reset(),N(`Store "${r}" reset.`)):N(`Cannot reset "${r}" store because it wasn't found.`,"warn")}}]}),n.on.inspectComponent(r=>{const o=r.componentInstance&&r.componentInstance.proxy;if(o&&o._pStores){const s=r.componentInstance.proxy._pStores;Object.values(s).forEach(u=>{r.instanceData.state.push({type:Fe(u.$id),key:"state",editable:!0,value:u._isOptionsAPI?{_custom:{value:_.toRaw(u.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>u.$reset()}]}}:Object.keys(u.$state).reduce((i,l)=>(i[l]=u.$state[l],i),{})}),u._getters&&u._getters.length&&r.instanceData.state.push({type:Fe(u.$id),key:"getters",editable:!1,value:u._getters.reduce((i,l)=>{try{i[l]=u[l]}catch(c){i[l]=c}return i},{})})})}}),n.on.getInspectorTree(r=>{if(r.app===e&&r.inspectorId===F){let o=[t];o=o.concat(Array.from(t._s.values())),r.rootNodes=(r.filter?o.filter(s=>"$id"in s?s.$id.toLowerCase().includes(r.filter.toLowerCase()):mr.toLowerCase().includes(r.filter.toLowerCase())):o).map(Xs)}}),globalThis.$pinia=t,n.on.getInspectorState(r=>{if(r.app===e&&r.inspectorId===F){const o=r.nodeId===Re?t:t._s.get(r.nodeId);if(!o)return;o&&(r.nodeId!==Re&&(globalThis.$store=_.toRaw(o)),r.state=Js(o))}}),n.on.editInspectorState(r=>{if(r.app===e&&r.inspectorId===F){const o=r.nodeId===Re?t:t._s.get(r.nodeId);if(!o)return N(`store "${r.nodeId}" not found`,"error");const{path:s}=r;pt(o)?s.unshift("state"):(s.length!==1||!o._customProperties.has(s[0])||s[0]in o.$state)&&s.unshift("$state"),ce=!1,r.set(o,s,r.state.value),ce=!0}}),n.on.editComponentState(r=>{if(r.type.startsWith("🍍")){const o=r.type.replace(/^🍍\s*/,""),s=t._s.get(o);if(!s)return N(`store "${o}" not found`,"error");const{path:u}=r;if(u[0]!=="state")return N(`Invalid path for store "${o}":
6
+ ${u}
7
+ Only state can be modified.`);u[0]="$state",ce=!1,r.set(s,u,r.state.value),ce=!0}})})}function ru(e,t){Ne.includes(Fe(t.$id))||Ne.push(Fe(t.$id)),Yn({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:Ne,app:e,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},n=>{const r=typeof n.now=="function"?n.now.bind(n):Date.now;t.$onAction(({after:u,onError:i,name:l,args:c})=>{const v=vr++;n.addTimelineEvent({layerId:oe,event:{time:r(),title:"🛫 "+l,subtitle:"start",data:{store:G(t.$id),action:G(l),args:c},groupId:v}}),u(f=>{ee=void 0,n.addTimelineEvent({layerId:oe,event:{time:r(),title:"🛬 "+l,subtitle:"end",data:{store:G(t.$id),action:G(l),args:c,result:f},groupId:v}})}),i(f=>{ee=void 0,n.addTimelineEvent({layerId:oe,event:{time:r(),logType:"error",title:"💥 "+l,subtitle:"end",data:{store:G(t.$id),action:G(l),args:c,error:f},groupId:v}})})},!0),t._customProperties.forEach(u=>{_.watch(()=>_.unref(t[u]),(i,l)=>{n.notifyComponentUpdate(),n.sendInspectorState(F),ce&&n.addTimelineEvent({layerId:oe,event:{time:r(),title:"Change",subtitle:u,data:{newValue:i,oldValue:l},groupId:ee}})},{deep:!0})}),t.$subscribe(({events:u,type:i},l)=>{if(n.notifyComponentUpdate(),n.sendInspectorState(F),!ce)return;const c={time:r(),title:eu(i),data:tu({store:G(t.$id)},Qs(u)),groupId:ee};i===Y.patchFunction?c.subtitle="⤵️":i===Y.patchObject?c.subtitle="🧩":u&&!Array.isArray(u)&&(c.subtitle=u.type),u&&(c.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:u}}),n.addTimelineEvent({layerId:oe,event:c})},{detached:!0,flush:"sync"});const o=t._hotUpdate;t._hotUpdate=_.markRaw(u=>{o(u),n.addTimelineEvent({layerId:oe,event:{time:r(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:G(t.$id),info:G("HMR update")}}}),n.notifyComponentUpdate(),n.sendInspectorTree(F),n.sendInspectorState(F)});const{$dispose:s}=t;t.$dispose=()=>{s(),n.notifyComponentUpdate(),n.sendInspectorTree(F),n.sendInspectorState(F),n.getSettings().logStoreChanges&&N(`Disposed "${t.$id}" store 🗑`)},n.notifyComponentUpdate(),n.sendInspectorTree(F),n.sendInspectorState(F),n.getSettings().logStoreChanges&&N(`"${t.$id}" store installed 🆕`)})}let vr=0,ee;function Sn(e,t,n){const r=t.reduce((o,s)=>(o[s]=_.toRaw(e)[s],o),{});for(const o in r)e[o]=function(){const s=vr,u=n?new Proxy(e,{get(...l){return ee=s,Reflect.get(...l)},set(...l){return ee=s,Reflect.set(...l)}}):e;ee=s;const i=r[o].apply(u,arguments);return ee=void 0,i}}function ou({app:e,store:t,options:n}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!n.state,!t._p._testing){Sn(t,Object.keys(n.actions),t._isOptionsAPI);const r=t._hotUpdate;_.toRaw(t)._hotUpdate=function(o){r.apply(this,arguments),Sn(t,Object.keys(o._hmrPayload.actions),!!t._isOptionsAPI)}}ru(e,t)}}function su(){const e=_.effectScope(!0),t=e.run(()=>_.ref({}));let n=[],r=[];const o=_.markRaw({install(s){Te(o),o._a=s,s.provide(fr,o),s.config.globalProperties.$pinia=o,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Q&&nu(s,o),r.forEach(u=>n.push(u)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Q&&typeof Proxy<"u"&&o.use(ou),o}function yr(e,t){for(const n in t){const r=t[n];if(!(n in e))continue;const o=e[n];ie(o)&&ie(r)&&!_.isRef(r)&&!_.isReactive(r)?e[n]=yr(o,r):e[n]=r}return e}const Or=()=>{};function Tn(e,t,n,r=Or){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&_.getCurrentScope()&&_.onScopeDispose(o),o}function ae(e,...t){e.slice().forEach(n=>{n(...t)})}const uu=e=>e(),Cn=Symbol(),Ke=Symbol();function et(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];ie(o)&&ie(r)&&e.hasOwnProperty(n)&&!_.isRef(r)&&!_.isReactive(r)?e[n]=et(o,r):e[n]=r}return e}const iu=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function au(e){return!ie(e)||!Object.prototype.hasOwnProperty.call(e,iu)}const{assign:j}=Object;function bn(e){return!!(_.isRef(e)&&e.effect)}function Dn(e,t,n,r){const{state:o,actions:s,getters:u}=t,i=n.state.value[e];let l;function c(){!i&&(process.env.NODE_ENV==="production"||!r)&&(n.state.value[e]=o?o():{});const v=process.env.NODE_ENV!=="production"&&r?_.toRefs(_.ref(o?o():{}).value):_.toRefs(n.state.value[e]);return j(v,s,Object.keys(u||{}).reduce((f,O)=>(process.env.NODE_ENV!=="production"&&O in v&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${O}" in store "${e}".`),f[O]=_.markRaw(_.computed(()=>{Te(n);const d=n._s.get(e);return u[O].call(d,d)})),f),{}))}return l=tt(e,c,t,n,r,!0),l}function tt(e,t,n={},r,o,s){let u;const i=j({actions:{}},n);if(process.env.NODE_ENV!=="production"&&!r._e.active)throw new Error("Pinia destroyed");const l={deep:!0};process.env.NODE_ENV!=="production"&&(l.onTrigger=y=>{c?d=y:c==!1&&!T._hotUpdating&&(Array.isArray(d)?d.push(y):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let c,v,f=[],O=[],d;const p=r.state.value[e];!s&&!p&&(process.env.NODE_ENV==="production"||!o)&&(r.state.value[e]={});const S=_.ref({});let g;function m(y){let E;c=v=!1,process.env.NODE_ENV!=="production"&&(d=[]),typeof y=="function"?(y(r.state.value[e]),E={type:Y.patchFunction,storeId:e,events:d}):(et(r.state.value[e],y),E={type:Y.patchObject,payload:y,storeId:e,events:d});const I=g=Symbol();_.nextTick().then(()=>{g===I&&(c=!0)}),v=!0,ae(f,E,r.state.value[e])}const D=s?function(){const{state:E}=n,I=E?E():{};this.$patch(P=>{j(P,I)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`)}:Or;function b(){u.stop(),f=[],O=[],r._s.delete(e)}const V=(y,E="")=>{if(Cn in y)return y[Ke]=E,y;const I=function(){Te(r);const P=Array.from(arguments),M=[],X=[];function $(w){M.push(w)}function C(w){X.push(w)}ae(O,{args:P,name:I[Ke],store:T,after:$,onError:C});let z;try{z=y.apply(this&&this.$id===e?this:T,P)}catch(w){throw ae(X,w),w}return z instanceof Promise?z.then(w=>(ae(M,w),w)).catch(w=>(ae(X,w),Promise.reject(w))):(ae(M,z),z)};return I[Cn]=!0,I[Ke]=E,I},B=_.markRaw({actions:{},getters:{},state:[],hotState:S}),L={_p:r,$id:e,$onAction:Tn.bind(null,O),$patch:m,$reset:D,$subscribe(y,E={}){const I=Tn(f,y,E.detached,()=>P()),P=u.run(()=>_.watch(()=>r.state.value[e],M=>{(E.flush==="sync"?v:c)&&y({storeId:e,type:Y.direct,events:d},M)},j({},l,E)));return I},$dispose:b},T=_.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Q?j({_hmrPayload:B,_customProperties:_.markRaw(new Set)},L):L);r._s.set(e,T);const x=(r._a&&r._a.runWithContext||uu)(()=>r._e.run(()=>(u=_.effectScope()).run(()=>t({action:V}))));for(const y in x){const E=x[y];if(_.isRef(E)&&!bn(E)||_.isReactive(E))process.env.NODE_ENV!=="production"&&o?S.value[y]=_.toRef(x,y):s||(p&&au(E)&&(_.isRef(E)?E.value=p[y]:et(E,p[y])),r.state.value[e][y]=E),process.env.NODE_ENV!=="production"&&B.state.push(y);else if(typeof E=="function"){const I=process.env.NODE_ENV!=="production"&&o?E:V(E,y);x[y]=I,process.env.NODE_ENV!=="production"&&(B.actions[y]=E),i.actions[y]=E}else process.env.NODE_ENV!=="production"&&bn(E)&&(B.getters[y]=s?n.getters[y]:E,Q&&(x._getters||(x._getters=_.markRaw([]))).push(y))}if(j(T,x),j(_.toRaw(T),x),Object.defineProperty(T,"$state",{get:()=>process.env.NODE_ENV!=="production"&&o?S.value:r.state.value[e],set:y=>{if(process.env.NODE_ENV!=="production"&&o)throw new Error("cannot set hotState");m(E=>{j(E,y)})}}),process.env.NODE_ENV!=="production"&&(T._hotUpdate=_.markRaw(y=>{T._hotUpdating=!0,y._hmrPayload.state.forEach(E=>{if(E in T.$state){const I=y.$state[E],P=T.$state[E];typeof I=="object"&&ie(I)&&ie(P)?yr(I,P):y.$state[E]=P}T[E]=_.toRef(y.$state,E)}),Object.keys(T.$state).forEach(E=>{E in y.$state||delete T[E]}),c=!1,v=!1,r.state.value[e]=_.toRef(y._hmrPayload,"hotState"),v=!0,_.nextTick().then(()=>{c=!0});for(const E in y._hmrPayload.actions){const I=y[E];T[E]=V(I,E)}for(const E in y._hmrPayload.getters){const I=y._hmrPayload.getters[E],P=s?_.computed(()=>(Te(r),I.call(T,T))):I;T[E]=P}Object.keys(T._hmrPayload.getters).forEach(E=>{E in y._hmrPayload.getters||delete T[E]}),Object.keys(T._hmrPayload.actions).forEach(E=>{E in y._hmrPayload.actions||delete T[E]}),T._hmrPayload=y._hmrPayload,T._getters=y._getters,T._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Q){const y={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(E=>{Object.defineProperty(T,E,j({value:T[E]},y))})}return r._p.forEach(y=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Q){const E=u.run(()=>y({store:T,app:r._a,pinia:r,options:i}));Object.keys(E||{}).forEach(I=>T._customProperties.add(I)),j(T,E)}else j(T,u.run(()=>y({store:T,app:r._a,pinia:r,options:i})))}),process.env.NODE_ENV!=="production"&&T.$state&&typeof T.$state=="object"&&typeof T.$state.constructor=="function"&&!T.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
8
+ state: () => new MyClass()
9
+ Found in store "${T.$id}".`),p&&s&&n.hydrate&&n.hydrate(T.$state,p),c=!0,v=!0,T}/*! #__NO_SIDE_EFFECTS__ */function Ar(e,t,n){let r;const o=typeof t=="function";r=o?n:t;function s(u,i){const l=_.hasInjectionContext();if(u=(process.env.NODE_ENV==="test"&&me&&me._testing?null:u)||(l?_.inject(fr,null):null),u&&Te(u),process.env.NODE_ENV!=="production"&&!me)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
10
+ See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
11
+ This will fail in production.`);u=me,u._s.has(e)||(o?tt(e,t,r,u):Dn(e,r,u),process.env.NODE_ENV!=="production"&&(s._pinia=u));const c=u._s.get(e);if(process.env.NODE_ENV!=="production"&&i){const v="__hot:"+e,f=o?tt(v,t,r,u,!0):Dn(v,j({},r),u,!0);i._hotUpdate(f),delete u.state.value[v],u._s.delete(v)}if(process.env.NODE_ENV!=="production"&&Q){const v=_.getCurrentInstance();if(v&&v.proxy&&!i){const f=v.proxy,O="_pStores"in f?f._pStores:f._pStores={};O[e]=c}}return c}return s.$id=e,s}function Sr(e){const t=_.toRaw(e),n={};for(const r in t){const o=t[r];o.effect?n[r]=_.computed({get:()=>e[r],set(s){e[r]=s}}):(_.isRef(o)||_.isReactive(o))&&(n[r]=_.toRef(e,r))}return n}function lu(e,t){if(e==null)return;let n=e;for(let r=0;r<t.length;r++){if(n===void 0||n[t[r]]===void 0)return;if(n===null||n[t[r]]===null)return null;n=n[t[r]]}return n}function Et(e,t,n){if(n.length===0)return t;const r=n[0];return n.length>1&&(t=Et(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r)?Number.isInteger(Number(n[1]))?[]:{}:e[r],t,Array.prototype.slice.call(n,1))),Number.isInteger(Number(r))&&Array.isArray(e)?e.slice()[r]:Object.assign({},e,{[r]:t})}function Tr(e,t){if(e==null||t.length===0)return e;if(t.length===1){if(e==null)return e;if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.slice.call(e,0).splice(t[0],1);const n={};for(const r in e)n[r]=e[r];return delete n[t[0]],n}if(e[t[0]]==null){if(Number.isInteger(t[0])&&Array.isArray(e))return Array.prototype.concat.call([],e);const n={};for(const r in e)n[r]=e[r];return n}return Et(e,Tr(e[t[0]],Array.prototype.slice.call(t,1)),[t[0]])}function Cr(e,t){return t.map(n=>n.split(".")).map(n=>[n,lu(e,n)]).filter(n=>n[1]!==void 0).reduce((n,r)=>Et(n,r[1],r[0]),{})}function br(e,t){return t.map(n=>n.split(".")).reduce((n,r)=>Tr(n,r),e)}function In(e,{storage:t,serializer:n,key:r,debug:o,pick:s,omit:u,beforeHydrate:i,afterHydrate:l},c,v=!0){try{v&&(i==null||i(c));const f=t.getItem(r);if(f){const O=n.deserialize(f),d=s?Cr(O,s):O,p=u?br(d,u):d;e.$patch(p)}v&&(l==null||l(c))}catch(f){o&&console.error("[pinia-plugin-persistedstate]",f)}}function kn(e,{storage:t,serializer:n,key:r,debug:o,pick:s,omit:u}){try{const i=s?Cr(e,s):e,l=u?br(i,u):i,c=n.serialize(l);t.setItem(r,c)}catch(i){o&&console.error("[pinia-plugin-persistedstate]",i)}}function cu(e,t){return typeof e=="function"?e(t):typeof e=="string"?e:t}function fu(e,t,n){const{pinia:r,store:o,options:{persist:s=n}}=e;if(!s)return;// v8 ignore if -- @preserve
12
+ if(!(o.$id in r.state.value)){const i=r._s.get(o.$id.replace("__hot:",""));i&&Promise.resolve().then(()=>i.$persist());return}const u=(Array.isArray(s)?s:s===!0?[{}]:[s]).map(t);o.$hydrate=({runHooks:i=!0}={})=>{u.forEach(l=>{In(o,l,e,i)})},o.$persist=()=>{u.forEach(i=>{kn(o.$state,i)})},u.forEach(i=>{In(o,i,e),o.$subscribe((l,c)=>kn(c,i),{detached:!0})})}function du(e={}){return function(t){fu(t,n=>{const r=cu(n.key,t.store.$id);return{key:(e.key?e.key:o=>o)(r),debug:n.debug??e.debug??!1,serializer:n.serializer??e.serializer??{serialize:o=>JSON.stringify(o),deserialize:o=>JSON.parse(o)},storage:n.storage??e.storage??window.localStorage,beforeHydrate:n.beforeHydrate??e.beforeHydrate,afterHydrate:n.afterHydrate??e.afterHydrate,pick:n.pick,omit:n.omit}},e.auto??!1)}}var _u=du();const ht=su();ht.use(_u);const Dr=Ar("modelComp",()=>{const e=_.ref(""),t=_.ref([]),n=_.ref([]),r=_.ref({}),o=_.ref([]),s=_.ref([]),u=_.ref(""),i=_.ref("view"),l=_.ref(!1),c=_.ref(!1),v=_.ref([]),f=_.ref(""),O=_.ref(!1),d=_.ref(""),p=_.ref(null),S=_.ref([]),g=_.ref(-1),m=_.ref(!1),D=_.ref({}),b=_.ref("data,structure,structureMethod,gridLayout,extend,related"),V=_.ref(!1),B=_.ref(!1),L=_.ref(!1),T=_.ref(),ne=A=>{e.value=A},x=A=>{T.value=A},y=A=>{L.value=A},E=A=>{V.value=A},I=A=>{B.value=A},P=A=>{D.value=A},M=A=>{n.value=A},X=A=>{r.value=A},$=A=>{t.value=A},C=A=>{m.value=A},z=A=>{S.value=A},w=A=>{p.value=A},J=A=>{O.value=A},q=A=>{d.value=A},H=A=>{c.value=A},re=A=>{v.value=A},be=A=>{l.value=A},he=A=>{o.value=A},kr=A=>{s.value=A},wr=A=>{u.value=A},Pr=A=>{i.value=A},Rr=A=>{f.value=A},Nr=A=>{g.value=A},Vr=()=>{try{const A=localStorage.getItem("model-store");A&&JSON.parse(A).refreshTable!==void 0&&(B.value=!1)}catch(A){console.error("Failed to restore from storage:",A)}},xr=()=>({refreshTable:B.value}),Fr=()=>{try{localStorage.setItem("model-store",JSON.stringify(xr()))}catch(A){console.error("Failed to save to storage:",A)}};return _.watch(()=>[B.value],()=>{Fr()},{deep:!0,immediate:!0}),Vr(),{lockingPage:e,itemData:t,itemGridData:n,itemExtendData:r,originalData:o,extraContents:s,nodeDev:u,isEdit:i,isRefreshCurStructure:l,isSubmitCurStructure:c,curStructureCompIds:v,systemPath:f,freshContent:O,routeToChildPath:d,cacheUpdatingData:p,tableViewContents:S,activeItemIndex:g,tableLoading:m,pageMapState:D,payloadTypes:b,fixMenuStatus:V,refreshTable:B,refreshLogin:L,loginInform:T,setLoginInform:x,setRefreshLogin:y,setLockingPage:ne,setRefreshTable:I,setPageMapState:P,setItemGridData:M,setItemExtendData:X,setItemData:$,setTableLoading:C,setRouteToChildPath:q,setTableViewContents:z,setCacheUpdatingData:w,setFreshContent:J,setCurStructureCompIds:re,setSubmitCurStructure:H,setRefreshCurStructure:be,setFixMenuStatus:E,setActiveItemIndex:Nr,setSystemPath:Rr,setIsEdit:Pr,setNodeDev:wr,setExtraContents:kr,setOriginalData:he}}),pu=Dr(ht),{loginInform:ze}=Sr(pu),Ve=_.ref(!0),Eu=[{path:"/tenant",name:"Tenant",component:async()=>Promise.resolve().then(()=>require("./index-BJ-thkmN.cjs"))},{path:"/login",name:"Login",component:async()=>Promise.resolve().then(()=>require("./index-COowXWF7.cjs"))},{path:"/",name:"Model",component:async()=>Promise.resolve().then(()=>require("./index-CUp0Z80f.cjs")),children:[{path:"系统配置/站内信",name:"Message",component:async()=>Promise.resolve().then(()=>require("./index-DPIg2S6M.cjs"))},{path:"系统配置/自动生成",name:"Automatic",component:async()=>Promise.resolve().then(()=>require("./index-B2BAJXIH.cjs"))},{path:"平台管理/菜单管理",name:"Menu",component:async()=>Promise.resolve().then(()=>require("./index-BQO25T-T.cjs"))},{path:"平台管理/主菜单管理",name:"MainMenu",component:async()=>Promise.resolve().then(()=>require("./index-DBrXonf1.cjs"))},{path:"系统管理/个人中心",name:"PersonalCenter",component:async()=>Promise.resolve().then(()=>require("./index-DBhc2SoQ.cjs"))},{path:"系统维护/登录日志",name:"LoginLog",component:async()=>Promise.resolve().then(()=>require("./index-Ca3THBbJ.cjs"))},{path:"系统维护/操作日志",name:"OperateLog",component:async()=>Promise.resolve().then(()=>require("./index-BWpqDCVF.cjs"))},{path:"角色管理",name:"Role",component:async()=>Promise.resolve().then(()=>require("./index-W6w3oiQ2.cjs"))},{path:"部门管理",name:"Department",component:async()=>Promise.resolve().then(()=>require("./index-FJ_oMfF3.cjs"))},{path:"职位管理",name:"Position",component:async()=>Promise.resolve().then(()=>require("./index-DtlQjI5L.cjs"))},{path:"个人中心",name:"PersonalCenter",component:async()=>Promise.resolve().then(()=>require("./index-DNyLSjIf.cjs"))},{path:"log",name:"log",component:async()=>Promise.resolve().then(()=>require("./index-C3lScvOV.cjs"))}]}],Ir=gt.createRouter({history:gt.createWebHashHistory(),routes:Eu});Ir.beforeEach(async(e,t,n)=>{var o,s;const r=sessionStorage.getItem("loginToken");if(console.log(2321,r,e.path,ze.value),Ve.value&&!r&&e.path==="/"){Ve.value=!1,n();return}Ve.value=!1,!r&&e.path!=="/login"&&(!((o=ze.value)!=null&&o.account)||!((s=ze.value)!=null&&s.password))?n("/login"):n()});exports.defineStore=Ar;exports.isRouterInitializing=Ve;exports.pinia=ht;exports.router=Ir;exports.storeToRefs=Sr;exports.useModelComp=Dr;
@@ -1,9 +1,10 @@
1
- import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as m, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as _ } from "vue";
2
- import { S as x } from "./index-Dhr09zBK.js";
3
- import { Z as B } from "./index-CFeJYmGf.js";
1
+ import { defineComponent as C, reactive as k, ref as v, onMounted as D, nextTick as b, resolveComponent as i, resolveDirective as T, createElementBlock as g, openBlock as u, createVNode as t, withCtx as n, withDirectives as w, createElementVNode as p, createTextVNode as f } from "vue";
2
+ import { S as x } from "./index-DGwbEHLN.js";
3
+ import { Z as B } from "./index-BSCoLGXF.js";
4
4
  import { s as F } from "./index-CnjGqJZS.js";
5
- import { b as y } from "./index-cetb2cxj.js";
6
- import { u as S, p as I, s as N } from "./menu-z-45O0EF.js";
5
+ import { b as y } from "./index-DLLST1Nd.js";
6
+ import { u as S } from "./menu-CK0ndSHP.js";
7
+ import { p as I, s as N } from "./index-BmJV5eVh.js";
7
8
  import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
9
  const E = { class: "menu-module" }, M = {
9
10
  class: "table-wrap",
@@ -19,9 +20,9 @@ const E = { class: "menu-module" }, M = {
19
20
  (l = s.value) == null || l.setCurrentKey((o = a.value) == null ? void 0 : o.path), c.setActiveMenuPath("/平台管理/菜单管理");
20
21
  }), a.value && e.getInitialSubStructure((r = a.value) == null ? void 0 : r.path);
21
22
  }), (r, o) => {
22
- const l = i("el-tree"), d = i("el-splitter-panel"), f = i("el-splitter"), g = i("el-button"), h = T("loading");
23
- return u(), m("div", E, [
24
- t(f, null, {
23
+ const l = i("el-tree"), d = i("el-splitter-panel"), _ = i("el-splitter"), m = i("el-button"), h = T("loading");
24
+ return u(), g("div", E, [
25
+ t(_, null, {
25
26
  default: n(() => [
26
27
  t(d, {
27
28
  size: 208,
@@ -47,7 +48,7 @@ const E = { class: "menu-module" }, M = {
47
48
  }),
48
49
  t(d, { min: 500 }, {
49
50
  default: n(() => [
50
- w((u(), m("div", M, [
51
+ w((u(), g("div", M, [
51
52
  t(B, {
52
53
  itemData: e.menuPageData,
53
54
  changedContent: e.changedRow,
@@ -86,22 +87,22 @@ const E = { class: "menu-module" }, M = {
86
87
  ]),
87
88
  footer: n(() => [
88
89
  p("div", null, [
89
- t(g, {
90
+ t(m, {
90
91
  onClick: e.beforeDialogDestroy,
91
92
  id: "themeBorderButton"
92
93
  }, {
93
94
  default: n(() => o[0] || (o[0] = [
94
- _("取消")
95
+ f("取消")
95
96
  ])),
96
97
  _: 1,
97
98
  __: [0]
98
99
  }, 8, ["onClick"]),
99
- t(g, {
100
+ t(m, {
100
101
  id: "themeButton",
101
102
  onClick: e.clickSubmitForm
102
103
  }, {
103
104
  default: n(() => o[1] || (o[1] = [
104
- _(" 确认 ")
105
+ f(" 确认 ")
105
106
  ])),
106
107
  _: 1,
107
108
  __: [1]
@@ -113,7 +114,7 @@ const E = { class: "menu-module" }, M = {
113
114
  ]);
114
115
  };
115
116
  }
116
- }), q = /* @__PURE__ */ R(V, [["__scopeId", "data-v-74868a06"]]);
117
+ }), G = /* @__PURE__ */ R(V, [["__scopeId", "data-v-74868a06"]]);
117
118
  export {
118
- q as default
119
+ G as default
119
120
  };
@@ -1,6 +1,6 @@
1
1
  import { ref as x, onMounted as _, createElementBlock as g, openBlock as y, createVNode as C } from "vue";
2
- import { s as b } from "./index-jXcRil4X.js";
3
- import { c as s } from "./menu-z-45O0EF.js";
2
+ import { s as b } from "./index-c1EWDQO1.js";
3
+ import { c as s } from "./menu-CK0ndSHP.js";
4
4
  import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const A = (t, n, a) => {
6
6
  var r, d, p, m;
@@ -0,0 +1 @@
1
+ "use strict";const d=require("vue"),A=require("./menu-7kw8Lwp_.cjs"),N=require("./index--E8u7lHy.cjs"),fe=require("./index-T25jN7df.cjs"),I=require("./index-CW4qJdP8.cjs"),ie=require("./menuIndex-Ba-9R5jd.cjs"),S=require("./request-BC2w2vGr.cjs"),K=N.useModelComp(N.pinia),te=A.useUnit(N.pinia),C=A.useMenuState(N.pinia),{menus:le,configMenu:R,activeMenuPath:$,cacheStructures:B}=N.storeToRefs(C),J=d.ref(!1),ae=d.computed(()=>{var e,t;return[{key:"extraButton",contents:[]},{key:"rowButton",contents:[{label:"修改"}]},{key:"header",contents:[{label:"菜单名称",prop:"title",isFormColHidden:!1},{label:"菜单类型",prop:"menuType",formType:"select",options:[{label:"系统菜单",value:"集团"},{label:"公司",value:"公司"}],isTableColHidden:!1,isFormColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:(t=(e=A.cloneDeep(le.value))==null?void 0:e.map(l=>({...l,menuType:"系统菜单"})))==null?void 0:t.filter(l=>l.title!=="系统管理"&&l.title!=="平台管理")}]}),U=d.ref([]),O=d.ref([{label:"新建"}]),de=d.computed(()=>[{key:"extraButton",contents:O.value},{key:"rowButton",contents:[{label:"修改"},{label:"删除"}]},{key:"header",contents:[{label:"操作类型",prop:"operateType",formType:"select",options:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标",prop:"operateIcon",formType:"inputPopover",value:""},{label:"操作触发事件",prop:"trigger",formType:"select",options:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"配置一:",prop:"dialogConfig",formType:"button",value:"弹窗内容",isTableColHidden:!0},{label:"配置二:",prop:"contentConfig",formType:"button",value:"模块内容",isTableColHidden:!0},{label:"继承配置:",prop:"allowInherit",formType:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!1,isTableColHidden:!0},{label:"操作"}]},{key:"tableContents",contents:U.value}]),z=d.ref([]),k=d.ref({}),ge=d.ref({}),_=d.ref([{label:"菜单",prop:"path",isFormColHidden:!0,value:""},{label:"操作类型:",prop:"operateType",type:"select",contents:[{label:"新增",value:"新增"},{label:"编辑",value:"编辑"},{label:"删除",value:"删除"}],value:""},{label:"操作图标:",prop:"operateIcon",type:"inputPopover",value:""},{label:"操作触发事件:",prop:"trigger",type:"select",contents:[{label:"弹出弹窗",value:"openDialog"}],value:"openDialog"},{label:"生成的菜单图标:",prop:"menuIcon",type:"inputPopover",value:""},{label:"配置一:",prop:"dialogConfig",type:"button",value:"操作触发的弹窗结构"},{label:"配置二:",prop:"contentConfig",type:"button",value:"操作生成的模块结构",isFormColHidden:!1},{label:"",prop:"structureIds",type:"input",value:[],isFormColHidden:!0},{label:"继承配置:",prop:"allowInherit",type:"radio",contents:[{label:"是",value:!0},{label:"否",value:!1}],value:!0}]),j=e=>{var t;z.value=e?(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l:{...l,value:e?e[l==null?void 0:l.prop]:""}):_.value},ve=d.ref([{label:"查询"},{label:"重置"}]),ye=async()=>{},oe=e=>e.map(t=>t.childMenus&&t.childMenus.length>0?{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title,children:oe(t.childMenus)}:{...t,value:t==null?void 0:t.title,label:t==null?void 0:t.title}),g=d.reactive({show:!1,title:"菜单配置",width:"30%",type:"create"}),G=d.ref([]),h=d.ref({}),b=d.ref(null),ne=d.ref([]),ue=d.computed(()=>{var e;return(e=oe(le.value))==null?void 0:e.filter(t=>t.title!=="系统管理"&&t.title!=="平台管理")}),re=async e=>{var l,u,n,c;const t=await I.getInsofDataApi({key:{type:"subStructure",systemKey:sessionStorage.getItem("systemKey"),pageKey:e,version:1}});if(((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result){const r=(c=(n=t.data)==null?void 0:n.result)==null?void 0:c.map(p=>{var f;return{id:p==null?void 0:p.id,...(f=p==null?void 0:p.value)==null?void 0:f.pageData}});ne.value=r,C.setCacheStructures({key:"contentConfig",data:r})}},be=async e=>{var t;J.value=!0,b.value={...e,rootNode:ie.findRootNodeByPath(ue.value,e.path)},C.setCacheStructures(null),(e==null?void 0:e.level)===0?O.value.splice(0):(O.value=[{label:"新建"}],G.value=(t=e==null?void 0:e.path)==null?void 0:t.split("/")),await C.setConfigMenu(null),await re(e==null?void 0:e.path),await H(e)},he=e=>{switch(e){case"新建":return"create";case"修改":return"update";case"删除":return"delete"}},Ce=async(e,t)=>{var l,u;if(!b.value)return S.ElMessage.warning("请先选择菜单");if(g.type=he(e),G.value=[],K.setSubmitCurStructure(!1),te.setSelectTitle([]),h.value=A.cloneDeep(t),g.type!=="delete"){switch(g.type){case"create":j(null),await C.setConfigMenu(null);break;case"update":j(h.value),await C.setConfigMenu(h.value),console.log("clickRowButton",h.value);break}await d.nextTick(),g.title=`【${g.type==="create"?(l=b.value)==null?void 0:l.path:(u=h.value)==null?void 0:u.path}】菜单配置${e}`,g.show=!0}else await ce(h.value,g.type)},se=d.ref(!0),Ie=async e=>{var t;k.value=e,await C.setConfigMenu({...k.value,path:(t=b.value)==null?void 0:t.path}),se.value=(e==null?void 0:e.operateType)!=="新增"};d.watch(()=>se.value,async e=>{var t;await d.nextTick(),z.value=(t=_.value)==null?void 0:t.map(l=>l.prop==="dialogConfig"||l.prop==="contentConfig"||l.prop==="trigger"?l.prop==="contentConfig"?{...l,isFormColHidden:e}:l:{...l,value:k.value?k.value[l==null?void 0:l.prop]:""})},{immediate:!0,deep:!0});const ke=d.ref(null),Te=async(e,t)=>{var r,p,f,s,y;if(g.type==="create"){const a=(p=(r=B.value)==null?void 0:r.filter(i=>(i==null?void 0:i.key)===t))==null?void 0:p.flatMap(i=>i==null?void 0:i.data);K.setItemData(a),C.setCacheStructures({key:t,data:a})}if(console.log("getTriggerStructures1",e==null?void 0:e.structureIds,t),!(e!=null&&e.structureIds)||((f=e==null?void 0:e.structureIds)==null?void 0:f.length)===0)return;const l=(y=(s=e==null?void 0:e.structureIds)==null?void 0:s.filter(a=>(a==null?void 0:a.key)===t))==null?void 0:y.map(a=>a==null?void 0:a.id);let u=l==null?void 0:l.map(a=>{if(a)return I.getInsofDataApi({id:a})});const n=await Promise.all(u),c=n==null?void 0:n.every(a=>{var i;return((i=a==null?void 0:a.data)==null?void 0:i.code)===200});if(console.log("getTriggerStructures2",e==null?void 0:e.structureIds,t,n),c&&(n==null?void 0:n.length)>0){const a=n==null?void 0:n.map(i=>{var T,M,P,E,F,o,x;return{id:(P=(M=(T=i==null?void 0:i.data)==null?void 0:T.result)==null?void 0:M[0])==null?void 0:P.id,...(x=(o=(F=(E=i==null?void 0:i.data)==null?void 0:E.result)==null?void 0:F[0])==null?void 0:o.value)==null?void 0:x.pageData}});K.setItemData(a),C.setCacheStructures({key:t,data:a})}},Me=async e=>{var n,c,r,p,f;const t=e==="操作触发的弹窗结构"?"dialogConfig":"contentConfig";C.setButtonTriggerType(t),await Te(h.value,t);let l;(n=k.value)!=null&&n.subMenus&&((c=k.value)==null?void 0:c.subMenus.length)>0&&(l=(r=G.value)==null?void 0:r.map(s=>({value:s})),l.unshift({value:(p=h.value)==null?void 0:p.title}));let u;g.type==="create"?u={...k.value,path:(f=b.value)==null?void 0:f.path}:g.type==="update"&&(u=R.value),await C.setConfigMenu(u),te.setSelectTitle(l),K.setIsEdit("edit")},H=async e=>{var l,u,n,c,r,p;const t=await I.getInsofDataApi({key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:$.value+"/"+(e==null?void 0:e.path),tableId:""}});((l=t==null?void 0:t.data)==null?void 0:l.code)===200&&(u=t.data)!=null&&u.result&&(U.value=((c=(n=t.data)==null?void 0:n.result)==null?void 0:c.length)>0?(p=(r=t.data)==null?void 0:r.result)==null?void 0:p.map(f=>{var s;return{id:f==null?void 0:f.id,...(s=f==null?void 0:f.value)==null?void 0:s.tableData}}):[]),J.value=!1},q=async(e,t,l="contentConfig")=>{var u,n,c,r,p,f;try{let s,y;t==="create"?(s={key:{systemKey:sessionStorage.getItem("systemKey"),pageKey:$.value+"/"+((u=b.value)==null?void 0:u.path),type:"structure",rootNodePath:(c=(n=b.value)==null?void 0:n.rootNode)==null?void 0:c.path,structureBelong:l,parentTable:"",version:1},value:{pageData:e}},y=I.createInsofDataApi):t==="update"?(s={id:e==null?void 0:e.id,value:{pageData:e}},y=I.updateInsofDataApi):t==="delete"&&(s={id:e},y=I.deleteInsofDataApi);const a=await y(s);if(((r=a==null?void 0:a.data)==null?void 0:r.code)!==200)throw S.ElMessage.error("保存响应失败"),new Error("保存响应失败");const i=t==="create"?(p=a==null?void 0:a.data)==null?void 0:p.result:e==null?void 0:e.id;return{status:((f=a==null?void 0:a.data)==null?void 0:f.code)===200,data:{id:i,key:l}}}catch{S.ElMessage.error("保存响应失败")}},m=(e,t)=>{var f,s,y;const l=(f=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:f.map(a=>a==null?void 0:a.id),u=t.filter(a=>!(l!=null&&l.includes(a))),n=l==null?void 0:l.filter(a=>!t.includes(a));let c=null,r=null,p=null;return c=[...u,...n].filter(a=>a),r=(s=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:s.filter(a=>!(a!=null&&a.id)),p=(y=e==null?void 0:e.flatMap(a=>a==null?void 0:a.data))==null?void 0:y.filter(a=>a==null?void 0:a.id).filter(a=>Object.keys(a).length>1),{deleteIds:c,createComps:r,updateComps:p}},ee=(e,t)=>{var u,n,c,r,p,f;let l=[];return((u=t==null?void 0:t.deleteIds)==null?void 0:u.length)>0&&((n=t==null?void 0:t.deleteIds)==null||n.forEach(s=>{l.push(q(s,"delete",e))})),((c=t==null?void 0:t.createComps)==null?void 0:c.length)>0&&((r=t==null?void 0:t.createComps)==null||r.forEach(s=>{l.push(q(s,"create",e))})),((p=t==null?void 0:t.updateComps)==null?void 0:p.length)>0&&((f=t==null?void 0:t.updateComps)==null||f.forEach(s=>{s!=null&&s.id&&l.push(q(s,"update",e))})),l},De=e=>{const t=new Map;return e.forEach(l=>{t.set(l.id,l)}),Array.from(t.values())},Se=async(e,t)=>{var l,u,n,c,r,p,f;try{const s=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="contentConfig"),y=e==null?void 0:e.filter(o=>(o==null?void 0:o.key)==="dialogConfig");await d.nextTick();const a=(n=(u=(l=B.value)==null?void 0:l.filter(o=>(o==null?void 0:o.key)==="dialogConfig"))==null?void 0:u.flatMap(o=>o==null?void 0:o.data))==null?void 0:n.map(o=>o==null?void 0:o.id);let i=(p=(r=(c=B.value)==null?void 0:c.filter(o=>(o==null?void 0:o.key)==="contentConfig"))==null?void 0:r.flatMap(o=>o==null?void 0:o.data))==null?void 0:p.map(o=>o==null?void 0:o.id);i=[...i,...(f=ne.value)==null?void 0:f.map(o=>o==null?void 0:o.id)];const T=m(y,a),M=m(s,i),P=ee("dialogConfig",T),E=ee("contentConfig",M),F=[...P,...E];await Promise.all(F).then(o=>{var L,V,Q,W,X,Y,Z;if(!(o==null?void 0:o.every(v=>v.status)))return;let w=(L=o==null?void 0:o.flatMap(v=>v==null?void 0:v.data))==null?void 0:L.filter(v=>(v==null?void 0:v.id)!==null&&(v==null?void 0:v.id)!==void 0);if(((V=T==null?void 0:T.updateComps)==null?void 0:V.length)===0&&g.type==="update"){const v=(W=(Q=h.value)==null?void 0:Q.structureIds)==null?void 0:W.filter(D=>(D==null?void 0:D.key)==="dialogConfig");w=[...w,...v]}if(((X=M==null?void 0:M.updateComps)==null?void 0:X.length)===0&&g.type==="update"){const v=(Z=(Y=h.value)==null?void 0:Y.structureIds)==null?void 0:Z.filter(D=>(D==null?void 0:D.key)==="contentConfig");w=[...w,...v]}const pe=De(w);ce({...t,isNotInitial:!0,structureIds:pe},g.type)}).catch(o=>{S.ElMessage.error(o)})}catch(s){throw S.ElMessage.error(s),new Error(s)}},ce=async(e,t)=>{var n,c;let l,u;t==="create"?(l={key:{type:"menuConfigData",systemKey:sessionStorage.getItem("systemKey"),pageKey:$.value+"/"+((n=b.value)==null?void 0:n.path),tableId:"",rootNodePath:e==null?void 0:e.rootNodePath},value:{tableData:e}},u=I.createInsofDataApi):t==="update"?(l={id:e==null?void 0:e.id,value:{tableData:e}},u=I.updateInsofDataApi):t==="delete"&&(l={ids:[e.id,...(c=e==null?void 0:e.structureIds)==null?void 0:c.map(r=>r.id)]},u=I.batchDeleteInsofDataApi),fe.handleSubmitAsync(u,l,t).then(r=>{t==="create"&&U.value.push({...e,id:r}),t&&r&&S.ElMessage.success("响应成功"),H(b.value)})},we=async()=>{var l,u,n,c,r;const e=JSON.parse(A.cloneDeep(JSON.stringify(B.value)));await d.nextTick();const t=g.type==="create"?{...R.value,rootNodePath:(u=(l=b.value)==null?void 0:l.rootNode)==null?void 0:u.path}:{...R.value,rootNodePath:(c=(n=b.value)==null?void 0:n.rootNode)==null?void 0:c.path,id:(r=h.value)==null?void 0:r.id};await Se(e,t),k.value={},g.show=!1,await H(b.value)},Ne=()=>{g.show=!1},Ae={comp:"Group",name:"/平台管理/菜单管理",compData:[{key:"groupContents",contents:[{comp:"Table",compData:ae.value,name:""}]}]},Pe=Object.freeze(Object.defineProperty({__proto__:null,beforeDialogDestroy:Ne,buttonValue:ve,changeTrigger:Ie,changedRow:ge,clickNodeTrigger:be,clickRowButton:Ce,clickSubmitForm:we,clickTrigger:Me,dialogInfo:g,formatFormData:j,getInitialSubStructure:re,getTableDataAsync:H,handleItemDataChange:ye,inputForm:k,menuPageData:de,operatingForm:ke,pageData:ae,renderFormData:z,tableLoading:J,tempMenuPageData:Ae,treeData:ue},Symbol.toStringTag,{value:"Module"}));exports.State=Pe;