@gkd-kit/inspect 0.0.1762868565298 → 0.0.1763020669783

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 (48) hide show
  1. package/dist/404.html +3 -3
  2. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-B6w90aCZ.js → ActionCard.vue_vue_type_script_setup_true_lang-c4Bz1EAG.js} +2 -2
  3. package/dist/assets/{ActionCard.vue_vue_type_script_setup_true_lang-B6w90aCZ.js.map → ActionCard.vue_vue_type_script_setup_true_lang-c4Bz1EAG.js.map} +1 -1
  4. package/dist/assets/{DevicePage-ByPGJ0aD.js → DevicePage-Ige4Guqi.js} +2 -2
  5. package/dist/assets/{DevicePage-ByPGJ0aD.js.map → DevicePage-Ige4Guqi.js.map} +1 -1
  6. package/dist/assets/{HomePage-DXcJOJDf.js → HomePage-E0mzXM61.js} +2 -2
  7. package/dist/assets/{HomePage-DXcJOJDf.js.map → HomePage-E0mzXM61.js.map} +1 -1
  8. package/dist/assets/{ImportPage-C_buMKNp.js → ImportPage-g2umoobr.js} +2 -2
  9. package/dist/assets/{ImportPage-C_buMKNp.js.map → ImportPage-g2umoobr.js.map} +1 -1
  10. package/dist/assets/{Input-Bu1zkZqG.js → Input-CphJuG1P.js} +2 -2
  11. package/dist/assets/{Input-Bu1zkZqG.js.map → Input-CphJuG1P.js.map} +1 -1
  12. package/dist/assets/{SelectorPage-DwR2lMWO.js → SelectorPage-CzhVFSr6.js} +2 -2
  13. package/dist/assets/{SelectorPage-DwR2lMWO.js.map → SelectorPage-CzhVFSr6.js.map} +1 -1
  14. package/dist/assets/{SnapshotPage-B8K7ok0G.js → SnapshotPage-BP3BeJts.js} +4 -4
  15. package/dist/assets/SnapshotPage-BP3BeJts.js.map +1 -0
  16. package/dist/assets/{SvgPage-CsHnHpAV.js → SvgPage-CXP8w7TF.js} +2 -2
  17. package/dist/assets/{SvgPage-CsHnHpAV.js.map → SvgPage-CXP8w7TF.js.map} +1 -1
  18. package/dist/assets/{TrackGraph-W_5uV3DI.js → TrackGraph-D9kV-p_-.js} +3 -3
  19. package/dist/assets/{TrackGraph-W_5uV3DI.js.map → TrackGraph-D9kV-p_-.js.map} +1 -1
  20. package/dist/assets/{_404Page-BWdRvKUH.js → _404Page-DedPS7Hc.js} +2 -2
  21. package/dist/assets/{_404Page-BWdRvKUH.js.map → _404Page-DedPS7Hc.js.map} +1 -1
  22. package/dist/assets/chunk-BAaEznD1.js +3 -0
  23. package/dist/assets/{chunk-BI8hdTN6.js.map → chunk-BAaEznD1.js.map} +1 -1
  24. package/dist/assets/{dayjs.min-BrZengSD.js → dayjs.min-DuNYJr0r.js} +2 -2
  25. package/dist/assets/{dayjs.min-BrZengSD.js.map → dayjs.min-DuNYJr0r.js.map} +1 -1
  26. package/dist/assets/{error-BWvISDV2.js → error-_RWs3m0D.js} +2 -2
  27. package/dist/assets/{error-BWvISDV2.js.map → error-_RWs3m0D.js.map} +1 -1
  28. package/dist/assets/{import-BEGFL-lk.js → import-DrACbIiM.js} +2 -2
  29. package/dist/assets/{import-BEGFL-lk.js.map → import-DrACbIiM.js.map} +1 -1
  30. package/dist/assets/{index-CRHLnC_6.js → index-B-Xsa1QT.js} +3 -3
  31. package/dist/assets/{index-CRHLnC_6.js.map → index-B-Xsa1QT.js.map} +1 -1
  32. package/dist/assets/index-CqH0IuEk.css +1 -0
  33. package/dist/assets/{index-BrRUBLO2.js → index-DGsSqDmi.js} +8 -6
  34. package/dist/assets/index-DGsSqDmi.js.map +1 -0
  35. package/dist/assets/{jszip.min-aD43wxrg.js → jszip.min-BhNhLAdm.js} +2 -2
  36. package/dist/assets/{jszip.min-aD43wxrg.js.map → jszip.min-BhNhLAdm.js.map} +1 -1
  37. package/dist/assets/{node-Cz54ka33.js → node-CmMmyrOc.js} +2 -2
  38. package/dist/assets/{node-Cz54ka33.js.map → node-CmMmyrOc.js.map} +1 -1
  39. package/dist/assets/{snapshot-DH6Bs9o_.js → snapshot-D3v3rjHS.js} +2 -2
  40. package/dist/assets/{snapshot-DH6Bs9o_.js.map → snapshot-D3v3rjHS.js.map} +1 -1
  41. package/dist/assets/{table-1EBiKGks.js → table-Bw5_wWdT.js} +2 -2
  42. package/dist/assets/{table-1EBiKGks.js.map → table-Bw5_wWdT.js.map} +1 -1
  43. package/dist/index.html +3 -3
  44. package/package.json +1 -1
  45. package/dist/assets/SnapshotPage-B8K7ok0G.js.map +0 -1
  46. package/dist/assets/chunk-BI8hdTN6.js +0 -3
  47. package/dist/assets/index-BrRUBLO2.js.map +0 -1
  48. package/dist/assets/index-DVlzB3aj.css +0 -1
@@ -0,0 +1 @@
1
+ @charset "UTF-8";html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.\[--svg-h\:24px\]{--svg-h:24px}.pointer-events-none,[pointer-events-none=""]{pointer-events:none}.absolute,[absolute=""]{position:absolute}.fixed,[fixed=""]{position:fixed}.relative,[relative=""]{position:relative}.bottom-0,[bottom-0=""]{bottom:0}.bottom-2px,[bottom-2px=""]{bottom:2px}.bottom-8px,[bottom-8px=""]{bottom:8px}.left-\[calc\(50\%-1px\)\]{left:calc(50% - 1px)}.left-0,[left-0=""]{left:0}.left-2px,[left-2px=""]{left:2px}.left-4px,[left-4px=""]{left:4px}.left-8px,[left-8px=""]{left:8px}.left-full,[left-full=""]{left:100%}.right-0,[right-0=""]{right:0}.right-2px,[right-2px=""]{right:2px}.right-full,[right-full=""]{right:100%}.top--12px,[top--12px=""]{top:-12px}.top-\[calc\(50\%-1px\)\]{top:calc(50% - 1px)}.top-0,[top-0=""]{top:0}.top-2px,[top-2px=""]{top:2px}.top-4px,[top-4px=""]{top:4px}[right-500=""]{right:125rem}.z-1,[z-1=""]{z-index:1}.z-2,[z-2=""]{z-index:2}.z-2000,[z-2000=""]{z-index:2000}.z-3000,[z-3000=""]{z-index:3000}.z-4,[z-4=""]{z-index:4}.grid,[grid=""]{display:grid}.my-10px,[my-10px=""]{margin-top:10px;margin-bottom:10px}.m-b-4px,[m-b-4px=""]{margin-bottom:4px}.m-r-4px,[m-r-4px=""]{margin-right:4px}.mb-20px,[mb-20px=""]{margin-bottom:20px}.mb-24px,[mb-24px=""]{margin-bottom:24px}.mb-8px,[mb-8px=""]{margin-bottom:8px}.ml-12px{margin-left:12px}.ml-8px{margin-left:8px}.mr-24px{margin-right:24px}.mt-10px,[mt-10px=""]{margin-top:10px}.mt-4px,[mt-4px=""]{margin-top:4px}.box-border,[box-border=""]{box-sizing:border-box}.block{display:block}.inline-block,[inline-block=""]{display:inline-block}.hidden{display:none}.size-20px,[size-20px=""]{width:20px;height:20px}[size~="[calc(100%-4px)]"]{width:calc(100% - 4px);height:calc(100% - 4px)}[size~="16"]{width:4rem;height:4rem}[size~="20"]{width:5rem;height:5rem}[size~="24"]{width:6rem;height:6rem}.h-\[calc\(100\%-10px\)\]{height:calc(100% - 10px)}.h-\[calc\(100\%-2px\)\]{height:calc(100% - 2px)}.h-10px,[h-10px=""]{height:10px}.h-12px,[h-12px=""]{height:12px}.h-15px,[h-15px=""]{height:15px}.h-1px,[h-1px=""]{height:1px}.h-200px,[h-200px=""]{height:200px}.h-20px,[h-20px=""]{height:20px}.h-24px,[h-24px=""]{height:24px}.h-8px,[h-8px=""]{height:8px}.h-full,[h-full=""]{height:100%}.max-w-\[calc\(var\(--gkd-w\)\*0\.35\)\]{max-width:calc(var(--gkd-w) * .35)}.max-w-120px,[max-w-120px=""]{max-width:120px}.max-w-500px,[max-w-500px=""]{max-width:500px}.max-w-full,[max-w-full=""]{max-width:100%}.min-h-24px,[min-h-24px=""]{min-height:24px}.min-w-320px{min-width:320px}.w-\[calc\(var\(--gkd-w\)\*0\.12\)\]{width:calc(var(--gkd-w) * .12)}.w-1000px,[w-1000px=""]{width:1000px}.w-150px{width:150px}.w-1px,[w-1px=""]{width:1px}.w-200px,[w-200px=""]{width:200px}.w-40px,[w-40px=""]{width:40px}.w-420px{width:420px}.w-5px,[w-5px=""]{width:5px}.w-8px,[w-8px=""]{width:8px}.w-full,[w-full=""]{width:100%}[h~="[--gkd-h]"]{height:var(--gkd-h)}[w~="[--gkd-w]"]{width:var(--gkd-w)}.flex,[flex=""]{display:flex}[flex~="[2]"]{flex:2}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.flex-col,[flex-col=""]{flex-direction:column}.flex-wrap,[flex-wrap=""]{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:translateY(0);animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce,[animate-bounce=""]{animation:bounce 1s linear infinite}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.cursor-crosshair,[cursor-crosshair=""]{cursor:crosshair}.cursor-move,[cursor-move=""]{cursor:move}.cursor-ew-resize,[cursor-ew-resize=""]{cursor:ew-resize}.flex-items-center,.items-center,[flex-items-center=""],[items-center=""]{align-items:center}.self-stretch,[self-stretch=""]{align-self:stretch}.justify-center,[justify-center=""]{justify-content:center}.justify-between,[justify-between=""]{justify-content:space-between}.gap-10px,[gap-10px=""]{gap:10px}.gap-12px,[gap-12px=""]{gap:12px}.gap-16px,[gap-16px=""]{gap:16px}.gap-24px,[gap-24px=""]{gap:24px}.gap-2px,[gap-2px=""]{gap:2px}.gap-4px,[gap-4px=""]{gap:4px}.gap-5px,[gap-5px=""]{gap:5px}.gap-8px,[gap-8px=""]{gap:8px}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.overflow-x-scroll,[overflow-x-scroll=""]{overflow-x:scroll}.whitespace-nowrap,[whitespace-nowrap=""]{white-space:nowrap}.whitespace-pre,[whitespace-pre=""]{white-space:pre}.whitespace-pre-wrap,[whitespace-pre-wrap=""]{white-space:pre-wrap}.break-all,[break-all=""]{word-break:break-all}.b,.b-1px,.border-1px,[b-1px=""],[border-1px=""]{border-width:1px}.b-blue,[b-blue=""]{--un-border-opacity:1;border-color:rgb(96 165 250 / var(--un-border-opacity))}.b-gray-200,[b-gray-200=""]{--un-border-opacity:1;border-color:rgb(229 231 235 / var(--un-border-opacity))}.b-red,[b-red=""]{--un-border-opacity:1;border-color:rgb(248 113 113 / var(--un-border-opacity))}.border-indigo-600,[border-indigo-600=""]{--un-border-opacity:1;border-color:rgb(79 70 229 / var(--un-border-opacity))}[b~="#ccc"]{--un-border-opacity:1;border-color:rgb(204 204 204 / var(--un-border-opacity))}.rounded-4px,[rounded-4px=""]{border-radius:4px}.b-solid,[b-solid=""]{border-style:solid}.border-dashed,[border-dashed=""]{border-style:dashed}.b-b-solid,[b-b-solid=""]{border-bottom-style:solid}.bg-\[\#f9f9f9\]{--un-bg-opacity:1;background-color:rgb(249 249 249 / var(--un-bg-opacity))}.bg-\[length\:10px_1px\]{background-size:10px 1px}.bg-\[length\:1px_10px\]{background-size:1px 10px}.bg-\[rgba\(256\,256\,256\,0\.7\)\]{--un-bg-opacity:.7;background-color:rgba(256,256,256,var(--un-bg-opacity))}.bg-gray,[bg-gray=""]{--un-bg-opacity:1;background-color:rgb(156 163 175 / var(--un-bg-opacity))}.bg-light-600{--un-bg-opacity:1;background-color:rgb(241 243 245 / var(--un-bg-opacity))}.bg-red,[bg-red=""]{--un-bg-opacity:1;background-color:rgb(248 113 113 / var(--un-bg-opacity))}.bg-red-200{--un-bg-opacity:1;background-color:rgb(254 202 202 / var(--un-bg-opacity))}.bg-red-300,[bg-red-300=""]{--un-bg-opacity:1;background-color:rgb(252 165 165 / var(--un-bg-opacity))}.bg-white,[bg-white=""]{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}[bg~="#909399"]{--un-bg-opacity:1;background-color:rgb(144 147 153 / var(--un-bg-opacity))}[bg~="#eee"]{--un-bg-opacity:1;background-color:rgb(238 238 238 / var(--un-bg-opacity))}[bg~="#efeff5"]{--un-bg-opacity:1;background-color:rgb(239 239 245 / var(--un-bg-opacity))}[bg~="#ffffff90"]{--un-bg-opacity:.56;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.bg-repeat-x,[bg-repeat-x=""]{background-repeat:repeat-x}.bg-repeat-y,[bg-repeat-y=""]{background-repeat:repeat-y}.object-contain,[object-contain=""]{object-fit:contain}.p-10px,[p-10px=""]{padding:10px}.p-12px,[p-12px=""]{padding:12px}.p-16px,[p-16px=""]{padding:16px}.p-1px,[p-1px=""]{padding:1px}.p-2px,[p-2px=""]{padding:2px}.p-4px,[p-4px=""]{padding:4px}.p-5px,[p-5px=""]{padding:5px}.p-8px,[p-8px=""]{padding:8px}.px,[px=""]{padding-left:1rem;padding-right:1rem}.px-12px,[px-12px=""]{padding-left:12px;padding-right:12px}.px-16px,[px-16px=""]{padding-left:16px;padding-right:16px}.px-2px,[px-2px=""]{padding-left:2px;padding-right:2px}.px-4px,[px-4px=""]{padding-left:4px;padding-right:4px}.px-8px,[px-8px=""]{padding-left:8px;padding-right:8px}.py-12px,[py-12px=""]{padding-top:12px;padding-bottom:12px}.py-1px,[py-1px=""]{padding-top:1px;padding-bottom:1px}.py-2px,[py-2px=""]{padding-top:2px;padding-bottom:2px}.py-4px,[py-4px=""]{padding-top:4px;padding-bottom:4px}[px~="0.1"]{padding-left:.025rem;padding-right:.025rem}[px~="1000"]{padding-left:250rem;padding-right:250rem}.pl-16px,[pl-16px=""]{padding-left:16px}.pl-20px,[pl-20px=""]{padding-left:20px}.pl-4px,[pl-4px=""]{padding-left:4px}.pr-4px,[pr-4px=""]{padding-right:4px}.pr-8px,[pr-8px=""]{padding-right:8px}.pt-12px,[pt-12px=""]{padding-top:12px}.pt-16px,[pt-16px=""]{padding-top:16px}.pt-40px,[pt-40px=""]{padding-top:40px}.pt-4px,[pt-4px=""]{padding-top:4px}.pt-50px,[pt-50px=""]{padding-top:50px}.pt-80px,[pt-80px=""]{padding-top:80px}.text-left{text-align:left}.indent{text-indent:1.5rem}.align-middle,[align-middle=""]{vertical-align:middle}.text-12px,[text-12px=""]{font-size:12px}.text-13px,[text-13px=""]{font-size:13px}.text-18px,[text-18px=""]{font-size:18px}.text-20px{font-size:20px}.text-32px{font-size:32px}[text~="14px/14px"]{font-size:14px;line-height:14px}[text~="20px/28px"]{font-size:20px;line-height:28px}[text~="40px/52px"]{font-size:40px;line-height:52px}[text~="#6C6E71"]{--un-text-opacity:1;color:rgb(108 110 113 / var(--un-text-opacity))}.color-\[\#575bca\]{--un-text-opacity:1;color:rgb(87 91 202 / var(--un-text-opacity))}.color-dark{--un-text-opacity:1;color:rgb(34 34 34 / var(--un-text-opacity))}.color-red,[color-red=""]{--un-text-opacity:1;color:rgb(248 113 113 / var(--un-text-opacity))}[color~=inherit]{color:inherit}.font-bold,[font-bold=""]{font-weight:700}.leading-\[1\]{line-height:1}.leading-20px,[leading-20px=""]{line-height:20px}.leading-28px{line-height:28px}[leading~="100%"]{line-height:100%}.underline,[underline=""]{text-decoration-line:underline}.decoration-1,[decoration-1=""]{text-decoration-thickness:1px}.decoration-none,[decoration-none=""]{text-decoration:none}.opacity-30,[opacity-30=""]{opacity:.3}.opacity-50,[opacity-50=""],[hover\:opacity~="50"]:hover{opacity:.5}.mix-blend-difference,[mix-blend-difference=""]{mix-blend-mode:difference}.outline{outline-style:solid}.filter{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia)}.transition,[transition=""]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all-300,[transition-all-300=""]{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}.transition-colors,[transition-colors=""]{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-top\,bottom\,left\,right-500{transition-property:top,bottom,left,right;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.5s}[transition-top=""]{transition-property:top;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}img,svg,video,canvas,audio,iframe,embed,object{display:block}a{color:inherit}*{overscroll-behavior:none}html,body{font-size:14px;line-height:20px}.gkd_code,[gkd_code]{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}[direction-rtl],.direction-rtl{direction:rtl}.box-shadow-dim,[box-shadow-dim]{box-shadow:0 3px 6px -4px #0000001f,0 6px 16px #00000014,0 9px 28px 8px #0000000d}@media (prefers-color-scheme: dark){.box-shadow-dim,[box-shadow-dim]{box-shadow:0 3px 6px -4px #0000003d,0 6px 12px #00000029,0 9px 18px 8px #0000001a}}.scrollbar-hidden,[scrollbar-hidden]{scrollbar-width:none}.scrollbar-hidden::-webkit-scrollbar,[scrollbar-hidden]::-webkit-scrollbar{display:none}:root{--gkd-w: max(1200px, 100vw);--gkd-h: max(700px, 100vh)}body{width:var(--gkd-w)}body.body-auto-w{--gkd-w: 100vw}body:not(.mobile)::-webkit-scrollbar{display:none}html:not(.mobile){scrollbar-width:none}#app{display:flex;flex-direction:column;height:var(--gkd-h)}#app.app-auto-h{--gkd-h: auto}:root{--svg-h: 1em}.SvgIcon{display:block;overflow:hidden;fill:currentColor;height:var(--svg-h)}
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/HomePage-DXcJOJDf.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-B6w90aCZ.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/Input-Bu1zkZqG.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/snapshot-DH6Bs9o_.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/chunk-BI8hdTN6.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/dayjs.min-BrZengSD.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/node-Cz54ka33.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/import-BEGFL-lk.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/table-1EBiKGks.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/SnapshotPage-B8K7ok0G.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/index-CRHLnC_6.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/index-CdMJYWIX.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/error-BWvISDV2.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/SnapshotPage-BrBfbf_-.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/ImportPage-C_buMKNp.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/DevicePage-ByPGJ0aD.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/SelectorPage-DwR2lMWO.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/SvgPage-CsHnHpAV.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1762868565298/files/dist/assets/_404Page-BWdRvKUH.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/HomePage-E0mzXM61.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/ActionCard.vue_vue_type_script_setup_true_lang-c4Bz1EAG.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/Input-CphJuG1P.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/snapshot-D3v3rjHS.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/chunk-BAaEznD1.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/dayjs.min-DuNYJr0r.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/node-CmMmyrOc.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/import-DrACbIiM.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/table-Bw5_wWdT.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/SnapshotPage-BP3BeJts.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/index-B-Xsa1QT.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/index-CdMJYWIX.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/_plugin-vue_export-helper-DlAUqK2U.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/error-_RWs3m0D.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/SnapshotPage-BrBfbf_-.css","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/ImportPage-g2umoobr.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/DevicePage-Ige4Guqi.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/SelectorPage-CzhVFSr6.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/SvgPage-CXP8w7TF.js","https://registry.npmmirror.com/@gkd-kit/inspect/0.0.1763020669783/files/dist/assets/_404Page-DedPS7Hc.js"])))=>i.map(i=>d[i]);
2
2
  (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function xp(e){let t=".",n="__",r="--",o;if(e){let h=e.blockPrefix;h&&(t=h),h=e.elementPrefix,h&&(n=h),h=e.modifierPrefix,h&&(r=h)}const i={install(h){o=h.c;const g=h.context;g.bem={},g.bem.b=null,g.bem.els=null}};function s(h){let g,y;return{before(x){g=x.bem.b,y=x.bem.els,x.bem.els=null},after(x){x.bem.b=g,x.bem.els=y},$({context:x,props:C}){return h=typeof h=="string"?h:h({context:x,props:C}),x.bem.b=h,`${(C==null?void 0:C.bPrefix)||t}${x.bem.b}`}}}function a(h){let g;return{before(y){g=y.bem.els},after(y){y.bem.els=g},$({context:y,props:x}){return h=typeof h=="string"?h:h({context:y,props:x}),y.bem.els=h.split(",").map(C=>C.trim()),y.bem.els.map(C=>`${(x==null?void 0:x.bPrefix)||t}${y.bem.b}${n}${C}`).join(", ")}}}function l(h){return{$({context:g,props:y}){h=typeof h=="string"?h:h({context:g,props:y});const x=h.split(",").map($=>$.trim());function C($){return x.map(T=>`&${(y==null?void 0:y.bPrefix)||t}${g.bem.b}${$!==void 0?`${n}${$}`:""}${r}${T}`).join(", ")}const k=g.bem.els;return k!==null?C(k[0]):C()}}}function u(h){return{$({context:g,props:y}){h=typeof h=="string"?h:h({context:g,props:y});const x=g.bem.els;return`&:not(${(y==null?void 0:y.bPrefix)||t}${g.bem.b}${x!==null&&x.length>0?`${n}${x[0]}`:""}${r}${h})`}}}return Object.assign(i,{cB:(...h)=>o(s(h[0]),h[1],h[2]),cE:(...h)=>o(a(h[0]),h[1],h[2]),cM:(...h)=>o(l(h[0]),h[1],h[2]),cNotM:(...h)=>o(u(h[0]),h[1],h[2])}),i}function wp(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const Uu=/\s*,(?![^(]*\))\s*/g,Cp=/\s+/g;function _p(e,t){const n=[];return t.split(Uu).forEach(r=>{let o=wp(r);if(o){if(o===1){e.forEach(s=>{n.push(r.replace("&",s))});return}}else{e.forEach(s=>{n.push((s&&s+" ")+r)});return}let i=[r];for(;o--;){const s=[];i.forEach(a=>{e.forEach(l=>{s.push(a.replace("&",l))})}),i=s}i.forEach(s=>n.push(s))}),n}function Sp(e,t){const n=[];return t.split(Uu).forEach(r=>{e.forEach(o=>{n.push((o&&o+" ")+r)})}),n}function Ep(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=_p(t,n):t=Sp(t,n))}),t.join(", ").replace(Cp," ")}function Ol(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Fi(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function Tp(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Yo(e){return e?/^\s*@(s|m)/.test(e):!1}const Rp=/[A-Z]/g;function Ku(e){return e.replace(Rp,t=>"-"+t.toLowerCase())}function Pp(e,t=" "){return typeof e=="object"&&e!==null?` {
3
3
  `+Object.entries(e).map(n=>t+` ${Ku(n[0])}: ${n[1]};`).join(`
4
4
  `)+`
@@ -882,11 +882,13 @@ ${t}
882
882
  transform: translate(${n}, 0);
883
883
  `),V("&.notification-transition-leave-from, &.notification-transition-enter-to",`
884
884
  transform: translate(0, 0);
885
- `)])}const zh="n-notification-api",dw=Object.assign(Object.assign({},pt.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),hw=Te({name:"NotificationProvider",props:dw,setup(e){const{mergedClsPrefixRef:t}=jt(e),n=de([]),r={},o=new Set;function i(p){const h=Lr(),g=()=>{o.add(h),r[h]&&r[h].hide()},y=dn(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:x}=e;if(x&&n.value.length-o.size>=x){let C=!1,k=0;for(const $ of n.value){if(!o.has($.key)){r[$.key]&&($.destroy(),C=!0);break}k++}C||n.value.splice(k,1)}return n.value.push(y),y}const s=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function a(p){o.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=pt("Notification","-notification",fw,ow,e,t),u={create:i,info:s[0],success:s[1],warning:s[2],error:s[3],open:f,destroyAll:d},c=de(0);et(zh,u),et(fs,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:c});function f(p){return i(p)}function d(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:r,handleAfterLeave:a},u)},render(){var e,t,n;const{placement:r}=this;return z(Ye,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?z(Fo,{to:(n=this.to)!==null&&n!==void 0?n:"body"},z(iw,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(o=>z(uw,Object.assign({ref:i=>{const s=o.key;i===null?delete this.notificationRefs[s]:this.notificationRefs[s]=i}},ns(o,["destroy","hide","deactivate"]),{internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover})))})):null)}});function pw(){const e=ze(zh,null);return e===null&&Dr("use-notification","No outer `n-notification-provider` found."),e}const vw=Te({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var r;return(r=t.default)===null||r===void 0?void 0:r.call(t)}}}),gw={message:Q2,notification:pw,loadingBar:j2,dialog:m2,modal:T2};function mw({providersAndProps:e,configProviderProps:t}){let n=Sd(o);const r={app:n};function o(){return z(xh,Fe(t),{default:()=>e.map(({type:a,Provider:l,props:u})=>z(l,Fe(u),{default:()=>z(vw,{onSetup:()=>r[a]=gw[a]()})}))})}let i;return Fr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var a;if(n===null||i===null){kr("discrete","unmount call no need because discrete app has been unmounted");return}n.unmount(),(a=i.parentNode)===null||a===void 0||a.removeChild(i),i=null,n=null}},r)}function bw(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:r,notificationProviderProps:o,loadingBarProviderProps:i,modalProviderProps:s}={}){const a=[];return e.forEach(u=>{switch(u){case"message":a.push({type:u,Provider:Z2,props:n});break;case"notification":a.push({type:u,Provider:hw,props:o});break;case"dialog":a.push({type:u,Provider:I2,props:r});break;case"loadingBar":a.push({type:u,Provider:D2,props:i});break;case"modal":a.push({type:u,Provider:tw,props:s})}}),mw({providersAndProps:a,configProviderProps:t})}const xr=typeof document<"u";function Ih(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ih(e.default)}const je=Object.assign;function oa(e,t){const n={};for(const r in t){const o=t[r];n[r]=tn(o)?o.map(e):e(o)}return n}const go=()=>{},tn=Array.isArray,Mh=/#/g,xw=/&/g,ww=/\//g,Cw=/=/g,_w=/\?/g,Bh=/\+/g,Sw=/%5B/g,Ew=/%5D/g,Lh=/%5E/g,Tw=/%60/g,Hh=/%7B/g,Rw=/%7C/g,Fh=/%7D/g,Pw=/%20/g;function Cl(e){return encodeURI(""+e).replace(Rw,"|").replace(Sw,"[").replace(Ew,"]")}function $w(e){return Cl(e).replace(Hh,"{").replace(Fh,"}").replace(Lh,"^")}function za(e){return Cl(e).replace(Bh,"%2B").replace(Pw,"+").replace(Mh,"%23").replace(xw,"%26").replace(Tw,"`").replace(Hh,"{").replace(Fh,"}").replace(Lh,"^")}function Ow(e){return za(e).replace(Cw,"%3D")}function kw(e){return Cl(e).replace(Mh,"%23").replace(_w,"%3F")}function Aw(e){return e==null?"":kw(e).replace(ww,"%2F")}function Io(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zw=/\/$/,Iw=e=>e.replace(zw,"");function ia(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=Hw(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Io(s)}}function Mw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function yu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Bw(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&zr(t.matched[r],n.matched[o])&&Dh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Dh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Lw(e[n],t[n]))return!1;return!0}function Lw(e,t){return tn(e)?xu(e,t):tn(t)?xu(t,e):e===t}function xu(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Hw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Mo;(function(e){e.pop="pop",e.push="push"})(Mo||(Mo={}));var mo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(mo||(mo={}));function Fw(e){if(!e)if(xr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Iw(e)}const Dw=/^[^#]+#/;function jw(e,t){return e.replace(Dw,"#")+t}function Nw(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ds=()=>({left:window.scrollX,top:window.scrollY});function Ww(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Nw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function wu(e,t){return(history.state?history.state.position-t:-1)+e}const Ia=new Map;function Vw(e,t){Ia.set(e,t)}function Uw(e){const t=Ia.get(e);return Ia.delete(e),t}let Kw=()=>location.protocol+"//"+location.host;function jh(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),yu(l,"")}return yu(n,e)+r+o}function qw(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=jh(e,location),h=n.value,g=t.value;let y=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}y=g?d.position-g.position:0}else r(p);o.forEach(x=>{x(n.value,h,{delta:y,type:Mo.pop,direction:y?y>0?mo.forward:mo.back:mo.unknown})})};function l(){s=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return i.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:ds()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Cu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ds():null}}function Gw(e){const{history:t,location:n}=window,r={value:jh(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Kw()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function s(l,u){const c=je({},t.state,Cu(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=je({},o.value,t.state,{forward:l,scroll:ds()});i(c.current,c,!0);const f=je({},Cu(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function Yw(e){e=Fw(e);const t=Gw(e),n=qw(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=je({location:"",base:e,go:r,createHref:jw.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Xw(e){return typeof e=="string"||e&&typeof e=="object"}function Nh(e){return typeof e=="string"||typeof e=="symbol"}const Wh=Symbol("");var _u;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_u||(_u={}));function Ir(e,t){return je(new Error,{type:e,[Wh]:!0},t)}function gn(e,t){return e instanceof Error&&Wh in e&&(t==null||!!(e.type&t))}const Su="[^/]+?",Zw={sensitive:!1,strict:!1,start:!0,end:!0},Qw=/[.+*?^${}()[\]/\\]/g;function Jw(e,t){const n=je({},Zw,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const d=u[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(Qw,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:g,optional:y,regexp:x}=d;i.push({name:h,repeatable:g,optional:y});const C=x||Su;if(C!==Su){p+=10;try{new RegExp(`(${C})`)}catch($){throw new Error(`Invalid custom RegExp for param "${h}" (${C}): `+$.message)}}let k=g?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;f||(k=y&&u.length<2?`(?:/${k})`:"/"+k),y&&(k+="?"),o+=k,p+=20,y&&(p+=-8),g&&(p+=-20),C===".*"&&(p+=-50)}c.push(p)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(u){const c=u.match(s),f={};if(!c)return null;for(let d=1;d<c.length;d++){const p=c[d]||"",h=i[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of d)if(p.type===0)c+=p.value;else if(p.type===1){const{value:h,repeatable:g,optional:y}=p,x=h in u?u[h]:"";if(tn(x)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const C=tn(x)?x.join("/"):x;if(!C)if(y)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);c+=C}}return c||"/"}return{re:s,score:r,keys:i,parse:a,stringify:l}}function eC(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Vh(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=eC(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Eu(r))return 1;if(Eu(o))return-1}return o.length-r.length}function Eu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const tC={type:0,value:""},nC=/[a-zA-Z0-9_]/;function rC(e){if(!e)return[[]];if(e==="/")return[[tC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),s()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:nC.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),s(),o}function oC(e,t,n){const r=Jw(rC(e.path),n),o=je(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function iC(e,t){const n=[],r=new Map;t=$u({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function i(f,d,p){const h=!p,g=Ru(f);g.aliasOf=p&&p.record;const y=$u(t,f),x=[g];if("alias"in f){const $=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of $)x.push(Ru(je({},g,{components:p?p.record.components:g.components,path:T,aliasOf:p?p.record:g})))}let C,k;for(const $ of x){const{path:T}=$;if(d&&T[0]!=="/"){const _=d.record.path,m=_[_.length-1]==="/"?"":"/";$.path=d.record.path+(T&&m+T)}if(C=oC($,d,y),p?p.alias.push(C):(k=k||C,k!==C&&k.alias.push(C),h&&f.name&&!Pu(C)&&s(f.name)),Uh(C)&&l(C),g.children){const _=g.children;for(let m=0;m<_.length;m++)i(_[m],C,p&&p.children[m])}p=p||C}return k?()=>{s(k)}:go}function s(f){if(Nh(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function l(f){const d=lC(f,n);n.splice(d,0,f),f.record.name&&!Pu(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,y;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Ir(1,{location:f});y=p.record.name,h=je(Tu(d.params,p.keys.filter(k=>!k.optional).concat(p.parent?p.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),f.params&&Tu(f.params,p.keys.map(k=>k.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(k=>k.re.test(g)),p&&(h=p.parse(g),y=p.record.name);else{if(p=d.name?r.get(d.name):n.find(k=>k.re.test(d.path)),!p)throw Ir(1,{location:f,currentLocation:d});y=p.record.name,h=je({},d.params,f.params),g=p.stringify(h)}const x=[];let C=p;for(;C;)x.unshift(C.record),C=C.parent;return{name:y,path:g,params:h,matched:x,meta:aC(x)}}e.forEach(f=>i(f));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Tu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ru(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:sC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function sC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Pu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function aC(e){return e.reduce((t,n)=>je(t,n.meta),{})}function $u(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function lC(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Vh(e,t[i])<0?r=i:n=i+1}const o=cC(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function cC(e){let t=e;for(;t=t.parent;)if(Uh(t)&&Vh(e,t)===0)return t}function Uh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function uC(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(Bh," "),s=i.indexOf("="),a=Io(s<0?i:i.slice(0,s)),l=s<0?null:Io(i.slice(s+1));if(a in t){let u=t[a];tn(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Ou(e){let t="";for(let n in e){const r=e[n];if(n=Ow(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(i=>i&&za(i)):[r&&za(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function fC(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const dC=Symbol(""),ku=Symbol(""),hs=Symbol(""),_l=Symbol(""),Ma=Symbol("");function eo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ln(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Ir(4,{from:n,to:t})):d instanceof Error?l(d):Xw(d)?l(Ir(2,{from:t,to:d})):(s&&r.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),a())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function sa(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Ih(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Ln(c,n,r,s,a,o))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const f=yw(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Ln(p,n,r,s,a,o)()}))}}return i}function Au(e){const t=ze(hs),n=ze(_l),r=Z(()=>{const l=Fe(e.to);return t.resolve(l)}),o=Z(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(zr.bind(null,c));if(d>-1)return d;const p=zu(l[u-2]);return u>1&&zu(c)===p&&f[f.length-1].path!==p?f.findIndex(zr.bind(null,l[u-2])):d}),i=Z(()=>o.value>-1&&mC(n.params,r.value.params)),s=Z(()=>o.value>-1&&o.value===n.matched.length-1&&Dh(n.params,r.value.params));function a(l={}){if(gC(l)){const u=t[Fe(e.replace)?"replace":"push"](Fe(e.to)).catch(go);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}function hC(e){return e.length===1?e[0]:e}const pC=Te({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Au,setup(e,{slots:t}){const n=dn(Au(e)),{options:r}=ze(hs),o=Z(()=>({[Iu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Iu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&hC(t.default(n));return e.custom?i:z("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),vC=pC;function gC(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function mC(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!tn(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function zu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Iu=(e,t,n)=>e??t??n,bC=Te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ze(Ma),o=Z(()=>e.route||r.value),i=ze(ku,0),s=Z(()=>{let u=Fe(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Z(()=>o.value.matched[s.value]);et(ku,Z(()=>s.value+1)),et(dC,a),et(Ma,o);const l=de();return tt(()=>[l.value,a.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!zr(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Mu(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,y=z(d,je({},h,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Mu(n.default,{Component:y,route:u})||y}}});function Mu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Kh=bC;function yC(e){const t=iC(e.routes,e),n=e.parseQuery||uC,r=e.stringifyQuery||Ou,o=e.history,i=eo(),s=eo(),a=eo(),l=Le(zn);let u=zn;xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=oa.bind(null,F=>""+F),f=oa.bind(null,Aw),d=oa.bind(null,Io);function p(F,ae){let K,he;return Nh(F)?(K=t.getRecordMatcher(F),he=ae):he=F,t.addRoute(he,K)}function h(F){const ae=t.getRecordMatcher(F);ae&&t.removeRoute(ae)}function g(){return t.getRoutes().map(F=>F.record)}function y(F){return!!t.getRecordMatcher(F)}function x(F,ae){if(ae=je({},ae||l.value),typeof F=="string"){const M=ia(n,F,ae.path),H=t.resolve({path:M.path},ae),W=o.createHref(M.fullPath);return je(M,H,{params:d(H.params),hash:Io(M.hash),redirectedFrom:void 0,href:W})}let K;if(F.path!=null)K=je({},F,{path:ia(n,F.path,ae.path).path});else{const M=je({},F.params);for(const H in M)M[H]==null&&delete M[H];K=je({},F,{params:f(M)}),ae.params=f(ae.params)}const he=t.resolve(K,ae),Ae=F.hash||"";he.params=c(d(he.params));const w=Mw(r,je({},F,{hash:$w(Ae),path:he.path})),S=o.createHref(w);return je({fullPath:w,hash:Ae,query:r===Ou?fC(F.query):F.query||{}},he,{redirectedFrom:void 0,href:S})}function C(F){return typeof F=="string"?ia(n,F,l.value.path):je({},F)}function k(F,ae){if(u!==F)return Ir(8,{from:ae,to:F})}function $(F){return m(F)}function T(F){return $(je(C(F),{replace:!0}))}function _(F){const ae=F.matched[F.matched.length-1];if(ae&&ae.redirect){const{redirect:K}=ae;let he=typeof K=="function"?K(F):K;return typeof he=="string"&&(he=he.includes("?")||he.includes("#")?he=C(he):{path:he},he.params={}),je({query:F.query,hash:F.hash,params:he.path!=null?{}:F.params},he)}}function m(F,ae){const K=u=x(F),he=l.value,Ae=F.state,w=F.force,S=F.replace===!0,M=_(K);if(M)return m(je(C(M),{state:typeof M=="object"?je({},Ae,M.state):Ae,force:w,replace:S}),ae||K);const H=K;H.redirectedFrom=ae;let W;return!w&&Bw(r,he,K)&&(W=Ir(16,{to:H,from:he}),Pe(he,he,!0,!1)),(W?Promise.resolve(W):L(H,he)).catch(D=>gn(D)?gn(D,2)?D:Oe(D):ve(D,H,he)).then(D=>{if(D){if(gn(D,2))return m(je({replace:S},C(D.to),{state:typeof D.to=="object"?je({},Ae,D.to.state):Ae,force:w}),ae||H)}else D=B(H,he,!0,S,Ae);return U(H,he,D),D})}function E(F,ae){const K=k(F,ae);return K?Promise.reject(K):Promise.resolve()}function P(F){const ae=it.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(F):F()}function L(F,ae){let K;const[he,Ae,w]=xC(F,ae);K=sa(he.reverse(),"beforeRouteLeave",F,ae);for(const M of he)M.leaveGuards.forEach(H=>{K.push(Ln(H,F,ae))});const S=E.bind(null,F,ae);return K.push(S),Ee(K).then(()=>{K=[];for(const M of i.list())K.push(Ln(M,F,ae));return K.push(S),Ee(K)}).then(()=>{K=sa(Ae,"beforeRouteUpdate",F,ae);for(const M of Ae)M.updateGuards.forEach(H=>{K.push(Ln(H,F,ae))});return K.push(S),Ee(K)}).then(()=>{K=[];for(const M of w)if(M.beforeEnter)if(tn(M.beforeEnter))for(const H of M.beforeEnter)K.push(Ln(H,F,ae));else K.push(Ln(M.beforeEnter,F,ae));return K.push(S),Ee(K)}).then(()=>(F.matched.forEach(M=>M.enterCallbacks={}),K=sa(w,"beforeRouteEnter",F,ae,P),K.push(S),Ee(K))).then(()=>{K=[];for(const M of s.list())K.push(Ln(M,F,ae));return K.push(S),Ee(K)}).catch(M=>gn(M,8)?M:Promise.reject(M))}function U(F,ae,K){a.list().forEach(he=>P(()=>he(F,ae,K)))}function B(F,ae,K,he,Ae){const w=k(F,ae);if(w)return w;const S=ae===zn,M=xr?history.state:{};K&&(he||S?o.replace(F.fullPath,je({scroll:S&&M&&M.scroll},Ae)):o.push(F.fullPath,Ae)),l.value=F,Pe(F,ae,K,S),Oe()}let re;function G(){re||(re=o.listen((F,ae,K)=>{if(!At.listening)return;const he=x(F),Ae=_(he);if(Ae){m(je(Ae,{replace:!0,force:!0}),he).catch(go);return}u=he;const w=l.value;xr&&Vw(wu(w.fullPath,K.delta),ds()),L(he,w).catch(S=>gn(S,12)?S:gn(S,2)?(m(je(C(S.to),{force:!0}),he).then(M=>{gn(M,20)&&!K.delta&&K.type===Mo.pop&&o.go(-1,!1)}).catch(go),Promise.reject()):(K.delta&&o.go(-K.delta,!1),ve(S,he,w))).then(S=>{S=S||B(he,w,!1),S&&(K.delta&&!gn(S,8)?o.go(-K.delta,!1):K.type===Mo.pop&&gn(S,20)&&o.go(-1,!1)),U(he,w,S)}).catch(go)}))}let se=eo(),oe=eo(),te;function ve(F,ae,K){Oe(F);const he=oe.list();return he.length?he.forEach(Ae=>Ae(F,ae,K)):console.error(F),Promise.reject(F)}function Re(){return te&&l.value!==zn?Promise.resolve():new Promise((F,ae)=>{se.add([F,ae])})}function Oe(F){return te||(te=!F,G(),se.list().forEach(([ae,K])=>F?K(F):ae()),se.reset()),F}function Pe(F,ae,K,he){const{scrollBehavior:Ae}=e;if(!xr||!Ae)return Promise.resolve();const w=!K&&Uw(wu(F.fullPath,0))||(he||!K)&&history.state&&history.state.scroll||null;return Bt().then(()=>Ae(F,ae,w)).then(S=>S&&Ww(S)).catch(S=>ve(S,F,ae))}const Be=F=>o.go(F);let ot;const it=new Set,At={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:g,resolve:x,options:e,push:$,replace:T,go:Be,back:()=>Be(-1),forward:()=>Be(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:oe.add,isReady:Re,install(F){const ae=this;F.component("RouterLink",vC),F.component("RouterView",Kh),F.config.globalProperties.$router=ae,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Fe(l)}),xr&&!ot&&l.value===zn&&(ot=!0,$(o.location).catch(Ae=>{}));const K={};for(const Ae in zn)Object.defineProperty(K,Ae,{get:()=>l.value[Ae],enumerable:!0});F.provide(hs,ae),F.provide(_l,Bo(K)),F.provide(Ma,l);const he=F.unmount;it.add(F),F.unmount=function(){it.delete(F),it.size<1&&(u=zn,re&&re(),re=null,l.value=zn,ot=!1,te=!1),he()}}};function Ee(F){return F.reduce((ae,K)=>ae.then(()=>P(K)),Promise.resolve())}return At}function xC(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const a=t.matched[s];a&&(e.matched.find(u=>zr(u,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>zr(u,l))||o.push(l))}return[n,r,o]}function US(){return ze(hs)}function KS(e){return ze(_l)}function Vo(e){return uf()?(cv(e),!0):!1}function wC(e){let t=!1,n;const r=cf(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const aa=new WeakMap,CC=(...e)=>{var t;const n=e[0],r=(t=Rn())==null?void 0:t.proxy;if(r==null&&!Qf())throw new Error("injectLocal must be called in setup");return r&&aa.has(r)&&n in aa.get(r)?aa.get(r)[n]:ze(...e)};function qS(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...i)=>(t+=1,r||(r=cf(!0),n=r.run(()=>e(...i))),Vo(o),n)}const Sl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _C=e=>e!=null,SC=Object.prototype.toString,EC=e=>SC.call(e)==="[object Object]",cr=()=>{};function TC(...e){if(e.length!==1)return Mt(...e);const t=e[0];return typeof t=="function"?Jt(Av(()=>({get:t,set:cr}))):de(t)}function El(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const qh=e=>e();function RC(e,t={}){let n,r,o=cr;const i=l=>{clearTimeout(l),o(),o=cr};let s;return l=>{const u=Je(e),c=Je(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,f(s())},c)),n=setTimeout(()=>{r&&i(r),r=void 0,f(l())},u)})}}function PC(...e){let t=0,n,r=!0,o=cr,i,s,a,l,u;!dt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,l=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,o(),o=cr)};return d=>{const p=Je(s),h=Date.now()-t,g=()=>i=d();return c(),p<=0?(t=Date.now(),g()):(h>p&&(l||!r)?(t=Date.now(),g()):a&&(i=new Promise((y,x)=>{o=u?x:y,n=setTimeout(()=>{t=Date.now(),r=!0,y(g()),c()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function $C(e=qh,t={}){const{initialState:n="active"}=t,r=TC(n==="active");function o(){r.value=!1}function i(){r.value=!0}const s=(...a)=>{r.value&&e(...a)};return{isActive:Jt(r),pause:o,resume:i,eventFilter:s}}function OC(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Bu(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function bo(e){return Array.isArray(e)?e:[e]}function kC(e){return Rn()}function Gh(e,t=200,n={}){return El(RC(t,n),e)}function GS(e,t=200,n={}){const r=de(Je(e)),o=Gh(()=>{r.value=e.value},t,n);return tt(e,()=>o()),Rf(r)}function AC(e,t=200,n=!1,r=!0,o=!1){return El(PC(t,n,r,o),e)}function zC(e,t,n={}){const{eventFilter:r=qh,...o}=n;return tt(e,El(r,t),o)}function IC(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=$C(r,{initialState:o});return{stop:zC(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}function Uo(e,t=!0,n){kC()?Gt(e,n):t?e():Bt(e)}function MC(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=Le(!1);let s;function a(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,a()}function u(...c){o&&e(),a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...c)},Je(t))}return r&&(i.value=!0,Sl&&u()),Vo(l),{isPending:Rf(i),start:u,stop:l}}function BC(e,t,n){return tt(e,t,{...n,immediate:!0})}const pn=Sl?window:void 0,Yh=Sl?window.navigator:void 0;function Zt(e){var t;const n=Je(e);return(t=n==null?void 0:n.$el)!=null?t:n}function xt(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=Z(()=>{const a=bo(Je(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=BC(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>Zt(u)))!=null?l:[pn].filter(u=>u!=null),bo(Je(o.value?e[1]:e[0])),bo(Fe(o.value?e[2]:e[1])),Je(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=EC(c)?{...c}:c;t.push(...a.flatMap(d=>l.flatMap(p=>u.map(h=>r(d,p,h,f)))))},{flush:"post"}),s=()=>{i(),n()};return Vo(n),s}function LC(){const e=Le(!1),t=Rn();return t&&Gt(()=>{e.value=!0},t),e}function Ko(e){const t=LC();return Z(()=>(t.value,!!e()))}function Xh(e,t,n={}){const{window:r=pn,...o}=n;let i;const s=Ko(()=>r&&"MutationObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=Z(()=>{const d=Je(e),p=bo(d).map(Zt).filter(_C);return new Set(p)}),u=tt(l,d=>{a(),s.value&&d.size&&(i=new MutationObserver(t),d.forEach(p=>i.observe(p,o)))},{immediate:!0,flush:"post"}),c=()=>i==null?void 0:i.takeRecords(),f=()=>{u(),a()};return Vo(f),{isSupported:s,stop:f,takeRecords:c}}const HC=Symbol("vueuse-ssr-width");function FC(){const e=Qf()?CC(HC,null):null;return typeof e=="number"?e:void 0}function DC(e,t={}){const{window:n=pn,ssrWidth:r=FC()}=t,o=Ko(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Le(typeof r=="number"),s=Le(),a=Le(!1),l=u=>{a.value=u.matches};return Hr(()=>{if(i.value){i.value=!o.value;const u=Je(e).split(",");a.value=u.some(c=>{const f=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(d||p);return d&&h&&(h=r>=Bu(d[1])),p&&h&&(h=r<=Bu(p[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(Je(e)),a.value=s.value.matches)}),xt(s,"change",l,{passive:!0}),Z(()=>a.value)}function Lu(e,t={}){const{controls:n=!1,navigator:r=Yh}=t,o=Ko(()=>r&&"permissions"in r),i=Le(),s=typeof e=="string"?{name:e}:e,a=Le(),l=()=>{var c,f;a.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};xt(i,"change",l,{passive:!0});const u=OC(async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return Ie(i.value)}});return u(),n?{state:a,isSupported:o,query:u}:a}function YS(e={}){const{navigator:t=Yh,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,s=Ko(()=>t&&"clipboard"in t),a=Lu("clipboard-read"),l=Lu("clipboard-write"),u=Z(()=>s.value||i),c=Le(""),f=Le(!1),d=MC(()=>f.value=!1,o,{immediate:!1});async function p(){let C=!(s.value&&x(a.value));if(!C)try{c.value=await t.clipboard.readText()}catch{C=!0}C&&(c.value=y())}u.value&&n&&xt(["copy","cut"],p,{passive:!0});async function h(C=Je(r)){if(u.value&&C!=null){let k=!(s.value&&x(l.value));if(!k)try{await t.clipboard.writeText(C)}catch{k=!0}k&&g(C),c.value=C,f.value=!0,d.start()}}function g(C){const k=document.createElement("textarea");k.value=C??"",k.style.position="absolute",k.style.opacity="0",document.body.appendChild(k),k.select(),document.execCommand("copy"),k.remove()}function y(){var C,k,$;return($=(k=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:k.toString())!=null?$:""}function x(C){return C==="granted"||C==="prompt"}return{isSupported:u,text:c,copied:f,copy:h}}const di=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hi="__vueuse_ssr_handlers__",jC=NC();function NC(){return hi in di||(di[hi]=di[hi]||{}),di[hi]}function WC(e,t){return jC[e]||t}function VC(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const UC={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hu="vueuse-storage";function XS(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=pn,eventFilter:d,onError:p=G=>{console.error(G)},initOnMounted:h}=r,g=(c?Le:de)(typeof t=="function"?t():t),y=Z(()=>Je(e));if(!n)try{n=WC("getDefaultStorage",()=>{var G;return(G=pn)==null?void 0:G.localStorage})()}catch(G){p(G)}if(!n)return g;const x=Je(t),C=VC(x),k=(o=r.serializer)!=null?o:UC[C],{pause:$,resume:T}=IC(g,G=>L(G),{flush:i,deep:s,eventFilter:d});tt(y,()=>B(),{flush:i});let _=!1;const m=G=>{h&&!_||B(G)},E=G=>{h&&!_||re(G)};f&&a&&(n instanceof Storage?xt(f,"storage",m,{passive:!0}):xt(f,Hu,E)),h?Uo(()=>{_=!0,B()}):B();function P(G,se){if(f){const oe={key:y.value,oldValue:G,newValue:se,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",oe):new CustomEvent(Hu,{detail:oe}))}}function L(G){try{const se=n.getItem(y.value);if(G==null)P(se,null),n.removeItem(y.value);else{const oe=k.write(G);se!==oe&&(n.setItem(y.value,oe),P(se,oe))}}catch(se){p(se)}}function U(G){const se=G?G.newValue:n.getItem(y.value);if(se==null)return l&&x!=null&&n.setItem(y.value,k.write(x)),x;if(!G&&u){const oe=k.read(se);return typeof u=="function"?u(oe,x):C==="object"&&!Array.isArray(oe)?{...x,...oe}:oe}else return typeof se!="string"?se:k.read(se)}function B(G){if(!(G&&G.storageArea!==n)){if(G&&G.key==null){g.value=x;return}if(!(G&&G.key!==y.value)){$();try{const se=k.write(g.value);(G===void 0||(G==null?void 0:G.newValue)!==se)&&(g.value=U(G))}catch(se){p(se)}finally{G?Bt(T):T()}}}}function re(G){B(G.detail)}return g}function Zh(e,t,n={}){const{window:r=pn,...o}=n;let i;const s=Ko(()=>r&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=Z(()=>{const f=Je(e);return Array.isArray(f)?f.map(d=>Zt(d)):[Zt(f)]}),u=tt(l,f=>{if(a(),s.value&&r){i=new ResizeObserver(t);for(const d of f)d&&i.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return Vo(c),{isSupported:s,stop:c}}function KC(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0,updateTiming:s="sync"}=t,a=Le(0),l=Le(0),u=Le(0),c=Le(0),f=Le(0),d=Le(0),p=Le(0),h=Le(0);function g(){const x=Zt(e);if(!x){n&&(a.value=0,l.value=0,u.value=0,c.value=0,f.value=0,d.value=0,p.value=0,h.value=0);return}const C=x.getBoundingClientRect();a.value=C.height,l.value=C.bottom,u.value=C.left,c.value=C.right,f.value=C.top,d.value=C.width,p.value=C.x,h.value=C.y}function y(){s==="sync"?g():s==="next-frame"&&requestAnimationFrame(()=>g())}return Zh(e,y),tt(()=>Zt(e),x=>!x&&y()),Xh(e,y,{attributeFilter:["style","class"]}),o&&xt("scroll",y,{capture:!0,passive:!0}),r&&xt("resize",y,{passive:!0}),Uo(()=>{i&&y()}),{height:a,bottom:l,left:u,right:c,top:f,width:d,x:p,y:h,update:y}}function ZS(e,t={width:0,height:0},n={}){const{window:r=pn,box:o="content-box"}=n,i=Z(()=>{var f,d;return(d=(f=Zt(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),s=Le(t.width),a=Le(t.height),{stop:l}=Zh(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&i.value){const p=Zt(e);if(p){const h=p.getBoundingClientRect();s.value=h.width,a.value=h.height}}else if(d){const p=bo(d);s.value=p.reduce((h,{inlineSize:g})=>h+g,0),a.value=p.reduce((h,{blockSize:g})=>h+g,0)}else s.value=f.contentRect.width,a.value=f.contentRect.height},n);Uo(()=>{const f=Zt(e);f&&(s.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=tt(()=>Zt(e),f=>{s.value=f?t.width:0,a.value=f?t.height:0});function c(){l(),u()}return{width:s,height:a,stop:c}}const Fu=1;function qC(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=cr,onScroll:i=cr,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:c=pn,onError:f=P=>{console.error(P)}}=t,d=typeof a=="boolean"?{mutation:a}:a,p=Le(0),h=Le(0),g=Z({get(){return p.value},set(P){x(P,void 0)}}),y=Z({get(){return h.value},set(P){x(void 0,P)}});function x(P,L){var U,B,re,G;if(!c)return;const se=Je(e);if(!se)return;(re=se instanceof Document?c.document.body:se)==null||re.scrollTo({top:(U=Je(L))!=null?U:y.value,left:(B=Je(P))!=null?B:g.value,behavior:Je(u)});const oe=((G=se==null?void 0:se.document)==null?void 0:G.documentElement)||(se==null?void 0:se.documentElement)||se;g!=null&&(p.value=oe.scrollLeft),y!=null&&(h.value=oe.scrollTop)}const C=Le(!1),k=dn({left:!0,right:!1,top:!0,bottom:!1}),$=dn({left:!1,right:!1,top:!1,bottom:!1}),T=P=>{C.value&&(C.value=!1,$.left=!1,$.right=!1,$.top=!1,$.bottom=!1,o(P))},_=Gh(T,n+r),m=P=>{var L;if(!c)return;const U=((L=P==null?void 0:P.document)==null?void 0:L.documentElement)||(P==null?void 0:P.documentElement)||Zt(P),{display:B,flexDirection:re,direction:G}=getComputedStyle(U),se=G==="rtl"?-1:1,oe=U.scrollLeft;$.left=oe<p.value,$.right=oe>p.value;const te=Math.abs(oe*se)<=(s.left||0),ve=Math.abs(oe*se)+U.clientWidth>=U.scrollWidth-(s.right||0)-Fu;B==="flex"&&re==="row-reverse"?(k.left=ve,k.right=te):(k.left=te,k.right=ve),p.value=oe;let Re=U.scrollTop;P===c.document&&!Re&&(Re=c.document.body.scrollTop),$.top=Re<h.value,$.bottom=Re>h.value;const Oe=Math.abs(Re)<=(s.top||0),Pe=Math.abs(Re)+U.clientHeight>=U.scrollHeight-(s.bottom||0)-Fu;B==="flex"&&re==="column-reverse"?(k.top=Pe,k.bottom=Oe):(k.top=Oe,k.bottom=Pe),h.value=Re},E=P=>{var L;if(!c)return;const U=(L=P.target.documentElement)!=null?L:P.target;m(U),C.value=!0,_(P),i(P)};return xt(e,"scroll",n?AC(E,n,!0,!1):E,l),Uo(()=>{try{const P=Je(e);if(!P)return;m(P)}catch(P){f(P)}}),d!=null&&d.mutation&&e!=null&&e!==c&&e!==document&&Xh(e,()=>{const P=Je(e);P&&m(P)},{attributes:!0,childList:!0,subtree:!0}),xt(e,"scrollend",T,l),{x:g,y,isScrolling:C,arrivedState:k,directions:$,measure(){const P=Je(e);c&&P&&m(P)}}}function GC(e={}){const{window:t=pn,...n}=e;return qC(t,n)}function YC(e={}){const{window:t=pn,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=Le(n),l=Le(r),u=()=>{if(t)if(s==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(s==="visual"&&t.visualViewport){const{width:f,height:d,scale:p}=t.visualViewport;a.value=Math.round(f*p),l.value=Math.round(d*p)}else i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),Uo(u);const c={passive:!0};if(xt("resize",u,c),t&&s==="visual"&&t.visualViewport&&xt(t.visualViewport,"resize",u,c),o){const f=DC("(orientation: portrait)");tt(f,()=>u())}return{width:a,height:l}}const XC=wC(()=>Bo({networkErrorDlgVisible:!1,githubErrorDlgVisible:!1,wasmErrorDlgVisible:!1,wasmSupported:void 0})),{message:Du,dialog:QS,loadingBar:JS}=bw(["message","dialog","loadingBar"]),Qh=document.querySelector("#app"),ZC={fixed:"","z-2000":"",class:"BodyScrollbar"},QC=Te({__name:"BodyScrollbar",setup(e){const{y:t,x:n}=GC(),{height:r,width:o}=YC(),i=KC(document.body),s=Z(()=>i.height.value>r.value),a=Z(()=>{const m=i.height.value;return r.value/m*r.value}),l=Z(()=>{const _=i.height.value,m=a.value;return t.value/(_-r.value)*(r.value-m)}),u=Z(()=>s.value?{transform:`translateY(${l.value}px)`,height:`${a.value}px`}:{}),c=async _=>{const m=a.value*.9*(_.clientY<a.value+l.value?-1:1),E=i.height.value,P=E,L=r.value/P*r.value;t.value+=m/(r.value-L)*(E-r.value)},f=Le(!1);let d;const p=_=>{d=_,f.value=!0};xt("pointermove",_=>{if(!d)return;const m=_.clientY-d.clientY;d=_;const E=i.height.value,P=E,L=r.value/P*r.value;t.value+=m/(r.value-L)*(E-r.value)}),xt("pointerup",()=>{d=void 0,f.value=!1});const h=Z(()=>Math.floor(i.width.value)>o.value),g=Z(()=>{const m=i.width.value;return o.value/m*o.value}),y=Z(()=>{const _=i.width.value,m=g.value;return n.value/(_-o.value)*(o.value-m)}),x=Z(()=>h.value?{transform:`translateX(${y.value}px)`,width:`${g.value}px`}:{}),C=_=>{const m=g.value*.9*(_.clientX<g.value+y.value?-1:1),E=i.width.value,P=E,L=o.value/P*o.value,U=n.value+m/(o.value-L)*(E-o.value);n.value=U},k=Le(!1);let $;const T=_=>{$=_,k.value=!0};return xt("pointermove",_=>{if(!$)return;const m=_.clientX-$.clientX;$=_;const E=i.width.value,P=E,L=o.value/P*o.value;n.value+=m/(o.value-L)*(E-o.value)}),xt("pointerup",()=>{$=void 0,k.value=!1}),xt("selectstart",_=>{($||d)&&_.preventDefault()}),(_,m)=>(Nn(),Po("div",ZC,[Eo(ut("div",{"scrollbar-y":"",fixed:"","right-2px":"","top-0":"","bottom-0":"","w-8px":"",onPointerdown:p,onClick:c},[ut("div",{"w-full":"",bg:"#909399","opacity-30":"","hover:opacity":"50",style:wo(Fe(u)),class:Dn({"opacity-50":Fe(f)}),onClick:m[0]||(m[0]=bc(()=>{},["stop"]))},null,6)],544),[[ki,Fe(s)]]),Fe(h)?(Nn(),Po("div",{key:0,"scrollbar-x":"",fixed:"","bottom-2px":"","left-0":"","right-0":"","h-8px":"",onPointerdown:T,onClick:C},[ut("div",{"h-full":"",bg:"#909399","opacity-30":"","hover:opacity":"50",style:wo(Fe(x)),class:Dn({"opacity-50":Fe(k)}),onClick:m[1]||(m[1]=bc(()=>{},["stop"]))},null,6)],32)):hd("",!0)]))}});function e3(...e){const t=new URLSearchParams;return e.forEach(n=>{for(const r in n){const o=n[r];o!==void 0&&t.append(r,String(o))}}),t}const t3=e=>{const t={};return e.forEach((n,r)=>{t[r]=n}),t},JC=async(e=0)=>new Promise(t=>{setTimeout(t,e)}),n3=(()=>{let e;return async t=>{if(t&&e!==t){e=t,JC(1e4).then(()=>{e=void 0});try{await navigator.clipboard.writeText(t),Du.success("复制成功")}catch{Du.error("复制失败")}}}})(),Jh=(e,t)=>{e.classList.add(t),Gt(()=>{e.classList.add(t)}),Xi(()=>{e.classList.remove(t)})},r3=()=>{Jh(Qh,"app-auto-h")},o3=()=>{Jh(document.body,"body-auto-w")},e_=()=>{},i3=()=>e_,s3=(e,t)=>{const n={};return t.forEach(r=>{const o=e[r];o!==void 0&&(n[r]=o)}),n},ep=e=>typeof e=="number"?!0:typeof e=="string"&&Array.prototype.every.call(e,t=>"0"<=t&&t<="9"),a3=e=>{if(typeof e=="number"&&Number.isSafeInteger(e))return e;if(typeof e=="string"&&e.length>0){const t=Number(e);if(Number.isSafeInteger(t))return t}},t_=Te(()=>{const e=Le(!1),t="ontouchstart"in document.documentElement;return e.value=!t,t&&(document.body.classList.add("mobile"),document.documentElement.classList.add("mobile")),()=>e.value?z(Fo,{to:document.body},z(QC)):void 0}),l3=["#ff00ff","#18821c","#00ff00","#007fff","#ff7f00","#7fbf7f","#4e01bf","#b80836","#d67ffd","#00ffff","#fafe43","#00ff7f","#215b8f","#bd667c","#84f7f8","#8dfa01","#8f6605","#f5bc95","#a631f6","#21bab7","#4b1e4a","#7578c8","#c1b629","#ff007f","#0000ff","#4cc62a","#00007f","#fd404b","#b6fc97","#f742d8","#373fea","#a31b90","#ff0000","#03ae66","#a1b6e3","#61f9a8"],c3=e=>{var n,r;const t=[];if((n=e.dataTransfer)!=null&&n.items)for(let o=0;o<e.dataTransfer.items.length;o++){const i=e.dataTransfer.items[o];if(i.kind==="file"){const s=i.getAsFile();s&&t.push(s)}}else t.push(...Array.from(((r=e.dataTransfer)==null?void 0:r.files)||[]));return t},n_=[/\.0+$/,/0+$/],u3=(e,t)=>{const n=e.toFixed(t);if(!n.includes("."))return n;for(const r of n_)if(r.test(n))return n.replace(r,"");return n},f3=e=>{try{return new URL(e)}catch{}},r_=new Set([location.origin,"https://cdn.jsdelivr.net","https://fastly.jsdelivr.net","https://raw.githubusercontent.com","https://gist.githubusercontent.com","https://raw.gitmirror.com","https://registry.npmmirror.com"]),d3=e=>(e=new URL(e),e.hostname=="127.0.0.1"||e.hostname=="localhost"||location.protocol=="http:"&&e.protocol=="http:"&&e.hostname.split(".").every(t=>Number.isSafeInteger(parseInt(t)))?!0:r_.has(e.origin)),o_=[/^https:\/\/f\.gkd\.li\/(\d+)$/,/^https:\/\/github\.com\/gkd-kit\/inspect\/files\/(\d+)\/file\.zip$/,/^https:\/\/github\.com\/user-attachments\/files\/(\d+)\/file\.zip$/,/^https:\/\/i\.gkd\.li\/i\/(\d+)$/,/^https:\/\/i\.gkd\.li\/import\/(\d+)$/],i_=["https://f.gkd.li/","https://github.com/user-attachments/files/","https://github.com/gkd-kit/inspect/files/"],h3=e=>i_.some(t=>e.startsWith(t)),tp=e=>{var t;if(typeof e=="string"){if(e.startsWith(location.origin)){const n=+new URL(e).pathname.substring(1);if(Number.isSafeInteger(n)&&n>0)return n}for(const n of o_){const r=(t=e.match(n))==null?void 0:t[1];if(r)return+r}}},s_=/^https:\/\/github\.com\/gkd-kit\/inspect\/assets\/[0-9]+\/([0-9a-z-]+)$/,a_=/^https:\/\/github\.com\/user-attachments\/assets\/([0-9a-z-]+)$/,l_=e=>{var t,n;return((t=e.match(s_))==null?void 0:t[1])||((n=e.match(a_))==null?void 0:n[1])},p3=e=>location.origin+`/i/${e}`,v3=e=>`https://e.gkd.li/${e}`,c_=e=>`https://github.com/user-attachments/files/${e}/file.zip`;var pi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function u_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function g3(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}function vi(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var la={exports:{}};var ju;function f_(){return ju||(ju=1,function(e,t){(function(n){e.exports=n()})(function(){return function n(r,o,i){function s(u,c){if(!o[u]){if(!r[u]){var f=typeof vi=="function"&&vi;if(!c&&f)return f(u,!0);if(a)return a(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var p=o[u]={exports:{}};r[u][0].call(p.exports,function(h){var g=r[u][1][h];return s(g||h)},p,p.exports,n,r,o,i)}return o[u].exports}for(var a=typeof vi=="function"&&vi,l=0;l<i.length;l++)s(i[l]);return s}({1:[function(n,r,o){(function(i){var s=i.MutationObserver||i.WebKitMutationObserver,a;if(s){var l=0,u=new s(h),c=i.document.createTextNode("");u.observe(c,{characterData:!0}),a=function(){c.data=l=++l%2}}else if(!i.setImmediate&&typeof i.MessageChannel<"u"){var f=new i.MessageChannel;f.port1.onmessage=h,a=function(){f.port2.postMessage(0)}}else"document"in i&&"onreadystatechange"in i.document.createElement("script")?a=function(){var y=i.document.createElement("script");y.onreadystatechange=function(){h(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},i.document.documentElement.appendChild(y)}:a=function(){setTimeout(h,0)};var d,p=[];function h(){d=!0;for(var y,x,C=p.length;C;){for(x=p,p=[],y=-1;++y<C;)x[y]();C=p.length}d=!1}r.exports=g;function g(y){p.push(y)===1&&!d&&a()}}).call(this,typeof pi<"u"?pi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(n,r,o){var i=n(1);function s(){}var a={},l=["REJECTED"],u=["FULFILLED"],c=["PENDING"];r.exports=f;function f(T){if(typeof T!="function")throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,T!==s&&g(this,T)}f.prototype.catch=function(T){return this.then(null,T)},f.prototype.then=function(T,_){if(typeof T!="function"&&this.state===u||typeof _!="function"&&this.state===l)return this;var m=new this.constructor(s);if(this.state!==c){var E=this.state===u?T:_;p(m,E,this.outcome)}else this.queue.push(new d(m,T,_));return m};function d(T,_,m){this.promise=T,typeof _=="function"&&(this.onFulfilled=_,this.callFulfilled=this.otherCallFulfilled),typeof m=="function"&&(this.onRejected=m,this.callRejected=this.otherCallRejected)}d.prototype.callFulfilled=function(T){a.resolve(this.promise,T)},d.prototype.otherCallFulfilled=function(T){p(this.promise,this.onFulfilled,T)},d.prototype.callRejected=function(T){a.reject(this.promise,T)},d.prototype.otherCallRejected=function(T){p(this.promise,this.onRejected,T)};function p(T,_,m){i(function(){var E;try{E=_(m)}catch(P){return a.reject(T,P)}E===T?a.reject(T,new TypeError("Cannot resolve promise with itself")):a.resolve(T,E)})}a.resolve=function(T,_){var m=y(h,_);if(m.status==="error")return a.reject(T,m.value);var E=m.value;if(E)g(T,E);else{T.state=u,T.outcome=_;for(var P=-1,L=T.queue.length;++P<L;)T.queue[P].callFulfilled(_)}return T},a.reject=function(T,_){T.state=l,T.outcome=_;for(var m=-1,E=T.queue.length;++m<E;)T.queue[m].callRejected(_);return T};function h(T){var _=T&&T.then;if(T&&(typeof T=="object"||typeof T=="function")&&typeof _=="function")return function(){_.apply(T,arguments)}}function g(T,_){var m=!1;function E(B){m||(m=!0,a.reject(T,B))}function P(B){m||(m=!0,a.resolve(T,B))}function L(){_(P,E)}var U=y(L);U.status==="error"&&E(U.value)}function y(T,_){var m={};try{m.value=T(_),m.status="success"}catch(E){m.status="error",m.value=E}return m}f.resolve=x;function x(T){return T instanceof this?T:a.resolve(new this(s),T)}f.reject=C;function C(T){var _=new this(s);return a.reject(_,T)}f.all=k;function k(T){var _=this;if(Object.prototype.toString.call(T)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=T.length,E=!1;if(!m)return this.resolve([]);for(var P=new Array(m),L=0,U=-1,B=new this(s);++U<m;)re(T[U],U);return B;function re(G,se){_.resolve(G).then(oe,function(te){E||(E=!0,a.reject(B,te))});function oe(te){P[se]=te,++L===m&&!E&&(E=!0,a.resolve(B,P))}}}f.race=$;function $(T){var _=this;if(Object.prototype.toString.call(T)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=T.length,E=!1;if(!m)return this.resolve([]);for(var P=-1,L=new this(s);++P<m;)U(T[P]);return L;function U(B){_.resolve(B).then(function(re){E||(E=!0,a.resolve(L,re))},function(re){E||(E=!0,a.reject(L,re))})}}},{1:1}],3:[function(n,r,o){(function(i){typeof i.Promise!="function"&&(i.Promise=n(2))}).call(this,typeof pi<"u"?pi:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(n,r,o){var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v};function s(v,R){if(!(v instanceof R))throw new TypeError("Cannot call a class as a function")}function a(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var l=a();function u(){try{if(!l||!l.open)return!1;var v=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),R=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!v||R)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function c(v,R){v=v||[],R=R||{};try{return new Blob(v,R)}catch(O){if(O.name!=="TypeError")throw O;for(var b=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,A=new b,I=0;I<v.length;I+=1)A.append(v[I]);return A.getBlob(R.type)}}typeof Promise>"u"&&n(3);var f=Promise;function d(v,R){R&&v.then(function(b){R(null,b)},function(b){R(b)})}function p(v,R,b){typeof R=="function"&&v.then(R),typeof b=="function"&&v.catch(b)}function h(v){return typeof v!="string"&&(console.warn(v+" used as a key, but it is not a string."),v=String(v)),v}function g(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var y="local-forage-detect-blob-support",x=void 0,C={},k=Object.prototype.toString,$="readonly",T="readwrite";function _(v){for(var R=v.length,b=new ArrayBuffer(R),A=new Uint8Array(b),I=0;I<R;I++)A[I]=v.charCodeAt(I);return b}function m(v){return new f(function(R){var b=v.transaction(y,T),A=c([""]);b.objectStore(y).put(A,"key"),b.onabort=function(I){I.preventDefault(),I.stopPropagation(),R(!1)},b.oncomplete=function(){var I=navigator.userAgent.match(/Chrome\/(\d+)/),O=navigator.userAgent.match(/Edge\//);R(O||!I||parseInt(I[1],10)>=43)}}).catch(function(){return!1})}function E(v){return typeof x=="boolean"?f.resolve(x):m(v).then(function(R){return x=R,x})}function P(v){var R=C[v.name],b={};b.promise=new f(function(A,I){b.resolve=A,b.reject=I}),R.deferredOperations.push(b),R.dbReady?R.dbReady=R.dbReady.then(function(){return b.promise}):R.dbReady=b.promise}function L(v){var R=C[v.name],b=R.deferredOperations.pop();if(b)return b.resolve(),b.promise}function U(v,R){var b=C[v.name],A=b.deferredOperations.pop();if(A)return A.reject(R),A.promise}function B(v,R){return new f(function(b,A){if(C[v.name]=C[v.name]||Be(),v.db)if(R)P(v),v.db.close();else return b(v.db);var I=[v.name];R&&I.push(v.version);var O=l.open.apply(l,I);R&&(O.onupgradeneeded=function(j){var X=O.result;try{X.createObjectStore(v.storeName),j.oldVersion<=1&&X.createObjectStore(y)}catch(Q){if(Q.name==="ConstraintError")console.warn('The database "'+v.name+'" has been upgraded from version '+j.oldVersion+" to version "+j.newVersion+', but the storage "'+v.storeName+'" already exists.');else throw Q}}),O.onerror=function(j){j.preventDefault(),A(O.error)},O.onsuccess=function(){var j=O.result;j.onversionchange=function(X){X.target.close()},b(j),L(v)}})}function re(v){return B(v,!1)}function G(v){return B(v,!0)}function se(v,R){if(!v.db)return!0;var b=!v.db.objectStoreNames.contains(v.storeName),A=v.version<v.db.version,I=v.version>v.db.version;if(A&&(v.version!==R&&console.warn('The database "'+v.name+`" can't be downgraded from version `+v.db.version+" to version "+v.version+"."),v.version=v.db.version),I||b){if(b){var O=v.db.version+1;O>v.version&&(v.version=O)}return!0}return!1}function oe(v){return new f(function(R,b){var A=new FileReader;A.onerror=b,A.onloadend=function(I){var O=btoa(I.target.result||"");R({__local_forage_encoded_blob:!0,data:O,type:v.type})},A.readAsBinaryString(v)})}function te(v){var R=_(atob(v.data));return c([R],{type:v.type})}function ve(v){return v&&v.__local_forage_encoded_blob}function Re(v){var R=this,b=R._initReady().then(function(){var A=C[R._dbInfo.name];if(A&&A.dbReady)return A.dbReady});return p(b,v,v),b}function Oe(v){P(v);for(var R=C[v.name],b=R.forages,A=0;A<b.length;A++){var I=b[A];I._dbInfo.db&&(I._dbInfo.db.close(),I._dbInfo.db=null)}return v.db=null,re(v).then(function(O){return v.db=O,se(v)?G(v):O}).then(function(O){v.db=R.db=O;for(var j=0;j<b.length;j++)b[j]._dbInfo.db=O}).catch(function(O){throw U(v,O),O})}function Pe(v,R,b,A){A===void 0&&(A=1);try{var I=v.db.transaction(v.storeName,R);b(null,I)}catch(O){if(A>0&&(!v.db||O.name==="InvalidStateError"||O.name==="NotFoundError"))return f.resolve().then(function(){if(!v.db||O.name==="NotFoundError"&&!v.db.objectStoreNames.contains(v.storeName)&&v.version<=v.db.version)return v.db&&(v.version=v.db.version+1),G(v)}).then(function(){return Oe(v).then(function(){Pe(v,R,b,A-1)})}).catch(b);b(O)}}function Be(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ot(v){var R=this,b={db:null};if(v)for(var A in v)b[A]=v[A];var I=C[b.name];I||(I=Be(),C[b.name]=I),I.forages.push(R),R._initReady||(R._initReady=R.ready,R.ready=Re);var O=[];function j(){return f.resolve()}for(var X=0;X<I.forages.length;X++){var Q=I.forages[X];Q!==R&&O.push(Q._initReady().catch(j))}var J=I.forages.slice(0);return f.all(O).then(function(){return b.db=I.db,re(b)}).then(function(ne){return b.db=ne,se(b,R._defaultConfig.version)?G(b):ne}).then(function(ne){b.db=I.db=ne,R._dbInfo=b;for(var me=0;me<J.length;me++){var ke=J[me];ke!==R&&(ke._dbInfo.db=b.db,ke._dbInfo.version=b.version)}})}function it(v,R){var b=this;v=h(v);var A=new f(function(I,O){b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.get(v);J.onsuccess=function(){var ne=J.result;ne===void 0&&(ne=null),ve(ne)&&(ne=te(ne)),I(ne)},J.onerror=function(){O(J.error)}}catch(ne){O(ne)}})}).catch(O)});return d(A,R),A}function At(v,R){var b=this,A=new f(function(I,O){b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.openCursor(),ne=1;J.onsuccess=function(){var me=J.result;if(me){var ke=me.value;ve(ke)&&(ke=te(ke));var De=v(ke,me.key,ne++);De!==void 0?I(De):me.continue()}else I()},J.onerror=function(){O(J.error)}}catch(me){O(me)}})}).catch(O)});return d(A,R),A}function Ee(v,R,b){var A=this;v=h(v);var I=new f(function(O,j){var X;A.ready().then(function(){return X=A._dbInfo,k.call(R)==="[object Blob]"?E(X.db).then(function(Q){return Q?R:oe(R)}):R}).then(function(Q){Pe(A._dbInfo,T,function(J,ne){if(J)return j(J);try{var me=ne.objectStore(A._dbInfo.storeName);Q===null&&(Q=void 0);var ke=me.put(Q,v);ne.oncomplete=function(){Q===void 0&&(Q=null),O(Q)},ne.onabort=ne.onerror=function(){var De=ke.error?ke.error:ke.transaction.error;j(De)}}catch(De){j(De)}})}).catch(j)});return d(I,b),I}function F(v,R){var b=this;v=h(v);var A=new f(function(I,O){b.ready().then(function(){Pe(b._dbInfo,T,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.delete(v);X.oncomplete=function(){I()},X.onerror=function(){O(J.error)},X.onabort=function(){var ne=J.error?J.error:J.transaction.error;O(ne)}}catch(ne){O(ne)}})}).catch(O)});return d(A,R),A}function ae(v){var R=this,b=new f(function(A,I){R.ready().then(function(){Pe(R._dbInfo,T,function(O,j){if(O)return I(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.clear();j.oncomplete=function(){A()},j.onabort=j.onerror=function(){var J=Q.error?Q.error:Q.transaction.error;I(J)}}catch(J){I(J)}})}).catch(I)});return d(b,v),b}function K(v){var R=this,b=new f(function(A,I){R.ready().then(function(){Pe(R._dbInfo,$,function(O,j){if(O)return I(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.count();Q.onsuccess=function(){A(Q.result)},Q.onerror=function(){I(Q.error)}}catch(J){I(J)}})}).catch(I)});return d(b,v),b}function he(v,R){var b=this,A=new f(function(I,O){if(v<0){I(null);return}b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=!1,ne=Q.openKeyCursor();ne.onsuccess=function(){var me=ne.result;if(!me){I(null);return}v===0||J?I(me.key):(J=!0,me.advance(v))},ne.onerror=function(){O(ne.error)}}catch(me){O(me)}})}).catch(O)});return d(A,R),A}function Ae(v){var R=this,b=new f(function(A,I){R.ready().then(function(){Pe(R._dbInfo,$,function(O,j){if(O)return I(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.openKeyCursor(),J=[];Q.onsuccess=function(){var ne=Q.result;if(!ne){A(J);return}J.push(ne.key),ne.continue()},Q.onerror=function(){I(Q.error)}}catch(ne){I(ne)}})}).catch(I)});return d(b,v),b}function w(v,R){R=g.apply(this,arguments);var b=this.config();v=typeof v!="function"&&v||{},v.name||(v.name=v.name||b.name,v.storeName=v.storeName||b.storeName);var A=this,I;if(!v.name)I=f.reject("Invalid arguments");else{var O=v.name===b.name&&A._dbInfo.db,j=O?f.resolve(A._dbInfo.db):re(v).then(function(X){var Q=C[v.name],J=Q.forages;Q.db=X;for(var ne=0;ne<J.length;ne++)J[ne]._dbInfo.db=X;return X});v.storeName?I=j.then(function(X){if(X.objectStoreNames.contains(v.storeName)){var Q=X.version+1;P(v);var J=C[v.name],ne=J.forages;X.close();for(var me=0;me<ne.length;me++){var ke=ne[me];ke._dbInfo.db=null,ke._dbInfo.version=Q}var De=new f(function(We,lt){var st=l.open(v.name,Q);st.onerror=function(Nt){var Ur=st.result;Ur.close(),lt(Nt)},st.onupgradeneeded=function(){var Nt=st.result;Nt.deleteObjectStore(v.storeName)},st.onsuccess=function(){var Nt=st.result;Nt.close(),We(Nt)}});return De.then(function(We){J.db=We;for(var lt=0;lt<ne.length;lt++){var st=ne[lt];st._dbInfo.db=We,L(st._dbInfo)}}).catch(function(We){throw(U(v,We)||f.resolve()).catch(function(){}),We})}}):I=j.then(function(X){P(v);var Q=C[v.name],J=Q.forages;X.close();for(var ne=0;ne<J.length;ne++){var me=J[ne];me._dbInfo.db=null}var ke=new f(function(De,We){var lt=l.deleteDatabase(v.name);lt.onerror=function(){var st=lt.result;st&&st.close(),We(lt.error)},lt.onblocked=function(){console.warn('dropInstance blocked for database "'+v.name+'" until all open connections are closed')},lt.onsuccess=function(){var st=lt.result;st&&st.close(),De(st)}});return ke.then(function(De){Q.db=De;for(var We=0;We<J.length;We++){var lt=J[We];L(lt._dbInfo)}}).catch(function(De){throw(U(v,De)||f.resolve()).catch(function(){}),De})})}return d(I,R),I}var S={_driver:"asyncStorage",_initStorage:ot,_support:u(),iterate:At,getItem:it,setItem:Ee,removeItem:F,clear:ae,length:K,key:he,keys:Ae,dropInstance:w};function M(){return typeof openDatabase=="function"}var H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W="~~local_forage_type~",D=/^~~local_forage_type~([^~]+)~/,ie="__lfsc__:",ee=ie.length,q="arbf",N="blob",ge="si08",ce="ui08",be="uic8",ye="si16",$e="si32",He="ur16",Me="ui32",at="fl32",ct="fl64",gt=ee+q.length,mt=Object.prototype.toString;function Yt(v){var R=v.length*.75,b=v.length,A,I=0,O,j,X,Q;v[v.length-1]==="="&&(R--,v[v.length-2]==="="&&R--);var J=new ArrayBuffer(R),ne=new Uint8Array(J);for(A=0;A<b;A+=4)O=H.indexOf(v[A]),j=H.indexOf(v[A+1]),X=H.indexOf(v[A+2]),Q=H.indexOf(v[A+3]),ne[I++]=O<<2|j>>4,ne[I++]=(j&15)<<4|X>>2,ne[I++]=(X&3)<<6|Q&63;return J}function Lt(v){var R=new Uint8Array(v),b="",A;for(A=0;A<R.length;A+=3)b+=H[R[A]>>2],b+=H[(R[A]&3)<<4|R[A+1]>>4],b+=H[(R[A+1]&15)<<2|R[A+2]>>6],b+=H[R[A+2]&63];return R.length%3===2?b=b.substring(0,b.length-1)+"=":R.length%3===1&&(b=b.substring(0,b.length-2)+"=="),b}function Ct(v,R){var b="";if(v&&(b=mt.call(v)),v&&(b==="[object ArrayBuffer]"||v.buffer&&mt.call(v.buffer)==="[object ArrayBuffer]")){var A,I=ie;v instanceof ArrayBuffer?(A=v,I+=q):(A=v.buffer,b==="[object Int8Array]"?I+=ge:b==="[object Uint8Array]"?I+=ce:b==="[object Uint8ClampedArray]"?I+=be:b==="[object Int16Array]"?I+=ye:b==="[object Uint16Array]"?I+=He:b==="[object Int32Array]"?I+=$e:b==="[object Uint32Array]"?I+=Me:b==="[object Float32Array]"?I+=at:b==="[object Float64Array]"?I+=ct:R(new Error("Failed to get type for BinaryArray"))),R(I+Lt(A))}else if(b==="[object Blob]"){var O=new FileReader;O.onload=function(){var j=W+v.type+"~"+Lt(this.result);R(ie+N+j)},O.readAsArrayBuffer(v)}else try{R(JSON.stringify(v))}catch(j){console.error("Couldn't convert value into a JSON string: ",v),R(null,j)}}function Y(v){if(v.substring(0,ee)!==ie)return JSON.parse(v);var R=v.substring(gt),b=v.substring(ee,gt),A;if(b===N&&D.test(R)){var I=R.match(D);A=I[1],R=R.substring(I[0].length)}var O=Yt(R);switch(b){case q:return O;case N:return c([O],{type:A});case ge:return new Int8Array(O);case ce:return new Uint8Array(O);case be:return new Uint8ClampedArray(O);case ye:return new Int16Array(O);case He:return new Uint16Array(O);case $e:return new Int32Array(O);case Me:return new Uint32Array(O);case at:return new Float32Array(O);case ct:return new Float64Array(O);default:throw new Error("Unkown type: "+b)}}var pe={serialize:Ct,deserialize:Y,stringToBuffer:Yt,bufferToString:Lt};function Ce(v,R,b,A){v.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],b,A)}function Ue(v){var R=this,b={db:null};if(v)for(var A in v)b[A]=typeof v[A]!="string"?v[A].toString():v[A];var I=new f(function(O,j){try{b.db=openDatabase(b.name,String(b.version),b.description,b.size)}catch(X){return j(X)}b.db.transaction(function(X){Ce(X,b,function(){R._dbInfo=b,O()},function(Q,J){j(J)})},j)});return b.serializer=pe,I}function Ve(v,R,b,A,I,O){v.executeSql(b,A,I,function(j,X){X.code===X.SYNTAX_ERR?j.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[R.storeName],function(Q,J){J.rows.length?O(Q,X):Ce(Q,R,function(){Q.executeSql(b,A,I,O)},O)},O):O(j,X)},O)}function _t(v,R){var b=this;v=h(v);var A=new f(function(I,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){Ve(X,j,"SELECT * FROM "+j.storeName+" WHERE key = ? LIMIT 1",[v],function(Q,J){var ne=J.rows.length?J.rows.item(0).value:null;ne&&(ne=j.serializer.deserialize(ne)),I(ne)},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function Ht(v,R){var b=this,A=new f(function(I,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){Ve(X,j,"SELECT * FROM "+j.storeName,[],function(Q,J){for(var ne=J.rows,me=ne.length,ke=0;ke<me;ke++){var De=ne.item(ke),We=De.value;if(We&&(We=j.serializer.deserialize(We)),We=v(We,De.key,ke+1),We!==void 0){I(We);return}}I()},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function qe(v,R,b,A){var I=this;v=h(v);var O=new f(function(j,X){I.ready().then(function(){R===void 0&&(R=null);var Q=R,J=I._dbInfo;J.serializer.serialize(R,function(ne,me){me?X(me):J.db.transaction(function(ke){Ve(ke,J,"INSERT OR REPLACE INTO "+J.storeName+" (key, value) VALUES (?, ?)",[v,ne],function(){j(Q)},function(De,We){X(We)})},function(ke){if(ke.code===ke.QUOTA_ERR){if(A>0){j(qe.apply(I,[v,Q,b,A-1]));return}X(ke)}})})}).catch(X)});return d(O,b),O}function zt(v,R,b){return qe.apply(this,[v,R,b,1])}function rn(v,R){var b=this;v=h(v);var A=new f(function(I,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){Ve(X,j,"DELETE FROM "+j.storeName+" WHERE key = ?",[v],function(){I()},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function vs(v){var R=this,b=new f(function(A,I){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){Ve(j,O,"DELETE FROM "+O.storeName,[],function(){A()},function(X,Q){I(Q)})})}).catch(I)});return d(b,v),b}function gs(v){var R=this,b=new f(function(A,I){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){Ve(j,O,"SELECT COUNT(key) as c FROM "+O.storeName,[],function(X,Q){var J=Q.rows.item(0).c;A(J)},function(X,Q){I(Q)})})}).catch(I)});return d(b,v),b}function ms(v,R){var b=this,A=new f(function(I,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){Ve(X,j,"SELECT key FROM "+j.storeName+" WHERE id = ? LIMIT 1",[v+1],function(Q,J){var ne=J.rows.length?J.rows.item(0).key:null;I(ne)},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function bs(v){var R=this,b=new f(function(A,I){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){Ve(j,O,"SELECT key FROM "+O.storeName,[],function(X,Q){for(var J=[],ne=0;ne<Q.rows.length;ne++)J.push(Q.rows.item(ne).key);A(J)},function(X,Q){I(Q)})})}).catch(I)});return d(b,v),b}function ys(v){return new f(function(R,b){v.transaction(function(A){A.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(I,O){for(var j=[],X=0;X<O.rows.length;X++)j.push(O.rows.item(X).name);R({db:v,storeNames:j})},function(I,O){b(O)})},function(A){b(A)})})}function xs(v,R){R=g.apply(this,arguments);var b=this.config();v=typeof v!="function"&&v||{},v.name||(v.name=v.name||b.name,v.storeName=v.storeName||b.storeName);var A=this,I;return v.name?I=new f(function(O){var j;v.name===b.name?j=A._dbInfo.db:j=openDatabase(v.name,"","",0),v.storeName?O({db:j,storeNames:[v.storeName]}):O(ys(j))}).then(function(O){return new f(function(j,X){O.db.transaction(function(Q){function J(De){return new f(function(We,lt){Q.executeSql("DROP TABLE IF EXISTS "+De,[],function(){We()},function(st,Nt){lt(Nt)})})}for(var ne=[],me=0,ke=O.storeNames.length;me<ke;me++)ne.push(J(O.storeNames[me]));f.all(ne).then(function(){j()}).catch(function(De){X(De)})},function(Q){X(Q)})})}):I=f.reject("Invalid arguments"),d(I,R),I}var ws={_driver:"webSQLStorage",_initStorage:Ue,_support:M(),iterate:Ht,getItem:_t,setItem:zt,removeItem:rn,clear:vs,length:gs,key:ms,keys:bs,dropInstance:xs};function Cs(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function qo(v,R){var b=v.name+"/";return v.storeName!==R.storeName&&(b+=v.storeName+"/"),b}function _s(){var v="_localforage_support_test";try{return localStorage.setItem(v,!0),localStorage.removeItem(v),!1}catch{return!0}}function Ss(){return!_s()||localStorage.length>0}function Es(v){var R=this,b={};if(v)for(var A in v)b[A]=v[A];return b.keyPrefix=qo(v,R._defaultConfig),Ss()?(R._dbInfo=b,b.serializer=pe,f.resolve()):f.reject()}function Ts(v){var R=this,b=R.ready().then(function(){for(var A=R._dbInfo.keyPrefix,I=localStorage.length-1;I>=0;I--){var O=localStorage.key(I);O.indexOf(A)===0&&localStorage.removeItem(O)}});return d(b,v),b}function Rs(v,R){var b=this;v=h(v);var A=b.ready().then(function(){var I=b._dbInfo,O=localStorage.getItem(I.keyPrefix+v);return O&&(O=I.serializer.deserialize(O)),O});return d(A,R),A}function Ps(v,R){var b=this,A=b.ready().then(function(){for(var I=b._dbInfo,O=I.keyPrefix,j=O.length,X=localStorage.length,Q=1,J=0;J<X;J++){var ne=localStorage.key(J);if(ne.indexOf(O)===0){var me=localStorage.getItem(ne);if(me&&(me=I.serializer.deserialize(me)),me=v(me,ne.substring(j),Q++),me!==void 0)return me}}});return d(A,R),A}function $s(v,R){var b=this,A=b.ready().then(function(){var I=b._dbInfo,O;try{O=localStorage.key(v)}catch{O=null}return O&&(O=O.substring(I.keyPrefix.length)),O});return d(A,R),A}function Os(v){var R=this,b=R.ready().then(function(){for(var A=R._dbInfo,I=localStorage.length,O=[],j=0;j<I;j++){var X=localStorage.key(j);X.indexOf(A.keyPrefix)===0&&O.push(X.substring(A.keyPrefix.length))}return O});return d(b,v),b}function ip(v){var R=this,b=R.keys().then(function(A){return A.length});return d(b,v),b}function sp(v,R){var b=this;v=h(v);var A=b.ready().then(function(){var I=b._dbInfo;localStorage.removeItem(I.keyPrefix+v)});return d(A,R),A}function ap(v,R,b){var A=this;v=h(v);var I=A.ready().then(function(){R===void 0&&(R=null);var O=R;return new f(function(j,X){var Q=A._dbInfo;Q.serializer.serialize(R,function(J,ne){if(ne)X(ne);else try{localStorage.setItem(Q.keyPrefix+v,J),j(O)}catch(me){(me.name==="QuotaExceededError"||me.name==="NS_ERROR_DOM_QUOTA_REACHED")&&X(me),X(me)}})})});return d(I,b),I}function lp(v,R){if(R=g.apply(this,arguments),v=typeof v!="function"&&v||{},!v.name){var b=this.config();v.name=v.name||b.name,v.storeName=v.storeName||b.storeName}var A=this,I;return v.name?I=new f(function(O){v.storeName?O(qo(v,A._defaultConfig)):O(v.name+"/")}).then(function(O){for(var j=localStorage.length-1;j>=0;j--){var X=localStorage.key(j);X.indexOf(O)===0&&localStorage.removeItem(X)}}):I=f.reject("Invalid arguments"),d(I,R),I}var cp={_driver:"localStorageWrapper",_initStorage:Es,_support:Cs(),iterate:Ps,getItem:Rs,setItem:ap,removeItem:sp,clear:Ts,length:ip,key:$s,keys:Os,dropInstance:lp},up=function(R,b){return R===b||typeof R=="number"&&typeof b=="number"&&isNaN(R)&&isNaN(b)},fp=function(R,b){for(var A=R.length,I=0;I<A;){if(up(R[I],b))return!0;I++}return!1},Rl=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"},Vr={},Pl={},pr={INDEXEDDB:S,WEBSQL:ws,LOCALSTORAGE:cp},dp=[pr.INDEXEDDB._driver,pr.WEBSQL._driver,pr.LOCALSTORAGE._driver],Go=["dropInstance"],ks=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Go),hp={description:"",driver:dp.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function pp(v,R){v[R]=function(){var b=arguments;return v.ready().then(function(){return v[R].apply(v,b)})}}function As(){for(var v=1;v<arguments.length;v++){var R=arguments[v];if(R)for(var b in R)R.hasOwnProperty(b)&&(Rl(R[b])?arguments[0][b]=R[b].slice():arguments[0][b]=R[b])}return arguments[0]}var vp=function(){function v(R){s(this,v);for(var b in pr)if(pr.hasOwnProperty(b)){var A=pr[b],I=A._driver;this[b]=I,Vr[I]||this.defineDriver(A)}this._defaultConfig=As({},hp),this._config=As({},this._defaultConfig,R),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return v.prototype.config=function(b){if((typeof b>"u"?"undefined":i(b))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var A in b){if(A==="storeName"&&(b[A]=b[A].replace(/\W/g,"_")),A==="version"&&typeof b[A]!="number")return new Error("Database version must be a number.");this._config[A]=b[A]}return"driver"in b&&b.driver?this.setDriver(this._config.driver):!0}else return typeof b=="string"?this._config[b]:this._config},v.prototype.defineDriver=function(b,A,I){var O=new f(function(j,X){try{var Q=b._driver,J=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!b._driver){X(J);return}for(var ne=ks.concat("_initStorage"),me=0,ke=ne.length;me<ke;me++){var De=ne[me],We=!fp(Go,De);if((We||b[De])&&typeof b[De]!="function"){X(J);return}}var lt=function(){for(var Ur=function(bp){return function(){var yp=new Error("Method "+bp+" is not implemented by the current driver"),$l=f.reject(yp);return d($l,arguments[arguments.length-1]),$l}},zs=0,mp=Go.length;zs<mp;zs++){var Is=Go[zs];b[Is]||(b[Is]=Ur(Is))}};lt();var st=function(Ur){Vr[Q]&&console.info("Redefining LocalForage driver: "+Q),Vr[Q]=b,Pl[Q]=Ur,j()};"_support"in b?b._support&&typeof b._support=="function"?b._support().then(st,X):st(!!b._support):st(!0)}catch(Nt){X(Nt)}});return p(O,A,I),O},v.prototype.driver=function(){return this._driver||null},v.prototype.getDriver=function(b,A,I){var O=Vr[b]?f.resolve(Vr[b]):f.reject(new Error("Driver not found."));return p(O,A,I),O},v.prototype.getSerializer=function(b){var A=f.resolve(pe);return p(A,b),A},v.prototype.ready=function(b){var A=this,I=A._driverSet.then(function(){return A._ready===null&&(A._ready=A._initDriver()),A._ready});return p(I,b,b),I},v.prototype.setDriver=function(b,A,I){var O=this;Rl(b)||(b=[b]);var j=this._getSupportedDrivers(b);function X(){O._config.driver=O.driver()}function Q(me){return O._extend(me),X(),O._ready=O._initStorage(O._config),O._ready}function J(me){return function(){var ke=0;function De(){for(;ke<me.length;){var We=me[ke];return ke++,O._dbInfo=null,O._ready=null,O.getDriver(We).then(Q).catch(De)}X();var lt=new Error("No available storage method found.");return O._driverSet=f.reject(lt),O._driverSet}return De()}}var ne=this._driverSet!==null?this._driverSet.catch(function(){return f.resolve()}):f.resolve();return this._driverSet=ne.then(function(){var me=j[0];return O._dbInfo=null,O._ready=null,O.getDriver(me).then(function(ke){O._driver=ke._driver,X(),O._wrapLibraryMethodsWithReady(),O._initDriver=J(j)})}).catch(function(){X();var me=new Error("No available storage method found.");return O._driverSet=f.reject(me),O._driverSet}),p(this._driverSet,A,I),this._driverSet},v.prototype.supports=function(b){return!!Pl[b]},v.prototype._extend=function(b){As(this,b)},v.prototype._getSupportedDrivers=function(b){for(var A=[],I=0,O=b.length;I<O;I++){var j=b[I];this.supports(j)&&A.push(j)}return A},v.prototype._wrapLibraryMethodsWithReady=function(){for(var b=0,A=ks.length;b<A;b++)pp(this,ks[b])},v.prototype.createInstance=function(b){return new v(b)},v}(),gp=new vp;r.exports=gp},{3:3}]},{},[4])(4)})}(la)),la.exports}var d_=f_();const Nu=u_(d_),np=e=>e,h_=(e,t)=>{try{return e()}catch{return t()}},p_=(e,t,n=np)=>{const r=localStorage.getItem(e),o=r?h_(()=>n(JSON.parse(r)),t):t(),i=Bo(o);return tt(i,()=>{localStorage.setItem(e,JSON.stringify(Ie(i)))}),i},ps=async(e,t,n=np)=>{const r=await Nu.getItem(e),o=Bo(r?n(r):t());return tt(o,async()=>{await Nu.setItem(e,Ie(o))}),o},v_=p_("settings",()=>({autoUploadImport:!1,ignoreUploadWarn:!1,ignoreWasmWarn:!1,maxShowNodeSize:2e3})),g_=await ps("importTime",()=>({})),m_=await ps("githubJpg",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(n.startsWith("https://")){const r=l_(n);r?e[t]=r:delete e[t]}}),e)),b_=await ps("githubZip",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(ep(n))return;const r=tp(n);r?e[t]=r:delete e[t]}),e)),y_=await ps("url",()=>({}),e=>(Object.keys(e).forEach(t=>{if(ep(t))return;const n=tp(t);n&&(e[n]=e[t]),delete e[t]}),e)),x_=()=>({settingsStore:v_,snapshotImportTime:g_,snapshotImageId:m_,snapshotImportId:b_,importSnapshotId:y_}),w_=Te({__name:"ErrorDlg",setup(e){const t=XC(),{settingsStore:n}=x_();return(r,o)=>{const i=xl,s=p2;return Nn(),Po(Ye,null,[Qe(i,{show:Fe(t).githubErrorDlgVisible,"onUpdate:show":o[0]||(o[0]=a=>Fe(t).githubErrorDlgVisible=a),preset:"dialog",title:"生成分享链接失败",type:"success"},{default:wr(()=>[...o[4]||(o[4]=[ut("div",null,"生成分享链接需要以下条件",-1),ut("div",null,[Xt(" 在当前浏览器登录 "),ut("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer"}," github.com ")],-1)])]),_:1},8,["show"]),Qe(i,{show:Fe(t).networkErrorDlgVisible,"onUpdate:show":o[1]||(o[1]=a=>Fe(t).networkErrorDlgVisible=a),preset:"dialog",title:"访问其它域名资源失败",type:"success"},{default:wr(()=>[...o[5]||(o[5]=[ut("div",null,"访问其它域名资源需要以下条件",-1),ut("div",null,[Xt(" 1. 安装脚本管理器, 如 "),ut("a",{href:"https://violentmonkey.github.io/",target:"_blank",rel:"noopener noreferrer"}," Violentmonkey ")],-1),ut("div",null,[Xt(" 2. 安装油猴脚本 "),ut("a",{href:"https://github.com/gkd-kit/network-extension",target:"_blank",rel:"noopener noreferrer"}," network-extension ")],-1),ut("div",null,"3. 在当前网站启用上述油猴脚本的API注入功能",-1),ut("div",null,[Xt(" 4. 分享文件或导入快照额外需浏览器登录 "),ut("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer"}," github.com ")],-1)])]),_:1},8,["show"]),Qe(i,{show:Fe(t).wasmErrorDlgVisible,"onUpdate:show":o[3]||(o[3]=a=>Fe(t).wasmErrorDlgVisible=a),preset:"dialog",title:"浏览器不支持或版本过低",type:"warning",positiveText:"确定"},{default:wr(()=>[o[7]||(o[7]=ut("div",null,[Xt(" 选择器的正则表达式一致性需要使用 "),ut("a",{href:"https://developer.chrome.com/blog/wasmgc?hl=zh-cn",target:"_blank",rel:"noopener noreferrer"},"WASM(GC)")],-1)),o[8]||(o[8]=ut("div",{"mt-10px":""},"请使用 Chrome119/Edge119/Firefox120 或最新版本",-1)),Qe(s,{checked:Fe(n).ignoreWasmWarn,"onUpdate:checked":o[2]||(o[2]=a=>Fe(n).ignoreWasmWarn=a),class:"mt-10px"},{default:wr(()=>[...o[6]||(o[6]=[Xt(" 不关注一致性, 不再提醒 ",-1)])]),_:1},8,["checked"])]),_:1},8,["show"])],64)}}}),C_=Te({__name:"App",setup(e){const t={common:{lineHeight:"20px"}},n=wx(()=>{document.activeElement instanceof HTMLButtonElement&&document.activeElement.blur()},1e3);return xt("click",()=>{n()}),(r,o)=>{const i=xh;return Nn(),Po(Ye,null,[Qe(i,{abstract:"",locale:Fe(Sb),dateLocale:Fe(l0),themeOverrides:t},{default:wr(()=>[Qe(w_),Qe(Fe(Kh))]),_:1},8,["locale","dateLocale"]),Qe(Fe(t_))],64)}}}),__="modulepreload",S_=function(e,t){return new URL(e,t).href},Wu={},Yn=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=u(n.map(c=>{if(c=S_(c,r),c in Wu)return;Wu[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let g=s.length-1;g>=0;g--){const y=s[g];if(y.href===c&&(!f||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":__,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,y)=>{h.addEventListener("load",g),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},E_=(e,t)=>{try{return new URL(e,t)}catch{}},rp=new Set,Xn=e=>(rp.add(e),e),Vu=e=>{var n;const t=(n=String(e.params.github_asset_id).match(/^\d+/))==null?void 0:n[0];return t?{path:"/i",query:{...e.query,url:c_(t)}}:{path:"/404"}},op=yC({history:Yw("/"),routes:[{path:"/",component:Xn(()=>Yn(()=>import("./HomePage-DXcJOJDf.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),meta:{title:"首页"}},{path:"/snapshot/:snapshotId",name:"snapshot",component:Xn(()=>Yn(()=>import("./SnapshotPage-B8K7ok0G.js"),__vite__mapDeps([9,10,6,11,12,1,2,3,4,5,13,14]),import.meta.url)),meta:{title:"快照"}},{path:"/i",component:Xn(()=>Yn(()=>import("./ImportPage-C_buMKNp.js"),__vite__mapDeps([15,3,7,4]),import.meta.url)),meta:{title:"导入快照"}},{path:"/i/:github_asset_id",redirect:Vu},{path:"/import",redirect(e){return{path:"/i",query:e.query}}},{path:"/import/:github_asset_id",redirect:Vu},{path:"/device",component:Xn(()=>Yn(()=>import("./DevicePage-ByPGJ0aD.js"),__vite__mapDeps([16,3,13,8,6,5,2]),import.meta.url)),beforeEnter(e,t,n){const r=E_(String(e.query.url));if(r){localStorage.setItem("device_link",r.origin);const o={...e.query};return delete o.url,n({...e,query:o})}n()},meta:{title:"连接设备"}},{path:"/selector",component:Xn(()=>Yn(()=>import("./SelectorPage-DwR2lMWO.js"),__vite__mapDeps([17,10,6,11,2]),import.meta.url)),meta:{title:"选择器"}},{path:"/svg",component:Xn(()=>Yn(()=>import("./SvgPage-CsHnHpAV.js"),__vite__mapDeps([18,2]),import.meta.url)),meta:{title:"SVG"}},{path:"/:pathMatch(.*)*",component:Xn(()=>Yn(()=>import("./_404Page-BWdRvKUH.js"),__vite__mapDeps([19,12]),import.meta.url))}]});op.beforeEach(e=>{document.title=String(e.meta.title||"GKD")});setTimeout(()=>{rp.forEach(e=>e())},3e3);const T_=`GIT commit
886
- hash: 5a7f1e6c0e4924d99086d0b4c11d5332186c6b48
887
- date: 2025-11-11T21:42:15+08:00
888
- message: perf: unocss preflight on-demand
885
+ `)])}const zh="n-notification-api",dw=Object.assign(Object.assign({},pt.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),hw=Te({name:"NotificationProvider",props:dw,setup(e){const{mergedClsPrefixRef:t}=jt(e),n=de([]),r={},o=new Set;function i(p){const h=Lr(),g=()=>{o.add(h),r[h]&&r[h].hide()},y=dn(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:x}=e;if(x&&n.value.length-o.size>=x){let C=!1,k=0;for(const $ of n.value){if(!o.has($.key)){r[$.key]&&($.destroy(),C=!0);break}k++}C||n.value.splice(k,1)}return n.value.push(y),y}const s=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function a(p){o.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=pt("Notification","-notification",fw,ow,e,t),u={create:i,info:s[0],success:s[1],warning:s[2],error:s[3],open:f,destroyAll:d},c=de(0);et(zh,u),et(fs,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:c});function f(p){return i(p)}function d(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:r,handleAfterLeave:a},u)},render(){var e,t,n;const{placement:r}=this;return z(Ye,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?z(Fo,{to:(n=this.to)!==null&&n!==void 0?n:"body"},z(iw,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&r!=="top"&&r!=="bottom",placement:r},{default:()=>this.notificationList.map(o=>z(uw,Object.assign({ref:i=>{const s=o.key;i===null?delete this.notificationRefs[s]:this.notificationRefs[s]=i}},ns(o,["destroy","hide","deactivate"]),{internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover})))})):null)}});function pw(){const e=ze(zh,null);return e===null&&Dr("use-notification","No outer `n-notification-provider` found."),e}const vw=Te({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var r;return(r=t.default)===null||r===void 0?void 0:r.call(t)}}}),gw={message:Q2,notification:pw,loadingBar:j2,dialog:m2,modal:T2};function mw({providersAndProps:e,configProviderProps:t}){let n=Sd(o);const r={app:n};function o(){return z(xh,Fe(t),{default:()=>e.map(({type:a,Provider:l,props:u})=>z(l,Fe(u),{default:()=>z(vw,{onSetup:()=>r[a]=gw[a]()})}))})}let i;return Fr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var a;if(n===null||i===null){kr("discrete","unmount call no need because discrete app has been unmounted");return}n.unmount(),(a=i.parentNode)===null||a===void 0||a.removeChild(i),i=null,n=null}},r)}function bw(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:r,notificationProviderProps:o,loadingBarProviderProps:i,modalProviderProps:s}={}){const a=[];return e.forEach(u=>{switch(u){case"message":a.push({type:u,Provider:Z2,props:n});break;case"notification":a.push({type:u,Provider:hw,props:o});break;case"dialog":a.push({type:u,Provider:I2,props:r});break;case"loadingBar":a.push({type:u,Provider:D2,props:i});break;case"modal":a.push({type:u,Provider:tw,props:s})}}),mw({providersAndProps:a,configProviderProps:t})}const xr=typeof document<"u";function Ih(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ih(e.default)}const je=Object.assign;function oa(e,t){const n={};for(const r in t){const o=t[r];n[r]=tn(o)?o.map(e):e(o)}return n}const go=()=>{},tn=Array.isArray,Mh=/#/g,xw=/&/g,ww=/\//g,Cw=/=/g,_w=/\?/g,Bh=/\+/g,Sw=/%5B/g,Ew=/%5D/g,Lh=/%5E/g,Tw=/%60/g,Hh=/%7B/g,Rw=/%7C/g,Fh=/%7D/g,Pw=/%20/g;function Cl(e){return encodeURI(""+e).replace(Rw,"|").replace(Sw,"[").replace(Ew,"]")}function $w(e){return Cl(e).replace(Hh,"{").replace(Fh,"}").replace(Lh,"^")}function za(e){return Cl(e).replace(Bh,"%2B").replace(Pw,"+").replace(Mh,"%23").replace(xw,"%26").replace(Tw,"`").replace(Hh,"{").replace(Fh,"}").replace(Lh,"^")}function Ow(e){return za(e).replace(Cw,"%3D")}function kw(e){return Cl(e).replace(Mh,"%23").replace(_w,"%3F")}function Aw(e){return e==null?"":kw(e).replace(ww,"%2F")}function Io(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const zw=/\/$/,Iw=e=>e.replace(zw,"");function ia(e,t,n="/"){let r,o={},i="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),o=e(i)),a>-1&&(r=r||t.slice(0,a),s=t.slice(a,t.length)),r=Hw(r??t,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:Io(s)}}function Mw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function yu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Bw(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&zr(t.matched[r],n.matched[o])&&Dh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function zr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Dh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Lw(e[n],t[n]))return!1;return!0}function Lw(e,t){return tn(e)?xu(e,t):tn(t)?xu(t,e):e===t}function xu(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Hw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let i=n.length-1,s,a;for(s=0;s<r.length;s++)if(a=r[s],a!==".")if(a==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(s).join("/")}const zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Mo;(function(e){e.pop="pop",e.push="push"})(Mo||(Mo={}));var mo;(function(e){e.back="back",e.forward="forward",e.unknown=""})(mo||(mo={}));function Fw(e){if(!e)if(xr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Iw(e)}const Dw=/^[^#]+#/;function jw(e,t){return e.replace(Dw,"#")+t}function Nw(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const ds=()=>({left:window.scrollX,top:window.scrollY});function Ww(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Nw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function wu(e,t){return(history.state?history.state.position-t:-1)+e}const Ia=new Map;function Vw(e,t){Ia.set(e,t)}function Uw(e){const t=Ia.get(e);return Ia.delete(e),t}let Kw=()=>location.protocol+"//"+location.host;function jh(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let a=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),yu(l,"")}return yu(n,e)+r+o}function qw(e,t,n,r){let o=[],i=[],s=null;const a=({state:d})=>{const p=jh(e,location),h=n.value,g=t.value;let y=0;if(d){if(n.value=p,t.value=d,s&&s===h){s=null;return}y=g?d.position-g.position:0}else r(p);o.forEach(x=>{x(n.value,h,{delta:y,type:Mo.pop,direction:y?y>0?mo.forward:mo.back:mo.unknown})})};function l(){s=n.value}function u(d){o.push(d);const p=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return i.push(p),p}function c(){const{history:d}=window;d.state&&d.replaceState(je({},d.state,{scroll:ds()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:f}}function Cu(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ds():null}}function Gw(e){const{history:t,location:n}=window,r={value:jh(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Kw()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(p){console.error(p),n[c?"replace":"assign"](d)}}function s(l,u){const c=je({},t.state,Cu(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=je({},o.value,t.state,{forward:l,scroll:ds()});i(c.current,c,!0);const f=je({},Cu(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:s}}function Yw(e){e=Fw(e);const t=Gw(e),n=qw(e,t.state,t.location,t.replace);function r(i,s=!0){s||n.pauseListeners(),history.go(i)}const o=je({location:"",base:e,go:r,createHref:jw.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Xw(e){return typeof e=="string"||e&&typeof e=="object"}function Nh(e){return typeof e=="string"||typeof e=="symbol"}const Wh=Symbol("");var _u;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_u||(_u={}));function Ir(e,t){return je(new Error,{type:e,[Wh]:!0},t)}function gn(e,t){return e instanceof Error&&Wh in e&&(t==null||!!(e.type&t))}const Su="[^/]+?",Zw={sensitive:!1,strict:!1,start:!0,end:!0},Qw=/[.+*?^${}()[\]/\\]/g;function Jw(e,t){const n=je({},Zw,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;f<u.length;f++){const d=u[f];let p=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(Qw,"\\$&"),p+=40;else if(d.type===1){const{value:h,repeatable:g,optional:y,regexp:x}=d;i.push({name:h,repeatable:g,optional:y});const C=x||Su;if(C!==Su){p+=10;try{new RegExp(`(${C})`)}catch($){throw new Error(`Invalid custom RegExp for param "${h}" (${C}): `+$.message)}}let k=g?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;f||(k=y&&u.length<2?`(?:/${k})`:"/"+k),y&&(k+="?"),o+=k,p+=20,y&&(p+=-8),g&&(p+=-20),C===".*"&&(p+=-50)}c.push(p)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const s=new RegExp(o,n.sensitive?"":"i");function a(u){const c=u.match(s),f={};if(!c)return null;for(let d=1;d<c.length;d++){const p=c[d]||"",h=i[d-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of d)if(p.type===0)c+=p.value;else if(p.type===1){const{value:h,repeatable:g,optional:y}=p,x=h in u?u[h]:"";if(tn(x)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const C=tn(x)?x.join("/"):x;if(!C)if(y)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);c+=C}}return c||"/"}return{re:s,score:r,keys:i,parse:a,stringify:l}}function eC(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Vh(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const i=eC(r[n],o[n]);if(i)return i;n++}if(Math.abs(o.length-r.length)===1){if(Eu(r))return 1;if(Eu(o))return-1}return o.length-r.length}function Eu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const tC={type:0,value:""},nC=/[a-zA-Z0-9_]/;function rC(e){if(!e)return[[]];if(e==="/")return[[tC]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let i;function s(){i&&o.push(i),i=[]}let a=0,l,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&f(),s()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:nC.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),s(),o}function oC(e,t,n){const r=Jw(rC(e.path),n),o=je(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function iC(e,t){const n=[],r=new Map;t=$u({strict:!1,end:!0,sensitive:!1},t);function o(f){return r.get(f)}function i(f,d,p){const h=!p,g=Ru(f);g.aliasOf=p&&p.record;const y=$u(t,f),x=[g];if("alias"in f){const $=typeof f.alias=="string"?[f.alias]:f.alias;for(const T of $)x.push(Ru(je({},g,{components:p?p.record.components:g.components,path:T,aliasOf:p?p.record:g})))}let C,k;for(const $ of x){const{path:T}=$;if(d&&T[0]!=="/"){const _=d.record.path,m=_[_.length-1]==="/"?"":"/";$.path=d.record.path+(T&&m+T)}if(C=oC($,d,y),p?p.alias.push(C):(k=k||C,k!==C&&k.alias.push(C),h&&f.name&&!Pu(C)&&s(f.name)),Uh(C)&&l(C),g.children){const _=g.children;for(let m=0;m<_.length;m++)i(_[m],C,p&&p.children[m])}p=p||C}return k?()=>{s(k)}:go}function s(f){if(Nh(f)){const d=r.get(f);d&&(r.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&r.delete(f.record.name),f.children.forEach(s),f.alias.forEach(s))}}function a(){return n}function l(f){const d=lC(f,n);n.splice(d,0,f),f.record.name&&!Pu(f)&&r.set(f.record.name,f)}function u(f,d){let p,h={},g,y;if("name"in f&&f.name){if(p=r.get(f.name),!p)throw Ir(1,{location:f});y=p.record.name,h=je(Tu(d.params,p.keys.filter(k=>!k.optional).concat(p.parent?p.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),f.params&&Tu(f.params,p.keys.map(k=>k.name))),g=p.stringify(h)}else if(f.path!=null)g=f.path,p=n.find(k=>k.re.test(g)),p&&(h=p.parse(g),y=p.record.name);else{if(p=d.name?r.get(d.name):n.find(k=>k.re.test(d.path)),!p)throw Ir(1,{location:f,currentLocation:d});y=p.record.name,h=je({},d.params,f.params),g=p.stringify(h)}const x=[];let C=p;for(;C;)x.unshift(C.record),C=C.parent;return{name:y,path:g,params:h,matched:x,meta:aC(x)}}e.forEach(f=>i(f));function c(){n.length=0,r.clear()}return{addRoute:i,resolve:u,removeRoute:s,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Tu(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ru(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:sC(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function sC(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Pu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function aC(e){return e.reduce((t,n)=>je(t,n.meta),{})}function $u(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function lC(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;Vh(e,t[i])<0?r=i:n=i+1}const o=cC(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function cC(e){let t=e;for(;t=t.parent;)if(Uh(t)&&Vh(e,t)===0)return t}function Uh({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function uC(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const i=r[o].replace(Bh," "),s=i.indexOf("="),a=Io(s<0?i:i.slice(0,s)),l=s<0?null:Io(i.slice(s+1));if(a in t){let u=t[a];tn(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Ou(e){let t="";for(let n in e){const r=e[n];if(n=Ow(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(i=>i&&za(i)):[r&&za(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function fC(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const dC=Symbol(""),ku=Symbol(""),hs=Symbol(""),_l=Symbol(""),Ma=Symbol("");function eo(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ln(e,t,n,r,o,i=s=>s()){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(Ir(4,{from:n,to:t})):d instanceof Error?l(d):Xw(d)?l(Ir(2,{from:t,to:d})):(s&&r.enterCallbacks[o]===s&&typeof d=="function"&&s.push(d),a())},c=i(()=>e.call(r&&r.instances[o],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>l(d))})}function sa(e,t,n,r,o=i=>i()){const i=[];for(const s of e)for(const a in s.components){let l=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Ih(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Ln(c,n,r,s,a,o))}else{let u=l();i.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${s.path}"`);const f=yw(c)?c.default:c;s.mods[a]=c,s.components[a]=f;const p=(f.__vccOpts||f)[t];return p&&Ln(p,n,r,s,a,o)()}))}}return i}function Au(e){const t=ze(hs),n=ze(_l),r=Z(()=>{const l=Fe(e.to);return t.resolve(l)}),o=Z(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(zr.bind(null,c));if(d>-1)return d;const p=zu(l[u-2]);return u>1&&zu(c)===p&&f[f.length-1].path!==p?f.findIndex(zr.bind(null,l[u-2])):d}),i=Z(()=>o.value>-1&&mC(n.params,r.value.params)),s=Z(()=>o.value>-1&&o.value===n.matched.length-1&&Dh(n.params,r.value.params));function a(l={}){if(gC(l)){const u=t[Fe(e.replace)?"replace":"push"](Fe(e.to)).catch(go);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Z(()=>r.value.href),isActive:i,isExactActive:s,navigate:a}}function hC(e){return e.length===1?e[0]:e}const pC=Te({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Au,setup(e,{slots:t}){const n=dn(Au(e)),{options:r}=ze(hs),o=Z(()=>({[Iu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Iu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&hC(t.default(n));return e.custom?i:z("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),vC=pC;function gC(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function mC(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!tn(o)||o.length!==r.length||r.some((i,s)=>i!==o[s]))return!1}return!0}function zu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Iu=(e,t,n)=>e??t??n,bC=Te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ze(Ma),o=Z(()=>e.route||r.value),i=ze(ku,0),s=Z(()=>{let u=Fe(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),a=Z(()=>o.value.matched[s.value]);et(ku,Z(()=>s.value+1)),et(dC,a),et(Ma,o);const l=de();return tt(()=>[l.value,a.value,e.name],([u,c,f],[d,p,h])=>{c&&(c.instances[f]=u,p&&p!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),u&&c&&(!p||!zr(c,p)||!d)&&(c.enterCallbacks[f]||[]).forEach(g=>g(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=a.value,d=f&&f.components[c];if(!d)return Mu(n.default,{Component:d,route:u});const p=f.props[c],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,y=z(d,je({},h,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Mu(n.default,{Component:y,route:u})||y}}});function Mu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Kh=bC;function yC(e){const t=iC(e.routes,e),n=e.parseQuery||uC,r=e.stringifyQuery||Ou,o=e.history,i=eo(),s=eo(),a=eo(),l=Le(zn);let u=zn;xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=oa.bind(null,F=>""+F),f=oa.bind(null,Aw),d=oa.bind(null,Io);function p(F,ae){let K,he;return Nh(F)?(K=t.getRecordMatcher(F),he=ae):he=F,t.addRoute(he,K)}function h(F){const ae=t.getRecordMatcher(F);ae&&t.removeRoute(ae)}function g(){return t.getRoutes().map(F=>F.record)}function y(F){return!!t.getRecordMatcher(F)}function x(F,ae){if(ae=je({},ae||l.value),typeof F=="string"){const M=ia(n,F,ae.path),H=t.resolve({path:M.path},ae),W=o.createHref(M.fullPath);return je(M,H,{params:d(H.params),hash:Io(M.hash),redirectedFrom:void 0,href:W})}let K;if(F.path!=null)K=je({},F,{path:ia(n,F.path,ae.path).path});else{const M=je({},F.params);for(const H in M)M[H]==null&&delete M[H];K=je({},F,{params:f(M)}),ae.params=f(ae.params)}const he=t.resolve(K,ae),Ae=F.hash||"";he.params=c(d(he.params));const w=Mw(r,je({},F,{hash:$w(Ae),path:he.path})),S=o.createHref(w);return je({fullPath:w,hash:Ae,query:r===Ou?fC(F.query):F.query||{}},he,{redirectedFrom:void 0,href:S})}function C(F){return typeof F=="string"?ia(n,F,l.value.path):je({},F)}function k(F,ae){if(u!==F)return Ir(8,{from:ae,to:F})}function $(F){return m(F)}function T(F){return $(je(C(F),{replace:!0}))}function _(F){const ae=F.matched[F.matched.length-1];if(ae&&ae.redirect){const{redirect:K}=ae;let he=typeof K=="function"?K(F):K;return typeof he=="string"&&(he=he.includes("?")||he.includes("#")?he=C(he):{path:he},he.params={}),je({query:F.query,hash:F.hash,params:he.path!=null?{}:F.params},he)}}function m(F,ae){const K=u=x(F),he=l.value,Ae=F.state,w=F.force,S=F.replace===!0,M=_(K);if(M)return m(je(C(M),{state:typeof M=="object"?je({},Ae,M.state):Ae,force:w,replace:S}),ae||K);const H=K;H.redirectedFrom=ae;let W;return!w&&Bw(r,he,K)&&(W=Ir(16,{to:H,from:he}),Pe(he,he,!0,!1)),(W?Promise.resolve(W):L(H,he)).catch(D=>gn(D)?gn(D,2)?D:Oe(D):ve(D,H,he)).then(D=>{if(D){if(gn(D,2))return m(je({replace:S},C(D.to),{state:typeof D.to=="object"?je({},Ae,D.to.state):Ae,force:w}),ae||H)}else D=B(H,he,!0,S,Ae);return U(H,he,D),D})}function E(F,ae){const K=k(F,ae);return K?Promise.reject(K):Promise.resolve()}function P(F){const ae=it.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(F):F()}function L(F,ae){let K;const[he,Ae,w]=xC(F,ae);K=sa(he.reverse(),"beforeRouteLeave",F,ae);for(const M of he)M.leaveGuards.forEach(H=>{K.push(Ln(H,F,ae))});const S=E.bind(null,F,ae);return K.push(S),Ee(K).then(()=>{K=[];for(const M of i.list())K.push(Ln(M,F,ae));return K.push(S),Ee(K)}).then(()=>{K=sa(Ae,"beforeRouteUpdate",F,ae);for(const M of Ae)M.updateGuards.forEach(H=>{K.push(Ln(H,F,ae))});return K.push(S),Ee(K)}).then(()=>{K=[];for(const M of w)if(M.beforeEnter)if(tn(M.beforeEnter))for(const H of M.beforeEnter)K.push(Ln(H,F,ae));else K.push(Ln(M.beforeEnter,F,ae));return K.push(S),Ee(K)}).then(()=>(F.matched.forEach(M=>M.enterCallbacks={}),K=sa(w,"beforeRouteEnter",F,ae,P),K.push(S),Ee(K))).then(()=>{K=[];for(const M of s.list())K.push(Ln(M,F,ae));return K.push(S),Ee(K)}).catch(M=>gn(M,8)?M:Promise.reject(M))}function U(F,ae,K){a.list().forEach(he=>P(()=>he(F,ae,K)))}function B(F,ae,K,he,Ae){const w=k(F,ae);if(w)return w;const S=ae===zn,M=xr?history.state:{};K&&(he||S?o.replace(F.fullPath,je({scroll:S&&M&&M.scroll},Ae)):o.push(F.fullPath,Ae)),l.value=F,Pe(F,ae,K,S),Oe()}let re;function G(){re||(re=o.listen((F,ae,K)=>{if(!At.listening)return;const he=x(F),Ae=_(he);if(Ae){m(je(Ae,{replace:!0,force:!0}),he).catch(go);return}u=he;const w=l.value;xr&&Vw(wu(w.fullPath,K.delta),ds()),L(he,w).catch(S=>gn(S,12)?S:gn(S,2)?(m(je(C(S.to),{force:!0}),he).then(M=>{gn(M,20)&&!K.delta&&K.type===Mo.pop&&o.go(-1,!1)}).catch(go),Promise.reject()):(K.delta&&o.go(-K.delta,!1),ve(S,he,w))).then(S=>{S=S||B(he,w,!1),S&&(K.delta&&!gn(S,8)?o.go(-K.delta,!1):K.type===Mo.pop&&gn(S,20)&&o.go(-1,!1)),U(he,w,S)}).catch(go)}))}let se=eo(),oe=eo(),te;function ve(F,ae,K){Oe(F);const he=oe.list();return he.length?he.forEach(Ae=>Ae(F,ae,K)):console.error(F),Promise.reject(F)}function Re(){return te&&l.value!==zn?Promise.resolve():new Promise((F,ae)=>{se.add([F,ae])})}function Oe(F){return te||(te=!F,G(),se.list().forEach(([ae,K])=>F?K(F):ae()),se.reset()),F}function Pe(F,ae,K,he){const{scrollBehavior:Ae}=e;if(!xr||!Ae)return Promise.resolve();const w=!K&&Uw(wu(F.fullPath,0))||(he||!K)&&history.state&&history.state.scroll||null;return Bt().then(()=>Ae(F,ae,w)).then(S=>S&&Ww(S)).catch(S=>ve(S,F,ae))}const Be=F=>o.go(F);let ot;const it=new Set,At={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:y,getRoutes:g,resolve:x,options:e,push:$,replace:T,go:Be,back:()=>Be(-1),forward:()=>Be(1),beforeEach:i.add,beforeResolve:s.add,afterEach:a.add,onError:oe.add,isReady:Re,install(F){const ae=this;F.component("RouterLink",vC),F.component("RouterView",Kh),F.config.globalProperties.$router=ae,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>Fe(l)}),xr&&!ot&&l.value===zn&&(ot=!0,$(o.location).catch(Ae=>{}));const K={};for(const Ae in zn)Object.defineProperty(K,Ae,{get:()=>l.value[Ae],enumerable:!0});F.provide(hs,ae),F.provide(_l,Bo(K)),F.provide(Ma,l);const he=F.unmount;it.add(F),F.unmount=function(){it.delete(F),it.size<1&&(u=zn,re&&re(),re=null,l.value=zn,ot=!1,te=!1),he()}}};function Ee(F){return F.reduce((ae,K)=>ae.then(()=>P(K)),Promise.resolve())}return At}function xC(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let s=0;s<i;s++){const a=t.matched[s];a&&(e.matched.find(u=>zr(u,a))?r.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>zr(u,l))||o.push(l))}return[n,r,o]}function US(){return ze(hs)}function KS(e){return ze(_l)}function Vo(e){return uf()?(cv(e),!0):!1}function wC(e){let t=!1,n;const r=cf(!0);return(...o)=>(t||(n=r.run(()=>e(...o)),t=!0),n)}const aa=new WeakMap,CC=(...e)=>{var t;const n=e[0],r=(t=Rn())==null?void 0:t.proxy;if(r==null&&!Qf())throw new Error("injectLocal must be called in setup");return r&&aa.has(r)&&n in aa.get(r)?aa.get(r)[n]:ze(...e)};function qS(e){let t=0,n,r;const o=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...i)=>(t+=1,r||(r=cf(!0),n=r.run(()=>e(...i))),Vo(o),n)}const Sl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const _C=e=>e!=null,SC=Object.prototype.toString,EC=e=>SC.call(e)==="[object Object]",cr=()=>{};function TC(...e){if(e.length!==1)return Mt(...e);const t=e[0];return typeof t=="function"?Jt(Av(()=>({get:t,set:cr}))):de(t)}function El(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const qh=e=>e();function RC(e,t={}){let n,r,o=cr;const i=l=>{clearTimeout(l),o(),o=cr};let s;return l=>{const u=Je(e),c=Je(t.maxWait);return n&&i(n),u<=0||c!==void 0&&c<=0?(r&&(i(r),r=void 0),Promise.resolve(l())):new Promise((f,d)=>{o=t.rejectOnCancel?d:f,s=l,c&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,f(s())},c)),n=setTimeout(()=>{r&&i(r),r=void 0,f(l())},u)})}}function PC(...e){let t=0,n,r=!0,o=cr,i,s,a,l,u;!dt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:l=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,l=!0,u=!1]=e;const c=()=>{n&&(clearTimeout(n),n=void 0,o(),o=cr)};return d=>{const p=Je(s),h=Date.now()-t,g=()=>i=d();return c(),p<=0?(t=Date.now(),g()):(h>p&&(l||!r)?(t=Date.now(),g()):a&&(i=new Promise((y,x)=>{o=u?x:y,n=setTimeout(()=>{t=Date.now(),r=!0,y(g()),c()},Math.max(0,p-h))})),!l&&!n&&(n=setTimeout(()=>r=!0,p)),r=!1,i)}}function $C(e=qh,t={}){const{initialState:n="active"}=t,r=TC(n==="active");function o(){r.value=!1}function i(){r.value=!0}const s=(...a)=>{r.value&&e(...a)};return{isActive:Jt(r),pause:o,resume:i,eventFilter:s}}function OC(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function Bu(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function bo(e){return Array.isArray(e)?e:[e]}function kC(e){return Rn()}function Gh(e,t=200,n={}){return El(RC(t,n),e)}function GS(e,t=200,n={}){const r=de(Je(e)),o=Gh(()=>{r.value=e.value},t,n);return tt(e,()=>o()),Rf(r)}function AC(e,t=200,n=!1,r=!0,o=!1){return El(PC(t,n,r,o),e)}function zC(e,t,n={}){const{eventFilter:r=qh,...o}=n;return tt(e,El(r,t),o)}function IC(e,t,n={}){const{eventFilter:r,initialState:o="active",...i}=n,{eventFilter:s,pause:a,resume:l,isActive:u}=$C(r,{initialState:o});return{stop:zC(e,t,{...i,eventFilter:s}),pause:a,resume:l,isActive:u}}function Uo(e,t=!0,n){kC()?Gt(e,n):t?e():Bt(e)}function MC(e,t,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n,i=Le(!1);let s;function a(){s&&(clearTimeout(s),s=void 0)}function l(){i.value=!1,a()}function u(...c){o&&e(),a(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,e(...c)},Je(t))}return r&&(i.value=!0,Sl&&u()),Vo(l),{isPending:Rf(i),start:u,stop:l}}function BC(e,t,n){return tt(e,t,{...n,immediate:!0})}const pn=Sl?window:void 0,Yh=Sl?window.navigator:void 0;function Zt(e){var t;const n=Je(e);return(t=n==null?void 0:n.$el)!=null?t:n}function xt(...e){const t=[],n=()=>{t.forEach(a=>a()),t.length=0},r=(a,l,u,c)=>(a.addEventListener(l,u,c),()=>a.removeEventListener(l,u,c)),o=Z(()=>{const a=bo(Je(e[0])).filter(l=>l!=null);return a.every(l=>typeof l!="string")?a:void 0}),i=BC(()=>{var a,l;return[(l=(a=o.value)==null?void 0:a.map(u=>Zt(u)))!=null?l:[pn].filter(u=>u!=null),bo(Je(o.value?e[1]:e[0])),bo(Fe(o.value?e[2]:e[1])),Je(o.value?e[3]:e[2])]},([a,l,u,c])=>{if(n(),!(a!=null&&a.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const f=EC(c)?{...c}:c;t.push(...a.flatMap(d=>l.flatMap(p=>u.map(h=>r(d,p,h,f)))))},{flush:"post"}),s=()=>{i(),n()};return Vo(n),s}function LC(){const e=Le(!1),t=Rn();return t&&Gt(()=>{e.value=!0},t),e}function Ko(e){const t=LC();return Z(()=>(t.value,!!e()))}function Xh(e,t,n={}){const{window:r=pn,...o}=n;let i;const s=Ko(()=>r&&"MutationObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=Z(()=>{const d=Je(e),p=bo(d).map(Zt).filter(_C);return new Set(p)}),u=tt(l,d=>{a(),s.value&&d.size&&(i=new MutationObserver(t),d.forEach(p=>i.observe(p,o)))},{immediate:!0,flush:"post"}),c=()=>i==null?void 0:i.takeRecords(),f=()=>{u(),a()};return Vo(f),{isSupported:s,stop:f,takeRecords:c}}const HC=Symbol("vueuse-ssr-width");function FC(){const e=Qf()?CC(HC,null):null;return typeof e=="number"?e:void 0}function DC(e,t={}){const{window:n=pn,ssrWidth:r=FC()}=t,o=Ko(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Le(typeof r=="number"),s=Le(),a=Le(!1),l=u=>{a.value=u.matches};return Hr(()=>{if(i.value){i.value=!o.value;const u=Je(e).split(",");a.value=u.some(c=>{const f=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let h=!!(d||p);return d&&h&&(h=r>=Bu(d[1])),p&&h&&(h=r<=Bu(p[1])),f?!h:h});return}o.value&&(s.value=n.matchMedia(Je(e)),a.value=s.value.matches)}),xt(s,"change",l,{passive:!0}),Z(()=>a.value)}function Lu(e,t={}){const{controls:n=!1,navigator:r=Yh}=t,o=Ko(()=>r&&"permissions"in r),i=Le(),s=typeof e=="string"?{name:e}:e,a=Le(),l=()=>{var c,f;a.value=(f=(c=i.value)==null?void 0:c.state)!=null?f:"prompt"};xt(i,"change",l,{passive:!0});const u=OC(async()=>{if(o.value){if(!i.value)try{i.value=await r.permissions.query(s)}catch{i.value=void 0}finally{l()}if(n)return Ie(i.value)}});return u(),n?{state:a,isSupported:o,query:u}:a}function YS(e={}){const{navigator:t=Yh,read:n=!1,source:r,copiedDuring:o=1500,legacy:i=!1}=e,s=Ko(()=>t&&"clipboard"in t),a=Lu("clipboard-read"),l=Lu("clipboard-write"),u=Z(()=>s.value||i),c=Le(""),f=Le(!1),d=MC(()=>f.value=!1,o,{immediate:!1});async function p(){let C=!(s.value&&x(a.value));if(!C)try{c.value=await t.clipboard.readText()}catch{C=!0}C&&(c.value=y())}u.value&&n&&xt(["copy","cut"],p,{passive:!0});async function h(C=Je(r)){if(u.value&&C!=null){let k=!(s.value&&x(l.value));if(!k)try{await t.clipboard.writeText(C)}catch{k=!0}k&&g(C),c.value=C,f.value=!0,d.start()}}function g(C){const k=document.createElement("textarea");k.value=C??"",k.style.position="absolute",k.style.opacity="0",document.body.appendChild(k),k.select(),document.execCommand("copy"),k.remove()}function y(){var C,k,$;return($=(k=(C=document==null?void 0:document.getSelection)==null?void 0:C.call(document))==null?void 0:k.toString())!=null?$:""}function x(C){return C==="granted"||C==="prompt"}return{isSupported:u,text:c,copied:f,copy:h}}const di=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hi="__vueuse_ssr_handlers__",jC=NC();function NC(){return hi in di||(di[hi]=di[hi]||{}),di[hi]}function WC(e,t){return jC[e]||t}function VC(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const UC={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Hu="vueuse-storage";function XS(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:f=pn,eventFilter:d,onError:p=G=>{console.error(G)},initOnMounted:h}=r,g=(c?Le:de)(typeof t=="function"?t():t),y=Z(()=>Je(e));if(!n)try{n=WC("getDefaultStorage",()=>{var G;return(G=pn)==null?void 0:G.localStorage})()}catch(G){p(G)}if(!n)return g;const x=Je(t),C=VC(x),k=(o=r.serializer)!=null?o:UC[C],{pause:$,resume:T}=IC(g,G=>L(G),{flush:i,deep:s,eventFilter:d});tt(y,()=>B(),{flush:i});let _=!1;const m=G=>{h&&!_||B(G)},E=G=>{h&&!_||re(G)};f&&a&&(n instanceof Storage?xt(f,"storage",m,{passive:!0}):xt(f,Hu,E)),h?Uo(()=>{_=!0,B()}):B();function P(G,se){if(f){const oe={key:y.value,oldValue:G,newValue:se,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",oe):new CustomEvent(Hu,{detail:oe}))}}function L(G){try{const se=n.getItem(y.value);if(G==null)P(se,null),n.removeItem(y.value);else{const oe=k.write(G);se!==oe&&(n.setItem(y.value,oe),P(se,oe))}}catch(se){p(se)}}function U(G){const se=G?G.newValue:n.getItem(y.value);if(se==null)return l&&x!=null&&n.setItem(y.value,k.write(x)),x;if(!G&&u){const oe=k.read(se);return typeof u=="function"?u(oe,x):C==="object"&&!Array.isArray(oe)?{...x,...oe}:oe}else return typeof se!="string"?se:k.read(se)}function B(G){if(!(G&&G.storageArea!==n)){if(G&&G.key==null){g.value=x;return}if(!(G&&G.key!==y.value)){$();try{const se=k.write(g.value);(G===void 0||(G==null?void 0:G.newValue)!==se)&&(g.value=U(G))}catch(se){p(se)}finally{G?Bt(T):T()}}}}function re(G){B(G.detail)}return g}function Zh(e,t,n={}){const{window:r=pn,...o}=n;let i;const s=Ko(()=>r&&"ResizeObserver"in r),a=()=>{i&&(i.disconnect(),i=void 0)},l=Z(()=>{const f=Je(e);return Array.isArray(f)?f.map(d=>Zt(d)):[Zt(f)]}),u=tt(l,f=>{if(a(),s.value&&r){i=new ResizeObserver(t);for(const d of f)d&&i.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),u()};return Vo(c),{isSupported:s,stop:c}}function KC(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:i=!0,updateTiming:s="sync"}=t,a=Le(0),l=Le(0),u=Le(0),c=Le(0),f=Le(0),d=Le(0),p=Le(0),h=Le(0);function g(){const x=Zt(e);if(!x){n&&(a.value=0,l.value=0,u.value=0,c.value=0,f.value=0,d.value=0,p.value=0,h.value=0);return}const C=x.getBoundingClientRect();a.value=C.height,l.value=C.bottom,u.value=C.left,c.value=C.right,f.value=C.top,d.value=C.width,p.value=C.x,h.value=C.y}function y(){s==="sync"?g():s==="next-frame"&&requestAnimationFrame(()=>g())}return Zh(e,y),tt(()=>Zt(e),x=>!x&&y()),Xh(e,y,{attributeFilter:["style","class"]}),o&&xt("scroll",y,{capture:!0,passive:!0}),r&&xt("resize",y,{passive:!0}),Uo(()=>{i&&y()}),{height:a,bottom:l,left:u,right:c,top:f,width:d,x:p,y:h,update:y}}function ZS(e,t={width:0,height:0},n={}){const{window:r=pn,box:o="content-box"}=n,i=Z(()=>{var f,d;return(d=(f=Zt(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),s=Le(t.width),a=Le(t.height),{stop:l}=Zh(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&i.value){const p=Zt(e);if(p){const h=p.getBoundingClientRect();s.value=h.width,a.value=h.height}}else if(d){const p=bo(d);s.value=p.reduce((h,{inlineSize:g})=>h+g,0),a.value=p.reduce((h,{blockSize:g})=>h+g,0)}else s.value=f.contentRect.width,a.value=f.contentRect.height},n);Uo(()=>{const f=Zt(e);f&&(s.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const u=tt(()=>Zt(e),f=>{s.value=f?t.width:0,a.value=f?t.height:0});function c(){l(),u()}return{width:s,height:a,stop:c}}const Fu=1;function qC(e,t={}){const{throttle:n=0,idle:r=200,onStop:o=cr,onScroll:i=cr,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:l={capture:!1,passive:!0},behavior:u="auto",window:c=pn,onError:f=P=>{console.error(P)}}=t,d=typeof a=="boolean"?{mutation:a}:a,p=Le(0),h=Le(0),g=Z({get(){return p.value},set(P){x(P,void 0)}}),y=Z({get(){return h.value},set(P){x(void 0,P)}});function x(P,L){var U,B,re,G;if(!c)return;const se=Je(e);if(!se)return;(re=se instanceof Document?c.document.body:se)==null||re.scrollTo({top:(U=Je(L))!=null?U:y.value,left:(B=Je(P))!=null?B:g.value,behavior:Je(u)});const oe=((G=se==null?void 0:se.document)==null?void 0:G.documentElement)||(se==null?void 0:se.documentElement)||se;g!=null&&(p.value=oe.scrollLeft),y!=null&&(h.value=oe.scrollTop)}const C=Le(!1),k=dn({left:!0,right:!1,top:!0,bottom:!1}),$=dn({left:!1,right:!1,top:!1,bottom:!1}),T=P=>{C.value&&(C.value=!1,$.left=!1,$.right=!1,$.top=!1,$.bottom=!1,o(P))},_=Gh(T,n+r),m=P=>{var L;if(!c)return;const U=((L=P==null?void 0:P.document)==null?void 0:L.documentElement)||(P==null?void 0:P.documentElement)||Zt(P),{display:B,flexDirection:re,direction:G}=getComputedStyle(U),se=G==="rtl"?-1:1,oe=U.scrollLeft;$.left=oe<p.value,$.right=oe>p.value;const te=Math.abs(oe*se)<=(s.left||0),ve=Math.abs(oe*se)+U.clientWidth>=U.scrollWidth-(s.right||0)-Fu;B==="flex"&&re==="row-reverse"?(k.left=ve,k.right=te):(k.left=te,k.right=ve),p.value=oe;let Re=U.scrollTop;P===c.document&&!Re&&(Re=c.document.body.scrollTop),$.top=Re<h.value,$.bottom=Re>h.value;const Oe=Math.abs(Re)<=(s.top||0),Pe=Math.abs(Re)+U.clientHeight>=U.scrollHeight-(s.bottom||0)-Fu;B==="flex"&&re==="column-reverse"?(k.top=Pe,k.bottom=Oe):(k.top=Oe,k.bottom=Pe),h.value=Re},E=P=>{var L;if(!c)return;const U=(L=P.target.documentElement)!=null?L:P.target;m(U),C.value=!0,_(P),i(P)};return xt(e,"scroll",n?AC(E,n,!0,!1):E,l),Uo(()=>{try{const P=Je(e);if(!P)return;m(P)}catch(P){f(P)}}),d!=null&&d.mutation&&e!=null&&e!==c&&e!==document&&Xh(e,()=>{const P=Je(e);P&&m(P)},{attributes:!0,childList:!0,subtree:!0}),xt(e,"scrollend",T,l),{x:g,y,isScrolling:C,arrivedState:k,directions:$,measure(){const P=Je(e);c&&P&&m(P)}}}function GC(e={}){const{window:t=pn,...n}=e;return qC(t,n)}function YC(e={}){const{window:t=pn,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:i=!0,type:s="inner"}=e,a=Le(n),l=Le(r),u=()=>{if(t)if(s==="outer")a.value=t.outerWidth,l.value=t.outerHeight;else if(s==="visual"&&t.visualViewport){const{width:f,height:d,scale:p}=t.visualViewport;a.value=Math.round(f*p),l.value=Math.round(d*p)}else i?(a.value=t.innerWidth,l.value=t.innerHeight):(a.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight)};u(),Uo(u);const c={passive:!0};if(xt("resize",u,c),t&&s==="visual"&&t.visualViewport&&xt(t.visualViewport,"resize",u,c),o){const f=DC("(orientation: portrait)");tt(f,()=>u())}return{width:a,height:l}}const XC=wC(()=>Bo({networkErrorDlgVisible:!1,githubErrorDlgVisible:!1,wasmErrorDlgVisible:!1,wasmSupported:void 0})),{message:Du,dialog:QS,loadingBar:JS}=bw(["message","dialog","loadingBar"]),Qh=document.querySelector("#app"),ZC={fixed:"","z-2000":"",class:"BodyScrollbar"},QC=Te({__name:"BodyScrollbar",setup(e){const{y:t,x:n}=GC(),{height:r,width:o}=YC(),i=KC(document.body),s=Z(()=>i.height.value>r.value),a=Z(()=>{const m=i.height.value;return r.value/m*r.value}),l=Z(()=>{const _=i.height.value,m=a.value;return t.value/(_-r.value)*(r.value-m)}),u=Z(()=>s.value?{transform:`translateY(${l.value}px)`,height:`${a.value}px`}:{}),c=async _=>{const m=a.value*.9*(_.clientY<a.value+l.value?-1:1),E=i.height.value,P=E,L=r.value/P*r.value;t.value+=m/(r.value-L)*(E-r.value)},f=Le(!1);let d;const p=_=>{d=_,f.value=!0};xt("pointermove",_=>{if(!d)return;const m=_.clientY-d.clientY;d=_;const E=i.height.value,P=E,L=r.value/P*r.value;t.value+=m/(r.value-L)*(E-r.value)}),xt("pointerup",()=>{d=void 0,f.value=!1});const h=Z(()=>Math.floor(i.width.value)>o.value),g=Z(()=>{const m=i.width.value;return o.value/m*o.value}),y=Z(()=>{const _=i.width.value,m=g.value;return n.value/(_-o.value)*(o.value-m)}),x=Z(()=>h.value?{transform:`translateX(${y.value}px)`,width:`${g.value}px`}:{}),C=_=>{const m=g.value*.9*(_.clientX<g.value+y.value?-1:1),E=i.width.value,P=E,L=o.value/P*o.value,U=n.value+m/(o.value-L)*(E-o.value);n.value=U},k=Le(!1);let $;const T=_=>{$=_,k.value=!0};return xt("pointermove",_=>{if(!$)return;const m=_.clientX-$.clientX;$=_;const E=i.width.value,P=E,L=o.value/P*o.value;n.value+=m/(o.value-L)*(E-o.value)}),xt("pointerup",()=>{$=void 0,k.value=!1}),xt("selectstart",_=>{($||d)&&_.preventDefault()}),(_,m)=>(Nn(),Po("div",ZC,[Eo(ut("div",{"scrollbar-y":"",fixed:"","right-2px":"","top-0":"","bottom-0":"","w-8px":"",onPointerdown:p,onClick:c},[ut("div",{"w-full":"",bg:"#909399","opacity-30":"","hover:opacity":"50",style:wo(Fe(u)),class:Dn({"opacity-50":Fe(f)}),onClick:m[0]||(m[0]=bc(()=>{},["stop"]))},null,6)],544),[[ki,Fe(s)]]),Fe(h)?(Nn(),Po("div",{key:0,"scrollbar-x":"",fixed:"","bottom-2px":"","left-0":"","right-0":"","h-8px":"",onPointerdown:T,onClick:C},[ut("div",{"h-full":"",bg:"#909399","opacity-30":"","hover:opacity":"50",style:wo(Fe(x)),class:Dn({"opacity-50":Fe(k)}),onClick:m[1]||(m[1]=bc(()=>{},["stop"]))},null,6)],32)):hd("",!0)]))}});function e3(...e){const t=new URLSearchParams;return e.forEach(n=>{for(const r in n){const o=n[r];o!==void 0&&t.append(r,String(o))}}),t}const t3=e=>{const t={};return e.forEach((n,r)=>{t[r]=n}),t},JC=async(e=0)=>new Promise(t=>{setTimeout(t,e)}),n3=(()=>{let e;return async t=>{if(t&&e!==t){e=t,JC(1e4).then(()=>{e=void 0});try{await navigator.clipboard.writeText(t),Du.success("复制成功")}catch{Du.error("复制失败")}}}})(),Jh=(e,t)=>{e.classList.add(t),Gt(()=>{e.classList.add(t)}),Xi(()=>{e.classList.remove(t)})},r3=()=>{Jh(Qh,"app-auto-h")},o3=()=>{Jh(document.body,"body-auto-w")},e_=()=>{},i3=()=>e_,s3=(e,t)=>{const n={};return t.forEach(r=>{const o=e[r];o!==void 0&&(n[r]=o)}),n},ep=e=>typeof e=="number"?!0:typeof e=="string"&&Array.prototype.every.call(e,t=>"0"<=t&&t<="9"),a3=e=>{if(typeof e=="number"&&Number.isSafeInteger(e))return e;if(typeof e=="string"&&e.length>0){const t=Number(e);if(Number.isSafeInteger(t))return t}},t_=Te(()=>{const e=Le(!1),t="ontouchstart"in document.documentElement;return e.value=!t,t&&(document.body.classList.add("mobile"),document.documentElement.classList.add("mobile")),()=>e.value?z(Fo,{to:document.body},z(QC)):void 0}),l3=["#ff00ff","#18821c","#00ff00","#007fff","#ff7f00","#7fbf7f","#4e01bf","#b80836","#d67ffd","#00ffff","#fafe43","#00ff7f","#215b8f","#bd667c","#84f7f8","#8dfa01","#8f6605","#f5bc95","#a631f6","#21bab7","#4b1e4a","#7578c8","#c1b629","#ff007f","#0000ff","#4cc62a","#00007f","#fd404b","#b6fc97","#f742d8","#373fea","#a31b90","#ff0000","#03ae66","#a1b6e3","#61f9a8"],c3=e=>{var n,r;const t=[];if((n=e.dataTransfer)!=null&&n.items)for(let o=0;o<e.dataTransfer.items.length;o++){const i=e.dataTransfer.items[o];if(i.kind==="file"){const s=i.getAsFile();s&&t.push(s)}}else t.push(...Array.from(((r=e.dataTransfer)==null?void 0:r.files)||[]));return t},n_=[/\.0+$/,/0+$/],u3=(e,t)=>{const n=e.toFixed(t);if(!n.includes("."))return n;for(const r of n_)if(r.test(n))return n.replace(r,"");return n},f3=e=>{try{return new URL(e)}catch{}},r_=new Set([location.origin,"https://cdn.jsdelivr.net","https://fastly.jsdelivr.net","https://raw.githubusercontent.com","https://gist.githubusercontent.com","https://raw.gitmirror.com","https://registry.npmmirror.com"]),d3=e=>(e=new URL(e),e.hostname=="127.0.0.1"||e.hostname=="localhost"||location.protocol=="http:"&&e.protocol=="http:"&&e.hostname.split(".").every(t=>Number.isSafeInteger(parseInt(t)))?!0:r_.has(e.origin)),o_=[/^https:\/\/f\.gkd\.li\/(\d+)$/,/^https:\/\/github\.com\/gkd-kit\/inspect\/files\/(\d+)\/file\.zip$/,/^https:\/\/github\.com\/user-attachments\/files\/(\d+)\/file\.zip$/,/^https:\/\/i\.gkd\.li\/i\/(\d+)$/,/^https:\/\/i\.gkd\.li\/import\/(\d+)$/],i_=["https://f.gkd.li/","https://github.com/user-attachments/files/","https://github.com/gkd-kit/inspect/files/"],h3=e=>i_.some(t=>e.startsWith(t)),tp=e=>{var t;if(typeof e=="string"){if(e.startsWith(location.origin)){const n=+new URL(e).pathname.substring(1);if(Number.isSafeInteger(n)&&n>0)return n}for(const n of o_){const r=(t=e.match(n))==null?void 0:t[1];if(r)return+r}}},s_=/^https:\/\/github\.com\/gkd-kit\/inspect\/assets\/[0-9]+\/([0-9a-z-]+)$/,a_=/^https:\/\/github\.com\/user-attachments\/assets\/([0-9a-z-]+)$/,l_=e=>{var t,n;return((t=e.match(s_))==null?void 0:t[1])||((n=e.match(a_))==null?void 0:n[1])},p3=e=>location.origin+`/i/${e}`,v3=e=>`https://e.gkd.li/${e}`,c_=e=>`https://github.com/user-attachments/files/${e}/file.zip`;var pi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function u_(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function g3(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var o=!1;try{o=this instanceof r}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}function vi(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var la={exports:{}};var ju;function f_(){return ju||(ju=1,function(e,t){(function(n){e.exports=n()})(function(){return function n(r,o,i){function s(u,c){if(!o[u]){if(!r[u]){var f=typeof vi=="function"&&vi;if(!c&&f)return f(u,!0);if(a)return a(u,!0);var d=new Error("Cannot find module '"+u+"'");throw d.code="MODULE_NOT_FOUND",d}var p=o[u]={exports:{}};r[u][0].call(p.exports,function(h){var g=r[u][1][h];return s(g||h)},p,p.exports,n,r,o,i)}return o[u].exports}for(var a=typeof vi=="function"&&vi,l=0;l<i.length;l++)s(i[l]);return s}({1:[function(n,r,o){(function(i){var s=i.MutationObserver||i.WebKitMutationObserver,a;if(s){var l=0,u=new s(h),c=i.document.createTextNode("");u.observe(c,{characterData:!0}),a=function(){c.data=l=++l%2}}else if(!i.setImmediate&&typeof i.MessageChannel<"u"){var f=new i.MessageChannel;f.port1.onmessage=h,a=function(){f.port2.postMessage(0)}}else"document"in i&&"onreadystatechange"in i.document.createElement("script")?a=function(){var y=i.document.createElement("script");y.onreadystatechange=function(){h(),y.onreadystatechange=null,y.parentNode.removeChild(y),y=null},i.document.documentElement.appendChild(y)}:a=function(){setTimeout(h,0)};var d,p=[];function h(){d=!0;for(var y,x,C=p.length;C;){for(x=p,p=[],y=-1;++y<C;)x[y]();C=p.length}d=!1}r.exports=g;function g(y){p.push(y)===1&&!d&&a()}}).call(this,typeof pi<"u"?pi:typeof self<"u"?self:typeof window<"u"?window:{})},{}],2:[function(n,r,o){var i=n(1);function s(){}var a={},l=["REJECTED"],u=["FULFILLED"],c=["PENDING"];r.exports=f;function f(T){if(typeof T!="function")throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,T!==s&&g(this,T)}f.prototype.catch=function(T){return this.then(null,T)},f.prototype.then=function(T,_){if(typeof T!="function"&&this.state===u||typeof _!="function"&&this.state===l)return this;var m=new this.constructor(s);if(this.state!==c){var E=this.state===u?T:_;p(m,E,this.outcome)}else this.queue.push(new d(m,T,_));return m};function d(T,_,m){this.promise=T,typeof _=="function"&&(this.onFulfilled=_,this.callFulfilled=this.otherCallFulfilled),typeof m=="function"&&(this.onRejected=m,this.callRejected=this.otherCallRejected)}d.prototype.callFulfilled=function(T){a.resolve(this.promise,T)},d.prototype.otherCallFulfilled=function(T){p(this.promise,this.onFulfilled,T)},d.prototype.callRejected=function(T){a.reject(this.promise,T)},d.prototype.otherCallRejected=function(T){p(this.promise,this.onRejected,T)};function p(T,_,m){i(function(){var E;try{E=_(m)}catch(P){return a.reject(T,P)}E===T?a.reject(T,new TypeError("Cannot resolve promise with itself")):a.resolve(T,E)})}a.resolve=function(T,_){var m=y(h,_);if(m.status==="error")return a.reject(T,m.value);var E=m.value;if(E)g(T,E);else{T.state=u,T.outcome=_;for(var P=-1,L=T.queue.length;++P<L;)T.queue[P].callFulfilled(_)}return T},a.reject=function(T,_){T.state=l,T.outcome=_;for(var m=-1,E=T.queue.length;++m<E;)T.queue[m].callRejected(_);return T};function h(T){var _=T&&T.then;if(T&&(typeof T=="object"||typeof T=="function")&&typeof _=="function")return function(){_.apply(T,arguments)}}function g(T,_){var m=!1;function E(B){m||(m=!0,a.reject(T,B))}function P(B){m||(m=!0,a.resolve(T,B))}function L(){_(P,E)}var U=y(L);U.status==="error"&&E(U.value)}function y(T,_){var m={};try{m.value=T(_),m.status="success"}catch(E){m.status="error",m.value=E}return m}f.resolve=x;function x(T){return T instanceof this?T:a.resolve(new this(s),T)}f.reject=C;function C(T){var _=new this(s);return a.reject(_,T)}f.all=k;function k(T){var _=this;if(Object.prototype.toString.call(T)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=T.length,E=!1;if(!m)return this.resolve([]);for(var P=new Array(m),L=0,U=-1,B=new this(s);++U<m;)re(T[U],U);return B;function re(G,se){_.resolve(G).then(oe,function(te){E||(E=!0,a.reject(B,te))});function oe(te){P[se]=te,++L===m&&!E&&(E=!0,a.resolve(B,P))}}}f.race=$;function $(T){var _=this;if(Object.prototype.toString.call(T)!=="[object Array]")return this.reject(new TypeError("must be an array"));var m=T.length,E=!1;if(!m)return this.resolve([]);for(var P=-1,L=new this(s);++P<m;)U(T[P]);return L;function U(B){_.resolve(B).then(function(re){E||(E=!0,a.resolve(L,re))},function(re){E||(E=!0,a.reject(L,re))})}}},{1:1}],3:[function(n,r,o){(function(i){typeof i.Promise!="function"&&(i.Promise=n(2))}).call(this,typeof pi<"u"?pi:typeof self<"u"?self:typeof window<"u"?window:{})},{2:2}],4:[function(n,r,o){var i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v};function s(v,R){if(!(v instanceof R))throw new TypeError("Cannot call a class as a function")}function a(){try{if(typeof indexedDB<"u")return indexedDB;if(typeof webkitIndexedDB<"u")return webkitIndexedDB;if(typeof mozIndexedDB<"u")return mozIndexedDB;if(typeof OIndexedDB<"u")return OIndexedDB;if(typeof msIndexedDB<"u")return msIndexedDB}catch{return}}var l=a();function u(){try{if(!l||!l.open)return!1;var v=typeof openDatabase<"u"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),R=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!v||R)&&typeof indexedDB<"u"&&typeof IDBKeyRange<"u"}catch{return!1}}function c(v,R){v=v||[],R=R||{};try{return new Blob(v,R)}catch(O){if(O.name!=="TypeError")throw O;for(var b=typeof BlobBuilder<"u"?BlobBuilder:typeof MSBlobBuilder<"u"?MSBlobBuilder:typeof MozBlobBuilder<"u"?MozBlobBuilder:WebKitBlobBuilder,A=new b,I=0;I<v.length;I+=1)A.append(v[I]);return A.getBlob(R.type)}}typeof Promise>"u"&&n(3);var f=Promise;function d(v,R){R&&v.then(function(b){R(null,b)},function(b){R(b)})}function p(v,R,b){typeof R=="function"&&v.then(R),typeof b=="function"&&v.catch(b)}function h(v){return typeof v!="string"&&(console.warn(v+" used as a key, but it is not a string."),v=String(v)),v}function g(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var y="local-forage-detect-blob-support",x=void 0,C={},k=Object.prototype.toString,$="readonly",T="readwrite";function _(v){for(var R=v.length,b=new ArrayBuffer(R),A=new Uint8Array(b),I=0;I<R;I++)A[I]=v.charCodeAt(I);return b}function m(v){return new f(function(R){var b=v.transaction(y,T),A=c([""]);b.objectStore(y).put(A,"key"),b.onabort=function(I){I.preventDefault(),I.stopPropagation(),R(!1)},b.oncomplete=function(){var I=navigator.userAgent.match(/Chrome\/(\d+)/),O=navigator.userAgent.match(/Edge\//);R(O||!I||parseInt(I[1],10)>=43)}}).catch(function(){return!1})}function E(v){return typeof x=="boolean"?f.resolve(x):m(v).then(function(R){return x=R,x})}function P(v){var R=C[v.name],b={};b.promise=new f(function(A,I){b.resolve=A,b.reject=I}),R.deferredOperations.push(b),R.dbReady?R.dbReady=R.dbReady.then(function(){return b.promise}):R.dbReady=b.promise}function L(v){var R=C[v.name],b=R.deferredOperations.pop();if(b)return b.resolve(),b.promise}function U(v,R){var b=C[v.name],A=b.deferredOperations.pop();if(A)return A.reject(R),A.promise}function B(v,R){return new f(function(b,A){if(C[v.name]=C[v.name]||Be(),v.db)if(R)P(v),v.db.close();else return b(v.db);var I=[v.name];R&&I.push(v.version);var O=l.open.apply(l,I);R&&(O.onupgradeneeded=function(j){var X=O.result;try{X.createObjectStore(v.storeName),j.oldVersion<=1&&X.createObjectStore(y)}catch(Q){if(Q.name==="ConstraintError")console.warn('The database "'+v.name+'" has been upgraded from version '+j.oldVersion+" to version "+j.newVersion+', but the storage "'+v.storeName+'" already exists.');else throw Q}}),O.onerror=function(j){j.preventDefault(),A(O.error)},O.onsuccess=function(){var j=O.result;j.onversionchange=function(X){X.target.close()},b(j),L(v)}})}function re(v){return B(v,!1)}function G(v){return B(v,!0)}function se(v,R){if(!v.db)return!0;var b=!v.db.objectStoreNames.contains(v.storeName),A=v.version<v.db.version,I=v.version>v.db.version;if(A&&(v.version!==R&&console.warn('The database "'+v.name+`" can't be downgraded from version `+v.db.version+" to version "+v.version+"."),v.version=v.db.version),I||b){if(b){var O=v.db.version+1;O>v.version&&(v.version=O)}return!0}return!1}function oe(v){return new f(function(R,b){var A=new FileReader;A.onerror=b,A.onloadend=function(I){var O=btoa(I.target.result||"");R({__local_forage_encoded_blob:!0,data:O,type:v.type})},A.readAsBinaryString(v)})}function te(v){var R=_(atob(v.data));return c([R],{type:v.type})}function ve(v){return v&&v.__local_forage_encoded_blob}function Re(v){var R=this,b=R._initReady().then(function(){var A=C[R._dbInfo.name];if(A&&A.dbReady)return A.dbReady});return p(b,v,v),b}function Oe(v){P(v);for(var R=C[v.name],b=R.forages,A=0;A<b.length;A++){var I=b[A];I._dbInfo.db&&(I._dbInfo.db.close(),I._dbInfo.db=null)}return v.db=null,re(v).then(function(O){return v.db=O,se(v)?G(v):O}).then(function(O){v.db=R.db=O;for(var j=0;j<b.length;j++)b[j]._dbInfo.db=O}).catch(function(O){throw U(v,O),O})}function Pe(v,R,b,A){A===void 0&&(A=1);try{var I=v.db.transaction(v.storeName,R);b(null,I)}catch(O){if(A>0&&(!v.db||O.name==="InvalidStateError"||O.name==="NotFoundError"))return f.resolve().then(function(){if(!v.db||O.name==="NotFoundError"&&!v.db.objectStoreNames.contains(v.storeName)&&v.version<=v.db.version)return v.db&&(v.version=v.db.version+1),G(v)}).then(function(){return Oe(v).then(function(){Pe(v,R,b,A-1)})}).catch(b);b(O)}}function Be(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function ot(v){var R=this,b={db:null};if(v)for(var A in v)b[A]=v[A];var I=C[b.name];I||(I=Be(),C[b.name]=I),I.forages.push(R),R._initReady||(R._initReady=R.ready,R.ready=Re);var O=[];function j(){return f.resolve()}for(var X=0;X<I.forages.length;X++){var Q=I.forages[X];Q!==R&&O.push(Q._initReady().catch(j))}var J=I.forages.slice(0);return f.all(O).then(function(){return b.db=I.db,re(b)}).then(function(ne){return b.db=ne,se(b,R._defaultConfig.version)?G(b):ne}).then(function(ne){b.db=I.db=ne,R._dbInfo=b;for(var me=0;me<J.length;me++){var ke=J[me];ke!==R&&(ke._dbInfo.db=b.db,ke._dbInfo.version=b.version)}})}function it(v,R){var b=this;v=h(v);var A=new f(function(I,O){b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.get(v);J.onsuccess=function(){var ne=J.result;ne===void 0&&(ne=null),ve(ne)&&(ne=te(ne)),I(ne)},J.onerror=function(){O(J.error)}}catch(ne){O(ne)}})}).catch(O)});return d(A,R),A}function At(v,R){var b=this,A=new f(function(I,O){b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.openCursor(),ne=1;J.onsuccess=function(){var me=J.result;if(me){var ke=me.value;ve(ke)&&(ke=te(ke));var De=v(ke,me.key,ne++);De!==void 0?I(De):me.continue()}else I()},J.onerror=function(){O(J.error)}}catch(me){O(me)}})}).catch(O)});return d(A,R),A}function Ee(v,R,b){var A=this;v=h(v);var I=new f(function(O,j){var X;A.ready().then(function(){return X=A._dbInfo,k.call(R)==="[object Blob]"?E(X.db).then(function(Q){return Q?R:oe(R)}):R}).then(function(Q){Pe(A._dbInfo,T,function(J,ne){if(J)return j(J);try{var me=ne.objectStore(A._dbInfo.storeName);Q===null&&(Q=void 0);var ke=me.put(Q,v);ne.oncomplete=function(){Q===void 0&&(Q=null),O(Q)},ne.onabort=ne.onerror=function(){var De=ke.error?ke.error:ke.transaction.error;j(De)}}catch(De){j(De)}})}).catch(j)});return d(I,b),I}function F(v,R){var b=this;v=h(v);var A=new f(function(I,O){b.ready().then(function(){Pe(b._dbInfo,T,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=Q.delete(v);X.oncomplete=function(){I()},X.onerror=function(){O(J.error)},X.onabort=function(){var ne=J.error?J.error:J.transaction.error;O(ne)}}catch(ne){O(ne)}})}).catch(O)});return d(A,R),A}function ae(v){var R=this,b=new f(function(A,I){R.ready().then(function(){Pe(R._dbInfo,T,function(O,j){if(O)return I(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.clear();j.oncomplete=function(){A()},j.onabort=j.onerror=function(){var J=Q.error?Q.error:Q.transaction.error;I(J)}}catch(J){I(J)}})}).catch(I)});return d(b,v),b}function K(v){var R=this,b=new f(function(A,I){R.ready().then(function(){Pe(R._dbInfo,$,function(O,j){if(O)return I(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.count();Q.onsuccess=function(){A(Q.result)},Q.onerror=function(){I(Q.error)}}catch(J){I(J)}})}).catch(I)});return d(b,v),b}function he(v,R){var b=this,A=new f(function(I,O){if(v<0){I(null);return}b.ready().then(function(){Pe(b._dbInfo,$,function(j,X){if(j)return O(j);try{var Q=X.objectStore(b._dbInfo.storeName),J=!1,ne=Q.openKeyCursor();ne.onsuccess=function(){var me=ne.result;if(!me){I(null);return}v===0||J?I(me.key):(J=!0,me.advance(v))},ne.onerror=function(){O(ne.error)}}catch(me){O(me)}})}).catch(O)});return d(A,R),A}function Ae(v){var R=this,b=new f(function(A,I){R.ready().then(function(){Pe(R._dbInfo,$,function(O,j){if(O)return I(O);try{var X=j.objectStore(R._dbInfo.storeName),Q=X.openKeyCursor(),J=[];Q.onsuccess=function(){var ne=Q.result;if(!ne){A(J);return}J.push(ne.key),ne.continue()},Q.onerror=function(){I(Q.error)}}catch(ne){I(ne)}})}).catch(I)});return d(b,v),b}function w(v,R){R=g.apply(this,arguments);var b=this.config();v=typeof v!="function"&&v||{},v.name||(v.name=v.name||b.name,v.storeName=v.storeName||b.storeName);var A=this,I;if(!v.name)I=f.reject("Invalid arguments");else{var O=v.name===b.name&&A._dbInfo.db,j=O?f.resolve(A._dbInfo.db):re(v).then(function(X){var Q=C[v.name],J=Q.forages;Q.db=X;for(var ne=0;ne<J.length;ne++)J[ne]._dbInfo.db=X;return X});v.storeName?I=j.then(function(X){if(X.objectStoreNames.contains(v.storeName)){var Q=X.version+1;P(v);var J=C[v.name],ne=J.forages;X.close();for(var me=0;me<ne.length;me++){var ke=ne[me];ke._dbInfo.db=null,ke._dbInfo.version=Q}var De=new f(function(We,lt){var st=l.open(v.name,Q);st.onerror=function(Nt){var Ur=st.result;Ur.close(),lt(Nt)},st.onupgradeneeded=function(){var Nt=st.result;Nt.deleteObjectStore(v.storeName)},st.onsuccess=function(){var Nt=st.result;Nt.close(),We(Nt)}});return De.then(function(We){J.db=We;for(var lt=0;lt<ne.length;lt++){var st=ne[lt];st._dbInfo.db=We,L(st._dbInfo)}}).catch(function(We){throw(U(v,We)||f.resolve()).catch(function(){}),We})}}):I=j.then(function(X){P(v);var Q=C[v.name],J=Q.forages;X.close();for(var ne=0;ne<J.length;ne++){var me=J[ne];me._dbInfo.db=null}var ke=new f(function(De,We){var lt=l.deleteDatabase(v.name);lt.onerror=function(){var st=lt.result;st&&st.close(),We(lt.error)},lt.onblocked=function(){console.warn('dropInstance blocked for database "'+v.name+'" until all open connections are closed')},lt.onsuccess=function(){var st=lt.result;st&&st.close(),De(st)}});return ke.then(function(De){Q.db=De;for(var We=0;We<J.length;We++){var lt=J[We];L(lt._dbInfo)}}).catch(function(De){throw(U(v,De)||f.resolve()).catch(function(){}),De})})}return d(I,R),I}var S={_driver:"asyncStorage",_initStorage:ot,_support:u(),iterate:At,getItem:it,setItem:Ee,removeItem:F,clear:ae,length:K,key:he,keys:Ae,dropInstance:w};function M(){return typeof openDatabase=="function"}var H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",W="~~local_forage_type~",D=/^~~local_forage_type~([^~]+)~/,ie="__lfsc__:",ee=ie.length,q="arbf",N="blob",ge="si08",ce="ui08",be="uic8",ye="si16",$e="si32",He="ur16",Me="ui32",at="fl32",ct="fl64",gt=ee+q.length,mt=Object.prototype.toString;function Yt(v){var R=v.length*.75,b=v.length,A,I=0,O,j,X,Q;v[v.length-1]==="="&&(R--,v[v.length-2]==="="&&R--);var J=new ArrayBuffer(R),ne=new Uint8Array(J);for(A=0;A<b;A+=4)O=H.indexOf(v[A]),j=H.indexOf(v[A+1]),X=H.indexOf(v[A+2]),Q=H.indexOf(v[A+3]),ne[I++]=O<<2|j>>4,ne[I++]=(j&15)<<4|X>>2,ne[I++]=(X&3)<<6|Q&63;return J}function Lt(v){var R=new Uint8Array(v),b="",A;for(A=0;A<R.length;A+=3)b+=H[R[A]>>2],b+=H[(R[A]&3)<<4|R[A+1]>>4],b+=H[(R[A+1]&15)<<2|R[A+2]>>6],b+=H[R[A+2]&63];return R.length%3===2?b=b.substring(0,b.length-1)+"=":R.length%3===1&&(b=b.substring(0,b.length-2)+"=="),b}function Ct(v,R){var b="";if(v&&(b=mt.call(v)),v&&(b==="[object ArrayBuffer]"||v.buffer&&mt.call(v.buffer)==="[object ArrayBuffer]")){var A,I=ie;v instanceof ArrayBuffer?(A=v,I+=q):(A=v.buffer,b==="[object Int8Array]"?I+=ge:b==="[object Uint8Array]"?I+=ce:b==="[object Uint8ClampedArray]"?I+=be:b==="[object Int16Array]"?I+=ye:b==="[object Uint16Array]"?I+=He:b==="[object Int32Array]"?I+=$e:b==="[object Uint32Array]"?I+=Me:b==="[object Float32Array]"?I+=at:b==="[object Float64Array]"?I+=ct:R(new Error("Failed to get type for BinaryArray"))),R(I+Lt(A))}else if(b==="[object Blob]"){var O=new FileReader;O.onload=function(){var j=W+v.type+"~"+Lt(this.result);R(ie+N+j)},O.readAsArrayBuffer(v)}else try{R(JSON.stringify(v))}catch(j){console.error("Couldn't convert value into a JSON string: ",v),R(null,j)}}function Y(v){if(v.substring(0,ee)!==ie)return JSON.parse(v);var R=v.substring(gt),b=v.substring(ee,gt),A;if(b===N&&D.test(R)){var I=R.match(D);A=I[1],R=R.substring(I[0].length)}var O=Yt(R);switch(b){case q:return O;case N:return c([O],{type:A});case ge:return new Int8Array(O);case ce:return new Uint8Array(O);case be:return new Uint8ClampedArray(O);case ye:return new Int16Array(O);case He:return new Uint16Array(O);case $e:return new Int32Array(O);case Me:return new Uint32Array(O);case at:return new Float32Array(O);case ct:return new Float64Array(O);default:throw new Error("Unkown type: "+b)}}var pe={serialize:Ct,deserialize:Y,stringToBuffer:Yt,bufferToString:Lt};function Ce(v,R,b,A){v.executeSql("CREATE TABLE IF NOT EXISTS "+R.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],b,A)}function Ue(v){var R=this,b={db:null};if(v)for(var A in v)b[A]=typeof v[A]!="string"?v[A].toString():v[A];var I=new f(function(O,j){try{b.db=openDatabase(b.name,String(b.version),b.description,b.size)}catch(X){return j(X)}b.db.transaction(function(X){Ce(X,b,function(){R._dbInfo=b,O()},function(Q,J){j(J)})},j)});return b.serializer=pe,I}function Ve(v,R,b,A,I,O){v.executeSql(b,A,I,function(j,X){X.code===X.SYNTAX_ERR?j.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[R.storeName],function(Q,J){J.rows.length?O(Q,X):Ce(Q,R,function(){Q.executeSql(b,A,I,O)},O)},O):O(j,X)},O)}function _t(v,R){var b=this;v=h(v);var A=new f(function(I,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){Ve(X,j,"SELECT * FROM "+j.storeName+" WHERE key = ? LIMIT 1",[v],function(Q,J){var ne=J.rows.length?J.rows.item(0).value:null;ne&&(ne=j.serializer.deserialize(ne)),I(ne)},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function Ht(v,R){var b=this,A=new f(function(I,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){Ve(X,j,"SELECT * FROM "+j.storeName,[],function(Q,J){for(var ne=J.rows,me=ne.length,ke=0;ke<me;ke++){var De=ne.item(ke),We=De.value;if(We&&(We=j.serializer.deserialize(We)),We=v(We,De.key,ke+1),We!==void 0){I(We);return}}I()},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function qe(v,R,b,A){var I=this;v=h(v);var O=new f(function(j,X){I.ready().then(function(){R===void 0&&(R=null);var Q=R,J=I._dbInfo;J.serializer.serialize(R,function(ne,me){me?X(me):J.db.transaction(function(ke){Ve(ke,J,"INSERT OR REPLACE INTO "+J.storeName+" (key, value) VALUES (?, ?)",[v,ne],function(){j(Q)},function(De,We){X(We)})},function(ke){if(ke.code===ke.QUOTA_ERR){if(A>0){j(qe.apply(I,[v,Q,b,A-1]));return}X(ke)}})})}).catch(X)});return d(O,b),O}function zt(v,R,b){return qe.apply(this,[v,R,b,1])}function rn(v,R){var b=this;v=h(v);var A=new f(function(I,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){Ve(X,j,"DELETE FROM "+j.storeName+" WHERE key = ?",[v],function(){I()},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function vs(v){var R=this,b=new f(function(A,I){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){Ve(j,O,"DELETE FROM "+O.storeName,[],function(){A()},function(X,Q){I(Q)})})}).catch(I)});return d(b,v),b}function gs(v){var R=this,b=new f(function(A,I){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){Ve(j,O,"SELECT COUNT(key) as c FROM "+O.storeName,[],function(X,Q){var J=Q.rows.item(0).c;A(J)},function(X,Q){I(Q)})})}).catch(I)});return d(b,v),b}function ms(v,R){var b=this,A=new f(function(I,O){b.ready().then(function(){var j=b._dbInfo;j.db.transaction(function(X){Ve(X,j,"SELECT key FROM "+j.storeName+" WHERE id = ? LIMIT 1",[v+1],function(Q,J){var ne=J.rows.length?J.rows.item(0).key:null;I(ne)},function(Q,J){O(J)})})}).catch(O)});return d(A,R),A}function bs(v){var R=this,b=new f(function(A,I){R.ready().then(function(){var O=R._dbInfo;O.db.transaction(function(j){Ve(j,O,"SELECT key FROM "+O.storeName,[],function(X,Q){for(var J=[],ne=0;ne<Q.rows.length;ne++)J.push(Q.rows.item(ne).key);A(J)},function(X,Q){I(Q)})})}).catch(I)});return d(b,v),b}function ys(v){return new f(function(R,b){v.transaction(function(A){A.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(I,O){for(var j=[],X=0;X<O.rows.length;X++)j.push(O.rows.item(X).name);R({db:v,storeNames:j})},function(I,O){b(O)})},function(A){b(A)})})}function xs(v,R){R=g.apply(this,arguments);var b=this.config();v=typeof v!="function"&&v||{},v.name||(v.name=v.name||b.name,v.storeName=v.storeName||b.storeName);var A=this,I;return v.name?I=new f(function(O){var j;v.name===b.name?j=A._dbInfo.db:j=openDatabase(v.name,"","",0),v.storeName?O({db:j,storeNames:[v.storeName]}):O(ys(j))}).then(function(O){return new f(function(j,X){O.db.transaction(function(Q){function J(De){return new f(function(We,lt){Q.executeSql("DROP TABLE IF EXISTS "+De,[],function(){We()},function(st,Nt){lt(Nt)})})}for(var ne=[],me=0,ke=O.storeNames.length;me<ke;me++)ne.push(J(O.storeNames[me]));f.all(ne).then(function(){j()}).catch(function(De){X(De)})},function(Q){X(Q)})})}):I=f.reject("Invalid arguments"),d(I,R),I}var ws={_driver:"webSQLStorage",_initStorage:Ue,_support:M(),iterate:Ht,getItem:_t,setItem:zt,removeItem:rn,clear:vs,length:gs,key:ms,keys:bs,dropInstance:xs};function Cs(){try{return typeof localStorage<"u"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function qo(v,R){var b=v.name+"/";return v.storeName!==R.storeName&&(b+=v.storeName+"/"),b}function _s(){var v="_localforage_support_test";try{return localStorage.setItem(v,!0),localStorage.removeItem(v),!1}catch{return!0}}function Ss(){return!_s()||localStorage.length>0}function Es(v){var R=this,b={};if(v)for(var A in v)b[A]=v[A];return b.keyPrefix=qo(v,R._defaultConfig),Ss()?(R._dbInfo=b,b.serializer=pe,f.resolve()):f.reject()}function Ts(v){var R=this,b=R.ready().then(function(){for(var A=R._dbInfo.keyPrefix,I=localStorage.length-1;I>=0;I--){var O=localStorage.key(I);O.indexOf(A)===0&&localStorage.removeItem(O)}});return d(b,v),b}function Rs(v,R){var b=this;v=h(v);var A=b.ready().then(function(){var I=b._dbInfo,O=localStorage.getItem(I.keyPrefix+v);return O&&(O=I.serializer.deserialize(O)),O});return d(A,R),A}function Ps(v,R){var b=this,A=b.ready().then(function(){for(var I=b._dbInfo,O=I.keyPrefix,j=O.length,X=localStorage.length,Q=1,J=0;J<X;J++){var ne=localStorage.key(J);if(ne.indexOf(O)===0){var me=localStorage.getItem(ne);if(me&&(me=I.serializer.deserialize(me)),me=v(me,ne.substring(j),Q++),me!==void 0)return me}}});return d(A,R),A}function $s(v,R){var b=this,A=b.ready().then(function(){var I=b._dbInfo,O;try{O=localStorage.key(v)}catch{O=null}return O&&(O=O.substring(I.keyPrefix.length)),O});return d(A,R),A}function Os(v){var R=this,b=R.ready().then(function(){for(var A=R._dbInfo,I=localStorage.length,O=[],j=0;j<I;j++){var X=localStorage.key(j);X.indexOf(A.keyPrefix)===0&&O.push(X.substring(A.keyPrefix.length))}return O});return d(b,v),b}function ip(v){var R=this,b=R.keys().then(function(A){return A.length});return d(b,v),b}function sp(v,R){var b=this;v=h(v);var A=b.ready().then(function(){var I=b._dbInfo;localStorage.removeItem(I.keyPrefix+v)});return d(A,R),A}function ap(v,R,b){var A=this;v=h(v);var I=A.ready().then(function(){R===void 0&&(R=null);var O=R;return new f(function(j,X){var Q=A._dbInfo;Q.serializer.serialize(R,function(J,ne){if(ne)X(ne);else try{localStorage.setItem(Q.keyPrefix+v,J),j(O)}catch(me){(me.name==="QuotaExceededError"||me.name==="NS_ERROR_DOM_QUOTA_REACHED")&&X(me),X(me)}})})});return d(I,b),I}function lp(v,R){if(R=g.apply(this,arguments),v=typeof v!="function"&&v||{},!v.name){var b=this.config();v.name=v.name||b.name,v.storeName=v.storeName||b.storeName}var A=this,I;return v.name?I=new f(function(O){v.storeName?O(qo(v,A._defaultConfig)):O(v.name+"/")}).then(function(O){for(var j=localStorage.length-1;j>=0;j--){var X=localStorage.key(j);X.indexOf(O)===0&&localStorage.removeItem(X)}}):I=f.reject("Invalid arguments"),d(I,R),I}var cp={_driver:"localStorageWrapper",_initStorage:Es,_support:Cs(),iterate:Ps,getItem:Rs,setItem:ap,removeItem:sp,clear:Ts,length:ip,key:$s,keys:Os,dropInstance:lp},up=function(R,b){return R===b||typeof R=="number"&&typeof b=="number"&&isNaN(R)&&isNaN(b)},fp=function(R,b){for(var A=R.length,I=0;I<A;){if(up(R[I],b))return!0;I++}return!1},Rl=Array.isArray||function(v){return Object.prototype.toString.call(v)==="[object Array]"},Vr={},Pl={},pr={INDEXEDDB:S,WEBSQL:ws,LOCALSTORAGE:cp},dp=[pr.INDEXEDDB._driver,pr.WEBSQL._driver,pr.LOCALSTORAGE._driver],Go=["dropInstance"],ks=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(Go),hp={description:"",driver:dp.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function pp(v,R){v[R]=function(){var b=arguments;return v.ready().then(function(){return v[R].apply(v,b)})}}function As(){for(var v=1;v<arguments.length;v++){var R=arguments[v];if(R)for(var b in R)R.hasOwnProperty(b)&&(Rl(R[b])?arguments[0][b]=R[b].slice():arguments[0][b]=R[b])}return arguments[0]}var vp=function(){function v(R){s(this,v);for(var b in pr)if(pr.hasOwnProperty(b)){var A=pr[b],I=A._driver;this[b]=I,Vr[I]||this.defineDriver(A)}this._defaultConfig=As({},hp),this._config=As({},this._defaultConfig,R),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return v.prototype.config=function(b){if((typeof b>"u"?"undefined":i(b))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var A in b){if(A==="storeName"&&(b[A]=b[A].replace(/\W/g,"_")),A==="version"&&typeof b[A]!="number")return new Error("Database version must be a number.");this._config[A]=b[A]}return"driver"in b&&b.driver?this.setDriver(this._config.driver):!0}else return typeof b=="string"?this._config[b]:this._config},v.prototype.defineDriver=function(b,A,I){var O=new f(function(j,X){try{var Q=b._driver,J=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!b._driver){X(J);return}for(var ne=ks.concat("_initStorage"),me=0,ke=ne.length;me<ke;me++){var De=ne[me],We=!fp(Go,De);if((We||b[De])&&typeof b[De]!="function"){X(J);return}}var lt=function(){for(var Ur=function(bp){return function(){var yp=new Error("Method "+bp+" is not implemented by the current driver"),$l=f.reject(yp);return d($l,arguments[arguments.length-1]),$l}},zs=0,mp=Go.length;zs<mp;zs++){var Is=Go[zs];b[Is]||(b[Is]=Ur(Is))}};lt();var st=function(Ur){Vr[Q]&&console.info("Redefining LocalForage driver: "+Q),Vr[Q]=b,Pl[Q]=Ur,j()};"_support"in b?b._support&&typeof b._support=="function"?b._support().then(st,X):st(!!b._support):st(!0)}catch(Nt){X(Nt)}});return p(O,A,I),O},v.prototype.driver=function(){return this._driver||null},v.prototype.getDriver=function(b,A,I){var O=Vr[b]?f.resolve(Vr[b]):f.reject(new Error("Driver not found."));return p(O,A,I),O},v.prototype.getSerializer=function(b){var A=f.resolve(pe);return p(A,b),A},v.prototype.ready=function(b){var A=this,I=A._driverSet.then(function(){return A._ready===null&&(A._ready=A._initDriver()),A._ready});return p(I,b,b),I},v.prototype.setDriver=function(b,A,I){var O=this;Rl(b)||(b=[b]);var j=this._getSupportedDrivers(b);function X(){O._config.driver=O.driver()}function Q(me){return O._extend(me),X(),O._ready=O._initStorage(O._config),O._ready}function J(me){return function(){var ke=0;function De(){for(;ke<me.length;){var We=me[ke];return ke++,O._dbInfo=null,O._ready=null,O.getDriver(We).then(Q).catch(De)}X();var lt=new Error("No available storage method found.");return O._driverSet=f.reject(lt),O._driverSet}return De()}}var ne=this._driverSet!==null?this._driverSet.catch(function(){return f.resolve()}):f.resolve();return this._driverSet=ne.then(function(){var me=j[0];return O._dbInfo=null,O._ready=null,O.getDriver(me).then(function(ke){O._driver=ke._driver,X(),O._wrapLibraryMethodsWithReady(),O._initDriver=J(j)})}).catch(function(){X();var me=new Error("No available storage method found.");return O._driverSet=f.reject(me),O._driverSet}),p(this._driverSet,A,I),this._driverSet},v.prototype.supports=function(b){return!!Pl[b]},v.prototype._extend=function(b){As(this,b)},v.prototype._getSupportedDrivers=function(b){for(var A=[],I=0,O=b.length;I<O;I++){var j=b[I];this.supports(j)&&A.push(j)}return A},v.prototype._wrapLibraryMethodsWithReady=function(){for(var b=0,A=ks.length;b<A;b++)pp(this,ks[b])},v.prototype.createInstance=function(b){return new v(b)},v}(),gp=new vp;r.exports=gp},{3:3}]},{},[4])(4)})}(la)),la.exports}var d_=f_();const Nu=u_(d_),np=e=>e,h_=(e,t)=>{try{return e()}catch{return t()}},p_=(e,t,n=np)=>{const r=localStorage.getItem(e),o=r?h_(()=>n(JSON.parse(r)),t):t(),i=Bo(o);return tt(i,()=>{localStorage.setItem(e,JSON.stringify(Ie(i)))}),i},ps=async(e,t,n=np)=>{const r=await Nu.getItem(e),o=Bo(r?n(r):t());return tt(o,async()=>{await Nu.setItem(e,Ie(o))}),o},v_=p_("settings",()=>({autoUploadImport:!1,ignoreUploadWarn:!1,ignoreWasmWarn:!1,maxShowNodeSize:2e3})),g_=await ps("importTime",()=>({})),m_=await ps("githubJpg",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(n.startsWith("https://")){const r=l_(n);r?e[t]=r:delete e[t]}}),e)),b_=await ps("githubZip",()=>({}),e=>(Object.keys(e).forEach(t=>{const n=e[t];if(ep(n))return;const r=tp(n);r?e[t]=r:delete e[t]}),e)),y_=await ps("url",()=>({}),e=>(Object.keys(e).forEach(t=>{if(ep(t))return;const n=tp(t);n&&(e[n]=e[t]),delete e[t]}),e)),x_=()=>({settingsStore:v_,snapshotImportTime:g_,snapshotImageId:m_,snapshotImportId:b_,importSnapshotId:y_}),w_=Te({__name:"ErrorDlg",setup(e){const t=XC(),{settingsStore:n}=x_();return(r,o)=>{const i=xl,s=p2;return Nn(),Po(Ye,null,[Qe(i,{show:Fe(t).githubErrorDlgVisible,"onUpdate:show":o[0]||(o[0]=a=>Fe(t).githubErrorDlgVisible=a),preset:"dialog",title:"生成分享链接失败",type:"success"},{default:wr(()=>[...o[4]||(o[4]=[ut("div",null,"生成分享链接需要以下条件",-1),ut("div",null,[Xt(" 在当前浏览器登录 "),ut("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer"}," github.com ")],-1)])]),_:1},8,["show"]),Qe(i,{show:Fe(t).networkErrorDlgVisible,"onUpdate:show":o[1]||(o[1]=a=>Fe(t).networkErrorDlgVisible=a),preset:"dialog",title:"访问其它域名资源失败",type:"success"},{default:wr(()=>[...o[5]||(o[5]=[ut("div",null,"访问其它域名资源需要以下条件",-1),ut("div",null,[Xt(" 1. 安装脚本管理器, 如 "),ut("a",{href:"https://violentmonkey.github.io/",target:"_blank",rel:"noopener noreferrer"}," Violentmonkey ")],-1),ut("div",null,[Xt(" 2. 安装油猴脚本 "),ut("a",{href:"https://github.com/gkd-kit/network-extension",target:"_blank",rel:"noopener noreferrer"}," network-extension ")],-1),ut("div",null,"3. 在当前网站启用上述油猴脚本的API注入功能",-1),ut("div",null,[Xt(" 4. 分享文件或导入快照额外需浏览器登录 "),ut("a",{href:"https://github.com",target:"_blank",rel:"noopener noreferrer"}," github.com ")],-1)])]),_:1},8,["show"]),Qe(i,{show:Fe(t).wasmErrorDlgVisible,"onUpdate:show":o[3]||(o[3]=a=>Fe(t).wasmErrorDlgVisible=a),preset:"dialog",title:"浏览器不支持或版本过低",type:"warning",positiveText:"确定"},{default:wr(()=>[o[7]||(o[7]=ut("div",null,[Xt(" 选择器的正则表达式一致性需要使用 "),ut("a",{href:"https://developer.chrome.com/blog/wasmgc?hl=zh-cn",target:"_blank",rel:"noopener noreferrer"},"WASM(GC)")],-1)),o[8]||(o[8]=ut("div",{"mt-10px":""},"请使用 Chrome119/Edge119/Firefox120 或最新版本",-1)),Qe(s,{checked:Fe(n).ignoreWasmWarn,"onUpdate:checked":o[2]||(o[2]=a=>Fe(n).ignoreWasmWarn=a),class:"mt-10px"},{default:wr(()=>[...o[6]||(o[6]=[Xt(" 不关注一致性, 不再提醒 ",-1)])]),_:1},8,["checked"])]),_:1},8,["show"])],64)}}}),C_=Te({__name:"App",setup(e){const t={common:{lineHeight:"20px"}},n=wx(()=>{document.activeElement instanceof HTMLButtonElement&&document.activeElement.blur()},1e3);return xt("click",()=>{n()}),(r,o)=>{const i=xh;return Nn(),Po(Ye,null,[Qe(i,{abstract:"",locale:Fe(Sb),dateLocale:Fe(l0),themeOverrides:t},{default:wr(()=>[Qe(w_),Qe(Fe(Kh))]),_:1},8,["locale","dateLocale"]),Qe(Fe(t_))],64)}}}),__="modulepreload",S_=function(e,t){return new URL(e,t).href},Wu={},Yn=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let u=function(c){return Promise.all(c.map(f=>Promise.resolve(f).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=u(n.map(c=>{if(c=S_(c,r),c in Wu)return;Wu[c]=!0;const f=c.endsWith(".css"),d=f?'[rel="stylesheet"]':"";if(!!r)for(let g=s.length-1;g>=0;g--){const y=s[g];if(y.href===c&&(!f||y.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${d}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":__,f||(h.as="script"),h.crossOrigin="",h.href=c,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((g,y)=>{h.addEventListener("load",g),h.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},E_=(e,t)=>{try{return new URL(e,t)}catch{}},rp=new Set,Xn=e=>(rp.add(e),e),Vu=e=>{var n;const t=(n=String(e.params.github_asset_id).match(/^\d+/))==null?void 0:n[0];return t?{path:"/i",query:{...e.query,url:c_(t)}}:{path:"/404"}},op=yC({history:Yw("/"),routes:[{path:"/",component:Xn(()=>Yn(()=>import("./HomePage-E0mzXM61.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url)),meta:{title:"首页"}},{path:"/snapshot/:snapshotId",name:"snapshot",component:Xn(()=>Yn(()=>import("./SnapshotPage-BP3BeJts.js"),__vite__mapDeps([9,10,6,11,12,1,2,3,4,5,13,14]),import.meta.url)),meta:{title:"快照"}},{path:"/i",component:Xn(()=>Yn(()=>import("./ImportPage-g2umoobr.js"),__vite__mapDeps([15,3,7,4]),import.meta.url)),meta:{title:"导入快照"}},{path:"/i/:github_asset_id",redirect:Vu},{path:"/import",redirect(e){return{path:"/i",query:e.query}}},{path:"/import/:github_asset_id",redirect:Vu},{path:"/device",component:Xn(()=>Yn(()=>import("./DevicePage-Ige4Guqi.js"),__vite__mapDeps([16,3,13,8,6,5,2]),import.meta.url)),beforeEnter(e,t,n){const r=E_(String(e.query.url));if(r){localStorage.setItem("device_link",r.origin);const o={...e.query};return delete o.url,n({...e,query:o})}n()},meta:{title:"连接设备"}},{path:"/selector",component:Xn(()=>Yn(()=>import("./SelectorPage-CzhVFSr6.js"),__vite__mapDeps([17,10,6,11,2]),import.meta.url)),meta:{title:"选择器"}},{path:"/svg",component:Xn(()=>Yn(()=>import("./SvgPage-CXP8w7TF.js"),__vite__mapDeps([18,2]),import.meta.url)),meta:{title:"SVG"}},{path:"/:pathMatch(.*)*",component:Xn(()=>Yn(()=>import("./_404Page-DedPS7Hc.js"),__vite__mapDeps([19,12]),import.meta.url))}]});op.beforeEach(e=>{document.title=String(e.meta.title||"GKD")});setTimeout(()=>{rp.forEach(e=>e())},3e3);const T_=`GIT commit
886
+ hash: 79536046582fbe3c1073afab78ab52e15a4cb1c0
887
+ date: 2025-11-13T15:57:23+08:00
888
+ message: fix: remove error style (#55)
889
889
  refs: grafted, HEAD -> main, origin/main
890
+ body: close #55
891
+
890
892
  author_name: 二刺螈
891
893
  author_email: i@songe.li`,R_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
892
894
  <path d="m12 18l-6-6l1.4-1.4l3.6 3.575V6h2v8.175l3.6-3.575L18 12l-6 6Z" />
@@ -977,4 +979,4 @@ author_email: i@songe.li`,R_=`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0
977
979
  <path
978
980
  d="M1 21L12 2l11 19zm3.45-2h15.1L12 6zM12 18q.425 0 .713-.288T13 17t-.288-.712T12 16t-.712.288T11 17t.288.713T12 18m-1-3h2v-5h-2zm1-2.5" />
979
981
  </svg>`,xS=Object.freeze(Object.defineProperty({__proto__:null,default:yS},Symbol.toStringTag,{value:"Module"})),wS=["name","viewBox","fill"],CS=Object.assign({"/src/assets/svg/arrow.svg":P_,"/src/assets/svg/close.svg":O_,"/src/assets/svg/code.svg":A_,"/src/assets/svg/copy.svg":I_,"/src/assets/svg/delete.svg":B_,"/src/assets/svg/device.svg":H_,"/src/assets/svg/discussion.svg":D_,"/src/assets/svg/export.svg":N_,"/src/assets/svg/github.svg":V_,"/src/assets/svg/home.svg":K_,"/src/assets/svg/import.svg":G_,"/src/assets/svg/info.svg":X_,"/src/assets/svg/minus.svg":Q_,"/src/assets/svg/ok.svg":eS,"/src/assets/svg/path.svg":nS,"/src/assets/svg/prop.svg":oS,"/src/assets/svg/search-list.svg":sS,"/src/assets/svg/search.svg":lS,"/src/assets/svg/settings.svg":uS,"/src/assets/svg/share.svg":dS,"/src/assets/svg/system.svg":pS,"/src/assets/svg/terminal.svg":gS,"/src/assets/svg/test.svg":bS,"/src/assets/svg/warn.svg":xS}),_S=Object.fromEntries(Object.entries(CS).map(([e,t])=>{const n=e.split("/").at(-1).split(".")[0],r=document.createElement("template");return r.innerHTML=t.default,[n,r.content.firstChild]})),SS=Te({__name:"SvgIcon",props:{name:{}},setup(e){const t=e,n=Z(()=>_S[t.name]),r=Le();return Hr(()=>{const o=n.value,i=r.value;!o||!i||i.replaceChildren(...Array.from(o.cloneNode(!0).childNodes))}),(o,i)=>Fe(n)?(Nn(),Po("svg",{key:0,ref_key:"actualEl",ref:r,class:"SvgIcon",name:o.name,viewBox:Fe(n).getAttributeNS(null,"viewBox")||void 0,fill:Fe(n).getAttribute("fill")||void 0},null,8,wS)):hd("",!0)}}),Tl=Sd(C_);Tl.use(op);Tl.component("SvgIcon",SS);Tl.mount(Qh);console.log(T_);export{E_ as $,Gt as A,Bo as B,xt as C,c3 as D,Hr as E,dn as F,Qe as G,tt as H,AS as I,Po as J,Nn as K,ut as L,wr as M,ls as N,hd as O,Fe as P,IS as Q,bu as R,Ye as S,Xt as T,lv as U,dt as V,p2 as W,x_ as X,v3 as Y,QS as Z,xl as _,le as a,XS as a$,ss as a0,dr as a1,et as a2,Yx as a3,Kx as a4,MS as a5,ph as a6,Eo as a7,ki as a8,km as a9,l3 as aA,Yn as aB,BC as aC,Dn as aD,tl as aE,Xi as aF,Fo as aG,ng as aH,qS as aI,KS as aJ,US as aK,a3 as aL,b_ as aM,m_ as aN,y_ as aO,v_ as aP,n3 as aQ,i2 as aR,YC as aS,GS as aT,KC as aU,ZS as aV,u3 as aW,bc as aX,Du as aY,p3 as aZ,JC as a_,FS as aa,DS as ab,Lr as ac,zi as ad,ze as ae,Dr as af,as as ag,Ha as ah,NS as ai,gl as aj,l2 as ak,ml as al,Ba as am,Xu as an,Ft as ao,Fr as ap,OS as aq,Hn as ar,WS as as,qc as at,Bt as au,i3 as av,wa as aw,kS as ax,zS as ay,wo as az,ue as b,fr as b$,JS as b0,mh as b1,ts as b2,pl as b3,ns as b4,Oo as b5,pi as b6,XC as b7,l_ as b8,e3 as b9,Mm as bA,Vc as bB,Sn as bC,Ao as bD,g_ as bE,Vf as bF,Uf as bG,Ii as bH,ft as bI,$S as bJ,Av as bK,Ie as bL,u_ as bM,t3 as bN,d3 as bO,h3 as bP,Nu as bQ,r3 as bR,o3 as bS,Rd as bT,kc as bU,Rn as bV,BS as bW,Lp as bX,Xm as bY,Um as bZ,cl as b_,tp as ba,f3 as bb,c_ as bc,s3 as bd,Td as be,ur as bf,nn as bg,Pt as bh,Jt as bi,vt as bj,es as bk,Wc as bl,Wn as bm,Dx as bn,cs as bo,Uc as bp,Gc as bq,Nm as br,ol as bs,La as bt,LS as bu,jS as bv,VS as bw,Hm as bx,kr as by,Bm as bz,to as c,X1 as c0,Gd as c1,Y1 as c2,fl as c3,Bi as c4,Wd as c5,Nr as c6,Ey as c7,No as c8,M0 as c9,Gx as cA,vi as cB,g3 as cC,th as ca,Ar as cb,rs as cc,hu as cd,Zd as ce,Wr as cf,Jd as cg,jr as ch,hn as ci,qd as cj,Kd as ck,Ra as cl,Ud as cm,mx as cn,y0 as co,RS as cp,xb as cq,HS as cr,_n as cs,Qi as ct,YS as cu,Zr as cv,Qr as cw,Rb as cx,Js as cy,Wo as cz,On as d,V as e,fe as f,ua as g,Te as h,zo as i,_b as j,z as k,vh as l,pt as m,al as n,de as o,Pd as p,Z as q,Ut as r,we as s,Mt as t,jt as u,PS as v,zl as w,Pn as x,nt as y,Le as z};
980
- //# sourceMappingURL=index-BrRUBLO2.js.map
982
+ //# sourceMappingURL=index-DGsSqDmi.js.map