@nuxt/devtools 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/chunks/module-main.mjs +47 -1
- package/dist/client/200.html +15 -15
- package/dist/client/404.html +15 -15
- package/dist/client/_nuxt/{D2q6OHSI.js → 2bKi2e5w.js} +1 -1
- package/dist/client/_nuxt/{DPQLghlB.js → 8EggbMwu.js} +1 -1
- package/dist/client/_nuxt/{XUyCDlLU.js → 9xk-6Ftp.js} +1 -1
- package/dist/client/_nuxt/{DV66A8GP.js → B9hwBRIe.js} +1 -1
- package/dist/client/_nuxt/{k_A0nJhK.js → BDWyeyq_.js} +1 -1
- package/dist/client/_nuxt/{CzWzoIFD.js → BEjaWloH.js} +1 -1
- package/dist/client/_nuxt/{BEahU4zN.js → BIG-xU8F.js} +1 -1
- package/dist/client/_nuxt/{BkBsf4fV.js → BMDCUlkj.js} +1 -1
- package/dist/client/_nuxt/{B5zbF1Ns.js → BOnTdqFq.js} +1 -1
- package/dist/client/_nuxt/{Wx9V_rRD.js → BZ4OC5-6.js} +1 -1
- package/dist/client/_nuxt/{DOpbjCYu.js → BZ5b_UHE.js} +1 -1
- package/dist/client/_nuxt/{CJ5q8Tg7.js → Ba4DdyWR.js} +1 -1
- package/dist/client/_nuxt/{BUvXV4QM.js → Bdtkoq5_.js} +1 -1
- package/dist/client/_nuxt/{DhaiECBd.js → BgkphNq2.js} +1 -1
- package/dist/client/_nuxt/{BrtgKGBY.js → BkuzPiAP.js} +1 -1
- package/dist/client/_nuxt/{7hiTR5PB.js → BnqTDRTQ.js} +1 -1
- package/dist/client/_nuxt/{BVujVKxG.js → Buf8bEqg.js} +1 -1
- package/dist/client/_nuxt/{CDDcSnPK.js → C3QlK_7B.js} +1 -1
- package/dist/client/_nuxt/{Dw-ZU76y.js → C54XRc8l.js} +1 -1
- package/dist/client/_nuxt/{yRzYTuKL.js → C6khTLBN.js} +1 -1
- package/dist/client/_nuxt/{BH7H7KuD.js → C9nlvRuE.js} +1 -1
- package/dist/client/_nuxt/{Dw1fJENz.js → CB59kvvk.js} +1 -1
- package/dist/client/_nuxt/{6jtm0BF9.js → CD_YezWg.js} +1 -1
- package/dist/client/_nuxt/{wFhhlbUq.js → CMLG2-wm.js} +1 -1
- package/dist/client/_nuxt/{CkT2yc6U.js → CXHl10-y.js} +1 -1
- package/dist/client/_nuxt/{BC8B3cgI.js → CXNvZAmn.js} +1 -1
- package/dist/client/_nuxt/{Cjc4f2ev.js → CXiebJPP.js} +1 -1
- package/dist/client/_nuxt/{Dx8eINec.js → CY8m9THH.js} +1 -1
- package/dist/client/_nuxt/{CblUgwwa.js → C_MnmfmV.js} +1 -1
- package/dist/client/_nuxt/{BcogkuZh.js → ChqQx1p4.js} +1 -1
- package/dist/client/_nuxt/{DSo8oaHs.js → CrUxNsPP.js} +1 -1
- package/dist/client/_nuxt/{CIkrQBKj.js → CtILACI6.js} +6 -6
- package/dist/client/_nuxt/{Coo6pmwX.js → CtdhE1f3.js} +1 -1
- package/dist/client/_nuxt/{tdLlBApQ.js → CwIrUz6t.js} +1 -1
- package/dist/client/_nuxt/{CFm3KZee.js → CyGasit_.js} +1 -1
- package/dist/client/_nuxt/{DmbtNPqq.js → D4f0f7UU.js} +1 -1
- package/dist/client/_nuxt/{Ci1dPZGg.js → D89IPr06.js} +1 -1
- package/dist/client/_nuxt/{BVD70z6r.js → DBpZLuBg.js} +1 -1
- package/dist/client/_nuxt/{BajVyxOZ.js → DDNphti6.js} +1 -1
- package/dist/client/_nuxt/{Bcl6uqaN.js → DDu9F5dm.js} +1 -1
- package/dist/client/_nuxt/DE14FQNr.js +2 -0
- package/dist/client/_nuxt/{BVYGtwfP.js → DEHAvi9d.js} +1 -1
- package/dist/client/_nuxt/{z_0T7nNf.js → DN9uS3r9.js} +1 -1
- package/dist/client/_nuxt/{Dc1Hsvcx.js → DRyh6x-M.js} +1 -1
- package/dist/client/_nuxt/{z_5JL1Zh.js → DW-UQrvA.js} +1 -1
- package/dist/client/_nuxt/{BF8Kd9Mz.js → DZNF9_Ts.js} +1 -1
- package/dist/client/_nuxt/{DyLVKLu8.js → D_qxg9CZ.js} +1 -1
- package/dist/client/_nuxt/{CdS8XaBJ.js → DdbkFw3c.js} +1 -1
- package/dist/client/_nuxt/{DjUutLiq.js → DnXIYXpO.js} +1 -1
- package/dist/client/_nuxt/{xLS-vzkA.js → DwPRkQcZ.js} +1 -1
- package/dist/client/_nuxt/{Dt7Jhe5U.js → Elk39DYk.js} +1 -1
- package/dist/client/_nuxt/{BV6PKaGl.js → LysmJLvR.js} +1 -1
- package/dist/client/_nuxt/{CBSPSh67.js → QRQ0ln8W.js} +1 -1
- package/dist/client/_nuxt/Z8_3SdCx.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/ca0a12b4-0fff-4e13-ae05-41075030e4de.json +1 -0
- package/dist/client/_nuxt/{B6I8sub5.js → e8Aij11V.js} +1 -1
- package/dist/client/_nuxt/{3oGDMuFq.js → hRYdrzP_.js} +1 -1
- package/dist/client/_nuxt/{pinia.BBoKCg80.css → pinia.uD6MMfzP.css} +1 -1
- package/dist/client/_nuxt/{D7YqW8lP.js → tH7Oq52e.js} +1 -1
- package/dist/client/_nuxt/{BSuPiGtT.js → ud_P3M-F.js} +1 -1
- package/dist/client/_nuxt/vzR1DB7b.js +105 -0
- package/dist/client/_nuxt/{CTFc8btY.js → z8NVlzAs.js} +1 -1
- package/dist/client/index.html +15 -15
- package/dist/module.json +1 -1
- package/package.json +7 -7
- package/dist/client/_nuxt/BGDH87KL.js +0 -1
- package/dist/client/_nuxt/BrmerHXk.js +0 -105
- package/dist/client/_nuxt/DXVvxk8K.js +0 -1
- package/dist/client/_nuxt/builds/meta/34470db4-655e-46f1-a42f-a96f6eee9135.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{bk as Ti,bl as zi,y as oo,z as io,d as V,az as bt,o as _,h as B,r as N,m as z,i as O,f as w,a as E,bm as Qe,aQ as Pi,aq as We,k as x,F as ce,aa as J,p as W,a9 as be,G as X,ae as Oi,j as M,au as oe,bn as Jt,bi as ro,bj as ao,w as de,v as pe,bo as wt,bp as so,bq as lo,n as _t,t as we,aA as qe,l as xt,I as _e,b0 as Ai,br as Ei,bs as Ni,aw as uo,bg as ge,ao as co,bt as Ri,aN as Mi,ax as pn,bu as Ii,bv as ji,bw as Di,bx as Xt,by as Li,bz as Hi,bA as Bi,bB as Vi}from"./CIkrQBKj.js";function Ui(){return{activeAppRecord:Ti,connected:zi}}const Qt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},Fi={},Gi={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Wi=Ai('<svg height="130" viewBox="0 0 319 477" width="180" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a"><stop offset="0" stop-color="#52ce63"></stop><stop offset="1" stop-color="#51a256"></stop></linearGradient><linearGradient id="b" x1="55.342075%" x2="42.816933%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="c" x1="55.348642%" x2="42.808103%" xlink:href="#a" y1="0%" y2="42.862855%"></linearGradient><linearGradient id="d" x1="50%" x2="50%" y1="0%" y2="58.811243%"><stop offset="0" stop-color="#8ae99c"></stop><stop offset="1" stop-color="#52ce63"></stop></linearGradient><linearGradient id="e" x1="51.37763%" x2="44.584719%" y1="17.472551%" y2="100%"><stop offset="0" stop-color="#ffe56c"></stop><stop offset="1" stop-color="#ffc63a"></stop></linearGradient><g fill="none" fill-rule="evenodd" transform="translate(-34 -24)"><g transform="matrix(.99254615 .12186934 -.12186934 .99254615 33.922073 .976691)"><path d="m103.950535 258.274149c44.361599-4.360825 60.014503-40.391282 65.353094-94.699444s-30.93219-103.451001-46.020347-101.9678079c-15.088156 1.4831932-63.0385313 58.9051239-68.3771222 113.2132869-5.3385908 54.308162 4.6827754 87.814791 49.0443752 83.453965z" fill="url(#b)" transform="matrix(.70710678 -.70710678 .70710678 .70710678 -80.496332 125.892944)"></path><path d="m275.876752 258.273992c44.3616 4.360826 53.167133-29.265322 47.828542-83.573485-5.338591-54.308162-52.073133-111.6105744-67.16129-113.0937675-15.088156-1.4831931-52.57477 47.5401275-47.236179 101.8482895s22.207328 90.458137 66.568927 94.818963z" fill="url(#c)" transform="matrix(.70710678 .70710678 -.70710678 .70710678 191.403399 -141.861963)"></path><path d="m188.370027 216.876305c39.941834 0 50.95265-38.251987 50.95265-97.89874 0-59.6467532-37.367733-118.10125956-50.95265-118.10125956s-52.04735 58.45450636-52.04735 118.10125956c0 59.646753 12.105516 97.89874 52.04735 97.89874z" fill="url(#d)"></path></g><path d="m184.473473 501c83.118854 0 150.526527-24.145148 150.526527-133.645148s-67.407673-199.354852-150.526527-199.354852c-83.118855 0-150.473473 89.854852-150.473473 199.354852s67.354618 133.645148 150.473473 133.645148z" fill="url(#e)"></path><ellipse cx="260.5" cy="335" fill="#eaadcc" rx="21.5" ry="10"></ellipse><ellipse cx="102.5" cy="329" fill="#eaadcc" rx="21.5" ry="10" transform="matrix(.99254615 .12186934 -.12186934 .99254615 40.859033 -10.039292)"></ellipse><g transform="matrix(-.99939083 .0348995 .0348995 .99939083 269.284825 271.027667)"><path d="m73.1046985 58.2728794c6.7372416 4.9130333 14.3132632 6.6640587 22.7280649 5.2530761 8.4148016-1.4109825 14.5054466-5.2535769 18.2719346-11.527783" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="6" transform="matrix(.9998477 .01745241 -.01745241 .9998477 1.026464 -1.624794)"></path><path d="m154.501124 3c-5.937545 0-11.312782 2.40629805-15.203644 6.29680621-3.89094 3.89058529-6.29748 9.26545449-6.29748 15.20263179 0 5.9376888 2.406488 11.3127422 6.297291 15.2034272 3.890886 3.8907673 9.266197 6.2971348 15.203833 6.2971348 5.937109 0 11.311896-2.4063889 15.202387-6.2972348 3.890299-3.8906535 6.296489-9.2656636 6.296489-15.2033272 0-5.9371521-2.406242-11.3119781-6.296677-15.20253181-3.890469-3.89058674-9.265181-6.29690619-15.202199-6.29690619z" fill="#000"></path><path d="m154 21c0-3.865549 3.135362-7 6.999413-7 3.866399 0 7.000587 3.134451 7.000587 7s-3.134188 7-7.000587 7c-3.864051-.0011735-6.999413-3.134451-6.999413-7z" fill="#fff"></path><path d="m24.5 13c-5.9375292 0-11.312426 2.406268-15.20299427 6.2967181-3.89069464 3.8905765-6.29700573 9.2654765-6.29700573 15.2027199 0 5.9377549 2.40625962 11.3128391 6.29681766 15.2035153 3.89059104 3.8907092 9.26556184 6.2970467 15.20318234 6.2970467 5.9371249 0 11.3122514-2.406419 15.2030371-6.2973229 3.8905441-3.8906623 6.2969629-9.2656416 6.2969629-15.2032391 0-5.937086-2.4064703-11.3118811-6.297151-15.2024437-3.890763-3.8906448-9.2658154-6.2969943-15.202849-6.2969943z" fill="#000"></path><g fill="#fff"><path d="m136 24.499438c0 10.2185232 8.282911 18.500562 18.501124 18.500562 10.217089 0 18.498876-8.2820388 18.498876-18.500562 0-10.2173992-8.281787-18.499438-18.498876-18.499438-10.218213 0-18.501124 8.2820388-18.501124 18.499438zm-6 0c0-13.5311954 10.96929-24.499438 24.501124-24.499438 13.530838 0 24.498876 10.9683711 24.498876 24.499438 0 13.5319607-10.967808 24.500562-24.498876 24.500562-13.532064 0-24.501124-10.9684728-24.501124-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m6 34.499438c0 10.2185232 8.2817873 18.500562 18.5 18.500562 10.2170889 0 18.5-8.2820388 18.5-18.500562 0-10.2173992-8.2829111-18.499438-18.5-18.499438-10.2182127 0-18.5 8.2820388-18.5 18.499438zm-6 0c0-13.531297 10.9682681-24.499438 24.5-24.499438 13.5309398 0 24.5 10.9684728 24.5 24.499438 0 13.5318591-10.96883 24.500562-24.5 24.500562-13.531962 0-24.5-10.9683711-24.5-24.500562z" fill-rule="nonzero" stroke="#fff" stroke-width="3"></path><path d="m24 31c0-3.865549 3.134451-7 7-7s7 3.134451 7 7-3.134451 7-7 7-7-3.134451-7-7z"></path></g></g><g stroke-linecap="round" stroke-width="11"><g stroke="#ecb732"><path d="m70.5 377.5 74 77"></path><path d="m134.5 386.5-47 50"></path></g><g stroke="#ecb732" transform="matrix(-1 0 0 1 298 377)"><path d="m.5.5 74 77"></path><path d="m64.5 9.5-47 50"></path></g><g stroke="#ffc73b" transform="matrix(0 1 -1 0 215 207)"><path d="m.5.5 49 49"></path><path d="m.5 10.5 49 49" transform="matrix(-1 0 0 1 50 0)"></path></g></g></g></svg><path d="M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z" fill="currentColor"></path>',2),qi=[Wi];function Zi(e,t){return _(),z("svg",Gi,qi)}const Yi=Qt(Fi,[["render",Zi]]),po=Symbol("VirtualRouteKey");function Ki(e){const t=N({path:"/"}),n=E(()=>t.value.path),o=V({setup(){return()=>{const i=e.find(r=>r.path===n.value);return i?Jt(i.component):null}}});return Qe(po,t),{VirtualRouterView:o}}function ho(){const e=wt(po);return{push(t){e.value.path=t}}}const Ji={"h-full":"","w-full":"",flex:"","items-center":""},Xi={flex:"~ col gap2",ma:"","px-5":""},Qi=x("div",{"flex-auto":""},null,-1),er={flex:"~ col","mt-20":"","items-center":""},tr={flex:"~","mt--10":"","items-center":"","justify-center":""},nr=x("div",{mb6:"","mt--1":"","text-center":"","text-sm":"",flex:"~ gap-1"},[x("span",{op40:""}," Pinia DevTools ")],-1),or=x("div",{"flex-auto":""},null,-1),ir={flex:"~ gap2 wrap"},rr=x("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":""},[x("div",{"i-logos-pinia":"","text-3xl":""})],-1),ar=x("div",{"i-carbon-tree-view-alt":"","text-3xl":""},null,-1),sr=x("code",null,"Store",-1),lr=[ar,sr],ur=x("div",{"i-mdi:timeline-clock-outline":"","text-3xl":""},null,-1),cr=x("div",null,"Timeline",-1),dr=[ur,cr],pr=x("div",{flex:"~ gap-6 wrap","mt-5":"","items-center":"","justify-center":""},[x("a",{href:"https://github.com/vuejs/pinia",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-blue",transition:""},[x("div",{"i-carbon-star":""}),pe(" Star on GitHub ")]),x("a",{href:"https://pinia.vuejs.org/",target:"_blank",flex:"~ gap1","items-center":"",op50:"",hover:"op100 text-yellow",transition:""},[x("div",{"i-carbon-document":""}),pe(" View Documentation ")])],-1),hr=x("div",{"flex-auto":""},null,-1),fr=V({__name:"Home",setup(e){const t=ho();return(n,o)=>(_(),z("div",Ji,[x("div",Xi,[Qi,x("div",er,[x("div",tr,[O(Yi,{"h-18":""})]),nr]),or,x("div",ir,[rr,x("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:o[0]||(o[0]=i=>w(t).push("/store"))},lr),x("div",{flex:"~ col auto","min-w-40":"",p4:"","theme-card-lime":"",onClick:o[1]||(o[1]=i=>w(t).push("/timeline"))},dr)]),pr,hr])]))}}),fo={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((o,i)=>(o.size=i===t?o.max:o.min,i!==t&&(n+=o.min),o)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(o=>({min:o.min,max:o.max,size:o.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:o}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:o-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const o=0+(this.pushOtherPanes?0:n.prevPanesSize),i=100-(this.pushOtherPanes?0:n.nextPanesSize),r=Math.max(Math.min(this.getCurrentDragPercentage(e),i),o);let a=[t,t+1],l=this.panes[a[0]]||null,s=this.panes[a[1]]||null;const u=l.max<100&&r>=l.max+n.prevPanesSize,d=s.max<100&&r<=100-(s.max+this.sumNextPanesSize(t+1));if(u||d){u?(l.size=l.max,s.size=Math.max(100-l.max-n.prevPanesSize-n.nextPanesSize,0)):(l.size=Math.max(100-s.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),s.size=s.max);return}if(this.pushOtherPanes){const c=this.doPushOtherPanes(n,r);if(!c)return;({sums:n,panesToResize:a}=c),l=this.panes[a[0]]||null,s=this.panes[a[1]]||null}l!==null&&(l.size=Math.min(Math.max(r-n.prevPanesSize-n.prevReachedMinPanes,l.min),l.max)),s!==null&&(s.size=Math.min(Math.max(100-r-n.nextPanesSize-n.nextReachedMinPanes,s.min),s.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,o=[n,n+1];return t<e.prevPanesSize+this.panes[o[0]].min&&(o[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,o[0]<n&&this.panes.forEach((i,r)=>{r>o[0]&&r<=n&&(i.size=i.min,e.prevReachedMinPanes+=i.min)}),e.prevPanesSize=this.sumPrevPanesSize(o[0]),o[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((i,r)=>{r>0&&r<=n&&(i.size=i.min,e.prevReachedMinPanes+=i.min)}),this.panes[o[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[o[1]].min&&(o[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,o[1]>n+1&&this.panes.forEach((i,r)=>{r>n&&r<o[1]&&(i.size=i.min,e.nextReachedMinPanes+=i.min)}),e.nextPanesSize=this.sumNextPanesSize(o[1]-1),o[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((i,r)=>{r<this.panesCount-1&&r>=n+1&&(i.size=i.min,e.nextReachedMinPanes+=i.min)}),this.panes[o[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:o}},sumPrevPanesSize(e){return this.panes.reduce((t,n,o)=>t+(o<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,o)=>t+(o>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const o=e-1,i=document.createElement("div");i.classList.add("splitpanes__splitter"),n||(i.onmousedown=r=>this.onMouseDown(r,o),typeof window<"u"&&"ontouchstart"in window&&(i.ontouchstart=r=>this.onMouseDown(r,o)),i.onclick=r=>this.onSplitterClick(r,o+1)),this.dblClickSplitter&&(i.ondblclick=r=>this.onSplitterDblClick(r,o+1)),t.parentNode.insertBefore(i,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([o,i])=>n[o]=i)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(i=>(i.className.includes("splitpanes__pane")&&t++,i===e.$el));const n=parseFloat(e.minSize),o=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(o)?100:o,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((i,r)=>i.index=r),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(i=>({min:i.min,max:i.max,size:i.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(o=>o.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((o,i)=>o.index=i),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(o=>({min:o.min,max:o.max,size:o.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],o=[];this.panes.forEach(i=>{i.size=Math.max(Math.min(e,i.max),i.min),t-=i.size,i.size>=i.max&&n.push(i.id),i.size<=i.min&&o.push(i.id)}),t>.1&&this.readjustSizes(t,n,o)},initialPanesSizing(){let e=100;const t=[],n=[];let o=0;this.panes.forEach(r=>{e-=r.size,r.size!==null&&o++,r.size>=r.max&&t.push(r.id),r.size<=r.min&&n.push(r.id)});let i=100;e>.1&&(this.panes.forEach(r=>{r.size===null&&(r.size=Math.max(Math.min(e/(this.panesCount-o),r.max),r.min)),i-=r.size}),i>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,o=0;const i=[],r=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(a=>{o-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&r.push(a.id)}),!(Math.abs(o)<.1)&&(this.panes.forEach(a=>{e&&e.givenSize!==null&&e.id===a.id||(a.size=Math.max(Math.min(n,a.max),a.min)),o-=a.size,a.size>=a.max&&i.push(a.id),a.size<=a.min&&r.push(a.id)}),o>.1&&this.readjustSizes(o,i,r))},readjustSizes(e,t,n){let o;e>0?o=e/(this.panesCount-t.length):o=e/(this.panesCount-n.length),this.panes.forEach((i,r)=>{if(e>0&&!t.includes(i.id)){const a=Math.max(Math.min(i.size+o,i.max),i.min),l=a-i.size;e-=l,i.size=a}else if(!n.includes(i.id)){const a=Math.max(Math.min(i.size+o,i.max),i.min),l=a-i.size;e-=l,i.size=a}i.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[i.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?o=>this.onSplitterDblClick(o,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Jt("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},mr=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},vr={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function gr(e,t,n,o,i,r){return _(),z("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=a=>r.onPaneClick(a,e._.uid)),style:be(e.style)},[J(e.$slots,"default")],4)}const lt=mr(vr,[["render",gr]]);var yr=Object.create,mo=Object.defineProperty,br=Object.getOwnPropertyDescriptor,en=Object.getOwnPropertyNames,wr=Object.getPrototypeOf,_r=Object.prototype.hasOwnProperty,xr=(e,t)=>function(){return e&&(t=(0,e[en(e)[0]])(e=0)),t},kr=(e,t)=>function(){return t||(0,e[en(e)[0]])((t={exports:{}}).exports,t),t.exports},Sr=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of en(t))!_r.call(e,i)&&i!==n&&mo(e,i,{get:()=>t[i],enumerable:!(o=br(t,i))||o.enumerable});return e},$r=(e,t,n)=>(n=e!=null?yr(wr(e)):{},Sr(t||!e||!e.__esModule?mo(n,"default",{value:e,enumerable:!0}):n,e)),et=xr({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.35_typescript@5.4.2/node_modules/tsup/assets/esm_shims.js"(){}}),Cr=kr({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(e,t){et(),t.exports=o;function n(r){return r instanceof Buffer?Buffer.from(r):new r.constructor(r.buffer.slice(),r.byteOffset,r.length)}function o(r){if(r=r||{},r.circles)return i(r);return r.proto?s:l;function a(u,d){for(var c=Object.keys(u),p=new Array(c.length),h=0;h<c.length;h++){var v=c[h],f=u[v];typeof f!="object"||f===null?p[v]=f:f instanceof Date?p[v]=new Date(f):ArrayBuffer.isView(f)?p[v]=n(f):p[v]=d(f)}return p}function l(u){if(typeof u!="object"||u===null)return u;if(u instanceof Date)return new Date(u);if(Array.isArray(u))return a(u,l);if(u instanceof Map)return new Map(a(Array.from(u),l));if(u instanceof Set)return new Set(a(Array.from(u),l));var d={};for(var c in u)if(Object.hasOwnProperty.call(u,c)!==!1){var p=u[c];typeof p!="object"||p===null?d[c]=p:p instanceof Date?d[c]=new Date(p):p instanceof Map?d[c]=new Map(a(Array.from(p),l)):p instanceof Set?d[c]=new Set(a(Array.from(p),l)):ArrayBuffer.isView(p)?d[c]=n(p):d[c]=l(p)}return d}function s(u){if(typeof u!="object"||u===null)return u;if(u instanceof Date)return new Date(u);if(Array.isArray(u))return a(u,s);if(u instanceof Map)return new Map(a(Array.from(u),s));if(u instanceof Set)return new Set(a(Array.from(u),s));var d={};for(var c in u){var p=u[c];typeof p!="object"||p===null?d[c]=p:p instanceof Date?d[c]=new Date(p):p instanceof Map?d[c]=new Map(a(Array.from(p),s)):p instanceof Set?d[c]=new Set(a(Array.from(p),s)):ArrayBuffer.isView(p)?d[c]=n(p):d[c]=s(p)}return d}}function i(r){var a=[],l=[];return r.proto?d:u;function s(c,p){for(var h=Object.keys(c),v=new Array(h.length),f=0;f<h.length;f++){var m=h[f],b=c[m];if(typeof b!="object"||b===null)v[m]=b;else if(b instanceof Date)v[m]=new Date(b);else if(ArrayBuffer.isView(b))v[m]=n(b);else{var g=a.indexOf(b);g!==-1?v[m]=l[g]:v[m]=p(b)}}return v}function u(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return s(c,u);if(c instanceof Map)return new Map(s(Array.from(c),u));if(c instanceof Set)return new Set(s(Array.from(c),u));var p={};a.push(c),l.push(p);for(var h in c)if(Object.hasOwnProperty.call(c,h)!==!1){var v=c[h];if(typeof v!="object"||v===null)p[h]=v;else if(v instanceof Date)p[h]=new Date(v);else if(v instanceof Map)p[h]=new Map(s(Array.from(v),u));else if(v instanceof Set)p[h]=new Set(s(Array.from(v),u));else if(ArrayBuffer.isView(v))p[h]=n(v);else{var f=a.indexOf(v);f!==-1?p[h]=l[f]:p[h]=u(v)}}return a.pop(),l.pop(),p}function d(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return s(c,d);if(c instanceof Map)return new Map(s(Array.from(c),d));if(c instanceof Set)return new Set(s(Array.from(c),d));var p={};a.push(c),l.push(p);for(var h in c){var v=c[h];if(typeof v!="object"||v===null)p[h]=v;else if(v instanceof Date)p[h]=new Date(v);else if(v instanceof Map)p[h]=new Map(s(Array.from(v),d));else if(v instanceof Set)p[h]=new Set(s(Array.from(v),d));else if(ArrayBuffer.isView(v))p[h]=n(v);else{var f=a.indexOf(v);f!==-1?p[h]=l[f]:p[h]=d(v)}}return a.pop(),l.pop(),p}}}});et();et();var Tr=typeof navigator<"u",I=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof I.chrome<"u"&&I.chrome.devtools;Tr&&(I.self,I.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");et();var zr=$r(Cr(),1),Pr=/(?:^|[-_/])(\w)/g,Or=/-(\w)/g;function vo(e,t){return t?t.toUpperCase():""}function Ar(e){return e&&`${e}`.replace(Pr,vo)}function Er(e){return e&&e.replace(Or,vo)}function Nr(e,t){const n=e.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),o=n.lastIndexOf("/"),i=n.substring(o+1);if(t){const r=i.lastIndexOf(t);return i.substring(0,r)}return""}function Rr(e){return e&&e.slice().sort((t,n)=>t.key<n.key?-1:t.key>n.key?1:0)}var hn=(0,zr.default)({circles:!0});function fn(e){return typeof e=="object"&&!Array.isArray(e)&&e!==null}function mn(e){return Array.isArray(e)}et();function Ut(e,t={},n){for(const o in e){const i=e[o],r=n?`${n}:${o}`:o;typeof i=="object"&&i!==null?Ut(i,t,r):typeof i=="function"&&(t[r]=i)}return t}const Mr={run:e=>e()},Ir=()=>Mr,go=typeof console.createTask<"u"?console.createTask:Ir;function jr(e,t){const n=t.shift(),o=go(n);return e.reduce((i,r)=>i.then(()=>o.run(()=>r(...t))),Promise.resolve())}function Dr(e,t){const n=t.shift(),o=go(n);return Promise.all(e.map(i=>o.run(()=>i(...t))))}function It(e,t){for(const n of[...e])n(t)}class Lr{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,o={}){if(!t||typeof n!="function")return()=>{};const i=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!o.allowDeprecated){let a=r.message;a||(a=`${i} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(a)||(console.warn(a),this._deprecatedMessages.add(a))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let o,i=(...r)=>(typeof o=="function"&&o(),o=void 0,i=void 0,n(...r));return o=this.hook(t,i),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const i of o)this.hook(t,i)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Ut(t),o=Object.keys(n).map(i=>this.hook(i,n[i]));return()=>{for(const i of o.splice(0,o.length))i()}}removeHooks(t){const n=Ut(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(jr,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Dr,t,...n)}callHookWith(t,n,...o){const i=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&It(this._before,i);const r=t(n in this._hooks?[...this._hooks[n]]:[],o);return r instanceof Promise?r.finally(()=>{this._after&&i&&It(this._after,i)}):(this._after&&i&&It(this._after,i),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function yo(){return new Lr}const Hr={trailing:!0};function kt(e,t=25,n={}){if(n={...Hr,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,i,r=[],a,l;const s=(u,d)=>(a=Br(e,u,d),a.finally(()=>{if(a=null,n.trailing&&l&&!i){const c=s(u,l);return l=null,c}}),a);return function(...u){return a?(n.trailing&&(l=u),a):new Promise(d=>{const c=!i&&n.leading;clearTimeout(i),i=setTimeout(()=>{i=null;const p=n.leading?o:s(this,u);for(const h of r)h(p);r=[]},t),c?(o=s(this,u),d(o)):r.push(d)})}}async function Br(e,t,n){return await e.apply(t,n)}var Vr=Object.create,bo=Object.defineProperty,Ur=Object.getOwnPropertyDescriptor,tn=Object.getOwnPropertyNames,Fr=Object.getPrototypeOf,Gr=Object.prototype.hasOwnProperty,Wr=(e,t)=>function(){return e&&(t=(0,e[tn(e)[0]])(e=0)),t},wo=(e,t)=>function(){return t||(0,e[tn(e)[0]])((t={exports:{}}).exports,t),t.exports},qr=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of tn(t))!Gr.call(e,i)&&i!==n&&bo(e,i,{get:()=>t[i],enumerable:!(o=Ur(t,i))||o.enumerable});return e},Zr=(e,t,n)=>(n=e!=null?Vr(Fr(e)):{},qr(t||!e||!e.__esModule?bo(n,"default",{value:e,enumerable:!0}):n,e)),S=Wr({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.35_typescript@5.4.2/node_modules/tsup/assets/esm_shims.js"(){}}),Yr=wo({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){S(),function(n){var o={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},i=["်","ް"],r={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},a={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},l={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},s=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),d=[".","!","~","*","'","(",")"].join(""),c=function(f,m){var b="-",g="",y="",P=!0,$={},A,U,j,D,q,F,k,T,L,H,C,Q,Z,he,te="";if(typeof f!="string")return"";if(typeof m=="string"&&(b=m),k=l.en,T=a.en,typeof m=="object"){A=m.maintainCase||!1,$=m.custom&&typeof m.custom=="object"?m.custom:$,j=+m.truncate>1&&m.truncate||!1,D=m.uric||!1,q=m.uricNoSlash||!1,F=m.mark||!1,P=!(m.symbols===!1||m.lang===!1),b=m.separator||b,D&&(te+=s),q&&(te+=u),F&&(te+=d),k=m.lang&&l[m.lang]&&P?l[m.lang]:P?l.en:{},T=m.lang&&a[m.lang]?a[m.lang]:m.lang===!1||m.lang===!0?{}:a.en,m.titleCase&&typeof m.titleCase.length=="number"&&Array.prototype.toString.call(m.titleCase)?(m.titleCase.forEach(function(ne){$[ne+""]=ne+""}),U=!0):U=!!m.titleCase,m.custom&&typeof m.custom.length=="number"&&Array.prototype.toString.call(m.custom)&&m.custom.forEach(function(ne){$[ne+""]=ne+""}),Object.keys($).forEach(function(ne){var De;ne.length>1?De=new RegExp("\\b"+h(ne)+"\\b","gi"):De=new RegExp(h(ne),"gi"),f=f.replace(De,$[ne])});for(C in $)te+=C}for(te+=b,te=h(te),f=f.replace(/(^\s+|\s+$)/g,""),Z=!1,he=!1,H=0,Q=f.length;H<Q;H++)C=f[H],v(C,$)?Z=!1:T[C]?(C=Z&&T[C].match(/[A-Za-z0-9]/)?" "+T[C]:T[C],Z=!1):C in o?(H+1<Q&&i.indexOf(f[H+1])>=0?(y+=C,C=""):he===!0?(C=r[y]+o[C],y=""):C=Z&&o[C].match(/[A-Za-z0-9]/)?" "+o[C]:o[C],Z=!1,he=!1):C in r?(y+=C,C="",H===Q-1&&(C=r[y]),he=!0):k[C]&&!(D&&s.indexOf(C)!==-1)&&!(q&&u.indexOf(C)!==-1)?(C=Z||g.substr(-1).match(/[A-Za-z0-9]/)?b+k[C]:k[C],C+=f[H+1]!==void 0&&f[H+1].match(/[A-Za-z0-9]/)?b:"",Z=!0):(he===!0?(C=r[y]+C,y="",he=!1):Z&&(/[A-Za-z0-9]/.test(C)||g.substr(-1).match(/A-Za-z0-9]/))&&(C=" "+C),Z=!1),g+=C.replace(new RegExp("[^\\w\\s"+te+"_-]","g"),b);return U&&(g=g.replace(/(\w)(\S*)/g,function(ne,De,dn){var Mt=De.toUpperCase()+(dn!==null?dn:"");return Object.keys($).indexOf(Mt.toLowerCase())<0?Mt:Mt.toLowerCase()})),g=g.replace(/\s+/g,b).replace(new RegExp("\\"+b+"+","g"),b).replace(new RegExp("(^\\"+b+"+|\\"+b+"+$)","g"),""),j&&g.length>j&&(L=g.charAt(j)===b,g=g.slice(0,j),L||(g=g.slice(0,g.lastIndexOf(b)))),!A&&!U&&(g=g.toLowerCase()),g},p=function(f){return function(m){return c(m,f)}},h=function(f){return f.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},v=function(f,m){for(var b in m)if(m[b]===f)return!0};if(typeof t<"u"&&t.exports)t.exports=c,t.exports.createSlug=p;else if(typeof define<"u"&&define.amd)define([],function(){return c});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=c,n.createSlug=p}catch{}}(e)}}),Kr=wo({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){S(),t.exports=Yr()}});S();S();S();S();S();S();S();S();S();S();var vn,gn,Te=(gn=(vn=I).__VUE_DEVTOOLS_HOOK)!=null?gn:vn.__VUE_DEVTOOLS_HOOK=yo(),Jr={vueAppInit(e){Te.hook("app:init",e)},vueAppConnected(e){Te.hook("app:connected",e)},componentAdded(e){return Te.hook("component:added",e)},componentUpdated(e){return Te.hook("component:updated",e)},componentRemoved(e){return Te.hook("component:removed",e)},setupDevtoolsPlugin(e){Te.hook("devtools-plugin:setup",e)}},Xr={on:Jr,setupDevToolsPlugin(e,t){return Te.callHook("devtools-plugin:setup",e,t)}};S();S();S();S();S();S();S();Zr(Kr(),1);S();S();S();var yn,bn,tt=(bn=(yn=I).__VUE_DEVTOOLS_API_HOOK)!=null?bn:yn.__VUE_DEVTOOLS_API_HOOK=yo();function Qr(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function nn(e){return e.map(t=>{let{path:n,name:o,children:i}=t;return i!=null&&i.length&&(i=nn(i)),{path:n,name:o,children:i}})}function ea(e){if(e){const{fullPath:t,hash:n,href:o,path:i,name:r,matched:a,params:l,query:s}=e;return{fullPath:t,hash:n,href:o,path:i,name:r,params:l,query:s,matched:nn(a)}}return e}function ta(e){function t(){var n;const o=(n=e.app)==null?void 0:n.config.globalProperties.$router,i=ea(o?.currentRoute.value),r=nn(Qr(o)),a=console.warn;console.warn=()=>{},I[Me]={currentRoute:i?hn(i):{},routes:hn(r)},I[pt]=o,console.warn=a}t(),Xr.on.componentUpdated(kt(()=>{t(),tt.callHook("router-info:updated",I[Me])},200))}S();S();S();function na(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function _o(e){const t=e.__file;if(t)return Ar(Nr(t,".vue"))}function oa(e){return e.displayName||e.name||e._componentTag||_o(e)}function wn(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function ia(e){var t,n,o;const i=na(e.type||{});if(i)return i;if(e.root===e)return"Root";for(const a in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[a]===e.type)return wn(e,a);for(const a in(o=e.appContext)==null?void 0:o.components)if(e.appContext.components[a]===e.type)return wn(e,a);return _o(e.type||{})||"Anonymous Component"}function $e(e){try{return e()}catch(t){return t}}S();S();S();S();S();S();S();S();var ra=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),_n=/^\[native Symbol Symbol\((.*)\)\]$/,aa=/^\[object (\w+)]$/,ut=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,sa=/^(?:function|class) (\w+)/,xn=1e4,kn=5e3,St="__vue_devtool_undefined__",$t="__vue_devtool_infinity__",Ct="__vue_devtool_negative_infinity__",Tt="__vue_devtool_nan__",la={"<":"<",">":">",'"':""","&":"&"};S();S();function ua(e){return e._&&Object.keys(e._).includes("vnode")}function xo(e){return Object.prototype.toString.call(e)==="[object Object]"}function ca(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function ko(e){return!!e.__v_isRef}function da(e){return ko(e)&&!!e.effect}function pa(e){return!!e.__v_isReactive}function ha(e){return!!e.__v_isReadonly}var ct={[St]:"undefined",[Tt]:"NaN",[$t]:"Infinity",[Ct]:"-Infinity"},jt=Object.entries(ct).reduce((e,[t,n])=>(e[n]=t,e),{});function fa(e){return e===null?"null":typeof e=="string"&&ct[e]||!1}function ma(e){const t=new RegExp(`"(${Object.keys(ct).join("|")})"`,"g");return e.replace(t,(n,o)=>ct[o])}function va(e){const t=jt[e.trim()];if(t)return`"${t}"`;const n=new RegExp(`:\\s*(${Object.keys(jt).join("|")})`,"g");return e.replace(n,(o,i)=>`:"${jt[i]}"`)}function So(e){if(Array.isArray(e))return e.map(n=>So(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(sa);return typeof e=="function"&&t&&t[1]||"any"}function ga(e){return!ca(e)&&!Array.isArray(e)&&!xo(e)?Object.prototype.toString.call(e):e}function $o(e){return{ref:ko(e),computed:da(e),reactive:pa(e),readonly:ha(e)}}function Co(e){return e!=null&&e.__v_raw?e.__v_raw:e}function He(e){return e.replace(/[<>"&]/g,t=>la[t]||t)}function dt(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:o,extends:i}=t;i&&dt(e,i),o&&o.forEach(r=>dt(e,r));for(const r of["computed","inject"])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]?Object.assign(e[r],t[r]):e[r]=t[r]);return e}function ya(e){const t=e.type,{mixins:n,extends:o}=t,i=e.appContext.mixins;if(!i.length&&!n&&!o)return t;const r={};return i.forEach(a=>dt(r,a)),dt(r,t),r}function ba(e){const t=[],n=e.type.props;for(const o in e.props){const i=n?n[o]:null,r=Er(o);t.push({type:"props",key:r,value:$e(()=>e.props[o]),meta:i?{type:i.type?So(i.type):"any",required:!!i.required,...i.default?{default:i.default.toString()}:{}}:{type:"invalid"}})}return t}function wa(e){const t=e.type,n=t.props,o=t.vuex&&t.vuex.getters,i=t.computed,r={...e.data,...e.renderContext};return Object.keys(r).filter(a=>!(n&&a in n)&&!(o&&a in o)&&!(i&&a in i)).map(a=>({key:a,type:"data",value:$e(()=>r[a]),editable:!0}))}function _a(e){const t=e.computed?"computed":e.ref?"ref":e.reactive?"reactive":null,n=t?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:null;return{stateType:t,stateTypeName:n}}function xa(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!ra.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var o,i,r,a;const l=$e(()=>Co(e.setupState[n])),s=t[n];let u,d=typeof l=="function"||typeof l?.render=="function"||typeof l?.__asyncLoader=="function";if(s){const c=$o(s),{stateType:p,stateTypeName:h}=_a(c),v=c.ref||c.computed||c.reactive,f=((i=(o=s.effect)==null?void 0:o.raw)==null?void 0:i.toString())||((a=(r=s.effect)==null?void 0:r.fn)==null?void 0:a.toString());p&&(d=!1),u={...p?{stateType:p,stateTypeName:h}:{},...f?{raw:f}:{},editable:v&&!c.readonly}}return{key:n,value:l,type:d?"setup (other)":"setup",...u}})}function ka(e,t){const n=t,o=[],i=n.computed||{};for(const r in i){const a=i[r],l=typeof a=="function"&&a.vuex?"vuex bindings":"computed";o.push({type:l,key:r,value:$e(()=>{var s;return(s=e?.proxy)==null?void 0:s[r]}),editable:typeof a.set=="function"})}return o}function Sa(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:$e(()=>e.attrs[t])}))}function $a(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:$e(()=>e.provides[t])}))}function Ca(e,t){if(!(t!=null&&t.inject))return[];let n=[],o;return Array.isArray(t.inject)?n=t.inject.map(i=>({key:i,originalKey:i})):n=Reflect.ownKeys(t.inject).map(i=>{const r=t.inject[i];let a;return typeof r=="string"||typeof r=="symbol"?a=r:(a=r.from,o=r.default),{key:i,originalKey:a}}),n.map(({key:i,originalKey:r})=>({type:"injected",key:r&&i!==r?`${r.toString()} ➞ ${i.toString()}`:i.toString(),value:$e(()=>e.ctx.hasOwnProperty(i)?e.ctx[i]:e.provides.hasOwnProperty(r)?e.provides[r]:o)}))}function Ta(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:$e(()=>e.refs[t])}))}function za(e){var t;const n=e.type.emits,o=Array.isArray(n)?n:Object.keys(n??{}),i=Object.keys((t=e.vnode.props)!=null?t:{}),r=[];for(const a of i){const[l,...s]=a.split(/(?=[A-Z])/);if(l==="on"){const u=s.join("-").toLowerCase(),d=o.includes(u);r.push({type:"event listeners",key:u,value:{_custom:{displayText:d?"✅ Declared":"⚠️ Not declared",key:d?"✅ Declared":"⚠️ Not declared",value:d?"✅ Declared":"⚠️ Not declared",tooltipText:d?null:`The event <code>${u}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return r}function Pa(e){const t=ya(e);return ba(e).concat(wa(e),xa(e),ka(e,t),Sa(e),$a(e),Ca(e,t),Ta(e),za(e))}S();S();S();S();S();function Oa(e){let t="",n=null;try{t=Function.prototype.toString.call(e),n=String.prototype.match.call(t,/\([\s\S]*?\)/)}catch{}const o=n&&n[0],i=typeof o=="string"?o:"(?)",r=typeof e.name=="string"?e.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;">function</span> ${He(r)}${i}`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function Aa(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function Ea(e){const t=new Date(e.getTime());return t.setMinutes(t.getMinutes()-t.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(e),value:t.toISOString().slice(0,-1)}}}function Na(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function Ra(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function Ma(e){const t={},n=e.getters||{},o=Object.keys(n);for(let i=0;i<o.length;i++){const r=o[i];Object.defineProperty(t,r,{enumerable:!0,get:()=>{try{return n[r]}catch(a){return a}}})}return t}function Ia(e){if(e.length)return e.reduce((t,n)=>{const o=n.type||"data",i=t[o]=t[o]||{};return i[n.key]=n.value,t},{})}function ja(e){const t={},n=e.length;for(let o=0;o<n;o++){const i=e.item(o);t[i.name]=i.value}return t}function Da(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:Ma(e)},fields:{abstract:!0}}}}function La(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function Ha(e){e._&&(e=e._);const t=Pa(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_UID__,displayText:ia(e),tooltipText:"Component instance",value:Ia(t),fields:{abstract:!0}}}}function Ba(e){let t=oa(e);return t?e.name&&e.__file&&(t+=` <span>(${e.__file})</span>`):t="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:t,tooltipText:"Component definition",...e.__file?{file:e.__file}:{}}}}function Va(e){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30"><</span><span class="text-blue-500">${e.tagName.toLowerCase()}</span><span class="opacity-30">></span>`,value:ja(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function Ua(e){var t,n,o,i;const r=$o(e);if(r.ref||r.computed||r.reactive){const a=r.computed?"Computed":r.ref?"Ref":r.reactive?"Reactive":null,l=Co(r.reactive?e:e._value),s=((n=(t=e.effect)==null?void 0:t.raw)==null?void 0:n.toString())||((i=(o=e.effect)==null?void 0:o.fn)==null?void 0:i.toString());return{_custom:{type:a?.toLowerCase(),stateTypeName:a,value:l,...s?{tooltipText:`<span class="font-mono">${s}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function Fa(e){var t;if(e==="compilerOptions")return;const n=this[e],o=typeof n;if(Array.isArray(n)){const i=n.length;return i>kn?{_isArray:!0,length:i,items:n.slice(0,kn)}:n}else{if(typeof n=="string")return n.length>xn?`${n.substring(0,xn)}... (${n.length} total length)`:n;if(o==="undefined")return St;if(n===Number.POSITIVE_INFINITY)return $t;if(n===Number.NEGATIVE_INFINITY)return Ct;if(typeof n=="function")return Oa(n);if(o==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(n)}]`;if(typeof n=="bigint")return Aa(n);if(n!==null&&typeof n=="object"){const i=Object.prototype.toString.call(n);if(i==="[object Map]")return Na(n);if(i==="[object Set]")return Ra(n);if(i==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(n)}]`;if(i==="[object Date]")return Ea(n);if(i==="[object Error]")return`[native Error ${n.message}<>${n.stack}]`;if(n.state&&n._vm)return Da(n);if(n.constructor&&n.constructor.name==="VueRouter")return La(n);if(ua(n))return Ha(n);if(typeof n.render=="function")return Ba(n);if(n.constructor&&n.constructor.name==="VNode")return`[native VNode <${n.tag}>]`;if(typeof HTMLElement<"u"&&n instanceof HTMLElement)return Va(n);if(((t=n.constructor)==null?void 0:t.name)==="Store"&&n._wrappedGetters)return"[object Store]";if(n.currentRoute)return"[object Router]";const r=Ua(n);if(r!=null)return r}else if(Number.isNaN(n))return Tt}return ga(n)}S();function Ga(e){const t=new Set,n=e._custom.value;for(let o=0;o<n.length;o++){const i=n[o];t.add(zt(i))}return t}function Wa(e){const t=new Map,n=e._custom.value;for(let o=0;o<n.length;o++){const{key:i,value:r}=n[o];t.set(i,zt(r))}return t}function zt(e){var t;if(e!==St){if(e===$t)return Number.POSITIVE_INFINITY;if(e===Ct)return Number.NEGATIVE_INFINITY;if(e===Tt)return Number.NaN;if(e&&e._custom){const{_custom:n}=e;return n.type==="component"?(t=Be.appRecord)==null?void 0:t.instanceMap.get(n.id):n.type==="map"?Wa(e):n.type==="set"?Ga(e):n.type==="bigint"?BigInt(n.value):zt(n.value)}else if(_n.test(e)){const[,n]=_n.exec(e);return Symbol.for(n)}else if(ut.test(e)){const[,n,o,,i]=ut.exec(e),r=new I[n](o);return n==="Error"&&i&&(r.stack=i),r}else return e}}function To(e,t){return zt(t)}S();var ot=512*1024;function Ft(e,t,n,o){let i,r,a,l,s;const u=o.get(e);if(u!=null)return u;const d=n.length,c=Object.prototype.toString.call(e);if(c==="[object Object]"){i={},o.set(e,d),n.push(i);const p=Object.keys(e);for(l=0,s=p.length;l<s;l++){r=p[l];try{if(r==="compilerOptions")return;a=e[r],t&&(a=t.call(e,r,a))}catch(h){a=h}i[r]=Ft(a,t,n,o)}}else if(c==="[object Array]")for(i=[],o.set(e,d),n.push(i),l=0,s=e.length;l<s;l++){try{a=e[l],t&&(a=t.call(e,l,a))}catch(p){a=p}i[l]=Ft(a,t,n,o)}else n.push(e);return d}function qa(e,t=null){let n=e.length,o,i,r,a,l,s;for(;n--;)if(r=e[n],s=Object.prototype.toString.call(r),s==="[object Object]"){const u=Object.keys(r);for(o=0,i=u.length;o<i;o++)a=u[o],l=e[r[a]],t&&(l=t.call(r,a,l)),r[a]=l}else if(s==="[object Array]")for(o=0,i=r.length;o<i;o++)l=e[r[o]],t&&(l=t.call(r,o,l)),r[o]=l}function Za(e,t=null,n=null){let o;try{o=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,n)}catch{o=Ya(e,t,n)}if(o.length>ot){const i=Math.ceil(o.length/ot),r=[];for(let a=0;a<i;a++)r.push(o.slice(a*ot,(a+1)*ot));return r}return o}function Ya(e,t=null,n=null){const o=[];return Ft(e,t,o,new Map),n?` ${JSON.stringify(o,null,n)}`:` ${JSON.stringify(o)}`}function Sn(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const n=JSON.parse(e);return qa(n,t),n[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}S();function Pt(e,t=!0){const n=typeof e;if(e==null||e===St)return"null";if(n==="boolean"||n==="number"||e===$t||e===Ct||e===Tt)return"literal";if(e!=null&&e._custom)return t||e._custom.display!=null||e._custom.displayText!=null?"custom":Pt(e._custom.value);if(typeof e=="string"){const o=ut.exec(e);if(o){const[,i]=o;return`native ${i}`}else return"string"}else return Array.isArray(e)||e!=null&&e._isArray?"array":xo(e)?"plain-object":"unknown"}function zo(e,t=!1){var n,o;let i;const r=Pt(e,!1);if(r!=="custom"&&e!=null&&e._custom&&(e=e._custom.value),i=fa(e))return i;if(r==="custom")return((n=e._custom.value)==null?void 0:n._custom)&&zo(e._custom.value)||e._custom.displayText||e._custom.display;if(r==="array")return`Array[${e.length}]`;if(r==="plain-object")return`Object${Object.keys(e).length?"":" (empty)"}`;if(r!=null&&r.includes("native"))return He((o=ut.exec(e))==null?void 0:o[2]);if(typeof e=="string"){const a=e.match(aa);a?e=He(a[1]):t?e=`<span>"</span>${He(e)}<span>"</span>`:e=He(e),e=e.replace(/ /g," ").replace(/\n/g,"<span>\\n</span>")}return e}function on(e){var t,n,o;let i;const r=Pt(e)==="custom";let a={};if(r){const l=e,s=(t=l._custom)==null?void 0:t.value,u=(n=l._custom)==null?void 0:n.type,d=typeof s=="object"&&s!==null&&"_custom"in s?on(s):{inherit:void 0,value:void 0,customType:void 0};a=d.inherit||((o=l._custom)==null?void 0:o.fields)||{},e=d.value||s,i=d.customType||u}return e&&e._isArray&&(e=e.items),{value:e,inherit:a,customType:i}}function Ka(e,t){return t==="bigint"||t==="date"?e:ma(JSON.stringify(e))}function at(e,t){return t==="bigint"?BigInt(e):t==="date"?new Date(e):JSON.parse(va(e),To)}function Po(e){return Za(e,Fa)}function Gt(e,t=!1){return e==null?{}:t?Sn(e,To):Sn(e)}S();S();S();S();S();var $n;($n=I).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__!=null||($n.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);S();S();S();var ve="__VUE_DEVTOOLS_GLOBAL_STATE__";function Ja(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var Cn;(Cn=I)[ve]!=null||(Cn[ve]=Ja());var Oo=kt((e,t)=>{tt.callHook("devtools:state-updated",e,t)},80),Ao=kt((e,t)=>{tt.callHook("devtools:connected-updated",e,t)},80),Y=new Proxy(I[ve],{get(e,t){return I[ve][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){const o={...I[ve]};return e[t]=n,I[ve][t]=n,Oo(I[ve],o),["connected","clientConnected"].includes(t.toString())&&o[t]!==n&&Ao(I[ve],o),!0}});Object.defineProperty(Y.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return Y.tabs=this,tt.callHook("custom-tabs:updated",this),t}});["push","splice"].forEach(e=>{Object.defineProperty(Y.commands,e,{configurable:!0,value(...t){const n=Array.prototype[e].apply(this,t);return Y.commands=this,tt.callHook("custom-commands:updated",this),n}})});S();S();var pt="__VUE_DEVTOOLS_ROUTER__",Me="__VUE_DEVTOOLS_ROUTER_INFO__",Tn;(Tn=I)[Me]!=null||(Tn[Me]={currentRoute:null,routes:[]});var zn;(zn=I)[pt]!=null||(zn[pt]=null);var Xa=new Proxy(I[Me],{get(e,t){return I[Me][t]}});S();var Ee="__VUE_DEVTOOLS_CONTEXT__";function Eo(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var Pn;(Pn=I)[Ee]!=null||(Pn[Ee]=Eo());function Qa(){I[Ee]=Eo()}var Be=new Proxy(I[Ee],{get(e,t){return t==="router"?I[pt]:t==="clear"?Qa:I[Ee][t]},set(e,t,n){return I[Ee][t]=n,!0}});new Proxy(Y.appRecords,{get(e,t){if(t==="value")return Y.appRecords;if(t==="active")return Y.activeAppRecord;if(t==="activeId")return Y.activeAppRecordId},set(e,t,n){var o;const i={...Y};if(t==="value")Y.appRecords=n;else if(t==="active"){const r=n;Y.activeAppRecord=r,Be.appRecord=r,Be.api=r.api,Be.inspector=(o=r.inspector)!=null?o:[],ta(n),Be.routerInfo=Xa}else t==="activeId"&&(Y.activeAppRecordId=n);return Oo(Y,i),["connected","clientConnected"].includes(t.toString())&&i[t]!==n&&Ao(Y,i),!0}});var On;(On=I).__VUE_DEVTOOLS_APP_RECROD_INFO__!=null||(On.__VUE_DEVTOOLS_APP_RECROD_INFO__={id:0,appIds:new Set});S();var An;(An=I).__VUE_DEVTOOLS_ENV__!=null||(An.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});S();function es(e){Y.highPerfModeEnabled=e??!Y.highPerfModeEnabled}let No=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,n)=>(n&=63,n<36?t+=n.toString(36):n<62?t+=(n-26).toString(36).toUpperCase():n>62?t+="-":t+="_",t),"");var ts=Object.defineProperty,Ro=(e,t)=>{for(var n in t)ts(e,n,{get:t[n],enumerable:!0})},ns={};Ro(ns,{onAddTimelineEvent:()=>Uo,onCustomCommandsUpdated:()=>zs,onCustomTabsUpdated:()=>Ts,onDevToolsStateUpdated:()=>Ho,onInspectorStateUpdated:()=>Vo,onInspectorTreeUpdated:()=>Bo,onRouterInfoUpdated:()=>Ps});var os={};Ro(os,{checkVueInspectorDetected:()=>is,editInspectorState:()=>ht,enableVueInspector:()=>rs,getComponentBoundingRect:()=>ls,getDevToolsState:()=>jo,getInspectorState:()=>Io,getInspectorTree:()=>Mo,getMatchedRoutes:()=>vs,getRouterInfo:()=>fs,getTimelineLayer:()=>gs,inspectComponentInspector:()=>us,navigateAction:()=>ms,openInEditor:()=>ss,scrollToComponent:()=>ds,toggleApp:()=>as,toggleComponentInspector:()=>cs,toggleHighPerfMode:()=>ys,unhighlightElement:()=>hs,updateInspectorTreeId:()=>ps});var is=G("devtools:check-vue-inspector-detected",async e=>{var t,n;return!!await((n=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t))}),rs=G("devtools:enable-vue-inspector",async e=>{var t,n;const o=await((n=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t));o&&await o.enable()}),as=G("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),ht=G("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),ss=G("devtools:open-in-editor",(e,t,n)=>{e.api.openInEditor({file:t,baseUrl:n})}),Mo=G("devtools:inspector-tree",async(e,t)=>{const n=await e.api.getInspectorTree(t);return Po(n)}),ls=G("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),us=G("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),cs=G("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),ds=G("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),Io=G("devtools:inspector-state",async(e,t)=>{const n=await e.api.getInspectorState(t);return Po(n)}),ps=G("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),hs=G("devtools:unhighlight-element",e=>e.api.unhighlightElement()),fs=G("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),ms=G("devtools:router-navigate",(e,t)=>{var n;(n=e.context.router)==null||n.push(t).catch(o=>o)}),vs=G("devtools:matched-routes",(e,t)=>{var n,o;const i=console.warn;console.warn=()=>{};const r=(o=(n=e.context.router)==null?void 0:n.resolve({path:t||"/"}).matched)!=null?o:[];return console.warn=i,JSON.stringify(r)}),gs=G("devtools:get-timeline-layer",e=>e.context.timelineLayer),jo=G("devtools:get-state",e=>{var t,n;return{connected:e.state.connected,clientConnected:e.state.clientConnected,vueVersion:((n=(t=e.state)==null?void 0:t.activeAppRecord)==null?void 0:n.version)||"",tabs:e.state.tabs,commands:e.state.commands,vitePluginDetected:e.state.vitePluginDetected,appRecords:e.state.appRecords.map(o=>({id:o.id,name:o.name,version:o.version,routerId:o.routerId,moduleDetectives:o.moduleDetectives})),activeAppRecordId:e.state.activeAppRecordId}}),ys=G("devtools:toggle-high-perf-mode",(e,t)=>{es(t)}),bs="devtools:bridge-action",ws="devtools:bridge-listener",_s="__vue_devtools_bridge__",xs="__vue_devtools_bridge_target__",ks="devtools:bridge-action-events",Ss="devtools:bridge-listener-events",$s=I[ks]=new Map,Cs=I[Ss]=new Map;function Do(){return I[_s]}function Lo(){return I[xs]}function G(e,t){return async(...n)=>{if(Lo()==="devtools"){const o=Do(),i=No();return await new Promise(r=>{o.once(i,a=>{r(a)}),o.emit(bs,{name:e,key:i,args:n})})}else $s.set(e,t)}}function Oe(e,t,n={}){return o=>{if(Lo()==="devtools"){const{parser:i="devtools"}=n,r=i==="devtools"?Gt:JSON.parse,a=Do(),l=No(),s=a.on(l,u=>{o(r(u))});return a.emit(ws,{key:l,name:e,parser:i}),s}else return Cs.set(e,t),()=>{}}}var Ho=Oe("devtools:on-state-updated",(e,t)=>{function n(i){var r;return{vueVersion:((r=i?.activeAppRecord)==null?void 0:r.version)||"",connected:i.connected,clientConnected:i.clientConnected,tabs:i.tabs,commands:i.commands,vitePluginDetected:i.vitePluginDetected,appRecords:i.appRecords.map(a=>({id:a.id,name:a.name,version:a.version,routerId:a.routerId,moduleDetectives:a.moduleDetectives})),activeAppRecordId:i.activeAppRecordId}}function o(){e.api.on.devtoolsStateUpdated(i=>{t(n(i))})}if(e!=null&&e.api)o();else{const i=setInterval(()=>{if(e.state.connected){const r=e.state;t(n(r)),o(),clearInterval(i)}},10)}}),Ts=Oe("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(n=>{t(n)})}),zs=Oe("devtools:on-custom-commands-updated",(e,t)=>{e.api.on.customCommandsUpdated(n=>{t(n)})}),Bo=Oe("devtools:on-inspector-tree-updated",(e,t)=>{e.api.on.sendInspectorTree(n=>{t(n)})}),Vo=Oe("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(n=>{t(n)})}),Ps=Oe("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(n=>{t(n)})},{parser:"json"}),Uo=Oe("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(n=>{t(n)})});const Os={class:"p2"},As=["onClick"],Es=V({__name:"SelectiveList",props:so({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=lo(e,"modelValue");function n(o){t.value=o}return(o,i)=>(_(),z("ul",Os,[(_(!0),z(ce,null,_t(o.data,r=>(_(),z("li",{key:r.id,class:X(["selectable-item",{active:r.id===t.value}]),onClick:a=>n(r.id)},we(r.label),11,As))),128))]))}}),Ns={border:"b base",class:"h10 h40px flex items-center justify-between px-2"},Rs=["href"],Ms=x("i",{class:"i-clarity:document-line cursor-pointer op70 text-base hover:op100"},null,-1),Is=[Ms],js=["href"],Ds=x("i",{class:"i-mdi:github cursor-pointer op70 text-base hover:op100"},null,-1),Ls=[Ds],Fo=V({__name:"DevToolsHeader",props:{githubRepoLink:{},docLink:{}},setup(e){const t=ho();return(n,o)=>(_(),z("div",Ns,[x("i",{class:"i-ep:back cursor-pointer op70 text-base hover:op100",onClick:o[0]||(o[0]=i=>w(t).push("/"))}),x("div",null,[x("a",{class:"pr1",href:n.docLink,target:"_blank"},Is,8,Rs),x("a",{href:n.githubRepoLink,target:"_blank"},Ls,8,js)])]))}}),Hs={},Bs={class:"h-full flex flex-col items-center justify-center op50"},Vs=x("i",{class:"i-lets-icons:blank-light"},null,-1);function Us(e,t){return _(),z("div",Bs,[Vs,x("span",null,[J(e.$slots,"default")])])}const Go=Qt(Hs,[["render",Us]]),Fs=["top","right","bottom","left"],En=["start","end"],Nn=Fs.reduce((e,t)=>e.concat(t,t+"-"+En[0],t+"-"+En[1]),[]),Ze=Math.min,ze=Math.max,Gs={left:"right",right:"left",bottom:"top",top:"bottom"},Ws={start:"end",end:"start"};function Wt(e,t,n){return ze(e,Ze(t,n))}function Ae(e,t){return typeof e=="function"?e(t):e}function ue(e){return e.split("-")[0]}function ae(e){return e.split("-")[1]}function Wo(e){return e==="x"?"y":"x"}function rn(e){return e==="y"?"height":"width"}function nt(e){return["top","bottom"].includes(ue(e))?"y":"x"}function an(e){return Wo(nt(e))}function qo(e,t,n){n===void 0&&(n=!1);const o=ae(e),i=an(e),r=rn(i);let a=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(a=mt(a)),[a,mt(a)]}function qs(e){const t=mt(e);return[ft(e),t,ft(t)]}function ft(e){return e.replace(/start|end/g,t=>Ws[t])}function Zs(e,t,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:o:t?o:i;case"left":case"right":return t?r:a;default:return[]}}function Ys(e,t,n,o){const i=ae(e);let r=Zs(ue(e),n==="start",o);return i&&(r=r.map(a=>a+"-"+i),t&&(r=r.concat(r.map(ft)))),r}function mt(e){return e.replace(/left|right|bottom|top/g,t=>Gs[t])}function Ks(e){return{top:0,right:0,bottom:0,left:0,...e}}function Zo(e){return typeof e!="number"?Ks(e):{top:e,right:e,bottom:e,left:e}}function Ve(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Rn(e,t,n){let{reference:o,floating:i}=e;const r=nt(t),a=an(t),l=rn(a),s=ue(t),u=r==="y",d=o.x+o.width/2-i.width/2,c=o.y+o.height/2-i.height/2,p=o[l]/2-i[l]/2;let h;switch(s){case"top":h={x:d,y:o.y-i.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:c};break;case"left":h={x:o.x-i.width,y:c};break;default:h={x:o.x,y:o.y}}switch(ae(t)){case"start":h[a]-=p*(n&&u?-1:1);break;case"end":h[a]+=p*(n&&u?-1:1);break}return h}const Js=async(e,t,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:a}=n,l=r.filter(Boolean),s=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:d,y:c}=Rn(u,o,s),p=o,h={},v=0;for(let f=0;f<l.length;f++){const{name:m,fn:b}=l[f],{x:g,y,data:P,reset:$}=await b({x:d,y:c,initialPlacement:o,placement:p,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});if(d=g??d,c=y??c,h={...h,[m]:{...h[m],...P}},$&&v<=50){v++,typeof $=="object"&&($.placement&&(p=$.placement),$.rects&&(u=$.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:i}):$.rects),{x:d,y:c}=Rn(u,p,s)),f=-1;continue}}return{x:d,y:c,placement:p,strategy:i,middlewareData:h}};async function Ot(e,t){var n;t===void 0&&(t={});const{x:o,y:i,platform:r,rects:a,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:p=!1,padding:h=0}=Ae(t,e),v=Zo(h),f=l[p?c==="floating"?"reference":"floating":c],m=Ve(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(f)))==null||n?f:f.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:u,rootBoundary:d,strategy:s})),b=c==="floating"?{...a.floating,x:o,y:i}:a.reference,g=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),y=await(r.isElement==null?void 0:r.isElement(g))?await(r.getScale==null?void 0:r.getScale(g))||{x:1,y:1}:{x:1,y:1},P=Ve(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:b,offsetParent:g,strategy:s}):b);return{top:(m.top-P.top+v.top)/y.y,bottom:(P.bottom-m.bottom+v.bottom)/y.y,left:(m.left-P.left+v.left)/y.x,right:(P.right-m.right+v.right)/y.x}}const Xs=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:i,rects:r,platform:a,elements:l}=t,{element:s,padding:u=0}=Ae(e,t)||{};if(s==null)return{};const d=Zo(u),c={x:n,y:o},p=an(i),h=rn(p),v=await a.getDimensions(s),f=p==="y",m=f?"top":"left",b=f?"bottom":"right",g=f?"clientHeight":"clientWidth",y=r.reference[h]+r.reference[p]-c[p]-r.floating[h],P=c[p]-r.reference[p],$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s));let A=$?$[g]:0;(!A||!await(a.isElement==null?void 0:a.isElement($)))&&(A=l.floating[g]||r.floating[h]);const U=y/2-P/2,j=A/2-v[h]/2-1,D=Ze(d[m],j),q=Ze(d[b],j),F=D,k=A-v[h]-q,T=A/2-v[h]/2+U,L=Wt(F,T,k),H=ae(i)!=null&&T!=L&&r.reference[h]/2-(T<F?D:q)-v[h]/2<0?T<F?F-T:k-T:0;return{[p]:c[p]-H,data:{[p]:L,centerOffset:T-L+H}}}});function Qs(e,t,n){return(e?[...n.filter(o=>ae(o)===e),...n.filter(o=>ae(o)!==e)]:n.filter(o=>ue(o)===o)).filter(o=>e?ae(o)===e||(t?ft(o)!==o:!1):!0)}const el=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,o,i;const{rects:r,middlewareData:a,placement:l,platform:s,elements:u}=t,{crossAxis:d=!1,alignment:c,allowedPlacements:p=Nn,autoAlignment:h=!0,...v}=Ae(e,t),f=c!==void 0||p===Nn?Qs(c||null,h,p):p,m=await Ot(t,v),b=((n=a.autoPlacement)==null?void 0:n.index)||0,g=f[b];if(g==null)return{};const y=qo(g,r,await(s.isRTL==null?void 0:s.isRTL(u.floating)));if(l!==g)return{reset:{placement:f[0]}};const P=[m[ue(g)],m[y[0]],m[y[1]]],$=[...((o=a.autoPlacement)==null?void 0:o.overflows)||[],{placement:g,overflows:P}],A=f[b+1];if(A)return{data:{index:b+1,overflows:$},reset:{placement:A}};const U=$.map(D=>{const q=ae(D.placement);return[D.placement,q&&d?D.overflows.slice(0,2).reduce((F,k)=>F+k,0):D.overflows[0],D.overflows]}).sort((D,q)=>D[1]-q[1]),j=((i=U.filter(D=>D[2].slice(0,ae(D[0])?2:3).every(q=>q<=0))[0])==null?void 0:i[0])||U[0][0];return j!==l?{data:{index:b+1,overflows:$},reset:{placement:j}}:{}}}},tl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:o,middlewareData:i,rects:r,initialPlacement:a,platform:l,elements:s}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:c,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:v=!0,...f}=Ae(e,t),m=ue(o),b=ue(a)===a,g=await(l.isRTL==null?void 0:l.isRTL(s.floating)),y=c||(b||!v?[mt(a)]:qs(a));!c&&h!=="none"&&y.push(...Ys(a,v,h,g));const P=[a,...y],$=await Ot(t,f),A=[];let U=((n=i.flip)==null?void 0:n.overflows)||[];if(u&&A.push($[m]),d){const F=qo(o,r,g);A.push($[F[0]],$[F[1]])}if(U=[...U,{placement:o,overflows:A}],!A.every(F=>F<=0)){var j,D;const F=(((j=i.flip)==null?void 0:j.index)||0)+1,k=P[F];if(k)return{data:{index:F,overflows:U},reset:{placement:k}};let T=(D=U.filter(L=>L.overflows[0]<=0).sort((L,H)=>L.overflows[1]-H.overflows[1])[0])==null?void 0:D.placement;if(!T)switch(p){case"bestFit":{var q;const L=(q=U.map(H=>[H.placement,H.overflows.filter(C=>C>0).reduce((C,Q)=>C+Q,0)]).sort((H,C)=>H[1]-C[1])[0])==null?void 0:q[0];L&&(T=L);break}case"initialPlacement":T=a;break}if(o!==T)return{reset:{placement:T}}}return{}}}};async function nl(e,t){const{placement:n,platform:o,elements:i}=e,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),a=ue(n),l=ae(n),s=nt(n)==="y",u=["left","top"].includes(a)?-1:1,d=r&&s?-1:1,c=Ae(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:v}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return l&&typeof v=="number"&&(h=l==="end"?v*-1:v),s?{x:h*d,y:p*u}:{x:p*u,y:h*d}}const ol=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,i=await nl(t,e);return{x:n+i.x,y:o+i.y,data:i}}}},il=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:i}=t,{mainAxis:r=!0,crossAxis:a=!1,limiter:l={fn:m=>{let{x:b,y:g}=m;return{x:b,y:g}}},...s}=Ae(e,t),u={x:n,y:o},d=await Ot(t,s),c=nt(ue(i)),p=Wo(c);let h=u[p],v=u[c];if(r){const m=p==="y"?"top":"left",b=p==="y"?"bottom":"right",g=h+d[m],y=h-d[b];h=Wt(g,h,y)}if(a){const m=c==="y"?"top":"left",b=c==="y"?"bottom":"right",g=v+d[m],y=v-d[b];v=Wt(g,v,y)}const f=l.fn({...t,[p]:h,[c]:v});return{...f,data:{x:f.x-n,y:f.y-o}}}}},rl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:i,elements:r}=t,{apply:a=()=>{},...l}=Ae(e,t),s=await Ot(t,l),u=ue(n),d=ae(n),c=nt(n)==="y",{width:p,height:h}=o.floating;let v,f;u==="top"||u==="bottom"?(v=u,f=d===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(f=u,v=d==="end"?"top":"bottom");const m=h-s[v],b=p-s[f],g=!t.middlewareData.shift;let y=m,P=b;if(c){const A=p-s.left-s.right;P=d||g?Ze(b,A):A}else{const A=h-s.top-s.bottom;y=d||g?Ze(m,A):A}if(g&&!d){const A=ze(s.left,0),U=ze(s.right,0),j=ze(s.top,0),D=ze(s.bottom,0);c?P=p-2*(A!==0||U!==0?A+U:ze(s.left,s.right)):y=h-2*(j!==0||D!==0?j+D:ze(s.top,s.bottom))}await a({...t,availableWidth:P,availableHeight:y});const $=await i.getDimensions(r.floating);return p!==$.width||h!==$.height?{reset:{rects:!0}}:{}}}};function ee(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function se(e){return ee(e).getComputedStyle(e)}const Mn=Math.min,Ue=Math.max,vt=Math.round;function Yo(e){const t=se(e);let n=parseFloat(t.width),o=parseFloat(t.height);const i=e.offsetWidth,r=e.offsetHeight,a=vt(n)!==i||vt(o)!==r;return a&&(n=i,o=r),{width:n,height:o,fallback:a}}function Se(e){return Jo(e)?(e.nodeName||"").toLowerCase():""}let it;function Ko(){if(it)return it;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(it=e.brands.map(t=>t.brand+"/"+t.version).join(" "),it):navigator.userAgent}function le(e){return e instanceof ee(e).HTMLElement}function xe(e){return e instanceof ee(e).Element}function Jo(e){return e instanceof ee(e).Node}function In(e){return typeof ShadowRoot>"u"?!1:e instanceof ee(e).ShadowRoot||e instanceof ShadowRoot}function At(e){const{overflow:t,overflowX:n,overflowY:o,display:i}=se(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(i)}function al(e){return["table","td","th"].includes(Se(e))}function qt(e){const t=/firefox/i.test(Ko()),n=se(e),o=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!o&&o!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(i=>n.willChange.includes(i))||["paint","layout","strict","content"].some(i=>{const r=n.contain;return r!=null&&r.includes(i)})}function Xo(){return!/^((?!chrome|android).)*safari/i.test(Ko())}function sn(e){return["html","body","#document"].includes(Se(e))}function Qo(e){return xe(e)?e:e.contextElement}const ei={x:1,y:1};function Ne(e){const t=Qo(e);if(!le(t))return ei;const n=t.getBoundingClientRect(),{width:o,height:i,fallback:r}=Yo(t);let a=(r?vt(n.width):n.width)/o,l=(r?vt(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}function Ye(e,t,n,o){var i,r;t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),l=Qo(e);let s=ei;t&&(o?xe(o)&&(s=Ne(o)):s=Ne(e));const u=l?ee(l):window,d=!Xo()&&n;let c=(a.left+(d&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/s.x,p=(a.top+(d&&((r=u.visualViewport)==null?void 0:r.offsetTop)||0))/s.y,h=a.width/s.x,v=a.height/s.y;if(l){const f=ee(l),m=o&&xe(o)?ee(o):o;let b=f.frameElement;for(;b&&o&&m!==f;){const g=Ne(b),y=b.getBoundingClientRect(),P=getComputedStyle(b);y.x+=(b.clientLeft+parseFloat(P.paddingLeft))*g.x,y.y+=(b.clientTop+parseFloat(P.paddingTop))*g.y,c*=g.x,p*=g.y,h*=g.x,v*=g.y,c+=y.x,p+=y.y,b=ee(b).frameElement}}return{width:h,height:v,top:p,right:c+h,bottom:p+v,left:c,x:c,y:p}}function ke(e){return((Jo(e)?e.ownerDocument:e.document)||window.document).documentElement}function Et(e){return xe(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ti(e){return Ye(ke(e)).left+Et(e).scrollLeft}function Ke(e){if(Se(e)==="html")return e;const t=e.assignedSlot||e.parentNode||In(e)&&e.host||ke(e);return In(t)?t.host:t}function ni(e){const t=Ke(e);return sn(t)?t.ownerDocument.body:le(t)&&At(t)?t:ni(t)}function gt(e,t){var n;t===void 0&&(t=[]);const o=ni(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),r=ee(o);return i?t.concat(r,r.visualViewport||[],At(o)?o:[]):t.concat(o,gt(o))}function jn(e,t,n){return t==="viewport"?Ve(function(o,i){const r=ee(o),a=ke(o),l=r.visualViewport;let s=a.clientWidth,u=a.clientHeight,d=0,c=0;if(l){s=l.width,u=l.height;const p=Xo();(p||!p&&i==="fixed")&&(d=l.offsetLeft,c=l.offsetTop)}return{width:s,height:u,x:d,y:c}}(e,n)):xe(t)?Ve(function(o,i){const r=Ye(o,!0,i==="fixed"),a=r.top+o.clientTop,l=r.left+o.clientLeft,s=le(o)?Ne(o):{x:1,y:1};return{width:o.clientWidth*s.x,height:o.clientHeight*s.y,x:l*s.x,y:a*s.y}}(t,n)):Ve(function(o){const i=ke(o),r=Et(o),a=o.ownerDocument.body,l=Ue(i.scrollWidth,i.clientWidth,a.scrollWidth,a.clientWidth),s=Ue(i.scrollHeight,i.clientHeight,a.scrollHeight,a.clientHeight);let u=-r.scrollLeft+ti(o);const d=-r.scrollTop;return se(a).direction==="rtl"&&(u+=Ue(i.clientWidth,a.clientWidth)-l),{width:l,height:s,x:u,y:d}}(ke(e)))}function Dn(e){return le(e)&&se(e).position!=="fixed"?e.offsetParent:null}function Ln(e){const t=ee(e);let n=Dn(e);for(;n&&al(n)&&se(n).position==="static";)n=Dn(n);return n&&(Se(n)==="html"||Se(n)==="body"&&se(n).position==="static"&&!qt(n))?t:n||function(o){let i=Ke(o);for(;le(i)&&!sn(i);){if(qt(i))return i;i=Ke(i)}return null}(e)||t}function sl(e,t,n){const o=le(t),i=ke(t),r=Ye(e,!0,n==="fixed",t);let a={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(o||!o&&n!=="fixed")if((Se(t)!=="body"||At(i))&&(a=Et(t)),le(t)){const s=Ye(t,!0);l.x=s.x+t.clientLeft,l.y=s.y+t.clientTop}else i&&(l.x=ti(i));return{x:r.left+a.scrollLeft-l.x,y:r.top+a.scrollTop-l.y,width:r.width,height:r.height}}const ll={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const r=n==="clippingAncestors"?function(u,d){const c=d.get(u);if(c)return c;let p=gt(u).filter(m=>xe(m)&&Se(m)!=="body"),h=null;const v=se(u).position==="fixed";let f=v?Ke(u):u;for(;xe(f)&&!sn(f);){const m=se(f),b=qt(f);(v?b||h:b||m.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=m:p=p.filter(g=>g!==f),f=Ke(f)}return d.set(u,p),p}(t,this._c):[].concat(n),a=[...r,o],l=a[0],s=a.reduce((u,d)=>{const c=jn(t,d,i);return u.top=Ue(c.top,u.top),u.right=Mn(c.right,u.right),u.bottom=Mn(c.bottom,u.bottom),u.left=Ue(c.left,u.left),u},jn(t,l,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const i=le(n),r=ke(n);if(n===r)return t;let a={scrollLeft:0,scrollTop:0},l={x:1,y:1};const s={x:0,y:0};if((i||!i&&o!=="fixed")&&((Se(n)!=="body"||At(r))&&(a=Et(n)),le(n))){const u=Ye(n);l=Ne(n),s.x=u.x+n.clientLeft,s.y=u.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+s.x,y:t.y*l.y-a.scrollTop*l.y+s.y}},isElement:xe,getDimensions:function(e){return le(e)?Yo(e):e.getBoundingClientRect()},getOffsetParent:Ln,getDocumentElement:ke,getScale:Ne,async getElementRects(e){let{reference:t,floating:n,strategy:o}=e;const i=this.getOffsetParent||Ln,r=this.getDimensions;return{reference:sl(t,await i(n),o),floating:{x:0,y:0,...await r(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>se(e).direction==="rtl"},ul=(e,t,n)=>{const o=new Map,i={platform:ll,...n},r={...i.platform,_c:o};return Js(e,t,{...i,platform:r})},Pe={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Je(e,t){let n=Pe.themes[e]||{},o;do o=n[t],typeof o>"u"?n.$extend?n=Pe.themes[n.$extend]||{}:(n=null,o=Pe[t]):n=null;while(n);return o}function cl(e){const t=[e];let n=Pe.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Pe.themes[n.$extend]||{}):n=null;while(n);return t.map(o=>`v-popper--theme-${o}`)}function Hn(e){const t=[e];let n=Pe.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Pe.themes[n.$extend]||{}):n=null;while(n);return t}let Ie=!1;if(typeof window<"u"){Ie=!1;try{const e=Object.defineProperty({},"passive",{get(){Ie=!0}});window.addEventListener("test",null,e)}catch{}}let oi=!1;typeof window<"u"&&typeof navigator<"u"&&(oi=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ii=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Bn={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Vn={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Un(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Dt(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const re=[];let Ce=null;const Fn={};function Gn(e){let t=Fn[e];return t||(t=Fn[e]=[]),t}let Zt=function(){};typeof window<"u"&&(Zt=window.Element);function R(e){return function(t){return Je(t.theme,e)}}const Lt="__floating-vue__popper",ri=()=>V({name:"VPopper",provide(){return{[Lt]:{parentPopper:this}}},inject:{[Lt]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:R("disabled")},positioningDisabled:{type:Boolean,default:R("positioningDisabled")},placement:{type:String,default:R("placement"),validator:e=>ii.includes(e)},delay:{type:[String,Number,Object],default:R("delay")},distance:{type:[Number,String],default:R("distance")},skidding:{type:[Number,String],default:R("skidding")},triggers:{type:Array,default:R("triggers")},showTriggers:{type:[Array,Function],default:R("showTriggers")},hideTriggers:{type:[Array,Function],default:R("hideTriggers")},popperTriggers:{type:Array,default:R("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:R("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:R("popperHideTriggers")},container:{type:[String,Object,Zt,Boolean],default:R("container")},boundary:{type:[String,Zt],default:R("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:R("strategy")},autoHide:{type:[Boolean,Function],default:R("autoHide")},handleResize:{type:Boolean,default:R("handleResize")},instantMove:{type:Boolean,default:R("instantMove")},eagerMount:{type:Boolean,default:R("eagerMount")},popperClass:{type:[String,Array,Object],default:R("popperClass")},computeTransformOrigin:{type:Boolean,default:R("computeTransformOrigin")},autoMinSize:{type:Boolean,default:R("autoMinSize")},autoSize:{type:[Boolean,String],default:R("autoSize")},autoMaxSize:{type:Boolean,default:R("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:R("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:R("preventOverflow")},overflowPadding:{type:[Number,String],default:R("overflowPadding")},arrowPadding:{type:[Number,String],default:R("arrowPadding")},arrowOverflow:{type:Boolean,default:R("arrowOverflow")},flip:{type:Boolean,default:R("flip")},shift:{type:Boolean,default:R("shift")},shiftCrossAxis:{type:Boolean,default:R("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:R("noAutoFocus")},disposeTimeout:{type:Number,default:R("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Lt])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var o,i;(o=this.parentPopper)!=null&&o.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(ol({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(el({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(il({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(tl({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Xs({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:o,rects:i,middlewareData:r})=>{let a;const{centerOffset:l}=r.arrow;return o.startsWith("top")||o.startsWith("bottom")?a=Math.abs(l)>i.reference.width/2:a=Math.abs(l)>i.reference.height/2,{data:{overflow:a}}}}),this.autoMinSize||this.autoSize){const o=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:r,middlewareData:a})=>{var l;if((l=a.autoSize)!=null&&l.skip)return{};let s,u;return r.startsWith("top")||r.startsWith("bottom")?s=i.reference.width:u=i.reference.height,this.$_innerNode.style[o==="min"?"minWidth":o==="max"?"maxWidth":"width"]=s!=null?`${s}px`:null,this.$_innerNode.style[o==="min"?"minHeight":o==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(rl({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:o,availableHeight:i})=>{this.$_innerNode.style.maxWidth=o!=null?`${o}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const n=await ul(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ce&&this.instantMove&&Ce.instantMove&&Ce!==this.parentPopper){Ce.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ce=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Dt(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...gt(this.$_referenceNode),...gt(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),o=n.parentNode.getBoundingClientRect(),i=t.x+t.width/2-(o.left+n.offsetLeft),r=t.y+t.height/2-(o.top+n.offsetTop);this.result.transformOrigin=`${i}px ${r}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<re.length;n++)t=re[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}re.push(this),document.body.classList.add("v-popper--some-open");for(const t of Hn(this.theme))Gn(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Dt(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Un(re,this),re.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Hn(this.theme)){const o=Gn(n);Un(o,this),o.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ce===this&&(Ce=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Dt(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Bn,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Bn,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Vn,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Vn,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(o=>o.addEventListener(t,n,Ie?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,o,i){let r=n;o!=null&&(r=typeof o=="function"?o(r):o),r.forEach(a=>{const l=t[a];l&&this.$_registerEventListeners(e,l,i)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:o,eventType:i,handler:r}=n;!e||e===i?o.forEach(a=>a.removeEventListener(i,r)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const o=n.getAttribute(e);o&&(n.removeAttribute(e),n.setAttribute(t,o))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const o=e[n];o==null?t.removeAttribute(n):t.setAttribute(n,o)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Fe>=e.left&&Fe<=e.right&&Ge>=e.top&&Ge<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Fe-fe,o=Ge-me,i=t.left+t.width/2-fe+(t.top+t.height/2)-me+t.width+t.height,r=fe+n*i,a=me+o*i;return rt(fe,me,r,a,t.left,t.top,t.left,t.bottom)||rt(fe,me,r,a,t.left,t.top,t.right,t.top)||rt(fe,me,r,a,t.right,t.top,t.right,t.bottom)||rt(fe,me,r,a,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(oi){const e=Ie?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Wn(t),e),document.addEventListener("touchend",t=>qn(t,!0),e)}else window.addEventListener("mousedown",e=>Wn(e),!0),window.addEventListener("click",e=>qn(e,!1),!0);window.addEventListener("resize",hl)}function Wn(e,t){for(let n=0;n<re.length;n++){const o=re[n];try{o.mouseDownContains=o.popperNode().contains(e.target)}catch{}}}function qn(e,t){dl(e,t)}function dl(e,t){const n={};for(let o=re.length-1;o>=0;o--){const i=re[o];try{const r=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!n[i.randomId]&&Zn(i,r,e)){if(i.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&r){let l=i.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let a=i.parentPopper;for(;a&&Zn(a,a.containsGlobalTarget,e);)a.$_handleGlobalClose(e,t),a=a.parentPopper}})}catch{}}}function Zn(e,t,n){return n.closeAllPopover||n.closePopover&&t||pl(e,n)&&!t}function pl(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function hl(){for(let e=0;e<re.length;e++)re[e].$_computePosition()}let fe=0,me=0,Fe=0,Ge=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{fe=Fe,me=Ge,Fe=e.clientX,Ge=e.clientY},Ie?{passive:!0}:void 0);function rt(e,t,n,o,i,r,a,l){const s=((a-i)*(t-r)-(l-r)*(e-i))/((l-r)*(n-e)-(a-i)*(o-t)),u=((n-e)*(t-r)-(o-t)*(e-i))/((l-r)*(n-e)-(a-i)*(o-t));return s>=0&&s<=1&&u>=0&&u<=1}const fl={extends:ri()},Nt=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};function ml(e,t,n,o,i,r){return _(),z("div",{ref:"reference",class:X(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[J(e.$slots,"default",ro(ao(e.slotData)))],2)}const vl=Nt(fl,[["render",ml]]);function gl(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var o=e.indexOf("rv:");return parseInt(e.substring(o+3,e.indexOf(".",o)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}let st;function Yt(){Yt.init||(Yt.init=!0,st=gl()!==-1)}var Rt={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Yt(),bt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",st&&this.$el.appendChild(e),e.data="about:blank",st||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!st&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const yl=Pi();oo("data-v-b329ee4c");const bl={class:"resize-observer",tabindex:"-1"};io();const wl=yl((e,t,n,o,i,r)=>(_(),B("div",bl)));Rt.render=wl;Rt.__scopeId="data-v-b329ee4c";Rt.__file="src/components/ResizeObserver.vue";const ai=(e="theme")=>({computed:{themeClass(){return cl(this[e])}}}),_l=V({name:"VPopperContent",components:{ResizeObserver:Rt},mixins:[ai()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),xl=["id","aria-hidden","tabindex","data-popper-placement"],kl={ref:"inner",class:"v-popper__inner"},Sl=x("div",{class:"v-popper__arrow-outer"},null,-1),$l=x("div",{class:"v-popper__arrow-inner"},null,-1),Cl=[Sl,$l];function Tl(e,t,n,o,i,r){const a=We("ResizeObserver");return _(),z("div",{id:e.popperId,ref:"popover",class:X(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:be(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Oi(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[x("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),x("div",{class:"v-popper__wrapper",style:be(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[x("div",kl,[e.mounted?(_(),z(ce,{key:0},[x("div",null,[J(e.$slots,"default")]),e.handleResize?(_(),B(a,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):W("",!0)],64)):W("",!0)],512),x("div",{ref:"arrow",class:"v-popper__arrow-container",style:be(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Cl,4)],4)],46,xl)}const si=Nt(_l,[["render",Tl]]),li={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Kt=function(){};typeof window<"u"&&(Kt=window.Element);const zl=V({name:"VPopperWrapper",components:{Popper:vl,PopperContent:si},mixins:[li,ai("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Kt,Boolean],default:void 0},boundary:{type:[String,Kt],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Pl(e,t,n,o,i,r){const a=We("PopperContent"),l=We("Popper");return _(),B(l,oe({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=s=>e.$emit("update:shown",s)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:M(({popperId:s,isShown:u,shouldMountContent:d,skipTransition:c,autoHide:p,show:h,hide:v,handleResize:f,onResize:m,classes:b,result:g})=>[J(e.$slots,"default",{shown:u,show:h,hide:v}),O(a,{ref:"popperContent","popper-id":s,theme:e.finalTheme,shown:u,mounted:d,"skip-transition":c,"auto-hide":p,"handle-resize":f,classes:b,result:g,onHide:v,onResize:m},{default:M(()=>[J(e.$slots,"popper",{shown:u,hide:v})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const ln=Nt(zl,[["render",Pl]]),Ol={...ln,name:"VDropdown",vPopperTheme:"dropdown"};({...ln});({...ln});const Al=V({name:"VTooltipDirective",components:{Popper:ri(),PopperContent:si},mixins:[li],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Je(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Je(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(o=>this.onResult(t,o)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),El=["innerHTML"],Nl=["textContent"];function Rl(e,t,n,o,i,r){const a=We("PopperContent"),l=We("Popper");return _(),B(l,oe({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:M(({popperId:s,isShown:u,shouldMountContent:d,skipTransition:c,autoHide:p,hide:h,handleResize:v,onResize:f,classes:m,result:b})=>[O(a,{ref:"popperContent",class:X({"v-popper--tooltip-loading":e.loading}),"popper-id":s,theme:e.theme,shown:u,mounted:d,"skip-transition":c,"auto-hide":p,"handle-resize":v,classes:m,result:b,onHide:h,onResize:f},{default:M(()=>[e.html?(_(),z("div",{key:0,innerHTML:e.finalContent},null,8,El)):(_(),z("div",{key:1,textContent:we(e.finalContent)},null,8,Nl))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const Ml=Nt(Al,[["render",Rl]]),ui="v-popper--has-tooltip";function Il(e,t){let n=e.placement;if(!n&&t)for(const o of ii)t[o]&&(n=o);return n||(n=Je(e.theme||"tooltip","placement")),n}function ci(e,t,n){let o;const i=typeof t;return i==="string"?o={content:t}:t&&i==="object"?o=t:o={content:!1},o.placement=Il(o,n),o.targetNodes=()=>[e],o.referenceNode=()=>e,o}let Ht,Xe,jl=0;function Dl(){if(Ht)return;Xe=N([]),Ht=Bi({name:"VTooltipDirectiveApp",setup(){return{directives:Xe}},render(){return this.directives.map(t=>Jt(Ml,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Ht.mount(e)}function Ll(e,t,n){Dl();const o=N(ci(e,t,n)),i=N(!1),r={id:jl++,options:o,shown:i};return Xe.value.push(r),e.classList&&e.classList.add(ui),e.$_popper={options:o,item:r,show(){i.value=!0},hide(){i.value=!1}}}function di(e){if(e.$_popper){const t=Xe.value.indexOf(e.$_popper.item);t!==-1&&Xe.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ui)}function Yn(e,{value:t,modifiers:n}){const o=ci(e,t,n);if(!o.content||Je(o.theme||"tooltip","disabled"))di(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=o):i=Ll(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?i.show():i.hide())}}const Hl={beforeMount:Yn,updated:Yn,beforeUnmount(e){di(e)}};function Kn(e){e.addEventListener("mousedown",yt),e.addEventListener("click",yt),e.addEventListener("touchstart",pi,Ie?{passive:!0}:!1)}function Jn(e){e.removeEventListener("mousedown",yt),e.removeEventListener("click",yt),e.removeEventListener("touchstart",pi),e.removeEventListener("touchend",hi),e.removeEventListener("touchcancel",fi)}function yt(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function pi(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",hi),t.addEventListener("touchcancel",fi)}}function hi(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],o=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-o.screenY)<20&&Math.abs(n.screenX-o.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function fi(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Bl={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Kn(e)},updated(e,{value:t,oldValue:n,modifiers:o}){e.$_closePopoverModifiers=o,t!==n&&(typeof t>"u"||t?Kn(e):Jn(e))},beforeUnmount(e){Jn(e)}},Re=Hl,Vl=Bl,Ul=Ol,Fl=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n},Gl={},Wl={class:"h-3 w-3 $ui-inline-fcc"},ql=x("svg",{class:"animate-spin",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[x("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),x("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1),Zl=[ql];function Yl(e,t){return _(),z("div",Wl,Zl)}const mi=Fl(Gl,[["render",Yl]]),Kl={key:2},ie=V({inheritAttrs:!1,__name:"Button",props:{type:{default:"default"},round:{type:[String,Boolean],default:"normal"},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{default:"normal"},flat:{type:Boolean,default:!1},outlined:{type:Boolean,default:!1}},emits:["click"],setup(e,{emit:t}){const n=e,o=t,i=Ei(),r=E(()=>i.to?"router-link":i.href?"a":"button"),a=E(()=>n.loading||n.disabled);function l(c){if(a.value){c.preventDefault(),c.stopPropagation(),c.stopImmediatePropagation();return}o("click",c)}const s={common:{default:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",primary:"active:bg-primary-500-darker",accent:"active:bg-accent-500-darker",danger:"active:bg-danger-500-darker",warning:"active:bg-warning-500-darker",info:"active:bg-primary-100-darker dark:active:bg-gray-800-darker",success:"active:bg-primary-100-darker dark:active:bg-gray-800-darker"},normal:{default:"bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter dark:hover:text-white",primary:" text-white bg-primary-500 hover:bg-primary-500-lighter dark:hover:bg-primary-500-darker",accent:"text-white bg-accent-500 hover:bg-accent-500-lighter dark:bg-accent-500-darker dark:bg-accent-300",danger:"text-white bg-danger-500 hover:bg-danger-500-lighter dark:hover:bg-danger-500-darker",warning:"text-white bg-warning-500 hover:bg-warning-500-lighter dark:hover:bg-warning-500-darker",info:"text-info-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter",success:"text-primary-500 bg-primary-100 hover:bg-primary-100-lighter dark:bg-gray-800 dark:hover:bg-gray-800-lighter"},flat:{default:"hover:bg-primary-100 hover:text-black !dark:text-white dark:hover:bg-primary-800",primary:"hover:bg-primary-500 hover:text-white",accent:"hover:bg-accent-500 hover:text-white",danger:"hover:bg-danger-500 hover:text-white",warning:"hover:bg-warning-500 hover:text-white",info:"hover:bg-primary-100 hover:text-info-500 dark:hover:bg-gray-800 dark:hover:text-info-400",success:"hover:bg-primary-100 hover:text-primary-500 dark:hover:bg-primary-800 dark:hover:text-primary-400"},outlined:{default:"hover:border-primary-100 hover:text-primary-300 hover:active:ring-primary-100:5 hover:active:bg-primary-100:5",primary:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5",accent:"hover:border-accent-500 hover:text-accent-500 active:ring-accent-500:5 active:bg-accent-500:5",danger:"hover:border-danger-500 hover:text-danger-500 active:ring-danger-500:5 active:bg-danger-500:5",warning:"hover:border-warning-500 hover:text-warning-500 active:ring-warning-500:5 active:bg-warning-500:5",info:"hover:border-info-500 hover:text-info-500 active:ring-info-500:5 active:bg-info-500:5",success:"hover:border-primary-500 hover:text-primary-500 active:ring-primary-500:5 active:bg-primary-500:5"}},u=Ni(),d=E(()=>n.flat?s.flat[n.type]:n.outlined?s.outlined[n.type]:s.normal[n.type]);return(c,p)=>(_(),B(uo(r.value),oe(c.$attrs,{role:"button","aria-disabled":a.value,class:["$ui-base $ui-inline-fcc inline-flex cursor-pointer select-none gap1.25 py-0 no-underline $ui-transition",[[s.common[n.type]],{"rounded-full":n.round==="full","$ui-base-br":n.round==="normal","opacity-50 cursor-not-allowed":a.value,"bg-transparent":n.flat||n.outlined},[c.outlined?"b-1 $ui-border-base active:ring-3 shadow-sm":"border-none",c.size==="mini"?"px1 text-3 h5.5":"px3.5 text-3.5 h8",d.value]]],onClickCapture:l}),{default:M(()=>[c.loading?(_(),B(mi,{key:0,class:"mt0.5 h-full w3"})):J(c.$slots,"icon",{key:1,class:"h-full w3 $ui-inline-fcc"}),w(u).default?(_(),z("div",Kl,[J(c.$slots,"default")])):W("",!0),J(c.$slots,"icon-right")]),_:3},16,["aria-disabled","class"]))}}),K=V({__name:"Icon",props:{icon:{},inline:{type:Boolean},action:{type:Boolean,default:!1}},setup(e){return(t,n)=>(_(),B(uo(t.inline?"span":"div"),{class:X(["$ui-base",[t.icon,t.action?"cursor-pointer hover:op50":""]])},null,8,["class"]))}});function Jl(e,t,{enumerable:n=!1,unwrap:o=!0}={}){for(const[i,r]of Object.entries(t))i!=="value"&&(xt(r)&&o?Object.defineProperty(e,i,{get(){return r.value},set(a){r.value=a},enumerable:n}):Object.defineProperty(e,i,{value:r,enumerable:n}));return e}function Xn(e){return typeof e=="function"?e():w(e)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xl=e=>typeof e<"u",Qn=()=>{};function Ql(e,t){function n(...o){return new Promise((i,r)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(i).catch(r)})}return n}function eu(e,t={}){let n,o,i=Qn;const r=a=>{clearTimeout(a),i(),i=Qn};return a=>{const l=Xn(e),s=Xn(t.maxWait);return n&&r(n),l<=0||s!==void 0&&s<=0?(o&&(r(o),o=null),Promise.resolve(a())):new Promise((u,d)=>{i=t.rejectOnCancel?d:u,s&&!o&&(o=setTimeout(()=>{n&&r(n),o=null,u(a())},s)),n=setTimeout(()=>{o&&r(o),o=null,u(a())},l)})}}function tu(e,t=200,n={}){return Ql(eu(t,n),e)}function nu(e,t=200,n={}){const o=N(e.value),i=tu(()=>{o.value=e.value},t,n);return de(e,()=>i()),o}function ou(e,t={}){let n=e,o,i;const r=ji((s,u)=>(o=s,i=u,{get(){return a()},set(d){l(d)}}));function a(s=!0){return s&&o(),n}function l(s,u=!0){var d,c;if(s===n)return;const p=n;((d=t.onBeforeChange)==null?void 0:d.call(t,s,p))!==!1&&(n=s,(c=t.onChanged)==null||c.call(t,s,p),u&&i())}return Jl(r,{get:a,set:l,untrackedGet:()=>a(!1),silentSet:s=>l(s,!1),peek:()=>a(!1),lay:s=>l(s,!1)},{enumerable:!0})}function iu(e){return JSON.parse(JSON.stringify(e))}function ru(e,t,n,o={}){var i,r,a;const{clone:l=!1,passive:s=!1,eventName:u,deep:d=!1,defaultValue:c,shouldEmit:p}=o,h=Xt(),v=n||h?.emit||((i=h?.$emit)==null?void 0:i.bind(h))||((a=(r=h?.proxy)==null?void 0:r.$emit)==null?void 0:a.bind(h?.proxy));let f=u;t||(t="modelValue"),f=f||`update:${t.toString()}`;const m=y=>l?typeof l=="function"?l(y):iu(y):y,b=()=>Xl(e[t])?m(e[t]):c,g=y=>{p?p(y)&&v(f,y):v(f,y)};if(s){const y=b(),P=N(y);let $=!1;return de(()=>e[t],A=>{$||($=!0,P.value=m(A),bt(()=>$=!1))}),de(P,A=>{!$&&(A!==e[t]||d)&&g(A)},{deep:d}),P}else return E({get(){return b()},set(y){g(y)}})}const au=["type","placeholder","disabled"],su={key:3,class:"pointer-events-none absolute bottom--0.25 left-50% right-50% z-9999 h-0.75 bg-primary-500 opacity-0 transition-all duration-240 group-[&.focused]:left-0 group-[&.focused]:right-0 group-[&.focused]:opacity-100 group-[&.accent.focused]:bg-accent-500"},Bt="transition-colors $ui-fcc color-gray-500 dark:color-gray-300 group-[&.focused]:color-primary-500; group-[&.accent.focused]:color-accent-500",lu=V({__name:"Input",props:{modelValue:{},placeholder:{default:""},variant:{default:"normal"},disabled:{type:Boolean,default:!1},leftIcon:{},rightIcon:{},loading:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},loadingDebounceTime:{default:0},readonly:{type:Boolean,default:!1},type:{default:"text"}},emits:["update:modelValue","updateFocused","keyTab"],setup(e,{emit:t}){const n=e,o=t,i=ru(n,"modelValue",o),r=nu(E(()=>n.loading),n.loadingDebounceTime),a=ou(!1,{onChanged(c){o("updateFocused",c)}}),l=E(()=>n.variant==="flat"||n.variant==="warning"||n.disabled||n.readonly),s=E(()=>n.disabled||r.value),u=N();let d=!1;return qe(()=>{r.value&&a.value?d=!0:!r.value&&d&&(d=!1,bt(()=>{a.value=!0}))}),co(()=>{n.autoFocus&&(a.value=!0)}),qe(()=>{var c;a.value&&((c=u.value)==null||c.focus())}),(c,p)=>(_(),z("div",{class:X(["group relative w-50 w-auto flex items-center justify-between gap-0.5 overflow-hidden b-1 rounded-1 px3 py-0.75 color-gray-800 dark:color-gray-100",[{"border-none bg-transparent group":c.variant==="flat","cursor-not-allowed opacity-50":s.value,accent:c.variant==="accent",focused:w(a)},[c.variant==="warning"?"border-warning-500 dark:border-warning-300":"border-primary-100 dark:border-gray-700"]]]),onClick:p[2]||(p[2]=()=>{a.value=!0})},[c.leftIcon?(_(),z("div",{key:0,class:X(Bt)},[O(K,{icon:c.leftIcon},null,8,["icon"])])):W("",!0),_e(x("input",{ref_key:"inputRef",ref:u,"onUpdate:modelValue":p[0]||(p[0]=h=>xt(i)?i.value=h:null),class:"$ui-base w-full bg-transparent color-inherit outline-none placeholder-color-gray-500 dark:placeholder-gray-300",type:c.type,placeholder:c.placeholder,disabled:s.value||c.readonly,onBlur:p[1]||(p[1]=h=>a.value=!1)},null,40,au),[[Ri,w(i)]]),w(r)?(_(),z("div",{key:1,class:X(Bt)},[O(mi)])):c.rightIcon?(_(),z("div",{key:2,class:X(Bt)},[O(K,{icon:c.rightIcon},null,8,["icon"])])):W("",!0),l.value?W("",!0):(_(),z("div",su))],2))}}),uu={class:"overflow-hidden rounded-lg shadow-lg"},cu=x("div",{class:"p2 opacity-40"}," Empty... ",-1),du=V({__name:"Dropdown",props:{label:{},buttonProps:{default:()=>({})},buttonClass:{default:""},trigger:{default:"click"},distance:{default:0},skidding:{},placement:{},disabled:{type:Boolean,default:!1},shown:{type:Boolean}},emits:["update:visible"],setup(e){const t=e;return Qe("$ui-dropdown-disabled",E(()=>t.disabled)),(n,o)=>(_(),B(w(Ul),{disabled:n.disabled,class:"inline-block w-auto",shown:n.shown,triggers:[n.trigger],distance:n.distance+6,placement:n.placement,skidding:n.skidding,"onUpdate:shown":o[0]||(o[0]=i=>n.$emit("update:visible",i)),onClick:o[1]||(o[1]=i=>{i.stopPropagation()})},{popper:M(({hide:i})=>[x("div",uu,[J(n.$slots,"popper",ro(ao({hide:i})),()=>[cu])])]),default:M(()=>[J(n.$slots,"default",{},()=>[O(ie,oe({...n.buttonProps,disabled:n.disabled},{class:n.buttonClass}),Mi({icon:M(()=>[J(n.$slots,"button-icon")]),"icon-right":M(()=>[J(n.$slots,"button-icon-right")]),_:2},[n.label?{name:"default",fn:M(()=>[pe(we(n.label),1)]),key:"0"}:void 0]),1040,["class"])])]),_:3},8,["disabled","shown","triggers","distance","placement","skidding"]))}}),eo=V({__name:"DropdownButton",props:{type:{},round:{type:[String,Boolean]},loading:{type:Boolean},disabled:{type:Boolean},size:{},flat:{type:Boolean},outlined:{type:Boolean},keepOpen:{type:Boolean,default:!1}},setup(e){const t=e,n=wt("$ui-dropdown-disabled",void 0);return(o,i)=>_e((_(),B(ie,oe({...t,round:!1},{disabled:w(n),class:"w-full justify-start transition-colors not-action:bg-transparent!"}),{icon:M(()=>[J(o.$slots,"icon")]),default:M(()=>[J(o.$slots,"default")]),_:3},16,["disabled"])),[[w(Vl)]])}});function vi(e){return Li()?(Hi(e),!0):!1}function je(e){return typeof e=="function"?e():w(e)}const un=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const pu=e=>typeof e<"u",hu=Object.prototype.toString,fu=e=>hu.call(e)==="[object Object]",gi=()=>{};function mu(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const o=t;t=void 0,o&&await o},n}function vu(e,t,n={}){const{immediate:o=!0}=n,i=N(!1);let r=null;function a(){r&&(clearTimeout(r),r=null)}function l(){i.value=!1,a()}function s(...u){a(),i.value=!0,r=setTimeout(()=>{i.value=!1,r=null,e(...u)},je(t))}return o&&(i.value=!0,un&&s()),vi(l),{isPending:Di(i),start:s,stop:l}}function gu(e){var t;const n=je(e);return(t=n?.$el)!=null?t:n}const yi=un?window:void 0,bi=un?window.navigator:void 0;function ye(...e){let t,n,o,i;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,i]=e,t=yi):[t,n,o,i]=e,!t)return gi;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const r=[],a=()=>{r.forEach(d=>d()),r.length=0},l=(d,c,p,h)=>(d.addEventListener(c,p,h),()=>d.removeEventListener(c,p,h)),s=de(()=>[gu(t),je(i)],([d,c])=>{if(a(),!d)return;const p=fu(c)?{...c}:c;r.push(...n.flatMap(h=>o.map(v=>l(d,h,v,p))))},{immediate:!0,flush:"post"}),u=()=>{s(),a()};return vi(u),u}function yu(){const e=N(!1),t=Xt();return t&&co(()=>{e.value=!0},t),e}function wi(e){const t=yu();return E(()=>(t.value,!!e()))}function to(e,t={}){const{controls:n=!1,navigator:o=bi}=t,i=wi(()=>o&&"permissions"in o);let r;const a=typeof e=="string"?{name:e}:e,l=N(),s=()=>{r&&(l.value=r.state)},u=mu(async()=>{if(i.value){if(!r)try{r=await o.permissions.query(a),ye(r,"change",s),s()}catch{l.value="prompt"}return r}});return u(),n?{state:l,isSupported:i,query:u}:l}function bu(e={}){const{navigator:t=bi,read:n=!1,source:o,copiedDuring:i=1500,legacy:r=!1}=e,a=wi(()=>t&&"clipboard"in t),l=to("clipboard-read"),s=to("clipboard-write"),u=E(()=>a.value||r),d=N(""),c=N(!1),p=vu(()=>c.value=!1,i);function h(){a.value&&b(l.value)?t.clipboard.readText().then(g=>{d.value=g}):d.value=m()}u.value&&n&&ye(["copy","cut"],h);async function v(g=je(o)){u.value&&g!=null&&(a.value&&b(s.value)?await t.clipboard.writeText(g):f(g),d.value=g,c.value=!0,p.start())}function f(g){const y=document.createElement("textarea");y.value=g??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function m(){var g,y,P;return(P=(y=(g=document?.getSelection)==null?void 0:g.call(document))==null?void 0:y.toString())!=null?P:""}function b(g){return g==="granted"||g==="prompt"}return{isSupported:u,text:d,copied:c,copy:v}}function wu(e){return JSON.parse(JSON.stringify(e))}const _u={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function xu(e={}){const{reactive:t=!1,target:n=yi,aliasMap:o=_u,passive:i=!0,onEventFired:r=gi}=e,a=pn(new Set),l={toJSON(){return{}},current:a},s=t?pn(l):l,u=new Set,d=new Set;function c(f,m){f in s&&(t?s[f]=m:s[f].value=m)}function p(){a.clear();for(const f of d)c(f,!1)}function h(f,m){var b,g;const y=(b=f.key)==null?void 0:b.toLowerCase(),P=[(g=f.code)==null?void 0:g.toLowerCase(),y].filter(Boolean);y&&(m?a.add(y):a.delete(y));for(const $ of P)d.add($),c($,m);y==="meta"&&!m?(u.forEach($=>{a.delete($),c($,!1)}),u.clear()):typeof f.getModifierState=="function"&&f.getModifierState("Meta")&&m&&[...a,...P].forEach($=>u.add($))}ye(n,"keydown",f=>(h(f,!0),r(f)),{passive:i}),ye(n,"keyup",f=>(h(f,!1),r(f)),{passive:i}),ye("blur",p,{passive:!0}),ye("focus",p,{passive:!0});const v=new Proxy(s,{get(f,m,b){if(typeof m!="string")return Reflect.get(f,m,b);if(m=m.toLowerCase(),m in o&&(m=o[m]),!(m in s))if(/[+_-]/.test(m)){const y=m.split(/[+_-]/g).map(P=>P.trim());s[m]=E(()=>y.every(P=>je(v[P])))}else s[m]=N(!1);const g=Reflect.get(f,m,b);return t?je(g):g}});return v}function ku(e,t,n,o={}){var i,r,a;const{clone:l=!1,passive:s=!1,eventName:u,deep:d=!1,defaultValue:c,shouldEmit:p}=o,h=Xt(),v=n||h?.emit||((i=h?.$emit)==null?void 0:i.bind(h))||((a=(r=h?.proxy)==null?void 0:r.$emit)==null?void 0:a.bind(h?.proxy));let f=u;t||(t="modelValue"),f=f||`update:${t.toString()}`;const m=y=>l?typeof l=="function"?l(y):wu(y):y,b=()=>pu(e[t])?m(e[t]):c,g=y=>{p?p(y)&&v(f,y):v(f,y)};if(s){const y=b(),P=N(y);let $=!1;return de(()=>e[t],A=>{$||($=!0,P.value=m(A),bt(()=>$=!1))}),de(P,A=>{!$&&(A!==e[t]||d)&&g(A)},{deep:d}),P}else return E({get(){return b()},set(y){g(y)}})}const _i=Symbol("StateEditorSymbol");function Su(e){const t=N(e);return Qe(_i,t),{context:t}}function cn(){return wt(_i)}function $u(){const e=N(""),t=N("string"),n=N(!1),o=cn();return{editingText:e,editing:n,toggleEditing(i){i&&(t.value=i),n.value=!n.value},editingType:t,nodeId:o.value.nodeId}}function Cu(e,t){if(e==="array")return t.length;const n="newProp";let o=1;for(;;){const i=`${n}${o}`;if(!t[i])return i;o++}}function Tu(){const e=N({enable:!1,key:"",value:"undefined"});function t(o,i){const r=Cu(o,i);e.value={enable:!0,key:r.toString(),value:"undefined"}}function n(){e.value={enable:!1,key:"",value:"undefined"}}return{addNewProp:t,resetDrafting:n,draftingNewProp:e}}const zu={class:"inline pl5px"},Pu={class:"w160px py5px"},Ou=V({__name:"StateFieldEditor",props:{data:{},hovering:{type:Boolean},depth:{},showAddIfNeeded:{type:Boolean,default:!0},disableEdit:{type:Boolean}},emits:["enableEditInput","addNewProp"],setup(e){const t=e,n=cn(),{copy:o,isSupported:i}=bu(),r=N(!1),a=E(()=>on(t.data.value)),l=E(()=>a.value.value),s=E(()=>a.value.customType),u=E(()=>l.value===null?"null":typeof l.value),d={flat:!0,size:"mini"},c=E(()=>({"opacity-0":!t.hovering}));function p(v,f=!1){ht({path:t.data.key.split("."),inspectorId:n.value.inspectorId,type:t.data.stateType,nodeId:n.value.nodeId,state:{newKey:null,value:Ii(v),type:u.value,remove:f}})}function h(v,f){const m=typeof v=="number"?v+f:BigInt(v)+BigInt(f);p(m)}return(v,f)=>(_(),z("div",zu,[!t.disableEdit&&v.data.editable?(_(),z(ce,{key:0},[u.value==="string"||u.value==="number"||u.value==="object"||u.value==="null"?(_(),z(ce,{key:0},[_e((_(),B(w(ie),oe(d,{class:c.value,onClick:f[0]||(f[0]=ge(m=>v.$emit("enableEditInput",u.value),["stop"]))}),{icon:M(()=>[O(w(K),{icon:"i-material-symbols-edit-rounded"})]),_:1},16,["class"])),[[w(Re),{content:"Edit value"}]]),u.value==="object"&&v.showAddIfNeeded?_e((_(),B(w(ie),oe({key:0},d,{class:c.value,onClick:f[1]||(f[1]=ge(m=>v.$emit("addNewProp",Array.isArray(l.value)?"array":"object"),["stop"]))}),{icon:M(()=>[O(w(K),{icon:"i-material-symbols-add-circle-rounded"})]),_:1},16,["class"])),[[w(Re),{content:"Add new value"}]]):W("",!0)],64)):W("",!0),u.value==="boolean"?(_(),B(w(ie),oe({key:1},d,{class:c.value,onClick:f[2]||(f[2]=m=>p(!l.value))}),{icon:M(()=>[O(w(K),{icon:l.value?"i-material-symbols-check-box-sharp":"i-material-symbols-check-box-outline-blank-sharp"},null,8,["icon"])]),_:1},16,["class"])):u.value==="number"||s.value==="bigint"?(_(),z(ce,{key:2},[O(w(ie),oe(d,{class:c.value,onClick:f[3]||(f[3]=ge(m=>h(l.value,1),["stop"]))}),{icon:M(()=>[O(w(K),{icon:"i-carbon-add"})]),_:1},16,["class"]),O(w(ie),oe(d,{class:c.value,onClick:f[4]||(f[4]=ge(m=>h(l.value,-1),["stop"]))}),{icon:M(()=>[O(w(K),{icon:"i-carbon-subtract"})]),_:1},16,["class"])],64)):W("",!0)],64)):W("",!0),!t.disableEdit&&v.depth>0?(_(),B(w(ie),oe({key:1},d,{class:c.value,onClick:f[5]||(f[5]=ge(m=>p(l.value,!0),["stop"]))}),{icon:M(()=>[O(w(K),{icon:"i-material-symbols-delete-rounded"})]),_:1},16,["class"])):W("",!0),O(w(du),{class:X({"opacity-0":!v.hovering&&!r.value}),"button-props":{flat:!0,size:"mini"},disabled:!w(i),"onUpdate:visible":f[8]||(f[8]=m=>r.value=m)},{popper:M(()=>[x("div",Pu,[O(w(eo),{onClick:f[6]||(f[6]=m=>w(o)(typeof l.value=="object"?JSON.stringify(l.value):l.value.toString()))},{icon:M(()=>[O(w(K),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),pe(" Copy Value ")]),_:1}),O(w(eo),{onClick:f[7]||(f[7]=()=>{w(o)(v.data.key)})},{icon:M(()=>[O(w(K),{icon:"i-material-symbols-copy-all-rounded",class:"mt4px"}),pe(" Copy Path ")]),_:1})])]),"button-icon":M(()=>[O(w(K),{icon:"i-material-symbols:more-vert"})]),_:1},8,["class","disabled"])]))}}),Au={class:"flex-inline items-center gap4px"},Vt=V({__name:"StateFieldInputEditor",props:{modelValue:{},customType:{},showActions:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0}},emits:["cancel","submit","update:modelValue"],setup(e,{emit:t}){const n=e,o=t,i=E(()=>n.customType==="date"?"datetime-local":""),{escape:r,enter:a}=xu();qe(()=>{r.value?o("cancel"):a.value&&o("submit")});const l=ku(n,"modelValue",o);function s(d){try{return at(d,n.customType),!0}catch{return!1}}const u=N(!1);return de(l,kt(()=>{u.value=!s(l.value)},300)),(d,c)=>(_(),z("span",Au,[O(w(lu),{modelValue:w(l),"onUpdate:modelValue":c[0]||(c[0]=p=>xt(l)?l.value=p:null),type:i.value,variant:u.value?"warning":"normal",class:X(["h25px px4px",d.customType==="date"?"w240px":"w120px"]),"auto-focus":d.autoFocus,onClick:c[1]||(c[1]=ge(()=>{},["stop"]))},null,8,["modelValue","type","variant","class","auto-focus"]),d.showActions?(_(),z(ce,{key:0},[_e((_(),B(w(ie),{size:"mini",flat:"",class:"p2px!",onClick:c[2]||(c[2]=ge(p=>d.$emit("cancel"),["stop"]))},{icon:M(()=>[O(w(K),{icon:"i-material-symbols-cancel"})]),_:1})),[[w(Re),{content:"Esc to cancel"}]]),u.value?_e((_(),B(w(K),{key:1,icon:"i-material-symbols-warning",class:"color-warning-500 dark:color-warning-300"},null,512)),[[w(Re),{content:"Invalid value"}]]):_e((_(),B(w(ie),{key:0,size:"mini",flat:"",class:"p2px!",onClick:c[3]||(c[3]=ge(p=>d.$emit("submit"),["stop"]))},{icon:M(()=>[O(w(K),{icon:"i-material-symbols-save"})]),_:1})),[[w(Re),{content:"Enter to submit change"}]])],64)):W("",!0)]))}}),xi=V({__name:"ToggleExpanded",props:{value:{type:Boolean}},setup(e){return(t,n)=>(_(),z("i",{class:X(["i-radix-icons:triangle-right flex-none text-4 op-50 transition-base",{"transform rotate-90":t.value}])},null,2))}});function Eu(){const e=N([]);return Qe("state-expanded",e),{expanded:e}}function ki(){const e=wt("state-expaned",N([]));function t(n){const o=e.value.indexOf(n);o===-1?e.value.push(n):e.value.splice(o,1)}return{expanded:e,toggleExpanded:t}}function Nu(e,t={}){const{enter:n=()=>{},leave:o=()=>{},initial:i=!1}=t,r=N(i);return ye(e,"mouseenter",()=>{r.value=!0,n()}),ye(e,"mouseleave",()=>{r.value=!1,o()}),{isHovering:r}}const Si=e=>(oo("data-v-4e01ce04"),e=e(),io(),e),Ru={key:1,pl5:""},Mu={op70:""},Iu=Si(()=>x("span",{mx1:""},":",-1)),ju=["innerHTML"],Du={key:0},Lu={"overflow-hidden":"","text-ellipsis":"","whitespace-nowrap":"","state-key":""},Hu=Si(()=>x("span",{"mx-1":""},":",-1)),no=30,Bu=V({__name:"StateFieldViewer",props:{data:{},depth:{},index:{}},setup(e){const t=e,n=N(no),o=E(()=>zo(t.data.value)),i=E(()=>Pt(t.data.value)),r=E(()=>on(t.data.value)),{expanded:a,toggleExpanded:l}=ki(),s=E(()=>{var k;return i.value==="custom"?`${((k=t.data.value._custom)==null?void 0:k.type)??"string"}-custom-state`:""}),u=E(()=>{const{value:k}=r.value;return mn(k)?k.length:fn(k)?Object.keys(k).length:0}),d=E(()=>{const k=t.data.key,T=k.lastIndexOf(".");return T===-1?k:k.slice(T+1)}),c=E(()=>{var k,T,L,H,C;const Q=["Reactive"],Z=((k=t.data._custom)==null?void 0:k.stateTypeName)||((T=t.data)==null?void 0:T.stateTypeName);if(Q.includes(Z))return Z;if((H=(L=t.data.value)==null?void 0:L.fields)!=null&&H.abstract)return"";{const he=i.value==="custom"&&!((C=t.data.value._custom)!=null&&C.type)?`"${o.value}"`:o.value,te=`<span class="${i.value}-state-type">${he}</span>`;return Z?`${te} <span class="text-gray-500">(${Z})</span>`:te}}),p=E(()=>{const{value:k,inherit:T,customType:L}=r.value,H=L==="set";let C=[];return mn(k)?k.slice(0,n.value).map((Q,Z)=>({key:`${t.data.key}.${Z}`,value:Q,...T,editable:t.data.editable&&!H,creating:!1})):(fn(k)&&(C=Object.keys(k).slice(0,n.value).map(Q=>({key:`${t.data.key}.${Q}`,value:k[Q],...T,editable:t.data.editable&&!H,creating:!1})),i.value!=="custom"&&(C=Rr(C))),C===t.data.value?[]:C)}),h=E(()=>p.value.length>0),v=N(),f=cn(),{isHovering:m}=Nu(()=>v.value),{editingType:b,editing:g,editingText:y,toggleEditing:P,nodeId:$}=$u();de(()=>g.value,k=>{if(k){const{value:T}=r.value;y.value=Ka(T,r.value.customType)}else y.value=""});function A(){const k=t.data;ht({path:k.key.split("."),inspectorId:f.value.inspectorId,type:k.stateType,nodeId:$,state:{newKey:null,type:b.value,value:at(y.value,r.value.customType)}}),P()}const{addNewProp:U,draftingNewProp:j,resetDrafting:D}=Tu();function q(k){const T=`${t.depth}-${t.index}`;a.value.includes(T)||l(T),U(k,r.value.value)}function F(){const k=t.data,T=k.key.split(".");T.push(j.value.key),ht({path:T,inspectorId:f.value.inspectorId,type:k.stateType,nodeId:$,state:{newKey:j.value.key,type:typeof at(j.value.value),value:at(j.value.value)}}),D()}return(k,T)=>(_(),z("div",null,[x("div",{ref_key:"containerRef",ref:v,class:X(["font-state-field flex items-center",[h.value&&"cursor-pointer hover:bg-active"]]),style:be({paddingLeft:`${k.depth*15+4}px`}),onClick:T[1]||(T[1]=L=>w(l)(`${k.depth}-${k.index}`))},[h.value?(_(),B(xi,{key:0,value:w(a).includes(`${k.depth}-${k.index}`)},null,8,["value"])):(_(),z("span",Ru)),x("span",Mu,we(d.value),1),Iu,w(g)?(_(),B(Vt,{key:2,modelValue:w(y),"onUpdate:modelValue":T[0]||(T[0]=L=>xt(y)?y.value=L:null),"custom-type":r.value.customType,onCancel:w(P),onSubmit:A},null,8,["modelValue","custom-type","onCancel"])):W("",!0),x("span",{class:X(s.value)},[x("span",{innerHTML:c.value},null,8,ju)],2),O(Ou,{hovering:w(m),"disable-edit":w(f).disableEdit,data:k.data,depth:k.depth,onEnableEditInput:w(P),onAddNewProp:q},null,8,["hovering","disable-edit","data","depth","onEnableEditInput"])],6),h.value&&w(a).includes(`${k.depth}-${k.index}`)?(_(),z("div",Du,[O($i,{data:p.value,depth:k.depth,index:k.index},null,8,["data","depth","index"]),u.value>n.value?_e((_(),B(w(ie),{key:0,flat:"",size:"mini",class:"ml-4",onClick:T[2]||(T[2]=L=>n.value+=no)},{icon:M(()=>[O(w(K),{icon:"i-material-symbols-more-horiz"})]),_:1})),[[w(Re),"Show more"]]):W("",!0),w(j).enable?(_(),z("div",{key:1,style:be({paddingLeft:`${(k.depth+1)*15+4}px`})},[x("span",Lu,[O(Vt,{modelValue:w(j).key,"onUpdate:modelValue":T[3]||(T[3]=L=>w(j).key=L),"show-actions":!1},null,8,["modelValue"])]),Hu,O(Vt,{modelValue:w(j).value,"onUpdate:modelValue":T[4]||(T[4]=L=>w(j).value=L),"auto-focus":!1,onCancel:w(D),onSubmit:F},null,8,["modelValue","onCancel"])],4)):W("",!0)])):W("",!0)]))}}),Vu=Qt(Bu,[["__scopeId","data-v-4e01ce04"]]),$i=V({__name:"ChildStateViewer",props:{data:{},depth:{default:0},index:{}},setup(e){return(t,n)=>(_(),z("div",null,[(_(!0),z(ce,null,_t(t.data,(o,i)=>(_(),z("div",{key:i},[O(Vu,{data:o,depth:t.depth+1,index:`${t.index}-${i}`},null,8,["data","depth","index"])]))),128))]))}}),Uu=["onClick"],Fu={key:1,pl5:""},Gu={"font-state-field":"","text-4":""},Wu={key:0},Ci=V({__name:"RootStateViewer",props:{data:{},nodeId:{},inspectorId:{},disableEdit:{type:Boolean,default:!1}},setup(e){const t=e;function n(){return{nodeId:t.nodeId,inspectorId:t.inspectorId,disableEdit:t.disableEdit}}const{context:o}=Su(n());qe(()=>{o.value=n()});const{expanded:i,toggleExpanded:r}=ki();return qe(()=>{Object.keys(t.data).forEach((a,l)=>{i.value.includes(`${l}`)||r(`${l}`)})}),(a,l)=>(_(),z("div",null,[(_(!0),z(ce,null,_t(a.data,(s,u,d)=>(_(),z("div",{key:d},[x("div",{class:X(["flex items-center",[s?.length&&"cursor-pointer hover:bg-active"]]),onClick:c=>w(r)(`${d}`)},[s!=null&&s.length?(_(),B(xi,{key:0,value:w(i).includes(`${d}`)},null,8,["value"])):(_(),z("span",Fu)),x("span",Gu,we(u),1)],10,Uu),s!=null&&s.length&&w(i).includes(`${d}`)?(_(),z("div",Wu,[O($i,{data:s,index:`${d}`},null,8,["data","index"])])):W("",!0)]))),128))]))}}),qu={class:"h-full flex flex-col"},Zu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},Yu={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},Le="pinia",Ku=V({__name:"Index",setup(e){const t=N(""),n=N([]),o=N({}),i=E(()=>{var s,u;return!((s=o.value.state)!=null&&s.length)&&!((u=o.value.getters)!=null&&u.length)});function r(s){var u;for(const d in s)(u=s[d])!=null&&u.length||delete s[d];return s}function a(s){Io({inspectorId:Le,nodeId:s}).then(u=>{o.value=r(Gt(u))})}function l(){o.value={}}return de(t,()=>{l(),a(t.value)}),Mo({inspectorId:Le,filter:""}).then(s=>{const u=Gt(s);n.value=u,!t.value&&u.length&&(t.value=u[0].id),a(u[0].id)}),Bo(s=>{!(s!=null&&s.data.length)||s.inspectorId!==Le||(n.value=s.data,!t.value&&s.data.length&&(t.value=s.data[0].id,a(s.data[0].id)))}),Vo(s=>{var u;!s||!((u=s?.state)!=null&&u.length)||s.inspectorId!==Le||(o.value=r({state:s.state,getters:s.getters}))}),(s,u)=>(_(),z("div",qu,[O(Fo,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"}),O(w(fo),{class:"flex-1"},{default:M(()=>[O(w(lt),{border:"r base",size:"40","h-full":""},{default:M(()=>[x("div",Zu,[O(Es,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=d=>t.value=d),data:n.value},null,8,["modelValue","data"])])]),_:1}),O(w(lt),{size:"60"},{default:M(()=>[x("div",Yu,[t.value&&!i.value?(_(),B(Ci,{key:0,class:"p3",data:o.value,"node-id":t.value,"inspector-id":Le},null,8,["data","node-id"])):(_(),B(Go,{key:1},{default:M(()=>[pe(" No Data ")]),_:1}))])]),_:1})]),_:1})]))}});function Ju(e,t){const n=new Date(e);return`${n.toString().match(/\d\d:\d\d:\d\d/)[0]}${t==="ms"?`.${String(n.getMilliseconds()).padStart(3,"0")}`:""}`}const Xu={class:"p3"},Qu=["onClick"],ec={key:0,class:"absolute left-5px top-4.5 h10 w0 border-l-2",border:"solid gray2"},tc={class:"h-full flex items-center truncate pl5"},nc={absolute:"","top-5":"",pr2:"","text-3":"",op40:""},oc={pl2:"",op30:""},ic=V({__name:"EventList",props:so({data:{}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=e,n=lo(e,"modelValue"),o=["#3e5770","#42b983","#0098c4"],i=E(()=>{let r=-1,a=0;return t.data.forEach(l=>{(l.groupId!==a||r===-1)&&(r=(r+1)%o.length),a=l.groupId??a,l.color=o[r]}),t.data});return(r,a)=>(_(),z("div",Xu,[x("ul",null,[(_(!0),z(ce,null,_t(i.value,(l,s)=>(_(),z("li",{key:s,class:"relative mb7 h6 cursor-pointer",style:be({color:n.value===s?l.color:""}),onClick:u=>n.value=s},[x("span",{class:"absolute top-1.5 inline-block h3 w3 b rounded-50%",style:be({border:`3px solid ${l.color}`})},null,4),s<r.data.length-1?(_(),z("span",ec)):W("",!0),x("p",tc,[x("span",nc,"["+we(w(Ju)(l.time))+"]",1),pe(" "+we(l.title)+" ",1),x("span",oc,we(l.subtitle),1)])],12,Qu))),128))])]))}}),rc={class:"h-full flex flex-col"},ac={key:0,class:"flex-1 overflow-hidden"},sc={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},lc={"h-full":"","select-none":"","overflow-scroll":"",class:"no-scrollbar"},uc="pinia:mutations",cc=V({__name:"Index",setup(e){Eu();const t=N([]),n=N(new Map),o=N(0),i=E(()=>t.value[o.value]??null),r=E(()=>{var u;const d=[];for(const c in(u=i.value)==null?void 0:u.data)d.push({key:c,type:c,editable:!1,value:i.value.data[c]});return d}),a=E(()=>{var u,d,c;const p=(u=i.value)==null?void 0:u.groupId,h=n.value.get(p);if(h){const v=((d=h[h.length-1])==null?void 0:d.time)-(((c=h[0])==null?void 0:c.time)??0);return[{key:"events",type:"events",editable:!1,value:h.length},v&&{key:"duration",type:"duration",editable:!1,value:`${v}ms`}].filter(Boolean)}}),l=E(()=>({"Event Info":r.value,...a.value&&{"Group Info":a.value}}));function s(u){var d;const c=u.groupId;c!==void 0&&(n.value.set(c,n.value.get(c)??[]),(d=n.value.get(c))==null||d.push(u))}return Uo(u=>{if(!u)return;const{layerId:d,event:c}=u;d===uc&&(t.value.push(c),s(c))}),(u,d)=>(_(),z("div",rc,[O(Fo,{"doc-link":"https://pinia.vuejs.org/","github-repo-link":"https://github.com/vuejs/pinia"}),t.value.length?(_(),z("div",ac,[O(w(fo),{class:"h-full"},{default:M(()=>[O(w(lt),{border:"r base",size:"40","h-full":""},{default:M(()=>[x("div",sc,[O(ic,{modelValue:o.value,"onUpdate:modelValue":d[0]||(d[0]=c=>o.value=c),data:t.value},null,8,["modelValue","data"])])]),_:1}),O(w(lt),{size:"60"},{default:M(()=>[x("div",lc,[O(Ci,{class:"p3",data:l.value,"node-id":"","inspector-id":"","disable-edit":!0},null,8,["data"])])]),_:1})]),_:1})])):(_(),B(Go,{key:1,class:"flex-1"},{default:M(()=>[pe(" No events ")]),_:1}))]))}}),dc=Symbol("VueDevToolsConnectStateSymbol");function pc(){const e=N(!1),t=N(!1),n=E(()=>e.value&&t.value);return jo().then(o=>{e.value=o.connected,t.value=o.clientConnected}),Ho(o=>{e.value=o.connected,t.value=o.clientConnected}),Qe(dc,n),{connected:n}}const hc={"h-full":"","w-full":""},fc=V({__name:"index",setup(e){pc();const{VirtualRouterView:t}=Ki([{path:"/",component:fr},{path:"/store",component:Ku},{path:"/timeline",component:cc}]);return N("/"),(n,o)=>(_(),z("div",hc,[O(w(t))]))}}),mc={class:"h-full w-full"},gc=V({__name:"pinia",setup(e){const{connected:t}=Ui();return(n,o)=>{const i=Vi;return _(),z("div",mc,[w(t)?(_(),B(w(fc),{key:0})):(_(),B(i,{key:1},{default:M(()=>[pe(" Connecting.... ")]),_:1}))])}}});export{gc as default};
|