From 2dde47bc8fb4e8092d0c6f78bcda7e7c2dd39187 Mon Sep 17 00:00:00 2001 From: Zakk Date: Fri, 27 Nov 2026 23:35:22 +1100 Subject: [PATCH] build(demo): publish doona and lite --- .nojekyll | 0 .vite/bundled-packages.json | 39 + .vite/manifest.json | 2280 +++++ CNAME | 1 + assets/AddCircle-qKwVDZ__.js | 1 + assets/AppearanceControls-I4PvP9Es.js | 1 + assets/AreaChart-m_wmxFIp.js | 1 + assets/AreaCurve-DQSHOSpG.js | 1 + assets/BackendText-CxshqKrW.js | 1 + assets/CardView-f0UIkdtH.js | 1 + assets/ChainFields-BAItfFQK.js | 1 + assets/Checkbox-CUoHrzuV.js | 1 + assets/CheckboxSet-BThgrv4U.js | 1 + assets/CodeEditor-Cb8XCLWG.js | 1 + assets/Config-BzyCN_Ax.js | 2 + assets/Connections-Dlv_78r1.js | 1 + assets/Copy-ftx4Gb2m.js | 1 + assets/Coverage-BhgtC9t6.js | 1 + assets/DaeCode-DEjXqvav.js | 1 + assets/Delete-D69JigFx.js | 1 + assets/Dns-CP7rSbYW.js | 1 + assets/Dns-CsAXSf3H.css | 1 + assets/Donut-DQU0_smr.js | 1 + assets/Editors-7UGtyi9X.js | 1 + assets/Editors-rPgk_VZK.css | 1 + assets/Events-Cz7XGkUG.js | 1 + assets/FlagPicker-DkMTBjLE.js | 1 + assets/Flows-CFNotQUH.css | 1 + assets/Flows-CWq91DGu.js | 1 + assets/GridList-Cq8h6RdG.js | 1 + assets/ItemText-B5OxI5lS.js | 1 + assets/LinkOut-DVAiBR_J.js | 1 + assets/Login-Dthlqd0l.js | 1 + assets/Logs-B21_MfGT.js | 1 + assets/ManualFields-CTj0sr4A.js | 1 + assets/ModeReadOnlyHint-D73z908a.js | 1 + assets/NodePath-CW8z1Niq.js | 1 + assets/Nodes-CM_U6MZ3.css | 1 + assets/Nodes-DIVmMRlP.js | 2 + assets/NumberField-BGS5AF_x.js | 1 + assets/Overview-BUdN7c7l.js | 1 + assets/Policies-DR22sMzN.js | 1 + assets/Rules-BMHWGCx6.js | 2 + assets/SearchDialog-CCF-sgtO.js | 1 + assets/SearchList-D75Ie4nx.js | 1 + assets/SearchSelect-CSXz7lhe.js | 1 + assets/Select-W-Xrx6y6.js | 1 + assets/Settings-BVpmQMTB.css | 1 + assets/Settings-KwPU8MKD.js | 2 + assets/Sparkline-IClrZGcQ.js | 1 + assets/SubscriptionFields-DhFfUi4P.js | 1 + assets/Table-DotwWze-.js | 1 + assets/Tabs-Kfe2CfSx.js | 1 + assets/Tag-DE8n6iTZ.js | 1 + assets/TimeCell-xtED_iww.js | 1 + assets/Trace-DY4zXTiF.js | 1 + assets/TwemojiCountryFlags-Bymva2JV.woff2 | Bin 0 -> 78292 bytes assets/Virtualizer-tkoH0e4V.js | 1 + assets/WallpaperSettings-Dynl1X5E.js | 1 + assets/XhttpOptions-CFjPLQAZ.js | 1 + assets/_commonjsHelpers-CXUWDbkB.js | 1 + assets/activity-C22CeO5G.js | 2 + assets/activity-Dh87vlBh.css | 1 + assets/antd-BTVob2XE.css | 1 + assets/arco-DnDQV30N.css | 1 + assets/array-C0VuvQyb.js | 1 + assets/auth-BIagQEUo.js | 1 + assets/auth-BNrY15aC.js | 2 + assets/catppuccin-CFfx8ddQ.css | 1 + assets/daeTokens-BVtuNnWZ.js | 1 + assets/duck-night-CbKHyiul.webp | Bin 0 -> 38214 bytes assets/files-Dt8K7QfP.js | 1 + assets/flows-BfIUsgdd.js | 1 + assets/fonts-C5_wsAqZ.css | 1 + assets/fonts-sc-Dyn9aW84.css | 1 + assets/fonts-tc-D9rvq3k7.css | 1 + assets/geodata-CvcFemyc.js | 1 + assets/geodataUpdate-CK75960A.js | 1 + assets/glass-BcMm4w7K.js | 1 + assets/glass-piYllnzE.css | 1 + assets/gorges-dark-FlgXSNn1.webp | Bin 0 -> 17050 bytes assets/gorges-light-DCWkLX37.webp | Bin 0 -> 16902 bytes assets/groupFilters-vTIJClEo.js | 1 + assets/halloween-Dfny7j3b.js | 1 + assets/halloween-e3DfiasY.css | 1 + assets/impact-B8feJDtJ.css | 1 + assets/index-C4UFgHia.js | 2 + assets/index-CQHYBvmE.css | 1 + assets/index-DUM-iwa2.js | 1 + assets/index-Didrg8zX.js | 1 + assets/ipLookup-BYorpVJi.css | 1 + assets/ipLookup-Cl7psHhv.js | 1 + assets/kary-pGa0AxYi.css | 1 + assets/labels-D8xxfRTQ.js | 1 + assets/lake-dark-B_VaUlAe.webp | Bin 0 -> 18114 bytes assets/lake-light-oWll36-V.webp | Bin 0 -> 17966 bytes assets/lens-BMneTJKP.js | 1 + assets/limitHint-DIncl1LE.js | 1 + assets/locale-en-activity-DciTGa2i.js | 1 + assets/locale-en-core-B5pEqoG8.js | 1 + assets/locale-en-rest-DSXBo_3V.js | 1 + assets/locale-zh-CN-activity--3M_cvyC.js | 1 + assets/locale-zh-CN-core-D8hHJVk2.js | 1 + assets/locale-zh-CN-rest-PXwz-ehW.js | 1 + assets/locale-zh-TW-activity-B4FjBL_G.js | 1 + assets/locale-zh-TW-core-DUIVLsYf.js | 1 + assets/locale-zh-TW-rest-BCiiZaKK.js | 1 + assets/logo-CKC46m8V.svg | 16 + assets/logo-obi05X1B.svg | 11 + assets/logs-j0cmmcZI.js | 1 + assets/match.worker-B2aIccpg.js | 1 + assets/nav-DrWHp_dt.js | 1 + assets/nav-VzrSXoKO.js | 1 + assets/nodes-BXUOUiP2.js | 1 + assets/nord-BE7QITf9.css | 1 + assets/outbounds-CJznbPkH.js | 1 + assets/paletteSheet-Vc0PGoNW.js | 1 + assets/paletteSheets-Bf5fGVE_.js | 1 + assets/probe-CRm42H8E.js | 1 + assets/qiangguo-CTOUSOCk.css | 1 + assets/recorder-BHyqDNp5.js | 1 + assets/rule-ljMHmFs3.js | 1 + assets/semi-DGpddBEP.css | 1 + assets/square-dark-CG0rwsS1.webp | Bin 0 -> 15298 bytes assets/square-light-OU6dsCf9.webp | Bin 0 -> 14642 bytes assets/subscriptionEntries-CB_uX4nO.js | 1 + assets/taishan-dark-BI3cd4fj.webp | Bin 0 -> 25370 bytes assets/taishan-light-Dip0HmJZ.webp | Bin 0 -> 25326 bytes assets/useGridSelectionCheckbox-D0fV1e0v.js | 1 + assets/useQuickRule-D86TFC6s.js | 1 + assets/vendor-editor-50h2cCk6.js | 1 + assets/vendor-react-64fcanlc.js | 10 + assets/wall-dark-DCO0xUUO.webp | Bin 0 -> 23078 bytes assets/wall-light-BYfte2Bi.webp | Bin 0 -> 23078 bytes assets/wallpaper-CEC7gitM.js | 1 + fonts/OFL.txt | 94 + fonts/README | 44 + ...oto-sans-sc-100-wght-normal-DrqXJETY.woff2 | Bin 0 -> 64548 bytes ...oto-sans-sc-101-wght-normal-c94LAl5p.woff2 | Bin 0 -> 58204 bytes ...oto-sans-sc-102-wght-normal-C1RtbCZr.woff2 | Bin 0 -> 60708 bytes ...oto-sans-sc-103-wght-normal-DGHo20nu.woff2 | Bin 0 -> 63864 bytes ...oto-sans-sc-104-wght-normal-CJT2ioDJ.woff2 | Bin 0 -> 61588 bytes ...oto-sans-sc-105-wght-normal-BFoiJwz2.woff2 | Bin 0 -> 61828 bytes ...oto-sans-sc-106-wght-normal-D6uUHw3w.woff2 | Bin 0 -> 62636 bytes ...oto-sans-sc-107-wght-normal-kFQzJDLH.woff2 | Bin 0 -> 61076 bytes ...oto-sans-sc-108-wght-normal-7aXvqIa2.woff2 | Bin 0 -> 64552 bytes ...oto-sans-sc-109-wght-normal-CnjNbNmw.woff2 | Bin 0 -> 60372 bytes ...oto-sans-sc-110-wght-normal-D2JBr045.woff2 | Bin 0 -> 61472 bytes ...oto-sans-sc-111-wght-normal-ClFr5QXM.woff2 | Bin 0 -> 62664 bytes ...oto-sans-sc-112-wght-normal-CiZxJMyY.woff2 | Bin 0 -> 57648 bytes ...oto-sans-sc-113-wght-normal-OgQXOX6x.woff2 | Bin 0 -> 58648 bytes ...oto-sans-sc-114-wght-normal-CRH9SDZu.woff2 | Bin 0 -> 57964 bytes ...oto-sans-sc-115-wght-normal-BN__2iBG.woff2 | Bin 0 -> 56508 bytes ...oto-sans-sc-116-wght-normal-vdFVzbO2.woff2 | Bin 0 -> 52984 bytes ...oto-sans-sc-117-wght-normal-Dsz3vkzU.woff2 | Bin 0 -> 52464 bytes ...oto-sans-sc-118-wght-normal-BPEb0gM9.woff2 | Bin 0 -> 46192 bytes ...oto-sans-sc-119-wght-normal-BfzSEbFz.woff2 | Bin 0 -> 76800 bytes ...noto-sans-sc-21-wght-normal-DIu_1ZBI.woff2 | Bin 0 -> 11356 bytes ...noto-sans-sc-22-wght-normal-VXjdYcT-.woff2 | Bin 0 -> 65384 bytes ...noto-sans-sc-23-wght-normal-4HrHKhpL.woff2 | Bin 0 -> 56792 bytes ...noto-sans-sc-24-wght-normal-B58DWgHS.woff2 | Bin 0 -> 62580 bytes ...noto-sans-sc-25-wght-normal-C3Jm6l7O.woff2 | Bin 0 -> 58320 bytes ...noto-sans-sc-26-wght-normal-YNOygvr_.woff2 | Bin 0 -> 50888 bytes ...noto-sans-sc-27-wght-normal-BP2pEGQH.woff2 | Bin 0 -> 47488 bytes ...noto-sans-sc-28-wght-normal-BWPKDbtH.woff2 | Bin 0 -> 50200 bytes ...noto-sans-sc-29-wght-normal-45aVmHn_.woff2 | Bin 0 -> 54008 bytes ...noto-sans-sc-30-wght-normal-B8_s30jZ.woff2 | Bin 0 -> 54656 bytes ...noto-sans-sc-31-wght-normal-DW0t445S.woff2 | Bin 0 -> 47220 bytes ...noto-sans-sc-32-wght-normal-ShbWPcei.woff2 | Bin 0 -> 52548 bytes ...noto-sans-sc-33-wght-normal-BOTZYTjM.woff2 | Bin 0 -> 47452 bytes ...noto-sans-sc-34-wght-normal-BF1rqDSt.woff2 | Bin 0 -> 46888 bytes ...noto-sans-sc-35-wght-normal-Bosspiyr.woff2 | Bin 0 -> 50688 bytes ...noto-sans-sc-36-wght-normal-CtU9CyKw.woff2 | Bin 0 -> 41832 bytes ...noto-sans-sc-37-wght-normal-ghDiyiuv.woff2 | Bin 0 -> 53528 bytes ...noto-sans-sc-38-wght-normal-4Nz8k_dt.woff2 | Bin 0 -> 54592 bytes ...noto-sans-sc-39-wght-normal-Ddtm1XVC.woff2 | Bin 0 -> 51784 bytes .../noto-sans-sc-4-wght-normal-BRbPMj-C.woff2 | Bin 0 -> 3796 bytes ...noto-sans-sc-40-wght-normal-BVn4-kgX.woff2 | Bin 0 -> 46628 bytes ...noto-sans-sc-41-wght-normal-CZqajZnl.woff2 | Bin 0 -> 36416 bytes ...noto-sans-sc-42-wght-normal-CQ4lY28u.woff2 | Bin 0 -> 45540 bytes ...noto-sans-sc-43-wght-normal-psppu0d8.woff2 | Bin 0 -> 46624 bytes ...noto-sans-sc-44-wght-normal-cbKJlTUe.woff2 | Bin 0 -> 54244 bytes ...noto-sans-sc-45-wght-normal-MKIEVRIC.woff2 | Bin 0 -> 67620 bytes ...noto-sans-sc-46-wght-normal-CErGc6Mt.woff2 | Bin 0 -> 57668 bytes ...noto-sans-sc-47-wght-normal-C5Kgg1_m.woff2 | Bin 0 -> 56156 bytes ...noto-sans-sc-48-wght-normal-DFMjDDY6.woff2 | Bin 0 -> 50764 bytes ...noto-sans-sc-49-wght-normal-B7l_3BZr.woff2 | Bin 0 -> 52844 bytes .../noto-sans-sc-5-wght-normal-DI846rD9.woff2 | Bin 0 -> 20176 bytes ...noto-sans-sc-50-wght-normal-C5KfAmFp.woff2 | Bin 0 -> 45876 bytes ...noto-sans-sc-51-wght-normal-C2bq6hC8.woff2 | Bin 0 -> 41616 bytes ...noto-sans-sc-52-wght-normal-P18e_Y0j.woff2 | Bin 0 -> 51840 bytes ...noto-sans-sc-53-wght-normal-Bgkuo2tF.woff2 | Bin 0 -> 43528 bytes ...noto-sans-sc-54-wght-normal-DL5lmlUd.woff2 | Bin 0 -> 52000 bytes ...noto-sans-sc-55-wght-normal-BV_Oy6IF.woff2 | Bin 0 -> 48132 bytes ...noto-sans-sc-56-wght-normal-B4L7Hj8f.woff2 | Bin 0 -> 53500 bytes ...noto-sans-sc-57-wght-normal-DU8YBsDj.woff2 | Bin 0 -> 55496 bytes ...noto-sans-sc-58-wght-normal-CE0BKS9u.woff2 | Bin 0 -> 57648 bytes ...noto-sans-sc-59-wght-normal-Azv2Ku9_.woff2 | Bin 0 -> 47676 bytes .../noto-sans-sc-6-wght-normal-ozUCEY9O.woff2 | Bin 0 -> 11464 bytes ...noto-sans-sc-60-wght-normal-C1lngC61.woff2 | Bin 0 -> 41432 bytes ...noto-sans-sc-61-wght-normal-BxWkGF5M.woff2 | Bin 0 -> 45276 bytes ...noto-sans-sc-62-wght-normal-CXXMAq-5.woff2 | Bin 0 -> 59112 bytes ...noto-sans-sc-63-wght-normal-4La5uKvS.woff2 | Bin 0 -> 49180 bytes ...noto-sans-sc-64-wght-normal-CbIuD2Eg.woff2 | Bin 0 -> 41540 bytes ...noto-sans-sc-65-wght-normal-BGqvKda2.woff2 | Bin 0 -> 41608 bytes ...noto-sans-sc-66-wght-normal-BvNozWOY.woff2 | Bin 0 -> 52868 bytes ...noto-sans-sc-67-wght-normal-CC-WRBV-.woff2 | Bin 0 -> 52584 bytes ...noto-sans-sc-68-wght-normal-c0FjfUaj.woff2 | Bin 0 -> 41568 bytes ...noto-sans-sc-69-wght-normal-D596Jjl2.woff2 | Bin 0 -> 55604 bytes ...noto-sans-sc-70-wght-normal-ColEcmtJ.woff2 | Bin 0 -> 42236 bytes ...noto-sans-sc-71-wght-normal-ChZfXpdg.woff2 | Bin 0 -> 47904 bytes ...noto-sans-sc-72-wght-normal-D1VyfEG3.woff2 | Bin 0 -> 47032 bytes ...noto-sans-sc-73-wght-normal-DwSJRYPJ.woff2 | Bin 0 -> 39312 bytes ...noto-sans-sc-74-wght-normal-Cte7o1QG.woff2 | Bin 0 -> 56424 bytes ...noto-sans-sc-75-wght-normal-B0qL41rF.woff2 | Bin 0 -> 43940 bytes ...noto-sans-sc-76-wght-normal-BPLMO_2x.woff2 | Bin 0 -> 48420 bytes ...noto-sans-sc-77-wght-normal-Dkbi3pye.woff2 | Bin 0 -> 36788 bytes ...noto-sans-sc-78-wght-normal-BFUXeSw6.woff2 | Bin 0 -> 49156 bytes ...noto-sans-sc-79-wght-normal-DoJG4UTB.woff2 | Bin 0 -> 41232 bytes ...noto-sans-sc-80-wght-normal-BEFypWOO.woff2 | Bin 0 -> 32632 bytes ...noto-sans-sc-81-wght-normal-ed_TZlfo.woff2 | Bin 0 -> 47548 bytes ...noto-sans-sc-82-wght-normal-DcxfR5OJ.woff2 | Bin 0 -> 46176 bytes ...noto-sans-sc-83-wght-normal-C9UjAcMM.woff2 | Bin 0 -> 43504 bytes ...noto-sans-sc-84-wght-normal-C7NxT478.woff2 | Bin 0 -> 32612 bytes ...noto-sans-sc-85-wght-normal-DBcDBu1n.woff2 | Bin 0 -> 26900 bytes ...noto-sans-sc-86-wght-normal-CLJIoPpl.woff2 | Bin 0 -> 33576 bytes ...noto-sans-sc-87-wght-normal-DYfJ-vGE.woff2 | Bin 0 -> 8012 bytes ...noto-sans-sc-88-wght-normal-ClNDOCGW.woff2 | Bin 0 -> 7336 bytes ...noto-sans-sc-89-wght-normal-IQU_KQA8.woff2 | Bin 0 -> 10984 bytes ...noto-sans-sc-90-wght-normal-BWcrRNoG.woff2 | Bin 0 -> 9344 bytes ...noto-sans-sc-91-wght-normal-CGekvDdH.woff2 | Bin 0 -> 8704 bytes ...noto-sans-sc-97-wght-normal-BsBHkXi3.woff2 | Bin 0 -> 2080 bytes ...noto-sans-sc-98-wght-normal-BZqSA1r_.woff2 | Bin 0 -> 3416 bytes ...noto-sans-sc-99-wght-normal-Q_IptJM5.woff2 | Bin 0 -> 9704 bytes ...ans-sc-cyrillic-wght-normal-CRA5_Pf1.woff2 | Bin 0 -> 10008 bytes ...ns-sc-latin-ext-wght-normal-CqPqLCfe.woff2 | Bin 0 -> 8244 bytes ...o-sans-sc-latin-wght-normal-DYAKOyvl.woff2 | Bin 0 -> 25240 bytes ...s-sc-vietnamese-wght-normal-y5SU35Rl.woff2 | Bin 0 -> 9096 bytes .../noto-sans-tc-0-wght-normal-AlCjBspo.woff2 | Bin 0 -> 8908 bytes ...oto-sans-tc-100-wght-normal-CeyvuWjh.woff2 | Bin 0 -> 63280 bytes ...oto-sans-tc-101-wght-normal-BazQQPpe.woff2 | Bin 0 -> 62576 bytes ...oto-sans-tc-102-wght-normal-DWn0bv9H.woff2 | Bin 0 -> 63296 bytes ...oto-sans-tc-103-wght-normal-tcQ1zu-u.woff2 | Bin 0 -> 70408 bytes ...oto-sans-tc-104-wght-normal-4GaPENTg.woff2 | Bin 0 -> 68776 bytes ...oto-sans-tc-105-wght-normal-C1mWK2qa.woff2 | Bin 0 -> 68216 bytes ...oto-sans-tc-106-wght-normal-Chq-ESxo.woff2 | Bin 0 -> 72524 bytes ...oto-sans-tc-107-wght-normal-BC2EpFaE.woff2 | Bin 0 -> 73020 bytes ...oto-sans-tc-108-wght-normal-BExvVcn7.woff2 | Bin 0 -> 72540 bytes ...oto-sans-tc-109-wght-normal-CkWCzlGP.woff2 | Bin 0 -> 72004 bytes ...oto-sans-tc-110-wght-normal-CuMLARLR.woff2 | Bin 0 -> 79360 bytes ...oto-sans-tc-111-wght-normal-SqRJKajE.woff2 | Bin 0 -> 74860 bytes ...oto-sans-tc-112-wght-normal-BWioGL2B.woff2 | Bin 0 -> 73548 bytes ...oto-sans-tc-113-wght-normal-CRQfLReA.woff2 | Bin 0 -> 71484 bytes ...oto-sans-tc-114-wght-normal-D5H20qUS.woff2 | Bin 0 -> 85112 bytes ...oto-sans-tc-115-wght-normal-BzydpMOE.woff2 | Bin 0 -> 74332 bytes ...oto-sans-tc-116-wght-normal-Df_sWUUP.woff2 | Bin 0 -> 71712 bytes ...oto-sans-tc-117-wght-normal-DxSUmn6U.woff2 | Bin 0 -> 65440 bytes ...oto-sans-tc-118-wght-normal-CWrNe9UE.woff2 | Bin 0 -> 60296 bytes ...oto-sans-tc-119-wght-normal-uK-ZmsBB.woff2 | Bin 0 -> 34552 bytes ...noto-sans-tc-19-wght-normal-C8pGE9DU.woff2 | Bin 0 -> 29140 bytes ...noto-sans-tc-20-wght-normal-C3zSSq0m.woff2 | Bin 0 -> 53100 bytes ...noto-sans-tc-21-wght-normal-J1OUZdIj.woff2 | Bin 0 -> 43420 bytes ...noto-sans-tc-22-wght-normal-BxkVDKYB.woff2 | Bin 0 -> 42712 bytes ...noto-sans-tc-23-wght-normal-CpwJlAzD.woff2 | Bin 0 -> 40552 bytes ...noto-sans-tc-24-wght-normal-q2nxC991.woff2 | Bin 0 -> 37764 bytes ...noto-sans-tc-25-wght-normal-t7uRby9D.woff2 | Bin 0 -> 43516 bytes ...noto-sans-tc-26-wght-normal-CLhaJ79b.woff2 | Bin 0 -> 22808 bytes ...noto-sans-tc-27-wght-normal-Bsb6CrxP.woff2 | Bin 0 -> 26580 bytes ...noto-sans-tc-28-wght-normal-DzIWEAg_.woff2 | Bin 0 -> 52196 bytes ...noto-sans-tc-29-wght-normal-CVD47Xgy.woff2 | Bin 0 -> 44620 bytes ...noto-sans-tc-30-wght-normal-qEGnB_nK.woff2 | Bin 0 -> 43652 bytes ...noto-sans-tc-31-wght-normal-CUZYeSc0.woff2 | Bin 0 -> 35556 bytes ...noto-sans-tc-32-wght-normal-B4A85CGO.woff2 | Bin 0 -> 43944 bytes ...noto-sans-tc-33-wght-normal-BuZ7TSCr.woff2 | Bin 0 -> 30608 bytes ...noto-sans-tc-34-wght-normal-C1wbJ2k5.woff2 | Bin 0 -> 20984 bytes ...noto-sans-tc-35-wght-normal-DJnPxO40.woff2 | Bin 0 -> 41732 bytes ...noto-sans-tc-36-wght-normal-D8HTrsxI.woff2 | Bin 0 -> 49296 bytes ...noto-sans-tc-37-wght-normal-Ci96APBt.woff2 | Bin 0 -> 50944 bytes ...noto-sans-tc-38-wght-normal-CaasFSCy.woff2 | Bin 0 -> 43968 bytes ...noto-sans-tc-39-wght-normal-DNt0rKy4.woff2 | Bin 0 -> 49908 bytes ...noto-sans-tc-40-wght-normal-Byd_iF60.woff2 | Bin 0 -> 39268 bytes ...noto-sans-tc-41-wght-normal-CimuZG9f.woff2 | Bin 0 -> 29336 bytes ...noto-sans-tc-42-wght-normal-DT8sgwsv.woff2 | Bin 0 -> 43708 bytes ...noto-sans-tc-43-wght-normal-xnDjStnc.woff2 | Bin 0 -> 40192 bytes ...noto-sans-tc-44-wght-normal-Dv8Wk8tG.woff2 | Bin 0 -> 21052 bytes ...noto-sans-tc-45-wght-normal-DdGhaj3f.woff2 | Bin 0 -> 56888 bytes ...noto-sans-tc-46-wght-normal-C7pDsoZP.woff2 | Bin 0 -> 55004 bytes ...noto-sans-tc-47-wght-normal-BeEDFoeW.woff2 | Bin 0 -> 42440 bytes ...noto-sans-tc-48-wght-normal-CKLCikII.woff2 | Bin 0 -> 43428 bytes ...noto-sans-tc-49-wght-normal-CCLgFFzC.woff2 | Bin 0 -> 40616 bytes ...noto-sans-tc-50-wght-normal-C42Zjgp-.woff2 | Bin 0 -> 35808 bytes ...noto-sans-tc-51-wght-normal-AEQJR1Ln.woff2 | Bin 0 -> 44120 bytes ...noto-sans-tc-52-wght-normal-BdHOWR67.woff2 | Bin 0 -> 42348 bytes ...noto-sans-tc-53-wght-normal-DRtz34YW.woff2 | Bin 0 -> 40328 bytes ...noto-sans-tc-54-wght-normal-Bctil8qQ.woff2 | Bin 0 -> 42344 bytes ...noto-sans-tc-55-wght-normal-ChI6Gtzx.woff2 | Bin 0 -> 47812 bytes ...noto-sans-tc-56-wght-normal-B7o92O3n.woff2 | Bin 0 -> 49844 bytes ...noto-sans-tc-57-wght-normal-tuc02TtS.woff2 | Bin 0 -> 51320 bytes ...noto-sans-tc-58-wght-normal-DzvAN8Jo.woff2 | Bin 0 -> 43052 bytes ...noto-sans-tc-59-wght-normal-02_K4Ups.woff2 | Bin 0 -> 32768 bytes .../noto-sans-tc-6-wght-normal-WPkr41zz.woff2 | Bin 0 -> 15328 bytes ...noto-sans-tc-60-wght-normal-CUXov-_V.woff2 | Bin 0 -> 37332 bytes ...noto-sans-tc-61-wght-normal-CWCy7dBQ.woff2 | Bin 0 -> 54084 bytes ...noto-sans-tc-62-wght-normal-DPjuIv4Z.woff2 | Bin 0 -> 45384 bytes ...noto-sans-tc-63-wght-normal-D8azYq-W.woff2 | Bin 0 -> 38360 bytes ...noto-sans-tc-64-wght-normal-CFXGj_qd.woff2 | Bin 0 -> 33124 bytes ...noto-sans-tc-65-wght-normal-C6nqnFQi.woff2 | Bin 0 -> 35356 bytes ...noto-sans-tc-66-wght-normal-CABLcObE.woff2 | Bin 0 -> 48896 bytes ...noto-sans-tc-67-wght-normal-C7UtET7V.woff2 | Bin 0 -> 34324 bytes ...noto-sans-tc-68-wght-normal-DU7AqVdX.woff2 | Bin 0 -> 34864 bytes ...noto-sans-tc-69-wght-normal-ChhTaUGt.woff2 | Bin 0 -> 45124 bytes .../noto-sans-tc-7-wght-normal-foGylaCC.woff2 | Bin 0 -> 14372 bytes ...noto-sans-tc-70-wght-normal-BJCVnFr4.woff2 | Bin 0 -> 30836 bytes ...noto-sans-tc-71-wght-normal-C68sB2pX.woff2 | Bin 0 -> 37392 bytes ...noto-sans-tc-72-wght-normal-zLtu43lR.woff2 | Bin 0 -> 37764 bytes ...noto-sans-tc-73-wght-normal-Dx6FRt8Y.woff2 | Bin 0 -> 27596 bytes ...noto-sans-tc-74-wght-normal-Bv7R4L9_.woff2 | Bin 0 -> 50796 bytes ...noto-sans-tc-75-wght-normal-CY_syJjm.woff2 | Bin 0 -> 35908 bytes ...noto-sans-tc-76-wght-normal-De8sopUP.woff2 | Bin 0 -> 39688 bytes ...noto-sans-tc-77-wght-normal-DtQ0zzNs.woff2 | Bin 0 -> 34100 bytes ...noto-sans-tc-78-wght-normal-BM2ohN5p.woff2 | Bin 0 -> 41124 bytes ...noto-sans-tc-79-wght-normal-BTshvStA.woff2 | Bin 0 -> 28064 bytes .../noto-sans-tc-8-wght-normal-BHOicRI8.woff2 | Bin 0 -> 9548 bytes ...noto-sans-tc-80-wght-normal-B3lzDGAN.woff2 | Bin 0 -> 27048 bytes ...noto-sans-tc-81-wght-normal-CdB6HoDd.woff2 | Bin 0 -> 31328 bytes ...noto-sans-tc-82-wght-normal-_Ir9Q2vB.woff2 | Bin 0 -> 43040 bytes ...noto-sans-tc-83-wght-normal-BKaoQorn.woff2 | Bin 0 -> 29524 bytes ...noto-sans-tc-84-wght-normal-D9L0JLly.woff2 | Bin 0 -> 18844 bytes ...noto-sans-tc-85-wght-normal-D6VRmOzr.woff2 | Bin 0 -> 36744 bytes ...noto-sans-tc-86-wght-normal-Cq_w8Em-.woff2 | Bin 0 -> 12196 bytes ...noto-sans-tc-87-wght-normal-Yrph325E.woff2 | Bin 0 -> 5792 bytes ...noto-sans-tc-88-wght-normal-qM37cYHV.woff2 | Bin 0 -> 7560 bytes ...noto-sans-tc-89-wght-normal-DQgsOy-T.woff2 | Bin 0 -> 10644 bytes ...noto-sans-tc-90-wght-normal-BLG28ssT.woff2 | Bin 0 -> 9384 bytes ...noto-sans-tc-91-wght-normal-Dcrjozns.woff2 | Bin 0 -> 8856 bytes ...noto-sans-tc-92-wght-normal-BzOgo23f.woff2 | Bin 0 -> 3584 bytes ...noto-sans-tc-97-wght-normal-OQoh5cHZ.woff2 | Bin 0 -> 1656 bytes ...noto-sans-tc-98-wght-normal-OAj596Gu.woff2 | Bin 0 -> 3052 bytes ...noto-sans-tc-99-wght-normal-D9WNKjpg.woff2 | Bin 0 -> 8808 bytes ...ans-tc-cyrillic-wght-normal-DHeihy9e.woff2 | Bin 0 -> 9980 bytes ...ns-tc-latin-ext-wght-normal-BFabhjDY.woff2 | Bin 0 -> 8268 bytes ...o-sans-tc-latin-wght-normal-CjMECRfU.woff2 | Bin 0 -> 25136 bytes ...s-tc-vietnamese-wght-normal-B77OGAeV.woff2 | Bin 0 -> 9040 bytes icons/apple-touch-icon.png | Bin 0 -> 8563 bytes icons/icon-192.png | Bin 0 -> 9623 bytes icons/icon-512.png | Bin 0 -> 27580 bytes icons/maskable-512.png | Bin 0 -> 16136 bytes index.html | 103 + lite/.vite/bundled-packages.json | 34 + lite/.vite/manifest.json | 957 ++ lite/assets/Badge-CWT3kDDc.js | 1 + lite/assets/BottomSheet-DJsQsjkd.js | 1 + lite/assets/CheckboxInput-Bq3mMkIk.js | 1 + lite/assets/Commands-ClmgDpJ1.js | 1 + lite/assets/CopyMembers-CTdBNPFn.js | 1 + lite/assets/Demo-CPE_H6X2.css | 1 + lite/assets/Demo-DalfMH6-.js | 1 + lite/assets/DialogActions-CyP0fIos.js | 1 + lite/assets/Dns-UQZOktC-.js | 2 + lite/assets/DraftPresence-nTbyFTHc.js | 1 + lite/assets/DragItems-CfP-W3QB.js | 1 + lite/assets/Grid-DA3PhhE3.js | 1 + lite/assets/Groups-CBHNXtKU.js | 6 + lite/assets/LiteCodeEditor-DIAueorv.js | 18 + lite/assets/NodeForm-CIzIXO9X.js | 1 + lite/assets/Nodes-Ca6gDXKM.js | 4 + .../assets/ProgressBarMarkTooltip-Ct3K4Rs-.js | 1 + lite/assets/Routing-C5CwlVsC.js | 3 + lite/assets/RowTooltip-BM-OEshH.js | 2 + lite/assets/Section-Dj2q0w9F.js | 1 + lite/assets/SelectableCard-fSw6A0tS.js | 1 + lite/assets/SettingsDialog-BkCRNoWU.js | 5 + lite/assets/ShareDialog-CHdmmxEy.js | 1 + lite/assets/StackItem-DA4oxou-.js | 1 + lite/assets/Subscriptions-CogfKuNw.js | 2 + lite/assets/Subscriptions-bEMeJtuE.css | 1 + lite/assets/Tab-CY2v2TrU.js | 1 + lite/assets/TemplatePicker-BsDeaLLg.js | 4 + lite/assets/TextArea-SbVeD2Yh.js | 1 + lite/assets/Tooltip-E6ZDrvEX.js | 1 + lite/assets/astryx-stylex-13287a65.css | 8034 +++++++++++++++++ lite/assets/auth-D7KWQuBU.js | 1 + lite/assets/characters-BTCLwFRK.js | 1 + lite/assets/computeTargetAndRel-CG6_--x2.js | 1 + lite/assets/copy-DDLh7tnr.js | 1 + lite/assets/createMockApi-FHxVYaTH.js | 109 + lite/assets/describe-Hf_K80wi.js | 1 + lite/assets/diff-WgWIo2FU.js | 3 + lite/assets/editorLayout-Cbivb-_j.js | 1 + lite/assets/engines-9rDto3zE.js | 3 + lite/assets/error-zX_EL2Af.js | 1 + ...gtree-latin-ext-wght-normal-DCwSJGxG.woff2 | Bin 0 -> 10280 bytes .../figtree-latin-wght-normal-D_ZTVpCC.woff2 | Bin 0 -> 20156 bytes lite/assets/focusRing-CTrtS2oQ.js | 1 + lite/assets/focusableSelector-DXZeMU85.js | 1 + lite/assets/groupBindings-BuevCTCJ.js | 1 + lite/assets/groupFilters-CvE4zCPS.js | 1 + lite/assets/groupLabels-C50manlR.js | 1 + lite/assets/hash-D-bQIDYT.js | 2 + lite/assets/i18n-BbYLxYHU.js | 2 + lite/assets/index-CRutc7CK.js | 47 + lite/assets/index-CmpMcYwE.css | 2 + lite/assets/metrics.stylex-ClXvXrew.js | 1 + lite/assets/motion-BsW12p8Z.js | 2 + lite/assets/nodes-BVHopg_D.js | 15 + lite/assets/preload-helper-CRzLMJPS.js | 1 + lite/assets/probes-DZ26umUN.js | 1 + lite/assets/react-B6PPDU_E.js | 1 + lite/assets/ruleDraft-BntVNhS4.js | 28 + lite/assets/ruleReview-Z75rqj7W.css | 1 + lite/assets/ruleReview-fp0U4Uu_.js | 1 + lite/assets/ruleText-YGQplk5z.js | 13 + lite/assets/rustRegex-BtFykbGM.js | 20 + lite/assets/sharedResizeObserver-Ck6tEaIA.js | 1 + lite/assets/subscriptions-XCa2fqdV.js | 6 + lite/assets/templates-Cs68-ut5.js | 22 + lite/assets/themeProps-DenueROy.js | 1 + lite/assets/ui-DppAcDEz.js | 20 + lite/assets/useClickableContainer-DH-oaYMA.js | 3 + lite/assets/useDevWarning-BKs3q62R.js | 1 + lite/assets/useFeatureDraft-C9_lBaxp.js | 1 + .../useIsomorphicLayoutEffect-12gJ4XVa.js | 1 + lite/assets/useKeyboardHint-CJtITeBm.js | 1 + lite/assets/useMediaQuery-BJPtUnBx.js | 1 + lite/assets/useResolvedRequired-B2GIx5d9.js | 2 + lite/assets/useScrollLock-Bfo7DwhH.js | 1 + lite/icons/apple-touch-icon.png | Bin 0 -> 8563 bytes lite/index.html | 53 + lite/logo.svg | 11 + logo.svg | 11 + manifest.webmanifest | 16 + sw.js | 91 + 432 files changed, 12320 insertions(+) create mode 100644 .nojekyll create mode 100644 .vite/bundled-packages.json create mode 100644 .vite/manifest.json create mode 100644 CNAME create mode 100644 assets/AddCircle-qKwVDZ__.js create mode 100644 assets/AppearanceControls-I4PvP9Es.js create mode 100644 assets/AreaChart-m_wmxFIp.js create mode 100644 assets/AreaCurve-DQSHOSpG.js create mode 100644 assets/BackendText-CxshqKrW.js create mode 100644 assets/CardView-f0UIkdtH.js create mode 100644 assets/ChainFields-BAItfFQK.js create mode 100644 assets/Checkbox-CUoHrzuV.js create mode 100644 assets/CheckboxSet-BThgrv4U.js create mode 100644 assets/CodeEditor-Cb8XCLWG.js create mode 100644 assets/Config-BzyCN_Ax.js create mode 100644 assets/Connections-Dlv_78r1.js create mode 100644 assets/Copy-ftx4Gb2m.js create mode 100644 assets/Coverage-BhgtC9t6.js create mode 100644 assets/DaeCode-DEjXqvav.js create mode 100644 assets/Delete-D69JigFx.js create mode 100644 assets/Dns-CP7rSbYW.js create mode 100644 assets/Dns-CsAXSf3H.css create mode 100644 assets/Donut-DQU0_smr.js create mode 100644 assets/Editors-7UGtyi9X.js create mode 100644 assets/Editors-rPgk_VZK.css create mode 100644 assets/Events-Cz7XGkUG.js create mode 100644 assets/FlagPicker-DkMTBjLE.js create mode 100644 assets/Flows-CFNotQUH.css create mode 100644 assets/Flows-CWq91DGu.js create mode 100644 assets/GridList-Cq8h6RdG.js create mode 100644 assets/ItemText-B5OxI5lS.js create mode 100644 assets/LinkOut-DVAiBR_J.js create mode 100644 assets/Login-Dthlqd0l.js create mode 100644 assets/Logs-B21_MfGT.js create mode 100644 assets/ManualFields-CTj0sr4A.js create mode 100644 assets/ModeReadOnlyHint-D73z908a.js create mode 100644 assets/NodePath-CW8z1Niq.js create mode 100644 assets/Nodes-CM_U6MZ3.css create mode 100644 assets/Nodes-DIVmMRlP.js create mode 100644 assets/NumberField-BGS5AF_x.js create mode 100644 assets/Overview-BUdN7c7l.js create mode 100644 assets/Policies-DR22sMzN.js create mode 100644 assets/Rules-BMHWGCx6.js create mode 100644 assets/SearchDialog-CCF-sgtO.js create mode 100644 assets/SearchList-D75Ie4nx.js create mode 100644 assets/SearchSelect-CSXz7lhe.js create mode 100644 assets/Select-W-Xrx6y6.js create mode 100644 assets/Settings-BVpmQMTB.css create mode 100644 assets/Settings-KwPU8MKD.js create mode 100644 assets/Sparkline-IClrZGcQ.js create mode 100644 assets/SubscriptionFields-DhFfUi4P.js create mode 100644 assets/Table-DotwWze-.js create mode 100644 assets/Tabs-Kfe2CfSx.js create mode 100644 assets/Tag-DE8n6iTZ.js create mode 100644 assets/TimeCell-xtED_iww.js create mode 100644 assets/Trace-DY4zXTiF.js create mode 100644 assets/TwemojiCountryFlags-Bymva2JV.woff2 create mode 100644 assets/Virtualizer-tkoH0e4V.js create mode 100644 assets/WallpaperSettings-Dynl1X5E.js create mode 100644 assets/XhttpOptions-CFjPLQAZ.js create mode 100644 assets/_commonjsHelpers-CXUWDbkB.js create mode 100644 assets/activity-C22CeO5G.js create mode 100644 assets/activity-Dh87vlBh.css create mode 100644 assets/antd-BTVob2XE.css create mode 100644 assets/arco-DnDQV30N.css create mode 100644 assets/array-C0VuvQyb.js create mode 100644 assets/auth-BIagQEUo.js create mode 100644 assets/auth-BNrY15aC.js create mode 100644 assets/catppuccin-CFfx8ddQ.css create mode 100644 assets/daeTokens-BVtuNnWZ.js create mode 100644 assets/duck-night-CbKHyiul.webp create mode 100644 assets/files-Dt8K7QfP.js create mode 100644 assets/flows-BfIUsgdd.js create mode 100644 assets/fonts-C5_wsAqZ.css create mode 100644 assets/fonts-sc-Dyn9aW84.css create mode 100644 assets/fonts-tc-D9rvq3k7.css create mode 100644 assets/geodata-CvcFemyc.js create mode 100644 assets/geodataUpdate-CK75960A.js create mode 100644 assets/glass-BcMm4w7K.js create mode 100644 assets/glass-piYllnzE.css create mode 100644 assets/gorges-dark-FlgXSNn1.webp create mode 100644 assets/gorges-light-DCWkLX37.webp create mode 100644 assets/groupFilters-vTIJClEo.js create mode 100644 assets/halloween-Dfny7j3b.js create mode 100644 assets/halloween-e3DfiasY.css create mode 100644 assets/impact-B8feJDtJ.css create mode 100644 assets/index-C4UFgHia.js create mode 100644 assets/index-CQHYBvmE.css create mode 100644 assets/index-DUM-iwa2.js create mode 100644 assets/index-Didrg8zX.js create mode 100644 assets/ipLookup-BYorpVJi.css create mode 100644 assets/ipLookup-Cl7psHhv.js create mode 100644 assets/kary-pGa0AxYi.css create mode 100644 assets/labels-D8xxfRTQ.js create mode 100644 assets/lake-dark-B_VaUlAe.webp create mode 100644 assets/lake-light-oWll36-V.webp create mode 100644 assets/lens-BMneTJKP.js create mode 100644 assets/limitHint-DIncl1LE.js create mode 100644 assets/locale-en-activity-DciTGa2i.js create mode 100644 assets/locale-en-core-B5pEqoG8.js create mode 100644 assets/locale-en-rest-DSXBo_3V.js create mode 100644 assets/locale-zh-CN-activity--3M_cvyC.js create mode 100644 assets/locale-zh-CN-core-D8hHJVk2.js create mode 100644 assets/locale-zh-CN-rest-PXwz-ehW.js create mode 100644 assets/locale-zh-TW-activity-B4FjBL_G.js create mode 100644 assets/locale-zh-TW-core-DUIVLsYf.js create mode 100644 assets/locale-zh-TW-rest-BCiiZaKK.js create mode 100644 assets/logo-CKC46m8V.svg create mode 100644 assets/logo-obi05X1B.svg create mode 100644 assets/logs-j0cmmcZI.js create mode 100644 assets/match.worker-B2aIccpg.js create mode 100644 assets/nav-DrWHp_dt.js create mode 100644 assets/nav-VzrSXoKO.js create mode 100644 assets/nodes-BXUOUiP2.js create mode 100644 assets/nord-BE7QITf9.css create mode 100644 assets/outbounds-CJznbPkH.js create mode 100644 assets/paletteSheet-Vc0PGoNW.js create mode 100644 assets/paletteSheets-Bf5fGVE_.js create mode 100644 assets/probe-CRm42H8E.js create mode 100644 assets/qiangguo-CTOUSOCk.css create mode 100644 assets/recorder-BHyqDNp5.js create mode 100644 assets/rule-ljMHmFs3.js create mode 100644 assets/semi-DGpddBEP.css create mode 100644 assets/square-dark-CG0rwsS1.webp create mode 100644 assets/square-light-OU6dsCf9.webp create mode 100644 assets/subscriptionEntries-CB_uX4nO.js create mode 100644 assets/taishan-dark-BI3cd4fj.webp create mode 100644 assets/taishan-light-Dip0HmJZ.webp create mode 100644 assets/useGridSelectionCheckbox-D0fV1e0v.js create mode 100644 assets/useQuickRule-D86TFC6s.js create mode 100644 assets/vendor-editor-50h2cCk6.js create mode 100644 assets/vendor-react-64fcanlc.js create mode 100644 assets/wall-dark-DCO0xUUO.webp create mode 100644 assets/wall-light-BYfte2Bi.webp create mode 100644 assets/wallpaper-CEC7gitM.js create mode 100644 fonts/OFL.txt create mode 100644 fonts/README create mode 100644 fonts/noto-sans-sc-100-wght-normal-DrqXJETY.woff2 create mode 100644 fonts/noto-sans-sc-101-wght-normal-c94LAl5p.woff2 create mode 100644 fonts/noto-sans-sc-102-wght-normal-C1RtbCZr.woff2 create mode 100644 fonts/noto-sans-sc-103-wght-normal-DGHo20nu.woff2 create mode 100644 fonts/noto-sans-sc-104-wght-normal-CJT2ioDJ.woff2 create mode 100644 fonts/noto-sans-sc-105-wght-normal-BFoiJwz2.woff2 create mode 100644 fonts/noto-sans-sc-106-wght-normal-D6uUHw3w.woff2 create mode 100644 fonts/noto-sans-sc-107-wght-normal-kFQzJDLH.woff2 create mode 100644 fonts/noto-sans-sc-108-wght-normal-7aXvqIa2.woff2 create mode 100644 fonts/noto-sans-sc-109-wght-normal-CnjNbNmw.woff2 create mode 100644 fonts/noto-sans-sc-110-wght-normal-D2JBr045.woff2 create mode 100644 fonts/noto-sans-sc-111-wght-normal-ClFr5QXM.woff2 create mode 100644 fonts/noto-sans-sc-112-wght-normal-CiZxJMyY.woff2 create mode 100644 fonts/noto-sans-sc-113-wght-normal-OgQXOX6x.woff2 create mode 100644 fonts/noto-sans-sc-114-wght-normal-CRH9SDZu.woff2 create mode 100644 fonts/noto-sans-sc-115-wght-normal-BN__2iBG.woff2 create mode 100644 fonts/noto-sans-sc-116-wght-normal-vdFVzbO2.woff2 create mode 100644 fonts/noto-sans-sc-117-wght-normal-Dsz3vkzU.woff2 create mode 100644 fonts/noto-sans-sc-118-wght-normal-BPEb0gM9.woff2 create mode 100644 fonts/noto-sans-sc-119-wght-normal-BfzSEbFz.woff2 create mode 100644 fonts/noto-sans-sc-21-wght-normal-DIu_1ZBI.woff2 create mode 100644 fonts/noto-sans-sc-22-wght-normal-VXjdYcT-.woff2 create mode 100644 fonts/noto-sans-sc-23-wght-normal-4HrHKhpL.woff2 create mode 100644 fonts/noto-sans-sc-24-wght-normal-B58DWgHS.woff2 create mode 100644 fonts/noto-sans-sc-25-wght-normal-C3Jm6l7O.woff2 create mode 100644 fonts/noto-sans-sc-26-wght-normal-YNOygvr_.woff2 create mode 100644 fonts/noto-sans-sc-27-wght-normal-BP2pEGQH.woff2 create mode 100644 fonts/noto-sans-sc-28-wght-normal-BWPKDbtH.woff2 create mode 100644 fonts/noto-sans-sc-29-wght-normal-45aVmHn_.woff2 create mode 100644 fonts/noto-sans-sc-30-wght-normal-B8_s30jZ.woff2 create mode 100644 fonts/noto-sans-sc-31-wght-normal-DW0t445S.woff2 create mode 100644 fonts/noto-sans-sc-32-wght-normal-ShbWPcei.woff2 create mode 100644 fonts/noto-sans-sc-33-wght-normal-BOTZYTjM.woff2 create mode 100644 fonts/noto-sans-sc-34-wght-normal-BF1rqDSt.woff2 create mode 100644 fonts/noto-sans-sc-35-wght-normal-Bosspiyr.woff2 create mode 100644 fonts/noto-sans-sc-36-wght-normal-CtU9CyKw.woff2 create mode 100644 fonts/noto-sans-sc-37-wght-normal-ghDiyiuv.woff2 create mode 100644 fonts/noto-sans-sc-38-wght-normal-4Nz8k_dt.woff2 create mode 100644 fonts/noto-sans-sc-39-wght-normal-Ddtm1XVC.woff2 create mode 100644 fonts/noto-sans-sc-4-wght-normal-BRbPMj-C.woff2 create mode 100644 fonts/noto-sans-sc-40-wght-normal-BVn4-kgX.woff2 create mode 100644 fonts/noto-sans-sc-41-wght-normal-CZqajZnl.woff2 create mode 100644 fonts/noto-sans-sc-42-wght-normal-CQ4lY28u.woff2 create mode 100644 fonts/noto-sans-sc-43-wght-normal-psppu0d8.woff2 create mode 100644 fonts/noto-sans-sc-44-wght-normal-cbKJlTUe.woff2 create mode 100644 fonts/noto-sans-sc-45-wght-normal-MKIEVRIC.woff2 create mode 100644 fonts/noto-sans-sc-46-wght-normal-CErGc6Mt.woff2 create mode 100644 fonts/noto-sans-sc-47-wght-normal-C5Kgg1_m.woff2 create mode 100644 fonts/noto-sans-sc-48-wght-normal-DFMjDDY6.woff2 create mode 100644 fonts/noto-sans-sc-49-wght-normal-B7l_3BZr.woff2 create mode 100644 fonts/noto-sans-sc-5-wght-normal-DI846rD9.woff2 create mode 100644 fonts/noto-sans-sc-50-wght-normal-C5KfAmFp.woff2 create mode 100644 fonts/noto-sans-sc-51-wght-normal-C2bq6hC8.woff2 create mode 100644 fonts/noto-sans-sc-52-wght-normal-P18e_Y0j.woff2 create mode 100644 fonts/noto-sans-sc-53-wght-normal-Bgkuo2tF.woff2 create mode 100644 fonts/noto-sans-sc-54-wght-normal-DL5lmlUd.woff2 create mode 100644 fonts/noto-sans-sc-55-wght-normal-BV_Oy6IF.woff2 create mode 100644 fonts/noto-sans-sc-56-wght-normal-B4L7Hj8f.woff2 create mode 100644 fonts/noto-sans-sc-57-wght-normal-DU8YBsDj.woff2 create mode 100644 fonts/noto-sans-sc-58-wght-normal-CE0BKS9u.woff2 create mode 100644 fonts/noto-sans-sc-59-wght-normal-Azv2Ku9_.woff2 create mode 100644 fonts/noto-sans-sc-6-wght-normal-ozUCEY9O.woff2 create mode 100644 fonts/noto-sans-sc-60-wght-normal-C1lngC61.woff2 create mode 100644 fonts/noto-sans-sc-61-wght-normal-BxWkGF5M.woff2 create mode 100644 fonts/noto-sans-sc-62-wght-normal-CXXMAq-5.woff2 create mode 100644 fonts/noto-sans-sc-63-wght-normal-4La5uKvS.woff2 create mode 100644 fonts/noto-sans-sc-64-wght-normal-CbIuD2Eg.woff2 create mode 100644 fonts/noto-sans-sc-65-wght-normal-BGqvKda2.woff2 create mode 100644 fonts/noto-sans-sc-66-wght-normal-BvNozWOY.woff2 create mode 100644 fonts/noto-sans-sc-67-wght-normal-CC-WRBV-.woff2 create mode 100644 fonts/noto-sans-sc-68-wght-normal-c0FjfUaj.woff2 create mode 100644 fonts/noto-sans-sc-69-wght-normal-D596Jjl2.woff2 create mode 100644 fonts/noto-sans-sc-70-wght-normal-ColEcmtJ.woff2 create mode 100644 fonts/noto-sans-sc-71-wght-normal-ChZfXpdg.woff2 create mode 100644 fonts/noto-sans-sc-72-wght-normal-D1VyfEG3.woff2 create mode 100644 fonts/noto-sans-sc-73-wght-normal-DwSJRYPJ.woff2 create mode 100644 fonts/noto-sans-sc-74-wght-normal-Cte7o1QG.woff2 create mode 100644 fonts/noto-sans-sc-75-wght-normal-B0qL41rF.woff2 create mode 100644 fonts/noto-sans-sc-76-wght-normal-BPLMO_2x.woff2 create mode 100644 fonts/noto-sans-sc-77-wght-normal-Dkbi3pye.woff2 create mode 100644 fonts/noto-sans-sc-78-wght-normal-BFUXeSw6.woff2 create mode 100644 fonts/noto-sans-sc-79-wght-normal-DoJG4UTB.woff2 create mode 100644 fonts/noto-sans-sc-80-wght-normal-BEFypWOO.woff2 create mode 100644 fonts/noto-sans-sc-81-wght-normal-ed_TZlfo.woff2 create mode 100644 fonts/noto-sans-sc-82-wght-normal-DcxfR5OJ.woff2 create mode 100644 fonts/noto-sans-sc-83-wght-normal-C9UjAcMM.woff2 create mode 100644 fonts/noto-sans-sc-84-wght-normal-C7NxT478.woff2 create mode 100644 fonts/noto-sans-sc-85-wght-normal-DBcDBu1n.woff2 create mode 100644 fonts/noto-sans-sc-86-wght-normal-CLJIoPpl.woff2 create mode 100644 fonts/noto-sans-sc-87-wght-normal-DYfJ-vGE.woff2 create mode 100644 fonts/noto-sans-sc-88-wght-normal-ClNDOCGW.woff2 create mode 100644 fonts/noto-sans-sc-89-wght-normal-IQU_KQA8.woff2 create mode 100644 fonts/noto-sans-sc-90-wght-normal-BWcrRNoG.woff2 create mode 100644 fonts/noto-sans-sc-91-wght-normal-CGekvDdH.woff2 create mode 100644 fonts/noto-sans-sc-97-wght-normal-BsBHkXi3.woff2 create mode 100644 fonts/noto-sans-sc-98-wght-normal-BZqSA1r_.woff2 create mode 100644 fonts/noto-sans-sc-99-wght-normal-Q_IptJM5.woff2 create mode 100644 fonts/noto-sans-sc-cyrillic-wght-normal-CRA5_Pf1.woff2 create mode 100644 fonts/noto-sans-sc-latin-ext-wght-normal-CqPqLCfe.woff2 create mode 100644 fonts/noto-sans-sc-latin-wght-normal-DYAKOyvl.woff2 create mode 100644 fonts/noto-sans-sc-vietnamese-wght-normal-y5SU35Rl.woff2 create mode 100644 fonts/noto-sans-tc-0-wght-normal-AlCjBspo.woff2 create mode 100644 fonts/noto-sans-tc-100-wght-normal-CeyvuWjh.woff2 create mode 100644 fonts/noto-sans-tc-101-wght-normal-BazQQPpe.woff2 create mode 100644 fonts/noto-sans-tc-102-wght-normal-DWn0bv9H.woff2 create mode 100644 fonts/noto-sans-tc-103-wght-normal-tcQ1zu-u.woff2 create mode 100644 fonts/noto-sans-tc-104-wght-normal-4GaPENTg.woff2 create mode 100644 fonts/noto-sans-tc-105-wght-normal-C1mWK2qa.woff2 create mode 100644 fonts/noto-sans-tc-106-wght-normal-Chq-ESxo.woff2 create mode 100644 fonts/noto-sans-tc-107-wght-normal-BC2EpFaE.woff2 create mode 100644 fonts/noto-sans-tc-108-wght-normal-BExvVcn7.woff2 create mode 100644 fonts/noto-sans-tc-109-wght-normal-CkWCzlGP.woff2 create mode 100644 fonts/noto-sans-tc-110-wght-normal-CuMLARLR.woff2 create mode 100644 fonts/noto-sans-tc-111-wght-normal-SqRJKajE.woff2 create mode 100644 fonts/noto-sans-tc-112-wght-normal-BWioGL2B.woff2 create mode 100644 fonts/noto-sans-tc-113-wght-normal-CRQfLReA.woff2 create mode 100644 fonts/noto-sans-tc-114-wght-normal-D5H20qUS.woff2 create mode 100644 fonts/noto-sans-tc-115-wght-normal-BzydpMOE.woff2 create mode 100644 fonts/noto-sans-tc-116-wght-normal-Df_sWUUP.woff2 create mode 100644 fonts/noto-sans-tc-117-wght-normal-DxSUmn6U.woff2 create mode 100644 fonts/noto-sans-tc-118-wght-normal-CWrNe9UE.woff2 create mode 100644 fonts/noto-sans-tc-119-wght-normal-uK-ZmsBB.woff2 create mode 100644 fonts/noto-sans-tc-19-wght-normal-C8pGE9DU.woff2 create mode 100644 fonts/noto-sans-tc-20-wght-normal-C3zSSq0m.woff2 create mode 100644 fonts/noto-sans-tc-21-wght-normal-J1OUZdIj.woff2 create mode 100644 fonts/noto-sans-tc-22-wght-normal-BxkVDKYB.woff2 create mode 100644 fonts/noto-sans-tc-23-wght-normal-CpwJlAzD.woff2 create mode 100644 fonts/noto-sans-tc-24-wght-normal-q2nxC991.woff2 create mode 100644 fonts/noto-sans-tc-25-wght-normal-t7uRby9D.woff2 create mode 100644 fonts/noto-sans-tc-26-wght-normal-CLhaJ79b.woff2 create mode 100644 fonts/noto-sans-tc-27-wght-normal-Bsb6CrxP.woff2 create mode 100644 fonts/noto-sans-tc-28-wght-normal-DzIWEAg_.woff2 create mode 100644 fonts/noto-sans-tc-29-wght-normal-CVD47Xgy.woff2 create mode 100644 fonts/noto-sans-tc-30-wght-normal-qEGnB_nK.woff2 create mode 100644 fonts/noto-sans-tc-31-wght-normal-CUZYeSc0.woff2 create mode 100644 fonts/noto-sans-tc-32-wght-normal-B4A85CGO.woff2 create mode 100644 fonts/noto-sans-tc-33-wght-normal-BuZ7TSCr.woff2 create mode 100644 fonts/noto-sans-tc-34-wght-normal-C1wbJ2k5.woff2 create mode 100644 fonts/noto-sans-tc-35-wght-normal-DJnPxO40.woff2 create mode 100644 fonts/noto-sans-tc-36-wght-normal-D8HTrsxI.woff2 create mode 100644 fonts/noto-sans-tc-37-wght-normal-Ci96APBt.woff2 create mode 100644 fonts/noto-sans-tc-38-wght-normal-CaasFSCy.woff2 create mode 100644 fonts/noto-sans-tc-39-wght-normal-DNt0rKy4.woff2 create mode 100644 fonts/noto-sans-tc-40-wght-normal-Byd_iF60.woff2 create mode 100644 fonts/noto-sans-tc-41-wght-normal-CimuZG9f.woff2 create mode 100644 fonts/noto-sans-tc-42-wght-normal-DT8sgwsv.woff2 create mode 100644 fonts/noto-sans-tc-43-wght-normal-xnDjStnc.woff2 create mode 100644 fonts/noto-sans-tc-44-wght-normal-Dv8Wk8tG.woff2 create mode 100644 fonts/noto-sans-tc-45-wght-normal-DdGhaj3f.woff2 create mode 100644 fonts/noto-sans-tc-46-wght-normal-C7pDsoZP.woff2 create mode 100644 fonts/noto-sans-tc-47-wght-normal-BeEDFoeW.woff2 create mode 100644 fonts/noto-sans-tc-48-wght-normal-CKLCikII.woff2 create mode 100644 fonts/noto-sans-tc-49-wght-normal-CCLgFFzC.woff2 create mode 100644 fonts/noto-sans-tc-50-wght-normal-C42Zjgp-.woff2 create mode 100644 fonts/noto-sans-tc-51-wght-normal-AEQJR1Ln.woff2 create mode 100644 fonts/noto-sans-tc-52-wght-normal-BdHOWR67.woff2 create mode 100644 fonts/noto-sans-tc-53-wght-normal-DRtz34YW.woff2 create mode 100644 fonts/noto-sans-tc-54-wght-normal-Bctil8qQ.woff2 create mode 100644 fonts/noto-sans-tc-55-wght-normal-ChI6Gtzx.woff2 create mode 100644 fonts/noto-sans-tc-56-wght-normal-B7o92O3n.woff2 create mode 100644 fonts/noto-sans-tc-57-wght-normal-tuc02TtS.woff2 create mode 100644 fonts/noto-sans-tc-58-wght-normal-DzvAN8Jo.woff2 create mode 100644 fonts/noto-sans-tc-59-wght-normal-02_K4Ups.woff2 create mode 100644 fonts/noto-sans-tc-6-wght-normal-WPkr41zz.woff2 create mode 100644 fonts/noto-sans-tc-60-wght-normal-CUXov-_V.woff2 create mode 100644 fonts/noto-sans-tc-61-wght-normal-CWCy7dBQ.woff2 create mode 100644 fonts/noto-sans-tc-62-wght-normal-DPjuIv4Z.woff2 create mode 100644 fonts/noto-sans-tc-63-wght-normal-D8azYq-W.woff2 create mode 100644 fonts/noto-sans-tc-64-wght-normal-CFXGj_qd.woff2 create mode 100644 fonts/noto-sans-tc-65-wght-normal-C6nqnFQi.woff2 create mode 100644 fonts/noto-sans-tc-66-wght-normal-CABLcObE.woff2 create mode 100644 fonts/noto-sans-tc-67-wght-normal-C7UtET7V.woff2 create mode 100644 fonts/noto-sans-tc-68-wght-normal-DU7AqVdX.woff2 create mode 100644 fonts/noto-sans-tc-69-wght-normal-ChhTaUGt.woff2 create mode 100644 fonts/noto-sans-tc-7-wght-normal-foGylaCC.woff2 create mode 100644 fonts/noto-sans-tc-70-wght-normal-BJCVnFr4.woff2 create mode 100644 fonts/noto-sans-tc-71-wght-normal-C68sB2pX.woff2 create mode 100644 fonts/noto-sans-tc-72-wght-normal-zLtu43lR.woff2 create mode 100644 fonts/noto-sans-tc-73-wght-normal-Dx6FRt8Y.woff2 create mode 100644 fonts/noto-sans-tc-74-wght-normal-Bv7R4L9_.woff2 create mode 100644 fonts/noto-sans-tc-75-wght-normal-CY_syJjm.woff2 create mode 100644 fonts/noto-sans-tc-76-wght-normal-De8sopUP.woff2 create mode 100644 fonts/noto-sans-tc-77-wght-normal-DtQ0zzNs.woff2 create mode 100644 fonts/noto-sans-tc-78-wght-normal-BM2ohN5p.woff2 create mode 100644 fonts/noto-sans-tc-79-wght-normal-BTshvStA.woff2 create mode 100644 fonts/noto-sans-tc-8-wght-normal-BHOicRI8.woff2 create mode 100644 fonts/noto-sans-tc-80-wght-normal-B3lzDGAN.woff2 create mode 100644 fonts/noto-sans-tc-81-wght-normal-CdB6HoDd.woff2 create mode 100644 fonts/noto-sans-tc-82-wght-normal-_Ir9Q2vB.woff2 create mode 100644 fonts/noto-sans-tc-83-wght-normal-BKaoQorn.woff2 create mode 100644 fonts/noto-sans-tc-84-wght-normal-D9L0JLly.woff2 create mode 100644 fonts/noto-sans-tc-85-wght-normal-D6VRmOzr.woff2 create mode 100644 fonts/noto-sans-tc-86-wght-normal-Cq_w8Em-.woff2 create mode 100644 fonts/noto-sans-tc-87-wght-normal-Yrph325E.woff2 create mode 100644 fonts/noto-sans-tc-88-wght-normal-qM37cYHV.woff2 create mode 100644 fonts/noto-sans-tc-89-wght-normal-DQgsOy-T.woff2 create mode 100644 fonts/noto-sans-tc-90-wght-normal-BLG28ssT.woff2 create mode 100644 fonts/noto-sans-tc-91-wght-normal-Dcrjozns.woff2 create mode 100644 fonts/noto-sans-tc-92-wght-normal-BzOgo23f.woff2 create mode 100644 fonts/noto-sans-tc-97-wght-normal-OQoh5cHZ.woff2 create mode 100644 fonts/noto-sans-tc-98-wght-normal-OAj596Gu.woff2 create mode 100644 fonts/noto-sans-tc-99-wght-normal-D9WNKjpg.woff2 create mode 100644 fonts/noto-sans-tc-cyrillic-wght-normal-DHeihy9e.woff2 create mode 100644 fonts/noto-sans-tc-latin-ext-wght-normal-BFabhjDY.woff2 create mode 100644 fonts/noto-sans-tc-latin-wght-normal-CjMECRfU.woff2 create mode 100644 fonts/noto-sans-tc-vietnamese-wght-normal-B77OGAeV.woff2 create mode 100644 icons/apple-touch-icon.png create mode 100644 icons/icon-192.png create mode 100644 icons/icon-512.png create mode 100644 icons/maskable-512.png create mode 100644 index.html create mode 100644 lite/.vite/bundled-packages.json create mode 100644 lite/.vite/manifest.json create mode 100644 lite/assets/Badge-CWT3kDDc.js create mode 100644 lite/assets/BottomSheet-DJsQsjkd.js create mode 100644 lite/assets/CheckboxInput-Bq3mMkIk.js create mode 100644 lite/assets/Commands-ClmgDpJ1.js create mode 100644 lite/assets/CopyMembers-CTdBNPFn.js create mode 100644 lite/assets/Demo-CPE_H6X2.css create mode 100644 lite/assets/Demo-DalfMH6-.js create mode 100644 lite/assets/DialogActions-CyP0fIos.js create mode 100644 lite/assets/Dns-UQZOktC-.js create mode 100644 lite/assets/DraftPresence-nTbyFTHc.js create mode 100644 lite/assets/DragItems-CfP-W3QB.js create mode 100644 lite/assets/Grid-DA3PhhE3.js create mode 100644 lite/assets/Groups-CBHNXtKU.js create mode 100644 lite/assets/LiteCodeEditor-DIAueorv.js create mode 100644 lite/assets/NodeForm-CIzIXO9X.js create mode 100644 lite/assets/Nodes-Ca6gDXKM.js create mode 100644 lite/assets/ProgressBarMarkTooltip-Ct3K4Rs-.js create mode 100644 lite/assets/Routing-C5CwlVsC.js create mode 100644 lite/assets/RowTooltip-BM-OEshH.js create mode 100644 lite/assets/Section-Dj2q0w9F.js create mode 100644 lite/assets/SelectableCard-fSw6A0tS.js create mode 100644 lite/assets/SettingsDialog-BkCRNoWU.js create mode 100644 lite/assets/ShareDialog-CHdmmxEy.js create mode 100644 lite/assets/StackItem-DA4oxou-.js create mode 100644 lite/assets/Subscriptions-CogfKuNw.js create mode 100644 lite/assets/Subscriptions-bEMeJtuE.css create mode 100644 lite/assets/Tab-CY2v2TrU.js create mode 100644 lite/assets/TemplatePicker-BsDeaLLg.js create mode 100644 lite/assets/TextArea-SbVeD2Yh.js create mode 100644 lite/assets/Tooltip-E6ZDrvEX.js create mode 100644 lite/assets/astryx-stylex-13287a65.css create mode 100644 lite/assets/auth-D7KWQuBU.js create mode 100644 lite/assets/characters-BTCLwFRK.js create mode 100644 lite/assets/computeTargetAndRel-CG6_--x2.js create mode 100644 lite/assets/copy-DDLh7tnr.js create mode 100644 lite/assets/createMockApi-FHxVYaTH.js create mode 100644 lite/assets/describe-Hf_K80wi.js create mode 100644 lite/assets/diff-WgWIo2FU.js create mode 100644 lite/assets/editorLayout-Cbivb-_j.js create mode 100644 lite/assets/engines-9rDto3zE.js create mode 100644 lite/assets/error-zX_EL2Af.js create mode 100644 lite/assets/figtree-latin-ext-wght-normal-DCwSJGxG.woff2 create mode 100644 lite/assets/figtree-latin-wght-normal-D_ZTVpCC.woff2 create mode 100644 lite/assets/focusRing-CTrtS2oQ.js create mode 100644 lite/assets/focusableSelector-DXZeMU85.js create mode 100644 lite/assets/groupBindings-BuevCTCJ.js create mode 100644 lite/assets/groupFilters-CvE4zCPS.js create mode 100644 lite/assets/groupLabels-C50manlR.js create mode 100644 lite/assets/hash-D-bQIDYT.js create mode 100644 lite/assets/i18n-BbYLxYHU.js create mode 100644 lite/assets/index-CRutc7CK.js create mode 100644 lite/assets/index-CmpMcYwE.css create mode 100644 lite/assets/metrics.stylex-ClXvXrew.js create mode 100644 lite/assets/motion-BsW12p8Z.js create mode 100644 lite/assets/nodes-BVHopg_D.js create mode 100644 lite/assets/preload-helper-CRzLMJPS.js create mode 100644 lite/assets/probes-DZ26umUN.js create mode 100644 lite/assets/react-B6PPDU_E.js create mode 100644 lite/assets/ruleDraft-BntVNhS4.js create mode 100644 lite/assets/ruleReview-Z75rqj7W.css create mode 100644 lite/assets/ruleReview-fp0U4Uu_.js create mode 100644 lite/assets/ruleText-YGQplk5z.js create mode 100644 lite/assets/rustRegex-BtFykbGM.js create mode 100644 lite/assets/sharedResizeObserver-Ck6tEaIA.js create mode 100644 lite/assets/subscriptions-XCa2fqdV.js create mode 100644 lite/assets/templates-Cs68-ut5.js create mode 100644 lite/assets/themeProps-DenueROy.js create mode 100644 lite/assets/ui-DppAcDEz.js create mode 100644 lite/assets/useClickableContainer-DH-oaYMA.js create mode 100644 lite/assets/useDevWarning-BKs3q62R.js create mode 100644 lite/assets/useFeatureDraft-C9_lBaxp.js create mode 100644 lite/assets/useIsomorphicLayoutEffect-12gJ4XVa.js create mode 100644 lite/assets/useKeyboardHint-CJtITeBm.js create mode 100644 lite/assets/useMediaQuery-BJPtUnBx.js create mode 100644 lite/assets/useResolvedRequired-B2GIx5d9.js create mode 100644 lite/assets/useScrollLock-Bfo7DwhH.js create mode 100644 lite/icons/apple-touch-icon.png create mode 100644 lite/index.html create mode 100644 lite/logo.svg create mode 100644 logo.svg create mode 100644 manifest.webmanifest create mode 100644 sw.js diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/.vite/bundled-packages.json b/.vite/bundled-packages.json new file mode 100644 index 00000000..2b226aaa --- /dev/null +++ b/.vite/bundled-packages.json @@ -0,0 +1,39 @@ +{ + "root": "/scratch/ssd/doona-demo-rc8", + "packages": [ + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@codemirror+autocomplete@6.20.3/node_modules/@codemirror/autocomplete", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@codemirror+commands@6.11.1/node_modules/@codemirror/commands", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@codemirror+language@6.12.4/node_modules/@codemirror/language", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@codemirror+lint@6.9.7/node_modules/@codemirror/lint", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@codemirror+search@6.7.2/node_modules/@codemirror/search", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@codemirror+state@6.7.6/node_modules/@codemirror/state", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@codemirror+view@6.43.13/node_modules/@codemirror/view", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@internationalized+number@3.6.8/node_modules/@internationalized/number", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@internationalized+string@3.2.10/node_modules/@internationalized/string", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@lezer+common@1.5.2/node_modules/@lezer/common", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@lezer+highlight@1.2.5/node_modules/@lezer/highlight", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@marijn+find-cluster-break@1.0.4/node_modules/@marijn/find-cluster-break", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/@react-aria+optimize-locales-plugin@2.0.2/node_modules/@react-aria/optimize-locales-plugin", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/crelt@1.0.7/node_modules/crelt", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/d3-path@3.1.0/node_modules/d3-path", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/d3-shape@3.2.0/node_modules/d3-shape", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/openapi-fetch@0.17.0/node_modules/openapi-fetch", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/react-aria-components@1.21.1_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-aria-components", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/react-aria@3.52.1_patch_hash=afaafe13b387db59f48029c404a5ecba218431e815ff90f2480baf3e80_4f145b54354b5a66914ba93b288ae750/node_modules/react-aria", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/react-dom@19.3.0_react@19.3.0/node_modules/react-dom", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/react-stately@3.50.0_react@19.3.0/node_modules/react-stately", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/react@19.3.0/node_modules/react", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/scheduler@0.28.0/node_modules/scheduler", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/style-mod@4.1.3/node_modules/style-mod", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/use-sync-external-store@1.7.0_react@19.3.0/node_modules/use-sync-external-store", + "/scratch/ssd/doona-demo-rc8/node_modules/.pnpm/w3c-keyname@2.2.8/node_modules/w3c-keyname" + ], + "buildRuntime": [ + "vite", + "rollup", + "@react-aria/optimize-locales-plugin" + ] +} diff --git a/.vite/manifest.json b/.vite/manifest.json new file mode 100644 index 00000000..013aaf0b --- /dev/null +++ b/.vite/manifest.json @@ -0,0 +1,2280 @@ +{ + "/scratch/ssd/doona-demo-rc8/src/ui/styles/glass.css": { + "file": "assets/glass-piYllnzE.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/glass.css" + }, + "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/antd.css": { + "file": "assets/antd-BTVob2XE.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/antd.css" + }, + "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/arco.css": { + "file": "assets/arco-DnDQV30N.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/arco.css" + }, + "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/catppuccin.css": { + "file": "assets/catppuccin-CFfx8ddQ.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/catppuccin.css" + }, + "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/halloween.css": { + "file": "assets/halloween-e3DfiasY.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/halloween.css" + }, + "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/kary.css": { + "file": "assets/kary-pGa0AxYi.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/kary.css" + }, + "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/nord.css": { + "file": "assets/nord-BE7QITf9.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/nord.css" + }, + "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/qiangguo.css": { + "file": "assets/qiangguo-CTOUSOCk.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/qiangguo.css" + }, + "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/semi.css": { + "file": "assets/semi-DGpddBEP.css", + "src": "/scratch/ssd/doona-demo-rc8/src/ui/styles/palettes/semi.css" + }, + "_AddCircle-qKwVDZ__.js": { + "file": "assets/AddCircle-qKwVDZ__.js", + "name": "AddCircle", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html" + ] + }, + "_AppearanceControls-I4PvP9Es.js": { + "file": "assets/AppearanceControls-I4PvP9Es.js", + "name": "AppearanceControls", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_ItemText-B5OxI5lS.js" + ] + }, + "_AreaCurve-DQSHOSpG.js": { + "file": "assets/AreaCurve-DQSHOSpG.js", + "name": "AreaCurve", + "imports": [ + "_vendor-react-64fcanlc.js", + "_array-C0VuvQyb.js" + ] + }, + "_BackendText-CxshqKrW.js": { + "file": "assets/BackendText-CxshqKrW.js", + "name": "BackendText", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_logs-j0cmmcZI.js" + ] + }, + "_CardView-f0UIkdtH.js": { + "file": "assets/CardView-f0UIkdtH.js", + "name": "CardView", + "imports": [ + "_vendor-react-64fcanlc.js", + "_GridList-Cq8h6RdG.js", + "index.html" + ] + }, + "_Checkbox-CUoHrzuV.js": { + "file": "assets/Checkbox-CUoHrzuV.js", + "name": "Checkbox", + "imports": [ + "_vendor-react-64fcanlc.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_ItemText-B5OxI5lS.js", + "index.html" + ] + }, + "_CheckboxSet-BThgrv4U.js": { + "file": "assets/CheckboxSet-BThgrv4U.js", + "name": "CheckboxSet", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_Checkbox-CUoHrzuV.js" + ] + }, + "_Copy-ftx4Gb2m.js": { + "file": "assets/Copy-ftx4Gb2m.js", + "name": "Copy", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html" + ] + }, + "_Coverage-BhgtC9t6.js": { + "file": "assets/Coverage-BhgtC9t6.js", + "name": "Coverage", + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js", + "_logs-j0cmmcZI.js" + ] + }, + "_DaeCode-DEjXqvav.js": { + "file": "assets/DaeCode-DEjXqvav.js", + "name": "DaeCode", + "imports": [ + "_vendor-react-64fcanlc.js", + "_daeTokens-BVtuNnWZ.js" + ] + }, + "_Delete-D69JigFx.js": { + "file": "assets/Delete-D69JigFx.js", + "name": "Delete", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html" + ] + }, + "_GridList-Cq8h6RdG.js": { + "file": "assets/GridList-Cq8h6RdG.js", + "name": "GridList", + "imports": [ + "index.html", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Select-W-Xrx6y6.js", + "_vendor-react-64fcanlc.js" + ] + }, + "_ItemText-B5OxI5lS.js": { + "file": "assets/ItemText-B5OxI5lS.js", + "name": "ItemText", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html" + ] + }, + "_LinkOut-DVAiBR_J.js": { + "file": "assets/LinkOut-DVAiBR_J.js", + "name": "LinkOut", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html" + ] + }, + "_NodePath-CW8z1Niq.js": { + "file": "assets/NodePath-CW8z1Niq.js", + "name": "NodePath", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_Tag-DE8n6iTZ.js" + ] + }, + "_Nodes-CM_U6MZ3.css": { + "file": "assets/Nodes-CM_U6MZ3.css", + "src": "_Nodes-CM_U6MZ3.css" + }, + "_Nodes-DIVmMRlP.js": { + "file": "assets/Nodes-DIVmMRlP.js", + "name": "Nodes", + "isDynamicEntry": true, + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js", + "_Tabs-Kfe2CfSx.js", + "_Table-DotwWze-.js", + "_subscriptionEntries-CB_uX4nO.js", + "_BackendText-CxshqKrW.js", + "_logs-j0cmmcZI.js", + "_activity-C22CeO5G.js", + "_TimeCell-xtED_iww.js", + "_CardView-f0UIkdtH.js", + "_AppearanceControls-I4PvP9Es.js", + "_Tag-DE8n6iTZ.js", + "src/ui/FlagPicker.tsx", + "_SearchSelect-CSXz7lhe.js", + "_outbounds-CJznbPkH.js", + "_nodes-BXUOUiP2.js", + "_SearchList-D75Ie4nx.js", + "_probe-CRm42H8E.js" + ], + "dynamicImports": [ + "src/features/nodes/XhttpOptions.tsx", + "src/features/nodes/ManualFields.tsx", + "src/features/nodes/ChainFields.tsx", + "src/features/nodes/SubscriptionFields.tsx" + ], + "css": [ + "assets/Nodes-CM_U6MZ3.css" + ] + }, + "_NumberField-BGS5AF_x.js": { + "file": "assets/NumberField-BGS5AF_x.js", + "name": "NumberField", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html" + ] + }, + "_Rules-BMHWGCx6.js": { + "file": "assets/Rules-BMHWGCx6.js", + "name": "Rules", + "isDynamicEntry": true, + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js", + "_activity-C22CeO5G.js", + "_Tabs-Kfe2CfSx.js", + "_DaeCode-DEjXqvav.js", + "_logs-j0cmmcZI.js", + "_Table-DotwWze-.js", + "_CheckboxSet-BThgrv4U.js", + "_Coverage-BhgtC9t6.js", + "_BackendText-CxshqKrW.js", + "_flows-BfIUsgdd.js", + "_nodes-BXUOUiP2.js", + "_labels-D8xxfRTQ.js", + "_rule-ljMHmFs3.js", + "_recorder-BHyqDNp5.js", + "_geodataUpdate-CK75960A.js", + "_Checkbox-CUoHrzuV.js", + "_LinkOut-DVAiBR_J.js", + "_SearchSelect-CSXz7lhe.js", + "_geodata-CvcFemyc.js" + ], + "dynamicImports": [ + "src/features/rules/Trace.tsx" + ], + "css": [ + "assets/impact-B8feJDtJ.css" + ] + }, + "_SearchList-D75Ie4nx.js": { + "file": "assets/SearchList-D75Ie4nx.js", + "name": "SearchList", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_Virtualizer-tkoH0e4V.js" + ] + }, + "_SearchSelect-CSXz7lhe.js": { + "file": "assets/SearchSelect-CSXz7lhe.js", + "name": "SearchSelect", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_SearchList-D75Ie4nx.js" + ] + }, + "_Select-W-Xrx6y6.js": { + "file": "assets/Select-W-Xrx6y6.js", + "name": "Select", + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js" + ] + }, + "_Table-DotwWze-.js": { + "file": "assets/Table-DotwWze-.js", + "name": "Table", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Select-W-Xrx6y6.js", + "_logs-j0cmmcZI.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js" + ] + }, + "_Tabs-Kfe2CfSx.js": { + "file": "assets/Tabs-Kfe2CfSx.js", + "name": "Tabs", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Select-W-Xrx6y6.js" + ] + }, + "_Tag-DE8n6iTZ.js": { + "file": "assets/Tag-DE8n6iTZ.js", + "name": "Tag", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html" + ] + }, + "_TimeCell-xtED_iww.js": { + "file": "assets/TimeCell-xtED_iww.js", + "name": "TimeCell", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html" + ] + }, + "_Virtualizer-tkoH0e4V.js": { + "file": "assets/Virtualizer-tkoH0e4V.js", + "name": "Virtualizer", + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js" + ] + }, + "__commonjsHelpers-CXUWDbkB.js": { + "file": "assets/_commonjsHelpers-CXUWDbkB.js", + "name": "_commonjsHelpers" + }, + "_activity-C22CeO5G.js": { + "file": "assets/activity-C22CeO5G.js", + "name": "activity", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_nodes-BXUOUiP2.js", + "_logs-j0cmmcZI.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js" + ], + "dynamicImports": [ + "src/ui/charts/AreaChart.tsx", + "src/ui/charts/Sparkline.tsx", + "src/ui/charts/Donut.tsx", + "src/features/activity/ModeReadOnlyHint.tsx", + "src/shell/widgets/Editors.tsx", + "src/shell/widgets/Editors.tsx", + "src/shell/widgets/Editors.tsx", + "mock/index.ts" + ], + "css": [ + "assets/activity-Dh87vlBh.css" + ], + "assets": [ + "assets/duck-night-CbKHyiul.webp" + ] + }, + "_activity-Dh87vlBh.css": { + "file": "assets/activity-Dh87vlBh.css", + "src": "_activity-Dh87vlBh.css" + }, + "_array-C0VuvQyb.js": { + "file": "assets/array-C0VuvQyb.js", + "name": "array" + }, + "_auth-BNrY15aC.js": { + "file": "assets/auth-BNrY15aC.js", + "name": "auth", + "imports": [ + "index.html" + ], + "dynamicImports": [ + "mock/auth.ts" + ] + }, + "_daeTokens-BVtuNnWZ.js": { + "file": "assets/daeTokens-BVtuNnWZ.js", + "name": "daeTokens" + }, + "_files-Dt8K7QfP.js": { + "file": "assets/files-Dt8K7QfP.js", + "name": "files" + }, + "_flows-BfIUsgdd.js": { + "file": "assets/flows-BfIUsgdd.js", + "name": "flows", + "imports": [ + "index.html" + ] + }, + "_geodata-CvcFemyc.js": { + "file": "assets/geodata-CvcFemyc.js", + "name": "geodata" + }, + "_geodataUpdate-CK75960A.js": { + "file": "assets/geodataUpdate-CK75960A.js", + "name": "geodataUpdate", + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js", + "_nodes-BXUOUiP2.js" + ] + }, + "_groupFilters-vTIJClEo.js": { + "file": "assets/groupFilters-vTIJClEo.js", + "name": "groupFilters", + "imports": [ + "_nodes-BXUOUiP2.js", + "index.html" + ] + }, + "_impact-B8feJDtJ.css": { + "file": "assets/impact-B8feJDtJ.css", + "src": "_impact-B8feJDtJ.css" + }, + "_index-DUM-iwa2.js": { + "file": "assets/index-DUM-iwa2.js", + "name": "index" + }, + "_ipLookup-BYorpVJi.css": { + "file": "assets/ipLookup-BYorpVJi.css", + "src": "_ipLookup-BYorpVJi.css" + }, + "_ipLookup-Cl7psHhv.js": { + "file": "assets/ipLookup-Cl7psHhv.js", + "name": "ipLookup", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_LinkOut-DVAiBR_J.js" + ], + "css": [ + "assets/ipLookup-BYorpVJi.css" + ] + }, + "_labels-D8xxfRTQ.js": { + "file": "assets/labels-D8xxfRTQ.js", + "name": "labels" + }, + "_limitHint-DIncl1LE.js": { + "file": "assets/limitHint-DIncl1LE.js", + "name": "limitHint", + "imports": [ + "_nodes-BXUOUiP2.js", + "index.html" + ] + }, + "_logs-j0cmmcZI.js": { + "file": "assets/logs-j0cmmcZI.js", + "name": "logs", + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_nodes-BXUOUiP2.js" + ] + }, + "_nav-DrWHp_dt.js": { + "file": "assets/nav-DrWHp_dt.js", + "name": "nav", + "imports": [ + "index.html", + "_nodes-BXUOUiP2.js", + "_activity-C22CeO5G.js" + ] + }, + "_nav-VzrSXoKO.js": { + "file": "assets/nav-VzrSXoKO.js", + "name": "nav", + "imports": [ + "index.html" + ] + }, + "_nodes-BXUOUiP2.js": { + "file": "assets/nodes-BXUOUiP2.js", + "name": "nodes", + "imports": [ + "index.html" + ] + }, + "_outbounds-CJznbPkH.js": { + "file": "assets/outbounds-CJznbPkH.js", + "name": "outbounds", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_logs-j0cmmcZI.js" + ] + }, + "_paletteSheet-Vc0PGoNW.js": { + "file": "assets/paletteSheet-Vc0PGoNW.js", + "name": "paletteSheet" + }, + "_probe-CRm42H8E.js": { + "file": "assets/probe-CRm42H8E.js", + "name": "probe", + "imports": [ + "index.html" + ] + }, + "_recorder-BHyqDNp5.js": { + "file": "assets/recorder-BHyqDNp5.js", + "name": "recorder" + }, + "_rule-ljMHmFs3.js": { + "file": "assets/rule-ljMHmFs3.js", + "name": "rule", + "imports": [ + "_activity-C22CeO5G.js", + "_nodes-BXUOUiP2.js", + "index.html" + ] + }, + "_subscriptionEntries-CB_uX4nO.js": { + "file": "assets/subscriptionEntries-CB_uX4nO.js", + "name": "subscriptionEntries", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_logs-j0cmmcZI.js", + "_Select-W-Xrx6y6.js", + "_SearchList-D75Ie4nx.js", + "_ItemText-B5OxI5lS.js", + "_nodes-BXUOUiP2.js" + ] + }, + "_useGridSelectionCheckbox-D0fV1e0v.js": { + "file": "assets/useGridSelectionCheckbox-D0fV1e0v.js", + "name": "useGridSelectionCheckbox", + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js" + ] + }, + "_useQuickRule-D86TFC6s.js": { + "file": "assets/useQuickRule-D86TFC6s.js", + "name": "useQuickRule", + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_DaeCode-DEjXqvav.js", + "_AddCircle-qKwVDZ__.js", + "_SearchSelect-CSXz7lhe.js", + "_logs-j0cmmcZI.js", + "_BackendText-CxshqKrW.js", + "_flows-BfIUsgdd.js", + "_nodes-BXUOUiP2.js", + "_activity-C22CeO5G.js", + "_rule-ljMHmFs3.js" + ] + }, + "_vendor-editor-50h2cCk6.js": { + "file": "assets/vendor-editor-50h2cCk6.js", + "name": "vendor-editor", + "imports": [ + "_index-DUM-iwa2.js" + ] + }, + "_vendor-react-64fcanlc.js": { + "file": "assets/vendor-react-64fcanlc.js", + "name": "vendor-react", + "imports": [ + "__commonjsHelpers-CXUWDbkB.js" + ] + }, + "_wallpaper-CEC7gitM.js": { + "file": "assets/wallpaper-CEC7gitM.js", + "name": "wallpaper", + "imports": [ + "_vendor-react-64fcanlc.js" + ] + }, + "index.html": { + "file": "assets/index-C4UFgHia.js", + "name": "index", + "src": "index.html", + "isEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "__commonjsHelpers-CXUWDbkB.js" + ], + "dynamicImports": [ + "src/i18n/locales/en.json?part=core", + "src/i18n/locales/zh-CN.json?part=core", + "src/i18n/locales/zh-TW.json?part=core", + "src/i18n/locales/en.json?part=activity", + "src/i18n/locales/zh-CN.json?part=activity", + "src/i18n/locales/zh-TW.json?part=activity", + "src/i18n/locales/en.json?part=rest", + "src/i18n/locales/zh-CN.json?part=rest", + "src/i18n/locales/zh-TW.json?part=rest", + "_SearchList-D75Ie4nx.js", + "mock/index.ts", + "mock/index.ts", + "src/shell/search/SearchDialog.tsx", + "_activity-C22CeO5G.js", + "src/features/overview/Overview.tsx", + "src/features/connections/Connections.tsx", + "src/features/flows/Flows.tsx", + "src/features/dns/Dns.tsx", + "src/features/policies/Policies.tsx", + "_Rules-BMHWGCx6.js", + "_Nodes-DIVmMRlP.js", + "src/features/config/Config.tsx", + "src/features/events/Events.tsx", + "src/features/logs/Logs.tsx", + "src/features/settings/Settings.tsx", + "src/shell/paletteSheets.ts", + "src/shell/glass.ts", + "src/shell/halloween.ts", + "src/ui/lens.ts", + "src/ui/FlagPicker.tsx", + "src/shell/Login.tsx", + "_activity-C22CeO5G.js" + ], + "css": [ + "assets/index-CQHYBvmE.css" + ], + "assets": [ + "assets/logo-obi05X1B.svg", + "assets/TwemojiCountryFlags-Bymva2JV.woff2" + ] + }, + "mock/auth.ts": { + "file": "assets/auth-BIagQEUo.js", + "name": "auth", + "src": "mock/auth.ts", + "isDynamicEntry": true, + "imports": [ + "_auth-BNrY15aC.js", + "index.html", + "_vendor-react-64fcanlc.js", + "__commonjsHelpers-CXUWDbkB.js" + ] + }, + "mock/index.ts": { + "file": "assets/index-Didrg8zX.js", + "name": "index", + "src": "mock/index.ts", + "isDynamicEntry": true, + "imports": [ + "index.html", + "_nodes-BXUOUiP2.js", + "_groupFilters-vTIJClEo.js", + "_geodata-CvcFemyc.js", + "mock/auth.ts", + "_vendor-react-64fcanlc.js", + "__commonjsHelpers-CXUWDbkB.js", + "_auth-BNrY15aC.js" + ] + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-100-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-100-wght-normal-DrqXJETY.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-100-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-101-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-101-wght-normal-c94LAl5p.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-101-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-102-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-102-wght-normal-C1RtbCZr.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-102-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-103-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-103-wght-normal-DGHo20nu.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-103-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-104-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-104-wght-normal-CJT2ioDJ.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-104-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-105-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-105-wght-normal-BFoiJwz2.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-105-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-106-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-106-wght-normal-D6uUHw3w.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-106-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-107-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-107-wght-normal-kFQzJDLH.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-107-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-108-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-108-wght-normal-7aXvqIa2.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-108-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-109-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-109-wght-normal-CnjNbNmw.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-109-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-110-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-110-wght-normal-D2JBr045.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-110-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-111-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-111-wght-normal-ClFr5QXM.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-111-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-112-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-112-wght-normal-CiZxJMyY.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-112-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-113-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-113-wght-normal-OgQXOX6x.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-113-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-114-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-114-wght-normal-CRH9SDZu.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-114-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-115-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-115-wght-normal-BN__2iBG.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-115-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-116-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-116-wght-normal-vdFVzbO2.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-116-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-117-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-117-wght-normal-Dsz3vkzU.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-117-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-118-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-118-wght-normal-BPEb0gM9.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-118-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-119-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-119-wght-normal-BfzSEbFz.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-119-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-21-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-21-wght-normal-DIu_1ZBI.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-21-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-22-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-22-wght-normal-VXjdYcT-.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-22-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-23-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-23-wght-normal-4HrHKhpL.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-23-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-24-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-24-wght-normal-B58DWgHS.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-24-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-25-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-25-wght-normal-C3Jm6l7O.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-25-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-26-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-26-wght-normal-YNOygvr_.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-26-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-27-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-27-wght-normal-BP2pEGQH.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-27-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-28-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-28-wght-normal-BWPKDbtH.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-28-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-29-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-29-wght-normal-45aVmHn_.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-29-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-30-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-30-wght-normal-B8_s30jZ.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-30-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-31-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-31-wght-normal-DW0t445S.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-31-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-32-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-32-wght-normal-ShbWPcei.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-32-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-33-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-33-wght-normal-BOTZYTjM.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-33-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-34-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-34-wght-normal-BF1rqDSt.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-34-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-35-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-35-wght-normal-Bosspiyr.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-35-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-36-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-36-wght-normal-CtU9CyKw.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-36-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-37-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-37-wght-normal-ghDiyiuv.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-37-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-38-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-38-wght-normal-4Nz8k_dt.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-38-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-39-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-39-wght-normal-Ddtm1XVC.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-39-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-4-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-4-wght-normal-BRbPMj-C.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-4-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-40-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-40-wght-normal-BVn4-kgX.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-40-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-41-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-41-wght-normal-CZqajZnl.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-41-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-42-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-42-wght-normal-CQ4lY28u.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-42-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-43-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-43-wght-normal-psppu0d8.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-43-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-44-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-44-wght-normal-cbKJlTUe.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-44-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-45-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-45-wght-normal-MKIEVRIC.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-45-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-46-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-46-wght-normal-CErGc6Mt.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-46-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-47-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-47-wght-normal-C5Kgg1_m.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-47-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-48-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-48-wght-normal-DFMjDDY6.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-48-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-49-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-49-wght-normal-B7l_3BZr.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-49-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-5-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-5-wght-normal-DI846rD9.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-5-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-50-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-50-wght-normal-C5KfAmFp.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-50-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-51-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-51-wght-normal-C2bq6hC8.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-51-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-52-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-52-wght-normal-P18e_Y0j.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-52-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-53-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-53-wght-normal-Bgkuo2tF.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-53-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-54-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-54-wght-normal-DL5lmlUd.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-54-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-55-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-55-wght-normal-BV_Oy6IF.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-55-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-56-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-56-wght-normal-B4L7Hj8f.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-56-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-57-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-57-wght-normal-DU8YBsDj.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-57-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-58-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-58-wght-normal-CE0BKS9u.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-58-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-59-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-59-wght-normal-Azv2Ku9_.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-59-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-6-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-6-wght-normal-ozUCEY9O.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-6-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-60-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-60-wght-normal-C1lngC61.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-60-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-61-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-61-wght-normal-BxWkGF5M.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-61-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-62-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-62-wght-normal-CXXMAq-5.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-62-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-63-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-63-wght-normal-4La5uKvS.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-63-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-64-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-64-wght-normal-CbIuD2Eg.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-64-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-65-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-65-wght-normal-BGqvKda2.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-65-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-66-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-66-wght-normal-BvNozWOY.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-66-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-67-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-67-wght-normal-CC-WRBV-.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-67-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-68-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-68-wght-normal-c0FjfUaj.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-68-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-69-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-69-wght-normal-D596Jjl2.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-69-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-70-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-70-wght-normal-ColEcmtJ.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-70-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-71-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-71-wght-normal-ChZfXpdg.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-71-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-72-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-72-wght-normal-D1VyfEG3.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-72-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-73-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-73-wght-normal-DwSJRYPJ.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-73-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-74-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-74-wght-normal-Cte7o1QG.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-74-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-75-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-75-wght-normal-B0qL41rF.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-75-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-76-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-76-wght-normal-BPLMO_2x.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-76-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-77-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-77-wght-normal-Dkbi3pye.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-77-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-78-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-78-wght-normal-BFUXeSw6.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-78-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-79-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-79-wght-normal-DoJG4UTB.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-79-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-80-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-80-wght-normal-BEFypWOO.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-80-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-81-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-81-wght-normal-ed_TZlfo.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-81-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-82-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-82-wght-normal-DcxfR5OJ.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-82-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-83-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-83-wght-normal-C9UjAcMM.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-83-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-84-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-84-wght-normal-C7NxT478.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-84-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-85-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-85-wght-normal-DBcDBu1n.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-85-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-86-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-86-wght-normal-CLJIoPpl.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-86-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-87-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-87-wght-normal-DYfJ-vGE.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-87-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-88-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-88-wght-normal-ClNDOCGW.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-88-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-89-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-89-wght-normal-IQU_KQA8.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-89-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-90-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-90-wght-normal-BWcrRNoG.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-90-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-91-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-91-wght-normal-CGekvDdH.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-91-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-97-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-97-wght-normal-BsBHkXi3.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-97-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-98-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-98-wght-normal-BZqSA1r_.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-98-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-99-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-99-wght-normal-Q_IptJM5.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-99-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-cyrillic-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-cyrillic-wght-normal-CRA5_Pf1.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-cyrillic-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-latin-ext-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-latin-ext-wght-normal-CqPqLCfe.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-latin-ext-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-latin-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-latin-wght-normal-DYAKOyvl.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-latin-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-vietnamese-wght-normal.woff2": { + "file": "fonts/noto-sans-sc-vietnamese-wght-normal-y5SU35Rl.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-sc@5.3.0/node_modules/@fontsource-variable/noto-sans-sc/files/noto-sans-sc-vietnamese-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-0-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-0-wght-normal-AlCjBspo.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-0-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-100-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-100-wght-normal-CeyvuWjh.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-100-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-101-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-101-wght-normal-BazQQPpe.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-101-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-102-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-102-wght-normal-DWn0bv9H.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-102-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-103-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-103-wght-normal-tcQ1zu-u.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-103-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-104-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-104-wght-normal-4GaPENTg.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-104-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-105-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-105-wght-normal-C1mWK2qa.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-105-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-106-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-106-wght-normal-Chq-ESxo.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-106-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-107-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-107-wght-normal-BC2EpFaE.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-107-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-108-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-108-wght-normal-BExvVcn7.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-108-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-109-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-109-wght-normal-CkWCzlGP.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-109-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-110-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-110-wght-normal-CuMLARLR.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-110-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-111-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-111-wght-normal-SqRJKajE.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-111-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-112-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-112-wght-normal-BWioGL2B.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-112-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-113-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-113-wght-normal-CRQfLReA.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-113-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-114-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-114-wght-normal-D5H20qUS.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-114-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-115-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-115-wght-normal-BzydpMOE.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-115-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-116-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-116-wght-normal-Df_sWUUP.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-116-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-117-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-117-wght-normal-DxSUmn6U.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-117-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-118-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-118-wght-normal-CWrNe9UE.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-118-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-119-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-119-wght-normal-uK-ZmsBB.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-119-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-19-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-19-wght-normal-C8pGE9DU.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-19-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-20-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-20-wght-normal-C3zSSq0m.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-20-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-21-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-21-wght-normal-J1OUZdIj.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-21-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-22-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-22-wght-normal-BxkVDKYB.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-22-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-23-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-23-wght-normal-CpwJlAzD.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-23-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-24-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-24-wght-normal-q2nxC991.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-24-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-25-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-25-wght-normal-t7uRby9D.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-25-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-26-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-26-wght-normal-CLhaJ79b.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-26-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-27-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-27-wght-normal-Bsb6CrxP.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-27-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-28-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-28-wght-normal-DzIWEAg_.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-28-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-29-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-29-wght-normal-CVD47Xgy.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-29-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-30-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-30-wght-normal-qEGnB_nK.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-30-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-31-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-31-wght-normal-CUZYeSc0.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-31-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-32-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-32-wght-normal-B4A85CGO.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-32-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-33-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-33-wght-normal-BuZ7TSCr.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-33-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-34-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-34-wght-normal-C1wbJ2k5.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-34-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-35-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-35-wght-normal-DJnPxO40.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-35-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-36-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-36-wght-normal-D8HTrsxI.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-36-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-37-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-37-wght-normal-Ci96APBt.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-37-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-38-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-38-wght-normal-CaasFSCy.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-38-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-39-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-39-wght-normal-DNt0rKy4.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-39-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-40-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-40-wght-normal-Byd_iF60.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-40-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-41-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-41-wght-normal-CimuZG9f.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-41-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-42-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-42-wght-normal-DT8sgwsv.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-42-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-43-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-43-wght-normal-xnDjStnc.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-43-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-44-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-44-wght-normal-Dv8Wk8tG.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-44-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-45-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-45-wght-normal-DdGhaj3f.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-45-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-46-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-46-wght-normal-C7pDsoZP.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-46-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-47-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-47-wght-normal-BeEDFoeW.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-47-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-48-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-48-wght-normal-CKLCikII.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-48-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-49-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-49-wght-normal-CCLgFFzC.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-49-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-50-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-50-wght-normal-C42Zjgp-.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-50-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-51-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-51-wght-normal-AEQJR1Ln.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-51-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-52-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-52-wght-normal-BdHOWR67.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-52-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-53-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-53-wght-normal-DRtz34YW.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-53-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-54-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-54-wght-normal-Bctil8qQ.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-54-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-55-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-55-wght-normal-ChI6Gtzx.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-55-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-56-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-56-wght-normal-B7o92O3n.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-56-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-57-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-57-wght-normal-tuc02TtS.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-57-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-58-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-58-wght-normal-DzvAN8Jo.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-58-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-59-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-59-wght-normal-02_K4Ups.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-59-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-6-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-6-wght-normal-WPkr41zz.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-6-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-60-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-60-wght-normal-CUXov-_V.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-60-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-61-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-61-wght-normal-CWCy7dBQ.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-61-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-62-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-62-wght-normal-DPjuIv4Z.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-62-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-63-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-63-wght-normal-D8azYq-W.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-63-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-64-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-64-wght-normal-CFXGj_qd.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-64-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-65-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-65-wght-normal-C6nqnFQi.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-65-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-66-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-66-wght-normal-CABLcObE.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-66-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-67-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-67-wght-normal-C7UtET7V.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-67-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-68-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-68-wght-normal-DU7AqVdX.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-68-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-69-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-69-wght-normal-ChhTaUGt.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-69-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-7-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-7-wght-normal-foGylaCC.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-7-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-70-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-70-wght-normal-BJCVnFr4.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-70-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-71-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-71-wght-normal-C68sB2pX.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-71-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-72-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-72-wght-normal-zLtu43lR.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-72-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-73-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-73-wght-normal-Dx6FRt8Y.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-73-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-74-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-74-wght-normal-Bv7R4L9_.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-74-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-75-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-75-wght-normal-CY_syJjm.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-75-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-76-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-76-wght-normal-De8sopUP.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-76-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-77-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-77-wght-normal-DtQ0zzNs.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-77-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-78-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-78-wght-normal-BM2ohN5p.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-78-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-79-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-79-wght-normal-BTshvStA.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-79-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-8-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-8-wght-normal-BHOicRI8.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-8-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-80-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-80-wght-normal-B3lzDGAN.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-80-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-81-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-81-wght-normal-CdB6HoDd.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-81-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-82-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-82-wght-normal-_Ir9Q2vB.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-82-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-83-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-83-wght-normal-BKaoQorn.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-83-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-84-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-84-wght-normal-D9L0JLly.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-84-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-85-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-85-wght-normal-D6VRmOzr.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-85-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-86-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-86-wght-normal-Cq_w8Em-.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-86-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-87-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-87-wght-normal-Yrph325E.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-87-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-88-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-88-wght-normal-qM37cYHV.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-88-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-89-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-89-wght-normal-DQgsOy-T.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-89-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-90-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-90-wght-normal-BLG28ssT.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-90-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-91-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-91-wght-normal-Dcrjozns.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-91-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-92-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-92-wght-normal-BzOgo23f.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-92-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-97-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-97-wght-normal-OQoh5cHZ.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-97-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-98-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-98-wght-normal-OAj596Gu.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-98-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-99-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-99-wght-normal-D9WNKjpg.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-99-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-cyrillic-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-cyrillic-wght-normal-DHeihy9e.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-cyrillic-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-latin-ext-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-latin-ext-wght-normal-BFabhjDY.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-latin-ext-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-latin-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-latin-wght-normal-CjMECRfU.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-latin-wght-normal.woff2" + }, + "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-vietnamese-wght-normal.woff2": { + "file": "fonts/noto-sans-tc-vietnamese-wght-normal-B77OGAeV.woff2", + "src": "node_modules/.pnpm/@fontsource-variable+noto-sans-tc@5.3.0/node_modules/@fontsource-variable/noto-sans-tc/files/noto-sans-tc-vietnamese-wght-normal.woff2" + }, + "src/duck-night.webp": { + "file": "assets/duck-night-CbKHyiul.webp", + "src": "src/duck-night.webp" + }, + "src/features/activity/ModeReadOnlyHint.tsx": { + "file": "assets/ModeReadOnlyHint-D73z908a.js", + "name": "ModeReadOnlyHint", + "src": "src/features/activity/ModeReadOnlyHint.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_limitHint-DIncl1LE.js", + "__commonjsHelpers-CXUWDbkB.js", + "_nodes-BXUOUiP2.js" + ] + }, + "src/features/config/Config.tsx": { + "file": "assets/Config-BzyCN_Ax.js", + "name": "Config", + "src": "src/features/config/Config.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_logs-j0cmmcZI.js", + "_Tabs-Kfe2CfSx.js", + "_activity-C22CeO5G.js", + "_nodes-BXUOUiP2.js", + "_nav-DrWHp_dt.js", + "_flows-BfIUsgdd.js", + "_files-Dt8K7QfP.js", + "_limitHint-DIncl1LE.js", + "_Table-DotwWze-.js", + "_TimeCell-xtED_iww.js", + "_NumberField-BGS5AF_x.js", + "_AddCircle-qKwVDZ__.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js" + ], + "dynamicImports": [ + "src/ui/code/CodeEditor.tsx" + ] + }, + "src/features/connections/Connections.tsx": { + "file": "assets/Connections-Dlv_78r1.js", + "name": "Connections", + "src": "src/features/connections/Connections.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "_ipLookup-Cl7psHhv.js", + "_NodePath-CW8z1Niq.js", + "index.html", + "_logs-j0cmmcZI.js", + "_AppearanceControls-I4PvP9Es.js", + "_Tabs-Kfe2CfSx.js", + "_activity-C22CeO5G.js", + "_SearchSelect-CSXz7lhe.js", + "_Table-DotwWze-.js", + "_TimeCell-xtED_iww.js", + "_useQuickRule-D86TFC6s.js", + "_outbounds-CJznbPkH.js", + "_files-Dt8K7QfP.js", + "_labels-D8xxfRTQ.js", + "_flows-BfIUsgdd.js", + "_rule-ljMHmFs3.js", + "__commonjsHelpers-CXUWDbkB.js", + "_LinkOut-DVAiBR_J.js", + "_Tag-DE8n6iTZ.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_nodes-BXUOUiP2.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_SearchList-D75Ie4nx.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js", + "_DaeCode-DEjXqvav.js", + "_daeTokens-BVtuNnWZ.js", + "_AddCircle-qKwVDZ__.js", + "_BackendText-CxshqKrW.js" + ] + }, + "src/features/dns/Dns.tsx": { + "file": "assets/Dns-CP7rSbYW.js", + "name": "Dns", + "src": "src/features/dns/Dns.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_Delete-D69JigFx.js", + "_activity-C22CeO5G.js", + "_ipLookup-Cl7psHhv.js", + "_logs-j0cmmcZI.js", + "_Tabs-Kfe2CfSx.js", + "_Table-DotwWze-.js", + "_TimeCell-xtED_iww.js", + "_files-Dt8K7QfP.js", + "_rule-ljMHmFs3.js", + "_nodes-BXUOUiP2.js", + "_useQuickRule-D86TFC6s.js", + "__commonjsHelpers-CXUWDbkB.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_LinkOut-DVAiBR_J.js", + "_Select-W-Xrx6y6.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js", + "_DaeCode-DEjXqvav.js", + "_daeTokens-BVtuNnWZ.js", + "_AddCircle-qKwVDZ__.js", + "_SearchSelect-CSXz7lhe.js", + "_SearchList-D75Ie4nx.js", + "_BackendText-CxshqKrW.js", + "_flows-BfIUsgdd.js" + ], + "css": [ + "assets/Dns-CsAXSf3H.css", + "assets/impact-B8feJDtJ.css" + ] + }, + "src/features/events/Events.tsx": { + "file": "assets/Events-Cz7XGkUG.js", + "name": "Events", + "src": "src/features/events/Events.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_logs-j0cmmcZI.js", + "_Table-DotwWze-.js", + "_files-Dt8K7QfP.js", + "_activity-C22CeO5G.js", + "_Copy-ftx4Gb2m.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_nodes-BXUOUiP2.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js" + ] + }, + "src/features/flows/Flows.tsx": { + "file": "assets/Flows-CWq91DGu.js", + "name": "Flows", + "src": "src/features/flows/Flows.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "_NodePath-CW8z1Niq.js", + "_logs-j0cmmcZI.js", + "index.html", + "_activity-C22CeO5G.js", + "_labels-D8xxfRTQ.js", + "_Coverage-BhgtC9t6.js", + "_Tabs-Kfe2CfSx.js", + "_Table-DotwWze-.js", + "_TimeCell-xtED_iww.js", + "_flows-BfIUsgdd.js", + "_outbounds-CJznbPkH.js", + "_useQuickRule-D86TFC6s.js", + "_GridList-Cq8h6RdG.js", + "_Virtualizer-tkoH0e4V.js", + "_CardView-f0UIkdtH.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Tag-DE8n6iTZ.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_nodes-BXUOUiP2.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Checkbox-CUoHrzuV.js", + "_DaeCode-DEjXqvav.js", + "_daeTokens-BVtuNnWZ.js", + "_AddCircle-qKwVDZ__.js", + "_SearchSelect-CSXz7lhe.js", + "_SearchList-D75Ie4nx.js", + "_BackendText-CxshqKrW.js", + "_rule-ljMHmFs3.js" + ], + "css": [ + "assets/Flows-CFNotQUH.css" + ] + }, + "src/features/logs/Logs.tsx": { + "file": "assets/Logs-B21_MfGT.js", + "name": "Logs", + "src": "src/features/logs/Logs.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_activity-C22CeO5G.js", + "_ItemText-B5OxI5lS.js", + "_logs-j0cmmcZI.js", + "_Table-DotwWze-.js", + "_files-Dt8K7QfP.js", + "_recorder-BHyqDNp5.js", + "_Copy-ftx4Gb2m.js", + "__commonjsHelpers-CXUWDbkB.js", + "_nodes-BXUOUiP2.js", + "_AppearanceControls-I4PvP9Es.js", + "_Select-W-Xrx6y6.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js" + ] + }, + "src/features/nodes/ChainFields.tsx": { + "file": "assets/ChainFields-BAItfFQK.js", + "name": "ChainFields", + "src": "src/features/nodes/ChainFields.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_SearchSelect-CSXz7lhe.js", + "_AddCircle-qKwVDZ__.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_SearchList-D75Ie4nx.js", + "_Virtualizer-tkoH0e4V.js" + ] + }, + "src/features/nodes/ManualFields.tsx": { + "file": "assets/ManualFields-CTj0sr4A.js", + "name": "ManualFields", + "src": "src/features/nodes/ManualFields.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "_Nodes-DIVmMRlP.js", + "index.html", + "_NumberField-BGS5AF_x.js", + "_logs-j0cmmcZI.js", + "_Checkbox-CUoHrzuV.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Tabs-Kfe2CfSx.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Select-W-Xrx6y6.js", + "_Table-DotwWze-.js", + "_Virtualizer-tkoH0e4V.js", + "_subscriptionEntries-CB_uX4nO.js", + "_SearchList-D75Ie4nx.js", + "_ItemText-B5OxI5lS.js", + "_nodes-BXUOUiP2.js", + "_BackendText-CxshqKrW.js", + "_activity-C22CeO5G.js", + "_AppearanceControls-I4PvP9Es.js", + "_TimeCell-xtED_iww.js", + "_CardView-f0UIkdtH.js", + "_GridList-Cq8h6RdG.js", + "_Tag-DE8n6iTZ.js", + "src/ui/FlagPicker.tsx", + "_SearchSelect-CSXz7lhe.js", + "_outbounds-CJznbPkH.js", + "_probe-CRm42H8E.js" + ] + }, + "src/features/nodes/SubscriptionFields.tsx": { + "file": "assets/SubscriptionFields-DhFfUi4P.js", + "name": "SubscriptionFields", + "src": "src/features/nodes/SubscriptionFields.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_NumberField-BGS5AF_x.js", + "_logs-j0cmmcZI.js", + "_nodes-BXUOUiP2.js", + "_activity-C22CeO5G.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js" + ] + }, + "src/features/nodes/XhttpOptions.tsx": { + "file": "assets/XhttpOptions-CFjPLQAZ.js", + "name": "XhttpOptions", + "src": "src/features/nodes/XhttpOptions.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_logs-j0cmmcZI.js", + "_Nodes-DIVmMRlP.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_nodes-BXUOUiP2.js", + "_Tabs-Kfe2CfSx.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Table-DotwWze-.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js", + "_subscriptionEntries-CB_uX4nO.js", + "_SearchList-D75Ie4nx.js", + "_BackendText-CxshqKrW.js", + "_activity-C22CeO5G.js", + "_TimeCell-xtED_iww.js", + "_CardView-f0UIkdtH.js", + "_GridList-Cq8h6RdG.js", + "_Tag-DE8n6iTZ.js", + "src/ui/FlagPicker.tsx", + "_SearchSelect-CSXz7lhe.js", + "_outbounds-CJznbPkH.js", + "_probe-CRm42H8E.js" + ] + }, + "src/features/overview/Overview.tsx": { + "file": "assets/Overview-BUdN7c7l.js", + "name": "Overview", + "src": "src/features/overview/Overview.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_files-Dt8K7QfP.js", + "_activity-C22CeO5G.js", + "_limitHint-DIncl1LE.js", + "_nodes-BXUOUiP2.js", + "_Table-DotwWze-.js", + "_logs-j0cmmcZI.js", + "_DaeCode-DEjXqvav.js", + "__commonjsHelpers-CXUWDbkB.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Select-W-Xrx6y6.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js", + "_daeTokens-BVtuNnWZ.js" + ] + }, + "src/features/policies/Policies.tsx": { + "file": "assets/Policies-DR22sMzN.js", + "name": "Policies", + "src": "src/features/policies/Policies.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "_subscriptionEntries-CB_uX4nO.js", + "_CheckboxSet-BThgrv4U.js", + "_AddCircle-qKwVDZ__.js", + "_nodes-BXUOUiP2.js", + "index.html", + "_Tag-DE8n6iTZ.js", + "_DaeCode-DEjXqvav.js", + "_logs-j0cmmcZI.js", + "_AppearanceControls-I4PvP9Es.js", + "_SearchList-D75Ie4nx.js", + "_activity-C22CeO5G.js", + "_GridList-Cq8h6RdG.js", + "_Virtualizer-tkoH0e4V.js", + "_SearchSelect-CSXz7lhe.js", + "_BackendText-CxshqKrW.js", + "_NumberField-BGS5AF_x.js", + "_groupFilters-vTIJClEo.js", + "_probe-CRm42H8E.js", + "_limitHint-DIncl1LE.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_Checkbox-CUoHrzuV.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_daeTokens-BVtuNnWZ.js" + ] + }, + "src/features/rules/Trace.tsx": { + "file": "assets/Trace-DY4zXTiF.js", + "name": "Trace", + "src": "src/features/rules/Trace.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_flows-BfIUsgdd.js", + "_logs-j0cmmcZI.js", + "_Rules-BMHWGCx6.js", + "_probe-CRm42H8E.js", + "_useQuickRule-D86TFC6s.js", + "_activity-C22CeO5G.js", + "_NumberField-BGS5AF_x.js", + "_Table-DotwWze-.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_nodes-BXUOUiP2.js", + "_Tabs-Kfe2CfSx.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_DaeCode-DEjXqvav.js", + "_daeTokens-BVtuNnWZ.js", + "_CheckboxSet-BThgrv4U.js", + "_Checkbox-CUoHrzuV.js", + "_Coverage-BhgtC9t6.js", + "_BackendText-CxshqKrW.js", + "_labels-D8xxfRTQ.js", + "_rule-ljMHmFs3.js", + "_recorder-BHyqDNp5.js", + "_geodataUpdate-CK75960A.js", + "_LinkOut-DVAiBR_J.js", + "_SearchSelect-CSXz7lhe.js", + "_SearchList-D75Ie4nx.js", + "_Virtualizer-tkoH0e4V.js", + "_geodata-CvcFemyc.js", + "_AddCircle-qKwVDZ__.js" + ], + "css": [ + "assets/impact-B8feJDtJ.css" + ] + }, + "src/features/settings/Settings.tsx": { + "file": "assets/Settings-KwPU8MKD.js", + "name": "Settings", + "src": "src/features/settings/Settings.tsx", + "isDynamicEntry": true, + "imports": [ + "index.html", + "_vendor-react-64fcanlc.js", + "_logs-j0cmmcZI.js", + "_Tabs-Kfe2CfSx.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_auth-BNrY15aC.js", + "_activity-C22CeO5G.js", + "_nodes-BXUOUiP2.js", + "_nav-VzrSXoKO.js", + "_NumberField-BGS5AF_x.js", + "_Table-DotwWze-.js", + "_TimeCell-xtED_iww.js", + "_geodataUpdate-CK75960A.js", + "_geodata-CvcFemyc.js", + "__commonjsHelpers-CXUWDbkB.js", + "_AppearanceControls-I4PvP9Es.js", + "_useGridSelectionCheckbox-D0fV1e0v.js", + "_Virtualizer-tkoH0e4V.js", + "_Checkbox-CUoHrzuV.js" + ], + "dynamicImports": [ + "src/features/settings/WallpaperSettings.tsx" + ], + "css": [ + "assets/Settings-BVpmQMTB.css" + ] + }, + "src/features/settings/WallpaperSettings.tsx": { + "file": "assets/WallpaperSettings-Dynl1X5E.js", + "name": "WallpaperSettings", + "src": "src/features/settings/WallpaperSettings.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_logs-j0cmmcZI.js", + "_wallpaper-CEC7gitM.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_nodes-BXUOUiP2.js" + ] + }, + "src/fonts-sc.css": { + "file": "assets/fonts-sc-Dyn9aW84.css", + "src": "src/fonts-sc.css" + }, + "src/fonts-tc.css": { + "file": "assets/fonts-tc-D9rvq3k7.css", + "src": "src/fonts-tc.css" + }, + "src/fonts.css": { + "file": "assets/fonts-C5_wsAqZ.css", + "src": "src/fonts.css" + }, + "src/i18n/locales/en.json?part=activity": { + "file": "assets/locale-en-activity-DciTGa2i.js", + "name": "en", + "src": "src/i18n/locales/en.json?part=activity", + "isDynamicEntry": true + }, + "src/i18n/locales/en.json?part=core": { + "file": "assets/locale-en-core-B5pEqoG8.js", + "name": "en", + "src": "src/i18n/locales/en.json?part=core", + "isDynamicEntry": true + }, + "src/i18n/locales/en.json?part=rest": { + "file": "assets/locale-en-rest-DSXBo_3V.js", + "name": "en", + "src": "src/i18n/locales/en.json?part=rest", + "isDynamicEntry": true + }, + "src/i18n/locales/zh-CN.json?part=activity": { + "file": "assets/locale-zh-CN-activity--3M_cvyC.js", + "name": "zh-CN", + "src": "src/i18n/locales/zh-CN.json?part=activity", + "isDynamicEntry": true + }, + "src/i18n/locales/zh-CN.json?part=core": { + "file": "assets/locale-zh-CN-core-D8hHJVk2.js", + "name": "zh-CN", + "src": "src/i18n/locales/zh-CN.json?part=core", + "isDynamicEntry": true + }, + "src/i18n/locales/zh-CN.json?part=rest": { + "file": "assets/locale-zh-CN-rest-PXwz-ehW.js", + "name": "zh-CN", + "src": "src/i18n/locales/zh-CN.json?part=rest", + "isDynamicEntry": true + }, + "src/i18n/locales/zh-TW.json?part=activity": { + "file": "assets/locale-zh-TW-activity-B4FjBL_G.js", + "name": "zh-TW", + "src": "src/i18n/locales/zh-TW.json?part=activity", + "isDynamicEntry": true + }, + "src/i18n/locales/zh-TW.json?part=core": { + "file": "assets/locale-zh-TW-core-DUIVLsYf.js", + "name": "zh-TW", + "src": "src/i18n/locales/zh-TW.json?part=core", + "isDynamicEntry": true + }, + "src/i18n/locales/zh-TW.json?part=rest": { + "file": "assets/locale-zh-TW-rest-BCiiZaKK.js", + "name": "zh-TW", + "src": "src/i18n/locales/zh-TW.json?part=rest", + "isDynamicEntry": true + }, + "src/logo.svg": { + "file": "assets/logo-obi05X1B.svg", + "src": "src/logo.svg" + }, + "src/shell/Login.tsx": { + "file": "assets/Login-Dthlqd0l.js", + "name": "Login", + "src": "src/shell/Login.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_auth-BNrY15aC.js", + "_LinkOut-DVAiBR_J.js", + "_AppearanceControls-I4PvP9Es.js", + "__commonjsHelpers-CXUWDbkB.js", + "_ItemText-B5OxI5lS.js" + ] + }, + "src/shell/glass.ts": { + "file": "assets/glass-BcMm4w7K.js", + "name": "glass", + "src": "src/shell/glass.ts", + "isDynamicEntry": true, + "imports": [ + "_paletteSheet-Vc0PGoNW.js", + "_wallpaper-CEC7gitM.js", + "_vendor-react-64fcanlc.js", + "__commonjsHelpers-CXUWDbkB.js" + ], + "assets": [ + "assets/glass-piYllnzE.css" + ] + }, + "src/shell/halloween.ts": { + "file": "assets/halloween-Dfny7j3b.js", + "name": "halloween", + "src": "src/shell/halloween.ts", + "isDynamicEntry": true, + "imports": [ + "_paletteSheet-Vc0PGoNW.js" + ], + "assets": [ + "assets/logo-CKC46m8V.svg", + "assets/halloween-e3DfiasY.css" + ] + }, + "src/shell/paletteSheets.ts": { + "file": "assets/paletteSheets-Bf5fGVE_.js", + "name": "paletteSheets", + "src": "src/shell/paletteSheets.ts", + "isDynamicEntry": true, + "imports": [ + "_paletteSheet-Vc0PGoNW.js" + ], + "assets": [ + "assets/square-light-OU6dsCf9.webp", + "assets/square-dark-CG0rwsS1.webp", + "assets/wall-light-BYfte2Bi.webp", + "assets/wall-dark-DCO0xUUO.webp", + "assets/taishan-light-Dip0HmJZ.webp", + "assets/gorges-light-DCWkLX37.webp", + "assets/lake-light-oWll36-V.webp", + "assets/taishan-dark-BI3cd4fj.webp", + "assets/gorges-dark-FlgXSNn1.webp", + "assets/lake-dark-B_VaUlAe.webp", + "assets/antd-BTVob2XE.css", + "assets/arco-DnDQV30N.css", + "assets/catppuccin-CFfx8ddQ.css", + "assets/kary-pGa0AxYi.css", + "assets/nord-BE7QITf9.css", + "assets/qiangguo-CTOUSOCk.css", + "assets/semi-DGpddBEP.css" + ] + }, + "src/shell/search/SearchDialog.tsx": { + "file": "assets/SearchDialog-CCF-sgtO.js", + "name": "SearchDialog", + "src": "src/shell/search/SearchDialog.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_logs-j0cmmcZI.js", + "_flows-BfIUsgdd.js", + "_nodes-BXUOUiP2.js", + "_nav-DrWHp_dt.js", + "_nav-VzrSXoKO.js", + "_activity-C22CeO5G.js", + "__commonjsHelpers-CXUWDbkB.js", + "_AppearanceControls-I4PvP9Es.js" + ] + }, + "src/shell/widgets/Editors.tsx": { + "file": "assets/Editors-7UGtyi9X.js", + "name": "Editors", + "src": "src/shell/widgets/Editors.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_activity-C22CeO5G.js", + "_GridList-Cq8h6RdG.js", + "_Select-W-Xrx6y6.js", + "_Delete-D69JigFx.js", + "_logs-j0cmmcZI.js", + "_AppearanceControls-I4PvP9Es.js", + "__commonjsHelpers-CXUWDbkB.js", + "_nodes-BXUOUiP2.js", + "_ItemText-B5OxI5lS.js", + "_useGridSelectionCheckbox-D0fV1e0v.js" + ], + "css": [ + "assets/Editors-rPgk_VZK.css" + ] + }, + "src/ui/FlagPicker.tsx": { + "file": "assets/FlagPicker-DkMTBjLE.js", + "name": "FlagPicker", + "src": "src/ui/FlagPicker.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_SearchSelect-CSXz7lhe.js", + "__commonjsHelpers-CXUWDbkB.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_SearchList-D75Ie4nx.js", + "_Virtualizer-tkoH0e4V.js" + ] + }, + "src/ui/assets/TwemojiCountryFlags.woff2": { + "file": "assets/TwemojiCountryFlags-Bymva2JV.woff2", + "src": "src/ui/assets/TwemojiCountryFlags.woff2" + }, + "src/ui/charts/AreaChart.tsx": { + "file": "assets/AreaChart-m_wmxFIp.js", + "name": "AreaChart", + "src": "src/ui/charts/AreaChart.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_activity-C22CeO5G.js", + "_AreaCurve-DQSHOSpG.js", + "__commonjsHelpers-CXUWDbkB.js", + "_nodes-BXUOUiP2.js", + "_logs-j0cmmcZI.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_array-C0VuvQyb.js" + ] + }, + "src/ui/charts/Donut.tsx": { + "file": "assets/Donut-DQU0_smr.js", + "name": "Donut", + "src": "src/ui/charts/Donut.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_activity-C22CeO5G.js", + "_array-C0VuvQyb.js", + "__commonjsHelpers-CXUWDbkB.js", + "_nodes-BXUOUiP2.js", + "_logs-j0cmmcZI.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js" + ] + }, + "src/ui/charts/Sparkline.tsx": { + "file": "assets/Sparkline-IClrZGcQ.js", + "name": "Sparkline", + "src": "src/ui/charts/Sparkline.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_activity-C22CeO5G.js", + "_AreaCurve-DQSHOSpG.js", + "__commonjsHelpers-CXUWDbkB.js", + "_nodes-BXUOUiP2.js", + "_logs-j0cmmcZI.js", + "_Select-W-Xrx6y6.js", + "_ItemText-B5OxI5lS.js", + "_AppearanceControls-I4PvP9Es.js", + "_array-C0VuvQyb.js" + ] + }, + "src/ui/code/CodeEditor.tsx": { + "file": "assets/CodeEditor-Cb8XCLWG.js", + "name": "CodeEditor", + "src": "src/ui/code/CodeEditor.tsx", + "isDynamicEntry": true, + "imports": [ + "_vendor-react-64fcanlc.js", + "index.html", + "_vendor-editor-50h2cCk6.js", + "_daeTokens-BVtuNnWZ.js", + "_nodes-BXUOUiP2.js", + "_AppearanceControls-I4PvP9Es.js", + "_logs-j0cmmcZI.js", + "__commonjsHelpers-CXUWDbkB.js", + "_index-DUM-iwa2.js", + "_ItemText-B5OxI5lS.js", + "_Select-W-Xrx6y6.js" + ] + }, + "src/ui/lens.ts": { + "file": "assets/lens-BMneTJKP.js", + "name": "lens", + "src": "src/ui/lens.ts", + "isDynamicEntry": true + }, + "src/ui/styles/palettes/halloween/logo.svg": { + "file": "assets/logo-CKC46m8V.svg", + "src": "src/ui/styles/palettes/halloween/logo.svg" + }, + "src/ui/styles/palettes/qiangguo/gorges-dark.webp": { + "file": "assets/gorges-dark-FlgXSNn1.webp", + "src": "src/ui/styles/palettes/qiangguo/gorges-dark.webp" + }, + "src/ui/styles/palettes/qiangguo/gorges-light.webp": { + "file": "assets/gorges-light-DCWkLX37.webp", + "src": "src/ui/styles/palettes/qiangguo/gorges-light.webp" + }, + "src/ui/styles/palettes/qiangguo/lake-dark.webp": { + "file": "assets/lake-dark-B_VaUlAe.webp", + "src": "src/ui/styles/palettes/qiangguo/lake-dark.webp" + }, + "src/ui/styles/palettes/qiangguo/lake-light.webp": { + "file": "assets/lake-light-oWll36-V.webp", + "src": "src/ui/styles/palettes/qiangguo/lake-light.webp" + }, + "src/ui/styles/palettes/qiangguo/square-dark.webp": { + "file": "assets/square-dark-CG0rwsS1.webp", + "src": "src/ui/styles/palettes/qiangguo/square-dark.webp" + }, + "src/ui/styles/palettes/qiangguo/square-light.webp": { + "file": "assets/square-light-OU6dsCf9.webp", + "src": "src/ui/styles/palettes/qiangguo/square-light.webp" + }, + "src/ui/styles/palettes/qiangguo/taishan-dark.webp": { + "file": "assets/taishan-dark-BI3cd4fj.webp", + "src": "src/ui/styles/palettes/qiangguo/taishan-dark.webp" + }, + "src/ui/styles/palettes/qiangguo/taishan-light.webp": { + "file": "assets/taishan-light-Dip0HmJZ.webp", + "src": "src/ui/styles/palettes/qiangguo/taishan-light.webp" + }, + "src/ui/styles/palettes/qiangguo/wall-dark.webp": { + "file": "assets/wall-dark-DCO0xUUO.webp", + "src": "src/ui/styles/palettes/qiangguo/wall-dark.webp" + }, + "src/ui/styles/palettes/qiangguo/wall-light.webp": { + "file": "assets/wall-light-BYfte2Bi.webp", + "src": "src/ui/styles/palettes/qiangguo/wall-light.webp" + } +} \ No newline at end of file diff --git a/CNAME b/CNAME new file mode 100644 index 00000000..e537c425 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +demo.daeuniverse.org diff --git a/assets/AddCircle-qKwVDZ__.js b/assets/AddCircle-qKwVDZ__.js new file mode 100644 index 00000000..a242be0e --- /dev/null +++ b/assets/AddCircle-qKwVDZ__.js @@ -0,0 +1 @@ +import{j as r}from"./vendor-react-64fcanlc.js";import{I as a}from"./index-C4UFgHia.js";function o(o){return r.jsx(a,{...o,children:r.jsx("path",{fill:"currentColor",d:"M10 1.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17m0 15.5a7 7 0 1 1 0-14 7 7 0 0 1 0 14m3.75-7.75h-3v-3a.75.75 0 0 0-1.5 0v3h-3a.75.75 0 0 0 0 1.5h3v3a.75.75 0 0 0 1.5 0v-3h3a.75.75 0 0 0 0-1.5"})})}export{o as A}; diff --git a/assets/AppearanceControls-I4PvP9Es.js b/assets/AppearanceControls-I4PvP9Es.js new file mode 100644 index 00000000..24083ad5 --- /dev/null +++ b/assets/AppearanceControls-I4PvP9Es.js @@ -0,0 +1 @@ +import{j as e,r as s}from"./vendor-react-64fcanlc.js";import{fY as l,fZ as n,f_ as a,cC as c,dN as t,cE as i,bG as r,fm as o,cD as u,dQ as d,f$ as h,dR as p,cF as m,u as x,b9 as b,g0 as j,bA as f,cG as v,g1 as g,cH as y,cI as C,g2 as N,cJ as A,T as S,I as M,bm as k,en as I,B as L}from"./index-C4UFgHia.js";import{a as w,b as q}from"./ItemText-B5OxI5lS.js";const D=e=>e>12,H=({orientation:s="vertical"})=>e.jsx(l,{orientation:s,className:"vertical"===s?"rp-vrule":"rp-hrule"}),$=e=>s=>{if("all"===s)return;const l=[...s][0];null!=l&&e(String(l))};function P({item:s,children:l,onAction:n}){return e.jsxs(A,{id:s.id,className:"rp-item",textValue:s.label,onAction:n,children:[e.jsx(w,{}),e.jsx(q,{i:s,children:l})]})}function E({children:l,content:n,label:x,quiet:b,small:j,size:f,chevron:v=!0,isDisabled:g,appearance:y,placement:C="bottom end",count:N,onIntent:A}){const S=N?e.jsx("span",{className:"rp-count","aria-hidden":"true",children:N}):null,M=a(g),[k,I]=s.useState(!1),L=c(),w=t(f),q=s.useRef(null),D=e.jsxs(i,{ref:q,className:y?"rp-select":o({quiet:b,small:j,icon:!v}),"data-size":w,"aria-label":x,"aria-describedby":M?.id,isDisabled:g,onHoverStart:A,onFocus:A,children:[l,S,v&&e.jsx(r,{className:"rp-chev"})]});return e.jsxs(u,{children:[v&&!M?D:e.jsxs(d,{delay:400,isOpen:k,onOpenChange:I,children:[e.jsx(h,{children:e.jsx("span",{className:"rp-tipwrap",tabIndex:g?0:-1,"data-passive":g?void 0:"",onPointerDown:e=>{g&&"touch"===e.pointerType&&I(e=>!e)},children:D})}),e.jsx(p,{triggerRef:q,children:M?.text??x})]}),e.jsx(m,{className:"rp-popover rp-list-popover",placement:C,boundaryElement:L,children:n})]})}function F({label:s,labelledBy:l,sections:n,headers:a=!0,focusedByCaller:c,onAction:t,searchLabel:i,actions:r=[]}){const o="function"==typeof n?n():n,u=!!i&&D(O(o)),d=e.jsxs(v,{"aria-label":s,"aria-labelledby":l??"",className:u?"rp-menu-scroll":void 0,autoFocus:!c&&void 0,children:[o.map(s=>e.jsxs(y,{"aria-label":a&&!s.hideHeader?void 0:s.title,selectionMode:s.selectionMode??"single",selectedKeys:[`/choice-${s.value}`],onSelectionChange:s.onChange&&$(e=>s.onChange(e.slice(8))),children:[a&&!s.hideHeader&&e.jsx(C,{className:"rp-sec-h",children:s.title}),s.items.map(s=>e.jsx(P,{item:{...s,id:`/choice-${s.id}`},onAction:t&&(()=>t(s.id))},s.id))]},s.title)),r.length>0&&e.jsx(H,{orientation:"horizontal"}),r.map(s=>e.jsx(V,{...s},s.label))]});return u?e.jsx(N,{label:i,children:d}):d}const O=e=>e.reduce((e,s)=>e+s.items.length,0);function R(e,s){for(const l of e){const n=l.items.find(e=>e.id===l.value);if(n)return e.length>1&&!l.plain&&n.label!==l.title?s("ui.sectionChoice",{section:l.title,item:n.label}):n.label}return""}const V=({label:s,icon:l,onAction:n})=>e.jsxs(A,{className:"rp-item rp-subitem",textValue:s,onAction:n,shouldCloseOnSelect:!0,children:[e.jsx("span",{className:"ic",children:l}),e.jsx(S,{children:s})]}),z=({id:s,label:l,icon:n,sections:a})=>{const c=x();return e.jsxs(A,{id:s,className:"rp-item rp-subitem",textValue:l,children:[e.jsx("span",{className:"ic",children:n}),e.jsx(S,{children:l}),e.jsxs("span",{className:"desc",children:[R(a,c),e.jsx(r,{className:"rp-chev-end"})]})]})};function B({label:l,submenus:n,actions:a=[]}){const c="function"==typeof n?n():n,t=x(),o=b(j),[u,d]="rtl"===f().direction?["ArrowLeft","ArrowRight"]:["ArrowRight","ArrowLeft"],[{open:h,left:p},y]=s.useState({open:null,left:null}),C=s.useRef(null),N=s.useId(),A=e=>{C.current?.focus(),y({open:e,left:null==e?h:null})};if(s.useEffect(()=>{const e=C.current;if(!e||null==h&&null==p)return;const s=null==h?`[data-key="${CSS.escape(`/submenu-${p}`)}"]`:'[aria-checked="true"], [role="menuitem"]',l=requestAnimationFrame(()=>{document.activeElement===e&&e.querySelector(s)?.focus()});return()=>cancelAnimationFrame(l)},[h,p]),!o)return e.jsxs(v,{"aria-label":l,"aria-labelledby":"",children:[c.map(s=>"sections"in s?e.jsxs(g,{children:[e.jsx(z,{id:`/submenu-${s.label}`,...s}),e.jsx(m,{className:"rp-popover rp-list-popover",offset:-4,crossOffset:-9,children:e.jsx(F,{...s,headers:s.sections.length>1})})]},s.label):e.jsx(V,{...s},s.label)),a.map(s=>e.jsx(V,{...s},s.label))]});const S=null==h?null:c.find(e=>e.label===h);if(S&&"sections"in S){const s=()=>A(null),l=e=>{e.key!==d&&"Escape"!==e.key||(e.preventDefault(),e.stopPropagation(),s())};return e.jsxs("div",{ref:C,className:"rp-drill",tabIndex:-1,onKeyDownCapture:l,children:[e.jsxs(i,{className:"rp-item rp-drill-back","aria-label":t("ui.back"),onPress:s,children:[e.jsx(r,{className:"rp-chev-start"}),e.jsx("span",{id:N,children:S.label})]}),e.jsx(F,{...S,labelledBy:N,headers:S.sections.length>1,focusedByCaller:!0})]})}const M=e=>c.find(s=>`/submenu-${s.label}`===e&&"sections"in s)?.label??null;return e.jsx("div",{ref:C,className:"rp-drill",tabIndex:-1,onKeyDownCapture:e=>{const s=M(e.target.dataset.key);e.key===u&&null!=s&&(e.preventDefault(),A(s))},children:e.jsxs(v,{"aria-label":l,"aria-labelledby":"",autoFocus:null==p&&void 0,shouldCloseOnSelect:!1,onAction:e=>{const s=M(String(e));null!=s&&A(s)},children:[c.map(s=>"sections"in s?e.jsx(z,{id:`/submenu-${s.label}`,...s},s.label):e.jsx(V,{...s},s.label)),a.map(s=>e.jsx(V,{...s},s.label))]})})}function K({label:s,items:l,selectionMode:n,value:a,onChange:c,onAction:t,searchLabel:i}){const r="function"==typeof l?l():l,o=!!i&&D(r.length),u=e.jsx(v,{"aria-label":s,"aria-labelledby":"",className:o?"rp-menu-scroll":void 0,selectionMode:n,disallowEmptySelection:"single"===n,selectedKeys:null==a?void 0:"string"==typeof a?[a]:a,onSelectionChange:c&&$(c),shouldCloseOnSelect:"multiple"!==n&&void 0,onAction:t&&(e=>t(String(e))),children:r.map(s=>e.jsx(P,{item:s},s.id))});return o?e.jsx(N,{label:i,children:u}):u}function T({items:s,selectionMode:l,value:a,onChange:c,sections:t,submenus:i,actions:r,onAction:o,searchLabel:u,triggerLabel:d,...h}){const p=t?Array.isArray(t)&&D(O(t)):i?Array.isArray(i)&&i.some(e=>"sections"in e&&!!e.searchLabel&&D(O(e.sections))):Array.isArray(s)&&D(s.length);return e.jsx(E,{...h,label:d??h.label,onIntent:h.onIntent??(u&&p?n:void 0),content:i?e.jsx(B,{label:h.label,submenus:i,actions:r}):t?e.jsx(F,{label:h.label,sections:t,onAction:o,searchLabel:u,actions:r}):e.jsx(K,{label:h.label,items:s,selectionMode:l??(null==a?"none":"single"),value:a,onChange:c,onAction:o,searchLabel:u})})}function G(s){return e.jsxs(M,{...s,children:[e.jsx("circle",{cx:"10.859",cy:"5.521",r:"1.5",fill:"currentColor"}),e.jsx("circle",{cx:"6.859",cy:"7.521",r:"1.5",fill:"currentColor"}),e.jsx("circle",{cx:"6.859",cy:"12.521",r:"1.5",fill:"currentColor"}),e.jsx("circle",{cx:"10.859",cy:"14.521",r:"1.5",fill:"currentColor"}),e.jsx("path",{fill:"currentColor",d:"M11.003 18.771c-2.595-.018-4.935-.91-6.662-2.507-1.762-1.631-2.732-3.814-2.732-6.145s.97-4.514 2.732-6.144C6.192 2.257 8.683 1.27 11.17 1.27c2.157 0 4.143.737 5.594 2.074 1.048.97 1.626 2.27 1.626 3.659s-.578 2.69-1.625 3.66l-1.204 1.12c-.086.078-.188.206-.188.362s.102.284.188.364c.146.136.18.169.516.226.414.073.95.166 1.373.576l.001.001c.396.386.626.979.618 1.586-.008.59-.234 1.119-.636 1.49-1.625 1.513-3.97 2.382-6.431 2.382m.168-16c-2.114 0-4.233.84-5.81 2.304C3.907 6.42 3.108 8.211 3.108 10.12s.8 3.7 2.251 5.043c1.431 1.325 3.465 2.094 5.581 2.11 2.147 0 4.12-.723 5.473-1.983.133-.123.154-.31.156-.41.003-.223-.083-.41-.164-.49-.092-.088-.352-.134-.562-.17-.61-.106-.923-.254-1.306-.614-.428-.397-.664-.916-.664-1.46 0-.542.236-1.061.666-1.46l1.205-1.122c.74-.683 1.146-1.592 1.146-2.56s-.407-1.873-1.144-2.556c-1.172-1.08-2.797-1.675-4.576-1.675"})]})}function J(s){return e.jsxs(M,{...s,children:[e.jsx("path",{fill:"currentColor",d:"M10 18.78c-4.825 0-8.75-3.926-8.75-8.75S5.175 1.28 10 1.28s8.75 3.924 8.75 8.75-3.925 8.75-8.75 8.75m0-16c-3.998 0-7.25 3.251-7.25 7.25s3.252 7.25 7.25 7.25 7.25-3.253 7.25-7.25S13.998 2.78 10 2.78"}),e.jsx("path",{fill:"currentColor",d:"M10 14.384c0 .653.615 1.121 1.251.973 2.435-.566 4.249-2.75 4.249-5.357s-1.814-4.79-4.249-5.357c-.636-.148-1.251.32-1.251.973z"})]})}function Q(s){return e.jsx(M,{...s,children:e.jsx("path",{fill:"currentColor",d:"M10 6.35c2.012 0 3.65 1.638 3.65 3.65s-1.638 3.65-3.65 3.65S6.35 12.012 6.35 10 7.988 6.35 10 6.35m0-1.5c-2.84 0-5.15 2.31-5.15 5.15s2.31 5.15 5.15 5.15 5.15-2.31 5.15-5.15S12.84 4.85 10 4.85M10 3.25c-.414 0-.75-.336-.75-.75V1.25c0-.414.336-.75.75-.75s.75.336.75.75V2.5c0 .414-.336.75-.75.75M10 19.5c-.414 0-.75-.336-.75-.75V17.5c0-.414.336-.75.75-.75s.75.336.75.75v1.25c0 .414-.336.75-.75.75M2.5 10.75H1.25c-.414 0-.75-.336-.75-.75s.336-.75.75-.75H2.5c.414 0 .75.336.75.75s-.336.75-.75.75M18.75 10.75H17.5c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h1.25c.414 0 .75.336.75.75s-.336.75-.75.75M15.304 5.446c-.193 0-.384-.073-.53-.22-.294-.292-.294-.767 0-1.06l.883-.884c.293-.293.768-.293 1.06 0s.294.768 0 1.06l-.883.885c-.146.146-.338.22-.53.22M3.813 16.938c-.193 0-.384-.074-.53-.22-.294-.293-.294-.768 0-1.06l.883-.885c.293-.293.768-.293 1.06 0s.294.768 0 1.061l-.883.884c-.147.146-.338.22-.53.22M4.696 5.446c-.192 0-.383-.073-.53-.22l-.884-.883c-.293-.293-.293-.768 0-1.06s.768-.294 1.06 0l.885.883c.293.293.293.768 0 1.06-.147.147-.338.22-.53.22M16.188 16.938c-.193 0-.384-.074-.53-.22l-.885-.884c-.293-.293-.293-.768 0-1.06s.768-.294 1.061 0l.884.883c.293.293.293.768 0 1.06-.147.147-.338.22-.53.22"})})}function Y(s){return e.jsx(M,{...s,children:e.jsx("path",{fill:"currentColor",d:"M12.25 2.5H7.834v-.75c0-.414-.336-.75-.75-.75s-.75.336-.75.75v.75H1.75c-.414 0-.75.336-.75.75s.336.75.75.75h7.878C9.17 6.271 7.792 7.876 6.272 8.934c-.479-.869-.843-1.76-1.068-2.645-.101-.401-.51-.648-.912-.542-.4.102-.644.51-.542.911.259 1.02.677 2.045 1.228 3.039-.793.395-1.563.66-2.195.802-.405.09-.659.491-.569.896.078.348.388.585.732.585q.082 0 .164-.018c.766-.171 1.705-.499 2.669-.996.824 1.19 1.83 2.311 2.988 3.284.14.118.312.176.482.176.214 0 .426-.091.575-.268.266-.317.225-.79-.092-1.056-1.031-.867-1.927-1.858-2.664-2.906C8.946 8.906 10.67 6.903 11.156 4h1.094c.414 0 .75-.336.75-.75s-.336-.75-.75-.75M18.94 17.958l-4.018-9.5c-.118-.277-.39-.458-.691-.458s-.573.18-.691.458l-4.02 9.5c-.16.38.018.821.399.982.384.165.822-.016.983-.398l1.28-3.026h4.097l1.28 3.026c.121.286.399.458.691.458q.148 0 .292-.06c.382-.16.56-.601.399-.982m-6.123-3.942 1.414-3.341 1.413 3.34z"})})}function Z({dark:s}){return e.jsxs("span",{className:"rp-icon-stack","data-dark":s||void 0,children:[e.jsx(J,{className:"moon"}),e.jsx(Q,{className:"sun"})]})}function _({lang:l,pickLang:n}){const a=x(),[c]=s.useState(l);return e.jsx(T,{quiet:!0,chevron:!1,label:a("ui.lang"),value:l,onChange:e=>n(e),items:k,children:e.jsx(Y,{className:l!==c?"rp-icon-in":void 0},l)})}function U({dark:s,label:l,toggle:n}){return e.jsx(L,{quiet:!0,icon:!0,label:l,onPress:n,children:e.jsx(Z,{dark:s})})}function W({ap:e,paletteSections:s}){return{palettes:s.map(s=>({...s,items:s.items.map(e=>({...e,aside:!0})),value:e.shownPalette,onChange:s=>e.pickPalette(s)}))}}function X({more:l,...n}){const a=x(),{palettes:c}=W(n),t=n.ap.palette,[i]=s.useState(t);return e.jsx(T,{quiet:!0,chevron:!1,label:a("ui.palette"),sections:c,actions:l&&[l],onIntent:I,children:e.jsx(G,{className:t!==i?"rp-icon-in":void 0},t)})}export{T as C,H as D,_ as L,E as M,X as P,U as S,Y as T,J as a,G as b,D as l,W as u}; diff --git a/assets/AreaChart-m_wmxFIp.js b/assets/AreaChart-m_wmxFIp.js new file mode 100644 index 00000000..a38c4146 --- /dev/null +++ b/assets/AreaChart-m_wmxFIp.js @@ -0,0 +1 @@ +import{r as e,j as t}from"./vendor-react-64fcanlc.js";import{u as a,g as s,gH as r,d$ as l,gI as n}from"./index-C4UFgHia.js";import{b as o,b4 as i,b5 as c,b6 as p,b7 as u,b8 as m,b9 as d,ba as h,bb as b,bc as x,bd as g,be as f,bf as v,bg as y,bh as j}from"./activity-C22CeO5G.js";import{G as k,C as w}from"./AreaCurve-DQSHOSpG.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./nodes-BXUOUiP2.js";import"./logs-j0cmmcZI.js";import"./Select-W-Xrx6y6.js";import"./ItemText-B5OxI5lS.js";import"./AppearanceControls-I4PvP9Es.js";import"./array-C0VuvQyb.js";const M=[30,60,120,300,600,900,1800,3600,7200,21600,43200,86400].map(e=>1e3*e);function E(t,a){const[s,r]=e.useState([]),l=e.useRef("");return e.useLayoutEffect(()=>{const e=[a,...t].join("\0");if(e===l.current)return;l.current=e;const s=document.createElement("span");s.className="rp-area-tick",Object.assign(s.style,{position:"absolute",top:"-20000px",whiteSpace:"pre",lineHeight:"var(--rp-line-caption)"}),document.body.appendChild(s),r(t.map(e=>{s.textContent=e;const{width:t,height:a}=s.getBoundingClientRect();return{width:t,height:a}})),s.remove()},[t,a]),s}const L={value:"--rp-space-2",plot:"--rp-space-2",time:"--rp-space-1h",caption:"--rp-line-caption",label:"--rp-space-half",clock:"--rp-space-4",clockEnd:"--rp-space-6",sample:"--rp-space-2"},N=Object.fromEntries(Object.keys(L).map(e=>[e,0]));const $=e=>null!==e;function C({label:C,series:O,timestamps:S,fmt:T,locale:z,height:A,baseline:P="zero",window:B,fill:D,split:F=!1,bare:I=!1,inset:W=2}){const H=a(),R=o(),K=e.useId(),[G,V]=s(Math.round,120),_=function(t){const[a,s]=e.useState(null);return e.useLayoutEffect(()=>{const e=getComputedStyle(t.current);s(Object.fromEntries(Object.entries(L).map(([t,a])=>[t,parseFloat(e.getPropertyValue(a))])))},[t]),a}(G),q=_??N,{tip:J,showAt:Q,hide:U}=i(),[X,Y]=e.useState(null),Z=X&&X.indexS.length?[Math.min(...S),Math.max(...S)]:void 0!==te&&void 0!==ae?[te,ae]:[0,0],[te,ae,S]),re=e.useMemo(()=>B?function(e,t){const a=t-e,s=M.find(e=>a/e<=6)??M[M.length-1],r=s>=864e5?6e4*new Date(t).getTimezoneOffset():0,l=[];for(let n=Math.ceil((e-r)/s)*s+r;n<=t;n+=s)n-e>=.04*a&&t-n>=.04*a&&l.push(n);return{ticks:l,step:s}}(se[0],se[1]):void 0,[B,se]),le=re?re.step<6e4:ee<18e4,ne=re?re.step>=864e5:ee>1296e5,oe=e.useMemo(()=>ne?r(z):l(z,le),[z,le,ne]),ie=c({split:F,bare:I,series:O}),ce=ie?O.length:1,pe=e=>ce>1?e:0,ue=e.useMemo(()=>Array.from({length:ce},(e,t)=>p((ce>1?[O[t]]:O).flatMap(e=>e.values.filter($)),P)),[O,P,ce]),me=e.useMemo(()=>O.map(e=>u(e.values)),[O]),de=e.useMemo(()=>ue.flatMap(e=>e.ticks.map(T)),[ue,T]),he=E(de,z),be=e.useMemo(()=>{const e=S.length-1;return re?[se[0],...re.ticks,se[1]]:[...new Set((le?[0,Math.round(e/2),e]:[0,Math.round(e/3),Math.round(2*e/3),e]).map(e=>S[e]))]},[re,le,S,se]),xe=V?.width??0,ge=V?.height??0,fe=I?W:0,ve=I?2:0,ye=ge-(I?2:q.caption+q.time),je=xe-(I?W:Math.ceil(Math.max(0,...he.map(e=>e.width)))+q.value),ke=(ye-ve-q.plot*(ce-1))/ce,we=ue.map((e,t)=>{const a=ve+t*(ke+q.plot);return{top:a,bottom:a+ke,y:t=>m(t,e.domain,[a+ke,a])}}),Me=e.useCallback(e=>m(e,se,[fe,je]),[se,fe,je]),Ee=e.useMemo(()=>S.map(Me),[S,Me]),Le=(e,t)=>we[pe(e)].y(t),Ne=O.map((e,t)=>S.map((a,s)=>null==e.values[s]?null:{x:Ee[s],y:Le(t,e.values[s])})),$e={x:fe,y:ve,width:je-fe,height:ye-ve},Ce=(e,t)=>Y({index:e,y:t}),Oe=()=>{Y(null),U()},[,Se]=e.useReducer(e=>e+1,0),Te=null!==Z;e.useEffect(()=>{if(Te)return globalThis.addEventListener("scroll",Se,{capture:!0,passive:!0}),globalThis.addEventListener("resize",Se),()=>{globalThis.removeEventListener("scroll",Se,{capture:!0}),globalThis.removeEventListener("resize",Se)}},[Te]),e.useLayoutEffect(()=>{var e;null!==Z&&O.some(e=>null!=e.values[Z])?Q({x:Ee[Z],y:X?.y??(ve+ye)/2,width:xe,...G.current?h(G.current):{bounds:$e},label:n(z).format(S[Z]),...I?{lines:d(O,Z,T,H)}:{lines:[],table:(e=Z,{head:[n(z).format(S[e]),H("ui.current"),H("ui.peak"),H("ui.average")],rows:O.map((t,a)=>{const s=t.values[e],r=me[a];return{swatch:t.color,cells:[t.label,null==s?"—":T(s),r?T(r.peak):"—",r?T(r.average):"—"]}})})}}):U()});const ze=b(S.length,Ce,Oe),Ae=e.useMemo(()=>be.map(e=>oe.format(e)),[be,oe]),Pe=E(Ae,z),Be=Pe.length!==be.length?[]:re?x(be.map((e,t)=>({position:Me(e),width:Pe[t].width})),fe,je,q.clock,q.clockEnd):g(be.map(Me),Pe.map(e=>e.width),q.sample,je),De=he.length!==de.length?[]:we.flatMap((e,t)=>f((0===ue[t].ticks[0]?[2,1]:[2,0]).map(a=>({index:3*t+a,position:e.y(ue[t].ticks[a]),size:he[3*t+a].height})),e.top,e.bottom,q.label)),Fe=!I&&me.some(Boolean);return t.jsx("div",{ref:G,className:"rp-area-plot","data-stacked":ie||void 0,"data-fill":D||void 0,style:I?{height:A}:void 0,onPointerLeave:ze.onPointerLeave,children:S.length>0&&V&&_&&t.jsxs(t.Fragment,{children:[t.jsx(v,{tip:J}),t.jsxs("svg",{className:"rp-activity-surface",width:xe,height:ge,viewBox:`0 0 ${xe} ${ge}`,style:{display:"block",overflow:"visible"},role:"application","aria-label":C,"aria-describedby":Fe?K+"desc":void 0,tabIndex:0,onFocus:ze.onFocus,onBlur:ze.onBlur,onKeyDown:ze.onKeyDown,onPointerMove:e=>{const{x:t,y:a}=y(e,e.currentTarget,{width:xe,height:ge});if(tje||aye)return void Oe();const s=j(Ee,t);Ce(s,a)},children:[Fe&&t.jsx("desc",{id:K+"desc",children:O.flatMap((e,t)=>(e=>{const t=me[e],a=O[e].label;return t&&!I?[H("ui.valuePair",{label:H("widgets.peak",{series:a}),value:T(t.peak)}),H("ui.valuePair",{label:H("widgets.average",{series:a}),value:T(t.average)})]:[]})(t)).join(H("ui.separator"))}),t.jsx("g",{className:"rp-area-grid",children:we.flatMap((e,a)=>[...new Set(ue[a].ticks.map(e.y))].map(e=>t.jsx("line",{x1:fe,x2:je,y1:e,y2:e,stroke:R["hl-med"],strokeOpacity:.6,fill:"none"},`${a}-${e}`)))}),t.jsx("defs",{children:O.map((e,a)=>t.jsx(k,{id:K+a,color:e.color},e.label))}),O.map((e,a)=>t.jsx(w,{points:Ne[a],baseline:Le(a,Math.max(0,ue[pe(a)].domain[0])),color:e.color,id:K+a,strokeWidth:I?2:1.75},e.label)),!I&&O.map((e,a)=>{const s=me[a];if(!s)return null;const r=Le(a,s.average);return t.jsxs("g",{className:"rp-area-marks",pointerEvents:"none",children:[t.jsx("line",{x1:fe,x2:je,y1:r,y2:r,stroke:e.color,strokeOpacity:.55,strokeDasharray:"4 4"}),t.jsx("circle",{cx:Ee[s.at],cy:Le(a,s.peak),r:3,fill:e.color,stroke:R.surface,strokeWidth:1.5})]},e.label)}),null!==Z&&we.map(e=>t.jsx("path",{d:`M${Ee[Z]},${e.top}L${Ee[Z]},${e.bottom}`,stroke:R.subtle,strokeDasharray:"3 3",fill:"none",pointerEvents:"none"},e.top)),!I&&t.jsxs(t.Fragment,{children:[t.jsx("g",{className:"rp-area-x-ticks",children:Be.map(({index:e,position:a})=>t.jsx("text",{x:a,y:ye+q.time,className:"rp-area-tick",textAnchor:"middle",children:t.jsx("tspan",{x:a,dy:"0.71em",children:Ae[e]})},e))}),t.jsx("g",{className:"rp-area-y-ticks",children:De.map(({index:e,position:a})=>t.jsx("text",{x:xe,y:a,className:"rp-area-tick",textAnchor:"end",children:t.jsx("tspan",{x:xe,dy:"0.355em",children:de[e]})},e))})]}),null!==Z&&O.map((e,a)=>null==e.values[Z]?null:t.jsx("circle",{cx:Ee[Z],cy:Le(a,e.values[Z]),r:4,fill:e.color,stroke:R.base,strokeWidth:2},e.label))]})]})})}export{C as AreaPlot}; diff --git a/assets/AreaCurve-DQSHOSpG.js b/assets/AreaCurve-DQSHOSpG.js new file mode 100644 index 00000000..a582e3ed --- /dev/null +++ b/assets/AreaCurve-DQSHOSpG.js @@ -0,0 +1 @@ +import{j as t,r as n}from"./vendor-react-64fcanlc.js";import{w as i,c as e,a as o}from"./array-C0VuvQyb.js";function r(t){this._context=t}function u(t){return new r(t)}function l(t){return t[0]}function s(t){return t[1]}function c(t,n){var r=e(!0),c=null,f=u,h=null,a=i(_);function _(i){var e,u,l,s=(i=o(i)).length,_=!1;for(null==c&&(h=f(l=a())),e=0;e<=s;++e)!(enull!==t&&Number.isFinite(t.x)&&Number.isFinite(t.y),p=c().defined(_).x(t=>t.x).y(t=>t.y).curve(y).digits(3),x=function(t,n,r){var f=null,h=e(!0),a=null,_=u,p=null,y=i(x);function x(i){var e,u,l,s,c,x=(i=o(i)).length,d=!1,v=new Array(x),g=new Array(x);for(null==a&&(p=_(c=y())),e=0;e<=x;++e){if(!(e=u;--l)p.point(v[l],g[l]);p.lineEnd(),p.areaEnd()}d&&(v[e]=+t(s,e,i),g[e]=+n(s,e,i),p.point(f?+f(s,e,i):v[e],r?+r(s,e,i):g[e]))}if(c)return p=null,c+""||null}function d(){return c().defined(h).curve(_).context(a)}return t="function"==typeof t?t:void 0===t?l:e(+t),n="function"==typeof n?n:e(void 0===n?0:+n),r="function"==typeof r?r:void 0===r?s:e(+r),x.x=function(n){return arguments.length?(t="function"==typeof n?n:e(+n),f=null,x):t},x.x0=function(n){return arguments.length?(t="function"==typeof n?n:e(+n),x):t},x.x1=function(t){return arguments.length?(f=null==t?null:"function"==typeof t?t:e(+t),x):f},x.y=function(t){return arguments.length?(n="function"==typeof t?t:e(+t),r=null,x):n},x.y0=function(t){return arguments.length?(n="function"==typeof t?t:e(+t),x):n},x.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:e(+t),x):r},x.lineX0=x.lineY0=function(){return d().x(t).y(n)},x.lineY1=function(){return d().x(t).y(r)},x.lineX1=function(){return d().x(f).y(n)},x.defined=function(t){return arguments.length?(h="function"==typeof t?t:e(!!t),x):h},x.curve=function(t){return arguments.length?(_=t,null!=a&&(p=_(a)),x):_},x.context=function(t){return arguments.length?(null==t?a=p=null:p=_(a=t),x):a},x}().defined(_).x(t=>t.x).y0(r).y1(t=>t.y).curve(y).digits(3);return t.jsxs("g",{children:[t.jsx("path",{d:x(n)??void 0,stroke:"none",fill:`url(#${h})`,fillOpacity:.6}),t.jsx("path",{className:"rp-area-curve",d:p(n)??void 0,stroke:f,strokeWidth:a,fill:"none"})]})});export{d as C,x as G}; diff --git a/assets/BackendText-CxshqKrW.js b/assets/BackendText-CxshqKrW.js new file mode 100644 index 00000000..ae21efb8 --- /dev/null +++ b/assets/BackendText-CxshqKrW.js @@ -0,0 +1 @@ +import{j as r,r as s}from"./vendor-react-64fcanlc.js";import{u as e}from"./index-C4UFgHia.js";import{D as t}from"./logs-j0cmmcZI.js";function n({texts:n}){const o=e();return n?.length?r.jsx(t,{flush:!0,title:o("config.backendText"),children:n.map((e,t)=>r.jsxs(s.Fragment,{children:[t>0&&r.jsx("br",{}),r.jsx("code",{children:e})]},t))}):null}export{n as B}; diff --git a/assets/CardView-f0UIkdtH.js b/assets/CardView-f0UIkdtH.js new file mode 100644 index 00000000..8f598daf --- /dev/null +++ b/assets/CardView-f0UIkdtH.js @@ -0,0 +1 @@ +import{j as e}from"./vendor-react-64fcanlc.js";import{a,$ as s}from"./GridList-Cq8h6RdG.js";import{T as i,cB as r,u as t,S as c,am as l}from"./index-C4UFgHia.js";function n({label:a,items:i,selected:r,onSelect:n,loading:d,empty:o,children:m}){const p=t();return e.jsx(s,{className:"rp-cardview","aria-label":a,layout:"grid",items:i,dependencies:[m],selectionMode:"single",selectionBehavior:"replace",disallowEmptySelection:!0,selectedKeys:r?[r]:[],onSelectionChange:e=>{if("all"===e)return;const a=[...e][0];null!=a&&n(String(a))},renderEmptyState:()=>d?e.jsx(c,{shape:"cards",count:3,height:228,grid:!0,typical:!0}):e.jsx(l,{children:o??p("ui.empty")}),children:m})}function d({id:s,title:t,titleFull:c,meta:l,actions:n,children:d}){return e.jsxs(a,{id:s,textValue:t,className:r("rp-cardview-card"),children:[e.jsxs("div",{className:"rp-cardview-head",children:[e.jsx(i,{className:"rp-cardview-title",text:c,children:t}),n&&e.jsx("span",{className:"rp-cardview-actions",children:n})]}),l&&e.jsx("div",{className:"rp-cardview-meta",children:l}),d]})}export{d as C,n as a}; diff --git a/assets/ChainFields-BAItfFQK.js b/assets/ChainFields-BAItfFQK.js new file mode 100644 index 00000000..c0252183 --- /dev/null +++ b/assets/ChainFields-BAItfFQK.js @@ -0,0 +1 @@ +import{j as s}from"./vendor-react-64fcanlc.js";import{u as e,bR as o,B as r,bG as n,aL as a}from"./index-C4UFgHia.js";import{S as i}from"./SearchSelect-CSXz7lhe.js";import{A as l}from"./AddCircle-qKwVDZ__.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./Select-W-Xrx6y6.js";import"./ItemText-B5OxI5lS.js";import"./SearchList-D75Ie4nx.js";import"./Virtualizer-tkoH0e4V.js";const t=2,p=4;function c({name:c,nameError:d,hops:m,hopErrors:h,choices:j,isDisabled:x,onName:b,onHops:u}){const C=e(),y=(s,e)=>{const o=[...m];[o[s],o[e]]=[o[e],o[s]],u(o)},D=m.length<=t;return s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"rp-label",children:C("nodes.proxyChain.help")}),s.jsx(o,{error:d,isDisabled:x,label:C("ui.name"),value:c,onChange:b}),m.map((e,o)=>{const l=o+1,t=o===m.length-1;return s.jsx(i,{label:C("nodes.proxyChain.hop",{n:l}),searchLabel:C("nodes.search"),placeholder:C("nodes.proxyChain.pickHop"),sections:[{id:"nodes",items:j}],value:e,error:h[o],isDisabled:x,onChange:s=>u(m.map((e,r)=>r===o?s:e)),action:s.jsxs(s.Fragment,{children:[s.jsx(r,{quiet:!0,icon:!0,label:C("nodes.proxyChain.moveUp",{n:l}),isDisabled:x||0===o,onPress:()=>y(o,o-1),children:s.jsx(n,{className:"rp-up"})}),s.jsx(r,{quiet:!0,icon:!0,label:C("nodes.proxyChain.moveDown",{n:l}),isDisabled:x||t,onPress:()=>y(o,o+1),children:s.jsx(n,{})}),s.jsx(r,{quiet:!0,icon:!0,label:C("nodes.proxyChain.removeHop",{n:l}),isDisabled:x||D,onPress:()=>u((s=>m.filter((e,o)=>o!==s))(o)),children:s.jsx(a,{})})]})},o)}),s.jsx("span",{className:"rp-cluster",children:s.jsxs(r,{secondary:!0,isDisabled:x||m.length>=p,onPress:()=>u([...m,""]),children:[s.jsx(l,{}),C("nodes.proxyChain.addHop")]})})]})}export{c as ChainFields}; diff --git a/assets/Checkbox-CUoHrzuV.js b/assets/Checkbox-CUoHrzuV.js new file mode 100644 index 00000000..8ac38113 --- /dev/null +++ b/assets/Checkbox-CUoHrzuV.js @@ -0,0 +1 @@ +import{r as s,j as e}from"./vendor-react-64fcanlc.js";import{g as a}from"./useGridSelectionCheckbox-D0fV1e0v.js";import{C as i}from"./ItemText-B5OxI5lS.js";import{dB as r}from"./index-C4UFgHia.js";function d({label:d,description:o,isSelected:l,onChange:c,isDisabled:n,slot:t}){const p=s.useId(),m=s.useId(),x=r({isDisabled:n});return e.jsxs(a,{className:"rp-radio rp-checkbox",slot:t,isSelected:l,onChange:c,isDisabled:x.isDisabled,"aria-labelledby":d?p:void 0,"aria-describedby":o?m:void 0,children:[e.jsx("span",{className:"rp-checkbox-mark",children:e.jsx(i,{})}),d&&e.jsxs("span",{className:"rp-radio-text",children:[e.jsx("span",{id:p,children:d}),o&&e.jsx("span",{id:m,className:"rp-note",children:o})]})]})}export{d as C}; diff --git a/assets/CheckboxSet-BThgrv4U.js b/assets/CheckboxSet-BThgrv4U.js new file mode 100644 index 00000000..86f3e45e --- /dev/null +++ b/assets/CheckboxSet-BThgrv4U.js @@ -0,0 +1 @@ +import{j as e,r as s}from"./vendor-react-64fcanlc.js";import{I as i,cO as l,cA as a,B as r,cq as n}from"./index-C4UFgHia.js";import{C as c}from"./Checkbox-CUoHrzuV.js";function d(s){return e.jsx(i,{...s,children:e.jsx("path",{fill:"currentColor",d:"M17.78 1.757C16.51.716 14.555.858 13.33 2.08L3.079 12.334c-.32.32-.559.717-.69 1.15l-1.384 4.584c-.08.265-.007.552.188.747.142.143.334.22.53.22q.11 0 .217-.032l4.582-1.384c.434-.13.832-.368 1.151-.688L18.028 6.575c.648-.647.993-1.545.948-2.46s-.482-1.775-1.195-2.358M2.846 17.163l.98-3.246q.042-.135.113-.257l2.41 2.409q-.123.07-.259.114zM16.966 5.516l-9.525 9.526-2.475-2.476 9.425-9.425c.386-.387.896-.586 1.39-.586.38 0 .752.119 1.05.362.392.321.621.772.646 1.272.025.494-.161.977-.51 1.327"})})}function o({children:s}){return e.jsx(n,{children:s})}function t({children:s,negate:i,onNegate:n,negateLabel:c,removeLabel:d,onRemove:t,isDisabled:b,removeDisabled:h}){return e.jsxs(l,{children:[s,e.jsxs(o,{children:[e.jsx(a,{isDisabled:b,isSelected:i,onChange:n,children:c}),e.jsx("span",{className:"rp-grow"}),e.jsx(r,{small:!0,isDisabled:b||h,onPress:t,children:d})]})]})}function b({label:i,hideLabel:l=!1,items:a,value:r,onChange:n,isDisabled:d}){const o=s.useId();return e.jsxs("div",{className:"rp-checkbox-set",role:"group","aria-labelledby":o,children:[e.jsx("span",{id:o,className:"rp-label",hidden:l,children:i}),e.jsx("div",{className:"rp-checkbox-options",children:a.map(s=>e.jsx(c,{label:s.label,description:s.description,isSelected:r.includes(s.id),isDisabled:d||s.isDisabled,onChange:e=>n(e?[...r,s.id]:r.filter(e=>e!==s.id))},s.id))})]})}export{b as C,d as E,t as a,o as b}; diff --git a/assets/CodeEditor-Cb8XCLWG.js b/assets/CodeEditor-Cb8XCLWG.js new file mode 100644 index 00000000..0f0613b4 --- /dev/null +++ b/assets/CodeEditor-Cb8XCLWG.js @@ -0,0 +1 @@ +import{r as e,j as r}from"./vendor-react-64fcanlc.js";import{bY as t,gS as o,bX as n,fD as a,bB as c,u as s,cq as i,dL as l,B as d,cG as p,cJ as m}from"./index-C4UFgHia.js";import{S as u,a as f,E as g,C as b,b as v,l as h,c as x,h as y,d as k,r as w,e as j,f as C,g as R,i as A,j as L,s as E,k as M,t as S,m as B,n as D,o as F,p as N,q as O,u as $,v as q,w as I,x as T,y as H,z as V,D as G,R as K,A as W,B as z,F as P,G as U,H as J,I as X,J as Y,K as Z,L as _}from"./vendor-editor-50h2cCk6.js";import{d as Q,s as ee}from"./daeTokens-BVtuNnWZ.js";import{s as re}from"./nodes-BXUOUiP2.js";import{M as te}from"./AppearanceControls-I4PvP9Es.js";import{n as oe,A as ne}from"./logs-j0cmmcZI.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./index-DUM-iwa2.js";import"./ItemText-B5OxI5lS.js";import"./Select-W-Xrx6y6.js";const ae=u.define({name:"dae",languageData:{commentTokens:{line:"#"},closeBrackets:{brackets:["(","{","'",'"']}},startState:ee,token:Q}),ce=["global","subscription","node","group","dns","routing"].map(e=>({label:e,type:"keyword"})),se=n.map(e=>({label:e,type:"property",apply:e+": "})),ie=["domain","dip","sip","dport","sport","l4proto","ipversion","pname","mac","dscp","qname","qtype","upstream"].map(e=>({label:e,type:"function",apply:e+"("})),le=["geosite","geoip","suffix","full","keyword","regex"].map(e=>({label:e,type:"constant",apply:e+":"})),de=o.map(e=>({label:e,type:"constant"})),pe=t.map(e=>({label:e,type:"keyword"})),me=["asis","reject"].map(e=>({label:e,type:"keyword"})),ue=["accept","reject"].map(e=>({label:e,type:"keyword"})),fe=[{label:"fallback",type:"keyword",apply:"fallback: "},{label:"include",type:"keyword",apply:"include "}],ge=e=>e.map(e=>({label:e.name,apply:e.written,type:"variable"}));function be(e){return f({override:[r=>function(e,r){const t=e.matchBefore(/[\w.-]*/);if(!t)return null;const o=e.state.doc.lineAt(e.pos),n=o.text.slice(0,e.pos-o.from),a=/->\s*[\w.-]*$/.test(n)||/^\s*fallback:\s*[\w.-]*$/.test(n);if(t.from===t.to&&!e.explicit&&!a)return null;const c=e.state.doc.sliceString(0,e.pos),{blocks:s,tokens:i}=re(c),l=i.at(-1);if(l?.to===e.pos&&("quoted"===l.kind||"comment"===l.kind))return null;const d=[],p=r=>r.close===e.pos;for(let f=s.find(p);f;f=f.children.find(p))d.push(f.name);const m=d[0];let u;if(a){const{groups:e,upstreams:t}=r();u="dns"!==m?[...ge(e),...pe]:[...ge(t),...d.includes("response")?ue:me]}else if(/\b(domain|dip|sip|qname)\(\s*[\w.-]*$/.test(n))u=le;else if(void 0===m)u=ce.map(e=>({...e,apply:(r,t,o,n)=>{const a=e.label+" {\n \n}";r.dispatch({changes:{from:o,to:n,insert:a},selection:{anchor:o+e.label.length+4}})}}));else if("routing"===m||"dns"===m)u=[...ie,...fe];else if("global"===m)u=se;else{if("group"!==m)return null;u=/\bpolicy\s*:\s*[\w.-]*$/.test(n)?de:[...de.map(e=>({...e,apply:"policy: "+e.label})),{label:"filter",type:"property",apply:"filter: "}]}return{from:t.from,options:u,validFor:/^[\w.-]*$/}}(r,e)]})}function ve(e){let r=!1;const t=r=>(r.state.readOnly&&e(),!1);return g.domEventHandlers({keydown:(e,r)=>function(e){return"Backspace"===e.key||"Delete"===e.key||"Enter"===e.key||1===[...e.key].length&&!e.ctrlKey&&!e.metaKey}(e)&&t(r),paste:(e,r)=>t(r),cut:(e,r)=>t(r),pointerdown:e=>(r="touch"===e.pointerType,!1),click:(e,o)=>r&&t(o)})}const he=[["Completions","cm.completions"],["Find","cm.find"],["Replace","cm.replace"],["next","cm.next"],["previous","cm.previous"],["all","cm.all"],["match case","cm.matchCase"],["regexp","cm.regexp"],["by word","cm.byWord"],["replace","cm.replaceOne"],["replace all","cm.replaceAll"],["close","ui.close"],["Go to line","cm.gotoLine"],["go","cm.go"],["current match","cm.currentMatch"],["replaced $ matches","cm.replacedMatches"],["replaced match on line $","cm.replacedOnLine"],["on line","cm.onLine"],["Selection deleted","cm.selectionDeleted"],["Control character","cm.controlCharacter"]],xe=e=>v.phrases.of(Object.fromEntries(he.map(([r,t])=>[r,e(t)]))),ye=g.theme({"&":{backgroundColor:"var(--rp-base)",color:"var(--rp-text)",border:"1px solid var(--rp-hl-high)",borderRadius:"var(--rp-r-md)",fontSize:"var(--rp-text-sm)"},"&.cm-focused":{outline:"none",borderColor:"var(--rp-text)"},".cm-scroller":{fontFamily:"var(--rp-font-mono)",lineHeight:"var(--rp-line-body)",fontVariantLigatures:"none",borderRadius:"calc(var(--rp-r-md) - 1px)"},".cm-content":{padding:"var(--rp-space-2) 0",caretColor:"var(--rp-text)"},".cm-line":{padding:"0 var(--rp-space-3)"},".cm-gutters":{backgroundColor:"var(--rp-base)",color:"var(--rp-muted)",border:"none"},".cm-lineNumbers .cm-gutterElement":{padding:"0 var(--rp-space-2) 0 var(--rp-space-3)",minWidth:"40px"},".cm-activeLine, .cm-focusLine":{backgroundColor:"color-mix(in srgb, var(--rp-hl-med) 60%, transparent)"},".cm-activeLineGutter":{backgroundColor:"transparent",color:"var(--rp-text)"},".cm-selectionBackground, &.cm-focused .cm-selectionBackground, ::selection":{backgroundColor:"var(--rp-hl-high)"},".cm-cursor":{borderLeftColor:"var(--rp-text)"},".cm-matchingBracket":{backgroundColor:"color-mix(in srgb, var(--rp-accent) 20%, transparent)",outline:"none"},".cm-selectionMatch":{backgroundColor:"color-mix(in srgb, var(--rp-notice) 25%, transparent)"},".cm-gutter-lint":{width:"12px"},".cm-gutter-lint .cm-gutterElement":{padding:"0"},".cm-lint-marker":{width:"8px",height:"8px",margin:"6px 2px",borderRadius:"50%"},".cm-lint-marker-error":{content:"none",backgroundColor:"var(--rp-negative)"},".cm-lint-marker-warning":{content:"none",backgroundColor:"var(--rp-notice)"},".cm-lint-marker-info":{content:"none",backgroundColor:"var(--rp-foam)"},".cm-tooltip.cm-tooltip-lint":{backgroundColor:"var(--rp-text)",color:"var(--rp-on-text)",border:"none",borderRadius:"var(--rp-r-sm)",padding:"var(--rp-space-half) 0"},".cm-tooltip-lint .cm-diagnostic":{border:"none",padding:"var(--rp-space-half) var(--rp-space-2)",fontSize:"var(--rp-text-xs)",lineHeight:"16px",fontFamily:"inherit"},".cm-tooltip-lint .cm-diagnosticText":{color:"inherit"},".cm-diag-line-error":{backgroundColor:"color-mix(in srgb, var(--rp-negative) 14%, transparent)"},".cm-diag-line-warning":{backgroundColor:"color-mix(in srgb, var(--rp-notice) 16%, transparent)"},".cm-diag-line-info":{backgroundColor:"color-mix(in srgb, var(--rp-foam) 14%, transparent)"},".cm-lintRange-error":{backgroundImage:"none",textDecoration:"underline wavy var(--rp-negative)",textUnderlineOffset:"3px"},".cm-lintRange-warning":{backgroundImage:"none",textDecoration:"underline wavy var(--rp-notice)",textUnderlineOffset:"3px"},".cm-lintRange-info":{backgroundImage:"none",textDecoration:"underline dotted var(--rp-foam)",textUnderlineOffset:"3px"},".cm-tooltip":{backgroundColor:"var(--rp-surface)",border:"1px solid var(--rp-hl-high)",borderRadius:"var(--rp-r-md)",color:"var(--rp-text)"},".cm-tooltip.cm-tooltip-autocomplete > ul > li[aria-selected]":{backgroundColor:"var(--rp-selected)",color:"var(--rp-text)"},".cm-tooltip.cm-tooltip-autocomplete > ul":{fontFamily:"var(--rp-font-mono)",fontVariantLigatures:"none"},".cm-panels":{backgroundColor:"var(--rp-surface)",color:"var(--rp-text)"},".cm-panels-bottom":{borderTop:"1px solid var(--rp-hl-med)"},".cm-textfield":{border:"1px solid var(--rp-hl-high)",borderRadius:"var(--rp-r-sm)",backgroundColor:"var(--rp-base)",color:"var(--rp-text)"},".cm-button":{border:"1px solid var(--rp-hl-high)",borderRadius:"var(--rp-r-sm)",backgroundImage:"none",backgroundColor:"var(--rp-overlay)",color:"var(--rp-text)"}}),ke=Z.define([{tag:_.comment,color:"var(--rp-code-comment)"},{tag:_.keyword,color:"var(--rp-code-keyword)",fontWeight:"700"},{tag:_.string,color:"var(--rp-code-string)"},{tag:_.number,color:"var(--rp-code-number)"},{tag:_.propertyName,color:"var(--rp-code-propertyName)"},{tag:_.variableName,color:"var(--rp-code-variableName)"},{tag:_.operator,color:"var(--rp-code-operator)"},{tag:_.punctuation,color:"var(--rp-code-punctuation)"}]),we=W.of((e,r)=>{const t=e.lineAt(r,-1),o=t.from>0?e.lineAt(t.from-1,-1):null;if(!o)return 0;const n=/^\s*/.exec(o.text)[0].length,a=/\{\s*(#.*)?$/.test(o.text),c=/^\s*\}/.test(t.text);return Math.max(0,n+(a?2:0)-(c?2:0))}),je=X.define(),Ce={error:G.line({class:"cm-diag-line cm-diag-line-error"}),warning:G.line({class:"cm-diag-line cm-diag-line-warning"}),info:G.line({class:"cm-diag-line cm-diag-line-info"})},Re=V.define({create:()=>G.none,update(e,r){let t=e.map(r.changes);for(const o of r.effects){if(!o.is(je))continue;const e=new K,n={error:0,warning:1,info:2},a=new Map;for(const t of o.value){if(t.line<1||t.line>r.state.doc.lines)continue;const e=a.get(t.line);(!e||n[t.level]e-r)){const o=r.state.doc.line(t).from;e.add(o,o,Ce[a.get(t).level])}t=e.finish()}return t},provide:e=>g.decorations.from(e)}),Ae=[{id:"undo",label:"cm.undo",run:T},{id:"redo",label:"cm.redo",run:H},{id:"comment",label:"cm.toggleComment",run:S}],Le=[],Ee=J.define(),Me=X.define(),Se=G.line({class:"cm-focusLine"}),Be=V.define({create:()=>G.none,update(e,r){let t=e.map(r.changes);for(const o of r.effects)o.is(Me)&&(t=G.set(Se.range(r.state.doc.line(o.value).from)));return t},provide:e=>g.decorations.from(e)}),De=e=>[v.readOnly.of(e),g.editable.of(!e),e?Be:[z(),P(),U()]];function Fe({value:t,onChange:o,readOnly:n=!1,marks:u=Le,focusLine:f,label:T,names:H,onSave:V,onReadOnlyAttempt:G,compact:K,actions:W=[],focusKey:z,banner:P}){const U=e.useRef(null),J=a(U,`${n} ${!!o} ${T}`),X=e.useRef(null);e.useLayoutEffect(()=>{J&&U.current?.contains(document.activeElement)&&X.current?.querySelector("button")?.focus()},[J]);const Z=e.useRef(null),{isFocusVisible:_}=c({isTextInput:!0}),Q=e.useRef(null),ee=e.useRef(null),re=e.useRef(o),ce=e.useRef(H),se=e.useRef(V),ie=e.useRef(G);e.useEffect(()=>{re.current=o,ce.current=H,se.current=V,ie.current=G});const le=e.useRef(new b),de=s(),pe=e.useRef(new b),me=e.useRef(new b),ue=e.useRef(new b);e.useLayoutEffect(()=>{const e=new g({parent:Z.current,state:v.create({doc:t,extensions:[h(),x(),g.scrollMargins.of(e=>{const r=Q.current?.getBoundingClientRect().bottom;return void 0===r?null:{top:Math.min(r,Math.max(0,r-e.scrollDOM.getBoundingClientRect().top))}}),y(),ue.current.of(k()),w(),Re,j(),C(),R(),A.of(" "),L(),we,be(()=>ce.current?.()??{groups:[],upstreams:[]}),ae,E(ke),ye,M.of([{key:"Mod-s",run:()=>(se.current?.(),!0)},{key:"Mod-/",run:S},{key:"Mod-g",run:B},...D,...F,...N,...O,...$,q]),le.current.of(De(n)),pe.current.of(xe(de)),me.current.of(g.contentAttributes.of({"aria-label":T,tabindex:"0"})),ve(()=>ie.current?.()),g.updateListener.of(e=>{e.docChanged&&!e.transactions.some(e=>e.annotation(Ee))&&re.current?.(e.state.doc.toString())})]})});return ee.current=e,()=>{e.destroy(),ee.current=null}},[]),e.useEffect(()=>{const e=ee.current;e&&e.dispatch({effects:le.current.reconfigure(De(n))})},[n]),e.useEffect(()=>{ee.current?.dispatch({effects:pe.current.reconfigure(xe(de))})},[de]),e.useEffect(()=>{ee.current?.dispatch({effects:me.current.reconfigure(g.contentAttributes.of({"aria-label":T,tabindex:"0"}))})},[T]),e.useEffect(()=>{const e=ee.current;e&&e.state.doc.toString()!==t&&(e.dispatch({changes:{from:0,to:e.state.doc.length,insert:t},annotations:Ee.of(!0),effects:ue.current.reconfigure([])}),e.dispatch({effects:ue.current.reconfigure(k())}))},[t]),e.useEffect(()=>{const e=ee.current;if(!e)return;const r=I(e.state,function(e,r){return r.filter(r=>r.line>=1&&r.line<=e.doc.lines).map(r=>{const t=e.doc.line(r.line),o=Math.max(0,(r.column??1)-1);let n=0;for(let e=0;no)break;e+=a,n+=r>65535?2:1}return{from:t.from+n,to:t.to,severity:r.level,message:r.message}})}(e.state,u)),t=Array.isArray(r.effects)?r.effects:r.effects?[r.effects]:[];e.dispatch({...r,effects:[...t,je.of(u)]})},[u]),e.useEffect(()=>{const e=ee.current;if(!e||!f||f<1||f>e.state.doc.lines)return;const r=e.state.doc.line(f);e.dispatch({selection:{anchor:r.from},effects:[Me.of(f),g.scrollIntoView(r.from,{y:"center"})]}),e.focus()},[f,z]);const fe=e=>{ee.current&&e(ee.current)},ge=J&&r.jsx("div",{className:"rp-editor-overflow",ref:X,children:r.jsx(oe,{actions:[{id:"find",label:de(n?"cm.find":"cm.findReplace"),onAction:()=>requestAnimationFrame(()=>fe(Y))},{id:"line",label:de("cm.gotoLine"),onAction:()=>requestAnimationFrame(()=>fe(B))},...o?Ae.map(e=>({id:e.id,label:de(e.label),isDisabled:n,onAction:()=>requestAnimationFrame(()=>fe(e.run))})):[]]})});return r.jsxs(r.Fragment,{children:[!K&&r.jsxs("div",{className:"rp-editor-head",ref:Q,children:[r.jsxs("div",{className:"rp-editor-toolbar",children:[W.length>0&&r.jsxs(i,{children:[r.jsx(l,{children:r.jsx(ne,{actions:W,overflowMode:"wrap"})}),ge]}),r.jsxs("div",{className:"rp-editor-actions","data-collapsed":J||void 0,"data-merged":J&&W.length>0||void 0,children:[r.jsxs(i,{ref:U,children:[r.jsx(d,{onPress:()=>fe(Y),children:de(n?"cm.find":"cm.findReplace")}),r.jsx(d,{onPress:()=>fe(B),children:de("cm.gotoLine")}),o&&r.jsx(te,{label:de("cm.commands"),isDisabled:n,content:r.jsx(p,{"aria-label":de("cm.commands"),onAction:e=>{const r=Ae.find(r=>r.id===e);r&&fe(r.run)},children:Ae.map(e=>r.jsx(m,{id:e.id,className:"rp-item plain",textValue:de(e.label),children:de(e.label)},e.id))}),children:de("cm.commands")})]}),0===W.length&&ge]})]}),P]}),r.jsx("div",{className:K?"rp-editor compact":"rp-editor",ref:Z,"data-keyboard":_||void 0})]})}export{Fe as CodeEditor}; diff --git a/assets/Config-BzyCN_Ax.js b/assets/Config-BzyCN_Ax.js new file mode 100644 index 00000000..8625b4f5 --- /dev/null +++ b/assets/Config-BzyCN_Ax.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./CodeEditor-Cb8XCLWG.js","./vendor-react-64fcanlc.js","./_commonjsHelpers-CXUWDbkB.js","./index-C4UFgHia.js","./index-CQHYBvmE.css","./vendor-editor-50h2cCk6.js","./index-DUM-iwa2.js","./daeTokens-BVtuNnWZ.js","./nodes-BXUOUiP2.js","./AppearanceControls-I4PvP9Es.js","./ItemText-B5OxI5lS.js","./logs-j0cmmcZI.js","./Select-W-Xrx6y6.js"])))=>i.map(i=>d[i]); +import{r as e,j as n}from"./vendor-react-64fcanlc.js";import{h as i,u as s,at as a,au as r,r as t,t as o,F as l,as as c,ck as d,w as u,cm as g,a4 as f,K as p,aR as m,ci as h,cV as b,dT as x,dU as v,a8 as j,a7 as y,ag as w,ar as k,J as N,cU as S,v as C,A as D,aY as T,B as O,aH as P,E as R,bq as _,am as E,bb as M,cO as A,m as F,C as H,c as L,bJ as W,dV as V,bQ as q,cq as I,bR as U,aE as K,dL as $,a as B,b as z,x as Q,z as X,cQ as Y,aK as J,c6 as G,aO as Z,p as ee,_ as ne,T as ie,dW as se,dX as ae,dY as re}from"./index-C4UFgHia.js";import{a as te,u as oe,y as le,c as ce,O as de,P as ue,B as ge,K as fe,D as pe,p as me,Q as he,S as be,L as xe}from"./logs-j0cmmcZI.js";import{T as ve}from"./Tabs-Kfe2CfSx.js";import{aS as je,a4 as ye,ac as we,aT as ke,z as Ne,aU as Se,aV as Ce,aa as De,aW as Te,D as Oe,a as Pe,aX as Re}from"./activity-C22CeO5G.js";import{s as _e,W as Ee,V as Me,g as Ae,r as Fe,as as He,at as Le,au as We,av as Ve,T as qe,aw as Ie}from"./nodes-BXUOUiP2.js";import{s as Ue,c as Ke,r as $e,a as Be,b as ze,d as Qe,e as Xe,f as Ye,g as Je,h as Ge,v as Ze,i as en,j as nn,k as sn,l as an,m as rn,n as tn,o as on,w as ln}from"./nav-DrWHp_dt.js";import{u as cn,c as dn}from"./flows-BfIUsgdd.js";import{d as un}from"./files-Dt8K7QfP.js";import{c as gn}from"./limitHint-DIncl1LE.js";import{D as fn}from"./Table-DotwWze-.js";import{T as pn}from"./TimeCell-xtED_iww.js";import{N as mn,t as hn}from"./NumberField-BGS5AF_x.js";import{A as bn}from"./AddCircle-qKwVDZ__.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./Select-W-Xrx6y6.js";import"./ItemText-B5OxI5lS.js";import"./AppearanceControls-I4PvP9Es.js";import"./useGridSelectionCheckbox-D0fV1e0v.js";import"./Virtualizer-tkoH0e4V.js";import"./Checkbox-CUoHrzuV.js";function xn(e,n,s,a="main"){if(!s.daeText)return[];const{blocks:r,tokens:t}=_e(e),o=s.globalSettings;return r.flatMap(s=>{if(s.name===o?.name){const a=r.filter(e=>e.name===o.name).indexOf(s),l=Ee(e,s,t);return l.filter(e=>1===l.filter(n=>n.name===e.name).length&&o.fields.some(n=>n.key===e.name)).map(r=>({kind:s.name,from:r.from,to:r.to,label:r.name,line:e.slice(0,r.from).split("\n").length,href:i("config",{tab:"global",source:n,section:String(a),field:r.name})}))}const l=Ue[s.name];return"subscription"===s.name?"main"!==a?[]:Me(e).filter(e=>e.from>s.open&&e.to<=s.close).map(e=>({kind:s.name,from:e.from,to:e.to,label:e.tag,line:e.line,href:i("nodes",{editSubscriptionTag:e.tag})})):"dns"===s.name?s.children.filter(e=>"routing"===e.name).flatMap(e=>e.children.filter(e=>"request"===e.name||"response"===e.name).map(e=>({kind:s.name,from:e.from,to:e.to,label:e.name,line:e.line+1,href:l}))):l?[{kind:s.name,from:s.from,to:s.to,label:s.name,line:s.line+1,href:l}]:[]})}const vn=()=>{};const jn=new Map;function yn({go:n,query:i}){const h=s(),b=a(),x=r[b],v=t(),j=v.data?.resources,y=oe(o(j,"config",{whileLoading:!0})),w=function(n){const i=s(),a=te(n),r=e.useMemo(()=>{const e=we(a.error);return e?e.diagnostics??[]:null},[a.error]);return e.useEffect(()=>{if(a.error)if(r){const e=ke(r);p("negative",e?i("config.writeRestart",{n:e}):i("ui.writeInvalid",{n:r.filter(e=>"error"===e.level).length}))}else m(a.error,i,i("ui.writeFailed"))},[a.error,r,i]),{...a,diagnostics:r}}(y.refetch),k=e.useMemo(()=>new URLSearchParams(i),[i]),N=e.useMemo(()=>y.data?.sources??[],[y.data]),S=N.find(e=>"main"===e.kind)??null,C=N.find(e=>e.id===k.get("source"))??N[0]??null,D=C?.id??null,T=(e,s)=>n("config",u(i,{tab:"source",source:e,line:null===s?null:String(s)})),O=Number(k.get("line"))||null,P=y.data?.diagnostics??[],R=e.useMemo(()=>{const e=y.data?.diagnostics??[];return{error:e.filter(e=>"error"===e.level).length,warning:e.filter(e=>"warning"===e.level).length}},[y.data]),_=o(j,"config_validate",{whileLoading:!1})&&(j?.config_validate.modes??[]).includes("full"),E=!0===j?.config.writable,M=le(N),A=l().data,F=e.useMemo(()=>Ae(A),[A]),H=Ke(!!F.globalSettings,c(A),v.data),L=v.data&&gn("config",v.data,A,h,b),W=C?$e(C,E,M(C),F,h,L):null,V=!!C&&!W,[q,I]=e.useState(jn),[U,K]=e.useState(null),$=U??R.error,B=k.has("source")||y.data&&void 0===S?.content?"source":"modules",z=d("validate"===k.get("tab")?u(i,{tab:"source"}):i,H.map(e=>e.id),B),Q=C?{source:C,sources:N,open:T,diagnostics:P,canValidate:_&&("main"===C.kind||"include"===C.kind),canWrite:V,readOnly:W,isComplete:M,editor:w,focusLine:O,generation:y.data?.generation_id??"",focusDiagnostics:"validate"===k.get("tab"),diagnosticsChoice:q.get(C.id)??null,chooseDiagnostics:e=>I(n=>new Map(n).set(C.id,e)),reportErrors:K}:null,X=!0===j?.config.create&&!0===j.config.writable?{sources:N,refetch:y.refetch,open:e=>T(e,null)}:null;return{error:v.error??y.error,reload:()=>{v.refetch(),y.refetch()},loading:y.loading&&!y.data,ready:!!y.data,tabsReady:!!y.data||H.some(e=>"history"===e.id),metadata:y.data?ze(y.data.revision,h):[],redacted:!!y.data?.secrets_redacted,tabs:H.map(e=>({id:e.id,label:"source"===e.id&&$?h("ui.aside",{text:h(e.titleKey),note:f($,x)}):h(e.titleKey)})),tab:z,setTab:e=>n("config",u(g(i,e,null),{field:null})),selectedId:D??"",select:e=>n("config",u(i,{source:e,line:null})),sourceProps:Q,newSourceProps:X,modulesProps:y.data?{config:y.data}:null,sourceModel:C?{...Be(C,x,h),readOnly:W}:null,sourceOptions:N.map(e=>{const n=Be(e,x,h);return{id:n.id,label:n.label,desc:n.kind}}),exportSource:()=>{C&&un(ye(C),C.content,"text/plain;charset=utf-8")},summaryTone:R.error?"err":R.warning?"warn":"ok",summaryText:R.error?h("config.errors",{n:R.error}):R.warning?h("config.warnings",{n:R.warning}):h("config.clean")}}function wn({source:n,sources:o,diagnostics:c,canValidate:d,canWrite:u,readOnly:g,isComplete:f,editor:m,focusLine:j,generation:y,open:w,diagnosticsChoice:k,chooseDiagnostics:N,reportErrors:S}){const C=s(),D=r[a()],T=Ae(l().data),O=t().data?.resources,P=cn(!!j&&!0===O?.rules.available).data,R=dn(!!j&&!0===O?.dns_rules.available).data,_=ce(!!j&&!0===O?.groups.available).data,E=j?Fe(n.content).find(e=>e.from=j-1):void 0,M=E&&Ne(_,E.name),A=P?.rules.find(e=>e.source?.source_id===n.id&&e.source.line===j),F=R?.request.some(e=>e.source?.source_id===n.id&&e.source.line===j)?"request":"response",H=R?.[F].find(e=>e.source?.source_id===n.id&&e.source.line===j),[L,W]=e.useState(null),[V,q]=e.useState(null),[I,U]=e.useState(null),K=u&&!0===f(n),$=e.useRef(!1),B=m.errorSource===n.id?m.diagnostics:null,z=e.useMemo(()=>B??V??(L?[]:c),[B,V,L,c]);h(y,()=>q(null));const Q=e.useMemo(()=>Qe(z,n.id,C),[z,n.id,C]),X=L?.text??n.content??"",Y={id:n.id,content:X},[J,G]=e.useState(null),Z=e.useRef(0),ee=e=>G(null===e?null:{line:e,key:++Z.current});h(j,()=>G(null));const ne=null!==L&&L.text!==n.content,ie=ne&&L.origin.content_sha256!==n.content_sha256,se=b(ne,()=>{W(null),q(null)},"config.draftConfig");e.useEffect(()=>m.cancel,[m.cancel,se.revision]);const ae=L?.text,re=function(n,i,s){const a=s?.id,r=s?.content;return e.useMemo(()=>{const e=n.filter(e=>"main"===e.kind||"include"===e.kind);return e.some(e=>void 0===i(e))?null:je(e.filter(e=>i(e)),void 0!==a&&void 0!==r?{id:a,content:r}:void 0)},[n,i,a,r])}(o,f,{id:n.id,content:X});!function(n,i){const{validate:s,cancel:a}=te(vn);e.useEffect(()=>{if(!n)return;let e=!0;const r=setTimeout(()=>{s({sources:n,mode:"full"}).then(n=>{e&&n&&i(n.diagnostics)})},600);return()=>{e=!1,clearTimeout(r),a()}},[n,s,a,i])}(d&&void 0!==ae?re:null,q);const oe=(e,i=!0)=>{q(e.diagnostics);const s=e.diagnostics.find(e=>e.source_id===n.id&&"error"===e.level&&null!==e.line);ee(s?s.line:null);const a=Se(e.diagnostics),r=a.length>0&&Te(a,re??[]).length===a.length;return e.valid?i&&p("positive",C("config.valid")):p("negative",a.length>0?C(r?"config.writeRestartAbsent":"config.writeRestart",{n:a.length}):C("config.invalid",{n:e.diagnostics.filter(e=>"error"===e.level).length})),e.valid},le=()=>{m.cancel(),W(null),q(null),U(null)},de=g?()=>{$.current||($.current=!0,p("info",C("config.readOnlyAttempt"),{detail:g.note}))}:void 0,ue=Be(n,D,C),ge=null!==V||null!==B,fe=e.useMemo(()=>Xe(z,o,D,C,n.id),[z,o,D,C,n.id]),pe=Ye(fe),[me,he]=e.useState("all"),be=Je(fe,me),xe=ne&&!ge;return e.useEffect(()=>S(xe?null:pe.errors),[S,xe,pe.errors]),e.useEffect(()=>()=>S(null),[S]),{writable:K,links:M?[{from:0,to:0,line:j,label:E.name,href:x("policies",M)}]:A||H?[{from:0,to:0,line:j,label:A?.expression??H.expression,href:i("rules",{tab:A?"list":"dns",view:A?"advanced":null,edit:A?.rule_id??H.rule_id,list:A?null:F})}]:xn(X,n.id,T,n.kind),note:g?.note??C(d?"config.editNoteValidate":"config.editNote"),refused:de,diagnostics:{rows:be.rows,errors:pe.errors,warnings:pe.warnings,level:be.level,setLevel:e=>he(e),levels:[["all",C("ui.allCount",{n:pe.errors+pe.warnings+pe.infos})],["error",C("config.levelErrors",{n:pe.errors})],["warning",C("config.levelWarnings",{n:pe.warnings})],["info",C("config.levelInfo",{n:pe.infos})]],scope:ne?C("config.draftDiagnostics"):ge?C("config.fileDiagnostics"):C("config.acceptedDiagnostics",{generation:y}),scopeHelp:ne||ge?void 0:{title:C("ui.generation"),text:C("ui.generationHelp")},quiet:xe?C("config.draftPending"):fe.length?null:C("config.clean"),open:nn(pe.errorKeys,k),setOpen:e=>N({open:e,errorKeys:pe.errorKeys}),go:e=>{"jump"===e.action?ee(e.line):"open"===e.action&&w(e.sourceId,e.line)}},restart:ne?Se(B??I??[]):[],restartCommand:T.restartCommand,marks:Q,text:X,names:()=>({groups:De(o,Y),upstreams:Ce(o,Y)}),focus:J?.line??j,focusKey:J?.key??0,dirty:ne,conflict:ie?C("config.changedOnDisk"):null,keep:()=>W(e=>e&&{...e,origin:n}),validate:async()=>{if(!re)return!1;const e=await m.validate({sources:re,mode:"full"});return!!e&&oe(e)},save:async()=>{if(null===L||m.busy||!K||ie)return;U(null);const e=await m.apply(L.origin,L.text);if(q(null),e){if(e.diagnostics)return U(e.diagnostics),void oe({valid:!1,diagnostics:e.diagnostics},!1);p("positive",C("config.saved",{path:Be(n,D,C).label})),se.clear(),W(null)}},cancel:le,change:e=>{m.cancel(),e===n.content?le():(q(null),U(null),W(i=>({text:e,origin:i?.origin??n})))},view:ue,busy:!!m.busy,validating:"validate"===m.busy,saving:"save"===m.busy,saveButton:ie?{disabled:!0,tip:C("config.changedOnDisk")}:en(m.busy,K,g?.note??null,v,C),validateDisabled:!!m.busy||!re,reason:ne?!K&&g?g.note:"validate"===m.busy?C("config.saveValidating"):Ge({busy:!!m.busy,conflict:!!ie},C):d&&!m.busy?Ze(re,o,f,C):null}}function kn(){const n=s(),i=r[a()],o=w(),d=t().data,u=c(l().data),g=k(u,d),h=oe(!0===d?.resources.config.available),b=de(u,g.revisions),x=ue(u),v=N(),O=S();e.useEffect(()=>()=>O.next(),[O]);const[P,R]=e.useState(null),[_,E]=e.useState(null),M=_&&{..._,...x.pending},[A,F]=e.useState(null),[H,L]=e.useState([]),W=function(e,n,i,s,a,r){const t=!1===n?.recorded;return{unrecorded:t,headNumber:null==r?void 0:f(r,s),rows:(e?.revisions??[]).map(n=>({...n,id:String(n.revision),number:f(n.revision,s),head:n.revision===e?.active,canRestore:i&&(n.revision!==e?.active||t),originText:"import"===n.origin?a("config.revisions.origin.import"):"write"===n.origin?a("config.revisions.origin.write"):"activate"===n.origin?a("config.revisions.origin.activate"):n.origin,size:y(n.bytes,s),metadata:[[a("config.revisions.revision"),f(n.revision,s)],[a("config.revisions.createdAt"),j(n.created_at,s)],[a("config.revisions.parent"),null===n.parent?"—":f(n.parent,s)],[a("config.revisions.principal"),n.principal],[a("config.revisions.hash"),n.content_sha256]]}))}}(b.data,u?.store(h.data),g.canActivate,i,n,M?.head),V=W.rows.find(e=>e.id===P),q=W.rows.find(e=>e.revision===M?.revision),I=()=>{O.next(),E(null)},U=async(e=!1)=>{if(!M||x.busy||(e?!x.pending:x.pending))return;const i=O.start();F(null),L([]);try{const s=e?await x.reread():await x.apply(M.revision,g.replaceRequired,M.head);if(w()!==o||!s)return;if("changed"in s)return void(i()&&(E({revision:M.revision,head:s.changed}),F({id:Date.now(),text:n("config.revisions.changed")})));p("positive",n(null===M.revision?"config.backup.imported":"config.revisions.restored")),i()&&I()}catch(s){if(w()!==o)return;if(m(s,n,n("ui.writeFailed")),i()){if(s instanceof C&&"ui.operationUnknown"===s.key)return;const e=(s instanceof D||s instanceof C?s.details:null)?.diagnostics;L(e??[]);const i=ke(e??[]);F({id:Date.now(),text:i?n("config.writeRestart",{n:i}):T(s,n)})}}};return{management:g,list:b,view:W,detail:V,selected:P,setSelected:R,confirmation:M,target:q,problem:A,diagnostics:Xe(H,[],i,n),busy:!!x.busy,confirmDisabled:!!M?.operation||(null===M?.revision?!g.import:!q?.canRestore),show:e=>{O.next(),F(null),L([]),E(x.pending?{revision:x.pending.revision,head:x.pending.head}:{revision:e,head:b.error?void 0:b.data?.active})},close:I,submit:()=>U(),reread:()=>U(!0),exporting:!!v.busy,exportError:v.error,export:async()=>{if(!u)return;const e=await v.run("export",e=>o.exportConfig(u,e));e&&w()===o&&un(e.filename,e.content,e.contentType)}}}function Nn(){const e=s(),i=kn();return n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:"rp-cluster",children:[i.management.export&&n.jsxs(O,{onPress:()=>{i.export()},isPending:i.exporting,children:[n.jsx(Oe,{}),e("config.backup.export")]}),i.management.import&&n.jsx(O,{onPress:()=>i.show(null),children:e("config.backup.import")}),(i.management.export||i.list.data)&&n.jsx(P,{title:e("config.tabHistory"),text:[...i.management.export?[e("config.backup.exportHelp")]:[],...i.list.data?[e("config.revisions.retention",{n:i.list.data.max_revisions})]:[]]})]}),n.jsx(R,{error:i.exportError,message:n=>e("config.backup.exportFailed",{error:n})}),i.view.unrecorded&&n.jsx(_,{tone:"informative",children:e("config.revisions.unrecorded")}),i.management.revisions&&n.jsxs(n.Fragment,{children:[n.jsx(R,{error:i.list.error,onRetry:i.list.refetch}),(i.list.data||i.list.loading)&&n.jsx(n.Fragment,{children:i.view.rows.length||!i.list.data?n.jsx(fn,{label:e("config.tabHistory"),rows:i.view.rows,fit:!0,loading:i.list.loading,selected:i.selected,onSelect:i.setSelected,rowDetail:!0,cols:[{id:"revision",label:e("config.revisions.revision"),minWidth:160,isRowHeader:!0,render:i=>n.jsxs("span",{className:"rp-cluster",children:[i.number,i.head&&n.jsx(ge,{children:e("config.revisions.head")})]})},{id:"created",label:e("config.revisions.createdAt"),minWidth:150,render:e=>n.jsx(pn,{at:e.created_at})},{id:"origin",label:e("config.revisions.origin"),minWidth:110,render:e=>e.originText},{id:"size",label:e("config.revisions.bytes"),minWidth:100,render:e=>e.size}]}):n.jsx(E,{children:e("config.revisions.empty")})})]}),n.jsx(M,{title:e("config.revisions.details"),isOpen:!!i.detail,onOpenChange:e=>{e||i.setSelected(null)},scrollBody:!0,footer:s=>n.jsxs(n.Fragment,{children:[n.jsx(O,{onPress:s,children:e("ui.close")}),i.management.canActivate&&n.jsx(O,{isDisabled:!i.detail?.canRestore,onPress:()=>{i.show(i.detail.revision),i.setSelected(null)},children:e("config.revisions.restore")})]}),children:i.detail&&n.jsxs(n.Fragment,{children:[n.jsx(fe,{items:i.detail.metadata}),n.jsx(A,{title:e("config.revisions.sources"),children:i.detail.sources.map((i,s)=>n.jsx(fe,{items:[[e("config.source"),i.path],[e("config.revisions.hash"),i.sha256]]},s))})]})}),n.jsxs(F,{title:null===i.confirmation?.revision?e("config.backup.importTitle"):e("config.revisions.restoreTitle",{revision:i.target?.number??""}),isOpen:!!i.confirmation,onCancel:i.close,onConfirm:()=>{i.submit()},isPending:i.busy,isDisabled:i.confirmDisabled,confirmLabel:e(null===i.confirmation?.revision?"config.backup.import":"config.revisions.restore"),error:i.problem,scrollBody:!0,children:[n.jsx("p",{children:null===i.confirmation?.revision?e("config.backup.importHelp"):e("config.revisions.restoreHelp")}),i.target&&n.jsx(fe,{items:i.target.metadata.slice(0,2)}),void 0!==i.view.headNumber&&n.jsx(fe,{items:[[e("config.revisions.head"),i.view.headNumber]]}),i.confirmation?.operation&&!i.busy&&n.jsxs(_,{tone:"informative",children:[n.jsx("p",{children:e("ui.operationUnknown")}),n.jsx(O,{onPress:()=>{i.reread()},children:e("ui.refresh")})]}),i.diagnostics.length>0&&n.jsx(fn,{label:e("config.diagnostics"),rows:i.diagnostics,fit:!0,cols:[{id:"message",isRowHeader:!0,label:e("config.diagnostics"),minWidth:220,text:"wrap",render:i=>n.jsxs("span",{children:[i.text,i.backend&&i.backend!==i.message&&n.jsx(pe,{flush:!0,title:e("config.backendText"),children:n.jsx("code",{children:i.backend})})]})}]})]})]})}function Sn({config:i}){const a=s(),r=l().data,t=e.useMemo(()=>Ae(r),[r]);return n.jsx("div",{className:"rp-page",children:sn(i.sources,t,a).map(e=>n.jsxs(H,{"aria-label":e.kind,children:[n.jsxs("div",{className:"rp-row",children:[n.jsxs("span",{className:"rp-cluster",children:[n.jsx("h2",{className:"rp-h3 rp-code",children:e.kind}),n.jsx("span",{className:"rp-label rp-code",children:e.range})]}),e.href&&n.jsx(L,{appearance:"button",href:e.href,children:a("config.moduleOpen")})]}),n.jsx("span",{className:"rp-label",children:e.note??e.summary})]},e.id))})}function Cn({settings:e,sources:i,command:r}){const t=s(),o=a();return n.jsx(_,{takeFocus:!0,title:t("config.restart.title",{n:e.length}),action:n.jsxs(n.Fragment,{children:[n.jsx("span",{children:t("config.restart.planned")}),e.map(({key:e,sourceId:s,line:a},r)=>{const o=i.find(e=>e.id===s);return n.jsxs("span",{children:[e&&n.jsx("code",{className:"rp-code",children:e})," ",t("config.restart.effect"),null!==a&&o&&n.jsxs("span",{className:"rp-label",children:[" ",`${ye(o)}:${a}`]})]},r)}),n.jsx("span",{children:t("config.restart.next")}),r&&n.jsxs("span",{className:"rp-cluster",children:[n.jsx("code",{className:"rp-code rp-limit-snippet",children:r}),n.jsx(O,{small:!0,onPress:()=>{(async e=>{const n=await V(e);p(n?"positive":"negative",t(n?"config.restart.copied":"config.restart.copyFailed"))})(r)},children:t("config.restart.copy")})]}),n.jsxs(L,{appearance:"link",external:!0,href:W(o,"reload-and-restart"),children:[t("config.restart.docs"),n.jsx("span",{"aria-hidden":"true",children:"↗"})]})]}),children:t("config.restart.body")})}function Dn({groups:e}){const i=s();return n.jsx("div",{className:"rp-page",children:n.jsxs(B,{children:[n.jsx(I,{page:!0,children:n.jsx("span",{className:"rp-cluster nowrap rp-source-pick",children:n.jsx(z,{width:240})})}),n.jsx("span",{className:"rp-label",children:i("config.globalNote")}),e.map(e=>n.jsx(H,{title:e.title,children:n.jsx(I,{className:"top rp-fieldgrid",children:e.fields.map(e=>n.jsxs("div",{className:"rp-field",inert:!0,"aria-hidden":"true",children:[n.jsx("span",{className:"lbl",children:e.label}),n.jsx(z,{}),n.jsx("span",{className:"rp-label rp-code",children:e.key}),e.hint&&n.jsx("span",{className:"rp-label",children:e.hint})]},e.key))})},e.id)),n.jsx(I,{page:!0,children:n.jsx(z,{width:96})})]})})}function Tn(i){const a=s(),r=function({query:n,go:i}){const a=s(),r=t().data?.resources,c=o(r,"config",{whileLoading:!1}),d=oe(c),g=l().data,f=Ae(g),m=f.globalSettings,h=e.useMemo(()=>d.data?.sources??[],[d.data?.sources]),x=le(h),v=e.useMemo(()=>new URLSearchParams(n),[n]),j=h.filter(e=>"main"===e.kind||"include"===e.kind).flatMap(e=>{const n=_e(e.content).blocks.filter(e=>e.name===m?.name);return(n.length?n:"main"===e.kind?[null]:[]).map((n,i)=>({id:`${e.id}:${i}`,source:e,block:n,index:i,label:`${ye(e)}:${n?n.line+1:1}`}))}),y=j.find(e=>e.source.id===v.get("source")&&e.index===Number(v.get("section")??0))??j[0],w=y?.source,k=te(d.refetch),[N,S]=e.useState(null),[D,T]=e.useState(null),O=b(!!N,()=>{S(null),T(null)},"config.draftConfig");e.useEffect(()=>k.cancel,[k.cancel,O.revision]);const P=N?.patch??{},R=N?.source.content??w?.content??"",_=_e(R),E=_.blocks.filter(e=>e.name===m?.name)[y?.index??0],M=E?Ee(R,E,_.tokens):[],A=a("ui.listSeparator"),F=(m?.fields??[]).map(e=>{const n=M.filter(n=>n.name===e.key),i=n[0]?an(e,n[0].value):"",s=P[e.key]??i,r="boolean"===e.type||!!e.choices&&"integer"!==e.type,t="boolean"===e.type?["true","false"]:e.choices??[];return{key:e.key,group:e.group,label:a(e.label),hint:(o=e,"list"===o.type?a("config.globalList"):o.choices&&"integer"===o.type?a("config.globalChoice",{choices:o.choices.join(A)}):o.max&&"18446744073709551615"!==o.max?a("config.globalRange",{max:o.max}):o.units?a("config.globalUnits",{units:o.units.filter(Boolean).join(A)}):void 0),items:r?[{id:"",label:a("config.globalUnset")},...[...t,...s&&!t.includes(s)?[s]:[]].map(e=>({id:e,label:e}))]:null,value:s,number:tn(e)&&/^\d*$/.test(i)?{max:Number(e.max),value:""===s?NaN:Number(s)}:null,duplicate:n.length>1,invalid:null===rn(e,s),change:n=>{if(!w||k.busy)return;k.cancel(),T(null);const s={...P,[e.key]:n};n===i&&delete s[e.key],S(Object.keys(s).length?{source:N?.source??w,id:y.id,patch:s}:null)}};var o}),H=!!N&&(N.source.content_sha256!==w?.content_sha256||N.id!==y?.id),L=c&&!d.error&&!!w&&!0===r?.config.writable&&w.writable&&!0===x(w)&&!f.holdsCredentials(w),W=!!k.busy,V=!N||!L||H||F.some(e=>e.key in P&&e.invalid),q=we(k.error)?.diagnostics??null,I=k.error instanceof C&&"ui.writtenNotRead"===k.error.key,U=D??q??null,K=N&&Array.isArray(U)?Se(U):[],$="global"===v.get("tab")?v.get("field"):null;return Pe($,()=>{const e=document.getElementById("config-global-form");return e&&$?Re(e,$):null}),{available:c&&!!m,loading:!!d.loading&&!d.data,fields:F,groups:Object.entries(on).map(([e,n])=>({id:e,title:a(n),fields:F.filter(n=>n.group===e)})).filter(e=>e.fields.length>0),source:w,busy:W,blocked:V,writable:L,dirty:!!N,conflict:H,failure:Array.isArray(U)?K.length?null:a("config.invalid",{n:U.filter(e=>"error"===e.level).length}):U,restart:K,restartCommand:f.restartCommand,sources:h,unread:I?a("ui.writtenNotRead"):null,error:(q||I?null:k.error)??d.error,retry:d.refetch,save:async()=>{if(V||W||!m||!y)return;const e=ln(N.source.content,m,y.index,P),n=je(h.filter(e=>x(e)),{id:w.id,content:e});if(r?.config_validate.available&&r.config_validate.modes?.includes("full")){if(!n)return void T(a("config.incomplete"));const e=await k.validate({sources:n,mode:"full"});if(!e)return;if(!e.valid)return void T(e.diagnostics)}const i=await k.apply(N.source,e);i&&(i.diagnostics?T(i.diagnostics):(O.clear(),S(null),p("positive",a("config.globalSaved"))))},cancel:()=>{k.cancel(),O.clear(),S(null),T(null)},choices:j.map(({id:e,label:n})=>({id:e,label:n})),selected:y?.id??"",select:e=>{const s=j.find(n=>n.id===e);s&&i("config",u(n,{tab:"global",source:s.source.id,section:String(s.index),field:null}))}}}(i);return r.available?r.loading?n.jsx(Dn,{groups:r.groups}):n.jsxs(q,{id:"config-global-form",className:"rp-page",onSubmit:e=>{e.preventDefault(),r.save()},children:[n.jsx(I,{page:!0,children:n.jsx("span",{className:"rp-cluster nowrap rp-source-pick",children:n.jsx(me,{side:!0,cut:"path",label:a("config.source"),value:r.selected,items:r.choices,onChange:r.select,isDisabled:r.busy||!r.source})})}),n.jsx("span",{className:"rp-label",children:a("config.globalNote")}),r.unread&&n.jsx(_,{tone:"informative",children:r.unread}),n.jsx(R,{error:r.error,onRetry:r.retry}),r.failure&&n.jsx(_,{children:r.failure}),r.restart.length>0&&n.jsx(Cn,{settings:r.restart,sources:r.sources,command:r.restartCommand}),r.conflict&&n.jsx(_,{children:a("config.changedOnDisk")}),r.source&&!r.writable&&n.jsx(_,{tone:"informative",children:a("config.readOnly")}),r.groups.map(e=>n.jsx(H,{title:e.title,children:n.jsx(I,{className:"top rp-fieldgrid",children:e.fields.map(e=>n.jsxs("div",{className:"rp-field","data-setting":e.key,children:[e.items?n.jsx(me,{label:e.label,value:e.value,isDisabled:!r.writable||r.busy||e.duplicate,onChange:e.change,items:e.items}):e.number?n.jsx(mn,{label:e.label,name:e.key,value:e.number.value,onChange:n=>e.change(hn(n)),step:1,isDisabled:!r.writable||r.busy||e.duplicate,placeholder:a("config.globalUnset"),error:e.invalid?a("config.globalRange",{max:e.number.max}):void 0,"aria-describedby":e.hint?`config-global-${e.key}`:void 0}):n.jsx(U,{label:e.label,name:e.key,value:e.value,onChange:e.change,isDisabled:!r.writable||r.busy||e.duplicate,placeholder:a("config.globalUnset"),error:e.invalid?a("config.globalInvalid"):void 0,"aria-describedby":e.hint?`config-global-${e.key}`:void 0}),n.jsx(K,{help:"so_mark_from_dae"===e.key?{title:e.label,text:a("config.socketMarkHelp")}:null,children:n.jsx("span",{className:"rp-label rp-code",children:e.key})}),e.hint&&n.jsx("span",{id:`config-global-${e.key}`,className:"rp-label",children:e.hint}),e.duplicate&&n.jsx("span",{className:"rp-label",children:a("config.globalDuplicate")})]},e.key))})},e.id)),n.jsx(I,{page:!0,children:n.jsxs($,{children:[n.jsx(O,{accent:!0,type:"submit",isPending:r.busy,isDisabled:r.blocked,children:a("config.globalSave")}),r.dirty&&n.jsx(O,{onPress:r.cancel,isDisabled:r.busy,children:a("config.discard")})]})})]}):null}const On="config-new-source-form";function Pn(i){const a=s(),r=function({sources:n,refetch:i,open:a}){const r=s(),t=n.find(e=>"main"===e.kind),o=e.useMemo(()=>t?He(t.content):null,[t]),l=e.useMemo(()=>Le(o??[]),[o]),c=e.useMemo(()=>We(n),[n]),[d,u]=e.useState(null),[g,f]=e.useState(null),{busy:h,create:b}=he(i),x=S(),v=d?.text??"",j=l.find(e=>e.pattern===d?.pattern)??null,y=j?j.prefix+v+j.suffix:v,w=v?j?Ve(v,j):qe(v):null;return{isOpen:null!==d,show:()=>{x.next(),f(null),u({text:l.length?"":Ie(o??[]),pattern:l[0]?.pattern??""})},hide:()=>{x.next(),u(null)},choices:l,choice:j,setChoice:e=>u(n=>n&&{...n,pattern:e}),text:v,setText:e=>u(n=>n&&{...n,text:e}),error:w?r(w):void 0,unmatched:!!v&&!w&&null!==c&&!c(y),problem:g,busy:h,canSubmit:!!v&&!w&&!h,submit:async e=>{if(!v||w||h)return;const n=x.start();try{const i=await b(y);if(!i)return;if(p("positive",r("config.newSourceCreated",{path:y})),!n())return;e(),i.id&&a(i.id)}catch(i){const e=r("config.newSourceFailed",{path:y});if(n()){const n=Q(i,r,e);f(e=>({id:(e?.id??0)+1,text:X(n,r),kind:n.kind}))}else m(i,r,e)}}}}(i);return n.jsxs(n.Fragment,{children:[n.jsxs(O,{onPress:r.show,children:[n.jsx(bn,{}),a("config.newSource")]}),n.jsxs(M,{title:a("config.newSourceTitle"),narrow:!0,isOpen:r.isOpen,onOpenChange:e=>{e||r.hide()},footer:e=>n.jsxs(n.Fragment,{children:[n.jsx(O,{onPress:e,children:a("ui.cancel")}),n.jsx(O,{accent:!0,type:"submit",form:On,isDisabled:!r.canSubmit,isPending:r.busy,children:a("config.newSourceCreate")})]}),children:[r.problem&&n.jsx(Y,{problem:r.problem},r.problem.id),n.jsxs(q,{id:On,className:"rp-list",onSubmit:e=>{e.preventDefault(),r.submit(r.hide)},children:[n.jsx("span",{className:"rp-label",children:a(r.choice?"config.newSourceNameHelp":"config.newSourceHelp")}),r.choices.length>1&&n.jsx(me,{label:a("config.newSourcePattern"),items:r.choices.map(e=>({id:e.pattern,label:e.pattern})),value:r.choice?.pattern??"",onChange:r.setChoice,isDisabled:r.busy}),r.choice?n.jsx(U,{isDisabled:r.busy,label:a("ui.name"),value:r.text,prefix:r.choice.prefix,suffix:r.choice.suffix,placeholder:"extra",spellCheck:!1,error:r.error,onChange:r.setText}):n.jsx(U,{isDisabled:r.busy,label:a("config.newSourcePath"),value:r.text,placeholder:"config.d/extra.dae",spellCheck:!1,error:r.error,onChange:r.setText}),r.unmatched&&n.jsx(_,{tone:"informative",children:a("config.newSourceUnmatched")})]})]})]})}function Rn({message:e,busy:i,keep:a,discard:r}){const t=s();return n.jsx(_,{action:(a||r)&&n.jsx(I,{children:n.jsxs($,{children:[a&&n.jsx(O,{isDisabled:i,onPress:a,children:t("config.keepChanges")}),r&&n.jsx(O,{isDisabled:i,onPress:r,children:t("config.discard")})]})}),children:e})}const _n=ee(()=>ne(()=>import("./CodeEditor-Cb8XCLWG.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(e=>({default:e.CodeEditor}))),En=[{block:560}];function Mn(i){const{canValidate:r}=i,t=s(),o=a(),{writable:l,links:c,diagnostics:d,note:u,refused:g,restart:f,restartCommand:p,marks:m,text:h,names:b,focus:x,focusKey:v,dirty:j,conflict:y,keep:w,validate:k,save:N,cancel:S,change:C,view:D,busy:T,validating:R,saving:_,saveButton:E,validateDisabled:M,reason:A}=wn(i),F=e.useRef(null),V=e.useRef(!1),q=()=>{V.current&&F.current&&(V.current=!1,F.current.focus(),F.current.scrollIntoView({block:"nearest"}))};e.useEffect(()=>{V.current=!!i.focusDiagnostics,q()},[i.focusDiagnostics,i.focusLine,i.source.id]);const U=function(e,n,i){return e.filter(e=>e.line===n||n&&e.line<=n&&i.slice(0,e.to).split("\n").length>=n)}(c,x,h),K=U.length?U:c,$=n.jsx(I,{"aria-label":t("config.forms"),children:K.map(e=>n.jsx(L,{appearance:"button",href:e.href,children:e.label},e.from))}),B=n.jsx("div",{ref:F,tabIndex:-1,role:"region","aria-label":t("config.diagnostics"),className:"rp-config-diagnostics",children:d.quiet?n.jsx("span",{className:"rp-config-diagnostics-quiet rp-label",children:d.quiet}):n.jsxs(pe,{aside:d.scopeHelp&&n.jsx(P,{...d.scopeHelp}),isExpanded:d.open,onExpandedChange:d.setOpen,title:n.jsxs("span",{className:"rp-config-diagnostics-summary",children:[n.jsx(ge,{tone:d.errors?"negative":void 0,children:t("config.levelErrors",{n:d.errors})}),n.jsx(ge,{tone:d.warnings?"warn":void 0,children:t("config.levelWarnings",{n:d.warnings})}),n.jsx("span",{className:"rp-label",children:d.scope})]}),children:[n.jsx("div",{className:"rp-config-diagnostic-filter",children:n.jsx(be,{label:t("config.level"),value:d.level,onChange:d.setLevel,items:d.levels})}),n.jsx("div",{className:"rp-config-diagnostic-list",role:"list","aria-label":t("config.diagnostics"),children:d.rows.map(e=>n.jsxs("div",{className:"rp-config-diagnostic",role:"listitem",children:[n.jsxs(xe,{small:!0,tone:e.tone,children:[n.jsx(J,{children:`${e.levelText} `}),e.text]}),e.backend&&n.jsx(pe,{flush:!0,title:t("config.backendText"),children:n.jsx("code",{children:e.backend})}),e.offline&&n.jsx(G,{link:{href:W(o,"offline-dependency"),text:t("ov.lim.docsOffline"),external:!0}}),e.action&&n.jsx(O,{small:!0,className:"rp-config-diagnostic-go",label:"jump"===e.action?t("config.jumpToLine",{line:e.line}):t("config.openSourceAt",{where:e.where}),onPress:()=>d.go(e),children:t("jump"===e.action?"cm.go":"config.openSource")})]},e.id))})]})}),z=[...r?[{id:"validate",label:t("config.validate"),isPending:R,isDisabled:M,reason:A??void 0,onAction:()=>{k()}}]:[],...j?[{id:"cancel",label:t("ui.cancel"),isDisabled:T,onAction:S},{id:"save",label:t("config.save"),accent:!0,isPending:_,isDisabled:E.disabled,reason:E.tip??A??void 0,onAction:()=>{N()}}]:[]];return n.jsxs(H,{title:t("config.editor"),className:"rp-source-card","aria-label":D.label,help:l?{title:t("config.editor"),text:t("config.writeHelp")}:void 0,reason:A,children:[n.jsx("div",{className:"rp-row rp-source-note",children:n.jsx("span",{className:"rp-cluster",children:j?n.jsxs(n.Fragment,{children:[n.jsx(ge,{tone:"warn",children:t("config.unsaved")}),n.jsx("span",{className:"rp-label",children:t("config.unsavedHint")})]}):n.jsx("span",{className:"rp-label",children:u})})}),y&&n.jsx(Rn,{message:y,busy:T,keep:w}),f.length>0&&n.jsx(Cn,{settings:f,sources:i.sources,command:p}),U.length?$:c.length>0&&n.jsx(pe,{title:t("config.forms"),children:$}),n.jsxs(e.Suspense,{fallback:n.jsx(Z,{panel:!0,shape:En}),children:[n.jsx(_n.Component,{actions:z,label:D.label,value:h,readOnly:!l||T,onChange:C,onReadOnlyAttempt:g,marks:m,focusLine:x,focusKey:v,banner:B,names:b,onSave:j&&!T?()=>{N()}:void 0}),n.jsx(An,{run:q})]})]})}function An({run:n}){const i=e.useRef(n);return e.useEffect(()=>i.current(),[]),null}const Fn=[{toolbar:1,height:16},...En];function Hn(i){const a=s(),{error:r,reload:t,loading:o,ready:l,tabsReady:c,metadata:d,redacted:u,tabs:g,tab:f,setTab:p,selectedId:m,select:h,sourceProps:b,newSourceProps:x,modulesProps:v,sourceModel:j,sourceOptions:y,exportSource:w,summaryTone:k,summaryText:N}=yn(i);e.useEffect(()=>{"source"===f&&_n.preload().catch(()=>{})},[f]);const S={history:n.jsx(Nn,{}),modules:v?n.jsx(Sn,{...v}):o&&n.jsx(Z,{panel:!0,shape:se}),global:n.jsx(Tn,{...i}),source:n.jsxs(n.Fragment,{children:[n.jsxs(I,{page:!0,children:[n.jsxs("span",{className:"rp-cluster nowrap rp-source-pick",children:[n.jsx(me,{side:!0,cut:"path",label:a("config.source"),value:m,onChange:h,items:y}),j&&n.jsxs(n.Fragment,{children:[j.readOnly&&n.jsx(K,{help:j.readOnly.help,children:n.jsx(ge,{children:j.readOnly.label})}),n.jsx(ie,{className:"rp-label",text:j.loaded,children:j.facts})]})]}),(x||j)&&n.jsxs("span",{className:"rp-cluster nowrap",children:[x&&n.jsx(Pn,{...x}),j&&n.jsxs(O,{onPress:w,children:[n.jsx(Oe,{}),a("config.export")]})]})]}),j&&n.jsx("span",{className:"rp-label",children:a("config.exportWarning")}),b?n.jsx(Mn,{...b},j.id):o&&n.jsx(Z,{panel:!0,shape:Fn})]})};return n.jsxs("div",{className:"rp-page",children:[n.jsx(R,{error:r,onRetry:t}),o&&n.jsx(Z,{shape:c?ae:re}),l&&n.jsxs(I,{page:!0,children:[n.jsx(fe,{row:!0,items:d}),n.jsx(xe,{small:!0,tone:k,children:N}),u&&n.jsx(xe,{small:!0,tone:"muted",children:a("config.redacted")})]}),c&&n.jsx(ve,{page:!0,label:a("nav.config"),value:f,onChange:p,items:g.map(e=>({...e,content:S[e.id]}))})]})}export{Hn as Config}; diff --git a/assets/Connections-Dlv_78r1.js b/assets/Connections-Dlv_78r1.js new file mode 100644 index 00000000..d3cbc7c4 --- /dev/null +++ b/assets/Connections-Dlv_78r1.js @@ -0,0 +1 @@ +import{r as e,j as n}from"./vendor-react-64fcanlc.js";import{i as t,I as o,a as s}from"./ipLookup-Cl7psHhv.js";import{N as l,O as a}from"./NodePath-CW8z1Niq.js";import{aX as i,u as r,au as c,at as u,a7 as d,o as p,aI as m,aO as b,c8 as h,C as g,E as f,a4 as w,af as v,s as x,X as y,c9 as j,T as k,ca as _,b$ as C,w as S,ad as A,cb as L,a0 as N,cc as M,cd as T,a8 as R,a5 as O,r as F,t as P,Y as q,ce as W,cf as U,ao as D,Q as E,cg as I,b9 as H,ch as V,ba as Q,ci as B,c2 as J,cj as K,ck as G,cl as X,W as Y,av as $,cm as z,K as Z,cn as ee,aY as ne,A as te,co as oe,cp as se,cq as le,bR as ae,B as ie,cr as re,bH as ce,aE as ue}from"./index-C4UFgHia.js";import{R as de,B as pe,u as me,h as be,o as he,g as ge,c as fe,S as we,p as ve,L as xe,n as ye,q as je,K as ke}from"./logs-j0cmmcZI.js";import{C as _e}from"./AppearanceControls-I4PvP9Es.js";import{T as Ce}from"./Tabs-Kfe2CfSx.js";import{b as Se,D as Ae,U as Le,F as Ne,S as Me,d as Te,B as Re,L as Oe,t as Fe,r as Pe,f as qe,g as We,p as Ue,o as De,k as Ee,h as Ie}from"./activity-C22CeO5G.js";import{S as He}from"./SearchSelect-CSXz7lhe.js";import{D as Ve}from"./Table-DotwWze-.js";import{T as Qe}from"./TimeCell-xtED_iww.js";import{Q as Be,u as Je,R as Ke}from"./useQuickRule-D86TFC6s.js";import{u as Ge}from"./outbounds-CJznbPkH.js";import{c as Xe,d as Ye,e as $e}from"./files-Dt8K7QfP.js";import{w as ze}from"./labels-D8xxfRTQ.js";import{u as Ze}from"./flows-BfIUsgdd.js";import{r as en}from"./rule-ljMHmFs3.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./LinkOut-DVAiBR_J.js";import"./Tag-DE8n6iTZ.js";import"./Select-W-Xrx6y6.js";import"./ItemText-B5OxI5lS.js";import"./nodes-BXUOUiP2.js";import"./useGridSelectionCheckbox-D0fV1e0v.js";import"./SearchList-D75Ie4nx.js";import"./Virtualizer-tkoH0e4V.js";import"./Checkbox-CUoHrzuV.js";import"./DaeCode-DEjXqvav.js";import"./daeTokens-BVtuNnWZ.js";import"./AddCircle-qKwVDZ__.js";import"./BackendText-CxshqKrW.js";const nn=[0,2,3,1,4,5,6,7],tn=e.memo(function({records:t,outbounds:o,latency:s,latencyError:l,retryLatency:a,truncated:w,uncounted:v,onSelect:x,loading:y}){const j=r(),k=Se(),_=c[u()],C=e.useCallback(e=>d(e,_),[_]),S=e.useMemo(()=>function(e,n){const t=new Map;let o,s=0,l=-1n;for(const a of e){if(null===a.upload_bytes||null===a.download_bytes){s++;continue}const e={id:a.id,up:Number(a.upload_bytes),down:Number(a.download_bytes),name:a.domain||a.dst||a.id},n=t.get(a.outbound);n?n.push(e):t.set(a.outbound,[e]);const i=BigInt(a.upload_bytes)+BigInt(a.download_bytes);i>l&&(l=i,o={...e,outbound:a.outbound})}return{series:[...t].map(([e,n])=>({outbound:e,points:n})).sort((e,t)=>i(n)(e.outbound??"",t.outbound??"")),unknown:s,heaviest:o,placed:e.length-s}}(t,_),[t,_]),A=e.useMemo(()=>{const e=o.filter(e=>"block"!==e);return S.series.map(n=>{return{id:n.outbound??"",label:p(n.outbound,j),color:(t=n.outbound,"block"===t?k.negative:k.cat[nn[Math.max(0,e.indexOf(t))%nn.length]]),points:n.points.map(e=>({id:e.id,x:e.up,y:e.down,name:e.name,detail:j("conn.chart.point",{download:C(e.down),upload:C(e.up)})}))};var t})},[S,o,k,j,C]),L=S.heaviest?[{label:j("conn.chart.busiest"),icon:n.jsx(m,{}),tint:"c3",value:S.heaviest.name,caption:p(S.heaviest.outbound,j)},{label:j("ui.download"),value:C(S.heaviest.down),icon:n.jsx(Ae,{}),tint:"c1"},{label:j("ui.upload"),value:C(S.heaviest.up),icon:n.jsx(Le,{}),tint:"c4"}]:[];if(y)return n.jsx(b,{panel:!0,shape:h});const N=S.unknown?j("conn.chart.sampleUnknown",{n:t.length,unknown:S.unknown}):j("conn.chart.sample",{n:t.length});return n.jsxs("div",{className:"rp-chart-page",children:[n.jsx(Ne,{facts:L,lead:!0}),n.jsxs(g,{title:j("conn.chart.title"),help:v?{title:j("conn.chart.title"),text:j("ui.trafficUncounted")}:void 0,note:N,children:[w&&n.jsx("p",{className:"rp-note",children:j("conn.truncated")}),S.placed>0&&n.jsxs(n.Fragment,{children:[n.jsx(Me,{label:j("conn.chart.title"),series:A,fmt:C,onSelect:x,regions:{above:j("conn.chart.moreDown"),below:j("conn.chart.moreUp")}}),n.jsx(Te,{series:A}),n.jsx("p",{className:"rp-note",children:j("conn.chart.hint")})]})]}),s?n.jsx(on,{latency:s}):l&&n.jsx(g,{title:j("ui.nodeLatency"),children:n.jsx(f,{error:l,onRetry:a})})]})});function on({latency:e}){const t=r(),o=Se(),s=e=>v(e,t),l=c[u()],a=n=>!e.chains||n?o.cat[0]:o.muted;return n.jsx(g,{title:t("ui.nodeLatency"),note:t("conn.latency.sample",{n:e.samples.length,missing:e.missing}),children:e.samples.length?n.jsxs(n.Fragment,{children:[n.jsx("p",{className:"rp-note",children:t("conn.latency.percentiles",{p50:s(e.p50),p90:s(e.p90)})}),null!==e.weightedP50&&n.jsx("p",{className:"rp-note",children:e.unplaced?t("conn.latency.weightedUnplaced",{p50:s(e.weightedP50),n:e.unplaced}):t("conn.latency.weighted",{p50:s(e.weightedP50)})}),n.jsx(Re,{label:t("ui.nodeLatency"),points:e.samples.map(e=>({id:e.node,nodeName:!0,value:e.value,color:a(e.connections>0),lines:[e.name,s(e.value),...e.connections?[t("conn.chart.sample",{n:e.connections})]:[]]})),fmt:s}),e.chains&&n.jsxs("div",{className:"rp-legend",children:[n.jsx(Oe,{swatch:a(!0),label:t("conn.latency.inUse"),value:w(e.used,l)}),n.jsx(Oe,{swatch:a(!1),label:t("conn.latency.others"),value:w(e.samples.length-e.used,l)})]}),n.jsx("p",{className:"rp-note",children:t("conn.latency.hint")})]}):n.jsx("p",{className:"rp-note",children:t("conn.latency.pending")})})}const sn=[{id:"dst",label:"ui.target",minWidth:200,sortable:!0},{id:"src",label:"ui.device",minWidth:128,sortable:!0,drop:5},{id:"node",label:"nodes.node",minWidth:120,drop:3},{id:"rule",label:"ui.rule",minWidth:220,drop:2},{id:"state",label:"ui.state",minWidth:112,sortable:!0,drop:7},{id:"down",label:"ui.download",minWidth:96,sortable:!0,drop:4},{id:"downRate",label:"conn.f.downloadRate",minWidth:128,sortable:!0,drop:1},{id:"age",label:"ui.started",minWidth:132,sortable:!0,drop:6}],ln=x.connectionsView,an=e=>({allCollapsed:e,exceptions:new Set}),rn=(e,n)=>e.allCollapsed!==e.exceptions.has(n);function cn(e,n){const t=new Set(e.exceptions);return t.delete(n)||t.add(n),{allCollapsed:e.allCollapsed,exceptions:t}}const un=(e,n)=>"source"===n?y(e.src??void 0)??e.src??"—":e.outbound??"unknown",dn=(e,n,t)=>"source"===n?e:p(e,t),pn=e=>"g:"+e,mn=e=>e.startsWith("g:")||e.startsWith("\\")?"\\"+e:e;function bn(e){const n={hidden:[],sort:null,group:"source"};try{const t=JSON.parse(e??"null");if(!t||"object"!=typeof t)return n;const o=Array.isArray(t.hidden)?t.hidden.map(e=>"chain"===e?"node":e):[],s=sn.filter(e=>o.includes(e.id)).map(e=>e.id),l=t.sort;return{hidden:s.length===sn.length?[]:s,sort:l&&sn.some(e=>e.sortable&&e.id===l.column)&&["ascending","descending"].includes(l.direction)?{column:l.column,direction:l.direction}:null,group:"none"===t.group||"outbound"===t.group?t.group:"source"}}catch{return n}}const hn=e=>e.target;function gn({collection:t,view:o,collapse:s,onToggleGroup:a,loading:i,selected:c,onSelect:u,selectOnFocus:d,onSort:p,rule:m}){const b=r(),[h,g]=j(442),f=e.useRef(m);e.useLayoutEffect(()=>{f.current=m});const w=e.useMemo(()=>{const e={dst:e=>n.jsx(k,{children:e.target}),src:e=>n.jsx(k,{className:"rp-code",children:e.source}),node:e=>n.jsx(l,{row:e}),rule:e=>n.jsxs("span",{className:"rp-rule",children:[n.jsx(de,{...e.rule}),e.recomputed&&n.jsx(pe,{tip:b("rule.sourceHelp.recomputed"),children:e.recomputed})]}),state:e=>e.state,down:e=>e.download,downRate:e=>e.downloadRate,age:e=>n.jsx(Qe,{at:e.startedAt})};return[...sn.filter(e=>!o.hidden.includes(e.id)).map(n=>({...n,label:b(n.label),grow:1,render:e[n.id]})),{id:"actions",actions:!0,label:b("ui.actions"),minWidth:88,grow:0,render:e=>{const t=f.current,o=!t.canAdd(e.seed);return n.jsx(Be,{label:t.label(e.target),disabled:o,tip:t.noTarget,onPress:()=>f.current.open(e.seed)})}}]},[o.hidden,b]),v=e.useMemo(()=>t.map(e=>"connection"in e?e.connection:e),[t]),x=e.useMemo(()=>({grouped:"none"!==o.group,collapsed:e=>rn(s,e),onToggle:a}),[o.group,s,a]);return n.jsx("div",{ref:h,children:n.jsx(Ve,{label:b("nav.connections"),rowDetail:!0,cols:w,rows:v,height:g,selected:c&&mn(c),onSelect:u&&(e=>u(e&&(e=>e.startsWith("\\")?e.slice(1):e)(e))),selectOnFocus:d,reveal:!0,empty:b("conn.empty"),loading:i,sort:o.sort&&{column:String(o.sort.column),direction:o.sort.direction},onSort:p,getTextValue:hn,stream:!0,tree:x})})}const fn={userspace:"ov.v.userspace",ebpf:"ov.v.ebpf",mixed:"conn.observed.mixed"},wn={evaluation:"conn.chainSource.evaluation",reconstructed:"conn.chainSource.reconstructed"},vn=e=>e.filter(e=>null!=e[1]),xn=e=>null==e||"unknown"===e?null:e;const yn={observed:["conn.state.observed","conn.stateHelp.observed"],routing:["conn.state.routing","conn.stateHelp.routing"],dialing:["conn.state.dialing","conn.stateHelp.dialing"]};function jn(e,n){return Object.hasOwn(yn,e)?{title:n("ui.state"),text:Object.values(yn).map(([e,t])=>n("ui.valuePair",{label:n(e),value:n(t)}))}:null}function kn(e,n,o,s,l,a){const i=(e&&_(e,a))??null,r=e&&function(e,n){const o=y(e.dst),s=(e,t)=>null==e?null:{total:d(e,n),rate:null==t?null:O(t,n)},l=xn(e.domain_source),a=xn(e.chain_source);return{connection:vn([["ui.domain",e.domain||null],["conn.f.dst",e.dst?o&&t(o)?{ip:o,address:e.dst}:e.dst:null],["ui.device",e.src||null],["ui.process",e.pname||null],["conn.f.ingress",e.ingress?ze(e.ingress):null],["conn.f.started",e.started_at?R(e.started_at,n):null]]),traffic:vn([["ui.download",s(e.download_bytes,e.download_bytes_per_second)],["ui.upload",s(e.upload_bytes,e.upload_bytes_per_second)]]),provenance:vn([["conn.f.domainSource",l&&ze(l)],["conn.f.chainSource",a&&(wn[a]?{key:wn[a]}:a)],["conn.f.observedBy",fn[e.observed_by]?{key:fn[e.observed_by]}:e.observed_by]])}}(e,n);return e&&r?{id:e.id,title:e.domain||e.dst||e.id,tone:"blocked"===e.state||"failed"===e.state?"err":"active"===e.state?"ok":"info",status:o("ui.aside",{text:N(M,e.state,o),note:e.network.toUpperCase()}),chain:A(e.outbound)?null:e.chain.length?L(e,o,s):null,subscription:i,outbound:xn(e.outbound),rule:e.rule_expression?{expression:e.rule_expression,href:Pe(e.rule_id,l)}:null,sections:{connection:r.connection.map(([e,n])=>[o(e),"string"==typeof n||"ip"in n?n:o(n.key,n.params)]),traffic:r.traffic.map(([e,n])=>[o(e),n]),provenance:r.provenance.map(([e,n])=>[o(e),"string"==typeof n?n:o(n.key,n.params)])},flowQuery:S("",{tab:"records",...e.flow_id?{id:e.flow_id}:{connection_id:e.id}}),traceQuery:e.domain||y(e.dst)?Fe({network:"udp"===e.network?"udp":"tcp",domain:e.domain??"",dst_ip:y(e.dst),dst_port:C(e.dst),src_ip:y(e.src),src_port:C(e.src),pname:e.pname??""}):null,source:e.src?y(e.src)??e.src:null,closable:"active"===e.state||"dialing"===e.state||"routing"===e.state,closeReason:"ebpf"===e.observed_by?o("conn.notClosable"):null,stateHelp:jn(e.state,o)}:null}const _n=e=>({domain:e.domain??null,dip:y(e.dst)??null,sip:y(e.src)??null,outbound:e.outbound,matched:e.rule_id&&"unknown"!==e.rule_source?{id:e.rule_id,expression:e.rule_expression}:null});const Cn=new WeakMap;function Sn(e,n,t,o,s,l){const a=e=>{const n=Cn.get(e);if(n&&n.locale===t&&n.names===o&&n.rulesListed===s&&n.t===l)return n.row;const a={id:mn(e.id),target:e.domain||e.dst||"—",seed:_n(e),source:e.src??"—",node:U(e,l,o),nodeName:!A(e.outbound)&&e.chain.length>0,path:W(e,l,o),rule:{expression:e.rule_expression,href:Pe(e.rule_id,s)},recomputed:"recomputed"===e.rule_source?l("conn.recomputed"):null,state:N(M,e.state,l),download:d(e.download_bytes,t),downloadRate:O(e.download_bytes_per_second,t),startedAt:e.started_at};return Cn.set(e,{locale:t,names:o,rulesListed:s,t:l,row:a}),a};return function(e,n,t,o){let s=e;if(n.sort){const{column:r,direction:c}=n.sort,u=i(t);l=e=>{switch(r){case"dst":return e.domain||e.dst;case"src":return e.src;case"state":return N(M,e.state,o);case"down":return D(e.download_bytes);case"downRate":return D(e.download_bytes_per_second);case"age":return e.started_at?Date.parse(e.started_at):null;default:return null}},a=(e,n)=>{if(null==e)return null==n?0:1;if(null==n)return-1;const t="string"==typeof e&&"string"==typeof n?u(e,n):en?1:0;return"descending"===c?-t:t},s=e.map(e=>({item:e,key:l(e)})).sort((e,n)=>a(e.key,n.key)).map(e=>e.item)}var l,a;if("none"===n.group)return s.map(e=>({id:mn(e.id),connection:e}));const r=new Map;for(const i of s){const e=un(i,n.group),t=r.get(e);t?t.push(i):r.set(e,[i])}return[...r].map(([e,n])=>({id:pn(e),group:e,children:n,active:n.filter(e=>"active"===e.state).length,download:q(...n.map(e=>e.download_bytes))}))}(e,n,t,l).map(e=>"connection"in e?{id:e.id,connection:a(e.connection)}:{id:e.id,group:e.group,children:e.children.map(a),label:l("conn.groupCount",{name:dn(e.group,n.group,l),n:e.children.length}),totals:{down:d(e.download,t),state:l("conn.activeCount",{n:e.active})}})}const An=se().map(e=>e.id),Ln=e=>{const n=new URLSearchParams(e);return["id","src","network","out","rule","q"].some(e=>n.has(e))?"list":"traffic"},Nn=(e,n)=>S(e,"list"===Ln(e)?{tab:G(e,An,"list"),...n}:n);function Mn({go:n,query:t}){const o=r(),s=c[u()],[l,a]=e.useState(()=>{try{return bn(localStorage.getItem(ln))}catch{return bn(null)}}),d=H(V),m=H(Q),[b,h]=e.useState(()=>an(!1)),g=e.useCallback(e=>h(n=>cn(n,e)),[]),f=e=>{const n={...l,...e};n.group!==l.group&&h(an(!1)),a(n);try{localStorage.setItem(ln,JSON.stringify(n))}catch{}},v=e.useMemo(()=>new URLSearchParams(t),[t]),[x,j]=e.useState(v.get("q")??""),k=v.get("network")??"all",C=v.get("out")??"all",A=v.get("rule")??"all",L=(e,o)=>n("connections",Nn(t,{[e]:"all"===o?null:o})),N=v.get("id"),[M,R]=e.useState(null);B(v.get("q"),e=>j(e??""));const O=e.useRef(t);e.useEffect(()=>{O.current=t});const q=e=>n("connections",Nn(O.current,{id:e})),W=e.useDeferredValue(x),U=J(v.get("src")??""),D=be(U),se=F(),le=!0===se.data?.resources.connections.can_close,ae=P(se.data?.resources,"rules",{whileLoading:!1}),ie=P(se.data?.resources,"flows",{whileLoading:!1});K(se.data?.resources);const re=Ge(),ce=he(D.refetch),ue=Ln(t),de=G(t,An,ue),pe=X(D.data,"list"===de),we=X(D.data,"traffic"===de),ve=e.useMemo(()=>Y(pe),[pe]),xe=e.useMemo(()=>Y(we),[we]),ye=P(se.data?.resources,"nodes",{whileLoading:!1}),je=ge(ye),ke=X(je.data,"traffic"===de),_e=JSON.stringify((je.data??[]).flatMap(e=>e.subscription_tag?[[e.id,e.subscription_tag]]:[])),Ce=e.useMemo(()=>new Map(JSON.parse(_e)),[_e]),Se=e.useMemo(()=>ye&&ke?function(e,n,t){if(!n.some(e=>e.health?.length))return null;const o=[];let s=0;for(const i of n){const e=E(I(i.health??[]));void 0===e?s++:o.push({node:i.id,name:i.name,value:e,connections:0})}o.sort((e,n)=>e.value-n.value||i(t)(e.name,n.name));const l=new Map(o.map(e=>[e.node,e])),a=e.some(e=>e.chain?.length);let r=0;for(const i of e){const e=i.chain?.at(-1);if(void 0===e)continue;const n=l.get(e);n?n.connections++:r++}const c=o.reduce((e,n)=>e+n.connections,0);let u=0;const d=o.find(e=>(u+=e.connections)>=Math.max(1,Math.ceil(c/2))),p=o.map(e=>e.value);return{samples:o,chains:a,missing:s,unplaced:r,used:o.filter(e=>e.connections).length,p50:Ue(p,50),p90:Ue(p,90),weightedP50:c?d.value:null}}(xe,ke,s):null,[ye,ke,xe,s]),Ae=$("traffic"===de&&P(se.data?.resources,"runtime",{whileLoading:!1})),Le=ye&&!je.data?je.error:null,Ne=e.useMemo(()=>[...new Set(xe.map(e=>e.outbound))].sort((e,n)=>i(s)(e??"",n??"")),[xe,s]),Me=W.trim().toLowerCase(),Te=e.useMemo(()=>ve.filter(e=>("all"===k||e.network===k)&&("all"===C||e.outbound===C)&&("all"===A||e.rule_expression===A)&&(!Me||[e.dst,e.domain,e.src,e.pname,p(e.outbound,o),T(e.chain,re).join(" "),_(e,Ce),e.rule_expression].join(" ").toLowerCase().includes(Me))),[ve,k,C,A,Me,re,Ce,o]),Re=N?ve.find(e=>e.id===N):void 0,[Oe,Fe]=e.useState(null);N||null===Oe||Fe(null);const Pe=function(e,n){if(!e||"none"===n)return null;const t=un(e,n);return{group:t,token:JSON.stringify([e.id,n,t])}}(Re,l.group);var He,Ve;Pe&&Oe!==Pe.token&&(Fe(Pe.token),h((He=b,Ve=Pe.group,rn(He,Ve)?cn(He,Ve):He)));const Qe=function(e,n){const t=r(),o=F().data?.resources,s=Je(n),l=P(o,"rules",{whileLoading:!1})&&P(o,"config",{whileLoading:!1})&&!0===o?.config.writable?e?.rule_id??null:null,a=Ze(!!l),i=me(!!l),c=e&&_n(e);return{canAdd:!!c&&s.canAdd(c),row:{canAdd:s.canAdd,open:s.open,label:e=>t("conn.addRuleFor",{target:e}),noTarget:t("conn.ruleNoTarget")},canShow:P(o,"rules",{whileLoading:!1})&&!!e?.rule_id,canEdit:!!l&&en(a.data?.rules.find(e=>e.rule_id===l),i.data?.sources??[]),openAdd:()=>{c&&s.open(c)},dialog:s.dialog}}(Re,n),Be=e.useMemo(()=>function(e,n,t,o,s,l,a){const i=new Set(e.flatMap(e=>e.outbound?[e.outbound]:[]));"all"!==s&&i.add(s);const r=e=>{const n=e.flatMap(e=>e?[e]:[]);return We(n,1/0).top},c=[{id:"all",label:a("conn.allOutbounds")},...[...i].map(e=>({id:e,label:p(e,a)}))];return{networks:[["all",a("ui.allCount",{n:e.length})],["tcp",a("ui.tcp")],["udp",a("ui.udp")]],outbounds:c,outboundSections:[{id:"outbounds",items:c}],picks:[{title:a("ui.device"),value:qe("src",t??""),items:r(e.map(e=>y(e.src))).map(({key:e,count:n})=>({id:qe("src",e),label:e,desc:w(n,l)}))},{title:a("ui.rule"),value:qe("rule",o),items:r(e.map(e=>e.rule_expression)).map(({key:e,count:n})=>({id:qe("rule",e),label:e,desc:w(n,l)}))}],visibility:n&&"full"!==n.visibility?a("none"===n.visibility?"conn.visibilityNone":"conn.visibilityPartial"):null}}(ve,pe,U,A,C,s,o),[ve,pe,U,A,C,s,o]),Ke=fe(P(se.data?.resources,"groups",{whileLoading:!1})).data,ze=e.useMemo(()=>{const e=kn(Re,s,o,re,ae,Ce);return e&&{...e,outboundTag:De(e.outbound,Ke,o)}},[Re,s,o,re,ae,Ce,Ke]),nn={...Be,detail:ze},tn=e.useMemo(()=>Sn(Te,l,s,re,ae,o),[Te,l,s,re,ae,o]),on=e=>{const o=Ie(String(e),["src","rule"]);"src"===o?.kind?(j(""),n("connections",Nn(t,{src:o.value&&U!==o.value?o.value:null,q:null}))):"rule"===o?.kind&&L("rule",A===o.value?"all":o.value)},dn=function(e,n,t){const[o,s]=e.picks,l=(e,n,t,o,s)=>({filter:e,label:n,sections:[{title:n,items:t,value:o}],searchLabel:s});return{active:["all"!==n.network,"all"!==n.out,!!n.src,"all"!==n.rule].filter(Boolean).length,submenus:[l("network",t("ui.network"),e.networks.map(([e,n])=>({id:e,label:n})),n.network),l("out",t("ui.outbound"),e.outbounds,n.out,t("ui.filterOutbounds")),l("src",o.title,[{id:qe("src",""),label:t("conn.allDevices")},...o.items],o.value,t("ui.filterDevices")),l("rule",s.title,[{id:qe("rule","all"),label:t("conn.allRules")},...s.items],s.value,t("ui.filterRules"))]}}(Be,{network:k,out:C,src:U,rule:A},o),pn={network:e=>L("network",e),out:e=>L("out",e),src:on,rule:on},mn={active:dn.active,submenus:dn.submenus.map(({filter:e,...n})=>({...n,sections:n.sections.map(n=>({...n,onChange:pn[e]}))}))},hn=e.useCallback(e=>n("connections",S(t,{tab:"list",id:e})),[n,t]);return{...nn,tab:de,setTab:e=>n("connections",z(t,e,"traffic"===ue?ue:null)),openInList:hn,trafficUncounted:Ee(Ae.data),view:l,updateView:f,collapse:b,toggleCollapse:g,toggleCollapseAll:()=>h(an(!b.allCollapsed)),wide:d,text:x,setText:j,network:k,out:C,sel:N,select:q,collection:tn,rows:xe,outboundKeys:Ne,latency:Se,latencyError:Le,retryLatency:je.refetch,setNetwork:e=>L("network",e),setOut:e=>L("out",e),pick:on,compact:m,filterMenu:mn,columns:sn.map(e=>({id:e.id,label:o(e.label)})),visibleColumns:sn.filter(e=>!l.hidden.includes(e.id)).map(e=>e.id),toggleColumn:e=>{const n=String(e),t=l.hidden.includes(n)?l.hidden.filter(e=>e!==n):[...l.hidden,n];t.length{j(""),n("connections",Nn(t,{network:null,out:null,rule:null,q:null,src:null}))},error:D.error,retry:D.refetch,loading:D.loading&&!D.data,truncated:!!D.data?.truncated,canClose:le,canViewFlow:ie,closeAll:{confirmationText:M?.query?o("all"===M.query.type?"conn.closeAllLive":"tcp"===M.query.type?"conn.closeAllLiveTcp":"conn.closeAllLiveUdp",U?{n:M.count??M.ids.length,source:U}:{n:M.count??M.ids.length,source:o("conn.anySource")}):o("conn.closeAllHelp",{n:M?.ids.length??0}),open:!!M,setOpen:e=>R(e?"all"!==v.get("scope")||"all"!==k||U||"all"!==C||"all"!==A||Me?function(e,n){const t=e.map(e=>e.id),o=null!=n.bulkLimit&&t.length>n.bulkLimit;return n.narrowed||n.truncated||o?{ids:t}:{ids:t,query:{type:n.network,src:n.src,all:!0}}}(Te,{network:k,src:U,narrowed:"all"!==C||"all"!==A||!!Me,truncated:!!D.data?.truncated,bulkLimit:se.data?.resources.connections.max_bulk_close}):{ids:[],query:{type:"all",all:!0},count:(D.data?.total_tcp??0)+(D.data?.total_udp??0)}:null),isDisabled:!Te.length||!!ce.busy||x!==W,isPending:"all"===ce.busy,onConfirm:async()=>{if(M)try{const e=await ce.closeAll(M);if(!e)return;q(null),Z(ee(e),o("conn.closedAll",{closed:e.closed,skipped:e.skipped}))}catch(e){return o("ui.valuePair",{label:o("conn.closeFailed"),value:ne(e,o)})}},onAbort:ce.cancel},close:{pending:ce.busy===Re?.id,disabled:!!ce.busy,run:()=>{(async()=>{if(!nn.detail)return;const{id:e}=nn.detail;try{if(!(await ce.close(e)))return;new URLSearchParams(O.current).get("id")===e&&q(null),Z("positive",o("conn.closed",{name:nn.detail.title}))}catch(n){n instanceof te&&"state_conflict"===n.code?Z("negative",o("conn.notClosable"),{error:n}):Z("negative",o("conn.closeFailed"),oe(n,o))}})()}},ruleAction:Qe,showRule:(e=!1)=>{Re?.rule_id&&n("rules",S("",{tab:"list",rule:Re.rule_id,edit:e?Re.rule_id:null}))},canTrace:P(se.data?.resources,"routing_trace",{whileLoading:!1})&&!!nn.detail?.traceQuery,traceConnection:()=>{nn.detail?.traceQuery&&n("rules",nn.detail.traceQuery)},showFlow:()=>{nn.detail&&ie&&n("flows",nn.detail.flowQuery)},onlyClient:()=>{nn.detail?.source&&(j(""),n("connections",Nn(t,{src:nn.detail.source,q:null})))},canExport:Te.length>0,export:()=>Ye($e("connections","csv"),function(e,n){return[Xe(["id","target","domain","source","network","state","outbound","chain","rule","upload_bytes","download_bytes","started_at"]),...e.map(e=>Xe([e.id,e.dst,e.domain,e.src,e.network,e.state,e.outbound,T(e.chain,n).join(" > "),e.rule_expression,e.upload_bytes,e.download_bytes,e.started_at]))].join("\n")+"\n"}(Te,re),"text/csv;charset=utf-8"),detailTitle:nn.detail?.title??"",notInSnapshot:!!N&&!Re&&!!D.data}}function Tn(e){const t=r(),l=Mn(e),i=l.detail,c={list:n.jsxs(n.Fragment,{children:[n.jsxs(le,{page:!0,children:[l.compact?n.jsxs("span",{className:"rp-filter-row",children:[n.jsx(ae,{search:!0,label:t("ui.filter"),value:l.text,onChange:l.setText,placeholder:t("conn.filterHint"),className:"rp-filter"}),n.jsx(_e,{label:l.filterMenu.active?t("conn.filtersActive",{n:l.filterMenu.active}):t("conn.filters"),count:l.filterMenu.active,submenus:l.filterMenu.submenus,children:t("conn.filters")})]}):n.jsxs(n.Fragment,{children:[n.jsx(ae,{search:!0,label:t("ui.filter"),value:l.text,onChange:l.setText,placeholder:t("conn.filterHint"),className:"rp-filter"}),n.jsx(we,{label:t("ui.network"),value:l.network,onChange:l.setNetwork,items:l.networks}),n.jsx(He,{side:!0,label:t("ui.outbound"),searchLabel:t("ui.filterOutbounds"),value:l.out,onChange:l.setOut,sections:l.outboundSections}),n.jsx(_e,{label:t("conn.pick"),sections:l.picks,onAction:l.pick,searchLabel:t("conn.filterPick"),children:t("conn.pick")})]}),n.jsx(ve,{label:t("conn.group"),side:!0,value:l.view.group,onChange:e=>l.updateView({group:e}),items:[{id:"source",label:t("conn.byClient")},{id:"outbound",label:t("ui.outbound")},{id:"none",label:t("conn.ungrouped")}]}),"none"!==l.view.group&&n.jsx(ie,{onPress:l.toggleCollapseAll,children:t(l.collapse.allCollapsed?"conn.expandAll":"conn.collapseAll")}),n.jsx(_e,{label:t("conn.columns"),selectionMode:"multiple",items:l.columns,value:l.visibleColumns,onAction:l.toggleColumn,children:t("conn.columns")}),l.filtered&&n.jsx(ie,{quiet:!0,onPress:l.clear,children:t("ui.clearFilters")}),l.truncated&&n.jsx(pe,{tone:"warn",children:t("conn.truncated")}),l.visibility&&n.jsx(k,{text:t("conn.visibilityNote"),children:n.jsx(pe,{children:l.visibility})}),n.jsx("span",{className:"rp-grow"}),l.canClose&&n.jsx(re,{label:t("conn.closeAll"),...l.closeAll}),n.jsxs(ie,{isDisabled:!l.canExport,onPress:l.export,children:[n.jsx(Ae,{}),t("conn.export")]})]}),n.jsxs("div",{className:"rp-with-panel","data-open":i?"":void 0,children:[n.jsx(gn,{collection:l.collection,loading:l.loading,selected:l.sel,onSelect:l.select,selectOnFocus:l.wide,view:l.view,collapse:l.collapse,onToggleGroup:l.toggleCollapse,onSort:e=>l.updateView({sort:e}),rule:l.ruleAction.row}),n.jsx(ce,{open:!!i,title:l.detailTitle,onClose:()=>l.select(null),children:i&&n.jsxs(n.Fragment,{children:[n.jsx(ue,{help:i.stateHelp,children:n.jsx(xe,{small:!0,tone:i.tone,children:i.status})}),n.jsxs("div",{className:"rp-cluster",children:[l.ruleAction.canAdd&&n.jsx(ie,{onPress:l.ruleAction.openAdd,children:t("rule.add")}),n.jsx(ye,{actions:[...l.ruleAction.canShow?[{id:"show-rule",label:t("conn.showRule"),onAction:()=>l.showRule()}]:[],...l.ruleAction.canEdit?[{id:"edit-rule",label:t("conn.editRule"),onAction:()=>l.showRule(!0)}]:[],...l.canViewFlow?[{id:"view-flow",label:t("conn.viewFlow"),onAction:l.showFlow}]:[],...l.canTrace?[{id:"trace",label:t("conn.trace"),onAction:l.traceConnection}]:[],...i.source?[{id:"only-client",label:t("conn.onlyThisClient"),onAction:l.onlyClient}]:[],...l.canClose&&i.closable?[{id:"close",label:t("conn.close"),negative:!0,isPending:l.close.pending,isDisabled:l.close.disabled||!!i.closeReason,reason:i.closeReason??void 0,onAction:l.close.run}]:[]]})]}),n.jsxs(je,{children:[n.jsx(ke,{detail:!0,title:t("conn.section.route"),items:[...i.rule?[[t("ui.rule"),n.jsx("span",{className:"rp-rule",children:n.jsx(de,{...i.rule})})]]:[],...i.outbound?[[t("ui.outbound"),n.jsx(a,{...i.outboundTag})]]:[],...i.chain?[[t("conn.chain"),i.chain]]:[],...i.subscription?[[t("nodes.kind.subscription"),i.subscription]]:[]]}),n.jsx(ke,{detail:!0,title:t("conn.section.connection"),items:i.sections.connection.map(([e,t])=>[e,"string"==typeof t?t:n.jsx(o,{ip:t.ip,address:t.address,sites:s(t.ip)})])}),i.sections.traffic.length>0&&n.jsx(ke,{detail:!0,title:t("conn.section.traffic"),items:i.sections.traffic.map(([e,{total:t,rate:o}])=>[e,o?n.jsxs(n.Fragment,{children:[t," ",n.jsx("span",{className:"rp-label",children:o})]}):t])}),n.jsx(ke,{detail:!0,title:t("conn.section.sources"),items:i.sections.provenance})]})]})})]}),l.notInSnapshot&&n.jsx("span",{className:"rp-label",children:t("conn.notInSnapshot")}),n.jsx(Ke,{dialog:l.ruleAction.dialog})]}),traffic:n.jsx(tn,{records:l.rows,outbounds:l.outboundKeys,latency:l.latency,latencyError:l.latencyError,retryLatency:l.retryLatency,truncated:l.truncated,uncounted:l.trafficUncounted,onSelect:l.openInList,loading:l.loading})};return n.jsxs("div",{className:"rp-page",children:[l.error&&n.jsx(f,{error:l.error,onRetry:l.retry}),n.jsx(Ce,{page:!0,keepMounted:!0,label:t("nav.connections"),value:l.tab,onChange:l.setTab,items:se().map(e=>({id:e.id,label:t(e.titleKey),content:c[e.id]}))})]})}export{Tn as Connections}; diff --git a/assets/Copy-ftx4Gb2m.js b/assets/Copy-ftx4Gb2m.js new file mode 100644 index 00000000..57e8b309 --- /dev/null +++ b/assets/Copy-ftx4Gb2m.js @@ -0,0 +1 @@ +import{r as c,j as r}from"./vendor-react-64fcanlc.js";import{u as s,dV as o,K as l,I as t}from"./index-C4UFgHia.js";function a(){const r=s();return c.useCallback(async c=>{const s=await o(c);l(s?"positive":"negative",r(s?"ui.recordCopied":"ui.recordCopyFailed"))},[r])}function e(c){return r.jsxs(t,{...c,children:[r.jsx("path",{fill:"currentColor",d:"m11.75,18h-7.5c-1.24023,0-2.25-1.00977-2.25-2.25v-7.5c0-1.24023,1.00977-2.25,2.25-2.25.41406,0,.75.33594.75.75s-.33594.75-.75.75c-.41309,0-.75.33691-.75.75v7.5c0,.41309.33691.75.75.75h7.5c.41309,0,.75-.33691.75-.75,0-.41406.33594-.75.75-.75s.75.33594.75.75c0,1.24023-1.00977,2.25-2.25,2.25Z"}),r.jsx("path",{fill:"currentColor",d:"m6.75,5c-.41406,0-.75-.33594-.75-.75,0-1.24023,1.00977-2.25,2.25-2.25.41406,0,.75.33594.75.75s-.33594.75-.75.75c-.41309,0-.75.33691-.75.75,0,.41406-.33594.75-.75.75Z"}),r.jsx("path",{fill:"currentColor",d:"m13,3.5h-2c-.41406,0-.75-.33594-.75-.75s.33594-.75.75-.75h2c.41406,0,.75.33594.75.75s-.33594.75-.75.75Z"}),r.jsx("path",{fill:"currentColor",d:"m13,14h-2c-.41406,0-.75-.33594-.75-.75s.33594-.75.75-.75h2c.41406,0,.75.33594.75.75s-.33594.75-.75.75Z"}),r.jsx("path",{fill:"currentColor",d:"m15.75,14c-.41406,0-.75-.33594-.75-.75s.33594-.75.75-.75c.41309,0,.75-.33691.75-.75,0-.41406.33594-.75.75-.75s.75.33594.75.75c0,1.24023-1.00977,2.25-2.25,2.25Z"}),r.jsx("path",{fill:"currentColor",d:"m17.25,5c-.41406,0-.75-.33594-.75-.75,0-.41309-.33691-.75-.75-.75-.41406,0-.75-.33594-.75-.75s.33594-.75.75-.75c1.24023,0,2.25,1.00977,2.25,2.25,0,.41406-.33594.75-.75.75Z"}),r.jsx("path",{fill:"currentColor",d:"m17.25,9.75c-.41406,0-.75-.33594-.75-.75v-2c0-.41406.33594-.75.75-.75s.75.33594.75.75v2c0,.41406-.33594.75-.75.75Z"}),r.jsx("path",{fill:"currentColor",d:"m6.75,9.75c-.41406,0-.75-.33594-.75-.75v-2c0-.41406.33594-.75.75-.75s.75.33594.75.75v2c0,.41406-.33594.75-.75.75Z"}),r.jsx("path",{fill:"currentColor",d:"m8.25,14c-1.24023,0-2.25-1.00977-2.25-2.25,0-.41406.33594-.75.75-.75s.75.33594.75.75c0,.41309.33691.75.75.75.41406,0,.75.33594.75.75s-.33594.75-.75.75Z"})]})}export{e as C,a as u}; diff --git a/assets/Coverage-BhgtC9t6.js b/assets/Coverage-BhgtC9t6.js new file mode 100644 index 00000000..2b0d571a --- /dev/null +++ b/assets/Coverage-BhgtC9t6.js @@ -0,0 +1 @@ +import{ao as e,b4 as l,a0 as r,u as s,T as a}from"./index-C4UFgHia.js";import{j as o}from"./vendor-react-64fcanlc.js";import{L as n}from"./logs-j0cmmcZI.js";const t={userspace_tcp:"flow.userspaceTcp",userspace_udp:"flow.userspaceUdp",kernel_direct:"flow.kernelDirect",kernel_block:"flow.kernelBlock",dns_intercept:"flow.dnsIntercept",kernel_bypass:"flow.kernelBypass"},c={full:"flow.full",partial:"flow.partialVisibility",none:"ui.none"};function p(s,a,o){const n=Object.entries(s.coverage).filter(([,e])=>"full"!==e),p=e(s.dropped_records),i=p?a("flow.dropped",{n:p}):null;return n.length||i?{summary:n.length?a("flow.coverageSummary",{n:n.length}):null,detail:l(o,n.map(([e,l])=>a("ui.valuePair",{label:r(t,e,a),value:r(c,l,a)}))),dropped:i}:null}function i({view:e}){const l=s();return o.jsxs("div",{className:"rp-cluster",role:"group","aria-label":l("flow.coverage"),children:[e.summary&&o.jsx(a,{text:e.detail,children:o.jsx(n,{small:!0,tone:"warn",children:e.summary})}),e.dropped&&o.jsx(n,{small:!0,tone:"warn",children:e.dropped})]})}export{i as C,p as c}; diff --git a/assets/DaeCode-DEjXqvav.js b/assets/DaeCode-DEjXqvav.js new file mode 100644 index 00000000..c8ff1df5 --- /dev/null +++ b/assets/DaeCode-DEjXqvav.js @@ -0,0 +1 @@ +import{r as e}from"./vendor-react-64fcanlc.js";import{t}from"./daeTokens-BVtuNnWZ.js";function a({text:a,as:r="span",className:s=""}){return e.createElement(r,{className:`rp-code ${s}`.trim()},t(a).map((t,a)=>t.type?e.createElement("span",{key:a,className:`rp-dae-${t.type}`},t.text):t.text))}export{a as D}; diff --git a/assets/Delete-D69JigFx.js b/assets/Delete-D69JigFx.js new file mode 100644 index 00000000..62cd7984 --- /dev/null +++ b/assets/Delete-D69JigFx.js @@ -0,0 +1 @@ +import{j as c}from"./vendor-react-64fcanlc.js";import{I as r}from"./index-C4UFgHia.js";function l(l){return c.jsxs(r,{...l,children:[c.jsx("path",{fill:"currentColor",d:"M8.249 15.021c-.4 0-.733-.317-.748-.72l-.25-6.5c-.017-.414.307-.763.72-.779H8c.4 0 .733.317.748.72l.25 6.5c.017.414-.307.763-.72.778zM11.751 15.021h-.03c-.413-.016-.737-.365-.72-.779l.25-6.5c.015-.403.348-.72.748-.72h.03c.413.016.737.365.72.779l-.25 6.5c-.015.403-.348.72-.748.72"}),c.jsx("path",{fill:"currentColor",d:"M17 4h-3.5v-.75C13.5 2.01 12.49 1 11.25 1h-2.5C7.51 1 6.5 2.01 6.5 3.25V4H3c-.414 0-.75.336-.75.75s.336.75.75.75h.52l.422 10.342C3.99 17.052 4.98 18 6.19 18h7.62c1.211 0 2.2-.948 2.248-2.158L16.48 5.5H17c.414 0 .75-.336.75-.75S17.414 4 17 4m-9-.75c0-.413.337-.75.75-.75h2.5c.413 0 .75.337.75.75V4H8zm6.56 12.531c-.017.404-.346.719-.75.719H6.19c-.404 0-.733-.315-.75-.719L5.02 5.5h9.96z"})]})}export{l as D}; diff --git a/assets/Dns-CP7rSbYW.js b/assets/Dns-CP7rSbYW.js new file mode 100644 index 00000000..3afde5c6 --- /dev/null +++ b/assets/Dns-CP7rSbYW.js @@ -0,0 +1 @@ +import{r as e,j as s}from"./vendor-react-64fcanlc.js";import{ct as a,X as t,c2 as n,a0 as r,af as l,a8 as i,a4 as d,Z as c,ao as o,A as u,u as m,ag as h,r as p,ci as x,J as g,ck as y,t as f,w as b,h as j,cm as v,au as w,at as _,cu as N,cv as k,b9 as S,ch as C,K as T,co as q,aY as R,cw as M,c1 as L,aG as A,am as E,E as F,cx as D,bn as P,cy as W,C as O,c as B,S as U,al as H,T as K,bQ as I,cz as $,cq as Q,bR as z,cA as G,B as J,cB as V,aE as X,bH as Y,cr as Z}from"./index-C4UFgHia.js";import{D as ee}from"./Delete-D69JigFx.js";import{s as se,l as ae,b as te,m as ne,C as re,F as le,B as ie,L as de,W as ce,n as oe,q as ue,D as me}from"./activity-C22CeO5G.js";import{i as he,I as pe,a as xe}from"./ipLookup-Cl7psHhv.js";import{u as ge,t as ye,k as fe,v as be,w as je,i as ve,S as we,j as _e,p as Ne,B as ke,K as Se,L as Ce,A as Te}from"./logs-j0cmmcZI.js";import{T as qe}from"./Tabs-Kfe2CfSx.js";import{D as Re}from"./Table-DotwWze-.js";import{T as Me}from"./TimeCell-xtED_iww.js";import{c as Le,d as Ae,e as Ee}from"./files-Dt8K7QfP.js";import{a as Fe}from"./rule-ljMHmFs3.js";import{d as De,u as Pe}from"./nodes-BXUOUiP2.js";import{u as We,R as Oe,Q as Be}from"./useQuickRule-D86TFC6s.js";/* empty css */import"./_commonjsHelpers-CXUWDbkB.js";import"./ItemText-B5OxI5lS.js";import"./AppearanceControls-I4PvP9Es.js";import"./LinkOut-DVAiBR_J.js";import"./Select-W-Xrx6y6.js";import"./useGridSelectionCheckbox-D0fV1e0v.js";import"./Virtualizer-tkoH0e4V.js";import"./Checkbox-CUoHrzuV.js";import"./DaeCode-DEjXqvav.js";import"./daeTokens-BVtuNnWZ.js";import"./AddCircle-qKwVDZ__.js";import"./SearchSelect-CSXz7lhe.js";import"./SearchList-D75Ie4nx.js";import"./BackendText-CxshqKrW.js";import"./flows-BfIUsgdd.js";function Ue(e,s,a,n,r){return{domain:e,dip:null,sip:(r&&t(r))??null,outbound:null,matched:null,dns:{type:s,answers:Fe(a),upstream:n,query:{name:e,type:s}}}}const He=(e,s,a)=>({domain:null,dip:e,sip:null,outbound:null,matched:null,dns:{type:a,answers:[e],upstream:null,query:{name:s,type:a}}}),Ke={forced:"dns.route.forced","dns.routing":"dns.route.rules",default:"dns.route.default"};function Ie(e,s,a){return{fields:[[a("ui.state"),e.status],[a("ui.upstream"),e.upstream??"—"],[a("dns.routeSource"),r(Ke,e.route.source,a)],[a("dns.routeRule"),e.route.rule??"—"],[a("ui.elapsed"),l(e.elapsed_ms,a)]],answers:(e.answers??[]).map(e=>{const t=Fe([e])[0],r=t?n(t):void 0;return{data:e.data,name:(l=e.name,i=s,l.replace(/\.$/,"").toLowerCase()===i.replace(/\.$/,"").toLowerCase()?null:e.name),type:e.type,ttl:a("dns.ttl",{ttl:e.ttl}),lookup:r&&he(r)?r:null};var l,i}),cacheText:a(e.cached?"dns.hit":"dns.miss"),cacheTone:e.cached?void 0:"warn"}}function $e(e,s,a){return e?a instanceof u&&503===a.status?"unavailable":s?"ready":a?"error":"loading":"unlisted"}const Qe=[{id:"full",label:"rule.kind.domain"},{id:"suffix",label:"rule.kind.domainSuffix"},{id:"keyword",label:"rule.kind.domainKeyword"},{id:"regex",label:"dns.matchRegex"}],ze=e=>e.trim().toLowerCase().replace(/\.$/,"");function Ge(e,s){if(!s.trim())return()=>!0;if("regex"===e){const e=function(e){try{return new RegExp(e,"iu")}catch{return null}}(s);return e&&(s=>e.test(ze(s)))}if("keyword"===e){const e=s.trim().toLowerCase();return s=>ze(s).includes(e)}const a=ze(s),t="suffix"===e&&a.startsWith("."),n=t?a.slice(1):a;return n?"full"===e?e=>ze(e)===n:e=>{const s=ze(e);return s.endsWith("."+n)||!t&&s===n}:null}function Je({go:s,query:t}){const n=m(),r=h(),l=p(),i=e.useMemo(()=>new URLSearchParams(t),[t]),[d,c]=e.useState(i.get("domain")??""),[o,u]=e.useState(i.get("type")??"A"),[w,_]=e.useState(!1);x(i.get("domain"),e=>c(e??"")),x(i.get("type"),e=>u(e??"A"));const[N,k]=e.useState(null),{busy:S,error:C,run:T}=g({rethrow:!0}),q=l.data?.resources,R=e.useMemo(()=>function(e,s,t,n,r,l){const i=s?.dns_query.record_types??[],d="all"===t?i.length>0:i.includes(t);return{types:i,choices:[...i.map(e=>({id:e,label:e})),{id:"all",label:l("dns.allTypes")}],disabled:r||!s?.dns_query.available||!d||!n.trim(),reason:!s||r?null:s.dns_query.available?d?null:l("all"===t?"dns.noTypes":"dns.typeUnsupported"):l("dns.queryUnavailable"),showCache:!!s?.dns_cache.available,cards:e?.results.map(s=>({id:s.type,title:`${e.domain} ${s.type}`,...Ie(s,e.domain,l),seed:Ue(e.domain,s.type,s.answers??[],s.upstream,null),answerSeeds:(s.answers??[]).map(a=>Fe([a]).length?{address:a.data,seed:He(a.data,e.domain,s.type)}:null)}))??[],tabs:a(s).map(e=>({id:e.id,label:l(e.titleKey)}))}}(N,q,o,d,!!S,n),[N,q,o,d,S,n]),M=R.tabs.map(e=>e.id),L=i.has("domain")||i.has("device"),A=M.includes("log")?L?"log":"stats":M.includes("query")?"query":M[0]??"query",E=y(t,M,A),F=f(q,"config",{whileLoading:!1}),D=ge("query"===E&&F&&f(q,"dns_query",{whileLoading:!1})),P=e.useMemo(()=>F?function(e,s){const a=[...new Set((e??[]).flatMap(e=>e.content?De(e.content).map(Pe):[]))];return a.length?[{id:"",label:s("dns.upstreamAuto")},...a.map(e=>({id:e,label:e}))]:[]}(D.data?.sources,n):[],[F,D.data,n]),[W,O]=e.useState(""),B=P.some(e=>e.id===W)?W:"";D.data&&W&&!B&&O("");const U=async(e={domain:d,type:o})=>{try{await T("query",async s=>{const a=await ye(r.dnsQuery,e.domain.trim(),"all"===e.type?R.types:[e.type],q?.dns_query.limits?.max_types_per_request??1,s,w?"bypass":"normal",B||void 0);return s.aborted||k(a),a})}catch{}},H=f(q,"dns_query",{whileLoading:!1})&&R.types.length>0,K=We(s,{queryAgain:H?e=>{const a=R.types.includes(e.type)?e.type:"all";s("dns",b("",{tab:"query",domain:e.name.replace(/\.$/,""),type:a,run:"1"}))}:void 0}),I=i.has("run")&&q?t:null,$=e.useEffectEvent(e=>{const a=new URLSearchParams(e);s("dns",b(e,{run:null}),{replace:!0}),U({domain:a.get("domain")??"",type:a.get("type")??"A"})});return e.useEffect(()=>{null!==I&&$(I)},[I]),{...R,rule:{...K,label:e=>n(f(q,"dns_rules",{whileLoading:!1})?"dns.addRequestRuleFor":"dns.addRoutingRuleFor",{domain:e})},domain:d,setDomain:c,type:o,setType:u,bypassCache:w,setBypassCache:_,upstreams:P,upstream:B,setUpstream:O,pending:"query"===S,queryError:C,submit:()=>{U()},setTab:e=>s("dns",v(t,e,q&&!L?A:null)),tab:E,filterDomain:i.get("domain")??"",filterDevice:i.get("device")??"",cacheHref:M.includes("cache")?j("dns",{tab:"cache"}):null,logHref:(e,s)=>j("dns",{tab:"log",[e]:s}),logLinks:[...f(q,"dns_rules",{whileLoading:!1})?[{id:"rules",label:n("rule.dnsTitle"),onAction:()=>s("rules","tab=dns")}]:[],...q?.runtime_settings.available?[{id:"recording",label:n("ui.recordingSettings"),onAction:()=>s("settings","card=runtime")}]:[]],logEnabled:q?.dns_log.available,viewCache:()=>s("dns",b(t,{tab:"cache",domain:N?.domain??""})),clearCacheFilter:()=>s("dns",b(t,{tab:"cache",domain:null}))}}function Ve(s){const a=m(),t=w[_()],[n,r]=e.useState(!1),l=be(!k(),n),[i,c]=e.useState(s?"keyword":"suffix"),[o,u]=e.useState(s),[h,p]=e.useState("all");x(s,e=>{u(e),c(e?"keyword":"suffix"),p("all")});const g=[...new Set([...l.capabilities.data?.resources.dns_query.record_types??[],...(l.cache.data?.entries??[]).map(e=>e.type)])],y=e.useMemo(()=>({kind:i,text:o}),[i,o]),f=N(y,250),b=f!==y,j=l.cache.data?.entries,{matches:v,error:S,pending:C}=function(s,a,t){const n=e.useMemo(()=>(s??[]).filter(e=>"all"===t||e.type===t),[s,t]),r="regex"===a.kind&&!!a.text.trim(),[l,i]=e.useState(null);e.useEffect(()=>{if(!r)return;const e=new Worker(new URL(""+new URL("match.worker-B2aIccpg.js",import.meta.url).href,import.meta.url),{type:"module"});let s,t=!0;const l=(r,l)=>{t&&(t=!1,clearTimeout(s),e.terminate(),i({candidates:n,pattern:a,matches:r?.map(e=>n[e])??[],error:l??(null===r?"dns.invalidRegex":void 0)}))};return e.onmessage=r=>{t&&("ready"===r.data?(s=window.setTimeout(()=>l([],"dns.regexTimeout"),1e3),e.postMessage({text:a.text,names:n.map(e=>e.domain)})):l(r.data))},e.onerror=e=>{e.preventDefault(),l([],"dns.matchFailed")},()=>{t=!1,clearTimeout(s),e.terminate()}},[r,n,a]);const d=e.useMemo(()=>{if(r)return null;const e=Ge(a.kind,a.text);return{matches:e?n.filter(s=>e(s.domain)):[],error:e?void 0:"dns.invalidName"}},[r,n,a]);if(d)return{...d,pending:!1};const c=l?.candidates===n&&l.pattern===a;return{matches:c?l.matches:[],error:c?l.error:void 0,pending:!c}}(j,f,h),M=!!o.trim()||"all"!==h||!!s,L=e.useMemo(()=>function(e,s,a,t,n,r=e?.entries??[],l=!1){const i=s?.dns_cache;return{readable:!!i?.available&&!0===i.read,fields:[[n("dns.entries"),e?d(e.total,t):"—"]],coverage:e?["positive","negative","persistent"].filter(s=>!e.coverage[s]).map(e=>({id:e,text:"persistent"===e?n("dns.memoryOnly"):n("ui.valuePair",{label:n("positive"===e?"dns.positive":"dns.negative"),value:n("dns.notCovered")})})):[],deleteBy:{name:!!i?.available&&!0===i.delete_name,entry:!!i?.available&&!0===i.delete_entry},confirmationText:e?n("dns.flushConfirm",{n:e.total}):n("dns.flushConfirmAll"),flushDisabled:!!a||!s?.dns_cache.available||!s.dns_cache.flush,flushReason:!i||a||i.available&&i.flush?null:n("dns.flushUnsupported"),deleteReason:!(i&&!a&&r.length>0)||i.available&&i.delete_entry?null:n("dns.deleteUnsupported"),empty:n(s?.dns_cache.available&&s.dns_cache.read?l?"dns.emptyFiltered":"dns.empty":"dns.cacheUnavailable"),rows:r.map(e=>({id:e.entry_id,domain:e.domain,type:e.type,status:e.status,expiresAt:e.expires_at,staleUntil:e.stale_until,deleteLabel:n("dns.deleteEntry",{domain:e.domain,type:e.type}),seed:Ue(e.domain,e.type,[],null,null),pending:a===e.entry_id,disabled:!!a||!s?.dns_cache.available||!s.dns_cache.delete_entry}))}}(l.cache.data,l.capabilities.data?.resources,l.busy,t,a,b?[]:v,M),[l.cache.data,l.capabilities.data,l.busy,t,a,b,v,M]),A="full"===i&&!!o.trim()&&L.deleteBy.name,{remove:E}=l,F=e.useCallback(e=>{E(e).then(e=>e&&T("positive",a("dns.deleted",{n:e.deleted})),e=>T("negative",a("dns.deleteFailed"),q(e,a)))},[E,a]);return{...L,includeExpired:n,setIncludeExpired:r,matchKind:i,matchText:o,matchType:h,matchAvailable:L.readable||L.deleteBy.name||L.deleteBy.entry,filtered:M,clearMatches:()=>{u(""),p("all"),c("suffix")},setMatchType:p,setMatchKind:c,setMatchText:e=>{const s=function(e,s){return s.startsWith("*.")?{kind:"suffix",text:s.slice(2)}:{kind:e,text:s}}(i,e);c(s.kind),u(s.text)},matchKinds:Qe.map(e=>({id:e.id,label:a(e.label)})),matchTypes:[{id:"all",label:a("dns.allTypes")},...g.map(e=>({id:e,label:e}))],matchError:S?a(S):void 0,matchReason:L.deleteBy.entry||!L.deleteBy.name||A||l.busy?null:a("dns.matchNameOnly"),matchPending:"delete-match"===l.busy,matchDisabled:!!l.busy||b||C||!!S||!A&&!v.length||!o.trim()&&"all"===h||!(L.deleteBy.entry||A),matchConfirmation:A?a("dns.deleteNameConfirm",{name:o.trim(),type:"all"===h?a("dns.allTypes"):h}):a("dns.deleteMatchingConfirm",{n:v.length}),matchListed:v.slice(0,100),matchMore:v.length>100?a("dns.matchMore",{n:v.length-100}):null,removeMatching:async()=>{try{if(A){const e=await l.removeName({name:o.trim(),type:"all"===h?void 0:[h]});return void(e&&T("positive",a("dns.deleted",{n:e.deleted})))}const e=await l.removeMany(v.map(e=>e.entry_id));if(!e)return;e.failed?e.deleted?T("negative",a("dns.deletePartial",{deleted:e.deleted,n:e.failed})):T("negative",a("dns.deleteAllFailed",{n:e.failed})):T("positive",a("dns.deleted",{n:e.deleted}))}catch(e){return a("dns.deleteMatchingFailed",{error:R(e,a)})}},error:l.cache.error,retry:l.cache.refetch,loading:(l.cache.loading||l.capabilities.loading)&&!l.cache.data||b||C,flushPending:"flush"===l.busy,remove:F,flush:async()=>{try{const e=await l.flush();e&&T("positive",a("dns.flushed",{matched:e.matched,deleted:e.deleted}))}catch(e){return a("dns.flushFailed",{error:R(e,a)})}},abortFlush:()=>{l.cancel(),l.cache.refetch()}}}function Xe(s){const a=m(),t=w[_()],[n,r]=A(),[l,i]=e.useState(!1),u=je(s,!r&&l);u.data&&!l&&i(!0);const h=e.useMemo(()=>function(e,s,a){if(!e)return null;const{usage:t,coverage:n}=e,r=e=>{const a=o(e);return null===a?"—":d(a,s)},l=t?.entry_capacity??null,i=t&&null!==l?c(t.entries,l):null;return{note:t?null===l?a("dns.chart.usageFacts",{entries:r(t.entries)}):void 0:a("dns.chart.cacheNote",{n:e.total}),usage:t&&null!==l&&null!==i?{meter:o(l)?{value:i,valueLabel:i>0&&i<.5?"<"+a("ui.percent",{n:1}):a("ui.percent",{n:Math.round(i)})}:null,facts:[{label:a("dns.chart.entries"),value:r(t.entries)},{label:a("dns.chart.capacity"),value:r(l)}]}:null,coverage:a("dns.chart.coverage",{kinds:[n.positive&&a("dns.chart.positive"),n.negative&&a("dns.chart.negative")].filter(Boolean).join(a("ui.listSeparator")),persistent:a(n.persistent?"dns.chart.persistent":"dns.chart.memoryOnly")})}}(u.data,t,a),[u.data,t,a]);return{ref:n,card:h,state:$e(s,!!h,u.error),error:u.error,retry:u.refetch}}function Ye(s,a,t){const r=m(),d=w[_()],[c,o]=e.useState(a);x(a,o);const[y,f]=e.useState("all"),[b,j]=e.useState(t);x(t,j);const v=h(),q=p(),R=N(b),A=n(R),E=""!==R.trim()&&!A,[F,D]=e.useState(A);E||A===F||D(A);const P={name:N(c),type:y,src:E?F:A},W=JSON.stringify(P),O=fe(P,!0===s,!k()),[B,U]=e.useState(null),[H,K]=e.useState(!1),I=g({scope:W});x(W,()=>U(null));const{data:$,newerWaiting:Q}=e.useMemo(()=>function(e,s){const a=s&&new Set(s.records.map(e=>e.id));return{data:s??e,newerWaiting:!!a&&!!e?.records.some(e=>!a.has(e.id))}}(O.data,B),[O.data,B]),z=()=>{I.run("older",async e=>{if(!$?.next_cursor)return;let s;U($);try{s=await v.dnsLog({name:P.name.trim()||void 0,type:"all"===y?void 0:y,src:P.src,cursor:$.next_cursor,limit:$.limit},e)}catch(a){if(!(a instanceof u)||e.aborted)throw a;const s=M(a);if(!(410===a.status&&"snapshot_expired"===a.code||400===a.status&&"invalid_request"===a.code)&&!s)throw a;return s&&await L(a.retryAfter,e),U(null),O.refetch(),void T("info",r("dns.olderExpired"))}e.aborted||U(function(e,s){const a=new Set(e.records.map(e=>e.id));return{...e,records:[...e.records,...s.records.filter(e=>!a.has(e.id))],next_cursor:s.next_cursor}}($,s))})},G=()=>{I.cancel(),U(null);const e=O.refetch();e&&(K(!0),e.finally(()=>K(!1)))},[J,V]=e.useState(null),X=S(C),Y=q.data?.resources.dns_query.record_types,Z=e.useMemo(()=>function(e,s,a,t=[]){const n=e?.records??[];return{choices:[{id:"all",label:a("dns.allTypes")},...[...new Set([...t,...n.map(e=>e.question.type)])].map(e=>({id:e,label:e}))],total:e?a("dns.logTotal",{n:e.total}):"",totalHelp:e?{title:a("dns.logTotal",{n:e.total}),text:a("dns.logTotalHelp")}:null,loaded:e?.next_cursor?a("dns.logLoaded",{n:n.length}):"",empty:a(void 0===s?"ui.loading":s?"dns.logEmpty":"dns.logUnavailable"),rows:n.map(e=>({id:e.id,observedAt:e.observed_at,name:e.question.name,type:e.question.type,seed:Ue(e.question.name,e.question.type,e.answers,e.upstream,e.src),source:e.src??"—",resultError:"NOERROR"!==e.status,result:"NOERROR"!==e.status?e.status:e.answers.map(e=>e.data).join(", ")||"—",cached:e.cached,upstream:e.cached?a("dns.hit"):e.upstream??"—",elapsed:l(e.elapsed_ms,a)}))}}($,s,r,Y),[$,s,r,Y]),ee=e.useMemo(()=>function(e,s,a,t){const n=e?.records.find(e=>e.id===s);if(!n)return null;const r=Ie(n,n.question.name,t);return{id:n.id,title:n.question.name,answers:r.answers,fields:[[t("ui.type"),n.question.type],[t("ui.device"),n.src??"—"],r.fields[0],[t("ui.cache"),r.cacheText],...r.fields.slice(1),[t("ui.time"),i(n.observed_at,a)]]}}($,J,d,r),[$,J,d,r]);return{...Z,detail:ee,detailTitle:ee?.title??"",name:c,newerWaiting:Q,setName:o,type:y,setType:f,src:b,setSrc:j,srcError:E?r("ui.invalidIp"):void 0,selected:ee?J:null,setSelected:V,wide:X,error:I.error??O.error,loading:O.loading&&!$,hasOlder:!!$?.next_cursor,loadingOlder:!!I.busy,loadOlder:z,refreshing:H,refresh:G,retry:I.error?z:G,export:()=>{return Ae(Ee("dns-log","csv"),(e=$?.records??[],[Le(["id","observed_at","src","name","type","status","cached","upstream","route_source","route_rule","elapsed_ms","answers"]),...e.map(e=>Le([e.id,e.observed_at,e.src,e.question.name,e.question.type,e.status,e.cached?"true":"false",e.upstream,e.route.source,e.route.rule,e.elapsed_ms,e.answers.map(e=>e.data).join(" ")]))].join("\n")+"\n"),"text/csv;charset=utf-8");var e}}}const Ze={cached:"dns.outcome.cached",answered:"dns.outcome.answered",nxdomain:"dns.outcome.nxdomain",failed:"dns.outcome.failed"};function es({enabled:a,links:t}){const n=m(),{log:r,cacheListed:l,configHref:i}=function(s){const a=fe({},!0===s,!k()),t=p().data?.resources,n=f(t,"config",{whileLoading:!1}),r=ge(!0===s&&n),l=r.data?.sources,i=e.useMemo(()=>n&&l?se(l,"dns"):null,[n,l]);return{log:a,cacheListed:f(t,"dns_cache",{whileLoading:!1})&&!0===t?.dns_cache.read,configHref:i}}(a);if(!1===a)return s.jsx(E,{children:n("dns.logUnavailable")});if(void 0===a)return null;const d=r.error,c=r.data?null:!d||s.jsx(E,{children:n("dns.chart.noLog")}),o=d?s.jsx(F,{error:d,onRetry:r.refetch}):ae(r.data,r.limit)?s.jsx("p",{className:"rp-note",children:n("dns.chart.shortPage",{n:r.data.records.length,limit:r.limit})}):null;return s.jsx(as,{records:r.data?.records??ss,pending:c,notice:o,cacheListed:l,links:{...t,config:i}})}const ss=[];function as({records:a,pending:t,notice:n,cacheListed:r,links:i}){const d=m(),c=te(),o=w[_()],u=e.useMemo(()=>ne(a,o),[a,o]),h={cached:c.positive,answered:c.cat[2],nxdomain:c.notice,failed:c.negative},p=e=>d("ui.percent",{n:null===e?0:Math.round(100*e)}),x=(e,s)=>{const a=s?e/s:0;return e>0&&a<.005?"<"+d("ui.percent",{n:1}):e.995?">"+d("ui.percent",{n:99}):p(a)},g=e=>({id:e.id,value:e.value,color:h[e.outcome],lines:[e.name,l(e.value,d),d(Ze[e.outcome])]}),y=!0===t,f=e=>y?"bars"===e?s.jsx(U,{shape:"bars",count:7,typical:!0}):s.jsx(H,{holds:"swarm",children:s.jsx(U,{shape:"block",typical:!0})}):t??(u.total<5?s.jsx(E,{children:d("dns.chart.tooFew")}):null),b=f("block"),j=[{label:d("dns.chart.median"),value:l(u.typical,d),icon:s.jsx(D,{}),tint:"c1"},{label:d("dns.chart.p95"),value:l(u.slowest,d),icon:s.jsx(re,{}),tint:"c4"},{label:d("dns.chart.cacheRate"),value:p(u.cacheRate),icon:s.jsx(P,{}),tint:"c2"},{label:d("dns.chart.failureRate"),value:p(u.failureRate),icon:s.jsx(W,{}),tint:"c5",tone:u.counts.failed?"negative":void 0}];return s.jsxs("div",{className:"rp-chart-page",children:[n,(y||!b)&&s.jsx(le,{facts:j,loading:y}),s.jsxs("div",{className:"rp-g21",children:[s.jsx(O,{title:d("dns.chart.speed",{n:u.samples.length}),note:b?void 0:d("dns.chart.sample",{n:u.total,uncached:u.uncached,upstream:u.samples.length}),aside:i.config&&s.jsx(B,{appearance:"link",href:i.config,children:d("dns.openConfig")}),children:b??s.jsxs(s.Fragment,{children:[s.jsx(ie,{label:d("dns.chart.speed",{n:u.samples.length}),points:u.samples.map(g),marks:null!==u.typical&&null!==u.slowest?[{value:u.typical,label:d("dns.chart.typical",{value:l(u.typical,d)})},{value:u.slowest,label:d("dns.chart.slowest",{value:l(u.slowest,d)})}]:[],rows:u.upstreams.map(e=>({id:e.upstream,label:e.upstream,detail:d("dns.chart.upstream",{n:e.samples.length,median:l(e.median,d)}),points:e.samples.map(g),mark:e.median})),fmt:e=>l(e,d)}),s.jsxs("div",{className:"rp-legend",children:[["answered","nxdomain","failed"].map(e=>s.jsx(de,{swatch:h[e],label:d(Ze[e])},e)),s.jsx(de,{swatch:s.jsx("i",{className:"rp-median-key","aria-hidden":"true"}),label:d("dns.chart.medianKey")})]})]})}),s.jsx(O,{title:d("dns.chart.outcomes"),children:b??s.jsx(ce,{label:d("dns.chart.outcomes"),shares:oe.map(e=>({id:e,label:d(Ze[e]),count:u.counts[e],color:h[e],text:d("dns.chart.share",{n:u.counts[e],share:x(u.counts[e],u.total)})}))})})]}),s.jsxs("div",{className:"rp-g21",children:[s.jsx(ns,{analysis:u,standIn:f("bars"),logHref:i.log}),s.jsx(ts,{listed:r,href:i.cache})]})]})}function ts({listed:e,href:a}){const t=m(),{ref:n,...r}=Xe(e);return s.jsx(O,{ref:n,title:t("dns.chart.cache"),note:"ready"===r.state?r.card?.note:void 0,aside:e&&a&&s.jsx(B,{appearance:"link",href:a,children:t("dns.viewCache")}),children:"unlisted"===r.state?s.jsx(E,{children:t("dns.cacheUnavailable")}):"unavailable"===r.state?s.jsx(E,{children:t("dns.cacheBusy")}):"error"===r.state?s.jsx(F,{error:r.error,onRetry:r.retry}):r.card?s.jsxs(s.Fragment,{children:[r.card.usage&&s.jsxs("div",{className:"rp-form",children:[r.card.usage.meter&&s.jsx(_e,{label:t("dns.chart.usage"),...r.card.usage.meter}),s.jsx(le,{facts:r.card.usage.facts})]}),s.jsx("p",{className:"rp-note",children:r.card.coverage})]}):s.jsx(U,{shape:"rows",typical:!0})})}function ns({analysis:a,standIn:t,logHref:n}){const r=m(),l=te(),[i,d]=e.useState("device"),c="device"===i?a.devices:a.domains,o=c.top[0]?.count??1;return s.jsx(O,{title:r("dns.chart.ranking"),aside:!t&&s.jsx(we,{label:r("dns.chart.ranking"),value:i,onChange:d,items:[["device",r("dns.chart.byDevice")],["domain",r("dns.chart.byDomain")]]}),children:t??s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"rp-list",children:c.top.map(e=>s.jsx(ve,{label:null===e.key?r("dns.chart.resolver"):s.jsx(B,{appearance:"link",href:n("device"===i?"device":"domain",e.key),children:s.jsx(K,{children:e.key})}),value:r("dns.chart.count",{n:e.count}),pct:e.count/o*100,color:"device"===i?l.cat[0]:l.cat[3]},e.key??""))}),c.rest>0&&s.jsx("p",{className:"rp-note",children:r("dns.chart.rest",{n:c.rest})})]})})}function rs({answer:e,children:a}){return s.jsxs("div",{className:"rp-dns-answer",children:[s.jsx("span",{className:"rp-code",children:e.lookup?s.jsx(pe,{ip:e.lookup,address:e.data,sites:xe(e.lookup)}):e.data}),s.jsxs("span",{className:"meta",children:[e.name&&s.jsx("span",{children:e.name}),s.jsx("span",{children:e.type}),s.jsx("span",{children:e.ttl})]}),a]})}function ls(e){const a=m(),t=Je(e),n=s.jsxs(s.Fragment,{children:[t.queryError&&s.jsx(F,{error:t.queryError,onRetry:t.submit,message:e=>a("dns.queryFailed",{error:e})}),s.jsx(I,{className:V(),onSubmit:e=>{e.preventDefault(),t.submit()},children:s.jsx($,{reason:t.reason,children:s.jsxs(Q,{children:[s.jsx(z,{side:!0,label:a("ui.domain"),value:t.domain,onChange:t.setDomain,width:280,placeholder:"example.com"}),s.jsx(Ne,{label:a("ui.type"),side:!0,value:t.type,onChange:t.setType,items:t.choices}),t.upstreams.length>0&&s.jsx(Ne,{label:a("ui.upstream"),side:!0,value:t.upstream,onChange:t.setUpstream,items:t.upstreams}),s.jsx(G,{isSelected:t.bypassCache,onChange:t.setBypassCache,children:a("dns.bypassCache")}),s.jsx(J,{accent:!0,type:"submit",isPending:t.pending,isDisabled:t.disabled,children:a("dns.query")})]})})}),!t.cards.length&&!t.queryError&&s.jsx(E,{children:a("dns.queryIntro")}),t.cards.length>0&&s.jsx("div",{className:"rp-col",children:t.cards.map(e=>s.jsxs(O,{className:"rp-col",children:[s.jsxs("div",{className:"rp-row",children:[s.jsxs("div",{className:"rp-cluster",children:[s.jsx("h2",{className:"rp-h3",children:e.title}),s.jsx(ke,{tone:e.cacheTone,children:e.cacheText})]}),s.jsxs("div",{className:"rp-cluster",children:[t.rule.canAdd(e.seed)&&s.jsx(J,{quiet:!0,small:!0,onPress:()=>t.rule.open(e.seed),children:a("rule.add")}),t.showCache&&s.jsx(J,{quiet:!0,small:!0,onPress:t.viewCache,children:a("dns.viewCache")})]})]}),s.jsx(Se,{inline:!0,items:e.fields}),e.answers.length?s.jsx("div",{className:"rp-list",children:e.answers.map((n,r)=>{const l=e.answerSeeds[r];return s.jsx(rs,{answer:n,children:l&&t.rule.canAdd(l.seed)&&s.jsx(J,{quiet:!0,small:!0,label:a("dns.addRuleFor",{value:l.address}),onPress:()=>t.rule.open(l.seed),children:a("rule.add")})},r)})}):s.jsx(E,{children:a("dns.noAnswers")})]},e.id))})]}),r={stats:s.jsx(es,{enabled:t.logEnabled,links:{cache:t.cacheHref,log:t.logHref}}),query:n,cache:s.jsx(is,{domain:t.filterDomain,clearFilter:t.clearCacheFilter,rule:t.rule}),log:s.jsx(ds,{enabled:t.logEnabled,initialName:t.filterDomain,initialSrc:t.filterDevice,links:t.logLinks,rule:t.rule})};return s.jsxs("div",{className:"rp-page",children:[s.jsx(qe,{page:!0,keepMounted:!0,label:a("nav.dns"),items:t.tabs.map(e=>({...e,content:r[e.id]})),value:t.tab,onChange:t.setTab}),s.jsx(Oe,{dialog:t.rule.dialog})]})}function is({domain:a,clearFilter:t,rule:n}){const r=m(),l=Ve(a),{remove:i}=l,d=e.useMemo(()=>[{id:"q",label:r("ui.domain"),text:"wrap",minWidth:320,isRowHeader:!0,render:e=>s.jsx("span",{className:"rp-code",children:e.domain})},{id:"t",label:r("ui.type"),minWidth:88,grow:0,drop:3,render:e=>e.type},{id:"s",label:r("ui.state"),minWidth:128,grow:0,render:e=>e.status},{id:"e",label:r("dns.expires"),minWidth:128,drop:2,render:e=>s.jsx(Me,{at:e.expiresAt})},{id:"st",label:r("dns.staleUntil"),minWidth:128,drop:1,render:e=>s.jsx(Me,{at:e.staleUntil})},{id:"a",actions:!0,label:r("ui.actions"),minWidth:104,grow:0,render:e=>s.jsxs("div",{className:"rp-cluster nowrap",children:[s.jsx(Be,{label:n.label(e.domain),disabled:!n.canAdd(e.seed),onPress:()=>n.open(e.seed)}),s.jsx(J,{quiet:!0,icon:!0,small:!0,label:e.deleteLabel,isPending:e.pending,isDisabled:e.disabled,onPress:()=>i(e.id),children:s.jsx(ee,{})})]})}],[r,i,n]);return s.jsxs(s.Fragment,{children:[l.error&&s.jsx(F,{error:l.error,onRetry:l.retry}),s.jsxs(Q,{page:!0,className:"top",children:[s.jsx(Se,{row:!0,items:l.fields}),l.coverage.map(e=>s.jsx(ke,{tone:"warn",children:e.text},e.id)),l.filtered&&s.jsx(J,{onPress:()=>{l.clearMatches(),t()},children:r("ui.clearFilters")}),s.jsx(G,{isSelected:l.includeExpired,onChange:l.setIncludeExpired,children:r("dns.includeExpired")}),s.jsx("span",{className:"rp-grow"}),s.jsx("div",{className:"rp-col",children:s.jsx($,{reason:l.flushReason,children:s.jsx(Z,{label:r("dns.flushAll"),confirmationText:l.confirmationText,isPending:l.flushPending,isDisabled:l.flushPending||l.flushDisabled,onConfirm:l.flush,onAbort:l.abortFlush})})})]}),l.matchAvailable&&s.jsx($,{reason:l.matchReason,children:s.jsxs(Q,{page:!0,children:[s.jsx(Ne,{side:!0,label:r("rule.kind"),value:l.matchKind,onChange:e=>l.setMatchKind(e),items:l.matchKinds}),s.jsx(z,{side:!0,label:r("dns.pattern"),value:l.matchText,onChange:l.setMatchText,error:l.matchError,help:"regex"===l.matchKind?{title:r("dns.pattern"),text:r("dns.regexHelp")}:void 0,width:280,placeholder:"example.com"}),s.jsx(Ne,{side:!0,label:r("ui.type"),value:l.matchType,onChange:l.setMatchType,items:l.matchTypes}),(l.deleteBy.name||l.deleteBy.entry)&&s.jsx(Z,{label:r("dns.deleteMatching"),confirmationText:l.matchConfirmation,details:s.jsxs("ul",{className:"rp-impact",children:[l.matchListed.map(e=>s.jsx("li",{children:s.jsxs("span",{className:"rp-cluster nowrap",children:[s.jsx(K,{className:"rp-code",children:e.domain}),s.jsx("span",{className:"rp-note",children:e.type})]})},e.entry_id)),l.matchMore&&s.jsx("li",{className:"rp-note",children:l.matchMore})]}),isPending:l.matchPending,isDisabled:l.matchDisabled,onConfirm:l.removeMatching,onAbort:l.abortFlush})]})}),s.jsx($,{reason:l.deleteReason,children:s.jsx(Re,{label:r("ui.cache"),height:442,fit:!0,rows:l.rows,loading:l.loading,empty:l.empty,cols:d})})]})}function ds({enabled:a,initialName:t,initialSrc:n,links:r,rule:l}){const i=m(),d=Ye(a,t,n),c=e.useMemo(()=>[{id:"t",label:i("ui.time"),minWidth:140,grow:0,render:e=>s.jsx(Me,{at:e.observedAt})},{id:"q",label:i("ui.domain"),minWidth:200,grow:2,isRowHeader:!0,render:e=>s.jsx(K,{children:e.name})},{id:"ty",label:i("ui.type"),minWidth:88,grow:0,drop:3,render:e=>e.type},{id:"s",label:i("ui.device"),minWidth:128,drop:2,render:e=>s.jsx(K,{className:"rp-code",children:e.source})},{id:"r",label:i("dns.result"),minWidth:160,grow:2,render:e=>e.resultError?s.jsx(Ce,{small:!0,tone:"err",children:e.result}):s.jsx(K,{className:"rp-code",children:e.result})},{id:"u",label:i("ui.upstream"),minWidth:128,drop:1,render:e=>e.cached?s.jsx(Ce,{small:!0,tone:"ok",children:e.upstream}):s.jsx(K,{children:e.upstream})},{id:"e",label:i("ui.elapsed"),minWidth:88,grow:0,drop:4,render:e=>e.elapsed},{id:"a",actions:!0,label:i("ui.actions"),minWidth:88,grow:0,render:e=>s.jsx(Be,{label:l.label(e.name),disabled:!l.canAdd(e.seed),onPress:()=>l.open(e.seed)})}],[i,l]);return s.jsxs(s.Fragment,{children:[s.jsxs(Q,{page:!0,children:[s.jsx(z,{search:!0,label:i("ui.domain"),value:d.name,onChange:d.setName,placeholder:i("dns.logFilterHint"),width:240}),s.jsx(Ne,{label:i("ui.type"),side:!0,value:d.type,onChange:d.setType,items:d.choices}),s.jsx(z,{side:!0,label:i("ui.device"),value:d.src,onChange:d.setSrc,error:d.srcError,placeholder:"10.0.0.12",width:200})]}),s.jsxs(Q,{page:!0,children:[s.jsxs("span",{className:"rp-cluster",children:[d.total&&s.jsx(X,{help:d.totalHelp,children:s.jsx("span",{className:"rp-label",children:d.total})}),d.loaded&&s.jsx("span",{className:"rp-label",children:d.loaded})]}),s.jsx("span",{className:"rp-grow"}),s.jsx("span",{className:"rp-cluster nowrap",children:s.jsx(Te,{actions:[{id:"refresh",label:i("ui.refresh"),icon:s.jsx(ue,{className:"rp-spin-on-press"}),isPending:d.refreshing,onAction:d.refresh},{id:"export",label:i("dns.exportLog"),icon:s.jsx(me,{}),isDisabled:!d.rows.length,onAction:d.export},...r,...d.hasOlder?[{id:"older",label:i("dns.loadOlder"),isPending:d.loadingOlder,onAction:d.loadOlder}]:[]]})})]}),d.error&&s.jsx(F,{error:d.error,onRetry:d.retry}),d.newerWaiting&&s.jsx("p",{className:"rp-note",children:i("dns.newerWaiting")}),s.jsxs("div",{className:"rp-with-panel","data-open":d.detail?"":void 0,children:[s.jsx(Re,{label:i("dns.log"),rowDetail:!0,height:520,rows:d.rows,selected:d.selected,onSelect:d.setSelected,selectOnFocus:d.wide,loading:d.loading,empty:d.empty,cols:c}),s.jsx(Y,{open:!!d.detail,title:d.detailTitle,onClose:()=>d.setSelected(null),children:d.detail&&s.jsxs(s.Fragment,{children:[s.jsx(Se,{detail:!0,items:d.detail.fields}),d.detail.answers.length?s.jsx("div",{className:"rp-list",children:d.detail.answers.map((e,a)=>s.jsx(rs,{answer:e},a))}):s.jsx(E,{children:i("dns.noAnswers")})]})})]}),d.hasOlder&&s.jsx("div",{className:"rp-narrow-only",children:s.jsx("div",{className:"rp-cluster",children:s.jsx(J,{small:!0,isPending:d.loadingOlder,onPress:d.loadOlder,children:i("dns.loadOlder")})})})]})}export{ls as Dns}; diff --git a/assets/Dns-CsAXSf3H.css b/assets/Dns-CsAXSf3H.css new file mode 100644 index 00000000..aefe26dd --- /dev/null +++ b/assets/Dns-CsAXSf3H.css @@ -0,0 +1 @@ +.rp-dns-answer{align-items:center;column-gap:var(--rp-space-3);row-gap:var(--rp-space-1);flex-wrap:wrap;display:flex}.rp-dns-answer>.rp-code{overflow-wrap:anywhere;flex:auto;min-width:0}.rp-dns-answer>:not(.rp-code){margin-inline-start:auto}.rp-dns-answer>.meta{gap:var(--rp-space-2);color:var(--rp-subtle);font-size:var(--rp-text-xs);white-space:nowrap;display:flex} diff --git a/assets/Donut-DQU0_smr.js b/assets/Donut-DQU0_smr.js new file mode 100644 index 00000000..d95de65f --- /dev/null +++ b/assets/Donut-DQU0_smr.js @@ -0,0 +1 @@ +import{r as n,j as t}from"./vendor-react-64fcanlc.js";import{u as e,g as r}from"./index-C4UFgHia.js";import{b4 as o,bj as i,bb as a,bf as l}from"./activity-C22CeO5G.js";import{w as u,c,a as s}from"./array-C0VuvQyb.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./nodes-BXUOUiP2.js";import"./logs-j0cmmcZI.js";import"./Select-W-Xrx6y6.js";import"./ItemText-B5OxI5lS.js";import"./AppearanceControls-I4PvP9Es.js";const f=Math.abs,h=Math.atan2,y=Math.cos,p=Math.max,d=Math.min,x=Math.sin,g=Math.sqrt,v=1e-12,m=Math.PI,M=m/2,A=2*m;function j(n){return n>=1?M:n<=-1?-M:Math.asin(n)}function b(n){return n.innerRadius}function w(n){return n.outerRadius}function P(n){return n.startAngle}function T(n){return n.endAngle}function R(n){return n&&n.padAngle}function L(n,t,e,r,o,i,a){var l=n-e,u=t-r,c=(a?i:-i)/g(l*l+u*u),s=c*u,f=-c*l,h=n+s,y=t+f,d=e+s,x=r+f,v=(h+d)/2,m=(y+x)/2,M=d-h,A=x-y,j=M*M+A*A,b=o-i,w=h*x-d*y,P=(A<0?-1:1)*g(p(0,b*b*j-w*w)),T=(w*A-M*P)/j,R=(-w*M-A*P)/j,L=(w*A+M*P)/j,I=(-w*M+A*P)/j,$=T-v,B=R-m,N=L-v,S=I-m;return $*$+B*B>N*N+S*S&&(T=L,R=I),{cx:T,cy:R,x01:-s,y01:-f,x11:T*(o/b-1),y11:R*(o/b-1)}}function I(){var n=b,t=w,e=c(0),r=null,o=P,i=T,a=R,l=null,s=u(p);function p(){var u,c,p,b=+n.apply(this,arguments),w=+t.apply(this,arguments),P=o.apply(this,arguments)-M,T=i.apply(this,arguments)-M,R=f(T-P),I=T>P;if(l||(l=u=s()),wv)if(R>A-v)l.moveTo(w*y(P),w*x(P)),l.arc(0,0,w,P,T,!I),b>v&&(l.moveTo(b*y(T),b*x(T)),l.arc(0,0,b,T,P,I));else{var $,B,N=P,S=T,k=P,D=T,E=R,F=R,K=a.apply(this,arguments)/2,q=K>v&&(r?+r.apply(this,arguments):g(b*b+w*w)),z=d(f(w-b)/2,+e.apply(this,arguments)),C=z,H=z;if(q>v){var V=j(q/b*x(K)),W=j(q/w*x(K));(E-=2*V)>v?(k+=V*=I?1:-1,D-=V):(E=0,k=D=(P+T)/2),(F-=2*W)>v?(N+=W*=I?1:-1,S-=W):(F=0,N=S=(P+T)/2)}var _=w*y(N),G=w*x(N),J=b*y(D),O=b*x(D);if(z>v){var Q,U=w*y(S),X=w*x(S),Y=b*y(k),Z=b*x(k);if(R1?0:p<-1?m:Math.acos(p))/2),an=g(Q[0]*Q[0]+Q[1]*Q[1]);C=d(z,(b-an)/(on-1)),H=d(z,(w-an)/(on+1))}else C=H=0}F>v?H>v?($=L(Y,Z,_,G,w,H,I),B=L(U,X,J,O,w,H,I),l.moveTo($.cx+$.x01,$.cy+$.y01),Hv&&E>v?C>v?($=L(J,O,U,X,b,-C,I),B=L(_,G,Y,Z,b,-C,I),l.lineTo($.cx+$.x01,$.cy+$.y01),Cn?1:t>=n?0:NaN}function B(n){return n}function N({label:u,rows:f}){const h=e(),[y,p]=r(Math.round,120),{tip:d,showAt:x,hide:g}=o(),[v,m]=n.useState(null),M=f.filter(n=>null!==n.value&&n.value>0),j=p?.width??0,b=p?.height??0,w=i(M.map(n=>n.value)),P=function(){var n=B,t=$,e=null,r=c(0),o=c(A),i=c(0);function a(a){var l,u,c,f,h,y=(a=s(a)).length,p=0,d=new Array(y),x=new Array(y),g=+r.apply(this,arguments),v=Math.min(A,Math.max(-A,o.apply(this,arguments)-g)),m=Math.min(Math.abs(v)/y,i.apply(this,arguments)),M=m*(v<0?-1:1);for(l=0;l0&&(p+=h);for(null!=t?d.sort(function(n,e){return t(x[n],x[e])}):null!=e&&d.sort(function(n,t){return e(a[n],a[t])}),l=0,c=p?(v-y*M)/p:0;l0?h*c:0)+M,x[u]={data:a[u],index:l,value:h,startAngle:g,endAngle:f,padAngle:m};return x}return a.value=function(t){return arguments.length?(n="function"==typeof t?t:c(+t),a):n},a.sortValues=function(n){return arguments.length?(t=n,e=null,a):t},a.sort=function(n){return arguments.length?(e=n,t=null,a):e},a.startAngle=function(n){return arguments.length?(r="function"==typeof n?n:c(+n),a):r},a.endAngle=function(n){return arguments.length?(o="function"==typeof n?n:c(+n),a):o},a.padAngle=function(n){return arguments.length?(i="function"==typeof n?n:c(+n),a):i},a}().sort(null).value((n,t)=>w[t])(M),T=Math.min(j,b)/2,R=I().innerRadius(T*(44/56)).outerRadius(T).digits(3),L=n=>m(n);n.useLayoutEffect(()=>{const n=null===v?void 0:P[v];if(!n||null===v)return void g();const t=M[v],[e,r]=R.centroid(n);x({x:Math.round(1e4*(j/2+e))/1e4,y:Math.round(1e4*(b/2+r))/1e4,width:j,bounds:{x:0,y:0,width:j,height:b},lines:[h("ui.valuePair",{label:t.name,value:h("ui.share",{bytes:t.text,percent:String(t.value)})})]})});const N=a(M.length,L,()=>{m(null),g()});return t.jsxs("div",{ref:y,style:{height:"100%",width:"100%",position:"relative"},onPointerLeave:N.onPointerLeave,children:[t.jsx(l,{tip:d}),p&&t.jsx("svg",{className:"rp-activity-surface",width:j,height:b,viewBox:`0 0 ${j} ${b}`,style:{display:"block"},role:M.length?"application":"img","aria-label":u,tabIndex:M.length?0:void 0,onFocus:M.length?N.onFocus:void 0,onBlur:N.onBlur,onKeyDown:M.length?N.onKeyDown:void 0,children:t.jsx("g",{transform:`translate(${j/2},${b/2})`,children:P.map((n,e)=>t.jsx("path",{d:R({...n,endAngle:Math.min(n.endAngle,n.startAngle+359.999*Math.PI/180)})??void 0,fill:M[e].color,stroke:"none",onPointerEnter:()=>L(e),onPointerLeave:N.onPointerLeave},M[e].name))})})]})}export{N as DonutPlot}; diff --git a/assets/Editors-7UGtyi9X.js b/assets/Editors-7UGtyi9X.js new file mode 100644 index 00000000..d0d60159 --- /dev/null +++ b/assets/Editors-7UGtyi9X.js @@ -0,0 +1 @@ +import{r as e,$ as t,a as r,j as n}from"./vendor-react-64fcanlc.js";import{f4 as o,gJ as i,eV as a,eR as s,db as l,gK as d,gL as c,gM as p,eX as u,eS as g,eT as f,eU as m,f5 as h,ff as y,gN as D,gO as v,fg as b,f0 as w,gP as x,gr as T,gf as k,bA as E,d8 as P,d0 as K,ft as O,I as S,aK as C,cE as I,fm as j,aG as A,bD as R,B as M,g as B,u as L,R as F,cA as $,r as z,ds as N,bV as V,cV as X,dL as H,bb as Y,m as U,gQ as q,P as J,gR as G,K as W}from"./index-C4UFgHia.js";import{bk as _,bl as Q,bm as Z,bn as ee,bo as te,bp as re,bq as ne,br as oe,bs as ie,bt as ae,bu as se,bv as le,bw as de,bx as ce,by as pe,bz as ue,bA as ge,bB as fe,bC as me,bD as he,bE as ye,bF as De,bG as ve,bH as be,bI as we,bJ as xe,bK as Te,bL as ke,bM as Ee,bN as Pe,bO as Ke,bP as Oe,bQ as Se,bR as Ce,bS as Ie,bT as je,bU as Ae}from"./activity-C22CeO5G.js";import{$ as Re,a as Me}from"./GridList-Cq8h6RdG.js";import{m as Be}from"./Select-W-Xrx6y6.js";import{D as Le}from"./Delete-D69JigFx.js";import{S as Fe,c as $e,$ as ze}from"./logs-j0cmmcZI.js";import{C as Ne}from"./AppearanceControls-I4PvP9Es.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./nodes-BXUOUiP2.js";import"./ItemText-B5OxI5lS.js";import"./useGridSelectionCheckbox-D0fV1e0v.js";var Ve=function(e){return e[e.none=0]="none",e[e.cancel=0]="cancel",e[e.move=1]="move",e[e.copy=2]="copy",e[e.link=4]="link",e[e.all=7]="all",e}({});const Xe={...Ve,copyMove:3,copyLink:6,linkMove:5,all:7,uninitialized:7},He=qe(Xe);He[7]="all";const Ye={none:"cancel",link:"link",copy:"copy",move:"move"},Ue=qe(Ye);function qe(e){let t={};for(let r in e)t[e[r]]=r;return t}const Je=new Set(["text/plain","text/uri-list","text/html"]),Ge="application/vnd.react-aria.items+json",We="application/octet-stream",_e=new WeakMap,Qe=Symbol();function Ze(e){let t=new Set;for(let r of e)for(let e of Object.keys(r))t.add(e);return t}function et(e){return e||(e="virtual"),"pointer"===e&&(e="virtual"),"virtual"===e&&"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia("(pointer: coarse)").matches&&(e="touch"),e}function tt(){return et(o())}function rt(){return et(i())}class nt{constructor(e){this.types=new Set;let t=!1;for(let r of e.items)r.type!==Ge&&("file"===r.kind&&(t=!0),r.type?this.types.add(r.type):this.types.add(We));this.includesUnknownTypes=!t&&e.types.includes("Files")}has(e){if(Array.isArray(e))return e.some(e=>this.has(e));if(this.includesUnknownTypes||e===Qe&&this.types.has(We)||"*/*"===e)return!0;if("string"==typeof e){if(e.endsWith("/*")){for(let t of this.types)if(t.startsWith(e.slice(0,-2)))return!0;return!1}return this.types.has(e)}return!1}}function ot(e){if(!e)throw new Error("No file provided");return{kind:"file",type:e.type||We,name:e.name,getText:()=>{return"function"==typeof(t=e).text?t.text():new Promise((e,r)=>{let n=new FileReader;n.onload=()=>{e(n.result)},n.onerror=r,n.readAsText(t)});var t},getFile:()=>Promise.resolve(e)}}function it(e){return{kind:"directory",name:e.name,getEntries:()=>async function*(e){let t,r=e.createReader();do{t=await new Promise((e,t)=>{r.readEntries(e,t)});for(let e of t)if(e.isFile){let t=await at(e);yield ot(t)}else e.isDirectory&&(yield it(e))}while(t.length>0)}(e)}}function at(e){return new Promise((t,r)=>e.file(t,r))}let st,lt={draggingKeys:new Set};function dt(e){lt.dropCollectionRef=e}function ct(){lt={draggingKeys:new Set}}function pt(e){let{draggingCollectionRef:t,dropCollectionRef:r}=lt;return null!=t?.current&&t.current===(e?.current||r?.current)}function ut(e){st=e}let gt=Ve.none;function ft(e){gt=e}let mt=new Map,ht=new Map,yt=null,Dt=new Set;function vt(e){return mt.set(e.element,e),yt?.updateValidDropTargets(),()=>{mt.delete(e.element),yt?.updateValidDropTargets()}}function bt(){let[t,r]=e.useState(yt);return e.useEffect(()=>{let e=()=>r(yt);return Dt.add(e),()=>{Dt.delete(e)}},[]),t}function wt(){return!!yt}const xt=["pointerdown","pointermove","pointerenter","pointerleave","pointerover","pointerout","pointerup","mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","touchstart","touchmove","touchend","focusin","focusout"],Tt=["pointerup","mouseup","touchend"],kt={keyboard:"dragStartedKeyboard",touch:"dragStartedTouch",virtual:"dragStartedVirtual"};class Et{constructor(e,t){this.validDropTargets=[],this.currentDropTarget=null,this.currentDropItem=null,this.dropOperation=null,this.mutationObserver=null,this.restoreAriaHidden=null,this.isVirtualClick=!1,this.dragTarget=e,this.stringFormatter=t,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.onClick=this.onClick.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.cancelEvent=this.cancelEvent.bind(this),this.initialFocused=!1}setup(){document.addEventListener("keydown",this.onKeyDown,!0),document.addEventListener("keyup",this.onKeyUp,!0),window.addEventListener("focus",this.onFocus,!0),window.addEventListener("blur",this.onBlur,!0),document.addEventListener("click",this.onClick,!0),document.addEventListener("pointerdown",this.onPointerDown,!0);for(let e of xt)document.addEventListener(e,this.cancelEvent,!0);this.mutationObserver=new MutationObserver(()=>this.updateValidDropTargets()),this.updateValidDropTargets(),a(this.stringFormatter.format(kt[rt()]))}teardown(){document.removeEventListener("keydown",this.onKeyDown,!0),document.removeEventListener("keyup",this.onKeyUp,!0),window.removeEventListener("focus",this.onFocus,!0),window.removeEventListener("blur",this.onBlur,!0),document.removeEventListener("click",this.onClick,!0),document.removeEventListener("pointerdown",this.onPointerDown,!0);for(let e of xt)document.removeEventListener(e,this.cancelEvent,!0);this.mutationObserver?.disconnect(),this.restoreAriaHidden?.()}onKeyDown(e){this.cancelEvent(e),"Escape"!==e.key?("Tab"!==e.key||e.metaKey||e.altKey||e.ctrlKey||(e.shiftKey?this.previous():this.next()),"function"==typeof this.currentDropTarget?.onKeyDown&&this.currentDropTarget.onKeyDown(e,this.dragTarget)):this.cancel()}onKeyUp(e){this.cancelEvent(e),"Enter"===e.key&&(e.altKey||s(this.getCurrentActivateButton(),l(e))?this.activate(this.currentDropTarget,this.currentDropItem):this.drop())}getCurrentActivateButton(){return this.currentDropItem?.activateButtonRef?.current??this.currentDropTarget?.activateButtonRef?.current??null}onFocus(e){let t=this.getCurrentActivateButton(),r=l(e);if(r===t)return void this.cancelEvent(e);if(r!==this.dragTarget.element&&this.cancelEvent(e),!(r instanceof HTMLElement)||r===this.dragTarget.element)return;let n=this.validDropTargets.find(e=>e.element===r)||this.validDropTargets.find(e=>s(e.element,r));if(!n)return void(this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus());let o=ht.get(r);n&&this.setCurrentDropTarget(n,o)}onBlur(e){let t=this.getCurrentActivateButton();t&&e.relatedTarget===t?this.cancelEvent(e):(l(e)!==this.dragTarget.element&&this.cancelEvent(e),e.relatedTarget&&e.relatedTarget instanceof HTMLElement||(this.currentDropTarget?this.currentDropTarget.element.focus():this.dragTarget.element.focus()))}onClick(e){if(this.cancelEvent(e),d(e)||this.isVirtualClick){let t=ht.values(),r=l(e),n=[...t].find(e=>e.element===r||s(e.activateButtonRef?.current,r)),o=this.validDropTargets.find(e=>s(e.element,r));if(s(n?.activateButtonRef?.current??o?.activateButtonRef?.current,r)&&o)return void this.activate(o,n);if(l(e)===this.dragTarget.element)return void this.cancel();o&&(this.setCurrentDropTarget(o,n),this.drop(n))}}onPointerDown(e){this.cancelEvent(e),this.isVirtualClick=c(e)}cancelEvent(e){let t=l(e);("focusin"!==e.type&&"focusout"!==e.type||t!==this.dragTarget?.element&&t!==this.getCurrentActivateButton())&&(Tt.includes(e.type)||e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation())}updateValidDropTargets(){if(!this.mutationObserver)return;if(this.mutationObserver.disconnect(),this.restoreAriaHidden&&this.restoreAriaHidden(),this.validDropTargets=function(e){let t=Ze(e.items);return[...mt.values()].filter(r=>!r.element.closest('[aria-hidden="true"], [inert]')&&("function"!=typeof r.getDropOperation||"cancel"!==r.getDropOperation(t,e.allowedDropOperations)))}(this.dragTarget),this.validDropTargets.length>0){let e=this.findNearestDropTarget();this.validDropTargets=[...this.validDropTargets.slice(e),...this.validDropTargets.slice(0,e)]}this.currentDropTarget&&!this.validDropTargets.includes(this.currentDropTarget)&&this.setCurrentDropTarget(this.validDropTargets[0]);let e=Ze(this.dragTarget.items),t=[...ht.values()].filter(t=>"function"!=typeof t.getDropOperation||"cancel"!==t.getDropOperation(e,this.dragTarget.allowedDropOperations)),r=this.validDropTargets.filter(e=>!t.some(t=>s(e.element,t.element)));this.restoreAriaHidden=p([this.dragTarget.element,...t.flatMap(e=>e.activateButtonRef?.current?[e.element,e.activateButtonRef?.current]:[e.element]),...r.flatMap(e=>e.activateButtonRef?.current?[e.element,e.activateButtonRef?.current]:[e.element])],{shouldUseInert:!0}),this.mutationObserver.observe(document.body,{subtree:!0,attributes:!0,attributeFilter:["aria-hidden","inert"]})}next(){if(!this.currentDropTarget)return void this.setCurrentDropTarget(this.validDropTargets[0]);let e=this.validDropTargets.indexOf(this.currentDropTarget);e<0?this.setCurrentDropTarget(this.validDropTargets[0]):e===this.validDropTargets.length-1?this.dragTarget.element.closest('[aria-hidden="true"], [inert]')?this.setCurrentDropTarget(this.validDropTargets[0]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[e+1])}previous(){if(!this.currentDropTarget)return void this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]);let e=this.validDropTargets.indexOf(this.currentDropTarget);e<0?this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]):0===e?this.dragTarget.element.closest('[aria-hidden="true"], [inert]')?this.setCurrentDropTarget(this.validDropTargets[this.validDropTargets.length-1]):(this.setCurrentDropTarget(null),this.dragTarget.element.focus()):this.setCurrentDropTarget(this.validDropTargets[e-1])}findNearestDropTarget(){let e=this.dragTarget.element.getBoundingClientRect(),t=1/0,r=-1,n=-1;for(let o=0;o=0?n:r}setCurrentDropTarget(e,t){if(e!==this.currentDropTarget){if(this.currentDropTarget&&"function"==typeof this.currentDropTarget.onDropExit){let e=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDropExit({type:"dropexit",x:e.left+e.width/2,y:e.top+e.height/2})}if(this.currentDropTarget=e,e){if("function"==typeof e.onDropEnter){let t=e.element.getBoundingClientRect();e.onDropEnter({type:"dropenter",x:t.left+t.width/2,y:t.top+t.height/2},this.dragTarget)}t||e?.element.focus()}}if(null!=t&&t!==this.currentDropItem&&(this.currentDropTarget&&"function"==typeof this.currentDropTarget.onDropTargetEnter&&this.currentDropTarget.onDropTargetEnter(t.target),t.element.focus(),this.currentDropItem=t,!this.initialFocused)){let e=t?.element.getAttribute("aria-label");e&&a(e,"polite"),this.initialFocused=!0}}end(){if(this.teardown(),function(){yt=null;for(let e of Dt)e()}(),"function"==typeof this.dragTarget.onDragEnd){let e=(this.currentDropTarget&&"cancel"!==this.dropOperation?this.currentDropTarget:this.dragTarget).element.getBoundingClientRect();this.dragTarget.onDragEnd({type:"dragend",x:e.x+e.width/2,y:e.y+e.height/2,dropOperation:this.dropOperation||"cancel"})}this.currentDropTarget&&!this.currentDropTarget.preventFocusOnDrop&&u()?.dispatchEvent(new FocusEvent("focusin",{bubbles:!0})),this.setCurrentDropTarget(null)}cancel(){this.setCurrentDropTarget(null),this.end(),this.dragTarget.element.closest('[aria-hidden="true"], [inert]')||this.dragTarget.element.focus(),u()?.dispatchEvent(new FocusEvent("focusin",{bubbles:!0})),a(this.stringFormatter.format("dropCanceled"))}drop(e){if(this.currentDropTarget){if("function"==typeof e?.getDropOperation){let t=Ze(this.dragTarget.items);this.dropOperation=e.getDropOperation(t,this.dragTarget.allowedDropOperations)}else if("function"==typeof this.currentDropTarget.getDropOperation){let e=Ze(this.dragTarget.items);this.dropOperation=this.currentDropTarget.getDropOperation(e,this.dragTarget.allowedDropOperations)}else this.dropOperation=this.dragTarget.allowedDropOperations[0];if("function"==typeof this.currentDropTarget.onDrop){let t=this.dragTarget.items.map(e=>({kind:"text",types:new Set(Object.keys(e)),getText:t=>Promise.resolve(e[t])})),r=this.currentDropTarget.element.getBoundingClientRect();this.currentDropTarget.onDrop({type:"drop",x:r.left+r.width/2,y:r.top+r.height/2,items:t,dropOperation:this.dropOperation},e?.target??null)}this.end(),a(this.stringFormatter.format("dropComplete"))}else this.cancel()}activate(e,t){if(e&&"function"==typeof e.onDropActivate){let r=t?.target??null,n=e.element.getBoundingClientRect();e.onDropActivate({type:"dropactivate",x:n.left+n.width/2,y:n.top+n.height/2},r)}}}var Pt;Pt={"ar-AE":g,"bg-BG":g,"cs-CZ":g,"da-DK":g,"de-DE":g,"el-GR":g,"en-US":{dragItem:e=>`Drag ${e.itemText}`,dragSelectedItems:(e,t)=>`Drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}`,dragDescriptionKeyboard:"Press Enter to start dragging.",dragDescriptionKeyboardAlt:"Press Alt + Enter to start dragging.",dragDescriptionTouch:"Double tap to start dragging.",dragDescriptionVirtual:"Click to start dragging.",dragDescriptionLongPress:"Long press to start dragging.",dragSelectedKeyboard:(e,t)=>`Press Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedKeyboardAlt:(e,t)=>`Press Alt + Enter to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragSelectedLongPress:(e,t)=>`Long press to drag ${t.plural(e.count,{one:()=>`${t.number(e.count)} selected item`,other:()=>`${t.number(e.count)} selected items`})}.`,dragStartedKeyboard:"Started dragging. Press Tab to navigate to a drop target, then press Enter to drop, or press Escape to cancel.",dragStartedTouch:"Started dragging. Navigate to a drop target, then double tap to drop.",dragStartedVirtual:"Started dragging. Navigate to a drop target, then click or press Enter to drop.",endDragKeyboard:"Dragging. Press Enter to cancel drag.",endDragTouch:"Dragging. Double tap to cancel drag.",endDragVirtual:"Dragging. Click to cancel drag.",dropDescriptionKeyboard:"Press Enter to drop. Press Escape to cancel drag.",dropDescriptionTouch:"Double tap to drop.",dropDescriptionVirtual:"Click to drop.",dropCanceled:"Drop canceled.",dropComplete:"Drop complete.",dropIndicator:"drop indicator",dropOnRoot:"Drop on",dropOnItem:e=>`Drop on ${e.itemText}`,insertBefore:e=>`Insert before ${e.itemText}`,insertBetween:e=>`Insert between ${e.beforeItemText} and ${e.afterItemText}`,insertAfter:e=>`Insert after ${e.itemText}`},"es-ES":g,"et-EE":g,"fi-FI":g,"fr-FR":g,"he-IL":g,"hr-HR":g,"hu-HU":g,"it-IT":g,"ja-JP":g,"ko-KR":g,"lt-LT":g,"lv-LV":g,"nb-NO":g,"nl-NL":g,"pl-PL":g,"pt-BR":g,"pt-PT":g,"ro-RO":g,"ru-RU":g,"sk-SK":g,"sl-SI":g,"sr-SP":g,"sv-SE":g,"tr-TR":g,"uk-UA":g,"zh-CN":{dragDescriptionKeyboard:"按 Enter 开始拖动。",dragDescriptionKeyboardAlt:"按 Alt + Enter 开始拖动。",dragDescriptionLongPress:"长按以开始拖动。",dragDescriptionTouch:"双击开始拖动。",dragDescriptionVirtual:"单击开始拖动。",dragItem:e=>`拖动 ${e.itemText}`,dragSelectedItems:(e,t)=>`拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 选中项目`,other:()=>`${t.number(e.count)} 选中项目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt + Enter 以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragSelectedLongPress:(e,t)=>`长按以拖动 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 个选定项`,other:()=>`${t.number(e.count)} 个选定项`})}。`,dragStartedKeyboard:"已开始拖动。按 Tab 导航到放置目标,然后按 Enter 放置或按 Escape 取消。",dragStartedTouch:"已开始拖动。导航到放置目标,然后双击放置。",dragStartedVirtual:"已开始拖动。导航到放置目标,然后单击或按 Enter 放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 放置。按 Escape 取消拖动。",dropDescriptionTouch:"双击放置。",dropDescriptionVirtual:"单击放置。",dropIndicator:"放置标记",dropOnItem:e=>`放置于 ${e.itemText}`,dropOnRoot:"放置于",endDragKeyboard:"正在拖动。按 Enter 取消拖动。",endDragTouch:"正在拖动。双击取消拖动。",endDragVirtual:"正在拖动。单击取消拖动。",insertAfter:e=>`插入到 ${e.itemText} 之后`,insertBefore:e=>`插入到 ${e.itemText} 之前`,insertBetween:e=>`插入到 ${e.beforeItemText} 和 ${e.afterItemText} 之间`},"zh-TW":{dragDescriptionKeyboard:"按 Enter 鍵以開始拖曳。",dragDescriptionKeyboardAlt:"按 Alt+Enter 鍵以開始拖曳。",dragDescriptionLongPress:"長按以開始拖曳。",dragDescriptionTouch:"輕點兩下以開始拖曳。",dragDescriptionVirtual:"按一下滑鼠以開始拖曳。",dragItem:e=>`拖曳「${e.itemText}」`,dragSelectedItems:(e,t)=>`拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}`,dragSelectedKeyboard:(e,t)=>`按 Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedKeyboardAlt:(e,t)=>`按 Alt+Enter 鍵以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragSelectedLongPress:(e,t)=>`長按以拖曳 ${t.plural(e.count,{one:()=>`${t.number(e.count)} 個選定項目`,other:()=>`${t.number(e.count)} 個選定項目`})}。`,dragStartedKeyboard:"已開始拖曳。按 Tab 鍵以瀏覽至放置目標,然後按 Enter 鍵以放置,或按 Escape 鍵以取消。",dragStartedTouch:"已開始拖曳。瀏覽至放置目標,然後輕點兩下以放置。",dragStartedVirtual:"已開始拖曳。瀏覽至放置目標,然後按一下滑鼠或按 Enter 鍵以放置。",dropCanceled:"放置已取消。",dropComplete:"放置已完成。",dropDescriptionKeyboard:"按 Enter 鍵以放置。按 Escape 鍵以取消拖曳。",dropDescriptionTouch:"輕點兩下以放置。",dropDescriptionVirtual:"按一下滑鼠以放置。",dropIndicator:"放置指示器",dropOnItem:e=>`放置在「${e.itemText}」上`,dropOnRoot:"放置在",endDragKeyboard:"拖曳中。按 Enter 鍵以取消拖曳。",endDragTouch:"拖曳中。輕點兩下以取消拖曳。",endDragVirtual:"拖曳中。按一下滑鼠以取消拖曳。",insertAfter:e=>`插入至「${e.itemText}」之後`,insertBefore:e=>`插入至「${e.itemText}」之前`,insertBetween:e=>`插入至「${e.beforeItemText}」和「${e.afterItemText}」之間`}};const Kt={keyboard:"dropDescriptionKeyboard",touch:"dropDescriptionTouch",virtual:"dropDescriptionVirtual"};function Ot(){let e=f((t=Pt)&&t.__esModule?t.default:t,"@react-aria/dnd");var t;let r=tt(),n=bt();return{dropProps:{...m(n?e.format(Kt[r]):""),onClick:()=>{}}}}function St(t){let{hasDropButton:r,isDisabled:n}=t,[o,i]=e.useState(!1),a=e.useRef({x:0,y:0,dragOverElements:new Set,dropEffect:"none",allowedOperations:Ve.all,dropActivateTimer:void 0}).current,d=e=>{if(i(!0),"function"==typeof t.onDropEnter){let r=e.currentTarget.getBoundingClientRect();t.onDropEnter({type:"dropenter",x:e.clientX-r.x,y:e.clientY-r.y})}},c=e=>{if(i(!1),"function"==typeof t.onDropExit){let r=e.currentTarget.getBoundingClientRect();t.onDropExit({type:"dropexit",x:e.clientX-r.x,y:e.clientY-r.y})}},p=h(e=>{"function"==typeof t.onDropEnter&&t.onDropEnter(e)}),u=h(e=>{"function"==typeof t.onDropExit&&t.onDropExit(e)}),g=h(e=>{"function"==typeof t.onDropActivate&&t.onDropActivate(e)}),f=h(e=>{"function"==typeof t.onDrop&&t.onDrop(e)}),m=h((e,r)=>t.getDropOperation?t.getDropOperation(e,r):r[0]),{ref:D}=t;y(()=>{if(!n&&D.current)return vt({element:D.current,getDropOperation:m,onDropEnter(e){i(!0),p(e)},onDropExit(e){i(!1),u(e)},onDrop:f,onDropActivate:g})},[n,D]);let{dropProps:v}=Ot();return n?{dropProps:{},dropButtonProps:{isDisabled:!0},isDropTarget:!1}:{dropProps:{...!r&&v,onDragEnter:e=>{if(e.preventDefault(),e.stopPropagation(),a.dragOverElements.add(l(e)),a.dragOverElements.size>1)return;let r=Ct(e),n=It(r),o=n[0];if("function"==typeof t.getDropOperation){let i=new nt(e.dataTransfer);o=jt(r,t.getDropOperation(i,n))}if("function"==typeof t.getDropOperationForPoint){let i=new nt(e.dataTransfer),a=e.currentTarget.getBoundingClientRect();o=jt(r,t.getDropOperationForPoint(i,n,e.clientX-a.x,e.clientY-a.y))}a.x=e.clientX,a.y=e.clientY,a.allowedOperations=r,a.dropEffect=Ue[o]||"none",e.dataTransfer.dropEffect=a.dropEffect,"cancel"!==o&&d(e)},onDragOver:e=>{e.preventDefault(),e.stopPropagation();let r=Ct(e);if(e.clientX===a.x&&e.clientY===a.y&&r===a.allowedOperations)return void(e.dataTransfer.dropEffect=a.dropEffect);a.x=e.clientX,a.y=e.clientY;let n=a.dropEffect;if(r!==a.allowedOperations){let n=It(r),o=n[0];if("function"==typeof t.getDropOperation){let i=new nt(e.dataTransfer);o=jt(r,t.getDropOperation(i,n))}a.dropEffect=Ue[o]||"none"}if("function"==typeof t.getDropOperationForPoint){let n=new nt(e.dataTransfer),o=e.currentTarget.getBoundingClientRect(),i=jt(r,t.getDropOperationForPoint(n,It(r),a.x-o.x,a.y-o.y));a.dropEffect=Ue[i]||"none"}if(a.allowedOperations=r,e.dataTransfer.dropEffect=a.dropEffect,"none"===a.dropEffect&&"none"!==n?c(e):"none"!==a.dropEffect&&"none"===n&&d(e),"function"==typeof t.onDropMove&&"none"!==a.dropEffect){let r=e.currentTarget.getBoundingClientRect();t.onDropMove({type:"dropmove",x:a.x-r.x,y:a.y-r.y})}if(clearTimeout(a.dropActivateTimer),t.onDropActivate&&"function"==typeof t.onDropActivate&&"none"!==a.dropEffect){let r=t.onDropActivate,n=e.currentTarget.getBoundingClientRect();a.dropActivateTimer=setTimeout(()=>{r({type:"dropactivate",x:a.x-n.x,y:a.y-n.y})},800)}},onDragLeave:e=>{e.preventDefault(),e.stopPropagation();let t=l(e);if(a.dragOverElements.delete(t),t===e.currentTarget)for(let r of a.dragOverElements)s(e.currentTarget,r)||a.dragOverElements.delete(r);a.dragOverElements.size>0||("none"!==a.dropEffect&&c(e),clearTimeout(a.dropActivateTimer))},onDrop:e=>{if(e.preventDefault(),e.stopPropagation(),ut(a.dropEffect),"function"==typeof t.onDrop){let r=Ye[a.dropEffect],n=function(e){let t=[];if(!e)return t;let r=!1;if(e.types.includes(Ge))try{let n=e.getData(Ge),o=JSON.parse(n);for(let e of o)t.push({kind:"text",types:new Set(Object.keys(e)),getText:t=>Promise.resolve(e[t])});r=!0}catch{}if(!r){let r=new Map;for(let n of e.items)if("string"===n.kind)r.set(n.type||We,e.getData(n.type));else if("file"===n.kind)if("function"==typeof n.webkitGetAsEntry){let e=n.webkitGetAsEntry();if(!e)continue;e.isFile?t.push(ot(n.getAsFile())):e.isDirectory&&t.push(it(e))}else t.push(ot(n.getAsFile()));r.size>0&&t.push({kind:"text",types:new Set(r.keys()),getText:e=>Promise.resolve(r.get(e))})}return t}(e.dataTransfer),o=e.currentTarget.getBoundingClientRect(),i={type:"drop",x:e.clientX-o.x,y:e.clientY-o.y,items:n,dropOperation:r};t.onDrop(i)}let r={...lt};a.dragOverElements.clear(),c(e),clearTimeout(a.dropActivateTimer),null==r.draggingCollectionRef?ut(void 0):function(e){lt=e}(r)}},dropButtonProps:{...r&&v},isDropTarget:o}}function Ct(e){let t=Xe[e.dataTransfer.effectAllowed];gt&&(t&=gt);let r=Ve.none;return D()?(e.altKey&&(r|=Ve.copy),e.ctrlKey&&!v()&&(r|=Ve.link),e.metaKey&&(r|=Ve.move)):(e.altKey&&(r|=Ve.link),e.shiftKey&&(r|=Ve.move),e.ctrlKey&&(r|=Ve.copy)),r?t&r:t}function It(e){let t=[];return e&Ve.move&&t.push("move"),e&Ve.copy&&t.push("copy"),e&Ve.link&&t.push("link"),t}function jt(e,t){return e&Ve[t]?t:"cancel"}function At(e,t,r,n=!1,o=null){if(!r)return{type:"root"};if("root"===r.type){let t=e.getFirstKey?.()??null;return null!=t?{type:"item",key:t,dropPosition:"before"}:null}if("item"===r.type){let n=null;n=o?"right"===o?e.getKeyRightOf?.(r.key,{includeDisabled:!0}):e.getKeyLeftOf?.(r.key,{includeDisabled:!0}):e.getKeyBelow?.(r.key,{includeDisabled:!0});let i=Bt(t,r.key,e=>t.getKeyAfter(e));if(null!=n&&n!==i)return{type:"item",key:n,dropPosition:r.dropPosition};switch(r.dropPosition){case"before":return{type:"item",key:r.key,dropPosition:"on"};case"on":{let e=t.getItem(r.key),o=null!=n?t.getItem(n):null;return e&&o&&o.level>=e.level?{type:"item",key:o.key,dropPosition:"before"}:{type:"item",key:r.key,dropPosition:"after"}}case"after":{let e=t.getItem(r.key),n=null!=e?.nextKey?t.getItem(e.nextKey):null;for(;null!=n&&"item"!==n.type;)n=null!=n.nextKey?t.getItem(n.nextKey):null;if(e&&null==n&&null!=e.parentKey){let r=t.getItem(e.parentKey);const n=null!=r?.nextKey?t.getItem(r.nextKey):null;if("item"===n?.type)return{type:"item",key:n.key,dropPosition:"before"};if("item"===r?.type)return{type:"item",key:r.key,dropPosition:"after"}}if(n)return{type:"item",key:n.key,dropPosition:"on"}}}}return n?{type:"root"}:null}function Rt(e,t,r,n=!1,o=null){if(!r||n&&"root"===r.type){let r=null,n=e.getLastKey?.();for(;null!=n;){let e=t.getItem(n);if("item"!==e?.type)break;r=n,n=e?.parentKey}return null!=r?{type:"item",key:r,dropPosition:"after"}:null}if("item"===r.type){let n=null;n=o?"left"===o?e.getKeyLeftOf?.(r.key,{includeDisabled:!0}):e.getKeyRightOf?.(r.key,{includeDisabled:!0}):e.getKeyAbove?.(r.key,{includeDisabled:!0});let i=Bt(t,r.key,e=>t.getKeyBefore(e));if(null!=n&&n!==i)return{type:"item",key:n,dropPosition:r.dropPosition};switch(r.dropPosition){case"before":{let e=t.getItem(r.key);if(e&&null!=e.prevKey){let r=Mt(t,e.prevKey);if(r)return r}return null!=n?{type:"item",key:n,dropPosition:"on"}:{type:"root"}}case"on":return{type:"item",key:r.key,dropPosition:"before"};case"after":{let e=Mt(t,r.key);return e||{type:"item",key:r.key,dropPosition:"on"}}}}return"root"!==r.type?{type:"root"}:null}function Mt(e,t){let r=e.getItem(t),n=Bt(e,t,t=>e.getKeyAfter(t)),o=null!=n?e.getItem(n):null;if(r&&o&&o.level>r.level){let t=null;if("lastChildKey"in r)for(t=null!=r.lastChildKey?e.getItem(r.lastChildKey):null;t&&"item"!==t.type&&null!=t.prevKey;)t=e.getItem(t.prevKey);else t=Array.from(r.childNodes).findLast(e=>"item"===e.type)||null;if(t)return{type:"item",key:t.key,dropPosition:"after"}}return null}function Bt(e,t,r){let n=r(t),o=null!=n?e.getItem(n):null;for(;o&&"item"!==o.type;)n=r(o.key),o=null!=n?e.getItem(n):null;return n}function Lt(t,r,n){let o=e.useRef({props:t,state:r,nextTarget:null,dropOperation:null}).current;o.props=t,o.state=r;let i=e.useCallback(async e=>{let{onInsert:t,onRootDrop:r,onItemDrop:i,onReorder:a,onMove:s,acceptedDragTypes:l="all",shouldAcceptItemDrop:d}=o.props,{draggingKeys:c}=lt,p=pt(n),{target:u,dropOperation:g,items:f}=e,m=f;("all"!==l||d)&&(m=f.filter(e=>{let t;return t="directory"===e.kind?new Set([Qe]):"file"===e.kind?new Set([e.type]):e.types,!("all"!==l&&!l.some(e=>t.has(e)))&&("item"!==u.type||"on"!==u.dropPosition||!d||d(u,t))})),m.length>0&&("root"===u.type&&r&&await r({items:m,dropOperation:g}),"item"===u.type&&("on"===u.dropPosition&&i&&await i({items:m,dropOperation:g,isInternal:p,target:u}),s&&p&&await s({keys:c,dropOperation:g,target:u}),"on"!==u.dropPosition&&(!p&&t&&await t({items:m,dropOperation:g,target:u}),p&&a&&await a({keys:c,dropOperation:g,target:u}))))},[o,n]),a=function(t){let r=e.useRef(null),n=e.useRef(!0),o=e.useRef(!0);e.useEffect(()=>{if(t.current){r.current=b(t.current)?t.current:w(t.current);let e=window.getComputedStyle(r.current);n.current=/(auto|scroll)/.test(e.overflowX),o.current=/(auto|scroll)/.test(e.overflowY)}},[t]);let i=e.useRef({timer:void 0,dx:0,dy:0}).current;e.useEffect(()=>()=>{i.timer&&(cancelAnimationFrame(i.timer),i.timer=void 0)},[i]);let a=e.useCallback(()=>{n.current&&r.current&&(r.current.scrollLeft+=i.dx),o.current&&r.current&&(r.current.scrollTop+=i.dy),i.timer&&(i.timer=requestAnimationFrame(a))},[r,i]);return{move(e,t){if(!x()||T()||!r.current)return;let n=r.current.getBoundingClientRect(),o=n.height-20,s=n.width-20;e<20||e>s||t<20||t>o?(e<20?i.dx=e-20:e>s&&(i.dx=e-s),t<20?i.dy=t-20:t>o&&(i.dy=t-o),i.timer||(i.timer=requestAnimationFrame(a))):this.stop()},stop(){i.timer&&(cancelAnimationFrame(i.timer),i.timer=void 0)}}}(n),{dropProps:s}=St({ref:n,onDropEnter(){null!=o.nextTarget&&r.setTarget(o.nextTarget)},onDropMove(e){null!=o.nextTarget&&r.setTarget(o.nextTarget),a.move(e.x,e.y)},getDropOperationForPoint(e,i,a,s){let{draggingKeys:l,dropCollectionRef:d}=lt,c=pt(n),p=t.dropTargetDelegate.getDropTargetFromPoint(a,s,t=>"cancel"!==r.getDropOperation({target:t,types:e,allowedOperations:i,isInternal:c,draggingKeys:l}));if(!p)return o.dropOperation="cancel",o.nextTarget=null,"cancel";if(o.dropOperation=r.getDropOperation({target:p,types:e,allowedOperations:i,isInternal:c,draggingKeys:l}),"cancel"===o.dropOperation){let t={type:"root"},n=r.getDropOperation({target:t,types:e,allowedOperations:i,isInternal:c,draggingKeys:l});"cancel"!==n&&(p=t,o.dropOperation=n)}return p&&"cancel"!==o.dropOperation&&n?.current!==d?.current&&dt(n),o.nextTarget="cancel"===o.dropOperation?null:p,o.dropOperation},onDropExit(){dt(void 0),r.setTarget(null),a.stop()},onDropActivate(e){"item"===r.target?.type&&"function"==typeof t.onDropActivate&&t.onDropActivate({type:"dropactivate",x:e.x,y:e.y,target:r.target})},onDrop(e){dt(n),r.target&&c(e,r.target);let{draggingCollectionRef:t}=lt;null==t&&ct()}}),l=e.useRef(null),d=e.useCallback(()=>{let{state:e}=o;if(l.current){let{target:t,collection:r,selectedKeys:n,focusedKey:o,isInternal:i,draggingKeys:a}=l.current;if(e.collection.size>r.size&&e.selectionManager.isSelectionEqual(n)){let t=new Set,n=e.collection.getFirstKey();for(;null!=n;){let o=e.collection.getItem(n);"item"!==o?.type||r.getItem(o.key)||t.add(o.key),n=o?.hasChildNodes&&"item"===e.collection.getItem(o.lastChildKey)?.type?o.firstChildKey:e.collection.getKeyAfter(n)}if(e.selectionManager.setSelectedKeys(t),e.selectionManager.focusedKey===o){let r=t.keys().next().value;if(null!=r){let t=e.collection.getItem(r),n=l.current.target,o=!!e.collection.expandedKeys&&e.collection.expandedKeys.has(t?.parentKey);t&&("cell"===t?.type||"item"===n.type&&"on"===n.dropPosition&&!o)&&(r=t.parentKey),null!=r&&e.selectionManager.setFocusedKey(r),"none"===e.selectionManager.selectionMode&&k("keyboard")}}}else null!=o&&e.selectionManager.focusedKey===o&&i&&"item"===t.type&&"on"!==t.dropPosition&&a.has(e.collection.getItem(o)?.parentKey)?(e.selectionManager.setFocusedKey(e.collection.getItem(o)?.parentKey??null),k("keyboard")):e.selectionManager.focusedKey===o&&"item"===t.type&&"on"===t.dropPosition&&null!=e.collection.getItem(t.key)?(e.selectionManager.setFocusedKey(t.key),k("keyboard")):null==e.selectionManager.focusedKey||e.selectionManager.isSelected(e.selectionManager.focusedKey)||k("keyboard");e.selectionManager.setFocused(!0)}},[o]),c=e.useCallback((e,t)=>{let{state:r}=o;l.current={timeout:void 0,focusedKey:r.selectionManager.focusedKey,collection:r.collection,selectedKeys:r.selectionManager.selectedKeys,draggingKeys:lt.draggingKeys,isInternal:pt(n),target:t},(o.props.onDrop||i)({type:"drop",x:e.x,y:e.y,target:t,items:e.items,dropOperation:e.dropOperation}),l.current.timeout=setTimeout(()=>{d(),l.current=null},50)},[o,i,n,d]);e.useEffect(()=>()=>{l.current&&clearTimeout(l.current.timeout)},[]),y(()=>{l.current&&r.collection!==l.current.collection&&d()});let{direction:p}=E();e.useEffect(()=>{if(!n.current)return;let e=(e,t=!0,r="down")=>function(e,t,r,n,o=!1,i=!1){switch(n){case"left":return o?At(e,t,r,i,"left"):Rt(e,t,r,i,"left");case"right":return o?Rt(e,t,r,i,"right"):At(e,t,r,i,"right");case"up":return Rt(e,t,r,i);case"down":return At(e,t,r,i)}}(o.props.keyboardDelegate,o.state.collection,e,r,"rtl"===p,t),t=(t,r=!0)=>e(t,r,"up"),r=(e,t,r,i,a=!0)=>{let s,l=0,{draggingKeys:d}=lt,c=pt(n);do{let n=i(e,a);if(!n)return null;e=n,s=o.state.getDropOperation({target:n,types:t,allowedOperations:r,isInternal:c,draggingKeys:d}),"root"===e.type&&l++}while("cancel"===s&&!o.state.isDropTarget(e)&&l<2);return"cancel"===s?null:e};return vt({element:n.current,preventFocusOnDrop:!0,getDropOperation(t,i){if(o.state.target){let{draggingKeys:e}=lt,r=pt(n);return o.state.getDropOperation({target:o.state.target,types:t,allowedOperations:i,isInternal:r,draggingKeys:e})}return r(null,t,i,e)?"move":"cancel"},onDropEnter(i,a){let s=Ze(a.items),l=o.state.selectionManager,d=null;dt(n);let c=l.focusedKey,p="after",u=null!=c?o.state.collection.getItem(c):null;if("cell"===u?.type&&(c=u.parentKey),null!=c&&l.isSelected(c)&&(l.selectedKeys.size>1&&l.firstSelectedKey===c?p="before":c=l.lastSelectedKey),null!=c){d={type:"item",key:c,dropPosition:p};let{draggingKeys:i}=lt,l=pt(n);"cancel"===o.state.getDropOperation({target:d,types:s,allowedOperations:a.allowedDropOperations,isInternal:l,draggingKeys:i})&&(d=r(d,s,a.allowedDropOperations,e,!1)??r(d,s,a.allowedDropOperations,t,!1))}d||(d=r(null,s,a.allowedDropOperations,e)),o.state.setTarget(d)},onDropExit(){dt(void 0),o.state.setTarget(null)},onDropTargetEnter(e){o.state.setTarget(e)},onDropActivate(e,t){"item"===t?.type&&"on"===t?.dropPosition&&"function"==typeof o.props.onDropActivate&&o.props.onDropActivate({type:"dropactivate",x:e.x,y:e.y,target:t})},onDrop(e,t){dt(n),o.state.target&&c(e,t||o.state.target)},onKeyDown(i,a){let{keyboardDelegate:s}=o.props,l=Ze(a.items);switch(i.key){case"ArrowDown":if(s.getKeyBelow){let t=r(o.state.target,l,a.allowedDropOperations,(t,r)=>e(t,r,"down"));o.state.setTarget(t)}break;case"ArrowUp":if(s.getKeyAbove){let t=r(o.state.target,l,a.allowedDropOperations,(t,r)=>e(t,r,"up"));o.state.setTarget(t)}break;case"ArrowLeft":if(s.getKeyLeftOf){let t=r(o.state.target,l,a.allowedDropOperations,(t,r)=>e(t,r,"left"));o.state.setTarget(t)}break;case"ArrowRight":if(s.getKeyRightOf){let t=r(o.state.target,l,a.allowedDropOperations,(t,r)=>e(t,r,"right"));o.state.setTarget(t)}break;case"Home":if(s.getFirstKey){let t=r(null,l,a.allowedDropOperations,e);o.state.setTarget(t)}break;case"End":if(s.getLastKey){let e=r(null,l,a.allowedDropOperations,t);o.state.setTarget(e)}break;case"PageDown":if(s.getKeyPageBelow){let i=o.state.target;if(i){let d=s.getFirstKey?.();"item"===i.type&&(d=i.key);let c=null;null!=d&&(c=s.getKeyPageBelow(d));let p="item"===i.type?i.dropPosition:"after";if((null==c||"item"===i.type&&i.key===s.getLastKey?.())&&(c=s.getLastKey?.()??null,p="after"),null==c)break;i={type:"item",key:c,dropPosition:p};let{draggingCollectionRef:u,draggingKeys:g}=lt,f=u?.current===n?.current;"cancel"===o.state.getDropOperation({target:i,types:l,allowedOperations:a.allowedDropOperations,isInternal:f,draggingKeys:g})&&(i=r(i,l,a.allowedDropOperations,e,!1)??r(i,l,a.allowedDropOperations,t,!1))}else i=r(null,l,a.allowedDropOperations,e);o.state.setTarget(i??o.state.target)}break;case"PageUp":{if(!s.getKeyPageAbove)break;let i=o.state.target;if(i){if("item"===i.type){if(i.key===s.getFirstKey?.())i={type:"root"};else{let e=s.getKeyPageAbove(i.key),t=i.dropPosition;if(null==e&&(e=s.getFirstKey?.(),t="before"),null==e)break;i={type:"item",key:e,dropPosition:t}}let{draggingKeys:d}=lt,c=pt(n);"cancel"===o.state.getDropOperation({target:i,types:l,allowedOperations:a.allowedDropOperations,isInternal:c,draggingKeys:d})&&(i=r(i,l,a.allowedDropOperations,t,!1)??r(i,l,a.allowedDropOperations,e,!1))}}else i=r(null,l,a.allowedDropOperations,t);o.state.setTarget(i??o.state.target);break}}o.props.onKeyDown?.(i)}})},[o,n,c,p]);let u=P();return _e.set(r,{id:u,ref:n}),{collectionProps:K(s,{id:u,"aria-describedby":null})}}function Ft(t,r,n){let{dropProps:o}=Ot(),i=function(e){let{ref:t}=_e.get(e)||{};if(!t)throw new Error("Droppable item outside a droppable collection");return t}(r);e.useEffect(()=>{if(n.current)return e={element:n.current,target:t.target,getDropOperation(e,n){let{draggingKeys:o}=lt,a=pt(i);return r.getDropOperation({target:t.target,types:e,allowedOperations:n,isInternal:a,draggingKeys:o})},activateButtonRef:t.activateButtonRef},ht.set(e.element,e),()=>{ht.delete(e.element)};var e},[n,t.target,r,i,t.activateButtonRef]);let a=bt(),{draggingKeys:s}=lt,l=pt(i),d=a&&"cancel"!==r.getDropOperation({target:t.target,types:Ze(a.dragTarget.items),allowedOperations:a.dragTarget.allowedDropOperations,isInternal:l,draggingKeys:s}),c=r.isDropTarget(t.target);return e.useEffect(()=>{a&&c&&n.current&&n.current.focus()},[c,a,n]),{dropProps:{...o,"aria-hidden":!a||d?void 0:"true"},isDropTarget:c}}function $t(e,t,r){let{target:n}=e,{collection:o}=t,i=f((a=Pt)&&a.__esModule?a.default:a,"@react-aria/dnd");var a;let s,l=bt(),{dropProps:d}=Ft(e,t,r),c=P(),p=e=>null==e?"":o.getTextValue?.(e)??o.getItem(e)?.textValue??"",u="";if("root"===n.type)u=i.format("dropOnRoot"),s=`${c} ${function(e){let{id:t}=_e.get(e)||{};if(!t)throw new Error("Droppable item outside a droppable collection");return t}(t)}`;else if("on"===n.dropPosition)u=i.format("dropOnItem",{itemText:p(n.key)});else{let e,t;if("before"===n.dropPosition){let t=o.getItem(n.key)?.prevKey,r=null!=t?o.getItem(t):null;e="item"===r?.type?r.key:null}else e=n.key;if("after"===n.dropPosition){let e=o.getItem(n.key)?.nextKey,r=null!=e?o.getItem(e):null;t="item"===r?.type?r.key:null}else t=n.key;null!=e&&null!=t?u=i.format("insertBetween",{beforeItemText:p(e),afterItemText:p(t)}):null!=e?u=i.format("insertAfter",{itemText:p(e)}):null!=t&&(u=i.format("insertBefore",{itemText:p(t)}))}let g=t.isDropTarget(n),m=l?d["aria-hidden"]:"true";return{dropIndicatorProps:{...d,id:c,"aria-roledescription":i.format("dropIndicator"),"aria-label":u,"aria-labelledby":s,"aria-hidden":m,tabIndex:-1},isDropTarget:g,isHidden:!g&&!!m}}const zt={keyboard:{start:"dragDescriptionKeyboard",end:"endDragKeyboard"},touch:{start:"dragDescriptionTouch",end:"endDragTouch"},virtual:{start:"dragDescriptionVirtual",end:"endDragVirtual"}};function Nt(t){let{hasDragButton:r,isDisabled:n}=t,o=f((i=Pt)&&i.__esModule?i.default:i,"@react-aria/dnd");var i;let a=e.useRef({options:t,x:0,y:0}).current;a.options=t;let s=e.useRef(null),[p,u]=e.useState(!1),g=e=>{s.current=e,u(!!e)},{addGlobalListener:h,removeAllGlobalListeners:y}=O(),D=e.useRef(null);e.useEffect(()=>()=>{if(s.current&&(!s.current.isConnected||parseInt(e.version,10)<17)){if("function"==typeof a.options.onDragEnd){let e={type:"dragend",x:0,y:0,dropOperation:Ye[st||"none"]};a.options.onDragEnd(e)}g(null),ft(Ve.none),ut(void 0)}},[a]);let v=e=>{if("function"==typeof a.options.onDragStart){let t=e.getBoundingClientRect();a.options.onDragStart({type:"dragstart",x:t.x+t.width/2,y:t.y+t.height/2})}!function(e,t){if(yt)throw new Error("Cannot begin dragging while already dragging");yt=new Et(e,t),requestAnimationFrame(()=>{yt&&(yt.setup(),"keyboard"===rt()&&yt.next())});for(let r of Dt)r()}({element:e,items:a.options.getItems(),allowedDropOperations:"function"==typeof a.options.getAllowedDropOperations?a.options.getAllowedDropOperations():["move","copy","link"],onDragEnd(e){g(null),"function"==typeof a.options.onDragEnd&&a.options.onDragEnd(e)}},o),g(e)},b=tt(),w=p?zt[b].end:zt[b].start,k=m(o.format(w)),E={};return r||(E={...k,onPointerDown(e){if(D.current=c(e.nativeEvent)?"virtual":e.pointerType,e.width<1&&e.height<1&&T()&&x())D.current="virtual";else{let t=e.currentTarget.getBoundingClientRect(),r=e.clientX-t.x,n=e.clientY-t.y,o=t.width/2,i=t.height/2;Math.abs(r-o)<=.5&&Math.abs(n-i)<=.5?D.current="virtual":D.current=e.pointerType}},onKeyDownCapture(e){l(e)===e.currentTarget&&"Enter"===e.key&&(e.preventDefault(),e.stopPropagation())},onKeyUpCapture(e){l(e)===e.currentTarget&&"Enter"===e.key&&(e.preventDefault(),e.stopPropagation(),v(l(e)))},onClick(e){(d(e.nativeEvent)||"virtual"===D.current)&&(e.preventDefault(),e.stopPropagation(),v(l(e)))}}),n?{dragProps:{draggable:"false"},dragButtonProps:{},isDragging:!1}:{dragProps:{...E,draggable:"true",onDragStart:e=>{if(e.defaultPrevented)return;if(e.stopPropagation(),"virtual"===D.current)return e.preventDefault(),v(l(e)),void(D.current=null);"function"==typeof t.onDragStart&&t.onDragStart({type:"dragstart",x:e.clientX,y:e.clientY});let r=t.getItems();e.dataTransfer.clearData?.(),function(e,t){let r=new Map,n=!1,o=[];for(let i of t){let e=Object.keys(i);e.length>1&&(n=!0);let t={};for(let o of e){let e=r.get(o);e?n=!0:(e=[],r.set(o,e));let a=i[o];t[o]=a,e.push(a)}o.push(t)}for(let[i,a]of r)if(Je.has(i)){let t=a.join("\n");e.items.add(t,i)}else e.items.add(a[0],i);if(n){let t=JSON.stringify(o);e.items.add(t,Ge)}}(e.dataTransfer,r);let n=Ve.all;if("function"==typeof t.getAllowedDropOperations){let e=t.getAllowedDropOperations();n=Ve.none;for(let t of e)n|=Ve[t]||Ve.none}ft(n);let o=He[n]||"none";e.dataTransfer.effectAllowed="cancel"===o?"none":o,"function"==typeof t.preview?.current&&t.preview.current(r,(t,r,n)=>{if(!t)return;let o=t.getBoundingClientRect(),i=e.currentTarget.getBoundingClientRect(),a=e.clientX-i.x,s=e.clientY-i.y;(a>o.width||s>o.height)&&(a=o.width/2,s=o.height/2);let l=a,d=s;"number"==typeof r&&"number"==typeof n&&(l=r,d=n),l=Math.max(0,Math.min(l,o.width)),d=Math.max(0,Math.min(d,o.height));let c=2*Math.round(o.height/2);t.style.height=`${c}px`,e.dataTransfer.setDragImage(t,l,d)}),h(window,"drop",e=>{e.preventDefault(),e.stopPropagation(),console.warn("Drags initiated from the React Aria useDrag hook may only be dropped on a target created with useDrop. This ensures that a keyboard and screen reader accessible alternative is available.")},{once:!0}),a.x=e.clientX,a.y=e.clientY;let i=l(e);requestAnimationFrame(()=>{g(i)})},onDrag:e=>{e.stopPropagation(),e.clientX===a.x&&e.clientY===a.y||("function"==typeof t.onDragMove&&t.onDragMove({type:"dragmove",x:e.clientX,y:e.clientY}),a.x=e.clientX,a.y=e.clientY)},onDragEnd:e=>{if(e.stopPropagation(),"function"==typeof t.onDragEnd){let r={type:"dragend",x:e.clientX,y:e.clientY,dropOperation:Ye[e.dataTransfer.dropEffect]};st&&(r.dropOperation=Ye[st]),t.onDragEnd(r)}g(null),y(),ft(Ve.none),ut(void 0)}},dragButtonProps:{...k,onPress:e=>{"keyboard"!==e.pointerType&&"virtual"!==e.pointerType||v(e.target)}},isDragging:p}}const Vt={keyboard:{selected:"dragSelectedKeyboard",notSelected:"dragDescriptionKeyboard"},touch:{selected:"dragSelectedLongPress",notSelected:"dragDescriptionLongPress"},virtual:{selected:"dragDescriptionVirtual",notSelected:"dragDescriptionVirtual"}};function Xt(e,t){let r=f((n=Pt)&&n.__esModule?n.default:n,"@react-aria/dnd");var n;let o,i,a=t.isDisabled||t.selectionManager.isDisabled(e.key),{dragProps:s,dragButtonProps:l}=Nt({getItems:()=>t.getItems(e.key),preview:t.preview,getAllowedDropOperations:t.getAllowedDropOperations,hasDragButton:e.hasDragButton,onDragStart(r){var n;t.startDrag(e.key,r),n=t.draggingKeys,lt.draggingKeys=n},onDragMove(e){t.moveDrag(e)},onDragEnd(e){let{dropOperation:r}=e,n="cancel"!==r&&pt();t.endDrag({...e,keys:t.draggingKeys,isInternal:n}),ct()}}),d=t.collection.getItem(e.key),c=t.getKeysForDrag(e.key).size,p=c>1&&t.selectionManager.isSelected(e.key),u=tt();if(e.hasDragButton||"none"===t.selectionManager.selectionMode)if(p)o=r.format("dragSelectedItems",{count:c});else{let n=t.collection.getTextValue?.(e.key)??d?.textValue??"";o=r.format("dragItem",{itemText:n})}else{let t=Vt[u][p?"selected":"notSelected"];e.hasAction&&"keyboard"===u&&(t+="Alt"),i=p?r.format(t,{count:c}):r.format(t),delete s.onClick}let g=m(i);if(i&&Object.assign(s,g),!e.hasDragButton&&e.hasAction){let{onKeyDownCapture:e,onKeyUpCapture:t}=s;"touch"===u&&delete s["aria-describedby"],s.onKeyDownCapture=t=>{t.altKey&&e?.(t)},s.onKeyUpCapture=e=>{e.altKey&&t?.(e)}}return{dragProps:a?{}:s,dragButtonProps:{...l,isDisabled:a,"aria-label":o}}}function Ht(e,t,r){let{draggingCollectionRef:n}=lt;t.draggingKeys.size>0&&n?.current!==r.current&&function(e){lt.draggingCollectionRef=e}(r)}const Yt=t.forwardRef(function(n,o){let i=n.children,[a,s]=e.useState(null),l=e.useRef(null),d=e.useRef(void 0);return e.useImperativeHandle(o,()=>(e,t)=>{let n,o,a,c=i(e);c&&"object"==typeof c&&"element"in c?(n=c.element,o=c.x,a=c.y):n=c,r.flushSync(()=>{s(n)}),t(l.current,o,a),d.current=requestAnimationFrame(()=>{s(null)})},[i]),e.useEffect(()=>()=>{d.current&&cancelAnimationFrame(d.current)},[]),a?t.createElement("div",{style:{zIndex:-100,position:"fixed",top:0,left:-1e5},ref:l},a):null});function Ut(e,t){if(!e)return!t;switch(e.type){case"root":return"root"===t?.type;case"item":return"item"===t?.type&&t?.key===e.key&&t?.dropPosition===e.dropPosition}}class qt{constructor(e,t,r){this.collection=e,this.ref=t,this.layout=r?.layout||"stack",this.orientation=r?.orientation||"vertical",this.direction=r?.direction||"ltr"}getPrimaryStart(e){return"horizontal"===this.orientation?e.left:e.top}getPrimaryEnd(e){return"horizontal"===this.orientation?e.right:e.bottom}getSecondaryStart(e){return"horizontal"===this.orientation?e.top:e.left}getSecondaryEnd(e){return"horizontal"===this.orientation?e.bottom:e.right}getFlowStart(e){return"stack"===this.layout?this.getPrimaryStart(e):this.getSecondaryStart(e)}getFlowEnd(e){return"stack"===this.layout?this.getPrimaryEnd(e):this.getSecondaryEnd(e)}getFlowSize(e){return this.getFlowEnd(e)-this.getFlowStart(e)}getDropTargetFromPoint(e,t,r){if(this.collection[Symbol.iterator]().next().done||!this.ref.current)return{type:"root"};let n=this.ref.current.getBoundingClientRect(),o="horizontal"===this.orientation?e:t,i="horizontal"===this.orientation?t:e;o+=this.getPrimaryStart(n),i+=this.getSecondaryStart(n);let a="stack"===this.layout?o:i,s="horizontal"===this.orientation&&"rtl"===this.direction,l="grid"===this.layout&&"vertical"===this.orientation&&"rtl"===this.direction,d="stack"===this.layout?s:l,c=this.ref.current?.dataset.collection,p=this.ref.current.querySelectorAll(c?`[data-collection="${CSS.escape(c)}"]`:"[data-key]"),u=new Map;for(let D of p)D instanceof HTMLElement&&null!=D.dataset.key&&u.set(D.dataset.key,D);let g=[...this.collection].filter(e=>"item"===e.type);if(g.length<1)return{type:"root"};let f=0,m=g.length;for(;f{t?f=e+1:m=e};if(othis.getPrimaryEnd(c))p(!s);else if(ithis.getSecondaryEnd(c))){let e={type:"item",key:t.key,dropPosition:"on"};if(r(e))a<=this.getFlowStart(c)+5&&r({...e,dropPosition:"before"})?e.dropPosition=d?"after":"before":a>=this.getFlowEnd(c)-5&&r({...e,dropPosition:"after"})&&(e.dropPosition=d?"before":"after");else{let t=this.getFlowStart(c)+this.getFlowSize(c)/2;a<=t&&r({...e,dropPosition:"before"})?e.dropPosition=d?"after":"before":a>=t&&r({...e,dropPosition:"after"})&&(e.dropPosition=d?"before":"after")}return e}p(!l)}}let h=g[Math.min(f,g.length-1)],y=u.get(String(h.key));return n=y?.getBoundingClientRect(),n&&(o{let{onDrop:r,onInsert:n,onItemDrop:o,onReorder:i,onMove:a,onRootDrop:s,getItems:l,renderDragPreview:d,renderDropIndicator:c,dropTargetDelegate:p}=t,u=!!(r||n||o||i||a||s),g={};return!!l&&(g.useDraggableCollectionState=function(r){return function(t){let{getItems:r,isDisabled:n,collection:o,selectionManager:i,onDragStart:a,onDragMove:s,onDragEnd:l,preview:d,getAllowedDropOperations:c}=t,[,p]=e.useState(!1),u=e.useRef(new Set),g=e.useRef(null),f=e=>{let t=new Set;if(i.isSelected(e))for(let r of i.selectedKeys){let e=o.getItem(r);if(e){let n=!1,a=e.parentKey;for(;null!=a;){if(i.selectedKeys.has(a)){n=!0;break}let e=o.getItem(a);a=e?e.parentKey:null}n||t.add(r)}}else t.add(e);return t};return{collection:o,selectionManager:i,get draggedKey(){return g.current},get draggingKeys(){return u.current},isDragging:e=>u.current.has(e),getKeysForDrag:f,getItems(e){let t=f(e),n=[];for(let r of t){let e=o.getItem(r)?.value;null!=e&&n.push(e)}return r(f(e),n)},isDisabled:n,preview:d,getAllowedDropOperations:c,startDrag(e,t){let r=f(e);u.current=r,g.current=e,i.setFocused(!1),p(!0),"function"==typeof a&&a({...t,keys:r})},moveDrag(e){"function"==typeof s&&s({...e,keys:u.current})},endDrag(e){let{isInternal:t}=e;"function"==typeof l&&l({...e,keys:u.current,isInternal:t}),u.current=new Set,g.current=null,p(!1)}}}({...r,...t})},g.useDraggableCollection=Ht,g.useDraggableItem=Xt,g.DragPreview=Yt,g.renderDragPreview=d,g.isVirtualDragging=wt),u&&(g.useDroppableCollectionState=function(r){return function(t){let{acceptedDragTypes:r="all",isDisabled:n,onInsert:o,onRootDrop:i,onItemDrop:a,onReorder:s,onMove:l,shouldAcceptItemDrop:d,collection:c,selectionManager:p,onDropEnter:u,getDropOperation:g,onDrop:f}=t,[m,h]=e.useState(null),y=e.useRef(null),D=e=>{if("before"===e.dropPosition){let t=c.getItem(e.key);return t&&null!=t.prevKey?{type:"item",key:t.prevKey,dropPosition:"after"}:null}if("after"===e.dropPosition){let t=c.getItem(e.key);return t&&null!=t.nextKey?{type:"item",key:t.nextKey,dropPosition:"before"}:null}return null},v=e.useCallback(e=>{let{target:t,types:p,allowedOperations:u,isInternal:m,draggingKeys:h}=e;if(n||!t)return"cancel";if("all"===r||r.some(e=>p.has(e))){let e=o&&"item"===t.type&&!m&&("before"===t.dropPosition||"after"===t.dropPosition),r=s&&"item"===t.type&&m&&("before"===t.dropPosition||"after"===t.dropPosition)&&function(e,t,r){let n=e.getItem(t.key);for(let o of r){let t=e.getItem(o);if(t?.parentKey!==n?.parentKey)return!1}return!0}(c,t,h),n="item"!==t.type||"on"!==t.dropPosition||!d||d(t,p),y=l&&"item"===t.type&&m&&n,D=i&&"root"===t.type&&!m,v=a&&"item"===t.type&&"on"===t.dropPosition&&!(m&&null!=t.key&&h.has(t.key))&&n;if(f||e||r||y||D||v)return g?g(t,p,u):u[0]}return"cancel"},[n,c,r,g,o,i,a,d,s,l,f]);return{collection:c,selectionManager:p,isDisabled:n,target:m,setTarget(e){if(this.isDropTarget(e))return;let r=y.current;r&&"function"==typeof t.onDropExit&&t.onDropExit({type:"dropexit",x:0,y:0,target:r}),e&&"function"==typeof u&&u({type:"dropenter",x:0,y:0,target:e}),y.current=e??null,h(e??null)},isDropTarget(e){let t=y.current;return!(!t||!e)&&(!!Ut(e,t)||"item"===e?.type&&"item"===t?.type&&e.key!==t.key&&e.dropPosition!==t.dropPosition&&"on"!==e.dropPosition&&"on"!==t.dropPosition&&(Ut(D(e),t)||Ut(e,D(t))))},getDropOperation(e){let{target:t,isInternal:r,draggingKeys:n}=e;if(r&&"item"===t.type&&n.size>0){if(n.has(t.key)&&"on"===t.dropPosition)return"cancel";let e=t.key;for(;null!=e;){let t=c.getItem(e),r=t?.parentKey;if(null!=r&&n.has(r))return"cancel";e=r??null}}return v(e)}}}({...r,...t})},g.useDroppableItem=Ft,g.useDroppableCollection=function(e,r,n){return Lt({...e,...t},r,n)},g.useDropIndicator=$t,g.renderDropIndicator=c,g.dropTargetDelegate=p,g.ListDropTargetDelegate=qt),g},[t])}}const Gt="application/x-doona-card";function Wt(e){return n.jsx(S,{viewBox:"0 0 12 12",...e,children:[1.6,6,10.4].flatMap(e=>[3.8,8.2].map(t=>n.jsx("circle",{cx:t,cy:e,r:1.1,fill:"currentColor"},`${t}-${e}`)))})}const _t={},Qt=new Map,Zt=new Set,er=e=>{if(_t.card=e,Qt.clear(),void 0===e)for(const t of Zt)t()},tr=e=>[...document.querySelectorAll(".rp-dashboard-cell")].find(t=>t.dataset.instance===e);function rr(e){let t=[1,1];for(let r=1;r<=12;r++){const n=Math.round(e*r);n>0&&Math.abs(e-n/r){const e=t.current;if(!e)return;const r=()=>{const t=e.parentElement.getBoundingClientRect(),r=getComputedStyle(e),n=Number.parseFloat(r.getPropertyValue("--rp-dash-gap"))||0,o=function(e,t,r,n){const o=n?e.map(e=>({...e,left:t-e.right,right:t-e.left})):e,i=new Map;for(const a of o)i.set(Math.round(a.top),[...i.get(Math.round(a.top))??[],a]);return[...i.values()].flatMap(e=>{const i=e[0].top,a=Math.max(...e.map(e=>e.bottom)),s=Math.max(...e.map(e=>e.right))+r;let l=t;for(const t of o)!e.includes(t)&&t.topi+.5&&t.right>s&&(l=Math.min(l,t.left-r));return(l-s+r)/(t+r)<1/6-.01?[]:[{after:e.at(-1).id,left:n?t-l:s,top:i,width:l-s,height:a-i}]})}([...e.querySelectorAll(":scope > .rp-dashboard-cell")].map(e=>{const r=e.getBoundingClientRect();return{id:e.dataset.instance,left:r.left-t.left,right:r.right-t.left,top:r.top-t.top,bottom:r.bottom-t.top}}),t.width,n,"rtl"===r.direction).map(e=>({...e,share:rr((e.width+n)/(t.width+n))}));s(e=>JSON.stringify(e)===JSON.stringify(o)?e:o)};return r(),e.addEventListener("rp-packed",r),()=>e.removeEventListener("rp-packed",r)},[t]),a.map(e=>n.jsx(or,{section:t,gap:e,label:r(e.share),refusal:o,onPlace:i},e.after))}function or({section:t,gap:r,label:o,refusal:i,onPlace:a}){const s=e.useRef(null),[l,d]=e.useState(!1),c=(e=_t.card)=>{const n=t.current;if(void 0===e||!n)return!1;const o=[e,r.after,r.width].join("\n");return Qt.has(o)||Qt.set(o,(function(e,t,r){const n=tr(t),o=tr(r);if(!n||o?.parentElement!==e)return;const i=document.createElement("div");i.className="rp-dashboard-cell",i.style.visibility="hidden";for(const d of["data-module","data-size","data-foot","data-width","data-height"]){const e=n.getAttribute(d);null!==e&&i.setAttribute(d,e)}const a=e.dataset.grid;i.dataset.width&&(e.dataset.grid="fraction");const s=n.parentElement===e;s&&n.classList.remove("rp-dashboard-cell"),o.after(i);const l=i.getBoundingClientRect().width;return i.remove(),s&&n.classList.add("rp-dashboard-cell"),void 0===a?delete e.dataset.grid:e.dataset.grid=a,l}(n,e,r.after)??1/0)<=r.width+1),Qt.get(o)},{dropProps:p,isDropTarget:u}=St({ref:s,getDropOperation:e=>e.has(Gt)&&c()?"move":"cancel",onDrop:async e=>{for(const t of e.items){if("text"!==t.kind||!t.types.has(Gt))continue;const e=await t.getText(Gt);c(e)&&a(e,{target:r.after,after:!0})}}}),g={onDragEnter:()=>d(void 0!==_t.card&&!c()),onDragLeave:()=>d(!1),onDrop:()=>d(!1)};return e.useEffect(()=>{const e=()=>d(!1);return Zt.add(e),()=>{Zt.delete(e)}},[]),n.jsxs("div",{...K(p,g),ref:s,className:"rp-dashboard-gap rp-label","data-drop-target":u||void 0,"data-refused":l||void 0,style:{left:r.left,top:r.top,width:r.width,height:r.height},children:[o,n.jsx(C,{children:n.jsx("span",{role:"status",children:l?i:""})})]})}const ir={current:null};let ar;function sr({label:t,profile:r,items:o,textValue:i,dragLabel:a,tools:s,resize:l,gapLabel:d,refusal:c,rearm:p,children:u,onPlace:g,...f}){const m=e.useRef(null);_(r?m:ir),e.useEffect(()=>{!p?.focus||document.activeElement&&document.activeElement!==document.body||m.current?.querySelector(`[data-key="${CSS.escape(p.focus)}"]`)?.focus()},[p]);const h=async e=>{for(const t of e.items)if("text"===t.kind&&t.types.has(Gt))return t.getText(Gt)},{dragAndDropHooks:y}=function(t){const{dragAndDropHooks:r}=Jt(t);return{dragAndDropHooks:e.useMemo(()=>function(e){const{useDraggableItem:t,isVirtualDragging:r}=e;return t&&r?{...e,useDraggableItem:(e,n)=>{const o=t(e,n),i=o.dragButtonProps.onPress;return{...o,dragButtonProps:{...o.dragButtonProps,onPress:e=>{r()||i?.(e)}}}}}:e}(r),[r])}}({getItems:e=>[...e].map(e=>({[Gt]:String(e),"text/plain":i(o.find(t=>t.id===e))})),getAllowedDropOperations:()=>["move"],acceptedDragTypes:[Gt],getDropOperation:()=>"move",onDragStart:e=>er(String([...e.keys][0])),onDragEnd:()=>{er(void 0),function(){ar?.();const e=()=>{document.removeEventListener("pointerdown",e,!0),document.removeEventListener("mousedown",t,!0),ar=void 0},t=t=>{e();const{clientX:r,clientY:n,screenX:o,screenY:i,button:a,buttons:s,ctrlKey:l,shiftKey:d,altKey:c,metaKey:p}=t;t.target?.dispatchEvent(new PointerEvent("pointerdown",{bubbles:!0,cancelable:!0,composed:!0,pointerId:1,pointerType:"mouse",isPrimary:!0,clientX:r,clientY:n,screenX:o,screenY:i,button:a,buttons:s,ctrlKey:l,shiftKey:d,altKey:c,metaKey:p}))};ar=e,document.addEventListener("pointerdown",e,!0),document.addEventListener("mousedown",t,!0)}()},renderDropIndicator:e=>n.jsx(Be,{target:e,className:"rp-canvas-drop"}),onReorder:e=>{for(const t of e.keys)g(String(t),{target:String(e.target.key),after:"after"===e.target.dropPosition})},onInsert:async e=>{const t=await h(e);t&&g(t,{target:String(e.target.key),after:"after"===e.target.dropPosition})},onRootDrop:async e=>{const t=await h(e);t&&g(t,{})}}),D=n.jsx(Re,{...f,ref:m,"aria-label":t,layout:"grid",className:r?"rp-dash-section":"rp-widget-grid rp-sortable-grid","data-profile":r,"data-grid":r?te(o):void 0,items:o,dragAndDropHooks:y,dependencies:[u,s,l],children:e=>n.jsxs(Me,{id:e.id,textValue:i(e),className:r?"rp-dashboard-cell":"rp-widget-cell rp-sortable-row",...r?Z(e):{"data-size":ee(e.size),"data-module":e.module},children:[n.jsxs("div",{className:"rp-dashboard-tools",children:[n.jsx(I,{slot:"drag",className:j({quiet:!0,icon:!0,small:!r}),"aria-label":a(e),children:n.jsx(Wt,{})}),s?.(e)]}),n.jsx(Q,{children:u(e)}),l?.(e)]})});return r?n.jsxs("div",{className:"rp-dashboard-canvas","data-rearm":p?"":void 0,children:[D,d&&n.jsx(nr,{section:m,label:d,refusal:c,onPlace:g})]}):D}function lr({id:t,label:r,added:o,addLabel:i,count:a,onAdd:s,presets:l,row:d,children:c}){const[p,u]=A(void 0,200),[g,f]=e.useState(!1);return u&&!g&&f(!0),n.jsxs("section",{ref:p,className:"rp-widget-gallery-tile","data-added":o||void 0,"data-module":t,"aria-label":r,children:[n.jsx("h3",{className:"rp-h3",children:r}),l&&d?n.jsx(dr,{presets:l,row:d,loaded:g,disabled:o}):n.jsx("div",{className:"rp-widget-gallery-frame",inert:!0,children:n.jsx(R,{value:!1,children:g&&c})}),n.jsxs("div",{className:"rp-cluster",children:[n.jsx(M,{isDisabled:o,label:`${i} ${r}`,onPress:s,children:i}),n.jsx("span",{className:"rp-label",children:a})]})]})}function dr({presets:e,row:t,loaded:r,disabled:o}){const[i,a]=B(Math.round),s=a?a.width/t.width:0;return n.jsx("div",{ref:i,className:"rp-widget-gallery-presets",style:{"--rp-preset-gap":t.gap*s+"px"},children:r&&s>0&&e.map(e=>n.jsx(cr,{preset:e,width:e.share*(t.width+t.gap)-t.gap,scale:s,disabled:o},e.key))})}function cr({preset:e,width:t,scale:r,disabled:o}){const[i,a]=B(Math.round);return n.jsxs("div",{className:"rp-widget-gallery-preset",style:{inlineSize:t*r},children:[n.jsxs("div",{className:"rp-widget-gallery-thumb",style:{blockSize:(a?.height??0)*r},children:[n.jsx("div",{ref:i,className:"rp-widget-gallery-thumb-card",style:{inlineSize:t,scale:String(r)},inert:!0,children:n.jsx(R,{value:!1,children:e.preview})}),n.jsx(I,{className:"rp-widget-gallery-thumb-add","aria-label":e.addLabel,isDisabled:o,onPress:e.onAdd})]}),n.jsx("span",{className:"rp-label",children:e.label})]})}function pr({label:e,children:t}){return n.jsxs("div",{className:"rp-module-option",children:[n.jsx("span",{className:"rp-label",children:e}),t]})}function ur(){const e=document.querySelector(".rp-dashboard-canvas"),t=e&&getComputedStyle(e.querySelector(".rp-dash-section")??e);return{width:e?.getBoundingClientRect().width||1152,gap:Number.parseFloat(t?.getPropertyValue("--rp-dash-gap")??"")||12,snap:Number.parseFloat(t?.getPropertyValue("--rp-dash-snap")??"")||12}}function gr({items:t,add:r,surface:o="panel"}){const i=L(),[a]=e.useState(ur),s="dashboard"===o?re(ne()):[];return Object.keys(oe).filter(e=>"panel"===o||!ie(e)).map(e=>{const l=t.filter(t=>t.id===e).length,d=s.find(t=>t.id===e)??ae(e),c=e=>{const t=we(e.width);return a.snap>=12?t:Math.ceil(t*a.snap-1e-6)/a.snap};return n.jsx(lr,{id:e,label:i(oe[e].label),added:l>=me,addLabel:i("widgets.add"),count:i("widgets.placedCount",{n:l,max:me}),onAdd:()=>r(e),row:a,presets:"dashboard"===o?le(d,de(d)).map(t=>{const o=ce(d,t),a=pe(t,i);return{key:a,label:a,addLabel:i("widgets.addPreset",{name:i(oe[e].label),size:a}),share:c(t),onAdd:()=>r(e,t),preview:n.jsx(ue,{id:e,children:n.jsx(F,{value:!0,children:n.jsx("div",{className:"rp-dashboard-cell",...Z(fe(o)),"data-tile":"tall"===o.height?"stacked":void 0,children:n.jsx(ge,{item:o,preview:!0})})})})}}):void 0,children:"panel"===o&&n.jsx(se,{item:ae(e),preview:!0,sample:!0})},e)})}const fr={area:"dashboard.form.area",sparkline:"dashboard.form.sparkline",donut:"dashboard.form.donut",waffle:"dashboard.form.waffle",dots:"dashboard.form.dots",ranked:"dashboard.form.ranked",kv:"dashboard.form.kv",facts:"dashboard.form.facts"},mr={small:"widgets.small",medium:"widgets.medium",large:"widgets.large",wide:"dashboard.wide"};function hr({active:e,items:t,sizes:r=[],surface:o,update:i,move:a,remove:s}){const l=L();if(!e)return n.jsx("p",{className:"rp-label",children:l("widgets.select")});const d=oe[e.id].groupChoice;return n.jsxs(n.Fragment,{children:["dashboard"===o&&Object.values(he(e,de(e),l)).map(e=>e&&n.jsx(pr,{label:e.label,children:n.jsx(Fe,{label:e.label,value:e.value,onChange:t=>i(e.set(t)),items:e.options.map(e=>[e.value,e.label])})},e.label)),r.length>1&&n.jsx(pr,{label:l("widgets.size"),children:n.jsx(Fe,{label:l("widgets.size"),value:e.size,onChange:t=>i({...e,size:t,form:"panel"===o&&"small"===t&&ye(e.id,o).includes("kv")?"kv":e.form}),items:r.map(e=>[e,l(mr[e])])})}),ye(e.id,o).length>1&&!("small"===e.size&&!e.width&&ye(e.id,o).includes("sparkline"))&&n.jsx(pr,{label:l("widgets.form"),children:n.jsx(Fe,{label:l("widgets.form"),value:ve(e,o),onChange:t=>i({...e,form:t,size:"large"!==e.size||De(e.id,t,o).includes("large")?e.size:"medium"}),items:ye(e.id,o).map(e=>[e,l(fr[e])])})}),"ranking"===e.id&&n.jsx(pr,{label:l("widgets.rankBy"),children:n.jsx(Fe,{label:l("widgets.rankBy"),value:e.by??"dev",onChange:t=>i({...e,by:"domain"===t?"domain":"dev"}),items:[["dev",l("act.devices")],["domain",l("act.domains")]]})}),"speed"===e.id&&"small"!==e.size&&"sparkline"===ve(e,o)&&n.jsx($,{isSelected:!e.split,onChange:t=>i({...e,split:!t||void 0}),children:l("widgets.combineRates")}),d&&n.jsx(yr,{item:e,automatic:d,update:i}),n.jsxs("div",{className:"rp-cluster rp-module-actions",children:[n.jsx(M,{isDisabled:be(t[0])===be(e),onPress:()=>a(-1),children:l("widgets.up")}),n.jsx(M,{isDisabled:be(t.at(-1))===be(e),onPress:()=>a(1),children:l("widgets.down")}),n.jsx(M,{negative:!0,onPress:s,children:l("widgets.remove")})]})]})}function yr({item:e,automatic:t,update:r}){const o=z(),i=$e(!0===o.data?.resources.groups.available),a=L(),s=a(t);return n.jsx(pr,{label:a("ui.group"),children:n.jsx(Ne,{label:a("ui.group"),value:e.group??"",items:[{id:"",label:s},...(i.data??[]).map(e=>({id:e.id,label:e.name}))],onChange:t=>r({...e,group:t}),children:i.data?.find(t=>t.id===e.group)?.name??s})})}function Dr(e,t,r){const n=re(e).find(e=>be(e)===t);if(!n||r.target===t)return e;const o=e.sections.map(e=>({...e,items:e.items.filter(e=>be(e)!==t)})),i=o.find(e=>e.id===r.section);if(!i)return e;const a=void 0===r.target?-1:i.items.findIndex(e=>be(e)===r.target);return i.items.splice(a<0?i.items.length:a+(r.after?1:0),0,n),{...e,sections:o}}function vr({width:e,height:t}){return n.jsxs(n.Fragment,{children:[n.jsx(Er,{axis:e,edge:"width"}),t&&n.jsx(Er,{axis:t,edge:"height"})]})}const br=e=>{const[t,r=1]=e.split("/").map(Number);return t/r||0};function wr(e,t){const r=e.closest(".rp-dash-section"),n=getComputedStyle(r),o=getComputedStyle(e),i=Number.parseFloat(n.getPropertyValue("--rp-dash-snap"))||12,a=Number.parseFloat(n.getPropertyValue("--rp-dash-gap"))||0,s=r.getBoundingClientRect().width+Math.min(0,Number.parseFloat(n.marginInlineStart)||0),l=Number.parseFloat(o.getPropertyValue("--rp-span"))||420,d=br(o.getPropertyValue("--rp-shift"))-br(o.getPropertyValue("--rp-trim"));return t.map(t=>{if(void 0===t.fraction)return e.dataset.width?l/420*(s+a)-a+d*a:e.getBoundingClientRect().width;return(i>=12?t.fraction:Math.ceil(t.fraction*i-1e-6)/i)*(s+a)-a})}const xr=(e,t,r)=>t.reduce((n,o,i)=>{const a=Math.abs(o-r)-Math.abs(t[n]-r);return a<-.5||a<=.5&&void 0===e[n].fraction&&void 0!==e[i].fraction?i:n},0),Tr=new Map,kr=e=>e.target&&Tr.get(e.target)?.(e);function Er({axis:t,edge:r}){const o=e.useRef(null),i=e.useRef(null),{focusProps:a,isFocusVisible:s}=N(),l=()=>o.current.closest(".rp-dashboard-cell"),d=()=>"rtl"===getComputedStyle(o.current).direction,c=Math.max(0,t.options.findIndex(e=>e.value===t.value)),p=e=>{i.current&&(i.current.index=e),t.options[e].value!==t.value&&t.onChange(t.options[e])},{moveProps:u}=ze({onMoveStart:()=>{const e=l().getBoundingClientRect(),n=Number.parseFloat(getComputedStyle(l()).getPropertyValue("--rp-space-16"))||1,o="width"===r?wr(l(),t.options):[];i.current={start:c,size:"width"===r?e.width:e.height,travel:0,sizes:o,step:n,index:c},l().dataset.resizing=""},onMove:({deltaX:e,deltaY:n,pointerType:o})=>{const a=i.current;if(!a||"keyboard"===o)return;a.travel+="width"===r?e*(d()?-1:1):n;const s="width"===r?xr(t.options,a.sizes,a.size+a.travel):Math.max(0,Math.min(t.options.length-1,a.start+Math.round(a.travel/a.step)));s!==a.index&&p(s)},onMoveEnd:()=>{i.current=null,delete l().dataset.resizing}}),g=e.useRef(e=>{});return e.useLayoutEffect(()=>{g.current=e=>{const n="width"===r?d()?"ArrowLeft":"ArrowRight":"ArrowDown",o="width"===r?d()?"ArrowRight":"ArrowLeft":"ArrowUp";e.key!==n&&e.key!==o||(e.preventDefault(),e.stopPropagation(),p((e=>{if("width"===r&&void 0===t.options[c].fraction){if(!e)return c;const r=l().getBoundingClientRect().width,n=wr(l(),t.options).findIndex((e,n)=>void 0!==t.options[n].fraction&&e>r+1);return n<0?t.options.length-1:n}return Math.max(0,Math.min(t.options.length-1,c+(e?1:-1)))})(e.key===n)))}}),e.useEffect(()=>{return e=o.current,t=e=>g.current(e),Tr.size||addEventListener("keydown",kr,!0),Tr.set(e,t),()=>{Tr.delete(e),Tr.size||removeEventListener("keydown",kr,!0)};var e,t},[]),n.jsx("div",{ref:o,role:"slider",tabIndex:0,...a,...u,onPointerDown:e=>{e.preventDefault(),e.stopPropagation(),u.onPointerDown?.(e)},className:"rp-dashboard-resize rp-grip","data-edge":r,"data-focus-visible":s||void 0,"aria-label":t.label,"aria-orientation":"width"===r?"horizontal":"vertical","aria-valuemin":0,"aria-valuemax":t.options.length-1,"aria-valuenow":c,"aria-valuetext":t.options[c]?.label})}const Pr=(e,t)=>e.filter(e=>e.id===t).lengthbe(e)===t)?{instance:V()}:{}}:null;function Kr({draft:t,setDraft:r,render:o}){const i=L(),[a,s]=e.useState({text:"",serial:0}),l=re(t),d=e=>s(t=>({text:e,serial:t.serial+1})),c=e.useRef([]);e.useEffect(()=>()=>c.current.forEach(e=>q(e.key)),[]),e.useEffect(()=>{c.current=c.current.filter(e=>!!e.restorable(t)||(q(e.key),!1))},[t]);const[p,u]=e.useState(null),g=e.useRef({x:Number.NaN,y:Number.NaN});e.useEffect(()=>{const e=e=>{g.current={x:e.clientX,y:e.clientY}};return document.addEventListener("pointerdown",e,!0),document.addEventListener("pointermove",e,!0),()=>{document.removeEventListener("pointerdown",e,!0),document.removeEventListener("pointermove",e,!0)}},[]),e.useEffect(()=>{if(!p)return;const{x:e,y:t}=g.current,r=r=>{r instanceof PointerEvent&&r.clientX===e&&r.clientY===t||u(null)};return document.addEventListener("pointermove",r,!0),document.addEventListener("keydown",r,!0),()=>{document.removeEventListener("pointermove",r,!0),document.removeEventListener("keydown",r,!0)}},[p]);const f=e=>{const{layout:n,restore:o,restorable:a}=function(e,t){const r=e.sections.find(e=>e.items.some(e=>be(e)===t));if(!r)return{layout:e,restore:e=>e,restorable:()=>!1};const n=r.items.findIndex(e=>be(e)===t),o=r.items[n],i=e=>{const r=re(e);return!r.some(e=>be(e)===t)&&r.filter(e=>e.id===o.id).lengthe===r?{...e,items:e.items.filter(e=>e!==o)}:e)},restore:e=>i(e)?{...e,sections:e.sections.map(e=>e.id===r.id?{...e,items:[...e.items.slice(0,n),o,...e.items.slice(n)]}:e)}:e,restorable:i}}(t,be(e)),s=l.findIndex(t=>be(t)===be(e)),d=l[s+1]??l[s-1];u({focus:d&&be(d)}),r(n);const p=W("neutral",i("widgets.removed",{name:i(oe[e.id].label)}),{id:`removed:${be(e)}`,action:{label:i("ui.undo"),onAction:()=>r(e=>e&&o(e)),closeOnAction:!0}});c.current.push({key:p,restorable:a})};return n.jsxs(n.Fragment,{children:[t.sections.map(e=>n.jsx(sr,{label:i("widgets.order"),profile:e.id,items:e.items.map(e=>({...fe(e),item:e})),textValue:({item:e})=>i(oe[e.id].label),dragLabel:({item:e})=>i("widgets.drag",{name:i(oe[e.id].label)}),gapLabel:e=>i("dashboard.remaining",{space:e}),refusal:i("dashboard.noRoom"),rearm:p,resize:({item:e})=>{const o=he(e,de(e),i),a=(e,n)=>e&&{label:n,value:e.value,options:e.options,onChange:n=>{r(Te(t,Ae(e.set(n.value)))),d(`${e.label}: ${n.label}`)}};return n.jsx(vr,{width:a(o.width,i("dashboard.resizeWidth")),height:a(o.height,i("dashboard.resizeHeight"))})},onPlace:(n,o)=>{r(Dr(t,n,{section:e.id,...o})),d(i("widgets.reordered"))},tools:({item:e})=>n.jsxs(n.Fragment,{children:[n.jsx(J,{title:i(oe[e.id].label),placement:"bottom end",trigger:n.jsx(M,{quiet:!0,icon:!0,label:i("widgets.inspector"),children:n.jsx(G,{})}),children:()=>n.jsx("div",{className:"rp-module-inspector",children:n.jsx(hr,{active:e,items:l,surface:"dashboard",update:e=>r(Te(t,Ae(e))),move:n=>{r(function(e,t,r){const n=e.sections.findIndex(e=>e.items.some(e=>be(e)===t));if(n<0)return e;const o=e.sections[n].items,i=o.findIndex(e=>be(e)===t),a=o[i+r];if(a)return Dr(e,t,{section:e.sections[n].id,target:be(a),after:r>0});const s=e.sections[n+r];if(!s)return e;const l=r>0?s.items[0]:s.items.at(-1);return Dr(e,t,{section:s.id,...l?{target:be(l),after:r<0}:{}})}(t,be(e),n)),d(i("widgets.reordered"))},remove:()=>f(e)})})}),n.jsx(M,{quiet:!0,icon:!0,label:i("widgets.removeName",{name:i(oe[e.id].label)}),onPress:()=>f(e),children:n.jsx(Le,{})})]}),children:({item:e})=>o(e)},e.id)),n.jsx(C,{children:n.jsx("span",{role:"status",children:n.jsx("span",{children:a.text},a.serial)})})]})}function Or({draft:t,saved:r,setDraft:o,onClose:i}){const a=L(),[s,l]=e.useState(!1),d=e.useMemo(()=>JSON.stringify(t)!==JSON.stringify(r),[t,r]);return X(d,i),n.jsxs(H,{children:[n.jsx(Y,{title:a("widgets.gallery"),size:"wide",scrollBody:!0,trigger:n.jsx(M,{children:a("widgets.gallery")}),footer:e=>n.jsx(M,{onPress:e,children:a("ui.close")}),children:n.jsx("div",{className:"rp-widget-gallery-grid",children:n.jsx(gr,{items:re(t),add:(e,r)=>o(function(e,t,r){const n=Pr(re(e),t);if(!n)return e;const o=r?ce(n,r):n;return{...e,sections:e.sections.map(e=>"extensions"===e.id?{...e,items:[...e.items,o]}:e)}}(t,e,r)),surface:"dashboard"})})}),n.jsx(M,{onPress:()=>o(ne()),children:a("widgets.reset")}),n.jsx(M,{onPress:()=>d?l(!0):i(),children:a("ui.cancel")}),n.jsx(M,{accent:!0,onPress:()=>{xe(t),i()},children:a("ui.done")}),n.jsx(U,{title:a("config.discardTitle"),isOpen:s,onCancel:()=>l(!1),confirmLabel:a("config.discard"),onConfirm:i,children:n.jsx("p",{children:a("widgets.discardHelp")})})]})}function Sr({onClose:t,backend:r}){const o=L(),[i]=e.useState(ke),a=i.items,[s,l]=e.useState(a),[d,c]=e.useState(!1),[p]=e.useState(()=>i.docked?document.querySelector(".rp-side-dock")?.offsetWidth:void 0),u=i.size?.width??Ee,[g,f]=e.useState(u),[m,h]=e.useState(!1),y=g!==(d?Ee:u),[D,v]=e.useState(null),[b,w]=e.useState(!1),[x,T]=e.useState({text:"",serial:0}),k=e=>T(t=>({text:e,serial:t.serial+1})),E=d&&Pe(ke()),P=e.useMemo(()=>JSON.stringify(a)!==JSON.stringify(s),[a,s])||E||y;X(P,t);const K=()=>P?w(!0):t(),O=s.find(e=>be(e)===D);return n.jsxs(n.Fragment,{children:[n.jsxs(Y,{title:o("widgets.edit"),size:"wide",scrollBody:!0,isOpen:!0,onOpenChange:e=>{e||K()},footer:()=>n.jsxs(n.Fragment,{children:[n.jsx(M,{onPress:()=>{l(Se().items),c(!0),f(Ee),v(null)},children:o("widgets.reset")}),n.jsx(M,{onPress:K,children:o("ui.cancel")}),n.jsx(M,{accent:!0,onPress:()=>{Ce(e=>({...e,version:4,items:s,...d&&je,...y&&{size:{width:g,height:(d?void 0:e.size?.height)??Ie}}})),t()},children:o("settings.save")})]}),children:[n.jsx(Ke,{panelWidth:(d||m?void 0:p)??g,onPanelWidth:e=>{h(!0),f(e)},resizeLabel:o("widgets.resizePreview"),header:n.jsx(Oe,{backend:r,preview:!0}),galleryLabel:o("widgets.gallery"),canvasLabel:o("widgets.canvas"),inspectorLabel:o(O?oe[O.id].label:"widgets.inspector"),gallery:n.jsx(gr,{items:s,add:e=>{const t=Pr(s,e);t&&(l([...s,t]),v(be(t)),k(o("widgets.addedName",{name:o(oe[e].label)})))}}),canvas:n.jsx(sr,{label:o("widgets.order"),items:s.map(e=>({item:e,module:e.id,id:be(e),size:e.size})),textValue:({item:e})=>o(oe[e.id].label),selectionMode:"single",selectedKeys:D?new Set([D]):new Set,onSelectionChange:e=>{"all"!==e&&v(String([...e][0]))},dragLabel:({item:e})=>o("widgets.drag",{name:o(oe[e.id].label)}),onPlace:(e,{target:t,after:r})=>{t&&(l(n=>{const o=function(e,t,r,n){if(t.has(r))return e;const o=e.filter(e=>!t.has(e)),i=o.indexOf(r);return i<0?e:(o.splice(i+("after"===n?1:0),0,...e.filter(e=>t.has(e))),o)}(n.map(be),new Set([e]),t,r?"after":"before");return o.flatMap(e=>n.find(t=>be(t)===e)??[])}),k(o("widgets.reordered")))},children:({item:e})=>n.jsx(se,{item:e,preview:!0})}),inspector:n.jsx(hr,{active:O,items:s,sizes:O?De(O.id,ve(O,"panel"),"panel"):[],surface:"panel",update:e=>l(t=>t.map(Ae(e))),move:e=>{O&&l(function(e,t,r){const n=e.findIndex(e=>be(e)===t),o=n+r;if(n<0||o<0||o>=e.length)return e;const i=[...e];return i.splice(o,0,...i.splice(n,1)),i}(s,be(O),e)),k(o("widgets.reordered"))},remove:()=>{O&&(e=>{const t=be(e);l(e=>e.filter(e=>be(e)!==t)),v(null),k(o("widgets.removed",{name:o(oe[e.id].label)}))})(O)}})}),n.jsx(C,{children:n.jsx("span",{role:"status",children:n.jsx("span",{children:x.text},x.serial)})})]}),n.jsx(U,{title:o("config.discardTitle"),isOpen:b,onCancel:()=>w(!1),confirmLabel:o("config.discard"),onConfirm:t,children:n.jsx("p",{children:o("widgets.discardHelp")})})]})}export{Or as DashboardActions,Kr as DashboardEditor,Sr as WidgetEditor}; diff --git a/assets/Editors-rPgk_VZK.css b/assets/Editors-rPgk_VZK.css new file mode 100644 index 00000000..30b3447c --- /dev/null +++ b/assets/Editors-rPgk_VZK.css @@ -0,0 +1 @@ +.rp-dashboard-body{display:contents}.rp-dashboard-tools{z-index:1;gap:var(--rp-space-2);border-radius:var(--rp-r-md);background:var(--rp-base);display:flex;position:absolute;inset-block-start:var(--rp-space-3);inset-inline-end:var(--rp-space-3)}.rp-dashboard-tools [slot=drag]{touch-action:none;cursor:grab}.rp-grip:before{content:"";inline-size:calc(var(--rp-space-1) / var(--rp-preview-scale,1));block-size:calc(var(--rp-space-6) / var(--rp-preview-scale,1));border-radius:var(--rp-r-pill);background:var(--rp-subtle);box-shadow:0 0 0 calc(var(--rp-space-half) / var(--rp-preview-scale,1)) var(--rp-base)}.rp-sortable-row{outline:none;min-inline-size:0;position:relative}.rp-sortable-row[data-focus-visible]{outline:none}.rp-sortable-row:is([data-focus-visible],[data-selected]):before{content:"";inset:calc(0px - var(--rp-sortable-gap,var(--rp-space-2)) - var(--rp-focus-width));border:var(--rp-focus-width) solid var(--rp-focus-color);pointer-events:none;position:absolute}.rp-sortable-grid{outline:none}.rp-sortable-row>[role=gridcell]{display:contents}.rp-sortable-grid[data-drop-target]{outline:2px dashed var(--rp-accent)}.rp-sortable-grid .rp-dashboard-tools{background:0 0;inset-block-start:calc(var(--rp-line-caption) / 2 - var(--rp-space-1));inset-inline-end:0;translate:0 -50%}.rp-sortable-grid .rp-widget-label{padding-inline-end:calc(var(--rp-control) + var(--rp-space-2))}.rp-sortable-row[data-module=divider] .rp-dashboard-tools{background:var(--rp-surface);padding-inline-start:var(--rp-space-1);inset-block-start:50%}.rp-widget-gallery-grid{gap:var(--rp-space-4);grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));display:grid}.rp-widget-gallery-tile{gap:var(--rp-space-3);min-inline-size:0;padding:var(--rp-space-4);border:1px solid var(--rp-line);border-radius:var(--rp-r-lg);flex-direction:column;display:flex}.rp-widget-gallery-tile>.rp-cluster{margin-block-start:auto}.rp-widget-gallery-tile[data-added]{background:var(--rp-fill);--rp-subtle:var(--rp-subtle-text)}.rp-widget-gallery-frame{pointer-events:none;block-size:200px;overflow:hidden;mask-image:linear-gradient(#000 80%,#0000)}.rp-widget-gallery-presets{align-items:flex-start;gap:var(--rp-space-3) var(--rp-preset-gap);flex-wrap:wrap;display:flex}.rp-widget-gallery-preset{gap:var(--rp-space-1);flex-direction:column;min-inline-size:0;display:flex}.rp-widget-gallery-thumb{position:relative;overflow:hidden}.rp-widget-gallery-thumb-card{transform-origin:0 0;pointer-events:none;container:rp-tile/inline-size}.rp-widget-gallery-thumb-card:dir(rtl){transform-origin:100% 0}.rp-widget-gallery-thumb-add{border-radius:var(--rp-r-lg);cursor:pointer;background:0 0;border:0;position:absolute;inset:0}.rp-widget-gallery-thumb-add[data-hovered]{outline:2px solid var(--rp-line);outline-offset:2px}.rp-widget-gallery-thumb-add[data-focus-visible]{outline:2px solid var(--rp-accent);outline-offset:2px}.rp-widget-gallery-thumb-add[data-disabled]{cursor:default;outline:none} diff --git a/assets/Events-Cz7XGkUG.js b/assets/Events-Cz7XGkUG.js new file mode 100644 index 00000000..4a62d0f3 --- /dev/null +++ b/assets/Events-Cz7XGkUG.js @@ -0,0 +1 @@ +import{r as e,j as t}from"./vendor-react-64fcanlc.js";import{a0 as s,a9 as n,ab as r,a8 as a,h as i,ag as o,u as l,au as d,at as c,r as u,ci as m,ai as p,aj as v,dZ as h,d_ as j,T as x,aE as f,B as b,c as g,cq as w,E as k}from"./index-C4UFgHia.js";import{e as y,T,K as C,p as N,L as _}from"./logs-j0cmmcZI.js";import{D as S}from"./Table-DotwWze-.js";import{d as W,e as H}from"./files-Dt8K7QfP.js";import{j as R,D as K}from"./activity-C22CeO5G.js";import{u as O,C as D}from"./Copy-ftx4Gb2m.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./Select-W-Xrx6y6.js";import"./ItemText-B5OxI5lS.js";import"./AppearanceControls-I4PvP9Es.js";import"./nodes-BXUOUiP2.js";import"./useGridSelectionCheckbox-D0fV1e0v.js";import"./Virtualizer-tkoH0e4V.js";import"./Checkbox-CUoHrzuV.js";const M={buffer_overflow:["event.gap.overflow","event.gapHelp.overflow"],evicted:["event.gap.evicted","event.gapHelp.evicted"]};function q(e,t){const s="flow.gap"===e.event&&Object.hasOwn(M,e.data.reason)?M[e.data.reason]:void 0;return s&&{title:t(s[0]),text:t(s[1])}}function E(e,t,s){const n=e=>e?[{id:"flow",label:t("event.viewFlow"),href:i("flows",{tab:"records",id:e})}]:[];switch(e.event){case"flow.updated":return n(e.data.resource_id);case"flow.gap":return[...n(e.data.resource_id),...s?.runtime_settings.available?[{id:"recording",label:t("ui.recordingSettings"),href:R}]:[]];case"generation.changed":return s?.config.available?[{id:"config",label:t("event.viewConfig"),href:i("config")}]:[];default:return[]}}const F=new WeakMap;function J(e,t,i,o,l,d,c,u,m=!1,p=()=>!1,v){const h="without-runtime"===t||u.includes(t)?t:"all",j=e.filter(e=>"all"===h||("without-runtime"===h?"runtime.updated"!==e.event:e.event===h)).slice(0,l);return{kind:h,rows:j.map(e=>function(e,t,i,o,l){const d=F.get(e);if(d&&d.locale===t&&d.resources===l)return d.row;const c=o?{key:"event.lostHistory"}:r(e,i),u={id:y(e),timestamp:a(e.data.observed_at,t),iso:e.data.observed_at,kind:e.event,kindText:s(n,e.event,i),summary:i(c.key,c.params),help:q(e,i),links:E(e,i,l),event:e};return F.set(e,{locale:t,resources:l,row:u}),u}(e,d,c,p(e),v)),kinds:[{id:"without-runtime",label:c("event.withoutRuntime")},{id:"all",label:c("event.allKinds")},...u.map(e=>({id:e,label:s(n,e,c)}))],status:m&&!1!==o?{tone:"err",text:c("event.disconnected")}:{tone:i?"ok":null===o?"muted":"warn",text:c(!1===o?"event.unavailable":i?"event.connected":null===o?"ui.loading":"event.reconnecting")},limitText:c("event.limit",{n:l}),shown:j}}function L(){const t=o(),s=l(),n=d[c()],r=u(),a=r.data?.resources,i=a?.events.kinds,[x,f]=e.useState("without-runtime"),b="all"!==x&&"runtime.updated"!==x&&i?.includes(x),g=T("without-runtime"!==x&&!b),w=e.useMemo(()=>J(g.events,x,g.connected,g.available,j,n,s,i??[],!!g.error,h,a),[g.events,x,g.connected,g.available,g.error,n,s,i,a]);return m(w.kind,f),{...w,setKind:f,cursor:g.cursor,error:g.error,retry:()=>{p().then(()=>v(t))},loading:!g.error&&!g.connected&&!1!==g.available&&!g.events.length,export:()=>{return W(H("doona-events","json"),(e=w.shown,JSON.stringify(e,null,2)+"\n"),"application/json");var e}}}function P(){const s=l(),n=L(),r=O(),a=e.useMemo(()=>[{id:"t",label:s("ui.time"),minWidth:212,grow:0,drop:1,render:e=>t.jsx(x,{className:"rp-code",text:e.iso,children:e.timestamp})},{id:"k",label:s("event.kind"),minWidth:224,drop:2,render:e=>t.jsx(x,{text:e.kind,children:e.kindText})},{id:"m",label:s("event.summary"),minWidth:176,isRowHeader:!0,render:e=>t.jsx(f,{fill:!0,help:e.help,children:t.jsx(x,{children:e.summary})})},{id:"actions",actions:!0,label:s("ui.actions"),hideLabel:!0,minWidth:64,grow:0,render:e=>t.jsx(b,{small:!0,quiet:!0,icon:!0,label:s("ui.copyRecord"),onPress:()=>{r((e=>JSON.stringify(e,null,2))(e.event))},children:t.jsx(D,{})})}],[s,r]),i=e.useCallback(e=>t.jsxs(t.Fragment,{children:[t.jsx(C,{inline:!0,items:[[s("ui.time"),e.timestamp],[s("event.kind"),e.kindText],[s("event.summary"),e.summary]]}),e.links.length>0&&t.jsx("div",{className:"rp-cluster",children:e.links.map(e=>t.jsx(g,{appearance:"button",href:e.href,children:e.label},e.id))})]}),[s]);return t.jsxs("div",{className:"rp-page",children:[t.jsxs(w,{page:!0,children:[t.jsx(N,{label:s("event.kind"),side:!0,value:n.kind,onChange:n.setKind,items:n.kinds}),t.jsx(_,{small:!0,tone:n.status.tone,children:n.status.text}),n.cursor&&t.jsx(x,{text:n.cursor,children:t.jsx("span",{className:"rp-label",children:s("event.cursor")})}),t.jsx("span",{className:"rp-label",children:n.limitText}),t.jsx("span",{className:"rp-grow"}),t.jsxs(b,{isDisabled:!n.rows.length,onPress:n.export,children:[t.jsx(K,{}),s("event.export")]})]}),n.error&&t.jsx(k,{error:n.error,onRetry:n.retry}),t.jsx(S,{label:s("nav.events"),stream:!0,flow:!0,loading:n.loading,rows:n.rows,empty:s("event.empty"),cols:a,detail:i})]})}export{P as Events}; diff --git a/assets/FlagPicker-DkMTBjLE.js b/assets/FlagPicker-DkMTBjLE.js new file mode 100644 index 00000000..00f9ef24 --- /dev/null +++ b/assets/FlagPicker-DkMTBjLE.js @@ -0,0 +1 @@ +import{r as e,j as a}from"./vendor-react-64fcanlc.js";import{u as s,at as t,cR as l,au as o,dM as i,bb as n,B as r}from"./index-C4UFgHia.js";import{S as c}from"./SearchSelect-CSXz7lhe.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./Select-W-Xrx6y6.js";import"./ItemText-B5OxI5lS.js";import"./SearchList-D75Ie4nx.js";import"./Virtualizer-tkoH0e4V.js";function m({name:n,value:r,automaticFlag:m,onChange:d}){const f=s(),g=t(),p=e.useMemo(()=>l(o[g]),[g]),j=i(n),u=p.find(e=>e.flag===m),h=u?f("flags.detected",{region:u.label}):f("flags.automatic");return a.jsx("div",{className:"rp-list",children:a.jsx(c,{label:f("flags.region"),description:f(j?"flags.embedded":"flags.help"),isDisabled:j,searchLabel:f("flags.search"),value:j?"automatic":r,onChange:d,sections:[{id:"flags",items:[{id:"automatic",label:h,flag:m},{id:"none",label:f("flags.none"),flag:null},...p]}]})})}function d({name:e,onClose:t,...l}){const o=s();return a.jsxs(n,{narrow:!0,title:o("flags.edit"),isOpen:!0,onOpenChange:e=>{e||t()},footer:()=>a.jsx(r,{onPress:t,children:o("ui.close")}),children:[a.jsx("p",{className:"rp-note",children:e}),a.jsx(m,{name:e,...l})]})}export{m as FlagField,d as FlagPicker}; diff --git a/assets/Flows-CFNotQUH.css b/assets/Flows-CFNotQUH.css new file mode 100644 index 00000000..3d1a1df0 --- /dev/null +++ b/assets/Flows-CFNotQUH.css @@ -0,0 +1 @@ +.rp-topology{min-width:0;overflow:hidden}.rp-tree{gap:var(--rp-space-2);overscroll-behavior-x:contain;flex-direction:column;min-width:0;display:flex;overflow-x:auto}.rp-tree-hint{color:var(--rp-subtle);font-size:var(--rp-text-xs);line-height:var(--rp-line-caption);display:none}@media (width<=599.98px){.rp-tree-hint{display:block}}.rp-tree-captions{height:16px;position:relative}.rp-tree-captions>.rp-label{text-transform:uppercase;letter-spacing:.04em;white-space:nowrap;position:absolute;top:0}.rp-tree-canvas{position:relative}.rp-tree-links{pointer-events:none;fill:none;stroke:var(--rp-muted);stroke-linecap:round;position:absolute;inset:0;overflow:visible}.rp-tree-links path{opacity:.55;transition:opacity var(--rp-duration) var(--rp-ease)}.rp-tree-links path[data-kind=direct]{stroke:var(--rp-positive)}.rp-tree-links path[data-kind=block]{stroke:var(--rp-negative)}.rp-tree-links path[data-kind=group]{stroke:var(--rp-iris)}.rp-tree-links path[data-kind=node]{stroke:var(--rp-accent)}.rp-tree-links path[data-state=active]{opacity:1}.rp-tree-links path[data-state=dim]{opacity:.1}.rp-tree-tile{box-sizing:border-box;align-items:center;gap:var(--rp-space-2);height:36px;padding:0 var(--rp-space-2h);border-radius:var(--rp-r-md);background:var(--rp-overlay);color:var(--rp-text);font:inherit;font-size:var(--rp-text-sm);text-align:start;cursor:pointer;border:2px solid #0000;line-height:16px;display:flex;position:absolute}.rp-tree-tile.dim{opacity:.35}.rp-tree-tile[data-hovered]{background:var(--rp-hl-med)}.rp-tree-tile[data-selected]{border-color:var(--rp-accent);background:var(--rp-selected)}.rp-tree-tile[data-focus-visible]{outline:var(--rp-focus-width) solid var(--rp-focus-color);outline-offset:calc(-1 * var(--rp-focus-width));border-color:#0000}.rp-tree-tile .l{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.rp-tree-tile[data-stage=rule] .l{font-family:var(--rp-font-mono);font-size:var(--rp-text-xs);font-variant-ligatures:none}.rp-tree-tile .s{font-size:var(--rp-text-xs);color:var(--rp-subtle);margin-inline-start:var(--rp-space-2)}.rp-tree-tile .s.ok{color:var(--rp-positive-text)}.rp-tree-tile .s.warn{color:var(--rp-notice-text)}.rp-tree-tile .s.err{color:var(--rp-negative-text)}.rp-tree-tile .c{font-variant-numeric:tabular-nums;color:var(--rp-subtle);flex:none;font-weight:700}.rp-cell-wrap>.rp-rule{row-gap:var(--rp-space-1);flex-wrap:wrap}.rp-cell-wrap>.rp-rule>.rp-truncate{white-space:normal;overflow-wrap:anywhere}.rp-table-cards{overscroll-behavior:contain;outline:none;overflow:auto}.rp-table-cards .rp-cardview-card[data-focus-visible]{outline-offset:calc(var(--rp-focus-width) * -1)}.rp-table-cards .rp-truncate{white-space:normal;overflow-wrap:anywhere}.rp-table-cards :is(.rp-rule,.rp-chain){flex-wrap:wrap}.rp-table-cards .rp-rule>span{white-space:normal} diff --git a/assets/Flows-CWq91DGu.js b/assets/Flows-CWq91DGu.js new file mode 100644 index 00000000..bd810830 --- /dev/null +++ b/assets/Flows-CWq91DGu.js @@ -0,0 +1 @@ +import{r as e,j as t}from"./vendor-react-64fcanlc.js";import{N as n,O as a}from"./NodePath-CW8z1Niq.js";import{l as o,s,B as r,c as l,g as i,K as d,R as u,S as c,p}from"./logs-j0cmmcZI.js";import{ad as m,X as f,aa as g,U as w,Q as h,cs as b,ck as j,cm as x,w as v,cc as y,a0 as k,ce as _,cf as M,au as N,a8 as S,h as L,b4 as C,o as T,af as P,a4 as O,u as R,at as F,j as H,B as q,N as E,bd as $,r as W,t as D,b9 as I,ch as A,ba as B,cj as U,S as V,am as K,aO as Q,E as z,T as G,cq as J,aL as X,c as Y,bH as Z,C as ee}from"./index-C4UFgHia.js";import{h as te,f as ne,i as ae,o as oe,j as se,r as re}from"./activity-C22CeO5G.js";import{w as le}from"./labels-D8xxfRTQ.js";import{c as ie,C as de}from"./Coverage-BhgtC9t6.js";import{T as ue}from"./Tabs-Kfe2CfSx.js";import{s as ce,D as pe}from"./Table-DotwWze-.js";import{T as me}from"./TimeCell-xtED_iww.js";import{a as fe,u as ge,b as we}from"./flows-BfIUsgdd.js";import{u as he}from"./outbounds-CJznbPkH.js";import{u as be,Q as je,R as xe}from"./useQuickRule-D86TFC6s.js";import{$ as ve}from"./GridList-Cq8h6RdG.js";import{$ as ye,a as ke}from"./Virtualizer-tkoH0e4V.js";import{C as _e}from"./CardView-f0UIkdtH.js";import"./_commonjsHelpers-CXUWDbkB.js";import"./Tag-DE8n6iTZ.js";import"./Select-W-Xrx6y6.js";import"./ItemText-B5OxI5lS.js";import"./AppearanceControls-I4PvP9Es.js";import"./nodes-BXUOUiP2.js";import"./useGridSelectionCheckbox-D0fV1e0v.js";import"./Checkbox-CUoHrzuV.js";import"./DaeCode-DEjXqvav.js";import"./daeTokens-BVtuNnWZ.js";import"./AddCircle-qKwVDZ__.js";import"./SearchSelect-CSXz7lhe.js";import"./SearchList-D75Ie4nx.js";import"./BackendText-CxshqKrW.js";import"./rule-ljMHmFs3.js";const Me=["client","rule","outbound","node"];function Ne(e,t){if(e.rule_id)return null!==e.rule_generation_id&&e.rule_generation_id===t?e.rule_id:e.rule_id+"\0"+e.rule_expression}function Se(e,t,n,a){switch(t){case"client":{const t=f(e.input?.src??void 0);return{label:t??"unknown",unknown:!t}}case"rule":return e.rule_expression?{label:e.rule_expression,unknown:!1,key:Ne(e,a)}:{label:"unknown",unknown:!0};case"outbound":return e.outbound?{label:e.outbound,unknown:!1}:{label:"unknown",unknown:!0};case"node":{if(m(e.outbound))return null;const t=e.chain.at(-1)??null;return t?{label:n.get(t)??t,unknown:!1,key:t}:{label:"unknown",unknown:!0}}}}const Le=(e,t)=>ne(e,t.unknown?"":t.key??t.label),Ce=e=>te(e,Me)?.kind,Te=new Map;function Pe(e,t,n){const a=Ce(t);return a?e.filter(e=>{const o=Se(e,a,Te,n?.generation_id);return null!==o&&Le(a,o)===t}):[]}function Oe(e,t,n,a){const o=te(e,Me);if(!o||""===o.value)return a(null);const{kind:s,value:r}=o;return"rule"===s?r.includes("\0")?r.slice(r.indexOf("\0")+1):t.find(e=>e.rule_id===r)?.expression??r:"node"===s?n.get(r)??r:"client"===s?r:a(r)}function Re(e,t,n,a,o="rule"){const s=(e=>new Map(e.map(e=>[e.id,e.name])))(n),r=new Map(t.map(e=>[e.id,e])),l=new Map(t.map(e=>[e.name,e])),i=new Map(n.map(e=>[e.id,e])),d=new Map,u=new Map,c=new Map,p=new Map,f=(e,t)=>{const n=e+">"+t;let a=p.get(n);return a||p.set(n,a={source:e,target:t,count:0}),a},b=(e,t,n=!1)=>{const a=Le("node",{key:e,label:t,unknown:n});let o=c.get(a);if(!o){const s=n?void 0:i.get(e),r=s&&w(s);c.set(a,o={id:a,label:t,count:0,unknown:n||void 0,latency:h(r),unavailable:"unavailable"===r?.state})}return o},j=(e,t=!1)=>{const n=Le("outbound",{label:e,unknown:t});let a=u.get(n);if(a)return a;const o=t?void 0:l.get(e),d=t?{groups:[],member:null}:g(e,o?.selection.tcp_member_id?"tcp":"udp",l,r,i),c=d.groups.map(e=>({name:e.name,kind:e.policy.kind,policy:e.policy.native})),p=d.member;return a={id:n,label:e,count:0,unknown:t||void 0,kind:t?"unknown":m(e)?e:c.length?"group":"unknown",groups:c,node:p&&b(p,s.get(p)??p).id},u.set(n,a),a.node&&f(n,a.node),a},x=(e,t,n=!1)=>{let a=d.get(e);return a||d.set(e,a={id:e,label:t,count:0,unknown:n||void 0,outbound:null,must:!1}),a};if("rule"===o)for(const m of a?.rules??[]){const e=x(Le("rule",{key:m.rule_id,label:m.expression}),m.expression);e.must=m.must,m.outbound&&(e.outbound=j(m.outbound).id,f(e.id,e.outbound))}const v=[o,"outbound","node"];for(const m of e){let e;for(const t of v){const n=Se(m,t,s,a?.generation_id);if(!n)break;const o="outbound"===t?j(n.label,n.unknown):"node"===t?b(n.key??n.label,n.label,n.unknown):x(Le(t,n),n.label,n.unknown);o.count++,e&&f(e.id,o.id).count++,e=o}}for(const m of t)j(m.name);const y=new Set([...d.values()].map(e=>e.outbound)),k=new Set([...u.values()].flatMap(e=>e.groups.slice(1).map(e=>e.name))),_=[...u.values()].filter(e=>e.count||y.has(e.id)||!k.has(e.label)),M=new Set(_.map(e=>e.id)),N=[...p.values()].filter(e=>M.has(e.source)||M.has(e.target)),S=new Set(N.map(e=>e.target));return{by:o,leaves:[...d.values()],outbounds:_,nodes:[...c.values()].filter(e=>S.has(e.id)),links:N}}const Fe=new WeakMap;function He(e){const t=Fe.get(e);if(t)return t;const n=new Map,a=new Map,o=new Map;for(const l of e.links){for(const[e,t]of[[n,l.source],[a,l.target]]){let n=e.get(t);n||e.set(t,n=[]),n.push(l)}(!o.has(l.source)||o.get(l.source).countnull==e?"—":{key:e?"ui.yes":"ui.no"},We=e=>e?[["ui.error",e]]:[];function De(e,t,n,a,o,s){return{tree:e,state:t?e.leaves.length||e.outbounds.length?"ready":"empty":n?"error":"loading",pinLabel:a?s("flow.viewPinned",{n:o}):null}}const Ie={input:"flow.stage.input",route:"flow.stage.route",dial_mode:"flow.stage.dialMode",dns:"nav.dns",outbound:"ui.outbound",connection:"flow.stage.connection",datapath:"ov.datapath",reroute:"flow.stage.reroute"},Ae={complete:"flow.status.complete",partial:"flow.status.partial",disabled:"flow.status.disabled"};function Be(e,t,n,a){if(!e)return null;const o=N[n];return{title:e.input.domain||e.input.dst||e.id,status:k(Ae,e.trace.status,t),tone:"complete"===e.trace.status?void 0:"warn",revision:t("flow.revision",{n:e.revision}),fields:[[t("ui.state"),k(y,e.state,t)],...a?[[t("nodes.node"),a.path??a.node]]:[],...a?.expression?[[t("ui.rule"),a.expression]]:[],...e.trace.missing.length?[[t("flow.missing"),C(n,e.trace.missing.map(e=>k(qe,e,t)))]]:[]],connectionHref:e.connection_id?L("connections",{id:e.connection_id}):null,steps:[...e.trace.steps].sort((e,t)=>e.seq-t.seq).map(e=>{const n=function(e){const t=e=>null==e?"—":"object"==typeof e?JSON.stringify(e):String(e);switch(e.stage){case"input":return Object.entries(e.data.values).filter(([,e])=>null!=e&&""!==e).map(([e,n])=>{const a=Ee[e];return[void 0!==a&&a.includes(".")?a:{key:"flow.f.input",params:{name:a??e}},"string"!=typeof n||"ingress"!==e&&"domain_source"!==e?t(n):le(n)]});case"route":return[["conn.chain",e.data.chain],["flow.f.plane",le(e.data.plane)],["ui.rule",e.data.rules.filter(e=>"matched"===e.result).map(e=>e.expression??e.rule_id).join(", ")||"—"],["ui.outbound",t(e.data.outbound)],["flow.f.must",$e(e.data.must)]];case"dial_mode":return[["flow.f.dialTarget",e.data.configured+" → "+e.data.effective_target],["flow.f.verification",le(e.data.verification)]];case"dns":return[["ui.name",e.data.name],["rule.dns.kind.qtype",e.data.qtype],["ui.source",le(e.data.source)],["ui.cache",le(e.data.cache)],["ui.upstream",t(e.data.upstream)],["flow.f.selectedIp",t(e.data.selected_ip)],["ui.state",e.data.status],...We(e.data.error)];case"outbound":return[["ui.outbound",t(e.data.routed_outbound)+" → "+t(e.data.effective_outbound)],["flow.f.selectionPath",e.data.selection_path.map(e=>e.group_id+" → "+t(e.member_name??e.member_id)).join(" / ")||"—"],["flow.f.leafNode",t(e.data.leaf_node_id)],["ui.target",t(e.data.target)],["ui.state",le(e.data.status)],...We(e.data.error)];case"connection":return[["ui.state",Object.hasOwn(y,e.data.state)?{key:y[e.data.state]}:e.data.state],["flow.f.milestone",le(e.data.milestone)],["flow.f.reason",le(e.data.reason)],...We(e.data.error)];case"datapath":return[["flow.f.plane",le(e.data.plane)],["flow.f.action",le(e.data.action)],["flow.f.reason",le(e.data.reason)],...We(e.data.error)];case"reroute":return[["flow.f.performed",$e(e.data.performed)],["flow.f.reason",le(e.data.reason)]];default:return null}}(e);return{id:e.seq,stage:k(Ie,e.stage,t),observed:S(e.observed_at,o),elapsed:null==e.elapsed_us?"—":t("ui.microseconds",{n:e.elapsed_us}),fields:n?.map(([e,n])=>["string"==typeof e?t(e):t(e.key,e.params),"string"==typeof n?n:t(n.key,n.params)])??null,raw:n?"":JSON.stringify(e.data,null,2)}})}}const Ue=30,Ve=[5,4,3],Ke={rule:0,client:0,outbound:1,node:2};function Qe(e,t,n,a){const s=null===t?void 0:Math.max(t,720),r=((s??0)-112)/Ve.reduce((e,t)=>e+t),l=e=>{const t=Ke[e];return{left:Ve.slice(0,t).reduce((e,t)=>e+t*r+56,0),width:Ve[t]*r}},i=function(e){const t=new Map;let n=0;const a=new Map,{parents:o}=He(e);for(const l of[...e.leaves,...e.outbounds]){const e=o.get(l.id);if(e){let t=a.get(e);t||a.set(e,t=[]),t.push(l.id)}}const s=e=>{const o=a.get(e)??[];if(o.length){for(const e of o)s(e);t.set(e,(t.get(o[0])+t.get(o[o.length-1]))/2)}else t.set(e,n++)},r=new Set;for(const l of e.outbounds)r.add(o.get(l.id)??l.id);for(const l of e.nodes)r.add(l.id);for(const l of e.leaves)o.has(l.id)||r.add(l.id);for(const l of r)s(l);return{rows:n,at:t}}(e),d=function(e,t,n){const a=(e,n)=>e.unknown?t("ui.unknown"):n,s=[...e.leaves.map(t=>({id:t.id,stage:e.by,name:a(t,t.label),badge:t.must?"must":void 0,notes:[],count:t.count})),...e.outbounds.map(e=>({id:e.id,stage:"outbound",name:a(e,T(e.label,t)),notes:[...e.groups.slice(1).map(e=>({text:"› "+e.name})),...e.groups.slice(-1).map(e=>({text:ae({kind:e.kind,native:e.policy},t).label})),..."group"!==e.kind||e.node?[]:[{text:t("flow.treeNoNode")}]],count:e.count})),...e.nodes.map(e=>({id:e.id,stage:"node",name:a(e,e.label),notes:null!=e.latency?[{text:P(e.latency,t),tone:o(e.latency)}]:e.unavailable?[{text:t("ui.unavailable"),tone:"err"}]:[],count:e.count}))],r=new Map(s.map(e=>[e.id,e.name])),{outgoing:l,incoming:i}=He(e);return s.map(e=>{const a=(l.get(e.id)??[]).map(e=>r.get(e.target)),o="node"===e.stage?(i.get(e.id)??[]).map(e=>r.get(e.source)):[],s=[e.name,...e.badge?[e.badge]:[],...e.notes.map(e=>e.text),t("flow.treeFlows",{n:e.count})];return o.length&&s.push(t("flow.treeFrom",{names:C(n,o)})),a.length&&s.push(t("flow.treeTo",{names:C(n,a)})),{...e,countText:O(e.count,N[n]),label:s.join(t("ui.separator"))}})}(e,n,a).map(e=>({view:e,style:{top:44*i.at.get(e.id),...l(e.stage)}})),u=new Map(e.outbounds.map(e=>[e.id,e])),c=e.links.flatMap(t=>{if(!i.at.has(t.source)||!i.at.has(t.target))return[];const n="outbound"===Ce(t.source)?"outbound":e.by,a=l(n),o=a.left+a.width,s=l("outbound"===n?"node":"outbound").left,r=44*i.at.get(t.source)+18,d=44*i.at.get(t.target)+18,c=(o+s)/2;return[{link:t,id:t.source+">"+t.target,path:`M${o},${r} C${c},${r} ${c},${d} ${s},${d}`,width:Math.min(8,1.5+1.25*Math.log2(1+t.count)),dash:t.count?void 0:"4 4",kind:"outbound"===n?"node":u.get(t.target)?.kind??"group"}]});return{width:s,height:44*i.rows-8,captions:[{stage:e.by,label:n("rule"===e.by?"ui.rule":"ui.device"),style:l(e.by)},{stage:"outbound",label:n("ui.outbound"),style:l("outbound")},{stage:"node",label:n("nodes.node"),style:l("node")}],placed:d,geometry:c}}function ze(t,n,a){const o=R(),s=F(),[r,l]=e.useState(Ue),[i,d]=e.useState(null),[u,c]=H(),p=e.useMemo(()=>He(t),[t]),m=e.useMemo(()=>function(e,t){return e.leaves.length<=t?e:{...e,leaves:e.leaves.slice(0,t)}}(t,r),[t,r]),f=e.useMemo(()=>Qe(m,c,o,s),[m,c,o,s]),g=e.useMemo(()=>new Set(f.placed.map(e=>e.view.id)),[f.placed]),w=e.useMemo(()=>new Set([...t.leaves,...t.outbounds,...t.nodes].map(e=>e.id)),[t]),h=i&&g.has(i)?i:n&&w.has(n)?n:null,b=e.useMemo(()=>h?function(e,t){const n=new Set([t]),a=new Set;for(const[o,s]of[[e.outgoing,"target"],[e.incoming,"source"]]){const e=[t];for(const t of e)for(const r of o.get(t)??[])a.has(r)||(a.add(r),n.has(r[s])||(n.add(r[s]),e.push(r[s])))}return{items:n,edges:a}}(p,h):null,[p,h]);e.useEffect(()=>{if(!n)return;const e=e=>{"Escape"===e.key&&a(null)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[n,a]);const j=e.useRef(n);e.useLayoutEffect(()=>{j.current=n},[n]);const x=e.useCallback(e=>a(j.current===e?null:e),[a]);return{...f,ref:u,ready:void 0!==f.width,active:b,pinned:n,pin:x,hover:d,more:t.leaves.length>r?o("flow.treeShowMore",{n:Math.min(Ue,t.leaves.length-r)}):null,fewer:r>Ue?o("flow.treeFewer",{n:Ue}):null,showMore:()=>l(e=>Math.min(t.leaves.length,e+Ue)),showFewer:()=>l(Ue)}}const Ge=e.memo(function({view:e,style:n,dim:a,selected:o,pin:l,hover:i}){return t.jsxs(s,{"aria-label":e.label,className:$("rp-tree-tile",a&&"dim"),"data-id":e.id,"data-stage":e.stage,style:n,isSelected:o,onChange:()=>l(e.id),onHoverStart:()=>i(e.id),onHoverEnd:()=>i(null),onFocus:()=>i(e.id),onBlur:()=>i(null),children:[t.jsxs("span",{className:"l",children:["node"===e.stage?t.jsx("b",{children:t.jsx(E,{name:e.name})}):"rule"===e.stage||"client"===e.stage?e.name:t.jsx("b",{children:e.name}),e.notes.map((e,n)=>t.jsx("span",{className:$("s",e.tone),children:e.text},n))]}),e.badge&&t.jsx(r,{children:e.badge}),t.jsx("span",{className:"c",children:e.countText})]})});function Je({tree:e,pinned:n,onPin:a}){const{ref:o,...s}=ze(e,n,a);return t.jsxs("div",{className:"rp-tree",ref:o,children:[t.jsx("div",{className:"rp-tree-captions",style:{width:s.width},children:s.captions.map(e=>t.jsx("span",{className:"rp-label",style:e.style,children:e.label},e.stage))}),t.jsxs("div",{className:"rp-tree-canvas",style:{height:s.height,width:s.width},children:[s.ready&&t.jsx("svg",{className:"rp-tree-links",width:s.width,height:s.height,"aria-hidden":!0,children:s.geometry.map(e=>t.jsx("path",{d:e.path,strokeWidth:e.width,"data-kind":e.kind,"data-state":s.active?s.active.edges.has(e.link)?"active":"dim":void 0,strokeDasharray:e.dash},e.id))}),s.ready&&s.placed.map(({view:e,style:n})=>t.jsx(Ge,{view:e,style:n,dim:!!s.active&&!s.active.items.has(e.id),selected:s.pinned===e.id,pin:s.pin,hover:s.hover},e.id))]}),s.more&&t.jsx(q,{small:!0,quiet:!0,onPress:s.showMore,children:s.more}),s.fewer&&t.jsx(q,{small:!0,quiet:!0,onPress:s.showFewer,children:s.fewer})]})}function Xe({go:t,query:n}){const a=R(),o=F(),s=I(A),r=I(B),i=e.useMemo(()=>new URLSearchParams(n),[n]),d=i.get("network"),u="tcp"===d||"udp"===d?d:"all",c=i.get("state")??"",p=Object.hasOwn(y,c)?c:"all",g=i.get("connection_id")??void 0,w=W().data?.resources,h=fe({connection_id:g,network:u,state:p},D(w,"flows",{whileLoading:!0})),b=D(w,"rules",{whileLoading:!1}),j=ge(b),x=he(),N=i.get("id"),S=we(N),L=i.get("path"),C=e.useMemo(()=>{const e=h.data?.flows??[];return L?Pe(e,L,j.data):e},[h.data,L,j.data]),P=j.data?.generation_id,O=e.useMemo(()=>function(e,t,n,a,o,s){return{rows:e.map(e=>({id:e.id,target:e.input?.domain||e.input?.dst||e.id,node:M(e,o,a),nodeName:!m(e.outbound)&&e.chain.length>0,path:_(e,o,a),expression:e.rule_expression,ruleId:null!==e.rule_generation_id&&e.rule_generation_id===n?e.rule_id:null,recomputed:"recomputed"===e.rule_source,network:e.network.toUpperCase(),state:k(y,e.state,o),startedAt:e.started_at,seed:{domain:e.input?.domain??null,dip:f(e.input?.dst??void 0)??null,sip:f(e.input?.src??void 0)??null,outbound:e.outbound,matched:e.rule_id&&"unknown"!==e.rule_source?{id:e.rule_id,expression:e.rule_expression,generation:e.rule_generation_id}:null}})),coverage:t?ie(t,o,s):null,stateOptions:[{id:"all",label:o("flow.allStates")},...Object.entries(y).map(([e,t])=>({id:e,label:o(t)}))]}}(C,h.data,P,x,a,o),[C,h.data,P,x,a,o]),H=O.rows.find(e=>e.id===N),q=l(D(w,"groups",{whileLoading:!1})).data,E=e.useMemo(()=>{const e=Be(S.data??void 0,a,o,H);return e&&{...e,outboundTag:oe(S.data.outbound,q,a)}},[S.data,a,o,H,q]),$=be(t);return{...O,detail:E,rule:{canAdd:$.canAdd,open:$.open,label:e=>a("conn.addRuleFor",{target:e}),noTarget:a("flow.ruleNoTarget"),dialog:$.dialog},network:u,setNetwork:e=>t("flows",v(n,{network:"all"===e?null:e})),state:p,setState:e=>t("flows",v(n,{state:"all"===e?null:e})),wide:s,phone:r,id:N,rulesListed:b,error:h.error,retry:h.refetch,loading:h.loading&&!h.data,panelOpen:!!N&&(!!S.data||S.loading||!!S.error),panelTitle:E?.title??N??"",detailError:S.error,detailRetry:S.refetch,detailLoading:!S.data&&S.loading,select:e=>t("flows",v(n,{id:e}),{replace:null!==N}),pinLabel:L?a("flow.mapFilter",{label:Oe(L,j.data?.rules??[],x,e=>null===e?a("ui.unknown"):T(e,a))}):null,clearPin:()=>t("flows",v(n,{path:null})),connectionLabel:g?a("flow.connectionFilter",{connectionId:g}):null,clearConnection:()=>t("flows",v(n,{connection_id:null})),recordingHref:w?.runtime_settings.available?se:null}}function Ye({go:e,query:t}){const n=R(),a=W(),o=function(e,t,n){const a=b(e).map(e=>({id:e.id,label:n(e.titleKey)})),o=a[0]?.id??"map";return{tabs:a,tab:j(t,a.map(e=>e.id),o),fallback:e?o:null}}(a.data?.resources,t,n);return U(a.data?.resources),{...o,loading:a.loading&&!a.data,error:a.error,retry:a.refetch,changeTab:n=>e("flows",function(e,t,n){return x(v(e,"map"===t?{id:null,connection_id:null}:{by:null}),t,n)}(t,n,o.fallback))}}function Ze({label:n,cols:a,rows:o,getTextValue:s,height:r=442,selected:l,onSelect:i,loading:d,empty:u}){const c=R(),p=e.useMemo(()=>l?new Set([l]):new Set,[l]);return d&&!o.length?t.jsx(V,{shape:"cards",count:2,height:196}):t.jsx(ye,{layout:ke,layoutOptions:{estimatedRowSize:196,gap:8},children:t.jsx(ve,{className:"rp-table-cards","aria-label":n,items:o,dependencies:[a],style:{maxHeight:r},selectionMode:i?"single":"none",selectionBehavior:"toggle",selectedKeys:p,onSelectionChange:e=>i?.(ce(e)),renderEmptyState:()=>t.jsx(K,{children:u??c("ui.empty")}),children:e=>t.jsx(et,{row:e,cols:a,title:s(e)})})})}function et({row:e,cols:n,title:a}){const o=n.find(e=>e.isRowHeader)??n[0],s=n.find(e=>e.actions),r=n.filter(e=>e!==o&&e!==s);return t.jsx(_e,{id:e.id,title:a,actions:s?.render(e),children:t.jsx(d,{items:r.map(t=>({label:t.label,value:t.render(e),wide:t.wide}))})})}function tt(e){const n=R(),a=Ye(e),o={map:t.jsx(nt,{...e}),records:t.jsx(at,{...e})};return a.loading?t.jsx(Q,{}):a.error?t.jsx(z,{error:a.error,onRetry:a.retry}):t.jsx("div",{className:"rp-page",children:t.jsx(ue,{page:!0,label:n("nav.flows"),items:a.tabs.map(e=>({...e,content:o[e.id]})),value:a.tab,onChange:a.changeTab})})}function nt(n){const a=R(),o=function({go:t,query:n}){const a=R(),o=new URLSearchParams(n),s=W().data?.resources,r=fe({},D(s,"flows",{whileLoading:!0})),d=l(D(s,"groups",{whileLoading:!1})),u=i(D(s,"nodes",{whileLoading:!1})),c=ge(D(s,"rules",{whileLoading:!1})),p="client"===o.get("by")?"client":"rule",m=e.useMemo(()=>Re(r.data?.flows??[],d.data??[],u.data??[],c.data,p),[r.data,d.data,u.data,c.data,p]),f=o.get("path"),g=e.useRef(n);e.useLayoutEffect(()=>{g.current=n},[n]);const w=e.useCallback(e=>t("flows",v(g.current,{path:e})),[t]),h=e.useMemo(()=>f?Pe(r.data?.flows??[],f,c.data).length:0,[r.data,f,c.data]);return{...De(m,[r,c,d,u].every(e=>void 0!==e.data||e.error||!e.loading)&&!!(r.data||c.data||d.data),!!r.error,f,h,a),by:p,pinned:f,error:r.error??d.error??u.error??c.error,retry:()=>{r.refetch(),d.refetch(),u.refetch(),c.refetch()},pin:w,changeBy:e=>t("flows",v(n,{by:"client"===e?"client":null,path:null})),viewPinned:()=>t("flows",v(n,{tab:"records"}))}}(n);return t.jsxs("section",{className:"rp-col","aria-label":a("flow.map"),children:[t.jsxs(J,{page:!0,children:[o.pinLabel?t.jsx(q,{onPress:o.viewPinned,children:o.pinLabel}):t.jsx("span",{className:"rp-label",children:a("flow.mapFilterHint")}),t.jsx("span",{className:"rp-grow"}),t.jsx(q,{quiet:!0,isDisabled:!o.pinLabel,onPress:()=>o.pin(null),children:a("flow.clearMapFilter")})]}),t.jsx(z,{error:o.error,onRetry:o.retry}),t.jsxs(ee,{title:a("flow.topology"),note:a("flow.topologyNote"),className:"rp-topology",aside:t.jsx(c,{label:a("flow.topology"),value:o.by,onChange:o.changeBy,items:[["rule",a("flow.byRule")],["client",a("conn.byClient")]]}),children:["loading"===o.state&&t.jsx(V,{shape:"block",height:480,typical:!0}),"empty"===o.state&&t.jsx(K,{children:a("flow.mapEmpty")}),"ready"===o.state&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"rp-tree-hint",children:a("flow.treePanHint")}),t.jsx(Je,{tree:o.tree,pinned:o.pinned,onPin:o.pin})]})]})]})}function at(o){const s=R(),l=Xe(o),i=l.detail,m=e.useRef(l.rule);e.useLayoutEffect(()=>{m.current=l.rule});const f=e.useMemo(()=>[{id:"target",label:s("ui.target"),minWidth:128,grow:2,isRowHeader:!0,render:e=>t.jsx(G,{children:e.target})},{id:"node",label:s("nodes.node"),minWidth:96,drop:2,wide:!0,render:e=>t.jsx(n,{row:e})},{id:"rule",label:s("ui.rule"),minWidth:152,grow:3,drop:1,text:"wrap",wide:!0,render:e=>t.jsxs("span",{className:"rp-rule",children:[t.jsx(u,{expression:e.expression,href:re(e.ruleId,l.rulesListed)}),e.recomputed&&t.jsx(r,{tip:s("rule.sourceHelp.recomputed"),children:s("conn.recomputed")})]})},{id:"network",label:s("ui.protocol"),minWidth:96,grow:0,drop:3,render:e=>e.network},{id:"state",label:s("ui.state"),minWidth:112,grow:0,drop:5,render:e=>e.state},{id:"started",label:s("ui.started"),minWidth:140,grow:0,drop:4,render:e=>t.jsx(me,{at:e.startedAt})},{id:"actions",actions:!0,label:s("ui.actions"),minWidth:88,grow:0,render:e=>{const n=m.current,a=!n.canAdd(e.seed);return t.jsx(je,{label:n.label(e.target),disabled:a,tip:n.noTarget,onPress:()=>m.current.open(e.seed)})}}],[s,l.rulesListed]);return t.jsxs(t.Fragment,{children:[t.jsx(z,{error:l.error,onRetry:l.retry}),t.jsxs(J,{page:!0,children:[t.jsx(c,{label:s("ui.network"),value:l.network,onChange:l.setNetwork,items:[["all",s("ui.all")],["tcp",s("ui.tcp")],["udp",s("ui.udp")]]}),t.jsx(p,{label:s("ui.state"),side:!0,value:l.state,onChange:l.setState,items:l.stateOptions}),l.pinLabel&&t.jsxs(q,{label:s("ui.valuePair",{label:s("flow.clearMapFilter"),value:l.pinLabel}),onPress:l.clearPin,children:[l.pinLabel,t.jsx(X,{})]}),l.connectionLabel&&t.jsxs(q,{label:s("ui.valuePair",{label:s("flow.clearConnectionFilter"),value:l.connectionLabel}),onPress:l.clearConnection,children:[l.connectionLabel,t.jsx(X,{})]}),l.coverage&&t.jsx(de,{view:l.coverage}),l.recordingHref&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"rp-grow"}),t.jsx(Y,{appearance:"button",quiet:!0,href:l.recordingHref,children:s("ui.recordingSettings")})]})]}),t.jsxs("div",{className:"rp-with-panel","data-open":l.panelOpen?"":void 0,children:[l.phone?t.jsx(Ze,{label:s("flow.records"),loading:l.loading,rows:l.rows,getTextValue:e=>e.target,selected:l.id,onSelect:l.select,empty:s("flow.empty"),cols:f}):t.jsx(pe,{label:s("flow.records"),rowDetail:!0,loading:l.loading,rows:l.rows,height:442,selected:l.id,onSelect:l.select,selectOnFocus:l.wide,empty:s("flow.empty"),cols:f}),t.jsxs(Z,{open:l.panelOpen,title:l.panelTitle,onClose:()=>l.select(null),children:[t.jsx(z,{error:l.detailError,onRetry:l.detailRetry}),l.detailLoading&&t.jsx(V,{shape:"rows",count:4,label:s("flow.detailLoading")}),i&&t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"rp-cluster",children:[t.jsx(r,{tone:i.tone,children:i.status}),t.jsx("span",{className:"rp-label",children:i.revision})]}),t.jsx(d,{detail:!0,items:[[s("ui.outbound"),t.jsx(a,{...i.outboundTag})],...i.fields]}),t.jsx("div",{className:"rp-cluster",children:i.connectionHref&&t.jsx(Y,{appearance:"button",href:i.connectionHref,children:s("flow.viewConnection")})}),t.jsxs("div",{className:"rp-list",children:[!i.steps.length&&t.jsx(K,{children:s("ui.empty")}),i.steps.map(e=>t.jsxs("div",{className:"rp-col rp-step",children:[t.jsxs("div",{className:"rp-cluster",children:[t.jsx(r,{children:e.stage}),t.jsx(G,{text:e.observed,className:"rp-label",children:e.elapsed})]}),e.fields?t.jsx(d,{inline:!0,items:e.fields}):t.jsx("pre",{className:"rp-flow-raw rp-code",children:t.jsx("code",{children:e.raw})})]},e.id))]})]})]})]}),t.jsx(xe,{dialog:l.rule.dialog})]})}export{tt as Flows}; diff --git a/assets/GridList-Cq8h6RdG.js b/assets/GridList-Cq8h6RdG.js new file mode 100644 index 00000000..169d4e61 --- /dev/null +++ b/assets/GridList-Cq8h6RdG.js @@ -0,0 +1 @@ +import{g3 as e,d8 as t,d1 as r,d0 as o,bA as a,g5 as i,eq as l,f2 as n,f3 as s,eW as d,eX as c,eY as u,d9 as p,eZ as g,e$ as f,f0 as y,db as v,e_ as b,eR as h,ev as m,g8 as k,dq as D,eA as w,dt as E,ds as P,f6 as M,di as x,dj as S,dk as A,dS as K,dm as C,eF as T,f8 as N,fa as B,ew as I,fe as F,de as R,ex as V,eu as L,eQ as H,f9 as O,fb as U,dp as z,fj as $,fk as j,eE as W}from"./index-C4UFgHia.js";import{a as G,$ as _,b as q,d as Q,e as X,f as Y}from"./useGridSelectionCheckbox-D0fV1e0v.js";import{k as Z,f as J,e as ee,l as te,g as re,i as oe,h as ae}from"./Select-W-Xrx6y6.js";import{r as ie,$ as le}from"./vendor-react-64fcanlc.js";const ne=new WeakMap;function se(e,t){let{id:r}=ne.get(e)??{};if(!r)throw new Error("Unknown list");return`${r}-${function(e){return"string"==typeof e?e.replace(/\s*/g,""):""+e}(t)}`}const de={ltr:"ArrowRight",rtl:"ArrowLeft"},ce={ltr:"ArrowLeft",rtl:"ArrowRight"};function ue(e,t,r){let{node:m,isVirtualized:k,focusMode:D="row",allowsArrowNavigation:w}=e,{direction:E}=a(),{onAction:P,linkBehavior:M,keyboardNavigationBehavior:x,shouldSelectOnPressUp:S}=ne.get(t),A=i(),K=ie.useRef(null),C=()=>{if(null!==r.current){if("child"===D){if(d(r.current)&&r.current!==c(u(r.current)))return;let e=p(r.current,{tabbable:!0}).firstChild();if(e)return g(e),void f(e,{containingElement:y(e)})}(null!=K.current&&m.key!==K.current||!d(r.current))&&g(r.current)}},T={},N=e.hasChildItems,B=t.selectionManager.isLink(m.key);if(null!=m&&"expandedKeys"in t){let e=t.collection.getChildren?.(m.key);N=N||[...e??[]].length>1,null==P&&!B&&"none"===t.selectionManager.selectionMode&&N&&(P=()=>t.toggleKey(m.key));let r=N?t.expandedKeys.has(m.key):void 0,o=1,a=m.index;if(m.level>=0&&null!=m?.parentKey){let e=t.collection.getItem(m.parentKey);if(e){let r=function(e,t){let r=t.getChildren?.(e.key),o=r?Array.from(r):[],a=o.length>0?o[0]:null,i=[];for(;a;)i.push(a),a=null!=a.nextKey?t.getItem(a.nextKey):null;return i}(e,t.collection);o=[...r].filter(e=>"item"===e.type).length,a>0&&"item"!==r[0].type&&(a-=1)}}else o=[...t.collection].filter(e=>0===e.level&&"item"===e.type).length;T={"aria-expanded":r,"aria-level":m.level+1,"aria-posinset":a+1,"aria-setsize":o}}let{itemProps:I,...F}=l({selectionManager:t.selectionManager,key:m.key,ref:r,isVirtualized:k,shouldSelectOnPressUp:e.shouldSelectOnPressUp||S,onAction:P||m.props?.onAction?n(m.props?.onAction,P?()=>P(m.key):void 0):void 0,focus:C,linkBehavior:M}),R=s(m.props),V=F.hasAction?R:{},L=o(I,V,{role:"row",onKeyDownCapture:"arrow"===x||w?e=>{let o=c(u(r.current));if(!h(e.currentTarget,v(e))||!r.current||!o)return;let a=p(r.current);if(a.currentNode=o,!pe(e,t,m,N,E,o,r.current,w))switch(e.key){case"ArrowLeft":if("arrow"===x){let t="rtl"===E?a.nextNode():a.previousNode();if(t)e.preventDefault(),e.stopPropagation(),g(t),f(t,{containingElement:y(r.current)});else if(e.preventDefault(),e.stopPropagation(),"rtl"===E)g(r.current),f(r.current,{containingElement:y(r.current)});else{a.currentNode=r.current;let e=ge(a);e&&(g(e),f(e,{containingElement:y(r.current)}))}}break;case"ArrowRight":if("arrow"===x){let t="rtl"===E?a.previousNode():a.nextNode();if(t)e.preventDefault(),e.stopPropagation(),g(t),f(t,{containingElement:y(r.current)});else if(e.preventDefault(),e.stopPropagation(),"ltr"===E)g(r.current),f(r.current,{containingElement:y(r.current)});else{a.currentNode=r.current;let e=ge(a);e&&(g(e),f(e,{containingElement:y(r.current)}))}}break;case"ArrowUp":case"ArrowDown":!e.altKey&&h(r.current,v(e))&&(e.stopPropagation(),e.preventDefault(),r.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type,e.nativeEvent)))}}:void 0,onFocus:e=>{K.current=m.key,v(e)===r.current?"child"===D&&e.relatedTarget&&h(r.current,e.relatedTarget)||requestAnimationFrame(()=>{"child"===D&&c(u(r.current))===r.current&&C()}):b()||t.selectionManager.setFocusedKey(m.key)},"aria-label":m["aria-label"]||m.textValue||void 0,"aria-selected":t.selectionManager.canSelectItem(m.key)?t.selectionManager.isSelected(m.key):void 0,"aria-disabled":t.selectionManager.isDisabled(m.key)||void 0,"aria-labelledby":A&&(m["aria-label"]||m.textValue)?`${se(t,m.key)} ${A}`:void 0,id:se(t,m.key)});"child"===D&&w&&"tab"===x&&(L.tabIndex=-1);let H=L.onKeyDown;if(L.onKeyDown=e=>{(e=>{let o=c(u(r.current));if(h(e.currentTarget,v(e))&&r.current&&o){if("tab"===x){if(v(e)!==r.current&&"Tab"!==e.key)return void e.stopPropagation();if(pe(e,t,m,N,E,o,r.current,w))return}if("Tab"===e.key&&"tab"===x){let t=p(r.current,{tabbable:!0});t.currentNode=o,(e.shiftKey?t.previousNode():t.nextNode())&&e.stopPropagation()}}})(e),e.isPropagationStopped()||H?.(e)},k){let{collection:e}=t,r=[...e];L["aria-rowindex"]=r.find(e=>"section"===e.type)?[...e.getKeys()].filter(t=>"section"!==e.getItem(t)?.type).findIndex(e=>e===m.key)+1:m.index+1}return{rowProps:{...o(L,T)},gridCellProps:{role:"gridcell","aria-colindex":1},descriptionProps:{id:A},...F}}function pe(e,t,r,o,a,i,l,n){if(!("expandedKeys"in t)||!n&&i!==l)return!1;if(e.key===de[a]&&t.selectionManager.focusedKey===r.key&&o&&!t.expandedKeys.has(r.key))return t.toggleKey(r.key),e.stopPropagation(),!0;if(e.key===ce[a]&&t.selectionManager.focusedKey===r.key){if(o&&t.expandedKeys.has(r.key))return t.toggleKey(r.key),e.stopPropagation(),!0;if(!t.expandedKeys.has(r.key)&&r.parentKey&&"item"===t.collection.getItem(r.parentKey)?.type)return t.selectionManager.setFocusedKey(r.parentKey),e.stopPropagation(),!0}return!1}function ge(e){let t=null,r=null;do{r=e.lastChild(),r&&(t=r)}while(r);return t}const fe=ie.createContext(null),ye=ie.forwardRef(function(e,t){return[e,t]=R(e,t,fe),le.createElement(V,{content:le.createElement(L,e)},r=>le.createElement(ve,{props:e,collection:r,gridListRef:t}))});function ve({props:i,collection:l,gridListRef:n}){[i,n]=R(i,n,N);let s,d,c,{shouldUseVirtualFocus:u,filter:p,disallowTypeAhead:g,UNSTABLE_focusOnEntry:f,...y}=i,{dragAndDropHooks:v,keyboardNavigationBehavior:b="arrow",layout:h="stack",orientation:m="vertical"}=i,{CollectionRoot:k,isVirtualized:D,layoutDelegate:E,dropTargetDelegate:M}=ie.useContext(w),K=ee({...y,collection:l,children:void 0,layoutDelegate:E}),C=te(K,p),T=H({usage:"search",sensitivity:"base"}),{disabledBehavior:B,disabledKeys:I}=C.selectionManager,{direction:F}=a(),V=ie.useMemo(()=>new O({collection:C.collection,collator:T,ref:n,disabledKeys:I,disabledBehavior:B,layoutDelegate:E,layout:h,orientation:m,direction:F}),[C.collection,n,h,m,I,B,E,T,F]),{gridProps:L}=function(a,i,l){let{isVirtualized:n,keyboardDelegate:s,layoutDelegate:d,onAction:c,disallowTypeAhead:u,linkBehavior:p="action",keyboardNavigationBehavior:g="arrow",escapeKeyBehavior:f="clearSelection",shouldSelectOnPressUp:y}=a;a["aria-label"]||a["aria-labelledby"]||console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let{listProps:v}=e({selectionManager:i.selectionManager,collection:i.collection,disabledKeys:i.disabledKeys,ref:l,keyboardDelegate:s,layoutDelegate:d,isVirtualized:n,selectOnFocus:"replace"===i.selectionManager.selectionBehavior,shouldFocusWrap:a.shouldFocusWrap,linkBehavior:p,disallowTypeAhead:u,autoFocus:a.autoFocus,escapeKeyBehavior:f,UNSTABLE_focusOnEntry:a.UNSTABLE_focusOnEntry}),b=t(a.id);ne.set(i,{id:b,onAction:c,linkBehavior:p,keyboardNavigationBehavior:g,shouldSelectOnPressUp:y});let h=G({selectionManager:i.selectionManager,hasItemActions:!!c}),m=_(l,{isDisabled:0!==i.collection.size}),k=r(a,{labelable:!0}),D=o(k,{role:"grid",id:b,"aria-multiselectable":"multiple"===i.selectionManager.selectionMode?"true":void 0},0===i.collection.size?{tabIndex:m?-1:0}:v,h);return n&&(D["aria-rowcount"]=i.collection.size,D["aria-colcount"]=1),q({},i),{gridProps:D}}({...y,keyboardDelegate:V,keyboardNavigationBehavior:"grid"===h?"tab":b,isVirtualized:D,shouldSelectOnPressUp:i.shouldSelectOnPressUp,disallowTypeAhead:g,UNSTABLE_focusOnEntry:f},C,n),$=C.selectionManager,j=!!v?.useDraggableCollectionState,W=!!v?.useDroppableCollectionState;ie.useRef(j),ie.useRef(W),ie.useEffect(()=>{},[j,W]);let Q=!1,X=null,Y=ie.useRef(null);if(j&&v){s=v.useDraggableCollectionState({collection:C.collection,selectionManager:$,preview:v.renderDragPreview?Y:void 0}),v.useDraggableCollection({},s,n);let e=v.DragPreview;X=v.renderDragPreview?le.createElement(e,{ref:Y},v.renderDragPreview):null}if(W&&v){d=v.useDroppableCollectionState({collection:C.collection,selectionManager:$});let e=v.dropTargetDelegate||M||new v.ListDropTargetDelegate(l,n,{layout:h,direction:F,orientation:m});c=v.useDroppableCollection({keyboardDelegate:V,dropTargetDelegate:e},d,n),Q=d.isDropTarget({type:"root"})}let{focusProps:se,isFocused:de,isFocusVisible:ce}=P(),ue=0===C.collection.size,pe={isDropTarget:Q,orientation:m,isEmpty:ue,isFocused:de,isFocusVisible:ce,layout:h,state:C},ge=x({...i,children:void 0,defaultClassName:"react-aria-GridList",values:pe}),fe=null;if(ue&&i.renderEmptyState){let e=i.renderEmptyState(pe);fe=le.createElement("div",{role:"row","aria-rowindex":1,style:{display:"contents"}},le.createElement("div",{role:"gridcell",style:{display:"contents"}},e))}let ye=r(i,{global:!0});return le.createElement(U,null,le.createElement(S.div,{...o(ye,ge,L,se,c?.collectionProps,null),ref:n,slot:i.slot||void 0,onScroll:i.onScroll,"data-drop-target":Q||void 0,"data-empty":ue||void 0,"data-focused":de||void 0,"data-focus-visible":ce||void 0,"data-layout":h,"data-orientation":m},le.createElement(A,{values:[[Z,C],[J,{dragAndDropHooks:v,dragState:s,dropState:d}],[re,{render:he}]]},W&&le.createElement(De,null),le.createElement(z,null,le.createElement(k,{collection:C.collection,scrollRef:n,persistedKeys:ae($,v,d),renderDropIndicator:oe(v,d)}))),fe,X))}const be=m(k,function(e,t,a){let i=ie.useContext(Z),{dragAndDropHooks:l,dragState:n,dropState:s}=ie.useContext(J),d=D(t),{isVirtualized:c}=ie.useContext(w),u=n&&!(n.isDisabled||n.selectionManager.isDisabled(a.key)),{rowProps:p,gridCellProps:g,descriptionProps:f,...y}=ue({node:a,shouldSelectOnPressUp:!!n,isVirtualized:c,focusMode:e.focusMode,allowsArrowNavigation:e.allowsArrowNavigation},i,d),{hoverProps:v,isHovered:b}=E({isDisabled:!y.allowsSelection&&!y.hasAction&&!u,onHoverStart:a.props.onHoverStart,onHoverChange:a.props.onHoverChange,onHoverEnd:a.props.onHoverEnd}),{isFocusVisible:h,focusProps:m}=P(),{isFocusVisible:k,focusProps:R}=P({within:!0}),{checkboxProps:V}=function(e,t){let{key:r}=e;const{checkboxProps:o}=Q(e,t);return{checkboxProps:{...o,"aria-labelledby":`${o.id} ${se(t,r)}`}}}({key:a.key},i),L="all"===i.selectionManager.disabledBehavior&&y.isDisabled?{isDisabled:!0}:{},H=null;n&&l&&(H=l.useDraggableItem({key:a.key,hasDragButton:!0},n));let O=null,U=ie.useRef(null),{visuallyHiddenProps:z}=M();s&&l&&(O=l.useDropIndicator({target:{type:"item",key:a.key,dropPosition:"on"}},s,U));let $=n&&n.isDragging(a.key),j=x({...e,id:void 0,children:a.rendered,defaultClassName:"react-aria-GridListItem",values:{...y,isHovered:b,isFocusVisible:h,isFocusVisibleWithin:k,selectionMode:i.selectionManager.selectionMode,selectionBehavior:i.selectionManager.selectionBehavior,allowsDragging:!!n,isDragging:$,isDropTarget:O?.isDropTarget,id:a.key,state:i}}),W=ie.useRef(null);ie.useEffect(()=>{n&&!W.current&&console.warn('Draggable items in a GridList must contain a