bb-app 0.0.3 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/app/dist/assets/AppSettingsView-Dmjbm_4y.js +1 -0
- package/app/dist/assets/InternalReplayListView-BMzOdu0K.js +1 -0
- package/app/dist/assets/ProjectArchivedThreadsView-DzbW3kSk.js +1 -0
- package/app/dist/assets/ProjectSettingsView-BCVVMJFB.js +1 -0
- package/app/dist/assets/ThreadDetailRoute-BI3VVE99.js +2535 -0
- package/app/dist/assets/ThreadUnarchiveButton-BJStGY8f.js +1 -0
- package/app/dist/assets/{angular-html-C2Dl0O00.js → angular-html-CM7ZtmlE.js} +1 -1
- package/app/dist/assets/{angular-ts-CVYqc36v.js → angular-ts-B4aAwutb.js} +1 -1
- package/app/dist/assets/{apl-BGPamPSJ.js → apl-Db6aaGYX.js} +1 -1
- package/app/dist/assets/{astro-Ba-Dojj4.js → astro-CXkhV095.js} +1 -1
- package/app/dist/assets/{blade-Lwg2Qi0v.js → blade-CfLZY3kt.js} +1 -1
- package/app/dist/assets/{bsl-JaCMWPaY.js → bsl-CG-fq4sc.js} +1 -1
- package/app/dist/assets/{c-B_58eHuy.js → c-CwV4mx9Z.js} +1 -1
- package/app/dist/assets/{cairo-D7Xpkdmw.js → cairo-Ds0kTeYT.js} +1 -1
- package/app/dist/assets/chunk-JZWAC4HX-CrzST-zS.js +3 -0
- package/app/dist/assets/{cobol-CM0x5uzi.js → cobol-Bx9V6w-A.js} +1 -1
- package/app/dist/assets/{coffee-WumiHYOD.js → coffee-4vexivp2.js} +1 -1
- package/app/dist/assets/{cpp-D0sZgzGq.js → cpp-B9JgHtmn.js} +1 -1
- package/app/dist/assets/{crystal-C2tAIJ-r.js → crystal-CV6ainQY.js} +1 -1
- package/app/dist/assets/{css-QhLRjU31.js → css-BahFL25I.js} +1 -1
- package/app/dist/assets/{dialog-CxN4lDeD.js → dialog-sqh89xvD.js} +1 -1
- package/app/dist/assets/{edge-BmtKCk7-.js → edge-Dbi7IqBU.js} +1 -1
- package/app/dist/assets/{effective-hosts-BWRuszG7.js → effective-hosts-Dc1pzW51.js} +4 -4
- package/app/dist/assets/{elixir-DiumzaXM.js → elixir-Bcybagr3.js} +1 -1
- package/app/dist/assets/{elm-DV3i51_v.js → elm-Cg7kNsW7.js} +1 -1
- package/app/dist/assets/{erb-3qqPnLJh.js → erb-CUdWoCwh.js} +1 -1
- package/app/dist/assets/{erlang-DJdyEhn7.js → erlang-C-m_88FN.js} +1 -1
- package/app/dist/assets/{fortran-fixed-form-Dyncprn4.js → fortran-fixed-form-Cx1lv7HN.js} +1 -1
- package/app/dist/assets/{fsharp-D6WYKxtq.js → fsharp-DC5k9sy2.js} +1 -1
- package/app/dist/assets/{gdresource-Bac2fAQZ.js → gdresource-D0EsKdgH.js} +1 -1
- package/app/dist/assets/{git-commit-CDZnUqIF.js → git-commit-BcFsuO5E.js} +1 -1
- package/app/dist/assets/{git-rebase-DIMwlcT0.js → git-rebase-CebuXWOz.js} +1 -1
- package/app/dist/assets/{glimmer-js-BKsURin4.js → glimmer-js-DHD_iF4f.js} +1 -1
- package/app/dist/assets/{glimmer-ts-Chhe0oIX.js → glimmer-ts-x8YwQhtI.js} +1 -1
- package/app/dist/assets/{glsl-Dy3tp3E1.js → glsl-DTvpjV5x.js} +1 -1
- package/app/dist/assets/{graphql-CseHr1LK.js → graphql-BABFRhpo.js} +1 -1
- package/app/dist/assets/{hack-boTiAbss.js → hack-BTa_6UF4.js} +1 -1
- package/app/dist/assets/{haml-CjrsmcwN.js → haml-DwZg9pb5.js} +1 -1
- package/app/dist/assets/{handlebars-B_oDWsbs.js → handlebars-Bkp0I46S.js} +1 -1
- package/app/dist/assets/{html-C4e0uDKx.js → html-BrFG164I.js} +1 -1
- package/app/dist/assets/{html-derivative-DtQj__OI.js → html-derivative-Dm50cCgO.js} +1 -1
- package/app/dist/assets/{http-W8z61A1Z.js → http-DHs85vmZ.js} +1 -1
- package/app/dist/assets/{hurl-CBaPhsIJ.js → hurl-Dh07B-Ro.js} +1 -1
- package/app/dist/assets/{hxml-BNblpm3P.js → hxml-iQTOTWpM.js} +1 -1
- package/app/dist/assets/index-8oyVoqEg.js +1360 -0
- package/app/dist/assets/index-Cdqw3W2G.css +2 -0
- package/app/dist/assets/{java-C9TLG_lA.js → java-CyElhBLV.js} +1 -1
- package/app/dist/assets/{javascript-B6-baDIX.js → javascript-Iw1B_HiK.js} +1 -1
- package/app/dist/assets/{jinja-D6Ec9tX7.js → jinja-CwNzTCBn.js} +1 -1
- package/app/dist/assets/{jison-abiW-9pn.js → jison-DmnCmBdi.js} +1 -1
- package/app/dist/assets/{json-DtR-rTq5.js → json-2cvnIy7t.js} +1 -1
- package/app/dist/assets/{jsx-TQyKdSmQ.js → jsx-CUP6THJt.js} +1 -1
- package/app/dist/assets/{julia-BKK2QHze.js → julia-C5QkPIf6.js} +1 -1
- package/app/dist/assets/{just-BY5hWNgR.js → just-DKTy3QCk.js} +1 -1
- package/app/dist/assets/{latex-CuW1q2vJ.js → latex-D6EezuXB.js} +1 -1
- package/app/dist/assets/{liquid-BsqUQnO5.js → liquid-CIoyldIJ.js} +1 -1
- package/app/dist/assets/localhost-badge-DMyU8aEl.js +22 -0
- package/app/dist/assets/{lua-D4PO1r07.js → lua-DdZ7KAyq.js} +1 -1
- package/app/dist/assets/{marko-1bNyFeKY.js → marko-DzUNPeS3.js} +1 -1
- package/app/dist/assets/{mdc-BoU9IUKL.js → mdc-D5459Kci.js} +1 -1
- package/app/dist/assets/mutation-cache-effects-DiCFYnTh.js +1 -0
- package/app/dist/assets/{nextflow-dLJhzX3Z.js → nextflow-D-Ec_bsY.js} +1 -1
- package/app/dist/assets/{nginx-BXWzwlUI.js → nginx-0z5C7Rx2.js} +1 -1
- package/app/dist/assets/{nim-BgalU8R5.js → nim-DqH405Ip.js} +1 -1
- package/app/dist/assets/page-shell-DBPkwDcw.js +39 -0
- package/app/dist/assets/{perl-OrqzwF6j.js → perl-DFMDl6Q7.js} +1 -1
- package/app/dist/assets/{php-DsC0K8EH.js → php-CnLHesuB.js} +1 -1
- package/app/dist/assets/pill-BNIxU09I.js +1 -0
- package/app/dist/assets/{pug-D-Q9Kgtz.js → pug-Bd_9REL_.js} +1 -1
- package/app/dist/assets/{qml-Dyn06a9u.js → qml-Lr6hdC-5.js} +1 -1
- package/app/dist/assets/{r-C3AjV-3E.js → r-Ce3-ySeQ.js} +1 -1
- package/app/dist/assets/{razor-DHd1twLi.js → razor-FG0QpIgS.js} +1 -1
- package/app/dist/assets/{regexp-Dl_oPCDN.js → regexp-CIUvMYKc.js} +1 -1
- package/app/dist/assets/{rst-BIq6VDAT.js → rst-Dz7v6x4B.js} +1 -1
- package/app/dist/assets/{ruby-BJwcPMyx.js → ruby-C-FBX9Yb.js} +1 -1
- package/app/dist/assets/{sas-TXWq-8Bu.js → sas-C9h-w7MI.js} +1 -1
- package/app/dist/assets/{scss-Cz2NsCSh.js → scss-D6OzIOrm.js} +1 -1
- package/app/dist/assets/{settings-section-CZi6DvBs.js → settings-section-BKzVpY8V.js} +1 -1
- package/app/dist/assets/{shaderlab-CSb6CBXg.js → shaderlab-DGohHMiF.js} +1 -1
- package/app/dist/assets/{shellscript-CJedfzfs.js → shellscript-D87RcbyJ.js} +1 -1
- package/app/dist/assets/{shellsession-Tkblvq8e.js → shellsession-TIQjKTe8.js} +1 -1
- package/app/dist/assets/{soy-g_UxtUjg.js → soy-B-dmhoWy.js} +1 -1
- package/app/dist/assets/{sparql-J1VOnnwM.js → sparql-BgU2QITA.js} +1 -1
- package/app/dist/assets/split-button-DqIwadhH.js +1 -0
- package/app/dist/assets/{sql-DQAX0EN7.js → sql-CbBIAEKN.js} +1 -1
- package/app/dist/assets/{stata-BXjroK6c.js → stata-BQ_FGGIg.js} +1 -1
- package/app/dist/assets/{surrealql-DyDhPjEW.js → surrealql-B5__VBgQ.js} +1 -1
- package/app/dist/assets/{svelte-CEjCx-8g.js → svelte-CgBSZjLG.js} +1 -1
- package/app/dist/assets/{templ-BViMCY-s.js → templ-_lWYjbQF.js} +1 -1
- package/app/dist/assets/{tex-BOG7uw6j.js → tex-BYUs5HV3.js} +1 -1
- package/app/dist/assets/thread-queries-BX-3vM7I.js +1 -0
- package/app/dist/assets/{ts-tags-1PkZB39L.js → ts-tags-hjuJ4isf.js} +1 -1
- package/app/dist/assets/{tsx-B1khekg1.js → tsx-DlvScFgB.js} +1 -1
- package/app/dist/assets/{twig-C30VOGkj.js → twig-DgkARV1o.js} +1 -1
- package/app/dist/assets/{typescript-BVriUqhl.js → typescript-BE5MgbU9.js} +1 -1
- package/app/dist/assets/{vue-Dy6YaQjk.js → vue-C6mGC-Xh.js} +1 -1
- package/app/dist/assets/{vue-html-yfcmxRL7.js → vue-html-BcBAJPrV.js} +1 -1
- package/app/dist/assets/{vue-vine-BnfxXDO0.js → vue-vine-DsdYqYVB.js} +1 -1
- package/app/dist/assets/{xml-BJ3Y9ehh.js → xml-CMIrlqCw.js} +1 -1
- package/app/dist/assets/{xsl-CFOlFF3h.js → xsl-BL_g6M4v.js} +1 -1
- package/app/dist/assets/{yaml-BJda_PXC.js → yaml-D4rIwiAS.js} +1 -1
- package/app/dist/index.html +9 -9
- package/host-daemon/dist/bb +194 -49
- package/host-daemon/dist/bb-claude-code-bridge.mjs +34 -34
- package/host-daemon/dist/daemon-bundle.mjs +224 -224
- package/package.json +1 -1
- package/server/dist/index.js +176 -11
- package/app/dist/assets/AppSettingsView-D4Xk7Lux.js +0 -1
- package/app/dist/assets/InternalReplayListView-DOajBbUO.js +0 -1
- package/app/dist/assets/ProjectArchivedThreadsView-CR1mxrlQ.js +0 -1
- package/app/dist/assets/ProjectSettingsView-DucRZWso.js +0 -1
- package/app/dist/assets/ThreadDetailRoute-CrBpC0ct.js +0 -2390
- package/app/dist/assets/ThreadUnarchiveButton-EqnpnszW.js +0 -1
- package/app/dist/assets/index-BSJHUjhM.css +0 -2
- package/app/dist/assets/index-ByQGFt4l.js +0 -1359
- package/app/dist/assets/localhost-badge-BBCmn0GW.js +0 -22
- package/app/dist/assets/mutation-cache-effects-BQHFwGL7.js +0 -1
- package/app/dist/assets/page-shell-Dglk9LmR.js +0 -39
- package/app/dist/assets/pill-BHnTA2D7.js +0 -3
- package/app/dist/assets/split-button-CeV-MQ2f.js +0 -1
- package/app/dist/assets/thread-queries-BOTfj5Vv.js +0 -1
- package/server/dist/default-template/PREFERENCES.md +0 -35
- /package/app/dist/assets/{abap-DKGmjV0m.js → abap-B1dkBSPn.js} +0 -0
- /package/app/dist/assets/{actionscript-3-PQHI9sRP.js → actionscript-3-BT4ibYlP.js} +0 -0
- /package/app/dist/assets/{ada-7dCRqcEc.js → ada-CD92zeps.js} +0 -0
- /package/app/dist/assets/{addon-fit-CIMl-Yt0.js → addon-fit-Cm0rqjtv.js} +0 -0
- /package/app/dist/assets/{addon-web-links-Sy65bwVY.js → addon-web-links-B8_D6zvC.js} +0 -0
- /package/app/dist/assets/{andromeeda-CvHLbWZU.js → andromeeda-DqSmgxi0.js} +0 -0
- /package/app/dist/assets/{apache-DuwFT_ko.js → apache-D5suuoa_.js} +0 -0
- /package/app/dist/assets/{apex-ZrILV9y9.js → apex-BL-m4VHy.js} +0 -0
- /package/app/dist/assets/{applescript-QewDI2Hm.js → applescript-CLiBqvKT.js} +0 -0
- /package/app/dist/assets/{ara-CAKYVeDX.js → ara-LdDF8cmv.js} +0 -0
- /package/app/dist/assets/{asciidoc-xYtH5EEV.js → asciidoc-2DZ9hC2N.js} +0 -0
- /package/app/dist/assets/{asm-DuNyKkDV.js → asm-0ZPGRSUy.js} +0 -0
- /package/app/dist/assets/{aurora-x-mlfFqJAh.js → aurora-x-Da7Zfvbg.js} +0 -0
- /package/app/dist/assets/{awk-BDSWDVpS.js → awk-Bn0gn_B_.js} +0 -0
- /package/app/dist/assets/{ayu-dark-BTeHke7b.js → ayu-dark-bqYKoqpM.js} +0 -0
- /package/app/dist/assets/{ayu-light-CoZXvb4i.js → ayu-light-C45jTIzZ.js} +0 -0
- /package/app/dist/assets/{ayu-mirage-DlGy8b5I.js → ayu-mirage-BV_FCTQi.js} +0 -0
- /package/app/dist/assets/{ballerina-eIQtFtZN.js → ballerina-D2nw_w8Q.js} +0 -0
- /package/app/dist/assets/{bat-DVPhDFws.js → bat-ByUBN5gS.js} +0 -0
- /package/app/dist/assets/{beancount-DRh4LoEp.js → beancount-BTb2W6Mp.js} +0 -0
- /package/app/dist/assets/{berry-BJPWN0aG.js → berry-5SO2uITG.js} +0 -0
- /package/app/dist/assets/{bibtex-BXZl-zGT.js → bibtex-CDBTNfUI.js} +0 -0
- /package/app/dist/assets/{bicep-DUhze7H3.js → bicep-fgxG_4rP.js} +0 -0
- /package/app/dist/assets/{bird2-D_94N4Us.js → bird2-BCwzDhwX.js} +0 -0
- /package/app/dist/assets/{c3-CUFd2ak_.js → c3-Dlaci63_.js} +0 -0
- /package/app/dist/assets/{cadence-zuA3Lqsu.js → cadence-DHbRuEmm.js} +0 -0
- /package/app/dist/assets/{catppuccin-frappe-C4xh_RpD.js → catppuccin-frappe-DrL1fUuH.js} +0 -0
- /package/app/dist/assets/{catppuccin-latte-ZIzlVBYe.js → catppuccin-latte-C0REgVjl.js} +0 -0
- /package/app/dist/assets/{catppuccin-macchiato-DOZXEuSH.js → catppuccin-macchiato-ChQpylWO.js} +0 -0
- /package/app/dist/assets/{catppuccin-mocha-rnm_6i_u.js → catppuccin-mocha-Dd0JU1T0.js} +0 -0
- /package/app/dist/assets/{clarity-Dp-fzxYs.js → clarity-DMoTOm4G.js} +0 -0
- /package/app/dist/assets/{clojure-85kagXuc.js → clojure-DBhE3PpS.js} +0 -0
- /package/app/dist/assets/{cmake-5KZO_J3V.js → cmake-DwMc40Or.js} +0 -0
- /package/app/dist/assets/{codeowners-CwITHnrC.js → codeowners-1lVr8wqV.js} +0 -0
- /package/app/dist/assets/{codeql-DsuZZPKs.js → codeql-DWflolvo.js} +0 -0
- /package/app/dist/assets/{common-lisp-DQj0fa1s.js → common-lisp-CrVQ5xT-.js} +0 -0
- /package/app/dist/assets/{coq-BGPtnnb4.js → coq-CjfoyYSh.js} +0 -0
- /package/app/dist/assets/{csharp-Bz4y1fn8.js → csharp-C7bIWP5y.js} +0 -0
- /package/app/dist/assets/{csv-92JdhrVb.js → csv-DsAkDVtA.js} +0 -0
- /package/app/dist/assets/{cue-DO5iBckt.js → cue-BWmQgbOB.js} +0 -0
- /package/app/dist/assets/{cypher-Dt0SBufN.js → cypher-D-jVC50Q.js} +0 -0
- /package/app/dist/assets/{d-POAmrdpL.js → d-CaviyOrm.js} +0 -0
- /package/app/dist/assets/{dark-plus-Ci223Kw7.js → dark-plus-DIrnwZt9.js} +0 -0
- /package/app/dist/assets/{dart-Cv4z4sEx.js → dart-CZEi7JgC.js} +0 -0
- /package/app/dist/assets/{dax-Cw_LNvcO.js → dax-BK-8zffy.js} +0 -0
- /package/app/dist/assets/{desktop-B_uWbpWi.js → desktop-D3cjbL4D.js} +0 -0
- /package/app/dist/assets/{diff-pSjjL-ZH.js → diff-sHAzLvlp.js} +0 -0
- /package/app/dist/assets/{docker-r0L9bSzI.js → docker--xs2Ng3w.js} +0 -0
- /package/app/dist/assets/{dotenv-DU-Uz6AA.js → dotenv-Cm4nwcJ7.js} +0 -0
- /package/app/dist/assets/{dracula-C5lq8I7X.js → dracula-CAUSusef.js} +0 -0
- /package/app/dist/assets/{dracula-soft-QH3ntlSU.js → dracula-soft-cjNkMFza.js} +0 -0
- /package/app/dist/assets/{dream-maker-DE3sVgWW.js → dream-maker-fjmWTFCO.js} +0 -0
- /package/app/dist/assets/{emacs-lisp-aMjKKeFP.js → emacs-lisp-CJzqStIa.js} +0 -0
- /package/app/dist/assets/{everforest-dark-KTiMpaXm.js → everforest-dark-DBpaSMx1.js} +0 -0
- /package/app/dist/assets/{everforest-light-yJZ9a76P.js → everforest-light-CiGrXwia.js} +0 -0
- /package/app/dist/assets/{fennel-Bruivvq3.js → fennel-DRaXF7k8.js} +0 -0
- /package/app/dist/assets/{fish-CaGhpV7s.js → fish-Bn-Yh3Jj.js} +0 -0
- /package/app/dist/assets/{fluent-BsmQk-nO.js → fluent-DF5F8Ks_.js} +0 -0
- /package/app/dist/assets/{fortran-free-form-B9mY58s0.js → fortran-free-form-hCQHRqew.js} +0 -0
- /package/app/dist/assets/{gdscript-B_WUGHIs.js → gdscript-_C9_Hi_w.js} +0 -0
- /package/app/dist/assets/{gdshader-BR6nyn6z.js → gdshader-BW7b1X1Y.js} +0 -0
- /package/app/dist/assets/{genie-CW-a1unw.js → genie-Ch_6TCHd.js} +0 -0
- /package/app/dist/assets/{gherkin-D8z0Dn14.js → gherkin-CaNUsmTq.js} +0 -0
- /package/app/dist/assets/{github-dark-C2YvJIRl.js → github-dark-B9ygjgg6.js} +0 -0
- /package/app/dist/assets/{github-dark-default-DPZ1YWUU.js → github-dark-default-Br2bgYSx.js} +0 -0
- /package/app/dist/assets/{github-dark-dimmed-BlMwpJVf.js → github-dark-dimmed-CmtqpPJ-.js} +0 -0
- /package/app/dist/assets/{github-dark-high-contrast-KRBg57oP.js → github-dark-high-contrast-fSfmrZcC.js} +0 -0
- /package/app/dist/assets/{github-light-BLj5WXD_.js → github-light-BZjUqfZl.js} +0 -0
- /package/app/dist/assets/{github-light-default-BLgrdOV4.js → github-light-default-lIytXXhR.js} +0 -0
- /package/app/dist/assets/{github-light-high-contrast-Bmexxccr.js → github-light-high-contrast-BRrjFb7n.js} +0 -0
- /package/app/dist/assets/{gleam-BtOZgVle.js → gleam-DALMDpNs.js} +0 -0
- /package/app/dist/assets/{gn-JO9YMz2t.js → gn-DGjqrYN9.js} +0 -0
- /package/app/dist/assets/{gnuplot-DjZHg3_f.js → gnuplot-BYckvgQI.js} +0 -0
- /package/app/dist/assets/{go-D2GlBE5F.js → go-JycvP538.js} +0 -0
- /package/app/dist/assets/{groovy-1vEGAvvX.js → groovy-D5qMRONT.js} +0 -0
- /package/app/dist/assets/{gruvbox-dark-hard-pdBjrsK5.js → gruvbox-dark-hard-M1dj1e6V.js} +0 -0
- /package/app/dist/assets/{gruvbox-dark-medium-Csp4lPEF.js → gruvbox-dark-medium-cqq_ncQu.js} +0 -0
- /package/app/dist/assets/{gruvbox-dark-soft-BpNWvgik.js → gruvbox-dark-soft-B4QwL2a9.js} +0 -0
- /package/app/dist/assets/{gruvbox-light-hard-CC8CVJp5.js → gruvbox-light-hard-DLayMKOQ.js} +0 -0
- /package/app/dist/assets/{gruvbox-light-medium-D2yGUmJd.js → gruvbox-light-medium-D52XgPKf.js} +0 -0
- /package/app/dist/assets/{gruvbox-light-soft-C_9RTTTT.js → gruvbox-light-soft-Dola3KdD.js} +0 -0
- /package/app/dist/assets/{haskell-BFZjB68l.js → haskell-ys7wPPEd.js} +0 -0
- /package/app/dist/assets/{haxe-DDQKctJt.js → haxe-94kiChn7.js} +0 -0
- /package/app/dist/assets/{hcl-DUAADz_v.js → hcl-DmHt_-wq.js} +0 -0
- /package/app/dist/assets/{hjson-DyGphq4K.js → hjson-xMmoJ0Gx.js} +0 -0
- /package/app/dist/assets/{hlsl-BVEJlW36.js → hlsl-b-Pskdze.js} +0 -0
- /package/app/dist/assets/{horizon-BZmYXqIF.js → horizon-BKMqttiR.js} +0 -0
- /package/app/dist/assets/{horizon-bright-D0uooZm5.js → horizon-bright-HNkBlnm5.js} +0 -0
- /package/app/dist/assets/{houston-BUtcOxf9.js → houston-BkBSBSOQ.js} +0 -0
- /package/app/dist/assets/{hy-oWi_RwAK.js → hy-DKl1XhBq.js} +0 -0
- /package/app/dist/assets/{imba-iwzgkuTD.js → imba-DPxkOTAg.js} +0 -0
- /package/app/dist/assets/{ini-BNaakZQr.js → ini-lkLGq_1x.js} +0 -0
- /package/app/dist/assets/{json5-Y2CuQCK-.js → json5-Cy6ypJuJ.js} +0 -0
- /package/app/dist/assets/{jsonc-B30nqSUF.js → jsonc-Cw2ugYAK.js} +0 -0
- /package/app/dist/assets/{jsonl-B7UEa0TN.js → jsonl-Dp5_qBVH.js} +0 -0
- /package/app/dist/assets/{jsonnet-ZiCJB3SD.js → jsonnet-BTbmg_-u.js} +0 -0
- /package/app/dist/assets/{jssm-BOfC2rh1.js → jssm-CnT7nPea.js} +0 -0
- /package/app/dist/assets/{kanagawa-dragon-BVoApXR6.js → kanagawa-dragon-CxsBnuhV.js} +0 -0
- /package/app/dist/assets/{kanagawa-lotus-C-uV5im6.js → kanagawa-lotus-vHdxDDOS.js} +0 -0
- /package/app/dist/assets/{kanagawa-wave-BizPisns.js → kanagawa-wave-CIkfTKWk.js} +0 -0
- /package/app/dist/assets/{kdl-Bg7xxjIF.js → kdl-BwK60g80.js} +0 -0
- /package/app/dist/assets/{kotlin-CNprttl8.js → kotlin-Dbd9Vi-v.js} +0 -0
- /package/app/dist/assets/{kusto-D3uRUZFA.js → kusto-BuTk9usc.js} +0 -0
- /package/app/dist/assets/{laserwave-BypMvj8s.js → laserwave-C0wf_d3o.js} +0 -0
- /package/app/dist/assets/{lean-BbKKg8_U.js → lean-CYAW8bRN.js} +0 -0
- /package/app/dist/assets/{less-6BW8xQaX.js → less-D4uen21c.js} +0 -0
- /package/app/dist/assets/{light-plus-zSYF2DYe.js → light-plus-oqYyWKEE.js} +0 -0
- /package/app/dist/assets/{llvm-OMExIg60.js → llvm-Z1xJzteV.js} +0 -0
- /package/app/dist/assets/{log-BBfW4u9k.js → log-BGUxlsk3.js} +0 -0
- /package/app/dist/assets/{logo-D8GGcRiY.js → logo-wVUhvQ1b.js} +0 -0
- /package/app/dist/assets/{luau-CZIl0XK4.js → luau-rPFZzCmq.js} +0 -0
- /package/app/dist/assets/{make-mlZyflos.js → make-BmPf6m0P.js} +0 -0
- /package/app/dist/assets/{markdown-CppElJDR.js → markdown-AseU6zcW.js} +0 -0
- /package/app/dist/assets/{material-theme-OBz0sIMu.js → material-theme-6_W6rQhR.js} +0 -0
- /package/app/dist/assets/{material-theme-darker-BNfFk916.js → material-theme-darker-VPEo3Sem.js} +0 -0
- /package/app/dist/assets/{material-theme-lighter-D0OJsx_T.js → material-theme-lighter-CUhzCcZ9.js} +0 -0
- /package/app/dist/assets/{material-theme-ocean-CKWC7YJB.js → material-theme-ocean-B2JdsaGb.js} +0 -0
- /package/app/dist/assets/{material-theme-palenight-DOTFIR3W.js → material-theme-palenight-DhY-sklA.js} +0 -0
- /package/app/dist/assets/{matlab-CwLrY_Ss.js → matlab-BOj_BDQv.js} +0 -0
- /package/app/dist/assets/{mdx-OZt5aooY.js → mdx-Cm6cDkDI.js} +0 -0
- /package/app/dist/assets/{mermaid-mzvznqsh.js → mermaid-DLO-R4hv.js} +0 -0
- /package/app/dist/assets/{min-dark-BAbZNtjj.js → min-dark-D34a_pX7.js} +0 -0
- /package/app/dist/assets/{min-light-BzEisXBR.js → min-light-Cdd4KORE.js} +0 -0
- /package/app/dist/assets/{mipsasm-DONjtc4L.js → mipsasm-DYpHF-GA.js} +0 -0
- /package/app/dist/assets/{mojo-CHKQ5hW9.js → mojo-DqYVFv_G.js} +0 -0
- /package/app/dist/assets/{monokai-B8rLeJY_.js → monokai-CDR4sQ2n.js} +0 -0
- /package/app/dist/assets/{moonbit-CWIHpJf0.js → moonbit-DRKee9wk.js} +0 -0
- /package/app/dist/assets/{move-Dy7CmIgW.js → move-DbRk6Vn9.js} +0 -0
- /package/app/dist/assets/{narrat-NioX5-_j.js → narrat-IOfmaXfb.js} +0 -0
- /package/app/dist/assets/{nextflow-groovy-jKlTICX_.js → nextflow-groovy-EYl0c2BQ.js} +0 -0
- /package/app/dist/assets/{night-owl-light-C_DkqGGe.js → night-owl-light-Bedht9b4.js} +0 -0
- /package/app/dist/assets/{night-owl-C_xVeV9U.js → night-owl-yQJ3-I0I.js} +0 -0
- /package/app/dist/assets/{nix-BZVKmCQS.js → nix-C2IovEl2.js} +0 -0
- /package/app/dist/assets/{nord-CrTSutxR.js → nord-BjZ63GNL.js} +0 -0
- /package/app/dist/assets/{nushell-C8hgS98n.js → nushell-BflTrRB5.js} +0 -0
- /package/app/dist/assets/{objective-c-BUiYTSad.js → objective-c-GRClK1S7.js} +0 -0
- /package/app/dist/assets/{objective-cpp-BwY1U2XT.js → objective-cpp-l3qYw-v5.js} +0 -0
- /package/app/dist/assets/{ocaml-D51PiCY5.js → ocaml-BBDyhyMH.js} +0 -0
- /package/app/dist/assets/{odin-CoC4d8pi.js → odin-jCJ7Js99.js} +0 -0
- /package/app/dist/assets/{one-dark-pro-C9bEA2Dz.js → one-dark-pro-PIx2Diul.js} +0 -0
- /package/app/dist/assets/{one-light-DZ_5GYrV.js → one-light-BFMEz49S.js} +0 -0
- /package/app/dist/assets/{openscad-DCmPLSXt.js → openscad-Drf0LgCX.js} +0 -0
- /package/app/dist/assets/{pascal-BMY45JJO.js → pascal-BT2XAUTl.js} +0 -0
- /package/app/dist/assets/{pierre-dark-CMWr1OVv.js → pierre-dark-BMm5HxPQ.js} +0 -0
- /package/app/dist/assets/{pierre-light-DhtJ5n85.js → pierre-light-DyzEot4Q.js} +0 -0
- /package/app/dist/assets/{pkl-BlBky-cR.js → pkl-ML-dWShO.js} +0 -0
- /package/app/dist/assets/{plastic-C50vuo0c.js → plastic-BFI-Z5Z2.js} +0 -0
- /package/app/dist/assets/{plsql-B6Eq-lAd.js → plsql-0vd5cLro.js} +0 -0
- /package/app/dist/assets/{po-ByS5p8Sz.js → po-CbZ_uqQA.js} +0 -0
- /package/app/dist/assets/{poimandres-Cs9j_baE.js → poimandres-Cayhd01L.js} +0 -0
- /package/app/dist/assets/{polar-COmSbiHW.js → polar-C4hfV8Nc.js} +0 -0
- /package/app/dist/assets/{postcss-D_ArMqNC.js → postcss-osFUbTLw.js} +0 -0
- /package/app/dist/assets/{powerquery-BzHwsYRb.js → powerquery-CTlGUQPj.js} +0 -0
- /package/app/dist/assets/{powershell-C6bIwB0M.js → powershell-DyZsOmuq.js} +0 -0
- /package/app/dist/assets/{prisma-D5S9vj6g.js → prisma-SS92PO_I.js} +0 -0
- /package/app/dist/assets/{prolog-CHVuxG8M.js → prolog-B1O1NNVC.js} +0 -0
- /package/app/dist/assets/{proto-BhkmoXVj.js → proto-BWu3eZTs.js} +0 -0
- /package/app/dist/assets/{puppet-Brdz8eoo.js → puppet-tvtRVdr6.js} +0 -0
- /package/app/dist/assets/{purescript-DX3wKXeK.js → purescript-Dtbpb7D-.js} +0 -0
- /package/app/dist/assets/{python-CUtprRpG.js → python-Dlk0Acio.js} +0 -0
- /package/app/dist/assets/{qmldir-ftS4SxdQ.js → qmldir-B-iEOngH.js} +0 -0
- /package/app/dist/assets/{qss-Mo-j41VR.js → qss-Ba0p-aHw.js} +0 -0
- /package/app/dist/assets/{racket-CrTD1_3_.js → racket-BXDsxf2U.js} +0 -0
- /package/app/dist/assets/{raku-Bhig3MAC.js → raku-Dw1WWFXK.js} +0 -0
- /package/app/dist/assets/{red-CWX-2pbk.js → red-BC3Ds49b.js} +0 -0
- /package/app/dist/assets/{reg-C0s7-4s0.js → reg-DXFHGaM4.js} +0 -0
- /package/app/dist/assets/{rel-D1_XRRAX.js → rel-Dc5_Ytx2.js} +0 -0
- /package/app/dist/assets/{riscv-QV-e36TY.js → riscv-ZgswiWij.js} +0 -0
- /package/app/dist/assets/{ron-B-EB7ZBI.js → ron-YghabWAH.js} +0 -0
- /package/app/dist/assets/{rose-pine-Dxqc8n_1.js → rose-pine-ByWLnVr3.js} +0 -0
- /package/app/dist/assets/{rose-pine-dawn-pz_3O4ep.js → rose-pine-dawn-DBmeySrz.js} +0 -0
- /package/app/dist/assets/{rose-pine-moon-B27idgkd.js → rose-pine-moon-B9J-N3nK.js} +0 -0
- /package/app/dist/assets/{rosmsg-CcBwQf5j.js → rosmsg-DTKmAsVH.js} +0 -0
- /package/app/dist/assets/{rust-ppknoGus.js → rust-nfXwuE6F.js} +0 -0
- /package/app/dist/assets/{sass-Baw41att.js → sass-CbRjkld3.js} +0 -0
- /package/app/dist/assets/{scala-DtlnBhKt.js → scala-BzD3eypx.js} +0 -0
- /package/app/dist/assets/{scheme-DYQMayIi.js → scheme-D4d1PV1y.js} +0 -0
- /package/app/dist/assets/{sdbl-D0gXyfL6.js → sdbl-Cf-Ydnvx.js} +0 -0
- /package/app/dist/assets/{slack-dark-D27cdsBY.js → slack-dark-MszIyPZ2.js} +0 -0
- /package/app/dist/assets/{slack-ochin-BaRZ7cFo.js → slack-ochin-tQ3Q0gE9.js} +0 -0
- /package/app/dist/assets/{smalltalk-DRM3jr39.js → smalltalk-_uWoArwn.js} +0 -0
- /package/app/dist/assets/{snazzy-light-BayTLer3.js → snazzy-light-9sniMEk5.js} +0 -0
- /package/app/dist/assets/{solarized-dark-Y31Htb59.js → solarized-dark-CdD0Hxzv.js} +0 -0
- /package/app/dist/assets/{solarized-light-B-u_T8hk.js → solarized-light-C-nsEdqF.js} +0 -0
- /package/app/dist/assets/{solidity-CYAp_sJG.js → solidity-D6uC-xwP.js} +0 -0
- /package/app/dist/assets/{splunk-LsCTpuOP.js → splunk-LQYHRu14.js} +0 -0
- /package/app/dist/assets/{ssh-config-QxQe7y21.js → ssh-config-B7BUl8Rd.js} +0 -0
- /package/app/dist/assets/{stylus-DZvi0832.js → stylus-Byjxdx_q.js} +0 -0
- /package/app/dist/assets/{swift-BBBWvOdl.js → swift-BexLlMrU.js} +0 -0
- /package/app/dist/assets/{synthwave-84-Dq9WAwjJ.js → synthwave-84-BxMBwQMS.js} +0 -0
- /package/app/dist/assets/{system-verilog-Ddagu-BW.js → system-verilog-DVGwm0mw.js} +0 -0
- /package/app/dist/assets/{systemd-BxlmhgV_.js → systemd-H2IT3-p5.js} +0 -0
- /package/app/dist/assets/{talonscript-p-GlmLEL.js → talonscript-mKZIGM8n.js} +0 -0
- /package/app/dist/assets/{tasl-BNm9EzXM.js → tasl-B7he_Ugr.js} +0 -0
- /package/app/dist/assets/{tcl-BQwTCs7_.js → tcl-5mT3RxHH.js} +0 -0
- /package/app/dist/assets/{terraform-DQhgYyF5.js → terraform-BZP0GLsT.js} +0 -0
- /package/app/dist/assets/{tokyo-night-DxL5lL62.js → tokyo-night-CTPVdZt9.js} +0 -0
- /package/app/dist/assets/{toml-BncMjmx0.js → toml-CTFA98he.js} +0 -0
- /package/app/dist/assets/{tsv--yOlbuAc.js → tsv-BayJtYdY.js} +0 -0
- /package/app/dist/assets/{turtle-ZCrKgE8E.js → turtle-TVCBh_kY.js} +0 -0
- /package/app/dist/assets/{typespec-9rD7KG94.js → typespec-BUvaJDLF.js} +0 -0
- /package/app/dist/assets/{typst-DJ10KoY6.js → typst-8NBaY7Ec.js} +0 -0
- /package/app/dist/assets/{v-CutuAYrg.js → v-VihyTigi.js} +0 -0
- /package/app/dist/assets/{vala-DJpFErrU.js → vala-DyFAPyX6.js} +0 -0
- /package/app/dist/assets/{vb-DQuyY02M.js → vb-Dg1Iqi4J.js} +0 -0
- /package/app/dist/assets/{verilog-BuvxZrtu.js → verilog-D2Xc-vhD.js} +0 -0
- /package/app/dist/assets/{vesper-bM1AKkiO.js → vesper-DJbtqYNr.js} +0 -0
- /package/app/dist/assets/{vhdl-pScFq2IF.js → vhdl-CU3BVeE7.js} +0 -0
- /package/app/dist/assets/{viml-LZIbwXqf.js → viml-hG2shuOW.js} +0 -0
- /package/app/dist/assets/{vitesse-black-BhKXUSxn.js → vitesse-black-DbG2gsc0.js} +0 -0
- /package/app/dist/assets/{vitesse-dark-BzqhRcAC.js → vitesse-dark-B6WV4xXH.js} +0 -0
- /package/app/dist/assets/{vitesse-light-C6rj90Ld.js → vitesse-light-DC1pdD02.js} +0 -0
- /package/app/dist/assets/{vyper-CAC2wkEx.js → vyper-C1wojIuk.js} +0 -0
- /package/app/dist/assets/{wasm-JuQDwMf4.js → wasm-C6Y0s02M.js} +0 -0
- /package/app/dist/assets/{wasm-C9fkFrNS.js → wasm-y20ImDym.js} +0 -0
- /package/app/dist/assets/{wenyan-BtC3dCkd.js → wenyan-BG5vPQF0.js} +0 -0
- /package/app/dist/assets/{wgsl-BfhDoYq0.js → wgsl-DrVb-Cub.js} +0 -0
- /package/app/dist/assets/{wikitext-BN0a9cMl.js → wikitext-PRC4s8sH.js} +0 -0
- /package/app/dist/assets/{wit-B5eB3VJ4.js → wit-ChW5qvg_.js} +0 -0
- /package/app/dist/assets/{wolfram-hGtNh8mf.js → wolfram-B8mKuZSQ.js} +0 -0
- /package/app/dist/assets/{xterm-CoRq-s8T.js → xterm-DGJHbKBQ.js} +0 -0
- /package/app/dist/assets/{zenscript-Dl5s7Kfy.js → zenscript-C-jEPC9j.js} +0 -0
- /package/app/dist/assets/{zig-Dashm4F0.js → zig-EbnRGjcz.js} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{Ki as e,Vi as t,ri as n,vi as r}from"./page-shell-Dglk9LmR.js";var i=e(t(),1),a=`modulepreload`,o=function(e){return`/`+e},s={},c=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),c=i?.nonce||i?.getAttribute(`nonce`);function l(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=l(t.map(t=>{if(t=o(t,n),t in s)return;s[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let l=document.createElement(`link`);if(l.rel=r?`stylesheet`:a,r||(l.as=`script`),l.crossOrigin=``,l.href=t,c&&l.setAttribute(`nonce`,c),document.head.appendChild(l),r)return new Promise((e,n)=>{l.addEventListener(`load`,e),l.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},l=`popstate`;function u(e={}){function t(e,t){let{pathname:n,search:r,hash:i}=e.location;return h(``,{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||`default`)}function n(e,t){return typeof t==`string`?t:g(t)}return v(t,n,null,e)}function d(e,t){if(e===!1||e==null)throw Error(t)}function f(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function p(){return Math.random().toString(36).substring(2,10)}function m(e,t){return{usr:e.state,key:e.key,idx:t}}function h(e,t,n=null,r){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?_(t):t,state:n,key:t&&t.key||r||p()}}function g({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function _(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function v(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,u=d();u??(u=0,o.replaceState({...o.state,idx:u},``));function d(){return(o.state||{idx:null}).idx}function f(){s=`POP`;let e=d(),t=e==null?null:e-u;u=e,c&&c({action:s,location:v.location,delta:t})}function p(e,t){s=`PUSH`;let r=h(v.location,e,t);n&&n(r,e),u=d()+1;let l=m(r,u),f=v.createHref(r);try{o.pushState(l,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:v.location,delta:1})}function g(e,t){s=`REPLACE`;let r=h(v.location,e,t);n&&n(r,e),u=d();let i=m(r,u),l=v.createHref(r);o.replaceState(i,``,l),a&&c&&c({action:s,location:v.location,delta:0})}function _(e){return y(e)}let v={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(l,f),c=e,()=>{i.removeEventListener(l,f),c=null}},createHref(e){return t(i,e)},createURL:_,encodeLocation(e){let t=_(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:p,replace:g,go(e){return o.go(e)}};return v}function y(e,t=!1){let n=`http://localhost`;typeof window<`u`&&(n=window.location.origin===`null`?window.location.href:window.location.origin),d(n,`No window.location.(origin|href) available to create URL`);let r=typeof e==`string`?e:g(e);return r=r.replace(/ $/,`%20`),!t&&r.startsWith(`//`)&&(r=n+r),new URL(r,n)}function b(e,t,n=`/`){return x(e,t,n,!1)}function x(e,t,n,r){let i=D((typeof t==`string`?_(t):t).pathname||`/`,n);if(i==null)return null;let a=C(e);T(a);let o=null;for(let e=0;o==null&&e<a.length;++e){let t=de(i);o=le(a[e],t,r)}return o}function S(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function C(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;d(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=A([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(d(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),C(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:se(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of w(e.path))a(e,t,!0,n)}),t}function w(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=w(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function T(e){e.sort((e,t)=>e.score===t.score?ce(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var ee=/^:[\w-]+$/,te=3,ne=2,re=1,ie=10,ae=-2,oe=e=>e===`*`;function se(e,t){let n=e.split(`/`),r=n.length;return n.some(oe)&&(r+=ae),t&&(r+=ne),n.filter(e=>!oe(e)).reduce((e,t)=>e+(ee.test(t)?te:t===``?re:ie),r)}function ce(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function le(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=E({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=E({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:A([a,u.pathname]),pathnameBase:_e(A([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=A([a,u.pathnameBase]))}return o}function E(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=ue(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function ue(e,t=!1,n=!0){f(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:n!=null}),n?`/?([^\\/]+)?`:`/([^\\/]+)`)).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function de(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return f(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function D(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var fe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function pe(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?_(e):e,a;return n?(n=n.replace(/\/\/+/g,`/`),a=n.startsWith(`/`)?me(n.substring(1),`/`):me(n,t)):a=t,{pathname:a,search:ve(r),hash:ye(i)}}function me(e,t){let n=t.replace(/\/+$/,``).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function O(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function he(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function ge(e){let t=he(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function k(e,t,n,r=!1){let i;typeof e==`string`?i=_(e):(i={...e},d(!i.pathname||!i.pathname.includes(`?`),O(`?`,`pathname`,`search`,i)),d(!i.pathname||!i.pathname.includes(`#`),O(`#`,`pathname`,`hash`,i)),d(!i.search||!i.search.includes(`#`),O(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=pe(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var A=e=>e.join(`/`).replace(/\/\/+/g,`/`),_e=e=>e.replace(/\/+$/,``).replace(/^\/*/,`/`),ve=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,ye=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,be=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function xe(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function Se(e){return e.map(e=>e.route.path).filter(Boolean).join(`/`).replace(/\/\/*/g,`/`)||`/`}var Ce=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function we(e,t){let n=e;if(typeof n!=`string`||!fe.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Ce)try{let e=new URL(window.location.href),r=n.startsWith(`//`)?new URL(e.protocol+n):new URL(n),a=D(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{f(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Te=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(Te);var Ee=[`GET`,...Te];new Set(Ee);var j=i.createContext(null);j.displayName=`DataRouter`;var M=i.createContext(null);M.displayName=`DataRouterState`;var De=i.createContext(!1),Oe=i.createContext({isTransitioning:!1});Oe.displayName=`ViewTransition`;var ke=i.createContext(new Map);ke.displayName=`Fetchers`;var Ae=i.createContext(null);Ae.displayName=`Await`;var N=i.createContext(null);N.displayName=`Navigation`;var P=i.createContext(null);P.displayName=`Location`;var F=i.createContext({outlet:null,matches:[],isDataRoute:!1});F.displayName=`Route`;var I=i.createContext(null);I.displayName=`RouteError`;var je=`REACT_ROUTER_ERROR`,Me=`REDIRECT`,Ne=`ROUTE_ERROR_RESPONSE`;function Pe(e){if(e.startsWith(`${je}:${Me}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function Fe(e){if(e.startsWith(`${je}:${Ne}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new be(t.status,t.statusText,t.data)}catch{}}function Ie(e,{relative:t}={}){d(L(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=i.useContext(N),{hash:a,pathname:o,search:s}=B(e,{relative:t}),c=o;return n!==`/`&&(c=o===`/`?n:A([n,o])),r.createHref({pathname:c,search:s,hash:a})}function L(){return i.useContext(P)!=null}function R(){return d(L(),`useLocation() may be used only in the context of a <Router> component.`),i.useContext(P).location}function Le(e){d(L(),`useMatch() may be used only in the context of a <Router> component.`);let{pathname:t}=R();return i.useMemo(()=>E(e,de(t)),[t,e])}var Re=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function ze(e){i.useContext(N).static||i.useLayoutEffect(e)}function z(){let{isDataRoute:e}=i.useContext(F);return e?nt():Be()}function Be(){d(L(),`useNavigate() may be used only in the context of a <Router> component.`);let e=i.useContext(j),{basename:t,navigator:n}=i.useContext(N),{matches:r}=i.useContext(F),{pathname:a}=R(),o=JSON.stringify(ge(r)),s=i.useRef(!1);return ze(()=>{s.current=!0}),i.useCallback((r,i={})=>{if(f(s.current,Re),!s.current)return;if(typeof r==`number`){n.go(r);return}let c=k(r,JSON.parse(o),a,i.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:A([t,c.pathname])),(i.replace?n.replace:n.push)(c,i.state,i)},[t,n,o,a,e])}i.createContext(null);function Ve(){let{matches:e}=i.useContext(F),t=e[e.length-1];return t?t.params:{}}function B(e,{relative:t}={}){let{matches:n}=i.useContext(F),{pathname:r}=R(),a=JSON.stringify(ge(n));return i.useMemo(()=>k(e,JSON.parse(a),r,t===`path`),[e,a,r,t])}function He(e,t){return Ue(e,t)}function Ue(e,t,n,r,a){d(L(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:o}=i.useContext(N),{matches:s}=i.useContext(F),c=s[s.length-1],l=c?c.params:{},u=c?c.pathname:`/`,p=c?c.pathnameBase:`/`,m=c&&c.route;{let e=m&&m.path||``;it(u,!m||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
2
|
-
|
|
3
|
-
Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let h=R(),g;if(t){let e=typeof t==`string`?_(t):t;d(p===`/`||e.pathname?.startsWith(p),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${e.pathname}" was given in the \`location\` prop.`),g=e}else g=h;let v=g.pathname||`/`,y=v;if(p!==`/`){let e=p.replace(/^\//,``).split(`/`);y=`/`+v.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let x=b(e,{pathname:y});f(m||x!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),f(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let S=Ye(x&&x.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:A([p,o.encodeLocation?o.encodeLocation(e.pathname.replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?p:A([p,o.encodeLocation?o.encodeLocation(e.pathnameBase.replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),s,n,r,a);return t&&S?i.createElement(P.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,...g},navigationType:`POP`}},S):S}function We(){let e=tt(),t=xe(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,a={padding:`0.5rem`,backgroundColor:r},o={padding:`2px 4px`,backgroundColor:r},s=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),s=i.createElement(i.Fragment,null,i.createElement(`p`,null,`💿 Hey developer 👋`),i.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,i.createElement(`code`,{style:o},`ErrorBoundary`),` or`,` `,i.createElement(`code`,{style:o},`errorElement`),` prop on your route.`)),i.createElement(i.Fragment,null,i.createElement(`h2`,null,`Unexpected Application Error!`),i.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?i.createElement(`pre`,{style:a},n):null,s)}var Ge=i.createElement(We,null),Ke=class extends i.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=Fe(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:i.createElement(F.Provider,{value:this.props.routeContext},i.createElement(I.Provider,{value:e,children:this.props.component}));return this.context?i.createElement(qe,{error:e},t):t}};Ke.contextType=De;var V=new WeakMap;function qe({children:e,error:t}){let{basename:n}=i.useContext(N);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=Pe(t.digest);if(e){let r=V.get(t);if(r)throw r;let a=we(e.location,n);if(Ce&&!V.get(t))if(a.isExternal||e.reloadDocument)window.location.href=a.absoluteURL||a.to;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw V.set(t,n),n}return i.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${a.absoluteURL||a.to}`})}}return e}function Je({routeContext:e,match:t,children:n}){let r=i.useContext(j);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),i.createElement(F.Provider,{value:e},n)}function Ye(e,t=[],n=null,r=null,a=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=n?.errors;if(s!=null){let e=o.findIndex(e=>e.route.id&&s?.[e.route.id]!==void 0);d(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(`,`)}`),o=o.slice(0,Math.min(o.length,e+1))}let c=!1,l=-1;if(n)for(let e=0;e<o.length;e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(l=e),t.route.id){let{loaderData:e,errors:r}=n,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!r||r[t.route.id]===void 0);if(t.route.lazy||i){c=!0,o=l>=0?o.slice(0,l+1):[o[0]];break}}}let u=n&&r?(e,t)=>{r(e,{location:n.location,params:n.matches?.[0]?.params??{},unstable_pattern:Se(n.matches),errorInfo:t})}:void 0;return o.reduceRight((e,r,a)=>{let d,f=!1,p=null,m=null;n&&(d=s&&r.route.id?s[r.route.id]:void 0,p=r.route.errorElement||Ge,c&&(l<0&&a===0?(it(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,m=null):l===a&&(f=!0,m=r.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,a+1)),g=()=>{let t;return t=d?p:f?m:r.route.Component?i.createElement(r.route.Component,null):r.route.element?r.route.element:e,i.createElement(Je,{match:r,routeContext:{outlet:e,matches:h,isDataRoute:n!=null},children:t})};return n&&(r.route.ErrorBoundary||r.route.errorElement||a===0)?i.createElement(Ke,{location:n.location,revalidation:n.revalidation,component:p,error:d,children:g(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:u}):g()},null)}function H(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Xe(e){let t=i.useContext(j);return d(t,H(e)),t}function U(e){let t=i.useContext(M);return d(t,H(e)),t}function Ze(e){let t=i.useContext(F);return d(t,H(e)),t}function W(e){let t=Ze(e),n=t.matches[t.matches.length-1];return d(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Qe(){return W(`useRouteId`)}function $e(){return U(`useNavigation`).navigation}function et(){let{matches:e,loaderData:t}=U(`useMatches`);return i.useMemo(()=>e.map(e=>S(e,t)),[e,t])}function tt(){let e=i.useContext(I),t=U(`useRouteError`),n=W(`useRouteError`);return e===void 0?t.errors?.[n]:e}function nt(){let{router:e}=Xe(`useNavigate`),t=W(`useNavigate`),n=i.useRef(!1);return ze(()=>{n.current=!0}),i.useCallback(async(r,i={})=>{f(n.current,Re),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var rt={};function it(e,t,n){!t&&!rt[e]&&(rt[e]=!0,f(!1,n))}i.memo(at);function at({routes:e,future:t,state:n,onError:r}){return Ue(e,void 0,n,r,t)}function ot({to:e,replace:t,state:n,relative:r}){d(L(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:a}=i.useContext(N);f(!a,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:o}=i.useContext(F),{pathname:s}=R(),c=z(),l=k(e,ge(o),s,r===`path`),u=JSON.stringify(l);return i.useEffect(()=>{c(JSON.parse(u),{replace:t,state:n,relative:r})},[c,u,r,t,n]),null}function st(e){d(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function ct({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:a,static:o=!1,unstable_useTransitions:s}){d(!L(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let c=e.replace(/^\/*/,`/`),l=i.useMemo(()=>({basename:c,navigator:a,static:o,unstable_useTransitions:s,future:{}}),[c,a,o,s]);typeof n==`string`&&(n=_(n));let{pathname:u=`/`,search:p=``,hash:m=``,state:h=null,key:g=`default`}=n,v=i.useMemo(()=>{let e=D(u,c);return e==null?null:{location:{pathname:e,search:p,hash:m,state:h,key:g},navigationType:r}},[c,u,p,m,h,g,r]);return f(v!=null,`<Router basename="${c}"> is not able to match the URL "${u}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),v==null?null:i.createElement(N.Provider,{value:l},i.createElement(P.Provider,{children:t,value:v}))}function lt({children:e,location:t}){return He(G(e),t)}i.Component;function G(e,t=[]){let n=[];return i.Children.forEach(e,(e,r)=>{if(!i.isValidElement(e))return;let a=[...t,r];if(e.type===i.Fragment){n.push.apply(n,G(e.props.children,a));return}d(e.type===st,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),d(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let o={id:e.props.id||a.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=G(e.props.children,a)),n.push(o)}),n}var K=`get`,q=`application/x-www-form-urlencoded`;function J(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function ut(e){return J(e)&&e.tagName.toLowerCase()===`button`}function dt(e){return J(e)&&e.tagName.toLowerCase()===`form`}function ft(e){return J(e)&&e.tagName.toLowerCase()===`input`}function pt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function mt(e,t){return e.button===0&&(!t||t===`_self`)&&!pt(e)}function Y(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function ht(e,t){let n=Y(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var X=null;function gt(){if(X===null)try{new FormData(document.createElement(`form`),0),X=!1}catch{X=!0}return X}var _t=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function vt(e){return e!=null&&!_t.has(e)?(f(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${q}"`),null):e}function yt(e,t){let n,r,i,a,o;if(dt(e)){let o=e.getAttribute(`action`);r=o?D(o,t):null,n=e.getAttribute(`method`)||K,i=vt(e.getAttribute(`enctype`))||q,a=new FormData(e)}else if(ut(e)||ft(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?D(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||K,i=vt(e.getAttribute(`formenctype`))||vt(o.getAttribute(`enctype`))||q,a=new FormData(o,e),!gt()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(J(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=K,r=null,i=q,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var bt={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},xt=/[&><\u2028\u2029]/g;function St(e){return e.replace(xt,e=>bt[e])}function Ct(e,t){if(e===!1||e==null)throw Error(t)}function wt(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&D(i.pathname,t)===`/`?i.pathname=`${t.replace(/\/$/,``)}/_root.${r}`:i.pathname=`${i.pathname.replace(/\/$/,``)}.${r}`,i}async function Tt(e,t){if(e.id in t)return t[e.id];try{let n=await c(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function Et(e){return e!=null&&typeof e.page==`string`}function Dt(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function Ot(e,t,n){return Nt((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Tt(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(Dt).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function kt(e,t,n,r,i,a){let o=(e,t)=>n[t]?e.route.id!==n[t].route.id:!0,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function At(e,t,{includeHydrateFallback:n}={}){return jt(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function jt(e){return[...new Set(e)]}function Mt(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function Nt(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!Et(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(Mt(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function Pt(){let e=i.useContext(j);return Ct(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function Ft(){let e=i.useContext(M);return Ct(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var Z=i.createContext(void 0);Z.displayName=`FrameworkContext`;function It(){let e=i.useContext(Z);return Ct(e,`You must render this element inside a <HydratedRouter> element`),e}function Lt(e,t){let n=i.useContext(Z),[r,a]=i.useState(!1),[o,s]=i.useState(!1),{onFocus:c,onBlur:l,onMouseEnter:u,onMouseLeave:d,onTouchStart:f}=t,p=i.useRef(null);i.useEffect(()=>{if(e===`render`&&s(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{s(e.isIntersecting)})},{threshold:.5});return p.current&&e.observe(p.current),()=>{e.disconnect()}}},[e]),i.useEffect(()=>{if(r){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[r]);let m=()=>{a(!0)},h=()=>{a(!1),s(!1)};return n?e===`intent`?[o,p,{onFocus:Q(c,m),onBlur:Q(l,h),onMouseEnter:Q(u,m),onMouseLeave:Q(d,h),onTouchStart:Q(f,m)}]:[o,p,{}]:[!1,p,{}]}function Q(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Rt({page:e,...t}){let{router:n}=Pt(),r=i.useMemo(()=>b(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?i.createElement(Bt,{page:e,matches:r,...t}):null}function zt(e){let{manifest:t,routeModules:n}=It(),[r,a]=i.useState([]);return i.useEffect(()=>{let r=!1;return Ot(e,t,n).then(e=>{r||a(e)}),()=>{r=!0}},[e,t,n]),r}function Bt({page:e,matches:t,...n}){let r=R(),{future:a,manifest:o,routeModules:s}=It(),{basename:c}=Pt(),{loaderData:l,matches:u}=Ft(),d=i.useMemo(()=>kt(e,t,u,o,r,`data`),[e,t,u,o,r]),f=i.useMemo(()=>kt(e,t,u,o,r,`assets`),[e,t,u,o,r]),p=i.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,i=!1;if(t.forEach(e=>{let t=o.routes[e.route.id];!t||!t.hasLoader||(!d.some(t=>t.route.id===e.route.id)&&e.route.id in l&&s[e.route.id]?.shouldRevalidate||t.hasClientLoader?i=!0:n.add(e.route.id))}),n.size===0)return[];let u=wt(e,c,a.unstable_trailingSlashAwareDataRequests,`data`);return i&&n.size>0&&u.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[u.pathname+u.search]},[c,a.unstable_trailingSlashAwareDataRequests,l,r,o,d,t,e,s]),m=i.useMemo(()=>At(f,o),[f,o]),h=zt(f);return i.createElement(i.Fragment,null,p.map(e=>i.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),m.map(e=>i.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),h.map(({key:e,link:t})=>i.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function Vt(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}i.Component;var Ht=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{Ht&&(window.__reactRouterVersion=`7.13.0`)}catch{}function Ut({basename:e,children:t,unstable_useTransitions:n,window:r}){let a=i.useRef();a.current??=u({window:r,v5Compat:!0});let o=a.current,[s,c]=i.useState({action:o.action,location:o.location}),l=i.useCallback(e=>{n===!1?c(e):i.startTransition(()=>c(e))},[n]);return i.useLayoutEffect(()=>o.listen(l),[o,l]),i.createElement(ct,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:o,unstable_useTransitions:n})}function Wt({basename:e,children:t,history:n,unstable_useTransitions:r}){let[a,o]=i.useState({action:n.action,location:n.location}),s=i.useCallback(e=>{r===!1?o(e):i.startTransition(()=>o(e))},[r]);return i.useLayoutEffect(()=>n.listen(s),[n,s]),i.createElement(ct,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:n,unstable_useTransitions:r})}Wt.displayName=`unstable_HistoryRouter`;var Gt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Kt=i.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:a,replace:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m){let{basename:h,unstable_useTransitions:g}=i.useContext(N),_=typeof l==`string`&&Gt.test(l),v=we(l,h);l=v.to;let y=Ie(l,{relative:r}),[b,x,S]=Lt(n,p),C=$t(l,{replace:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,unstable_defaultShouldRevalidate:f,unstable_useTransitions:g});function w(t){e&&e(t),t.defaultPrevented||C(t)}let T=i.createElement(`a`,{...p,...S,href:v.absoluteURL||y,onClick:v.isExternal||a?e:w,ref:Vt(m,x),target:c,"data-discover":!_&&t===`render`?`true`:void 0});return b&&!_?i.createElement(i.Fragment,null,T,i.createElement(Rt,{page:y})):T});Kt.displayName=`Link`;var qt=i.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:a,to:o,viewTransition:s,children:c,...l},u){let d=B(o,{relative:l.relative}),f=R(),p=i.useContext(M),{navigator:m,basename:h}=i.useContext(N),g=p!=null&&un(d)&&s===!0,_=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,v=f.pathname,y=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;t||(v=v.toLowerCase(),y=y?y.toLowerCase():null,_=_.toLowerCase()),y&&h&&(y=D(y,h)||y);let b=_!==`/`&&_.endsWith(`/`)?_.length-1:_.length,x=v===_||!r&&v.startsWith(_)&&v.charAt(b)===`/`,S=y!=null&&(y===_||!r&&y.startsWith(_)&&y.charAt(_.length)===`/`),C={isActive:x,isPending:S,isTransitioning:g},w=x?e:void 0,T;T=typeof n==`function`?n(C):[n,x?`active`:null,S?`pending`:null,g?`transitioning`:null].filter(Boolean).join(` `);let ee=typeof a==`function`?a(C):a;return i.createElement(Kt,{...l,"aria-current":w,className:T,ref:u,style:ee,to:o,viewTransition:s},typeof c==`function`?c(C):c)});qt.displayName=`NavLink`;var Jt=i.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:a,state:o,method:s=K,action:c,onSubmit:l,relative:u,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:p,...m},h)=>{let{unstable_useTransitions:g}=i.useContext(N),_=rn(),v=an(c,{relative:u}),y=s.toLowerCase()===`get`?`get`:`post`,b=typeof c==`string`&&Gt.test(c);return i.createElement(`form`,{ref:h,method:y,action:v,onSubmit:r?l:e=>{if(l&&l(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,c=r?.getAttribute(`formmethod`)||s,m=()=>_(r||e.currentTarget,{fetcherKey:t,method:c,navigate:n,replace:a,state:o,relative:u,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:p});g&&n!==!1?i.startTransition(()=>m()):m()},...m,"data-discover":!b&&e===`render`?`true`:void 0})});Jt.displayName=`Form`;function Yt({getKey:e,storageKey:t,...n}){let r=i.useContext(Z),{basename:a}=i.useContext(N),o=R(),s=et();cn({getKey:e,storageKey:t});let c=i.useMemo(()=>{if(!r||!e)return null;let t=sn(o,s,a,e);return t===o.key?null:t},[]);if(!r||r.isSpaMode)return null;let l=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return i.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${l})(${St(JSON.stringify(t||on))}, ${St(JSON.stringify(c))})`}})}Yt.displayName=`ScrollRestoration`;function Xt(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Zt(e){let t=i.useContext(j);return d(t,Xt(e)),t}function Qt(e){let t=i.useContext(M);return d(t,Xt(e)),t}function $t(e,{target:t,replace:n,state:r,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c,unstable_useTransitions:l}={}){let u=z(),d=R(),f=B(e,{relative:o});return i.useCallback(p=>{if(mt(p,t)){p.preventDefault();let t=n===void 0?g(d)===g(f):n,m=()=>u(e,{replace:t,state:r,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c});l?i.startTransition(()=>m()):m()}},[d,u,f,n,r,t,e,a,o,s,c,l])}function en(e){f(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=i.useRef(Y(e)),n=i.useRef(!1),r=R(),a=i.useMemo(()=>ht(r.search,n.current?null:t.current),[r.search]),o=z();return[a,i.useCallback((e,t)=>{let r=Y(typeof e==`function`?e(new URLSearchParams(a)):e);n.current=!0,o(`?`+r,t)},[o,a])]}var tn=0,nn=()=>`__${String(++tn)}__`;function rn(){let{router:e}=Zt(`useSubmit`),{basename:t}=i.useContext(N),n=Qe(),r=e.fetch,a=e.navigate;return i.useCallback(async(e,i={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=yt(e,t);i.navigate===!1?await r(i.fetcherKey||nn(),n,i.action||o,{unstable_defaultShouldRevalidate:i.unstable_defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:l,body:u,formMethod:i.method||s,formEncType:i.encType||c,flushSync:i.flushSync}):await a(i.action||o,{unstable_defaultShouldRevalidate:i.unstable_defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:l,body:u,formMethod:i.method||s,formEncType:i.encType||c,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[r,a,t,n])}function an(e,{relative:t}={}){let{basename:n}=i.useContext(N),r=i.useContext(F);d(r,`useFormAction must be used inside a RouteContext`);let[a]=r.matches.slice(-1),o={...B(e||`.`,{relative:t})},s=R();if(e==null){o.search=s.search;let e=new URLSearchParams(o.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();o.search=n?`?${n}`:``}}return(!e||e===`.`)&&a.route.index&&(o.search=o.search?o.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(o.pathname=o.pathname===`/`?n:A([n,o.pathname])),g(o)}var on=`react-router-scroll-positions`,$={};function sn(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:D(e.pathname,n)||e.pathname},t)),i??=e.key,i}function cn({getKey:e,storageKey:t}={}){let{router:n}=Zt(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:a}=Qt(`useScrollRestoration`),{basename:o}=i.useContext(N),s=R(),c=et(),l=$e();i.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),ln(i.useCallback(()=>{if(l.state===`idle`){let t=sn(s,c,o,e);$[t]=window.scrollY}try{sessionStorage.setItem(t||on,JSON.stringify($))}catch(e){f(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[l.state,e,o,s,c,t])),typeof document<`u`&&(i.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||on);e&&($=JSON.parse(e))}catch{}},[t]),i.useLayoutEffect(()=>{let t=n?.enableScrollRestoration($,()=>window.scrollY,e?(t,n)=>sn(t,n,o,e):void 0);return()=>t&&t()},[n,o,e]),i.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(s.hash){let e=document.getElementById(decodeURIComponent(s.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{f(!1,`"${s.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}a!==!0&&window.scrollTo(0,0)}},[s,r,a]))}function ln(e,t){let{capture:n}=t||{};i.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function un(e,{relative:t}={}){let n=i.useContext(Oe);d(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Zt(`useViewTransitionState`),a=B(e,{relative:t});if(!n.isTransitioning)return!1;let o=D(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=D(n.nextLocation.pathname,r)||n.nextLocation.pathname;return E(a.pathname,s)!=null||E(a.pathname,o)!=null}var dn=r(),fn={default:`border-transparent bg-primary text-primary-foreground`,secondary:`border-transparent bg-secondary text-secondary-foreground`,destructive:`border-transparent bg-destructive text-white`,outline:`border-border bg-background text-foreground`,emphasis:`border-transparent bg-foreground text-background`};function pn({variant:e,className:t,children:r}){return(0,dn.jsx)(`span`,{className:n(`inline-flex items-center rounded-sm border px-1.5 py-0 text-xs leading-none`,fn[e],t),children:(0,dn.jsx)(`span`,{className:`min-w-0 truncate`,children:r})})}export{ot as a,E as c,z as d,Ve as f,qt as i,R as l,c as m,Ut as n,st as o,en as p,Kt as r,lt as s,pn as t,Le as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ki as e,Vi as t,Xr as n,ni as r,ri as i,vi as a}from"./page-shell-Dglk9LmR.js";import{Nt as o,c as s,d as c,i as l,l as u,o as d,u as f}from"./effective-hosts-BWRuszG7.js";var p=e(t(),1),m=a(),h=o;function g({primaryAction:e,secondaryActions:t,disabled:a=!1,className:o,triggerLabel:g=`More actions`,mobileTitle:_,defaultOpen:v,modal:y}){let b=i(n({variant:`outline`,size:`sm`}),h,o);return(0,m.jsxs)(`div`,{className:`inline-flex items-center`,children:[(0,m.jsx)(`button`,{type:`button`,disabled:a,className:i(b,`rounded-r-none border-r-0 pr-1 focus-visible:z-10`),"aria-label":e.label,title:e.label,onClick:e.onSelect,children:e.content??e.label}),(0,m.jsxs)(l,{defaultOpen:v,modal:y,children:[(0,m.jsx)(c,{asChild:!0,children:(0,m.jsx)(`button`,{type:`button`,disabled:a,className:i(b,`rounded-l-none border-l-0 px-1 pl-0 focus-visible:z-10`,`data-[state=open]:bg-state-active data-[state=open]:text-foreground`),"aria-label":g,title:g,children:(0,m.jsx)(r,{name:`ChevronDown`,className:`size-3`})})}),(0,m.jsx)(d,{align:`end`,sideOffset:2,mobileTitle:_,children:t.map((e,n)=>{let r=t[n-1];return(0,m.jsxs)(p.Fragment,{children:[e.groupLabel!==void 0&&e.groupLabel!==r?.groupLabel?(0,m.jsxs)(m.Fragment,{children:[n>0?(0,m.jsx)(f,{}):null,(0,m.jsx)(u,{children:e.groupLabel})]}):null,(0,m.jsx)(s,{onSelect:e.onSelect,textValue:e.label,children:e.content??e.label})]},e.label)})})]})]})}export{g as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,$t as t,A as n,Ct as r,Di as i,Dt as a,Ei as o,H as s,K as c,Nn as l,Oi as u,On as d,Qt as f,R as p,Rt as m,Ti as ee,V as te,Yt as ne,Zt as re,_i as h,_n as ie,ai as g,bi as ae,ct as _,dn as v,dt as y,en as oe,fn as se,ft as b,gn as ce,gt as le,hn as x,ht as S,ii as C,k as ue,l as de,lt as fe,mt as w,nn as pe,o as me,oi as T,ot as E,pn as D,rn as O,rt as k,s as A,st as j,tn as M,u as N,un as P,ut as F,xt as I,yt as L}from"./page-shell-Dglk9LmR.js";import{N as R,O as z,P as he,_ as B,b as V,d as ge,l as _e,u as H}from"./mutation-cache-effects-BQHFwGL7.js";function U(e){return{onFetch:(t,n)=>{let r=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],c=t.state.data?.pageParams||[],l={pages:[],pageParams:[]},d=0,f=async()=>{let n=!1,f=e=>{ee(e,()=>t.signal,()=>n=!0)},p=u(t.options,t.fetchOptions),m=async(e,r,a)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let s=await p((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:a?`backward`:`forward`,meta:t.options.meta};return f(e),e})()),{maxPages:c}=t.options,l=a?i:o;return{pages:l(e.pages,s,c),pageParams:l(e.pageParams,r,c)}};if(a&&s.length){let e=a===`backward`,t=e?G:W,n={pages:s,pageParams:c};l=await m(n,t(r,n),e)}else{let t=e??s.length;do{let e=d===0?c[0]??r.initialPageParam:W(r,l);if(d>0&&e==null)break;l=await m(l,e),d++}while(d<t)}return l};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=f}}}function W(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function G(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function ve(e,t){return t?W(e,t)!=null:!1}function ye(e,t){return!t||!e.getPreviousPageParam?!1:G(e,t)!=null}var be=class extends ae{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:U()})}getOptimisticResult(e){return e.behavior=U(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:`forward`}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:`backward`}}})}createResult(e,t){let{state:n}=e,r=super.createResult(e,t),{isFetching:i,isRefetching:a,isError:o,isRefetchError:s}=r,c=n.fetchMeta?.fetchMore?.direction,l=o&&c===`forward`,u=i&&c===`forward`,d=o&&c===`backward`,f=i&&c===`backward`;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:ve(t,n.data),hasPreviousPage:ye(t,n.data),isFetchNextPageError:l,isFetchingNextPage:u,isFetchPreviousPageError:d,isFetchingPreviousPage:f,isRefetchError:s&&!l&&!d,isRefetching:a&&!u&&!f}}};function xe(e,t){return T(e,be,t)}function Se(e){return e.title&&e.title.trim().length>0?e.title:e.titleFallback&&e.titleFallback.trim().length>0?e.titleFallback:`Thread ${e.id.slice(0,8)}`}function Ce(e){return e===`manager`?`manager`:`thread`}function K(e){return he(e,{queryKey:r()})}function q(e,t){R(e,{queryKey:r(),mapper:e=>e.filter(e=>e.id!==t)})}function J(e,t){for(let{queryKey:n,data:r}of t)e.setQueryData(n,r)}function Y({queryClient:e,thread:t}){R(e,{queryKey:r(),mapper:e=>e.map(e=>e.id===t.id?{...e,...t}:e)})}function we(){let e=h();return C({meta:{errorMessage:`Failed to update thread.`},mutationFn:({id:e,...t})=>l(e,t),onSuccess:t=>{e.setQueryData(w(t.id),t),ge({queryClient:e})}})}function Te(){let e=h();return C({meta:{errorMessage:`Failed to archive thread.`,showErrorToast:!1},mutationFn:({id:e})=>a(e),onMutate:async({id:t})=>{await e.cancelQueries({queryKey:w(t)}),await e.cancelQueries({queryKey:r()});let n=e.getQueryData(w(t)),i=K(e),a=Date.now();return e.setQueryData(w(t),e=>e&&{...e,archivedAt:a}),q(e,t),{previousThread:n,previousThreadLists:i}},onError:(t,n,r)=>{r&&(e.setQueryData(w(n.id),r.previousThread),J(e,r.previousThreadLists))},onSettled:(t,n,r)=>{H({queryClient:e,threadId:r.id})}})}function Ee(){let e=h();return C({meta:{errorMessage:`Failed to unarchive thread.`},mutationFn:({id:e})=>d(e),onMutate:async({id:t})=>{await e.cancelQueries({queryKey:w(t)}),await e.cancelQueries({queryKey:r()});let n=e.getQueryData(w(t)),i=K(e);return e.setQueryData(w(t),e=>e&&{...e,archivedAt:null}),q(e,t),{previousThread:n,previousThreadLists:i}},onError:(t,n,r)=>{r&&(e.setQueryData(w(n.id),r.previousThread),J(e,r.previousThreadLists))},onSettled:(t,n,r)=>{H({queryClient:e,threadId:r.id})}})}function De(){let t=h();return C({meta:{errorMessage:`Failed to delete thread.`},mutationFn:({id:e,managerChildThreadsConfirmed:t})=>m(e,{managerChildThreadsConfirmed:t}),onMutate:async({id:n})=>{await t.cancelQueries({queryKey:w(n)}),await t.cancelQueries({queryKey:r()}),await t.cancelQueries({queryKey:e()});let i=t.getQueryData(w(n)),a=K(t),o=t.getQueryData(e()),s=i?.environmentId;return B({queryClient:t,threadId:n}),V({environmentId:s,queryClient:t}),q(t,n),{previousThread:i,previousThreadLists:a,previousProjects:o,environmentId:s}},onError:(n,r,i)=>{i&&(t.setQueryData(w(r.id),i.previousThread),J(t,i.previousThreadLists),t.setQueryData(e(),i.previousProjects))},onSettled:(e,n,r,i)=>{B({queryClient:t,threadId:r.id}),V({environmentId:i?.environmentId,queryClient:t}),_e({queryClient:t})}})}function Oe(){let e=h();return C({meta:{errorMessage:`Failed to mark thread read.`,showErrorToast:!1},mutationFn:e=>ce(e),onSuccess:t=>{e.setQueryData(w(t.id),t),Y({queryClient:e,thread:t})}})}function ke(){let e=h();return C({meta:{errorMessage:`Failed to mark thread unread.`,showErrorToast:!1},mutationFn:e=>ie(e),onSuccess:t=>{e.setQueryData(w(t.id),t),Y({queryClient:e,thread:t})}})}function X(e,t){if(!e||e[0]!==t)return;let n=e[1];return typeof n==`string`?n:void 0}function Z(e,t,n,r){if(e!==void 0)return X(t,r)===n?e:void 0}function Ae(e,t,n){return Z(e,t,n,A)}function je(e,t,n){return Z(e,t,n,me)}function Me(e,t,n){return Z(e,t,n,de)}function Ne(e,t,n,r){if(e===void 0)return;let i=X(t,N),a=c(t);return i===n&&a===r?e:void 0}function Q(e,t){if(!e)throw Error(`${t}: thread id is required when query is enabled`);return e}function Pe(e){return e===`manager`?{type:`manager`}:e===`managed`?{managed:!0,type:`standard`}:e===`unmanaged`?{managed:!1,type:`standard`}:{}}function Fe(e,t){let{projectId:n,kind:r}=e,i=(t?.enabled??!0)&&!!n,a=Pe(r);return xe({queryKey:ue({projectId:n??``,kind:r}),queryFn:({pageParam:e,signal:t})=>x({projectId:Q(n??``,`useArchivedThreads`),archived:!0,...a,limit:100,offset:e},t),initialPageParam:0,getNextPageParam:(e,t)=>{if(!(e.length<100))return t.reduce((e,t)=>e+t.length,0)},enabled:i,staleTime:1e4})}function Ie(e,t){let{projectId:r,...i}=e,a=(t?.enabled??!0)&&!!r;return g({queryKey:a&&r?F({...i,projectId:r}):n(r?{...i,projectId:r}:i),queryFn:({signal:e})=>x({...i,projectId:Q(r??``,`useThreads`)},e),enabled:a,staleTime:1e4})}function Le(e,t){let n=h();return g({queryKey:w(e),queryFn:()=>ne(Q(e,`useThread`)),enabled:(t?.enabled??!0)&&!!e,staleTime:5e3,refetchOnMount:t?.refetchOnMount??!0,placeholderData:(t,r)=>Me(t,r?.queryKey,e)??z(n,e)})}function Re(e){let{environment:t,host:n,...r}=e;return r}function ze({host:e,hosts:t}){if(!t)return[e];let n=!1,r=t.map(t=>t.id===e.id?(n=!0,e):t);return n?r:[...t,e]}function Be(e,t){let n=h();return g({queryKey:_(e),queryFn:async()=>{let t=await O(Q(e,`useThreadDetailBootstrap`));if(n.setQueryData(w(t.id),Re(t)),t.environment&&n.setQueryData(p(t.environment.id),t.environment),t.host){let e=t.host;n.setQueryData(te(e.id),e),n.setQueryData(s(),t=>ze({host:e,hosts:t}))}return t},enabled:(t?.enabled??!0)&&!!e,staleTime:1/0})}function Ve(e,t){let n=h(),r=t?.environmentId??null;return g({queryKey:E(e,r),queryFn:async()=>{let t=await re(Q(e,`useThreadComposerBootstrap`));n.setQueryData(j(e),t.defaultExecutionOptions),n.setQueryData(S(e),t.queuedMessages),n.setQueryData(b(e),t.promptHistory),n.setQueryData(y(e),t.pendingInteractions);let i=t.executionOptions.providers[0]?.id;return i&&n.setQueryData(k({environmentId:r,providerId:i}),t.executionOptions),t},enabled:(t?.enabled??!0)&&!!e,refetchOnMount:t?.refetchOnMount??!0,refetchOnWindowFocus:!1,staleTime:t?.staleTime})}function $(e,t){return g({queryKey:j(e),queryFn:()=>f(Q(e,`useThreadDefaultExecutionOptions`)),enabled:(t?.enabled??!0)&&!!e,refetchOnMount:t?.refetchOnMount??!0,refetchOnWindowFocus:!1,staleTime:t?.staleTime})}function He(e,t){return g({queryKey:S(e),queryFn:()=>se(Q(e,`useThreadQueuedMessages`)),enabled:(t?.enabled??!0)&&!!e,refetchOnMount:t?.refetchOnMount??!0,refetchOnWindowFocus:!1,staleTime:t?.staleTime})}function Ue(e,t){return g({queryKey:b(e),queryFn:({signal:t})=>v(Q(e,`useThreadPromptHistory`),t),enabled:(t?.enabled??!0)&&!!e,refetchOnMount:t?.refetchOnMount??!0,staleTime:t?.staleTime??1e4})}function We(e,t){return g({queryKey:y(e),queryFn:({signal:t})=>P(Q(e,`useThreadPendingInteractions`),t),enabled:(t?.enabled??!0)&&!!e,refetchOnMount:t?.refetchOnMount??!0,refetchOnWindowFocus:!1,staleTime:t?.staleTime})}function Ge(e,t,n){return g({queryKey:L(e,t),queryFn:({signal:n})=>D({id:Q(e,`useThreadStorageFiles`),options:t,signal:n}),enabled:(n?.enabled??!0)&&!!e,refetchOnWindowFocus:!1})}function Ke(e,t,n){return g({queryKey:le(e,t),queryFn:({signal:n})=>oe(Q(e,`useThreadStorageFilePreview`),t??``,n),enabled:(n?.enabled??!0)&&!!e&&!!t,refetchOnWindowFocus:!1})}function qe(e,n,r,i){return g({queryKey:fe(e,n,r),queryFn:({signal:n})=>t(Q(e,`useThreadHostFilePreview`),r??``,n),enabled:(i?.enabled??!0)&&!!e&&!!n&&!!r,refetchOnWindowFocus:!1})}function Je(e,t){let n=t?.managerTimelineView;return g({queryKey:I(e,n),queryFn:()=>M({id:Q(e,`useThreadTimeline`),managerTimelineView:n}),enabled:(t?.enabled??!0)&&!!e,refetchOnMount:t?.refetchOnMount??!0,placeholderData:(t,r)=>Ne(t,r?.queryKey,e,n)})}function Ye(){return C({meta:{errorMessage:`Failed to load turn summary details.`,showErrorToast:!1},mutationFn:e=>pe(e)})}function Xe(e){if(!e||e.length===0)return null;let[t,...n]=e;return n.reduce((e,t)=>t.createdAt>e.createdAt?t:e,t)}export{we as C,U as E,Ee as S,Ce as T,Ae as _,$ as a,Oe as b,We as c,Ke as d,Ge as f,je as g,Ie as h,Ve as i,Ue as l,Ye as m,Fe as n,Be as o,Je as p,Le as r,qe as s,Xe as t,He as u,Te as v,Se as w,ke as x,De as y};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# User Preferences
|
|
2
|
-
|
|
3
|
-
This file is the manager's durable memory of how the user wants to be worked with. Edit it as you learn — keep it current.
|
|
4
|
-
|
|
5
|
-
## Identity
|
|
6
|
-
|
|
7
|
-
- Preferred name: _(not yet provided — ask when natural)_
|
|
8
|
-
|
|
9
|
-
## Workflow
|
|
10
|
-
|
|
11
|
-
- **Delegator workflow**: never do substantive work in the manager thread. Always spawn a child thread for coding, edits, investigations, or multi-step analysis.
|
|
12
|
-
- **Fresh main before every spawn**: before every `bb thread spawn`, ensure the local `main` is current with `origin/main` so workers start from the latest base.
|
|
13
|
-
- Run first: `git -C <project-root> fetch origin main && git -C <project-root> pull --ff-only origin main` (works because `main` is typically the checked-out branch).
|
|
14
|
-
- Pass `--base-branch main` to `bb thread spawn` so the worker's worktree branches off the just-pulled commit.
|
|
15
|
-
- Skip this only if the user explicitly tells you the worker should branch off something else (e.g. chaining off another PR's branch).
|
|
16
|
-
- **Landing changes**: when a worker finishes work that should be applied to the codebase, ask the user once how they want it landed, then record the answer right here in this bullet under the chosen mode. Two common modes:
|
|
17
|
-
- **Open PRs** — open them automatically and report the URL. Default to `gh pr create --draft`; switch to non-draft if the user prefers. Worker-thread completion notifications should trigger refreshing the open-PR view in `STATUS.html`.
|
|
18
|
-
- **No PRs — local merge, push on request** — merge the worker's branch into the local checkout, but only push to `origin` when the user explicitly says so. Keep branches local; do not open any PR.
|
|
19
|
-
- _Chosen mode:_ _(not yet decided — ask when natural)_
|
|
20
|
-
|
|
21
|
-
Adjust `STATUS.html` to match the chosen mode (see next bullet).
|
|
22
|
-
- **STATUS.html mode**: if the user opens PRs, `STATUS.html` tracks open PRs in its primary section. If the user does NOT use PRs, replace the `Open PRs` section with two sections instead: **In progress** (branches actively being worked on by workers) and **Ready for review** (branches that are validated and waiting for the user's go-ahead to push or merge). Snippet patterns for both modes live in the HTML comment block at the bottom of `STATUS.html` — copy/paste as needed.
|
|
23
|
-
- **STATUS.html refresh**: keep `STATUS.html` (canonical) current — do not also keep a `STATUS.md`. Refresh:
|
|
24
|
-
- periodically via a schedule in `ASYNC.md` (create one when scheduled refreshes are wanted; e.g. a `pr-refresh` schedule under PR mode).
|
|
25
|
-
- after any state-affecting action (worker spawn, branch ready, PR opened, merge, close, push).
|
|
26
|
-
- **after every child thread completion notification** (on any `[bb system] Thread complete/failed/interrupted`), even if the thread didn't obviously touch the tracked state — reconcile the relevant section.
|
|
27
|
-
- **STATUS.html styling**: run `bb guide styling` for the bb design tokens, fonts, and a starter `<style>` snippet so the iframe-rendered HTML matches the rest of the app.
|
|
28
|
-
|
|
29
|
-
## Open questions to resolve when natural
|
|
30
|
-
|
|
31
|
-
- Preferred name / how to address the user
|
|
32
|
-
- Worker defaults (provider / reasoning level / permission mode / preferred model) — ask the user when it comes up; do not assume a default.
|
|
33
|
-
- Anything else the user wants surfaced in `STATUS.html` (extra sections, custom info, integrations) — ask once when natural and update the template accordingly.
|
|
34
|
-
- Update verbosity preference (terse vs detailed)
|
|
35
|
-
- Any specific area of the codebase that's currently the focus
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/app/dist/assets/{catppuccin-macchiato-DOZXEuSH.js → catppuccin-macchiato-ChQpylWO.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/app/dist/assets/{github-dark-default-DPZ1YWUU.js → github-dark-default-Br2bgYSx.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/app/dist/assets/{github-light-default-BLgrdOV4.js → github-light-default-lIytXXhR.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/app/dist/assets/{gruvbox-dark-medium-Csp4lPEF.js → gruvbox-dark-medium-cqq_ncQu.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/app/dist/assets/{gruvbox-light-medium-D2yGUmJd.js → gruvbox-light-medium-D52XgPKf.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/app/dist/assets/{material-theme-darker-BNfFk916.js → material-theme-darker-VPEo3Sem.js}
RENAMED
|
File without changes
|
/package/app/dist/assets/{material-theme-lighter-D0OJsx_T.js → material-theme-lighter-CUhzCcZ9.js}
RENAMED
|
File without changes
|
/package/app/dist/assets/{material-theme-ocean-CKWC7YJB.js → material-theme-ocean-B2JdsaGb.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|