@hienlh/ppm 0.18.0 → 0.18.2
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/.release-run.sh +1 -1
- package/CHANGELOG.md +13 -0
- package/assets/skills/ppm/SKILL.md +1 -1
- package/assets/skills/ppm/references/http-api.md +1 -1
- package/dist/web/assets/{ai-resource-editor-BLYgg033.js → ai-resource-editor-B6CODu6u.js} +1 -1
- package/dist/web/assets/{angular-html-jfMqUuRd.js → angular-html-C-Kjr43S.js} +1 -1
- package/dist/web/assets/{angular-ts-wytn9PMm.js → angular-ts-CaDDbZqm.js} +1 -1
- package/dist/web/assets/api-client-CaRE4HYh.js +1 -0
- package/dist/web/assets/{api-client-B9OFv3nY.js → api-client-rTAGdEKo.js} +1 -1
- package/dist/web/assets/{api-settings-DGhshDRg.js → api-settings-CAhcNpj5.js} +1 -1
- package/dist/web/assets/api-settings-DBcXfeJ8.js +1 -0
- package/dist/web/assets/{api-themes-okiyhhp9.js → api-themes-CAjg_Bt9.js} +1 -1
- package/dist/web/assets/{apl-i-ahKx6O.js → apl-B1WsQFAb.js} +1 -1
- package/dist/web/assets/{astro-DVBCJfG6.js → astro-Bdnz7nVp.js} +1 -1
- package/dist/web/assets/{audio-preview-y8XpCNrh.js → audio-preview-BkNAEqcB.js} +1 -1
- package/dist/web/assets/{blade-BHlL8SqU.js → blade-B2euh8sS.js} +1 -1
- package/dist/web/assets/{bot-BHXjpQ7x.js → bot-nk1k3ELu.js} +1 -1
- package/dist/web/assets/{bsl-D-UOfR1F.js → bsl-GNeMaxd0.js} +1 -1
- package/dist/web/assets/{cairo-Bn6rucli.js → cairo-D7G0W7-s.js} +1 -1
- package/dist/web/assets/chat-tab-B-MEsHYp.js +13 -0
- package/dist/web/assets/chevron-right-BLOtX8Vy.js +1 -0
- package/dist/web/assets/{circle-question-mark-EVgisosn.js → circle-question-mark-CENpx4oA.js} +1 -1
- package/dist/web/assets/clock-D493FU_D.js +1 -0
- package/dist/web/assets/{cobol-Byn9FYKu.js → cobol-Q6YgysnI.js} +1 -1
- package/dist/web/assets/code-CLF5x7KK.js +1 -0
- package/dist/web/assets/code-editor-bC1KAEUA.js +10 -0
- package/dist/web/assets/{coffee-DjBl4gm-.js → coffee-BjufWxVc.js} +1 -1
- package/dist/web/assets/{conflict-editor-BP7JFZzG.js → conflict-editor-DnSltcyC.js} +1 -1
- package/dist/web/assets/{context-menu-BSE5yuMG.js → context-menu-q-RHHAWz.js} +1 -1
- package/dist/web/assets/{copy-Su9m2utd.js → copy-BApI9v7Z.js} +1 -1
- package/dist/web/assets/{cpp-CKzic-3E.js → cpp-CqWU0gCR.js} +1 -1
- package/dist/web/assets/{createLucideIcon-ConhwJnb.js → createLucideIcon-D8pyde1A.js} +1 -1
- package/dist/web/assets/{crystal-Bkg-Ly_g.js → crystal-ylayVajF.js} +1 -1
- package/dist/web/assets/{csv-preview-xAwUDNat.js → csv-preview-DnaFdgOB.js} +1 -1
- package/dist/web/assets/{data-grid-overlay-editor-DMTCHIG9.js → data-grid-overlay-editor-BzPfsCfd.js} +1 -1
- package/dist/web/assets/{data-grid-types-DP-ZexEN.js → data-grid-types-CUx8cusN.js} +1 -1
- package/dist/web/assets/{database-Dj0DxgtX.js → database-B9okYLx6.js} +1 -1
- package/dist/web/assets/{database-viewer-BVLWYPa4.js → database-viewer-C7uLy8Z1.js} +1 -1
- package/dist/web/assets/{dialog-D__LRQTn.js → dialog-CkI7rwrh.js} +1 -1
- package/dist/web/assets/{diff-viewer-BheSOHfl.js → diff-viewer-BwElk4q9.js} +1 -1
- package/dist/web/assets/{dist-D__U4ZJz.js → dist-DduBIVkD.js} +1 -1
- package/dist/web/assets/{docx-preview-CGlMqltP.js → docx-preview-Dd2nTW2v.js} +1 -1
- package/dist/web/assets/{edge-DVbZnd3Y.js → edge-DX4NxQfh.js} +1 -1
- package/dist/web/assets/{edit-diff-preview-ClJAJwlL.js → edit-diff-preview-DfX-9om9.js} +1 -1
- package/dist/web/assets/{elixir-Dwi8Wu7W.js → elixir-CSh3NjbV.js} +1 -1
- package/dist/web/assets/{elm-DtIv-HXJ.js → elm-DBzwFYq9.js} +1 -1
- package/dist/web/assets/{erb-D3HEDz1x.js → erb-yxVOb8aB.js} +1 -1
- package/dist/web/assets/{erlang-2MjTCzGz.js → erlang-5XIDkYrM.js} +1 -1
- package/dist/web/assets/{esm-BfqDE09P.js → esm-DO4el2OJ.js} +1 -1
- package/dist/web/assets/{explorer-body-DE5339g9.js → explorer-body-DzdXBlWw.js} +2 -2
- package/dist/web/assets/explorer-window-content-Dgl1WTNs.js +1 -0
- package/dist/web/assets/{extension-webview-DRq1tWC1.js → extension-webview-Dk_zyoXZ.js} +1 -1
- package/dist/web/assets/{eye-off-Rq1n2-oe.js → eye-off-CUdzgmX8.js} +1 -1
- package/dist/web/assets/{file-exclamation-point-D-ZORzYB.js → file-exclamation-point-COAwgNGw.js} +1 -1
- package/dist/web/assets/{fortran-fixed-form-BLyAtyPM.js → fortran-fixed-form-D4tE5VWY.js} +1 -1
- package/dist/web/assets/{fsharp-Bxbn_gbr.js → fsharp-By8soj6-.js} +1 -1
- package/dist/web/assets/{gdresource-sFMY4D2Q.js → gdresource-DoSwM7Hv.js} +1 -1
- package/dist/web/assets/{git-commit-BzB9Lio5.js → git-commit-_ZiciHIx.js} +1 -1
- package/dist/web/assets/{git-log-panel-pjyOjchU.js → git-log-panel-BLQSy6rC.js} +1 -1
- package/dist/web/assets/{git-rebase-CKSVd848.js → git-rebase-C3Y5N9-s.js} +1 -1
- package/dist/web/assets/glide-data-grid-QZ_fgjIa.js +138 -0
- package/dist/web/assets/{glimmer-js-BY8aExAJ.js → glimmer-js-BPBTXVlC.js} +1 -1
- package/dist/web/assets/{glimmer-ts-Bak54dBX.js → glimmer-ts-BQSZdy_D.js} +1 -1
- package/dist/web/assets/{glsl-nR2eaJQe.js → glsl-CbQdxpU-.js} +1 -1
- package/dist/web/assets/{graphql-CGPPFAU6.js → graphql-GMlKikpY.js} +1 -1
- package/dist/web/assets/group-chat-tab-BbdVlKFv.js +1 -0
- package/dist/web/assets/{hack-CXIMX-Ol.js → hack-DyshcLec.js} +1 -1
- package/dist/web/assets/{haml-tPY-9Pfm.js → haml-rqCqWzsq.js} +1 -1
- package/dist/web/assets/{handlebars-BuW1LT7T.js → handlebars-BCKwSWjR.js} +1 -1
- package/dist/web/assets/{html-bgVcwZ-t.js → html-Cg29xPR1.js} +1 -1
- package/dist/web/assets/{html-derivative-D6-IxTgn.js → html-derivative-geltIVg8.js} +1 -1
- package/dist/web/assets/{http-CJ1zyB-h.js → http-pG7Vp237.js} +1 -1
- package/dist/web/assets/{hurl-CmoT7l3T.js → hurl-Di3Uu_Mc.js} +1 -1
- package/dist/web/assets/{hxml-CztOsL8o.js → hxml-CRy4lbv8.js} +1 -1
- package/dist/web/assets/{image-preview-BDySmiim.js → image-preview-KubLSLNO.js} +1 -1
- package/dist/web/assets/index-D-xwjNyX.css +2 -0
- package/dist/web/assets/index-wd3FSHHn.js +52 -0
- package/dist/web/assets/{jinja-B1pq3jJq.js → jinja-C8GyVnvd.js} +1 -1
- package/dist/web/assets/{jison-D8B5pCwA.js → jison-BywnqPn6.js} +1 -1
- package/dist/web/assets/{julia-D0K3bwpU.js → julia-DTrO3T3B.js} +1 -1
- package/dist/web/assets/{just-B9Jlddu-.js → just-CA3KSHPi.js} +1 -1
- package/dist/web/assets/keybindings-store-Bp_c_C3z.js +1 -0
- package/dist/web/assets/{latex-BPJSSE6j.js → latex-BC5xUMpc.js} +1 -1
- package/dist/web/assets/{lib-Bpbn00xM.js → lib-BFetOULu.js} +1 -1
- package/dist/web/assets/{liquid-lv10fo4U.js → liquid-Chd8tSyQ.js} +1 -1
- package/dist/web/assets/{lua-PNuaIBEF.js → lua-DHaEtwLv.js} +1 -1
- package/dist/web/assets/markdown-renderer-2asl-3Kk.js +1 -0
- package/dist/web/assets/markdown-renderer-B4uL6GVA.js +3 -0
- package/dist/web/assets/{marko-Du3frD6X.js → marko-Desx_bC-.js} +1 -1
- package/dist/web/assets/{mdc-BeDVcFRl.js → mdc-DahWHc1t.js} +1 -1
- package/dist/web/assets/{mobile-bottom-sheet-CzRXE6mY.js → mobile-bottom-sheet-BQt45q9T.js} +1 -1
- package/dist/web/assets/{mobile-explorer-sheet-CDU8xriw.js → mobile-explorer-sheet-LWUDaNBV.js} +1 -1
- package/dist/web/assets/{nextflow-DkcXP71s.js → nextflow-3A7lutCA.js} +1 -1
- package/dist/web/assets/{nginx-C5n8N_bt.js → nginx-XQda6Hdy.js} +1 -1
- package/dist/web/assets/{nim-CIhyfs-A.js → nim-DHqlpwP1.js} +1 -1
- package/dist/web/assets/notification-store-BasUnpt7.js +1 -0
- package/dist/web/assets/{number-overlay-editor-B8P26qGC.js → number-overlay-editor-DgZtViPO.js} +1 -1
- package/dist/web/assets/{panel-store-gbNJvZB_.js → panel-store-s6Qx49RK.js} +1 -1
- package/dist/web/assets/{pdf-preview-CtZWvujY.js → pdf-preview-xZQVUtaV.js} +1 -1
- package/dist/web/assets/{perl-Cf31sZYE.js → perl-M-ncjACb.js} +1 -1
- package/dist/web/assets/{php-Dzl_MDIW.js → php-CKIajrZi.js} +1 -1
- package/dist/web/assets/{plus-Dm36mgLh.js → plus-9LatwJMx.js} +1 -1
- package/dist/web/assets/{postgres-viewer-fqMUi0xS.js → postgres-viewer-Ds0FxBel.js} +3 -3
- package/dist/web/assets/{project-store-D1D1MN03.js → project-store-DyaEpHVG.js} +1 -1
- package/dist/web/assets/{pug-CxSYHrB3.js → pug-DO0u_gO4.js} +1 -1
- package/dist/web/assets/{qml-DlEjGhwN.js → qml-UEje1PAA.js} +1 -1
- package/dist/web/assets/{razor-KVt5uW14.js → razor-lCs5T1Ib.js} +1 -1
- package/dist/web/assets/{react-DjdYfcEe.js → react-w6wINGnd.js} +1 -1
- package/dist/web/assets/resolve-theme-DdB7Yo5Z.js +1 -0
- package/dist/web/assets/{rst-D5BwNTnw.js → rst-CZX_O0z4.js} +1 -1
- package/dist/web/assets/{ruby-D5fejQwd.js → ruby-idycVAyE.js} +1 -1
- package/dist/web/assets/{sas-Bj7B1CB2.js → sas-o5gTfUwp.js} +1 -1
- package/dist/web/assets/{save-ignW_jk2.js → save-C4z1p51e.js} +1 -1
- package/dist/web/assets/{scss-BB0CUoCL.js → scss-CRTk3iBQ.js} +1 -1
- package/dist/web/assets/{settings-store-Bm7uL8VA.js → settings-store-ChqHdT2V.js} +2 -2
- package/dist/web/assets/settings-tab-vhatQ51-.js +1 -0
- package/dist/web/assets/{shaderlab-BdjEZUMc.js → shaderlab-3e5ln8ci.js} +1 -1
- package/dist/web/assets/{shellsession-Bp1OA1rR.js → shellsession-CGQjQ75I.js} +1 -1
- package/dist/web/assets/{shield-check-BSA9P3nI.js → shield-check-C5laObJv.js} +1 -1
- package/dist/web/assets/{shield-off-Cb9J9x_n.js → shield-off-DULFtyLS.js} +1 -1
- package/dist/web/assets/{soy-DlYz3wsC.js → soy-CxY0VwX2.js} +1 -1
- package/dist/web/assets/{sparkles-BvJ1EGWd.js → sparkles-n1hzh65o.js} +1 -1
- package/dist/web/assets/{sparql-CdfII5Jd.js → sparql-CBAGAFuq.js} +1 -1
- package/dist/web/assets/{sql-query-editor-D2UxRvG7.js → sql-query-editor-BblB2Imt.js} +1 -1
- package/dist/web/assets/{sqlite-viewer-CTBwzT-r.js → sqlite-viewer-CZYDknNa.js} +1 -1
- package/dist/web/assets/{stata-BvUA6GUW.js → stata-BoezhOvk.js} +1 -1
- package/dist/web/assets/{surrealql--DLNbTyI.js → surrealql-CHEzAhu7.js} +1 -1
- package/dist/web/assets/{svelte-CBfSsG4n.js → svelte-y6xtu2zX.js} +1 -1
- package/dist/web/assets/{system-monitor-tab-Bscf6tzK.js → system-monitor-tab-D8dy-RT_.js} +1 -1
- package/dist/web/assets/{tab-store-DnNnaAcE.js → tab-store-C42sktPo.js} +1 -1
- package/dist/web/assets/{table-4P8kS7sg.js → table-CHmxuh6M.js} +1 -1
- package/dist/web/assets/{templ-Dv8zpKZW.js → templ-DbG2y5yD.js} +1 -1
- package/dist/web/assets/{terminal-tab-CTKU5gaF.js → terminal-tab-CfD22q5x.js} +2 -2
- package/dist/web/assets/{tex-CsrOiqh1.js → tex-CeKQhrQG.js} +1 -1
- package/dist/web/assets/{tool-cards-xstpayaW.js → tool-cards-DNgw1yI6.js} +3 -3
- package/dist/web/assets/{ts-tags-3T98k4EJ.js → ts-tags-iKKOXJjG.js} +1 -1
- package/dist/web/assets/{twig-u6QZ45FH.js → twig-DK8Vrp-G.js} +1 -1
- package/dist/web/assets/{use-blob-url-BLRmhlZI.js → use-blob-url-DYtOHK7u.js} +1 -1
- package/dist/web/assets/{use-is-mobile-K1a38BwI.js → use-is-mobile-DnFSkUG2.js} +1 -1
- package/dist/web/assets/use-monaco-theme-DEbn-QT3.js +1 -0
- package/dist/web/assets/vendor-markdown-Ls5AcU91.js +291 -0
- package/dist/web/assets/{vendor-ui-CXJtBULr.js → vendor-ui-CaeeFO0B.js} +1 -1
- package/dist/web/assets/{video-preview-cfaoRxG3.js → video-preview-DcUaFYyv.js} +1 -1
- package/dist/web/assets/{vue-CxIsxtwn.js → vue-JkIEObMV.js} +1 -1
- package/dist/web/assets/{vue-html-BGL5qnuH.js → vue-html-D8SqnU86.js} +1 -1
- package/dist/web/assets/{vue-vine-DHPh_gMr.js → vue-vine-DJj7N4WD.js} +1 -1
- package/dist/web/assets/x-B1qHmLdR.js +1 -0
- package/dist/web/assets/{xml-C-vM2m7J.js → xml-C-00w9Rv.js} +1 -1
- package/dist/web/assets/{xsl-DvTXNwuO.js → xsl-CVdCwPHV.js} +1 -1
- package/dist/web/index.html +26 -26
- package/dist/web/monacoeditorwork/css.worker.bundle.js +122 -122
- package/dist/web/monacoeditorwork/editor.worker.bundle.js +78 -78
- package/dist/web/monacoeditorwork/html.worker.bundle.js +110 -110
- package/dist/web/monacoeditorwork/json.worker.bundle.js +108 -108
- package/dist/web/monacoeditorwork/ts.worker.bundle.js +81 -81
- package/dist/web/sw.js +1 -1
- package/package.json +1 -1
- package/src/web/components/group-chat/group-list.tsx +2 -3
- package/src/web/components/layout/mobile-drawer-tab-bar.tsx +3 -10
- package/src/web/components/layout/mobile-drawer.tsx +2 -0
- package/src/web/components/layout/nav-section-rail.tsx +10 -11
- package/src/web/components/ui/feature-badge.tsx +40 -0
- package/src/web/lib/feature-badges.ts +22 -0
- package/src/web/lib/sidebar-tabs/tab-registry.ts +4 -3
- package/src/web/theme/builtin/aurora.ts +8 -5
- package/dist/web/assets/api-client-CKo60P6G.js +0 -1
- package/dist/web/assets/api-settings-fdkhqLSF.js +0 -1
- package/dist/web/assets/chat-tab-BcR-3_6R.js +0 -13
- package/dist/web/assets/chevron-right-CtcHmZg9.js +0 -1
- package/dist/web/assets/clock-B1CPBp2g.js +0 -1
- package/dist/web/assets/code-Dupqw5Fr.js +0 -1
- package/dist/web/assets/code-editor-CJ8g7dqm.js +0 -10
- package/dist/web/assets/explorer-window-content-BrTHAoXM.js +0 -1
- package/dist/web/assets/glide-data-grid-LX3N4SsJ.js +0 -138
- package/dist/web/assets/group-chat-tab-CVQfptkT.js +0 -1
- package/dist/web/assets/index-XoDY9bc0.js +0 -52
- package/dist/web/assets/index-YCTraslE.css +0 -2
- package/dist/web/assets/keybindings-store-BE1jVUZW.js +0 -1
- package/dist/web/assets/markdown-renderer-B8Kz5rvP.js +0 -3
- package/dist/web/assets/markdown-renderer-Btync7yg.js +0 -1
- package/dist/web/assets/notification-store-Bi7VHAy4.js +0 -1
- package/dist/web/assets/resolve-theme-B0eotaPq.js +0 -1
- package/dist/web/assets/settings-tab-DxtBG0DW.js +0 -1
- package/dist/web/assets/use-monaco-theme-DxYstgYa.js +0 -1
- package/dist/web/assets/vendor-markdown-CKTlmXbz.js +0 -291
- package/dist/web/assets/x-BtzqXv1z.js +0 -1
- /package/dist/web/assets/{abap-C1K0-wzc.js → abap-DrMyiWmK.js} +0 -0
- /package/dist/web/assets/{actionscript-3-CJhQVjLA.js → actionscript-3-BlSOyi0y.js} +0 -0
- /package/dist/web/assets/{ada-Bt8r9fME.js → ada-B_m96icB.js} +0 -0
- /package/dist/web/assets/{andromeeda-DF1I8qi3.js → andromeeda-Ch3vOiZB.js} +0 -0
- /package/dist/web/assets/{apache-CnlleE6P.js → apache-CdsaXc1n.js} +0 -0
- /package/dist/web/assets/{apex-j0C6Xmk6.js → apex-0AnsBevk.js} +0 -0
- /package/dist/web/assets/{applescript-DO7AnO8U.js → applescript-CSxLolzy.js} +0 -0
- /package/dist/web/assets/{ara-i83AydZj.js → ara-DXZS0jA5.js} +0 -0
- /package/dist/web/assets/{asciidoc-DbBA6-sF.js → asciidoc-DDy3pH2A.js} +0 -0
- /package/dist/web/assets/{asm-B5S47Rgr.js → asm-Bd17hhqg.js} +0 -0
- /package/dist/web/assets/{aurora-x-De_IaSKw.js → aurora-x-C62HJRs-.js} +0 -0
- /package/dist/web/assets/{awk-CfyLHXqS.js → awk-Cc-nazni.js} +0 -0
- /package/dist/web/assets/{ayu-dark-DTLdZ1Si.js → ayu-dark-BsfmNWCU.js} +0 -0
- /package/dist/web/assets/{ayu-light-DTOfkzhu.js → ayu-light-BZ4HLa4X.js} +0 -0
- /package/dist/web/assets/{ayu-mirage-DsAECCMv.js → ayu-mirage-Bhyjyiqr.js} +0 -0
- /package/dist/web/assets/{ballerina-CumGp9A7.js → ballerina-QiWgir3v.js} +0 -0
- /package/dist/web/assets/{bat-Ca2SBbYN.js → bat-DxtlkwN3.js} +0 -0
- /package/dist/web/assets/{beancount-CqyXBwwF.js → beancount-Bt21X7M_.js} +0 -0
- /package/dist/web/assets/{berry-yl-kJr_H.js → berry-Cksre7lO.js} +0 -0
- /package/dist/web/assets/{bibtex-DoFFszjV.js → bibtex-DkakgDlR.js} +0 -0
- /package/dist/web/assets/{bicep-CWPi4nfK.js → bicep-8crmcyXU.js} +0 -0
- /package/dist/web/assets/{bird2-DXew-ut0.js → bird2-CewQ2I_Z.js} +0 -0
- /package/dist/web/assets/{c-clbySDvd.js → c-C_6zE8Ha.js} +0 -0
- /package/dist/web/assets/{c3-B65jvSM1.js → c3-DLWB9-dp.js} +0 -0
- /package/dist/web/assets/{cadence-Cm8tQTHN.js → cadence-D8qYS6pR.js} +0 -0
- /package/dist/web/assets/{catppuccin-frappe-DLeGslh_.js → catppuccin-frappe-Bh95lNRy.js} +0 -0
- /package/dist/web/assets/{catppuccin-latte-CR5GeHws.js → catppuccin-latte-C1PlN3G0.js} +0 -0
- /package/dist/web/assets/{catppuccin-macchiato-p-XgjxhP.js → catppuccin-macchiato-CldtgdK4.js} +0 -0
- /package/dist/web/assets/{catppuccin-mocha-B8QOAZLl.js → catppuccin-mocha-BiwqxX9A.js} +0 -0
- /package/dist/web/assets/{clarity-DPulbvKH.js → clarity-CGiU22jY.js} +0 -0
- /package/dist/web/assets/{clojure-DFuWS20u.js → clojure-COIC3doh.js} +0 -0
- /package/dist/web/assets/{cmake-DejCqcu4.js → cmake-DWUEQfHv.js} +0 -0
- /package/dist/web/assets/{codeowners-BwAyqWIH.js → codeowners-BNHiAQea.js} +0 -0
- /package/dist/web/assets/{codeql-DgSwFjqI.js → codeql-BuKaoS0j.js} +0 -0
- /package/dist/web/assets/{common-lisp-CxIVJCtf.js → common-lisp-D5IKbxsd.js} +0 -0
- /package/dist/web/assets/{coq-DLSjSnmf.js → coq-BMVS-p94.js} +0 -0
- /package/dist/web/assets/{csharp-C1HHzXBp.js → csharp-DMlbXbM4.js} +0 -0
- /package/dist/web/assets/{css-VXsMY--y.js → css-CjkJC89X.js} +0 -0
- /package/dist/web/assets/{csv-BEbcJdHz.js → csv-DoNVBBf0.js} +0 -0
- /package/dist/web/assets/{cue-BkDnFqUD.js → cue-DoTRbBg-.js} +0 -0
- /package/dist/web/assets/{cypher-1cMqojSQ.js → cypher-DVsNdTT3.js} +0 -0
- /package/dist/web/assets/{d-BnYjRXtH.js → d-EX7BBSrv.js} +0 -0
- /package/dist/web/assets/{dark-plus-XfbaH7kZ.js → dark-plus-P_YTHwlh.js} +0 -0
- /package/dist/web/assets/{dart-Ca7s-8hK.js → dart-Do-rgU4S.js} +0 -0
- /package/dist/web/assets/{dax-CmuOw-mY.js → dax-DxOieacu.js} +0 -0
- /package/dist/web/assets/{desktop-C2gJ6Ovb.js → desktop-CvdV7SBf.js} +0 -0
- /package/dist/web/assets/{diff-BCEo1Ej7.js → diff-CNOetGen.js} +0 -0
- /package/dist/web/assets/{dist-CipvJy9w.js → dist-CMfLpPW_.js} +0 -0
- /package/dist/web/assets/{docker-DN2jlyAh.js → docker-DAlG4_q-.js} +0 -0
- /package/dist/web/assets/{dotenv-NExMY2kS.js → dotenv-Dh3qf6yx.js} +0 -0
- /package/dist/web/assets/{dracula-B9lbE01y.js → dracula-baAGmJYG.js} +0 -0
- /package/dist/web/assets/{dracula-soft-CMBBfKF_.js → dracula-soft-l7ZIyums.js} +0 -0
- /package/dist/web/assets/{dream-maker-DEyDwFsd.js → dream-maker-DeRjdBn8.js} +0 -0
- /package/dist/web/assets/{emacs-lisp-D_qP2zS6.js → emacs-lisp-CB05-jQA.js} +0 -0
- /package/dist/web/assets/{everforest-dark-DbHa2U-p.js → everforest-dark-CT-llQBT.js} +0 -0
- /package/dist/web/assets/{everforest-light-BISkJchP.js → everforest-light-ByPJkTT7.js} +0 -0
- /package/dist/web/assets/{fennel-6B22SfJR.js → fennel-CeMarbvn.js} +0 -0
- /package/dist/web/assets/{fish-CubIIvJD.js → fish-BYrt6Xtb.js} +0 -0
- /package/dist/web/assets/{fluent-DF55zQ09.js → fluent-Cr5VcAwh.js} +0 -0
- /package/dist/web/assets/{fortran-free-form-DvOu8jAt.js → fortran-free-form-DQmKtrLa.js} +0 -0
- /package/dist/web/assets/{gdscript-DCPxdLpq.js → gdscript-QTDKjzhY.js} +0 -0
- /package/dist/web/assets/{gdshader-CTZ381FO.js → gdshader-Chr-5UYt.js} +0 -0
- /package/dist/web/assets/{genie-C_QDtvgU.js → genie-kWHMWnt0.js} +0 -0
- /package/dist/web/assets/{gherkin-BcvK42tF.js → gherkin-DtEBQFUo.js} +0 -0
- /package/dist/web/assets/{github-dark-C9afs_4w.js → github-dark-B5aiUta2.js} +0 -0
- /package/dist/web/assets/{github-dark-default-CKGVrl3Z.js → github-dark-default-BkxtsTqR.js} +0 -0
- /package/dist/web/assets/{github-dark-dimmed-C3dQZ_LC.js → github-dark-dimmed-B9QjR_0K.js} +0 -0
- /package/dist/web/assets/{github-dark-high-contrast-DW78QukY.js → github-dark-high-contrast-D6bO-5c0.js} +0 -0
- /package/dist/web/assets/{github-light-BnP2dznS.js → github-light-Cg2ZW_CJ.js} +0 -0
- /package/dist/web/assets/{github-light-default-C2fPZzPG.js → github-light-default-eD7qUVlQ.js} +0 -0
- /package/dist/web/assets/{github-light-high-contrast-BzIuUFR2.js → github-light-high-contrast-CFnlSVjd.js} +0 -0
- /package/dist/web/assets/{gleam-BpeKwEIO.js → gleam-BpYoOqIT.js} +0 -0
- /package/dist/web/assets/{gn-nUb_Mit0.js → gn-BxwtZPau.js} +0 -0
- /package/dist/web/assets/{gnuplot-D7I0v20p.js → gnuplot-CRyiZDfl.js} +0 -0
- /package/dist/web/assets/{go-D7Qqska7.js → go-Dw1Qx94W.js} +0 -0
- /package/dist/web/assets/{groovy-DS-pne5-.js → groovy-zq_SbWk-.js} +0 -0
- /package/dist/web/assets/{gruvbox-dark-hard-C0W01fsq.js → gruvbox-dark-hard-DbbNy8-Q.js} +0 -0
- /package/dist/web/assets/{gruvbox-dark-medium-Bqo6fQbg.js → gruvbox-dark-medium-BQZ7Kj6C.js} +0 -0
- /package/dist/web/assets/{gruvbox-dark-soft-D-XSM_fu.js → gruvbox-dark-soft-vNavErXi.js} +0 -0
- /package/dist/web/assets/{gruvbox-light-hard-IVAwMJRl.js → gruvbox-light-hard-AOFbCd7i.js} +0 -0
- /package/dist/web/assets/{gruvbox-light-medium-38ATiG7i.js → gruvbox-light-medium-DqtxND6H.js} +0 -0
- /package/dist/web/assets/{gruvbox-light-soft-DnZr3c_0.js → gruvbox-light-soft-Cg0basu6.js} +0 -0
- /package/dist/web/assets/{haskell-uQcywkDH.js → haskell-CcsmcOez.js} +0 -0
- /package/dist/web/assets/{haxe-c6bI4_GT.js → haxe-BimYY9X4.js} +0 -0
- /package/dist/web/assets/{hcl-CQXTiEXq.js → hcl-CTrXCK40.js} +0 -0
- /package/dist/web/assets/{hjson-ChETf2bz.js → hjson-CmqqU6Qg.js} +0 -0
- /package/dist/web/assets/{hlsl-BMC4JGoE.js → hlsl-CuJtX_uf.js} +0 -0
- /package/dist/web/assets/{horizon-BusFlhLW.js → horizon-BGeSjDYJ.js} +0 -0
- /package/dist/web/assets/{horizon-bright-2oD0Mz7W.js → horizon-bright-GYMgd3R0.js} +0 -0
- /package/dist/web/assets/{houston-DdbbjqFg.js → houston--JD_5r2q.js} +0 -0
- /package/dist/web/assets/{hy-D_SOuqw9.js → hy-C9ILOiqk.js} +0 -0
- /package/dist/web/assets/{imba-BxLOHO5I.js → imba-B6F3yus5.js} +0 -0
- /package/dist/web/assets/{ini-ox-CFcg0.js → ini-BfkQswMZ.js} +0 -0
- /package/dist/web/assets/{java-Bzo8yIal.js → java-DEH5avQ1.js} +0 -0
- /package/dist/web/assets/{javascript-DHuz9VXn.js → javascript-Dr4yHuV2.js} +0 -0
- /package/dist/web/assets/{json-0_y80FD5.js → json-BuR35ewf.js} +0 -0
- /package/dist/web/assets/{json5-CEQ50pGM.js → json5-Ny9ZiJAC.js} +0 -0
- /package/dist/web/assets/{jsonc-CfrLEAKA.js → jsonc-zYVuoZkR.js} +0 -0
- /package/dist/web/assets/{jsonl-fKbrANC2.js → jsonl-B9xthb_H.js} +0 -0
- /package/dist/web/assets/{jsonnet-DKbkPaQ2.js → jsonnet-CCoLJbMP.js} +0 -0
- /package/dist/web/assets/{jssm-Dxxx1Hqu.js → jssm-W0GDlQXi.js} +0 -0
- /package/dist/web/assets/{jsx-DlJL-Oj3.js → jsx-BrLJpWC-.js} +0 -0
- /package/dist/web/assets/{kanagawa-dragon-CwN4SV1c.js → kanagawa-dragon-CuVwt_MO.js} +0 -0
- /package/dist/web/assets/{kanagawa-lotus-BHltayiE.js → kanagawa-lotus-B3W_617P.js} +0 -0
- /package/dist/web/assets/{kanagawa-wave-D-KXPjw6.js → kanagawa-wave-CEx4MP5W.js} +0 -0
- /package/dist/web/assets/{kdl-DvtoJdFo.js → kdl-DilRejnB.js} +0 -0
- /package/dist/web/assets/{kotlin-CTS4MLcx.js → kotlin-Bq5JtKaa.js} +0 -0
- /package/dist/web/assets/{kusto-HtSE_sKm.js → kusto-Bhp2KYog.js} +0 -0
- /package/dist/web/assets/{laserwave-DaXZG9ge.js → laserwave-WA_7c5hu.js} +0 -0
- /package/dist/web/assets/{lean-BYtGUfWx.js → lean-AEGcXwS-.js} +0 -0
- /package/dist/web/assets/{less-BoxmU_Mk.js → less-NPqH-26u.js} +0 -0
- /package/dist/web/assets/{light-plus-Bt5CyUuo.js → light-plus-B4xW7cgY.js} +0 -0
- /package/dist/web/assets/{llvm-CSdk9q9V.js → llvm-CPyWNcDE.js} +0 -0
- /package/dist/web/assets/{log-B-kp_3CL.js → log-CeQmiQSz.js} +0 -0
- /package/dist/web/assets/{logo-DdIsXFDO.js → logo-BO0VrjBm.js} +0 -0
- /package/dist/web/assets/{luau-DUBpLlzQ.js → luau-B6GT9kA1.js} +0 -0
- /package/dist/web/assets/{make-B3JVjoW_.js → make-CwfmN7e_.js} +0 -0
- /package/dist/web/assets/{markdown-Seon0vHs.js → markdown-Bbe4FlLp.js} +0 -0
- /package/dist/web/assets/{material-theme-darker-CPV4ayXJ.js → material-theme-darker-u7M3XGe7.js} +0 -0
- /package/dist/web/assets/{material-theme-Nq-ChX1P.js → material-theme-iD9XbfsB.js} +0 -0
- /package/dist/web/assets/{material-theme-lighter-0kyjYqEd.js → material-theme-lighter-BGdI48zn.js} +0 -0
- /package/dist/web/assets/{material-theme-ocean-DGpAp5co.js → material-theme-ocean-_mk62F5q.js} +0 -0
- /package/dist/web/assets/{material-theme-palenight-B0AUn0NG.js → material-theme-palenight-CxFbDyAu.js} +0 -0
- /package/dist/web/assets/{matlab-C2waytxs.js → matlab-Z0RUE3V_.js} +0 -0
- /package/dist/web/assets/{mdx-DAis6R6I.js → mdx-BZ5wPYzV.js} +0 -0
- /package/dist/web/assets/{mermaid-_rnT2YGD.js → mermaid-CY1_aP-h.js} +0 -0
- /package/dist/web/assets/{min-dark-BSSjchUB.js → min-dark-DKWtxOre.js} +0 -0
- /package/dist/web/assets/{min-light-DomAFQsa.js → min-light-e1iwHDfP.js} +0 -0
- /package/dist/web/assets/{mipsasm-bBgtvPyG.js → mipsasm-BiDfQ4ir.js} +0 -0
- /package/dist/web/assets/{mojo-Cp9BayW0.js → mojo-DteFEHsj.js} +0 -0
- /package/dist/web/assets/{monokai-CL_9gbmn.js → monokai-BgPbE9xZ.js} +0 -0
- /package/dist/web/assets/{moonbit-BS_fcr-P.js → moonbit-mEbRp-mA.js} +0 -0
- /package/dist/web/assets/{move-C79AH45U.js → move-CogqZw7A.js} +0 -0
- /package/dist/web/assets/{narrat-CJ5s3BDf.js → narrat-BD2qjmy1.js} +0 -0
- /package/dist/web/assets/{nextflow-groovy-ZHa4JrPJ.js → nextflow-groovy-BNX8GOD_.js} +0 -0
- /package/dist/web/assets/{night-owl-Jkf9zFQK.js → night-owl-ed3GbziD.js} +0 -0
- /package/dist/web/assets/{night-owl-light-DRPeaG5J.js → night-owl-light-B0j7O0Wn.js} +0 -0
- /package/dist/web/assets/{nix-D2Jet9DN.js → nix-DFDbcQQm.js} +0 -0
- /package/dist/web/assets/{nord-CREVs22j.js → nord-D93TxEQi.js} +0 -0
- /package/dist/web/assets/{nushell-CAiDi_mR.js → nushell-3_H_XKja.js} +0 -0
- /package/dist/web/assets/{objective-c-CVkmJkC1.js → objective-c-BM3u6nlm.js} +0 -0
- /package/dist/web/assets/{objective-cpp-DIKDO1Ly.js → objective-cpp-DZ73h42g.js} +0 -0
- /package/dist/web/assets/{ocaml-R9qtGQhs.js → ocaml-B1PU5gmh.js} +0 -0
- /package/dist/web/assets/{odin-DTYNQqVr.js → odin-D14L6aRL.js} +0 -0
- /package/dist/web/assets/{one-dark-pro-BSLWUJn5.js → one-dark-pro-Bj-94Z8v.js} +0 -0
- /package/dist/web/assets/{one-light-DbkRXG3t.js → one-light-DTdGWyOZ.js} +0 -0
- /package/dist/web/assets/{openscad-BlPcSnmT.js → openscad-Ciq554Sj.js} +0 -0
- /package/dist/web/assets/{pascal-B1Y46ZZB.js → pascal-Bfd4qdGi.js} +0 -0
- /package/dist/web/assets/{pkl-BhJSJbFv.js → pkl-CTurDUfj.js} +0 -0
- /package/dist/web/assets/{plastic-BzxsCTpi.js → plastic-BLQfZXQp.js} +0 -0
- /package/dist/web/assets/{plsql-DBba7dyP.js → plsql-DyYfP9kQ.js} +0 -0
- /package/dist/web/assets/{po-BvgLlnNo.js → po-CgXdT8vQ.js} +0 -0
- /package/dist/web/assets/{poimandres-DUaI_1JP.js → poimandres-DOg5fK6s.js} +0 -0
- /package/dist/web/assets/{polar-C7uILwJn.js → polar-Dv4aoL6X.js} +0 -0
- /package/dist/web/assets/{postcss-BgJlpFdw.js → postcss-DxugHnJD.js} +0 -0
- /package/dist/web/assets/{powerquery-Dn1MIpZu.js → powerquery-CR3kzRyX.js} +0 -0
- /package/dist/web/assets/{powershell-Bo-DYzOS.js → powershell-BE91xJQB.js} +0 -0
- /package/dist/web/assets/{prisma-CTLs5IdT.js → prisma-B_3yUlRQ.js} +0 -0
- /package/dist/web/assets/{prolog-QRGun3eG.js → prolog-DcT781Ht.js} +0 -0
- /package/dist/web/assets/{proto-B7PI7apn.js → proto-CSf-w5k2.js} +0 -0
- /package/dist/web/assets/{puppet-CBq0tLrP.js → puppet-CLGO6QWl.js} +0 -0
- /package/dist/web/assets/{purescript-DFewOQb2.js → purescript-Bah2McKd.js} +0 -0
- /package/dist/web/assets/{python-iWuxKXvT.js → python-DUH8qy7N.js} +0 -0
- /package/dist/web/assets/{qmldir-cXiW3AsF.js → qmldir-YIsHnjKq.js} +0 -0
- /package/dist/web/assets/{qss-DASwAbBL.js → qss-CLmoVNA4.js} +0 -0
- /package/dist/web/assets/{r-TU2eaIPw.js → r-Pon-b-vz.js} +0 -0
- /package/dist/web/assets/{racket-SkRKqrLY.js → racket-BA09P5Kg.js} +0 -0
- /package/dist/web/assets/{raku-D31lthkZ.js → raku-DlpzU7Fe.js} +0 -0
- /package/dist/web/assets/{red-CTcQZevb.js → red-l7VuCR6d.js} +0 -0
- /package/dist/web/assets/{reg-D8YAsTGf.js → reg-g_k7gQEr.js} +0 -0
- /package/dist/web/assets/{regexp-CD2uvAWx.js → regexp-CT17B7I7.js} +0 -0
- /package/dist/web/assets/{rel-CAaI-1fg.js → rel-DkPCS7Bp.js} +0 -0
- /package/dist/web/assets/{riscv-DR-hJVIj.js → riscv-CYuFTw30.js} +0 -0
- /package/dist/web/assets/{ron-CuUCJ0n4.js → ron-cY7u_yEu.js} +0 -0
- /package/dist/web/assets/{rose-pine-aFHxW48i.js → rose-pine-Cr_h_Ubo.js} +0 -0
- /package/dist/web/assets/{rose-pine-dawn-Bqz2sBRY.js → rose-pine-dawn-rRewaSZg.js} +0 -0
- /package/dist/web/assets/{rose-pine-moon-wqyh0an4.js → rose-pine-moon-3VX5Xwca.js} +0 -0
- /package/dist/web/assets/{rosmsg-CI1ywimO.js → rosmsg-Du4ie5PU.js} +0 -0
- /package/dist/web/assets/{rust-p7Imk4G_.js → rust-B7xWL-Eh.js} +0 -0
- /package/dist/web/assets/{sass-C8JfaqCV.js → sass-oXbOG8de.js} +0 -0
- /package/dist/web/assets/{scala-DNxCW1By.js → scala-nlZJhKHf.js} +0 -0
- /package/dist/web/assets/{scheme-BYuUPJoL.js → scheme-FZ9_Zy8D.js} +0 -0
- /package/dist/web/assets/{sdbl-DbPeJPUr.js → sdbl-D_lyvXiu.js} +0 -0
- /package/dist/web/assets/{shellscript-DMiHlR3q.js → shellscript-DRWRboAd.js} +0 -0
- /package/dist/web/assets/{slack-dark-C4xGcQXI.js → slack-dark-BGk2uVHu.js} +0 -0
- /package/dist/web/assets/{slack-ochin-BzgRt_wm.js → slack-ochin-PAoSX041.js} +0 -0
- /package/dist/web/assets/{smalltalk-LDeL9PYH.js → smalltalk-qP0zvICo.js} +0 -0
- /package/dist/web/assets/{snazzy-light-CXE7a5j_.js → snazzy-light-B7uccpH6.js} +0 -0
- /package/dist/web/assets/{solarized-dark-DgUhY74x.js → solarized-dark-CbICLZs3.js} +0 -0
- /package/dist/web/assets/{solarized-light-DD9C-H-9.js → solarized-light-CprWhyjj.js} +0 -0
- /package/dist/web/assets/{solidity-CAbDB4D4.js → solidity-B7pcm2K6.js} +0 -0
- /package/dist/web/assets/{splunk-kQREPfIc.js → splunk-Co2LL4J_.js} +0 -0
- /package/dist/web/assets/{sql-CBzeNAD8.js → sql-cETIdGnT.js} +0 -0
- /package/dist/web/assets/{ssh-config-L1euxrsM.js → ssh-config-DETG6JCD.js} +0 -0
- /package/dist/web/assets/{stylus-DvBnYniP.js → stylus-tmTre2-O.js} +0 -0
- /package/dist/web/assets/{swift-DF5NDQp6.js → swift-BeKQbULV.js} +0 -0
- /package/dist/web/assets/{synthwave-84-DbBhB_Hq.js → synthwave-84-eCL4-Xdn.js} +0 -0
- /package/dist/web/assets/{system-verilog-D8s2ZW_k.js → system-verilog-CviwWvEx.js} +0 -0
- /package/dist/web/assets/{systemd-a5-XZJsG.js → systemd-WuoFIbBS.js} +0 -0
- /package/dist/web/assets/{talonscript-BLa0URTW.js → talonscript-B9VBu7VI.js} +0 -0
- /package/dist/web/assets/{tasl-DIoV4XcC.js → tasl-CN7r11ky.js} +0 -0
- /package/dist/web/assets/{tcl-ztYAdXfQ.js → tcl-e1cdhe3h.js} +0 -0
- /package/dist/web/assets/{terraform-DvpCCiOZ.js → terraform-BEP0mfa_.js} +0 -0
- /package/dist/web/assets/{tokyo-night-BkHlYUv0.js → tokyo-night-BfA_dA37.js} +0 -0
- /package/dist/web/assets/{toml-acIrxos6.js → toml-BrDIfNnt.js} +0 -0
- /package/dist/web/assets/{tsv-BJB5EVCT.js → tsv-CyfGyE4i.js} +0 -0
- /package/dist/web/assets/{tsx-B1MmXGT3.js → tsx-BrFA8Iwf.js} +0 -0
- /package/dist/web/assets/{turtle-DFceTiqd.js → turtle-9GBtR0mP.js} +0 -0
- /package/dist/web/assets/{typescript-Dz9wU5Y1.js → typescript-BuTRZ65V.js} +0 -0
- /package/dist/web/assets/{typespec-CPuYZijj.js → typespec-CRiNNRXF.js} +0 -0
- /package/dist/web/assets/{typst-CfsCIYv8.js → typst-CmpTnnkl.js} +0 -0
- /package/dist/web/assets/{v-CGo0jcXA.js → v-DnIi2aab.js} +0 -0
- /package/dist/web/assets/{vala-AsSR0hrb.js → vala-B7VxCNZP.js} +0 -0
- /package/dist/web/assets/{vb-C7tvbXv1.js → vb-DGoQ3pBT.js} +0 -0
- /package/dist/web/assets/{verilog--a33ND-p.js → verilog-zGOC4qwV.js} +0 -0
- /package/dist/web/assets/{vesper-B_Z0h4pn.js → vesper-DXR9-06q.js} +0 -0
- /package/dist/web/assets/{vhdl-CWL5dZPN.js → vhdl-CCO0oz0l.js} +0 -0
- /package/dist/web/assets/{viml-BglmT14Y.js → viml-Dxwr-QNN.js} +0 -0
- /package/dist/web/assets/{vitesse-black-RKFsSqQI.js → vitesse-black-Bhah7RxE.js} +0 -0
- /package/dist/web/assets/{vitesse-dark-D7zDWNmc.js → vitesse-dark-CGK6XVwc.js} +0 -0
- /package/dist/web/assets/{vitesse-light-MAp87W5b.js → vitesse-light-ne5kfw8h.js} +0 -0
- /package/dist/web/assets/{vyper-CgCBYg1G.js → vyper-ErDFqVoP.js} +0 -0
- /package/dist/web/assets/{wasm-BOG7ZeTT.js → wasm-DtWvUWGr.js} +0 -0
- /package/dist/web/assets/{wenyan-DpShPKXZ.js → wenyan-EZe1IEYT.js} +0 -0
- /package/dist/web/assets/{wgsl-BakcCblK.js → wgsl-B1o5_I_9.js} +0 -0
- /package/dist/web/assets/{wikitext-NroRWVAO.js → wikitext-C_rwp8An.js} +0 -0
- /package/dist/web/assets/{wit-B5CM2pg6.js → wit-gbYtF3rY.js} +0 -0
- /package/dist/web/assets/{wolfram-7MTFBJpR.js → wolfram-DrcQFe2n.js} +0 -0
- /package/dist/web/assets/{yaml-Bwr01G2K.js → yaml-CzDAObLX.js} +0 -0
- /package/dist/web/assets/{zenscript-Dj8GATvi.js → zenscript-B-J1phtg.js} +0 -0
- /package/dist/web/assets/{zig-LAE-fbS-.js → zig-BlzNia0O.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{o as e}from"./rolldown-runtime-FhOqtrmT.js";import{
|
|
2
|
-
`)),_.success(e.length===1?`${t} copied`:`${e.length} ${t.toLowerCase()}s copied`))}var gt=/[<>:"|?*]/,_t=/[\u0000-\u001f]/,vt=/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(\..*)?$/i;function yt(e,t){if(!e)return`Name cannot be empty`;if(e===`.`||e===`..`)return`Reserved name`;if(e.includes(`/`)||e.includes(`\\`))return`Name cannot contain path separators`;if(_t.test(e))return`Invalid character in name`;if(t===`win32`){if(gt.test(e))return`Cannot contain < > : " | ? *`;if(vt.test(e))return`"${e}" is a reserved Windows name`;if(e.endsWith(`.`)||e.endsWith(` `))return`Cannot end with a dot or space`}return null}async function bt(e,t,n,r){let i=ke(e,t,r);try{return n===`folder`?await N.mkdir(i,!1):await N.touch(i),Ve(e),!0}catch(e){return _.error(n===`folder`?`Could not create folder`:`Could not create file`,{description:qe(e)}),!1}}async function xt(e,t,n){try{return await N.rename(e,t),Ve(We(e,n)),!0}catch(e){return _.error(`Rename failed`,{description:qe(e)}),!1}}async function St(e,t,n){let r={removed:0,needsPermanent:[]},i=new Set;for(let a of e){i.add(We(a,n));try{await N.remove(a,t),r.removed++}catch(e){if(e instanceof Ne&&e.code===`NO_TRASH`){r.needsPermanent.push(a);continue}_.error(`Delete failed`,{description:qe(e)})}}if(Ve(...i),r.removed>0){let e=`${r.removed} item${r.removed===1?``:`s`}`;_.success(t?`Deleted ${e}`:`Moved ${e} to Trash`)}return r}var B=e(t(),1);function Ct(e,t,n,r){let i=j(e=>e.patch),[a,o]=(0,B.useState)(null),[s,c]=(0,B.useState)(null),[l,u]=(0,B.useState)(null),[d,f]=(0,B.useState)(null),[p,m]=(0,B.useState)(null),h=(0,B.useRef)(t);h.current=t;let g=(0,B.useMemo)(()=>({get sep(){return h.current?.sep??`/`},resolve:e=>new Promise(t=>{o({...e,resolve:e=>{o(null),t(e)}})}),confirmPermanentOverwrite:e=>new Promise(t=>{u({name:e,resolve:e=>{u(null),t(e)}})})}),[]),v=()=>h.current?.path??``;return{actions:(0,B.useMemo)(()=>({openEntry:e=>{e.type===`directory`?n.go(e.path):ft(e)},openInNewWindow:e=>{pt(e.type===`directory`?e.path:h.current?.path??e.path)},cut:e=>Ie(e.map(e=>e.path),`cut`),copy:e=>Ie(e.map(e=>e.path),`copy`),paste:e=>void Ke(e??v(),g),transferInto:async(e,t,n)=>{let r=await Te(e,t,n,g);if(r.succeeded>0){let e=n===`copy`?`Copied`:`Moved`;_.success(`${e} ${r.succeeded} item${r.succeeded===1?``:`s`}`)}},startRename:t=>{m(null),i(e,{inlineEdit:{kind:`rename`,path:t.path,initial:t.name}})},startCreate:t=>{m(null),i(e,{inlineEdit:{kind:t,initial:``}})},cancelInline:()=>{m(null),i(e,{inlineEdit:null})},commitInline:async t=>{let n=h.current,a=n?.inlineEdit;if(!n||!a)return;let o=t.trim();if(a.kind===`rename`&&o===a.initial){i(e,{inlineEdit:null});return}let s=yt(o,r);if(s){m(s);return}m(null),(a.kind===`rename`?await xt(a.path,o,n.sep):await bt(n.path,o,a.kind===`new-folder`?`folder`:`file`,n.sep))&&i(e,{inlineEdit:null})},trash:e=>{St(e.map(e=>e.path),!1,h.current?.sep??`/`).then(e=>{e.needsPermanent.length>0&&c({paths:e.needsPermanent,names:e.needsPermanent.map(e=>e.split(/[/\\]/).pop()??e)})})},confirmPermanentDelete:e=>{e.length!==0&&c({paths:e.map(e=>e.path),names:e.map(e=>e.name)})},download:e=>void mt(e),copyPath:e=>void ht(e,`Path`),copyName:e=>void ht(e,`Name`),togglePin:(e,t)=>{let n=z.getState();n.isPinned(e)?n.unpin(e):n.pin({path:e,name:t})},showProperties:e=>f(e)}),[e,i,n,g,r]),dialogs:{collision:a,pendingDelete:s,permanentOverwrite:l,properties:d,inlineError:p,closeDelete:()=>c(null),runPermanentDelete:(0,B.useCallback)(()=>{let e=s;c(null),e&&St(e.paths,!0,h.current?.sep??`/`)},[s]),closeProperties:()=>f(null)}}}var V=n(),wt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#EA580C`,fillRule:`evenodd`,d:`M5.522 13.915c-.268.895-.402 1.341-.37 1.766.032.374.154.733.356 1.045.229.351.602.611 1.35 1.13l3.3 2.297c.666.463 1 .696 1.36.786.318.08.65.08.97.003.36-.09.696-.32 1.365-.78l3.336-2.302c.755-.52 1.133-.78 1.365-1.135.204-.313.326-.675.355-1.052.033-.428-.105-.877-.379-1.777l-2.923-9.599c-.141-.466-.212-.699-.348-.872a1.119 1.119 0 00-.45-.343C14.613 3 14.379 3 13.91 3H10.1c-.47 0-.706 0-.905.084-.176.073-.33.192-.45.345-.136.174-.206.408-.345.876l-2.878 9.611zm8.536-8.878c.112.145.17.344.285.736l2.51 8.6a10.147 10.147 0 00-3.001-1.058l-1.633-5.762a.222.222 0 00-.078-.113.207.207 0 00-.253 0 .222.222 0 00-.077.113l-1.614 5.758c-1.05.19-2.067.549-3.014 1.062l2.523-8.601c.114-.394.172-.59.284-.736.1-.128.23-.228.376-.29.167-.07.364-.07.757-.07h1.801c.394 0 .592 0 .759.07a.943.943 0 01.375.291zm-1.945 10.367c.95 0 1.777-.25 2.19-.62a1.961 1.961 0 01-.133 1.467c-.265.511-.65.765-.995.994-.436.288-.81.537-.81 1.202 0 .22.049.43.136.615a1.622 1.622 0 01-.72-.617c-.176-.275-.27-.599-.27-.93v-.041c0-.46 0-1.026-.62-1.026a.634.634 0 00-.466.2.689.689 0 00-.193.486c-.698-.73-.637-1.779-.637-1.779 0-.214.02-.548.112-.84.26.51 1.238.888 2.406.888v.001z`,clipRule:`evenodd`})}),Tt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`rect`,{width:`2`,height:`8`,x:`3`,y:`8`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`2`,height:`12`,x:`7`,y:`6`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`2`,height:`18`,x:`11`,y:`3`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`2`,height:`12`,x:`15`,y:`6`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`2`,height:`8`,x:`19`,y:`8`,fill:`#64748B`,rx:`1`})]}),Et=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#F59E0B`,d:`M4.778 6.667A2.667 2.667 0 017.444 4a.889.889 0 010 1.778.889.889 0 00-.888.889v3.5c0 .701-.273 1.35-.73 1.833.457.483.73 1.132.73 1.832v3.501c0 .491.398.89.888.89a.889.889 0 010 1.777 2.667 2.667 0 01-2.666-2.667v-3.5a.889.889 0 00-.674-.863l-.43-.108a.889.889 0 010-1.724l.43-.108a.889.889 0 00.674-.862V6.667zm14.222 0A2.667 2.667 0 0016.333 4a.889.889 0 000 1.778c.491 0 .89.398.89.889v3.5c0 .701.272 1.35.729 1.833a2.664 2.664 0 00-.73 1.832v3.501a.889.889 0 01-.889.89.889.889 0 000 1.777A2.667 2.667 0 0019 17.333v-3.5c0-.408.278-.764.673-.863l.431-.108a.889.889 0 000-1.724l-.43-.108a.889.889 0 01-.674-.862V6.667z`})}),Dt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{fill:`#60A5FA`,d:`M17.763 9.938h-2.489a2.432 2.432 0 00-.278-.858c-.14-.254-.32-.47-.54-.648a2.375 2.375 0 00-.761-.41 2.912 2.912 0 00-.927-.141c-.602 0-1.126.15-1.573.449-.447.295-.794.727-1.04 1.295-.246.564-.37 1.25-.37 2.057 0 .83.124 1.526.37 2.09.25.565.598.991 1.045 1.28.447.287.964.431 1.551.431.33 0 .635-.044.915-.13.284-.088.536-.215.756-.381.22-.17.401-.377.545-.62.148-.242.25-.519.307-.83l2.489.012a4.643 4.643 0 01-1.511 2.87 4.84 4.84 0 01-1.535.92c-.59.223-1.26.335-2.005.335-1.038 0-1.966-.235-2.784-.704-.815-.47-1.459-1.15-1.932-2.04-.47-.89-.705-1.968-.705-3.233 0-1.27.239-2.349.716-3.239.477-.89 1.125-1.568 1.943-2.034.819-.47 1.739-.704 2.762-.704.674 0 1.299.094 1.875.284.58.189 1.093.466 1.54.83.446.359.81.8 1.09 1.323.284.523.466 1.121.546 1.796z`})}),Ot=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#2563EB`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M6.778 8.519L3 12.297l3.778 3.779M17.222 8.519L21 12.297l-3.778 3.779M9.271 18.595L14.73 6`})}),kt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#EA580C`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M6.778 8.519L3 12.297l3.778 3.779M17.222 8.519L21 12.297l-3.778 3.779M9.271 18.595L14.73 6`})}),At=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsx)(`g`,{fill:`#60A5FA`,clipPath:`url(#clip0_20556_569)`,children:(0,V.jsx)(`path`,{d:`M16.633 14.185v-4.37h1.105v4.37h-1.105zM15 12.552v-1.104h4.37v1.104H15zM21.599 14.185v-4.37h1.105v4.37h-1.105zm-1.633-1.633v-1.104h4.37v1.104h-4.37zM14.6 9.938h-2.49a2.436 2.436 0 00-.278-.858c-.14-.254-.32-.47-.54-.648a2.375 2.375 0 00-.761-.41 2.912 2.912 0 00-.926-.141c-.602 0-1.127.15-1.574.449-.447.295-.794.727-1.04 1.295-.246.564-.37 1.25-.37 2.057 0 .83.124 1.526.37 2.09.25.565.599.991 1.046 1.28.447.287.964.431 1.55.431.33 0 .635-.044.916-.13.284-.088.536-.215.755-.381.22-.17.402-.377.546-.62.147-.242.25-.519.307-.83l2.488.012a4.642 4.642 0 01-1.511 2.87 4.84 4.84 0 01-1.534.92c-.591.223-1.26.335-2.006.335-1.038 0-1.966-.235-2.784-.704-.814-.47-1.458-1.15-1.932-2.04-.47-.89-.704-1.968-.704-3.233 0-1.27.238-2.349.716-3.239.477-.89 1.125-1.568 1.943-2.034.818-.47 1.738-.704 2.761-.704.674 0 1.3.094 1.875.284.58.189 1.093.466 1.54.83.447.359.81.8 1.09 1.323.285.523.467 1.121.546 1.796z`})}),(0,V.jsx)(`defs`,{children:(0,V.jsx)(`clipPath`,{id:`clip0_20556_569`,children:(0,V.jsx)(`path`,{fill:`#fff`,d:`M0 0H24V24H0z`,transform:`translate(.336)`})})})]}),jt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#14B8A6`,d:`M15.263 9.938h-2.489a2.432 2.432 0 00-.278-.858c-.14-.254-.32-.47-.54-.648a2.375 2.375 0 00-.761-.41 2.912 2.912 0 00-.927-.141c-.602 0-1.126.15-1.573.449-.447.295-.794.727-1.04 1.295-.246.564-.37 1.25-.37 2.057 0 .83.124 1.526.37 2.09.25.565.598.991 1.045 1.28.447.287.964.431 1.551.431.33 0 .635-.044.915-.13.284-.088.536-.215.756-.381.22-.17.401-.377.545-.62.148-.242.25-.519.307-.83l2.489.012a4.643 4.643 0 01-1.511 2.87 4.84 4.84 0 01-1.535.92c-.59.223-1.26.335-2.005.335-1.038 0-1.966-.235-2.784-.704-.815-.47-1.459-1.15-1.932-2.04-.47-.89-.705-1.968-.705-3.233 0-1.27.239-2.349.716-3.239.477-.89 1.125-1.568 1.943-2.034.818-.47 1.739-.704 2.762-.704.674 0 1.299.094 1.875.284.58.189 1.093.466 1.54.83.446.359.81.8 1.09 1.323.284.523.466 1.121.546 1.796zM20.273 16.47l1.466-8.94h1.397l-1.467 8.94h-1.396zm-4.003-2.218l.232-1.397h6.983l-.231 1.397H16.27zm.86 2.217l1.467-8.938h1.396l-1.466 8.938H17.13zm-.349-5.325l.236-1.396H24l-.236 1.397h-6.983z`})}),Mt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsxs)(`mask`,{id:`a`,maskUnits:`userSpaceOnUse`,x:`3`,y:`3`,width:`18`,height:`18`,fill:`#000`,children:[(0,V.jsx)(`path`,{fill:`#fff`,d:`M3 3h18v18H3z`}),(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M15.8889 5H8.11111C6.39289 5 5 6.39289 5 8.11111v7.77779C5 17.6071 6.39289 19 8.11111 19h7.77779C17.6071 19 19 17.6071 19 15.8889V8.11111C19 6.39289 17.6071 5 15.8889 5Zm0 12.4444H8.1111c-.05369 0-.10674-.0027-.15904-.008.0523.0053.10536.008.15905.008h7.77779Zm1.5555-1.5555c0 .8054-.6121 1.4679-1.3965 1.5475.7844-.0797 1.3965-.7421 1.3965-1.5475V8.11111v7.77779Z`})]}),(0,V.jsx)(`path`,{d:`M15.8889 19.4444c1.1046 0 2-.8954 2-2 0-1.1045-.8954-2-2-2v4Zm-7.7778-2 .00001-2H8.1111v2Zm-.15904-.008.20206-1.9898c-1.09891-.1115-2.08022.6888-2.19182 1.7877-.1116 1.099.68877 2.0803 1.78768 2.1919l.20208-1.9898Zm8.09584 0-.2021-1.9897c-1.0989.1116-1.8992 1.0929-1.7876 2.1918.1116 1.0989 1.0929 1.8993 2.1918 1.7877l-.2021-1.9898Zm3.3965-9.32529c0-1.10457-.8954-2-2-2-1.1045 0-2 .89543-2 2h4ZM8.11111 7h7.77779V3H8.11111v4ZM7 8.11111C7 7.49746 7.49746 7 8.11111 7V3C5.28832 3 3 5.28832 3 8.11111h4Zm0 7.77779V8.11111H3v7.77779h4ZM8.11111 17C7.49746 17 7 16.5025 7 15.8889H3C3 18.7117 5.28832 21 8.11111 21v-4Zm7.77779 0H8.11111v4h7.77779v-4ZM17 15.8889C17 16.5025 16.5025 17 15.8889 17v4C18.7117 21 21 18.7117 21 15.8889h-4Zm0-7.77779v7.77779h4V8.11111h-4ZM15.8889 7C16.5025 7 17 7.49746 17 8.11111h4C21 5.28832 18.7117 3 15.8889 3v4Zm0 8.4444H8.11111l-.00001 4h7.7778v-4Zm-7.7778 0c.01378 0 .02816.0007.04302.0022l-.40411 3.9796c.11944.0121.23994.0182.36109.0182v-4Zm-.36112 3.9818c.11935.0121.23985.0182.36113.0182v-4c.01389 0 .02828.0008.04304.0022l-.40417 3.9796Zm.36113.0182h7.77779v-4H8.11111v4Zm8.13889-.0182c1.7951-.1823 3.1944-1.6951 3.1944-3.5373h-4c0-.2314.1752-.4193.4015-.4423l.4041 3.9796Zm-.8056-3.5373c0-.2314.1752-.4193.4014-.4422l.4042 3.9795c1.795-.1823 3.1944-1.6951 3.1944-3.5373h-4Zm0-7.77779v7.77779h4V8.11111h-4Zm4 0c0-.07155-.0038-.14596-.0124-.22267-.0086-.07678-.0218-.15478-.0403-.23343-.0184-.07869-.0416-.15651-.0697-.233-.0281-.07648-.0604-.15005-.0963-.22045-.036-.07036-.0749-.13629-.1158-.1978-.0408-.06145-.0832-.11775-.1258-.16912-.085-.10251-.1704-.18478-.2468-.2495-.0383-.03245-.0749-.061-.1089-.08594-.034-.02494-.0659-.04672-.0949-.06556-.029-.01883-.0558-.03518-.0797-.04914-.0239-.01396-.0456-.02598-.0644-.03606-.0188-.01008-.0355-.01864-.0493-.02558-.0139-.00694-.0257-.01268-.0348-.01701-.009-.00429-.0163-.00769-.0207-.00971-.0022-.00104-.004-.00187-.0051-.00238-.0006-.00025-.001-.00046-.0013-.00059-.0002-.00006-.0003-.00011-.0003-.00014-.0001-.00001-.0001-.00003-.0001-.00004v-.00001c-.0006-.00027.0028.00131.0068.00316.0044.00202.0117.00541.0207.00971.0091.00433.0209.01007.0348.01701.0138.00694.0305.0155.0493.02558.0188.01008.0405.0221.0644.03606.0239.01396.0507.03031.0797.04914.029.01883.0609.04062.0949.06556.0339.02494.0706.05349.1089.08594.0764.06472.1618.14698.2468.24949.0426.05138.085.10768.1258.16913.0409.06151.0798.12744.1157.19779.036.07041.0683.14397.0964.22046.028.07648.0513.15431.0697.23299.0185.07865.0317.15665.0403.23344.0086.07671.0124.15112.0124.22267h-4c0 .07154.0039.14595.0125.22267.0086.07678.0218.15478.0402.23343.0185.07868.0417.15651.0698.233.0281.07648.0604.15005.0963.22045.036.07036.0749.13629.1158.1978.0408.06144.0832.11775.1258.16912.0849.10251.1704.18478.2468.2495.0383.03244.0749.061.1089.08594.0339.02493.0658.04672.0949.06556.029.01883.0558.03517.0797.04914.0239.01396.0456.02598.0644.03606.0188.01007.0354.01864.0493.02558.0139.00693.0257.01268.0348.01701.009.00429.0163.00769.0207.00971.0022.00104.004.00187.0051.00237.0006.00026.001.00047.0013.00059.0001.00007.0003.00012.0003.00015.0001.00001.0001.00003.0001.00004v.00001c.0006.00026-.0028-.00131-.0068-.00316-.0044-.00202-.0117-.00542-.0207-.00971-.0091-.00433-.0209-.01008-.0348-.01701-.0139-.00694-.0305-.01551-.0493-.02558-.0188-.01008-.0405-.0221-.0644-.03606-.0239-.01396-.0507-.03031-.0797-.04914-.029-.01884-.061-.04062-.0949-.06556-.034-.02494-.0706-.0535-.1089-.08594-.0764-.06472-.1619-.14699-.2468-.2495-.0426-.05137-.085-.10767-.1258-.16912-.0409-.06151-.0798-.12744-.1158-.1978-.0359-.0704-.0682-.14397-.0963-.22045-.0281-.07649-.0513-.15431-.0698-.233-.0184-.07865-.0316-.15665-.0402-.23343-.0086-.07671-.0125-.15112-.0125-.22267h4Zm0 7.77779V8.11111h-4v7.77779h4Z`,fill:`#14B8A6`,mask:`url(#a)`}),(0,V.jsx)(`rect`,{x:`7`,y:`7`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`7`,y:`11`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`7`,y:`15`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`13`,y:`7`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`13`,y:`11`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`13`,y:`15`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`})]}),Nt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`m14.4683 3.59153 3.0794 3.0794L6.41714 6.0794l5.68376-2.84252C12.3589 3.08205 12.7586 3 13.1662 3c.4737 0 1.0335.32157 1.3021.59153ZM6.41583 15.6709c0 .9502.1191 1.1831.59153 1.6582l.47375.4737h.00001L10.6783 21h7.4609l.0001-3.1972h-.0001l-5.2099-5.9206-6.51347-5.80279v9.59149Z`,fill:`#38BDF8`}),(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.41583 6.07812h9.47377c.6524 0 1.1248.05823 1.6568.59154l3.79 3.79004v7.3418h-3.1971L6.41583 6.07812ZM3.92796 14.2497l3.0794 3.0794-.59153-11.24969L3.5733 12c-.10189.2144-.23687.5889-.23687.8284 0 .5174.22629 1.0468.59153 1.4213Z`,fill:`#075985`})]}),Pt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{d:`M4.8 6.6c0-.62.28-1.16.7-1.6.4-.44.97-.8 1.61-1.08C8.4 3.34 10.13 3 12 3c1.87 0 3.6.34 4.89.92.64.28 1.2.64 1.61 1.08.42.44.7.98.7 1.6v10.8c0 .62-.28 1.16-.7 1.6-.4.44-.97.8-1.61 1.08-1.29.58-3.02.92-4.89.92-1.87 0-3.6-.34-4.89-.92A5.05 5.05 0 0 1 5.5 19c-.42-.44-.7-.98-.7-1.6V6.6Zm1.35 0c0 .19.08.41.33.68.25.26.64.53 1.18.77 1.08.48 2.61.8 4.34.8s3.26-.32 4.34-.8c.54-.24.93-.5 1.18-.77.25-.27.33-.5.33-.68 0-.19-.08-.41-.33-.68a3.73 3.73 0 0 0-1.18-.77c-1.08-.48-2.61-.8-4.34-.8s-3.26.32-4.34.8c-.54.24-.93.5-1.18.77-.25.27-.33.5-.33.68Zm11.7 2.15c-.29.2-.61.38-.96.53-1.29.58-3.02.92-4.89.92-1.87 0-3.6-.34-4.89-.92a6.12 6.12 0 0 1-.96-.53v8.65c0 .19.08.41.33.68.25.26.64.53 1.18.77 1.08.48 2.61.8 4.34.8s3.26-.32 4.34-.8c.54-.24.93-.5 1.18-.77.25-.27.33-.5.33-.68V8.75Z`,fill:`#F472B6`}),(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 3.69c1.33-.6 3.1-.94 5-.94s3.67.34 5 .94c.65.3 1.25.67 1.69 1.14.44.47.76 1.07.76 1.77v10.8c0 .7-.32 1.3-.76 1.77a5.3 5.3 0 0 1-1.7 1.14c-1.32.6-3.09.94-4.99.94-1.9 0-3.67-.34-5-.94a5.3 5.3 0 0 1-1.69-1.14 2.58 2.58 0 0 1-.76-1.77V6.6c0-.7.32-1.3.76-1.77a5.3 5.3 0 0 1 1.7-1.14ZM6.67 7.1c.22.24.59.5 1.1.72 1.04.47 2.54.78 4.24.78 1.7 0 3.2-.31 4.24-.78.51-.23.88-.48 1.1-.72.22-.23.26-.4.26-.5 0-.1-.04-.27-.26-.5a3.49 3.49 0 0 0-1.1-.72A10.72 10.72 0 0 0 12 4.6c-1.7 0-3.2.31-4.24.78-.51.23-.88.48-1.1.72-.22.23-.26.4-.26.5 0 .1.04.27.26.5Zm10.86-1.18c.25.27.33.5.33.68 0 .19-.08.41-.33.68-.25.26-.64.53-1.18.77-1.08.48-2.61.8-4.34.8s-3.26-.32-4.34-.8a3.73 3.73 0 0 1-1.18-.77c-.25-.27-.33-.5-.33-.68 0-.19.08-.41.33-.68.25-.26.64-.53 1.18-.77 1.08-.48 2.61-.8 4.34-.8s3.26.32 4.34.8c.54.24.93.5 1.18.77ZM7.11 20.08A5.05 5.05 0 0 1 5.5 19c-.42-.44-.7-.98-.7-1.6V6.6c0-.62.28-1.16.7-1.6.4-.44.97-.8 1.61-1.08C8.4 3.34 10.13 3 12 3c1.87 0 3.6.34 4.89.92.64.28 1.2.64 1.61 1.08.42.44.7.98.7 1.6v10.8c0 .62-.28 1.16-.7 1.6-.4.44-.97.8-1.61 1.08-1.29.58-3.02.92-4.89.92-1.87 0-3.6-.34-4.89-.92Zm-.45-2.18c.22.24.59.5 1.1.72 1.04.47 2.54.78 4.24.78 1.7 0 3.2-.31 4.24-.78.51-.23.88-.48 1.1-.72.22-.23.26-.4.26-.5V9.2c-.2.12-.4.22-.6.31-1.33.6-3.1.94-5 .94s-3.67-.34-5-.94l-.6-.3v8.19c0 .1.04.27.26.5Zm-.51-9.15a5.26 5.26 0 0 0 .96.53c1.29.58 3.02.92 4.89.92 1.87 0 3.6-.34 4.89-.92a6.5 6.5 0 0 0 .96-.53v8.65c0 .19-.08.41-.33.68-.25.26-.64.53-1.18.77-1.08.48-2.61.8-4.34.8s-3.26-.32-4.34-.8a3.73 3.73 0 0 1-1.18-.77c-.25-.27-.33-.5-.33-.68V8.75Z`,fill:`#F472B6`})]}),Ft=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{d:`M21.8028 10.5301c-.0543-.0439-.5607-.4342-1.6285-.4342-.282.0012-.5634.0259-.8414.0738-.2067-1.44602-1.3779-2.15104-1.4304-2.18267l-.2868-.16879-.1886.27779c-.2362.37317-.4086.78453-.5098 1.21661-.1912.82546-.0749 1.60076.3358 2.26356-.496.2822-1.2917.3516-1.4527.3578H2.62605c-.34411.0004-.62333.2843-.62521.6355-.01537 1.1781.18017 2.3492.57699 3.4556.45383 1.2148 1.129 2.1097 2.00741 2.6573.98432.6154 2.58353.967 4.39631.967.81893.0026 1.63635-.073 2.44145-.2259 1.1192-.2098 2.1962-.6091 3.1864-1.1815.8158-.4823 1.5501-1.0958 2.1744-1.817 1.0438-1.206 1.6656-2.5492 2.128-3.743h.1843c1.1428 0 1.8455-.4668 2.233-.8579.2576-.2495.4586-.5534.5891-.8905L22 10.6892l-.1972-.1591Z`,fill:`#60A5FA`}),(0,V.jsx)(`path`,{d:`M3.84723 11.5402h1.76541c.08514 0 .15414-.0705.15414-.1574V9.77764c.00048-.08691-.06816-.15774-.15327-.15822H3.84723c-.08515 0-.15415.07045-.15415.15733v1.60605c0 .0869.069.1574.15415.1574ZM6.28004 11.5402h1.76541c.08515 0 .15414-.0705.15414-.1574V9.77764c.00048-.08691-.06815-.15774-.1533-.15822H6.28001c-.08562 0-.15501.07082-.15501.15822v1.60516c.0005.087.06975.1574.15504.1574M8.74987 11.5402h1.76543c.0851 0 .1541-.0705.1541-.1574V9.77764c.0005-.08691-.0681-.15774-.1533-.15822H8.74984c-.08514 0-.15414.07045-.15414.15733v1.60605c.00003.0869.06905.1574.15417.1574ZM11.1905 11.5402h1.7654c.0853 0 .1545-.0703.155-.1574V9.77764c0-.0874-.0694-.15822-.155-.15822h-1.7654c-.0852 0-.1542.07045-.1542.15733v1.60605c0 .0869.069.1574.1542.1574ZM6.28001 9.23086h1.76541c.08526-.00049.15414-.0712.15414-.15823V7.46749c0-.08691-.06902-.15734-.15414-.15734H6.28001c-.08526 0-.15453.07028-.15501.15734v1.60514c.00048.0872.06958.15774.15501.15823ZM8.74987 9.23086h1.76543c.0852-.00049.1541-.0712.1541-.15823V7.46749c0-.08691-.069-.15734-.1541-.15734H8.74987c-.08514 0-.15414.07046-.15414.15734v1.60514c0 .08703.06889.15774.15414.15823ZM11.1905 9.23086h1.7654c.0854-.00049.1545-.07103.155-.15823V7.46749c-.0005-.08706-.0697-.15734-.155-.15734h-1.7654c-.0852 0-.1542.07046-.1542.15734v1.60514c0 .08703.0689.15774.1542.15823ZM11.1905 6.92074h1.7654c.0853 0 .1545-.07032.155-.15734V5.15734C13.1104 5.07028 13.0412 5 12.9559 5h-1.7654c-.0852 0-.1542.07043-.1542.15734v1.60603c0 .08691.069.15737.1542.15737ZM13.6526 11.5402h1.7654c.0853 0 .1545-.0703.155-.1574V9.77764c0-.0874-.0694-.15822-.155-.15822h-1.7654c-.0851 0-.1542.07045-.1542.15733v1.60605c0 .0869.0691.1574.1542.1574`,fill:`#60A5FA`})]}),It=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#64748B`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M6 3a1 1 0 00-1 1v16a1 1 0 001 1h12a1 1 0 001-1V8a1 1 0 00-.375-.78l-5-4A1 1 0 0013 3H6z`}),(0,V.jsx)(`path`,{stroke:`#64748B`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M12 4v5h6`})]}),Lt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#64748B`,d:`M8.97 9.56c.295 1.064-.32 2.17-1.356 2.437l-.55.14a5.797 5.797 0 00.006 1.764l.508.127c1.046.262 1.668 1.379 1.364 2.45l-.176.616c.413.377.884.682 1.396.9l.464-.507a1.835 1.835 0 012.728 0l.469.513a4.943 4.943 0 001.394-.89l-.186-.67c-.296-1.064.32-2.17 1.356-2.437l.549-.14a5.788 5.788 0 00-.006-1.764l-.507-.127c-1.047-.261-1.669-1.379-1.364-2.45l.175-.616a4.939 4.939 0 00-1.396-.9l-.464.507c-.742.809-1.986.809-2.727 0L10.177 8a4.939 4.939 0 00-1.394.89l.186.67zM12 14.464c-.753 0-1.364-.655-1.364-1.464 0-.808.61-1.464 1.364-1.464.753 0 1.364.656 1.364 1.464 0 .809-.61 1.464-1.364 1.464z`}),(0,V.jsx)(`path`,{fill:`#64748B`,fillRule:`evenodd`,d:`M4 20V6h16v14H4zM2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4z`,clipRule:`evenodd`})]}),H=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#64748B`,d:`M5.939 5.37a3.763 3.763 0 01-2.712 4.696l-1.099.272a10.777 10.777 0 00.012 3.4l1.015.244a3.763 3.763 0 012.728 4.723l-.35 1.187a9.936 9.936 0 002.792 1.734l.928-.976a3.763 3.763 0 015.454.001l.938.987a9.937 9.937 0 002.79-1.717l-.373-1.29a3.763 3.763 0 012.712-4.697l1.098-.271a10.774 10.774 0 00-.012-3.4l-1.014-.245a3.763 3.763 0 01-2.728-4.723l.35-1.186a9.929 9.929 0 00-2.792-1.735l-.928.976a3.762 3.762 0 01-5.454-.001l-.938-.987a9.932 9.932 0 00-2.79 1.717l.373 1.29zM12 14.822c-1.506 0-2.727-1.263-2.727-2.822 0-1.558 1.22-2.822 2.727-2.822 1.506 0 2.727 1.264 2.727 2.822 0 1.559-1.22 2.822-2.727 2.822z`})}),Rt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#F87171`,d:`M20.661 11.198l-7.86-7.859a1.159 1.159 0 00-1.639 0L9.53 4.972l2.07 2.07a1.376 1.376 0 011.744 1.755l1.995 1.995a1.377 1.377 0 011.425 2.278 1.38 1.38 0 01-2.251-1.5l-1.86-1.861-.001 4.897a1.38 1.38 0 11-1.134-.04V9.623a1.379 1.379 0 01-.749-1.809l-2.04-2.04-5.39 5.388a1.16 1.16 0 000 1.64l7.86 7.858a1.16 1.16 0 001.64 0l7.822-7.821a1.16 1.16 0 000-1.64`})}),zt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsxs)(`g`,{fill:`#60A5FA`,clipPath:`url(#clip0_20558_611)`,children:[(0,V.jsx)(`path`,{fillRule:`evenodd`,d:`M1.878 9.794c-.046 0-.058-.023-.035-.058l.244-.313c.023-.035.081-.058.127-.058h4.14c.046 0 .058.035.034.07l-.197.301c-.023.035-.08.07-.116.07l-4.197-.012zM.128 10.86c-.047 0-.058-.022-.035-.057l.243-.313c.023-.035.081-.058.128-.058H5.75c.046 0 .07.035.058.07l-.093.278c-.012.046-.058.07-.104.07l-5.484.01zM2.933 11.928c-.046 0-.058-.035-.034-.07l.162-.29c.023-.035.07-.07.116-.07h2.319c.046 0 .07.035.07.082l-.024.278c0 .046-.046.081-.081.081l-2.528-.011zM14.968 9.585c-.73.186-1.229.325-1.948.51-.174.047-.185.059-.336-.115-.174-.197-.301-.325-.545-.44-.73-.36-1.438-.256-2.098.173-.789.51-1.195 1.264-1.183 2.203.012.928.65 1.693 1.565 1.82.789.105 1.45-.174 1.971-.765.104-.127.197-.267.313-.429H10.47c-.243 0-.3-.15-.22-.348.151-.36.43-.962.592-1.264a.313.313 0 01.29-.185h4.22c-.024.313-.024.626-.07.939-.127.835-.44 1.6-.95 2.273-.835 1.1-1.925 1.785-3.305 1.97-1.136.151-2.191-.07-3.119-.765-.858-.649-1.345-1.507-1.472-2.574-.151-1.263.22-2.4.985-3.397.823-1.078 1.913-1.762 3.247-2.006 1.09-.197 2.133-.07 3.072.569a3.634 3.634 0 011.345 1.634c.07.105.023.163-.116.197z`,clipRule:`evenodd`}),(0,V.jsx)(`path`,{d:`M18.806 15.997c-1.055-.023-2.018-.325-2.83-1.02a3.636 3.636 0 01-1.251-2.238c-.21-1.31.15-2.47.939-3.501.846-1.113 1.866-1.693 3.246-1.937 1.183-.208 2.296-.092 3.305.592.915.626 1.483 1.472 1.634 2.585.197 1.566-.255 2.84-1.333 3.93-.765.777-1.704 1.264-2.783 1.485-.313.058-.626.07-.927.104zm2.76-4.684c-.012-.15-.012-.267-.036-.383-.208-1.147-1.263-1.797-2.365-1.542-1.078.244-1.774.928-2.029 2.018-.209.904.232 1.82 1.067 2.191.638.278 1.275.244 1.89-.07.916-.475 1.414-1.217 1.472-2.214z`})]}),(0,V.jsx)(`defs`,{children:(0,V.jsx)(`clipPath`,{id:`clip0_20558_611`,children:(0,V.jsx)(`path`,{fill:`#fff`,d:`M0 0H24V24H0z`,transform:`translate(.336)`})})})]}),Bt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`rect`,{width:`16`,height:`16`,x:`4`,y:`4`,stroke:`#C084FC`,strokeLinejoin:`round`,strokeWidth:`2`,rx:`3`}),(0,V.jsx)(`circle`,{cx:`15`,cy:`9`,r:`2`,fill:`#C084FC`}),(0,V.jsx)(`path`,{stroke:`#C084FC`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M5 19l5.586-5.586a2 2 0 012.828 0L19 19`})]}),Vt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#F87171`,strokeWidth:`2`,d:`M5.334 3.75c-.965 0-1.748.781-1.748 1.746v4.554a7.201 7.201 0 0014.322 1.078c.035-4.128.035-2.128.035-6.029a1.748 1.748 0 00-1.702-1.35H5.334z`}),(0,V.jsx)(`path`,{stroke:`#F87171`,strokeLinecap:`round`,strokeWidth:`2`,d:`M4.086 20.251L20.086 20.251`}),(0,V.jsx)(`mask`,{id:`mask0_20565_673`,style:{maskType:`alpha`},width:`4`,height:`7`,x:`20`,y:`4`,maskUnits:`userSpaceOnUse`,children:(0,V.jsx)(`path`,{fill:`#D9D9D9`,stroke:`#F87171`,d:`M21.086 4.5H23.086V10.5H21.086z`})}),(0,V.jsx)(`g`,{mask:`url(#mask0_20565_673)`,children:(0,V.jsx)(`circle`,{cx:`20.632`,cy:`8`,r:`2`,stroke:`#F87171`,strokeWidth:`2`})})]}),Ht=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#F59E0B`,d:`M8.383 7.318h2.127v7.1c0 .656-.147 1.226-.442 1.71a2.924 2.924 0 01-1.218 1.118c-.52.262-1.125.393-1.815.393-.613 0-1.17-.107-1.67-.323a2.67 2.67 0 01-1.183-.994c-.292-.448-.436-1.01-.433-1.686h2.143c.006.269.061.5.164.691.106.19.25.335.432.438.186.1.405.15.657.15.265 0 .488-.057.67-.17.186-.116.327-.285.423-.507.096-.222.145-.496.145-.82v-7.1zm9.43 2.928c-.04-.4-.21-.712-.511-.934-.302-.222-.711-.333-1.228-.333-.352 0-.648.05-.89.149-.242.096-.428.23-.557.403a.969.969 0 00-.19.586.838.838 0 00.115.477c.087.136.204.254.353.353.15.097.322.181.517.254.196.07.405.13.627.179l.915.219c.444.1.851.232 1.223.397.37.166.692.37.964.612s.482.527.631.855a2.7 2.7 0 01.234 1.129c-.003.623-.162 1.163-.477 1.62-.312.454-.763.807-1.353 1.06-.586.248-1.294.372-2.122.372-.822 0-1.538-.126-2.148-.378-.607-.252-1.08-.624-1.422-1.118-.338-.497-.515-1.112-.532-1.845h2.083c.023.342.121.627.293.855.176.226.41.397.702.513.295.112.628.168.999.168.364 0 .68-.053.95-.159.271-.106.482-.253.63-.442.15-.189.224-.406.224-.651a.846.846 0 00-.203-.577c-.133-.156-.329-.288-.587-.398a5.964 5.964 0 00-.94-.298l-1.108-.278c-.859-.21-1.537-.536-2.034-.98-.497-.444-.744-1.042-.74-1.795-.004-.616.16-1.155.492-1.615.334-.461.793-.82 1.377-1.08.583-.258 1.246-.387 1.989-.387.755 0 1.415.13 1.978.388.567.258 1.008.618 1.323 1.079.314.46.477.994.487 1.6h-2.063z`})}),Ut=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#A855F7`,strokeWidth:`2`,d:`M18.922 20H4.336V4h14.586l-7.293 7.293-.707.707.707.707L18.922 20z`})}),Wt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#64748B`,d:`M13.768 10.233l1.768-1.768a5 5 0 100 7.071l-1.768-1.768a2.5 2.5 0 110-3.535z`}),(0,V.jsx)(`path`,{fill:`#64748B`,d:`M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 17.5a7.5 7.5 0 110-15 7.5 7.5 0 110 15z`})]}),Gt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#2563EB`,fillRule:`evenodd`,d:`M10.85 5.3a7.854 7.854 0 017.851 7.85 7.854 7.854 0 01-7.85 7.851A7.854 7.854 0 013 13.151 7.854 7.854 0 0110.85 5.3zm3.254 2.299a2.3 2.3 0 010 4.597 2.3 2.3 0 010-4.598z`,clipRule:`evenodd`}),(0,V.jsx)(`path`,{fill:`#2563EB`,d:`M21 5.298a2.3 2.3 0 00-4.598 0 2.3 2.3 0 004.598 0z`})]}),Kt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#60A5FA`,d:`M3 15.714V8h2.323l2.322 2.836L9.968 8h2.322v7.714H9.968V11.29l-2.323 2.836-2.322-2.836v4.424H3zm14.516 0l-3.484-3.743h2.323V8h2.322v3.97H21l-3.484 3.744z`})}),qt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#60A5FA`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M19 4a1 1 0 00-1-1H8a3 3 0 00-3 3v12a3 3 0 003 3h10a1 1 0 001-1V4z`}),(0,V.jsx)(`rect`,{width:`14`,height:`2`,x:`5`,y:`16`,fill:`#60A5FA`,rx:`1`})]}),Jt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#A855F7`,d:`M11.99 4.089c-1.546.471-2.535 1.665-2.525 3.044.011.944.31 1.781 1.063 2.964.483.76 1.45 2.218 1.479 2.228.014.007.148-.056.292-.137 1.024-.57 1.675-1.472 1.816-2.506.021-.152.039-.602.039-.996 0-.792.014-.86.211-1 .229-.166.507-.113.69.127l.102.13.01.725c.008.422-.003.862-.027 1.049a4.386 4.386 0 01-.687 1.876c-.225.345-.799.912-1.197 1.183-.355.242-1.052.626-1.27.7a.488.488 0 01-.507-.116c-.092-.088-1.623-2.408-2.031-3.083-.437-.719-.771-1.521-.915-2.204-.11-.517-.123-1.278-.032-1.704.088-.394.243-.806.426-1.112.084-.144.148-.267.14-.274a1.983 1.983 0 00-.358.045C5.98 5.49 3.756 7.616 3.16 10.33c-.15.676-.176.979-.154 1.795.02.8.063 1.077.253 1.708.215.707.507 1.33.978 2.08.338.538.525.908.638 1.263.193.595.207.729.228 2.02.014.82.036 1.236.064 1.286a.97.97 0 00.151.176l.11.105h2.593l.095-.088c.197-.183.194-.165.194-1.672v-1.39h2.108l.021 2.886.134.13.13.134h2.598l.095-.088c.173-.162.19-.236.229-1.01.067-1.366.25-2.362.651-3.523.215-.627.36-.961.817-1.883.39-.789.401-.803.496-.785.053.01.285.052.517.091.564.092.74.148.997.313.267.176.5.479.612.803.07.215.08.303.08.855 0 .595-.003.62-.084.736-.109.151-.355.264-.513.236a.944.944 0 01-.268-.134c-.204-.148-.496-.18-.672-.07-.204.126-1.64 1.598-1.697 1.738-.109.26-.05.458.215.708.919.873 2.386 1.197 3.6.795.73-.24 1.465-.834 1.961-1.59.268-.402.405-.694.563-1.208l.099-.313v-3.608c0-3.32-.003-3.633-.063-3.897a5.1 5.1 0 00-2.725-3.509c-.668-.334-1.534-.514-2.474-.514h-.38l-.388-.243c-.788-.485-1.27-.637-2.1-.658-.532-.01-.582-.007-.88.085zm5.575 5.174c.239.176.295.447.151.686-.264.419-.922.225-.922-.274 0-.388.471-.637.77-.412z`})}),Yt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#14B8A6`,fillRule:`evenodd`,d:`M14.622 21.322c-.6.11-1.284.174-1.999.178a12.52 12.52 0 01-2.179-.178c-1.136-.198-2.092-1.086-2.092-2.269v-4.156c0-1.217.93-2.217 2.092-2.217h4.178c1.418 0 2.613-1.271 2.613-2.712V7.974h1.438c1.216 0 1.926.92 2.223 2.213.401 1.735.384 2.773 0 4.435-.332 1.45-1.398 2.212-2.613 2.212H12.531v.555h4.183v1.664c0 1.26-.322 1.942-2.092 2.269zm-.176-2.837c-.532 0-.963.45-.963 1.005 0 .555.43 1.005.963 1.005.532 0 .963-.45.963-1.005 0-.555-.43-1.005-.963-1.005z`,clipRule:`evenodd`}),(0,V.jsx)(`path`,{fill:`#14B8A6`,fillRule:`evenodd`,d:`M9.378 2.678c.6-.11 1.284-.174 1.999-.178.715-.003 1.46.053 2.179.178 1.136.198 2.092 1.086 2.092 2.269v4.156c0 1.217-.93 2.217-2.092 2.217H9.378c-1.418 0-2.613 1.271-2.613 2.712v1.994H5.327c-1.216 0-1.926-.92-2.223-2.213-.401-1.735-.384-2.773 0-4.435.332-1.45 1.397-2.213 2.613-2.213H11.469v-.554H7.286V4.947c0-1.26.322-1.942 2.092-2.269zm.176 2.838c.532 0 .963-.45.963-1.005 0-.555-.43-1.006-.963-1.006-.532 0-.964.45-.964 1.006 0 .555.432 1.005.964 1.005z`,clipRule:`evenodd`})]}),Xt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#38BDF8`,d:`M12 13.677a1.677 1.677 0 100-3.354 1.677 1.677 0 000 3.354z`}),(0,V.jsx)(`path`,{stroke:`#38BDF8`,d:`M12 15.436c4.97 0 9-1.538 9-3.436s-4.03-3.436-9-3.436S3 10.102 3 12s4.03 3.436 9 3.436z`}),(0,V.jsx)(`path`,{stroke:`#38BDF8`,d:`M9.024 13.718c2.485 4.305 5.832 7.025 7.476 6.076 1.644-.949.961-5.208-1.524-9.512C12.491 5.977 9.144 3.257 7.5 4.206c-1.644.949-.961 5.208 1.524 9.512z`}),(0,V.jsx)(`path`,{stroke:`#38BDF8`,d:`M9.024 10.282c-2.485 4.304-3.168 8.563-1.524 9.512 1.644.95 4.99-1.771 7.476-6.076 2.485-4.304 3.168-8.563 1.524-9.512-1.644-.95-4.99 1.771-7.476 6.076z`})]}),Zt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#0E8ADC`,d:`M12 13.677a1.677 1.677 0 100-3.354 1.677 1.677 0 000 3.354z`}),(0,V.jsx)(`path`,{stroke:`#0E8ADC`,d:`M12 15.436c4.97 0 9-1.538 9-3.436s-4.03-3.436-9-3.436S3 10.102 3 12s4.03 3.436 9 3.436z`}),(0,V.jsx)(`path`,{stroke:`#0E8ADC`,d:`M9.024 13.718c2.485 4.305 5.832 7.025 7.476 6.076 1.644-.949.961-5.208-1.524-9.512C12.491 5.977 9.144 3.257 7.5 4.206c-1.644.949-.961 5.208 1.524 9.512z`}),(0,V.jsx)(`path`,{stroke:`#0E8ADC`,d:`M9.024 10.282c-2.485 4.304-3.168 8.563-1.524 9.512 1.644.95 4.99-1.771 7.476-6.076 2.485-4.304 3.168-8.563 1.524-9.512-1.644-.95-4.99 1.771-7.476 6.076z`})]}),Qt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsx)(`mask`,{id:`mask0_20571_807`,style:{maskType:`alpha`},width:`20`,height:`17`,x:`2`,y:`3`,maskUnits:`userSpaceOnUse`,children:(0,V.jsx)(`path`,{fill:`#D9D9D9`,d:`M17.992 3.14H6.78L2.84 9.377l9.578 9.877 9.02-9.877-3.445-6.237z`})}),(0,V.jsxs)(`g`,{stroke:`#F87171`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,mask:`url(#mask0_20571_807)`,children:[(0,V.jsx)(`path`,{d:`M12.653 2.162L8.336 9.35l4.323 11.255`}),(0,V.jsx)(`path`,{d:`M11.441 2.17l4.33 7.193-4.312 11.265`})]}),(0,V.jsx)(`path`,{stroke:`#F87171`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M4.107 9.35h16.125`}),(0,V.jsx)(`path`,{fill:`#F87171`,fillRule:`evenodd`,d:`M6.48 3.584a1 1 0 01.837-.453H17.32a1 1 0 01.87.505l2.976 5.231a1 1 0 01-.082 1.112l-7.857 10.024a1 1 0 01-1.549.031L3.142 10.01a1 1 0 01-.076-1.195l3.414-5.23zm1.379 1.547l-2.71 4.152 7.258 8.523 6.688-8.533-2.357-4.142h-8.88z`,clipRule:`evenodd`})]}),$t=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{fill:`#EA580C`,fillRule:`evenodd`,d:`M12.58 2.136a.287.287 0 00-.488 0l-.526.85a8.974 8.974 0 00-.232.022l-.683-.73a.287.287 0 00-.478.096l-.35.935c-.075.021-.15.044-.224.067l-.812-.583a.287.287 0 00-.45.187l-.162.989a9.088 9.088 0 00-.204.11l-.913-.417a.287.287 0 00-.406.272l.036 1.005a9.099 9.099 0 00-.175.144l-.98-.231a.287.287 0 00-.345.345l.231.98a9.125 9.125 0 00-.144.175L4.27 6.316a.287.287 0 00-.271.406l.416.913a9.036 9.036 0 00-.11.203L3.317 8a.287.287 0 00-.187.45l.584.813a8.953 8.953 0 00-.068.223l-.935.35a.287.287 0 00-.095.479l.73.682a8.966 8.966 0 00-.023.233l-.85.526a.287.287 0 000 .488l.85.526c.007.078.014.156.023.233l-.73.682a.287.287 0 00.095.479l.935.35.068.223-.584.812a.287.287 0 00.187.451l.99.162c.035.068.072.135.109.203l-.416.913a.287.287 0 00.271.406l1.006-.036c.047.059.095.117.143.174l-.23.981a.287.287 0 00.344.345l.981-.23c.057.048.115.095.174.142l-.036 1.006a.287.287 0 00.406.272l.914-.417c.067.038.135.074.203.11l.161.99a.287.287 0 00.451.186l.813-.584c.074.024.148.046.223.068l.35.935a.287.287 0 00.478.095l.683-.73c.077.01.154.017.232.023l.526.85a.287.287 0 00.489 0l.526-.85c.078-.006.155-.014.232-.023l.682.73a.287.287 0 00.479-.095l.35-.935c.075-.022.15-.044.223-.068l.813.584a.287.287 0 00.45-.187l.162-.99a8.77 8.77 0 00.203-.109l.913.417a.287.287 0 00.406-.272l-.035-1.006c.058-.047.116-.094.174-.143l.98.231a.287.287 0 00.346-.345l-.231-.98.143-.175 1.006.036a.287.287 0 00.271-.406l-.416-.913a9.4 9.4 0 00.109-.203l.99-.162a.287.287 0 00.187-.45l-.584-.813a8.43 8.43 0 00.067-.223l.935-.35a.287.287 0 00.096-.479l-.73-.682c.009-.077.016-.155.023-.233l.85-.526a.287.287 0 000-.488l-.85-.526a8.844 8.844 0 00-.023-.233l.73-.682a.287.287 0 00-.096-.479l-.934-.35a9.246 9.246 0 00-.068-.223l.584-.812A.287.287 0 0021.357 8l-.99-.162a8.92 8.92 0 00-.11-.203l.417-.913a.287.287 0 00-.271-.406l-1.006.036a9.178 9.178 0 00-.143-.174l.23-.981a.287.287 0 00-.345-.345l-.98.23a9.43 9.43 0 00-.174-.142l.035-1.006a.287.287 0 00-.405-.272l-.914.417a9.11 9.11 0 00-.203-.11l-.162-.99a.287.287 0 00-.45-.186l-.813.584a9.088 9.088 0 00-.223-.068l-.35-.935a.287.287 0 00-.479-.095l-.682.73a9.062 9.062 0 00-.232-.023l-.526-.85zm-.257 1.62a.592.592 0 01.578.596.595.595 0 11-.578-.595zm1.363.98A7.324 7.324 0 0118.7 8.309l-.702 1.585a.547.547 0 00.275.717l1.352.6c.041.422.047.847.015 1.27h-.752c-.075 0-.106.05-.106.123v.344c0 .812-.457.99-.859 1.034-.383.044-.806-.161-.86-.394-.22-1.24-.583-1.526-1.152-1.975l-.041-.033c.736-.467 1.502-1.158 1.502-2.08 0-.998-.683-1.625-1.148-1.934-.655-.43-1.379-.516-1.574-.516H6.88a7.324 7.324 0 014.098-2.312l.916.96a.54.54 0 00.766.018l1.026-.978zm-8.46 4.407a.595.595 0 11-.034 1.19.595.595 0 01.034-1.19zm14.192.026a.595.595 0 11-.035 1.19.595.595 0 01.035-1.19zm-13.07.096h1.037v4.678H5.291a7.324 7.324 0 01-.237-2.797l1.282-.57a.542.542 0 00.276-.716l-.264-.595zm4.33.05h2.47c.128 0 .901.147.901.727 0 .48-.593.653-1.081.653h-2.293l.002-1.38zm0 3.36h1.892c.172 0 .924.05 1.164 1.011.026.104.064.291.107.503.078.389.174.861.247 1.06.113.345.57 1.034 1.058 1.034h3.089c-.207.277-.433.54-.677.785l-1.258-.27a.544.544 0 00-.645.417l-.298 1.394a7.323 7.323 0 01-6.108-.03l-.298-1.392a.542.542 0 00-.643-.418l-1.23.264a7.32 7.32 0 01-.636-.75h5.984c.067 0 .113-.011.113-.074v-2.117c0-.061-.046-.075-.113-.075h-1.75l.001-1.341zm-2.763 4.848a.595.595 0 11-.034 1.19.595.595 0 01.034-1.19zm8.814.027a.596.596 0 11-.035 1.19.596.596 0 01.035-1.19z`,clipRule:`evenodd`})}),en=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#F472B6`,d:`M19.217 12.76c-.7.004-1.305.175-1.813.43-.187-.378-.375-.708-.406-.955-.035-.286-.078-.461-.035-.803s.238-.827.238-.866c-.004-.036-.043-.211-.445-.215-.403-.004-.75.08-.79.187-.038.107-.116.354-.167.608-.07.374-.805 1.697-1.223 2.393-.137-.27-.254-.509-.277-.7-.036-.286-.079-.46-.036-.803.043-.341.239-.826.239-.866-.004-.036-.043-.21-.446-.215-.402-.004-.75.08-.789.187-.039.107-.082.362-.168.608-.082.247-1.058 2.457-1.312 3.033a12.45 12.45 0 01-.325.688c-.082.16-.003.012-.011.028l-.11.21v.005c-.054.099-.113.194-.14.194-.02 0-.059-.266.007-.632.145-.767.497-1.963.493-2.007 0-.02.066-.23-.227-.338-.285-.107-.387.071-.41.071-.024 0-.043.064-.043.064s.316-1.348-.606-1.348c-.578 0-1.375.64-1.77 1.225l-1.343.747c-.215.12-.438.247-.649.362l-.043-.048c-1.117-1.212-3.183-2.07-3.098-3.7.032-.593.235-2.155 3.97-4.048 3.058-1.55 5.508-1.125 5.934-.179.605 1.352-1.309 3.864-4.489 4.226-1.211.14-1.848-.338-2.008-.517-.168-.186-.191-.194-.254-.159-.101.056-.039.223 0 .322.094.25.484.696 1.149.919.582.194 2.004.302 3.723-.374 1.926-.76 3.43-2.866 2.988-4.627-.45-1.793-3.371-2.381-6.133-1.384C6.747 5.08 4.966 6.01 3.684 7.23 2.161 8.677 1.92 9.941 2.02 10.466c.356 1.873 2.891 3.093 3.907 3.995l-.14.08c-.509.254-2.443 1.284-2.927 2.373-.547 1.232.086 2.119.508 2.238 1.305.37 2.64-.294 3.363-1.387.72-1.093.633-2.513.301-3.16l-.011-.024.398-.239c.258-.155.512-.298.734-.421-.125.346-.214.755-.261 1.351-.055.7.226 1.606.597 1.964.165.155.36.16.481.16.43 0 .625-.363.84-.796.265-.529.5-1.14.5-1.14s-.293 1.657.508 1.657c.293 0 .586-.386.719-.585v.004l.023-.04c.031-.047.047-.075.047-.075v-.008c.117-.207.379-.68.77-1.463.503-1.01.988-2.274.988-2.274s.047.31.191.82c.086.301.274.631.418.953-.117.167-.187.263-.187.263l.004.004c-.094.127-.2.262-.309.397-.398.485-.875 1.038-.938 1.197-.074.187-.058.326.086.437.106.08.293.096.493.08.36-.024.61-.116.734-.171.195-.072.418-.18.633-.338.39-.294.629-.712.605-1.268-.011-.306-.109-.609-.23-.895.035-.051.07-.103.105-.159.618-.918 1.094-1.928 1.094-1.928s.047.31.192.82c.074.258.222.54.355.818-.578.481-.941 1.038-1.066 1.403-.23.676-.051.982.289 1.054.152.032.371-.04.535-.112.203-.067.45-.182.676-.353.39-.295.766-.704.746-1.257a2.447 2.447 0 00-.168-.743c.492-.207 1.13-.326 1.938-.226 1.738.206 2.082 1.311 2.015 1.773-.066.46-.43.715-.55.795-.121.075-.16.103-.149.159.016.083.07.079.176.063.145-.024.914-.378.945-1.228.047-1.093-.972-2.286-2.781-2.274zM5.81 17.36c-.575.64-1.383.882-1.727.675-.371-.218-.227-1.16.48-1.84.43-.414.989-.796 1.356-1.03.082-.052.207-.127.355-.219.024-.016.04-.024.04-.024.027-.015.058-.035.09-.055.261.97.011 1.82-.594 2.492zm4.2-2.907c-.2.497-.622 1.773-.876 1.702-.219-.06-.352-1.026-.043-1.98.156-.48.488-1.053.684-1.276.316-.358.66-.477.746-.33.101.19-.387 1.574-.512 1.884zm3.464 1.686c-.086.044-.164.075-.199.052-.027-.016.035-.076.035-.076s.434-.473.606-.692c.097-.127.215-.274.34-.44v.047c0 .572-.54.954-.782 1.109zm2.672-.62c-.062-.048-.054-.195.157-.656.082-.183.27-.49.593-.78.04.12.063.235.059.343-.004.715-.504.981-.809 1.093z`})}),tn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#14B8A6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M4.336 17l6-6-6-6M12.336 19h8`})}),nn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsxs)(`mask`,{id:`path-1-outside-1_20571_794`,width:`17`,height:`20`,x:`4.141`,y:`2`,fill:`#000`,maskUnits:`userSpaceOnUse`,children:[(0,V.jsx)(`path`,{fill:`#fff`,d:`M4.141 2H21.141V22H4.141z`}),(0,V.jsx)(`path`,{d:`M10.915 19.877A3.832 3.832 0 016.8 18.352a3.547 3.547 0 01-.606-2.682c.028-.153.067-.303.116-.45l.09-.278.248.181c.57.42 1.208.739 1.887.944l.179.054-.017.18c-.021.254.048.508.195.716a1.154 1.154 0 001.24.46c.104-.028.204-.072.295-.13l4.825-3.075a1.004 1.004 0 00.453-.672 1.072 1.072 0 00-.182-.809 1.154 1.154 0 00-1.24-.46 1.063 1.063 0 00-.296.13l-1.84 1.174a3.526 3.526 0 01-.981.43 3.833 3.833 0 01-4.114-1.525 3.546 3.546 0 01-.606-2.682 3.328 3.328 0 011.505-2.229l4.826-3.075a3.52 3.52 0 01.98-.43 3.833 3.833 0 014.113 1.524 3.547 3.547 0 01.607 2.682 3.41 3.41 0 01-.116.45l-.09.278-.248-.181a6.218 6.218 0 00-1.887-.943l-.18-.055.018-.179a1.084 1.084 0 00-.195-.717 1.155 1.155 0 00-1.24-.46 1.063 1.063 0 00-.295.13L9.419 9.728a1.003 1.003 0 00-.453.672 1.071 1.071 0 00.182.809 1.155 1.155 0 001.24.46c.104-.028.204-.072.296-.13l1.84-1.173a3.51 3.51 0 01.98-.43 3.832 3.832 0 014.114 1.524 3.547 3.547 0 01.606 2.682 3.33 3.33 0 01-1.504 2.23l-4.825 3.074a3.516 3.516 0 01-.98.43`})]}),(0,V.jsx)(`path`,{fill:`#EA580C`,d:`M8.618 19.761l.695-1.875-.695 1.875zm-1.817-1.409l1.644-1.14a1.697 1.697 0 00-.016-.023L6.8 18.352zm-.606-2.682l-1.967-.36-.002.01 1.97.35zm.116-.45l1.898.628.002-.007-1.9-.622zm.09-.278l1.184-1.613a2 2 0 00-3.084.99l1.9.623zm.248.181l1.184-1.611-.001-.001-1.183 1.612zm1.887.944l.58-1.914h-.002l-.579 1.914zm.179.054l1.991.183a2 2 0 00-1.41-2.097l-.581 1.914zm-.017.18l-1.991-.184-.001.013 1.992.17zm.195.716l1.644-1.14-.012-.016-1.632 1.156zm1.24.46l.503 1.935.01-.002-.514-1.933zm.295-.13l1.071 1.69.004-.003-1.075-1.687zm4.825-3.075l-1.066-1.693-.01.006 1.076 1.687zm.453-.672l1.969.355v-.007l-1.969-.348zm-.182-.809l-1.644 1.14.015.022 1.629-1.162zm-1.24-.46l-.502-1.935-.012.003.514 1.933zm-.296.13l-1.07-1.69-.005.003 1.075 1.687zm-1.84 1.174l1.072 1.688.002-.002-1.075-1.686zm-.981.43L11.67 16l.013-.004-.516-1.932zM7.053 12.54l1.644-1.14a1.316 1.316 0 00-.016-.023L7.053 12.54zm-.606-2.682L4.48 9.504v.004l1.968.35zm1.505-2.229l1.064 1.694.011-.007-1.075-1.687zm4.826-3.075l-1.074-1.687h-.001l1.075 1.687zm.98-.43l-.503-1.936-.014.003.517 1.932zm4.113 1.524l-1.643 1.14.016.023 1.627-1.163zm.607 2.682l1.966.364.003-.014-1.97-.35zm-.116.45l-1.899-.627-.002.005 1.901.623zm-.09.278l-1.183 1.613a2 2 0 003.083-.99l-1.9-.623zm-.248-.181l-1.185 1.611.003.002 1.182-1.613zm-1.887-.943l-.58 1.914h.002l.578-1.914zm-.18-.055l-1.99-.185a2 2 0 001.41 2.1l.58-1.915zm.018-.179l1.991.185.001-.015-1.992-.17zm-.195-.717l-1.644 1.14.01.014 1.634-1.154zm-1.24-.46l-.503-1.935-.01.002.514 1.933zm-.295.13l-1.071-1.69-.004.003 1.075 1.687zM9.419 9.728l1.065 1.693.01-.006-1.075-1.687zm-.453.672l-1.969-.354v.004l1.969.35zm.182.809l1.644-1.14-.015-.021-1.629 1.16zm1.24.46l.502 1.935.013-.003-.516-1.933zm.296-.13l1.069 1.69.005-.003-1.074-1.687zm1.84-1.173L11.45 8.679l1.074 1.687zm.98-.43L13.003 8l-.013.003.516 1.932zm4.114 1.524l-1.643 1.14.016.023 1.627-1.163zm.606 2.682l1.969.354v-.004l-1.969-.35zm-1.504 2.23l-1.065-1.693-.01.006 1.075 1.687zm-4.825 3.074l1.074 1.687-1.074-1.687zm-1.483-1.505a1.833 1.833 0 01-1.099-.055l-1.39 3.75c1.12.415 2.34.477 3.495.176l-1.006-3.87zm-1.099-.055a1.832 1.832 0 01-.868-.674l-3.287 2.28c.68.98 1.646 1.73 2.765 2.144l1.39-3.75zm-.884-.697a1.547 1.547 0 01-.25-.558l-3.902.882c.163.72.468 1.4.897 2.001l3.255-2.325zm-.25-.558c-.046-.2-.05-.409-.014-.611l-3.939-.7a5.547 5.547 0 00.051 2.193l3.902-.882zm-.016-.6c.01-.063.026-.123.046-.183l-3.797-1.257c-.078.235-.14.475-.184.718l3.935.721zm.048-.19l.091-.277-3.801-1.244-.091.277 3.801 1.245zm-2.993.713l.248.182 2.366-3.225-.247-.182-2.367 3.225zm.246.18a8.222 8.222 0 002.493 1.247l1.157-3.829a4.22 4.22 0 01-1.28-.64l-2.37 3.223zm2.49 1.247l.18.054 1.161-3.828-.179-.054-1.161 3.828zm-1.23-2.043l-.017.18 3.983.365.016-.179-3.983-.366zm-.018.192a3.081 3.081 0 00.555 2.043l3.264-2.312a.918.918 0 01.166.61l-3.985-.341zm.543 2.026c.368.531.89.936 1.496 1.161l1.39-3.75c.163.06.303.168.402.31l-3.288 2.28zm1.496 1.161a3.154 3.154 0 001.89.095l-1.006-3.87a.846.846 0 01.507.025l-1.391 3.75zm1.901.093c.302-.08.59-.207.853-.374l-2.141-3.378a.935.935 0 01.26-.114l1.028 3.866zm.857-.376l4.825-3.076-2.15-3.373-4.825 3.076 2.15 3.373zm4.815-3.07c.354-.222.657-.516.89-.861l-3.315-2.238a.996.996 0 01.294-.286l2.131 3.385zm.89-.861c.234-.346.392-.737.467-1.148l-3.937-.71a.995.995 0 01.155-.38l3.315 2.238zm.468-1.155c.07-.402.061-.814-.029-1.212l-3.901.882a.929.929 0 01-.01-.366l3.94.696zm-.029-1.212a3.07 3.07 0 00-.495-1.106l-3.257 2.323a.928.928 0 01-.15-.335l3.902-.882zm-.48-1.084a3.155 3.155 0 00-1.495-1.16l-1.392 3.75a.844.844 0 01-.4-.311l3.287-2.279zm-1.495-1.16a3.154 3.154 0 00-1.89-.096l1.005 3.871a.845.845 0 01-.507-.025l1.392-3.75zm-1.902-.093c-.301.08-.589.206-.852.373l2.14 3.378a.934.934 0 01-.26.114L13.77 10.4zm-.857.376l-1.84 1.173 2.15 3.373 1.84-1.174-2.15-3.373zm-1.838 1.171a1.526 1.526 0 01-.425.187l1.033 3.864a5.524 5.524 0 001.537-.674l-2.145-3.377zm-.411.183a1.833 1.833 0 01-1.098-.055l-1.39 3.75c1.119.415 2.338.477 3.494.177l-1.006-3.872zm-1.098-.055a1.832 1.832 0 01-.87-.674L5.41 13.68a5.833 5.833 0 002.765 2.145l1.39-3.751zm-.885-.697a1.547 1.547 0 01-.25-.558l-3.902.882c.163.72.468 1.401.897 2.002l3.255-2.326zm-.25-.558c-.046-.2-.05-.408-.015-.611l-3.938-.7a5.546 5.546 0 00.051 2.193l3.902-.882zm-.015-.607c.032-.182.103-.355.206-.508L5.307 7.465a5.328 5.328 0 00-.828 2.039l3.937.708zm.206-.508c.104-.153.238-.283.394-.381L6.89 5.935a5.328 5.328 0 00-1.582 1.53l3.315 2.239zm.405-.388l4.825-3.075-2.15-3.374-4.824 3.075 2.15 3.374zm4.824-3.075a1.52 1.52 0 01.424-.186L13.24 2.191a5.522 5.522 0 00-1.537.676L13.85 6.24zm.41-.182a1.833 1.833 0 011.098.055l1.39-3.75a5.833 5.833 0 00-3.494-.176l1.006 3.871zm1.098.055c.352.13.655.366.87.674l3.286-2.28a5.832 5.832 0 00-2.765-2.144l-1.39 3.75zm.885.697c.12.167.205.357.25.558l3.902-.882a5.546 5.546 0 00-.897-2.002l-3.255 2.326zm.25.558c.046.2.05.409.014.611l3.939.7a5.547 5.547 0 00-.051-2.193l-3.902.882zm.017.598a1.41 1.41 0 01-.048.186l3.798 1.255a5.41 5.41 0 00.183-.714l-3.933-.727zm-.05.191l-.09.278 3.801 1.244.09-.277-3.8-1.245zm2.992-.713l-.247-.181-2.364 3.226.247.181 2.364-3.226zm-.244-.18a8.219 8.219 0 00-2.494-1.246l-1.156 3.83c.46.138.893.355 1.28.64l2.37-3.223zM16.718 6.02l-.18-.055-1.16 3.828.18.055 1.16-3.828zm1.231 2.044l.017-.179-3.983-.37-.017.18 3.983.37zm.018-.194a3.084 3.084 0 00-.553-2.04l-3.268 2.307a.917.917 0 01-.164-.607l3.985.34zm-.543-2.026a3.155 3.155 0 00-1.496-1.161l-1.39 3.75a.846.846 0 01-.402-.31l3.288-2.28zm-1.496-1.161a3.154 3.154 0 00-1.89-.095l1.006 3.87a.846.846 0 01-.507-.025l1.391-3.75zm-1.901-.093c-.302.08-.59.206-.853.373l2.141 3.379a.937.937 0 01-.26.114L14.027 4.59zm-.857.376L8.344 8.042l2.15 3.373 4.826-3.076-2.15-3.373zm-4.816 3.07a3.003 3.003 0 00-.89.862l3.315 2.237a.998.998 0 01-.295.286l-2.13-3.386zm-.89.862a3.003 3.003 0 00-.467 1.148l3.937.707a.997.997 0 01-.155.382L7.463 8.898zm-.467 1.152a3.07 3.07 0 00.028 1.212l3.902-.88c.027.12.03.246.008.367l-3.938-.699zm.028 1.212c.09.399.258.775.494 1.107l3.258-2.321c.072.1.122.214.15.335l-3.902.88zm.48 1.086c.367.53.89.936 1.495 1.16l1.392-3.75c.162.06.301.169.4.311l-3.287 2.279zM9 13.508a3.155 3.155 0 001.89.097L9.885 9.732a.845.845 0 01.507.025L9 13.508zm1.903.093c.3-.08.587-.206.85-.372l-2.14-3.38a.932.932 0 01.26-.113l1.03 3.865zm.855-.375l1.841-1.174-2.15-3.373-1.84 1.173 2.15 3.374zm1.84-1.173a1.51 1.51 0 01.422-.185l-1.03-3.865a5.51 5.51 0 00-1.54.676l2.149 3.374zm.41-.182a1.833 1.833 0 011.098.055l1.39-3.75A5.833 5.833 0 0013.002 8l1.006 3.87zm1.098.055c.352.13.655.366.869.674l3.286-2.28a5.833 5.833 0 00-2.765-2.144l-1.39 3.75zm.885.697c.12.167.204.357.25.558l3.901-.882a5.548 5.548 0 00-.897-2.002l-3.254 2.326zm.25.558c.045.2.05.409.014.611l3.938.7a5.545 5.545 0 00-.05-2.193l-3.902.882zm.015.608a1.331 1.331 0 01-.207.508l3.316 2.237a5.33 5.33 0 00.828-2.038l-3.937-.707zm-.207.508a1.33 1.33 0 01-.394.382l2.13 3.386a5.329 5.329 0 001.58-1.531l-3.316-2.237zm-.403.388L10.82 17.76l2.15 3.374 4.825-3.074-2.15-3.374zM10.82 17.76c-.13.083-.273.146-.423.186l1.033 3.864a5.52 5.52 0 001.538-.676l-2.148-3.374z`,mask:`url(#path-1-outside-1_20571_794)`})]}),rn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#52525B`,strokeWidth:`1.5`,d:`M5 5H19V19H5z`}),(0,V.jsx)(`rect`,{width:`4`,height:`4`,x:`3`,y:`3`,fill:`#F472B6`,rx:`1`}),(0,V.jsx)(`rect`,{width:`4`,height:`4`,x:`17`,y:`3`,fill:`#F472B6`,rx:`1`}),(0,V.jsx)(`rect`,{width:`4`,height:`4`,x:`17`,y:`17`,fill:`#F472B6`,rx:`1`}),(0,V.jsx)(`rect`,{width:`4`,height:`4`,x:`3`,y:`17`,fill:`#F472B6`,rx:`1`})]}),an=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#EA580C`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M15.451 10.98c.328-2.058-.355-4.403-1.858-6.44a1 1 0 011.32-1.45c4.291 2.577 7.016 7.532 6.013 11.97.93 1.303 1.297 2.626 1.387 3.62.048.537.021 1.028-.073 1.394-.025.095-.06.204-.111.313-.043.091-.137.27-.32.422a1.05 1.05 0 01-1.082.162 1.112 1.112 0 01-.552-.523h0c-.376-.732-.835-.918-1.252-.952-.49-.04-1.035.132-1.45.343-.086.05-.17.097-.248.139l-.003.002c-.034.02-.068.038-.102.054-2.407 1.256-5.53 1.297-8.574-.012h0a13.486 13.486 0 01-6.057-5.194 1 1 0 011.441-1.335c.595.439 1.236.824 1.916 1.143 2.124.995 4.18 1.137 5.83.651-2.565-2.22-4.72-4.825-6.395-6.95A11.53 11.53 0 014.2 6.842 1 1 0 015.732 5.59c.318.292.662.593 1.022.898-.126-.18-.224-.325-.29-.426a3.786 3.786 0 01-.118-.191V5.87a1.07 1.07 0 01-.057-.124v-.002a1.01 1.01 0 01.057-.838c.072-.112.268-.313.393-.394.127-.06.375-.12.49-.125a1.001 1.001 0 01.707.298l7.515 6.295zm0 0a45.088 45.088 0 01-1.734-1.249 54.42 54.42 0 01-5.78-5.046l7.514 6.295zm1.768 9.002h0-.002.002zm3.083-.403v-.002.002zm1.652-.046h0v-.002.002zm-1.073-4.285s0 0 0 0l-.762-.19.762.19zm-.762-.19l.506-.394a.468.468 0 00-.012-.015l-.001-.002-.502.408-.02-.005.494-.436-.01-.01.004.004-.459.45zm-.029-.008l.02.005-.02-.005z`})}),on=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`rect`,{width:`16`,height:`2`,x:`4`,y:`6`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`12`,height:`2`,x:`4`,y:`11`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`16`,height:`2`,x:`4`,y:`16`,fill:`#64748B`,rx:`1`})]}),sn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#2563EB`,d:`M3.234 9.093V7.318h8.363v1.775H8.479V17.5H6.352V9.093H3.234zm15.263 1.153c-.04-.4-.21-.712-.512-.934-.301-.222-.71-.333-1.228-.333-.351 0-.648.05-.89.149-.242.096-.427.23-.557.403a.969.969 0 00-.189.586.838.838 0 00.115.477c.086.136.204.254.353.353.149.097.321.181.517.254.195.07.404.13.626.179l.915.219c.444.1.852.232 1.223.397.371.166.693.37.965.612.271.242.482.527.631.855.152.328.23.704.234 1.129-.004.623-.163 1.163-.478 1.62-.311.454-.762.807-1.352 1.06-.587.248-1.294.372-2.123.372-.822 0-1.538-.126-2.147-.378-.607-.252-1.081-.624-1.422-1.118-.338-.497-.516-1.112-.532-1.845h2.083c.023.342.12.627.293.855.176.226.41.397.701.513.295.112.628.168 1 .168.364 0 .68-.053.949-.159.272-.106.482-.253.631-.442.15-.189.224-.406.224-.651a.846.846 0 00-.204-.577c-.132-.156-.328-.288-.586-.398a5.964 5.964 0 00-.94-.298l-1.109-.278c-.858-.21-1.536-.536-2.033-.98-.497-.444-.744-1.042-.74-1.795-.004-.616.16-1.155.491-1.615.335-.461.794-.82 1.377-1.08.584-.258 1.247-.387 1.99-.387.755 0 1.414.13 1.978.388.567.258 1.007.618 1.322 1.079.315.46.477.994.488 1.6h-2.064z`})}),cn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#64748B`,fillRule:`evenodd`,d:`M4 6h16v12H4V6zM2 6a2 2 0 012-2h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6zm7.5 8.616V9.385a.75.75 0 011.11-.659l4.786 2.616a.75.75 0 010 1.316l-4.786 2.616a.75.75 0 01-1.11-.658z`,clipRule:`evenodd`})}),ln=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#14B8A6`,d:`M14.079 4.411L12 8.011l-2.078-3.6H3L12 20l9-15.589h-6.921z`}),(0,V.jsx)(`path`,{fill:`#334155`,d:`M14.079 4.411L12 8.011l-2.078-3.6H6.6l5.4 9.353 5.4-9.353h-3.321z`})]}),un=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`circle`,{cx:`5`,cy:`19`,r:`2`,fill:`#EA580C`}),(0,V.jsx)(`mask`,{id:`mask0_20543_563`,style:{maskType:`alpha`},width:`20`,height:`22`,x:`4`,y:`0`,maskUnits:`userSpaceOnUse`,children:(0,V.jsx)(`path`,{fill:`#D9D9D9`,d:`M4 0H24V22H4z`})}),(0,V.jsx)(`g`,{mask:`url(#mask0_20543_563)`,children:(0,V.jsx)(`circle`,{cx:`5`,cy:`19`,r:`8`,stroke:`#EA580C`,strokeWidth:`2`})}),(0,V.jsx)(`mask`,{id:`mask1_20543_563`,style:{maskType:`alpha`},width:`19`,height:`20`,x:`5`,y:`0`,maskUnits:`userSpaceOnUse`,children:(0,V.jsx)(`path`,{fill:`#D9D9D9`,d:`M5 0H24V20H5z`})}),(0,V.jsx)(`g`,{mask:`url(#mask1_20543_563)`,children:(0,V.jsx)(`circle`,{cx:`5`,cy:`19`,r:`15`,stroke:`#EA580C`,strokeWidth:`2`})})]}),dn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#A78BFA`,d:`M6.533 5.864h2.755l2.654 5.011h.113l2.654-5.011h2.756l-4.245 7.522V17.5h-2.443v-4.114L6.533 5.864z`})}),fn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`g`,{fill:`#64748B`,clipPath:`url(#clip0_20631_561)`,children:(0,V.jsx)(`path`,{d:`M13.408 18.047a.45.45 0 01-.449.45H7.617a.45.45 0 01-.449-.45c0-.248.201-.447.449-.46.303-.015.537-.047.703-.097.241-.078.362-.257.362-.537 0-.195-.04-.394-.118-.596l-.373-.933a1 1 0 00-.929-.63H4.336a1 1 0 00-.937.65l-.079.21c-.182.482-.273.83-.273 1.045 0 .39.15.638.45.742.186.064.392.108.615.133.247.027.449.225.449.473a.45.45 0 01-.45.45H.45a.45.45 0 01-.449-.45c0-.248.203-.442.447-.489a1.66 1.66 0 00.48-.165c.255-.137.496-.394.723-.772.235-.384.485-.924.752-1.621l3.653-9.565a.677.677 0 011.262-.005l3.865 9.883c.293.729.508 1.223.644 1.484.137.254.326.452.567.596.15.085.34.144.567.176.246.035.448.23.448.478zm-7.29-4.21a1 1 0 00.93-1.367l-.333-.84c-.337-.852-1.544-.841-1.866.015l-.317.84a1 1 0 00.936 1.353h.65zM24.072 16.436c.2 0 .364.162.342.36a2.318 2.318 0 01-.283.91 1.912 1.912 0 01-.82.77 2.627 2.627 0 01-1.153.245c-.547 0-1.002-.127-1.367-.381-.431-.308-1.152-.533-1.614-.272-.77.435-1.544.653-2.322.653-.703 0-1.279-.17-1.728-.508a1.63 1.63 0 01-.674-1.358c0-.462.12-.878.362-1.25.24-.377.592-.712 1.054-1.005a8.135 8.135 0 011.67-.772c.52-.184 1.145-.374 1.874-.571a.725.725 0 00.538-.698c0-.463-.11-.824-.332-1.084-.215-.267-.615-.4-1.201-.4-.501 0-.863.103-1.084.312-.221.208-.368.524-.44.947-.052.3-.15.547-.292.742-.137.189-.427.283-.87.283-.273 0-.514-.078-.722-.234-.209-.156-.313-.387-.313-.693 0-.606.329-1.133.987-1.582.657-.45 1.666-.674 3.027-.674 1.432 0 2.415.24 2.95.722.54.482.81 1.127.81 1.934v3.086c0 .39.01.677.029.86.02.182.072.322.156.42.091.09.231.136.42.136.17 0 .316-.088.44-.264a.955.955 0 00.142-.278c.061-.19.215-.357.414-.357zm-4.501.366a.929.929 0 00.38-.766v-.58c0-.676-.662-1.166-1.28-.894-.52.23-.881.457-1.083.682-.332.371-.498.736-.498 1.094 0 .3.091.54.273.723.183.182.44.273.772.273.358 0 .674-.075.947-.225.157-.086.32-.188.489-.307z`})}),(0,V.jsx)(`defs`,{children:(0,V.jsx)(`clipPath`,{id:`clip0_20631_561`,children:(0,V.jsx)(`path`,{fill:`#fff`,d:`M0 0H24V24H0z`})})})]}),pn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`rect`,{width:`16`,height:`16`,x:`4`,y:`4`,stroke:`#C084FC`,strokeLinejoin:`round`,strokeWidth:`2`,rx:`3`}),(0,V.jsx)(`path`,{fill:`#C084FC`,stroke:`#C084FC`,strokeWidth:`0.5`,d:`M12.115 9.528c.338 0 .618.28.618.618v3.708c0 .338-.28.618-.618.618a.622.622 0 01-.618-.618v-3.708c0-.338.28-.618.618-.618zm-1.854.618a.623.623 0 00-.618-.618H6.965a.826.826 0 00-.824.824v3.296c0 .412.33.824.824.824h2.472a.826.826 0 00.824-.824v-1.03A.623.623 0 009.643 12a.623.623 0 00-.618.618v.618H7.377v-2.472h2.266c.338 0 .618-.28.618-.618zm7.416 0a.622.622 0 00-.618-.618h-2.266a.826.826 0 00-.824.824v3.502c0 .338.28.618.618.618.338 0 .618-.28.618-.618v-1.03h1.03c.338 0 .618-.28.618-.618a.623.623 0 00-.618-.618h-1.03v-.824h1.854c.337 0 .618-.28.618-.618z`})]}),mn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#64748B`,fillRule:`evenodd`,d:`M7 10h10a3 3 0 013 3v5a3 3 0 01-3 3H7a3 3 0 01-3-3v-5a3 3 0 013-3zm0 2a1 1 0 00-1 1v5a1 1 0 001 1h10a1 1 0 001-1v-5a1 1 0 00-1-1H7z`,clipRule:`evenodd`}),(0,V.jsx)(`path`,{fill:`#64748B`,fillRule:`evenodd`,d:`M16.269 4.932c-.915-1.32-2.588-1.857-3.916-1.924-1.4-.071-3.2.336-4.368 1.833-.495.635-.703 1.407-.81 1.987a12.12 12.12 0 00-.173 1.987c-.01.713.02 1.462.07 2.185h2.005c-.147-1.99-.132-4.137.486-4.93 1.265-1.623 4.218-1.217 5.062 0 .422.61.422 2.847.316 4.93h2.002c.04-.8.064-1.627.055-2.39a15.629 15.629 0 00-.111-1.83c-.06-.447-.188-1.227-.618-1.848z`,clipRule:`evenodd`})]}),hn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#EF4444`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M6 3a1 1 0 00-1 1v16a1 1 0 001 1h12a1 1 0 001-1V8a1 1 0 00-.375-.78l-5-4A1 1 0 0013 3H6z`}),(0,V.jsx)(`path`,{stroke:`#EF4444`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M12 4v5h6`}),(0,V.jsx)(`path`,{fill:`#EF4444`,d:`M15.828 16.018c-.598-.64-2.23-.379-2.62-.332-.575-.568-.965-1.254-1.103-1.49a7.062 7.062 0 00.368-1.965c0-.592-.23-1.231-.874-1.231a.665.665 0 00-.551.331c-.276.497-.161 1.492.275 2.51-.252.733-.482 1.443-1.126 2.697-.666.284-2.068.947-2.183 1.657a.644.644 0 00.184.592c.16.142.368.213.574.213.85 0 1.678-1.207 2.253-2.225a14.933 14.933 0 012-.544c.896.804 1.677.923 2.09.923.552 0 .759-.237.828-.45.115-.237.046-.497-.115-.686zm-.574.402c-.024.166-.23.331-.598.237a3.119 3.119 0 01-1.172-.616c.299-.047.965-.118 1.448-.023.184.047.367.165.322.402zm-3.839-4.876c.046-.07.115-.118.184-.118.207 0 .253.26.253.473a5.342 5.342 0 01-.276 1.468c-.345-.947-.276-1.61-.16-1.823zm-.045 4.592c.183-.379.436-1.041.528-1.325.207.355.552.78.736.97 0 .024-.713.166-1.264.355zm-1.356.947c-.53.9-1.08 1.467-1.38 1.467-.045 0-.091-.023-.137-.047-.07-.047-.092-.118-.07-.213.07-.331.667-.781 1.587-1.207z`}),(0,V.jsx)(`path`,{fill:`#EF4444`,fillRule:`evenodd`,d:`M10.877 11.227a.864.864 0 01.722-.427.95.95 0 01.85.492c.163.275.224.622.224.939v.007a7.178 7.178 0 01-.35 1.933c.158.27.491.823.958 1.305.237-.031.69-.09 1.163-.081.275.004.564.031.829.101.263.07.517.188.701.385l.007.007c.195.23.297.569.148.89a.77.77 0 01-.308.398c-.17.113-.402.178-.705.178-.446 0-1.244-.126-2.15-.908-.677.133-1.347.339-1.805.494-.283.495-.628 1.037-1.01 1.463-.392.436-.862.797-1.379.797-.251 0-.506-.086-.707-.263l-.005-.005-.006-.006a.844.844 0 01-.237-.768c.04-.232.178-.44.348-.619.173-.182.394-.35.625-.5.433-.28.925-.51 1.262-.656.574-1.126.805-1.8 1.036-2.473l.022-.063c-.208-.499-.341-.995-.39-1.434-.051-.454-.015-.877.153-1.179l.004-.007zm.344.205c-.107.195-.15.517-.104.936.046.415.178.898.39 1.391l-.119-.324a4.138 4.138 0 01-.264-1.247c-.012-.325.033-.586.115-.739l.004-.007.005-.006a.432.432 0 01.351-.21c.098 0 .185.032.255.09a.48.48 0 01.135.191c.051.128.063.277.063.392v.01a5.544 5.544 0 01-.286 1.522l-.183.538-.048-.13-.022.066-.047.135c-.237.69-.48 1.4-1.09 2.59l-.034.064-.066.029c-.33.14-.835.372-1.269.652-.216.14-.409.289-.552.44-.145.152-.224.291-.244.412l-.001.01c-.03.139.01.283.126.405.12.104.277.158.436.158.334 0 .703-.243 1.081-.664.37-.413.712-.954.998-1.46l.037-.065.072-.025a15.112 15.112 0 012.027-.552l.097-.018.074.066c.856.768 1.588.872 1.958.872.247 0 .396-.053.484-.112a.37.37 0 00.153-.2l.004-.013.006-.012c.071-.146.037-.321-.084-.466-.115-.12-.288-.21-.509-.268a1.871 1.871 0 00-.056-.014.645.645 0 01.208.14c.107.11.163.263.129.444-.05.328-.416.508-.845.398l-.002-.001a3.316 3.316 0 01-1.247-.654l-.343-.283.12-.019-.067-.065c-.574-.569-.97-1.248-1.12-1.507l-.015-.026-.045-.077.028-.085a6.87 6.87 0 00.358-1.907c0-.273-.055-.54-.168-.732a.55.55 0 00-.506-.295.465.465 0 00-.378.232zm.367.215c-.033.066-.075.24-.065.526.005.124.02.266.048.423a5.18 5.18 0 00.081-.701.683.683 0 00-.034-.237.143.143 0 00-.015-.028.1.1 0 00-.015.017zm.258 2.676l.225.387c.197.339.532.752.706.932l.057.058v.081a.202.202 0 01-.087.166.24.24 0 01-.04.023 1.964 1.964 0 01-.143.044 17.15 17.15 0 01-.173.043l-.134.033a10.65 10.65 0 00-.823.235l-.454.157.21-.433c.178-.369.428-1.023.518-1.3l.137-.426zm.105.935a16.6 16.6 0 01-.22.558 15.69 15.69 0 01.54-.142 7.036 7.036 0 01-.32-.416zm2.084.924c.21.122.434.217.672.281.303.078.348-.07.348-.07l.002-.011a.125.125 0 000-.06.085.085 0 00-.022-.035.331.331 0 00-.148-.074 3.568 3.568 0 00-.852-.03zm-3.525.45l-.324.552c-.27.459-.548.84-.803 1.107a2.212 2.212 0 01-.371.323.709.709 0 01-.377.136c-.097 0-.183-.045-.222-.065l-.008-.004-.011-.006-.01-.007a.37.37 0 01-.147-.192.424.424 0 01-.004-.23.84.84 0 01.189-.353c.093-.11.215-.221.359-.33a6.385 6.385 0 011.148-.662l.581-.269zM8.728 18.15a.453.453 0 00-.105.18v.007l-.002.005a.22.22 0 00.017.007h.002a.38.38 0 00.152-.069c.085-.056.186-.143.3-.264.106-.11.218-.246.334-.402-.154.09-.29.18-.403.267a1.834 1.834 0 00-.295.269z`,clipRule:`evenodd`})]}),gn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#FBBF24`,fillRule:`evenodd`,d:`M5.912 5.879C5 6.757 5 8.172 5 11v3c0 2.828 0 4.243.912 5.121.91.879 2.377.879 5.31.879h1.556c2.933 0 4.4 0 5.31-.879C19 18.243 19 16.828 19 14v-3c0-2.828 0-4.243-.912-5.121C17.178 5 15.711 5 12.778 5H12v1.5h1.167c.366 0 .55 0 .664.11s.113.287.113.64 0 .53-.113.64c-.114.11-.299.11-.664.11H12v1.5h1.167c.366 0 .55 0 .664.11s.113.287.113.64 0 .53-.113.64c-.114.11-.299.11-.664.11h-.39c-.366 0-.55 0-.663-.11-.114-.11-.114-.288-.114-.64V9.5h-1.167c-.366 0-.55 0-.664-.11s-.113-.288-.113-.64 0-.53.113-.64c.114-.11.299-.11.664-.11H12V6.5h-1.167c-.366 0-.55 0-.664-.11s-.113-.287-.113-.64v-.748c-2.174.015-3.364.123-4.144.877m4.144 7.277v.094c0 .497.204.974.57 1.326.364.351.858.549 1.374.549s1.01-.197 1.375-.55c.365-.35.57-.828.57-1.325v-.094a.65.65 0 0 0-.2-.464.7.7 0 0 0-.481-.192h-2.528c-.18 0-.354.07-.481.192a.65.65 0 0 0-.2.464`,clipRule:`evenodd`})}),_n=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#64748B`,strokeWidth:`2`,d:`M7.784 5H5a2 2 0 00-2 2v10a2 2 0 002 2h14a2 2 0 002-2V9.875a2 2 0 00-2-2h-6.284a2 2 0 01-1.27-.455L9.054 5.455A2 2 0 007.783 5z`})}),vn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#64748B`,stroke:`#64748B`,strokeWidth:`2`,d:`M7.784 5H5a2 2 0 00-2 2v10a2 2 0 002 2h14a2 2 0 002-2V9.875a2 2 0 00-2-2h-6.284a2 2 0 01-1.27-.455L9.054 5.455A2 2 0 007.783 5z`})}),yn=_n,bn=vn,xn=[[sn,[`ts`,`mts`,`cts`]],[Zt,[`tsx`]],[Ht,[`js`,`mjs`,`cjs`]],[Xt,[`jsx`]],[ln,[`vue`]],[nn,[`svelte`]],[wt,[`astro`]],[Et,[`json`,`jsonc`,`json5`]],[Kt,[`md`,`mdx`]],[kt,[`html`,`htm`]],[Ot,[`css`]],[en,[`scss`,`sass`,`less`]],[dn,[`yaml`,`yml`]],[un,[`xml`,`plist`]],[H,[`toml`,`ini`,`cfg`,`conf`,`env`,`properties`]],[Yt,[`py`,`pyi`]],[Qt,[`rb`]],[zt,[`go`]],[$t,[`rs`]],[Vt,[`java`,`jar`]],[Ut,[`kt`,`kts`]],[an,[`swift`]],[Dt,[`c`,`h`]],[At,[`cpp`,`cc`,`cxx`,`hpp`]],[jt,[`cs`]],[Jt,[`php`]],[Gt,[`lua`]],[Nt,[`dart`]],[tn,[`sh`,`bash`,`zsh`,`fish`,`ps1`,`psm1`,`bat`,`cmd`]],[Pt,[`sql`,`db`,`sqlite`,`sqlite3`]],[Mt,[`csv`,`tsv`]],[hn,[`pdf`]],[It,[`doc`,`docx`,`rtf`,`odt`,`pages`]],[qt,[`ipynb`]],[on,[`txt`,`log`,`text`]],[Bt,[`png`,`jpg`,`jpeg`,`webp`,`bmp`,`ico`,`tif`,`tiff`,`avif`]],[pn,[`gif`]],[rn,[`svg`]],[cn,[`mp4`,`webm`,`mov`,`avi`,`mkv`,`m4v`]],[Tt,[`mp3`,`wav`,`flac`,`aac`,`m4a`,`ogg`,`wma`]],[gn,[`zip`,`rar`,`7z`,`tar`,`gz`,`tgz`,`bz2`,`xz`]],[Lt,[`exe`,`msi`,`dmg`,`appimage`,`deb`,`rpm`]],[fn,[`ttf`,`otf`,`woff`,`woff2`,`eot`]],[mn,[`lock`]]],Sn=new Map;for(let[e,t]of xn)for(let n of t)Sn.set(n,e);var Cn=new Map([[`.gitignore`,Rt],[`.gitattributes`,Rt],[`.gitmodules`,Rt],[`dockerfile`,Ft],[`.dockerignore`,Ft],[`license`,Wt],[`licence`,Wt],[`makefile`,H],[`.editorconfig`,H],[`.npmrc`,H],[`.env`,H]]);function wn(e){let t=(e.split(/[/\\]/).pop()??e).toLowerCase(),n=Cn.get(t);if(n)return n;let r=t.lastIndexOf(`.`);return r<=0?null:Sn.get(t.slice(r+1))??null}var Tn=(0,B.createContext)({closed:yn,open:bn}),En=Tn.Provider;function U({name:e,kind:t,open:n,className:r,...i}){let a=(0,B.useContext)(Tn),o=y(`shrink-0`,r);if(t===`directory`)return(0,V.jsx)(n?a.open:a.closed,{className:o,...i});if(t===`symlink`)return(0,V.jsx)(Ce,{className:y(o,`text-text-2`),...i});if(t===`unknown`)return(0,V.jsx)(u,{className:y(o,`text-text-subtle`),...i});let s=wn(e);return s?(0,V.jsx)(s,{className:o,...i}):(0,V.jsx)(ne,{className:y(o,`text-text-2`),...i})}function Dn({className:e}){return(0,V.jsx)(U,{name:``,kind:`directory`,className:y(`size-4 shrink-0`,e)})}var On={fixed:R,removable:st,network:it,unknown:R};function W({label:e,path:t,active:n,icon:r,onNavigate:i,onUnpin:a,run:o}){let s=M(),c=D({targetDir:t,run:o});return(0,V.jsxs)(`div`,{className:`group/place relative flex items-center`,children:[(0,V.jsxs)(`button`,{type:`button`,title:t,onClick:()=>i(t),className:y(`flex w-full items-center gap-2 rounded px-2 py-1 text-left text-[13px]`,s?`min-h-[44px]`:`min-h-0`,`can-hover:hover:bg-surface-elevated`,n?`bg-accent-wash text-text`:`text-text-2`,c.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...c.handlers,children:[(0,V.jsx)(r,{className:`size-4 shrink-0 text-text-subtle`}),(0,V.jsx)(`span`,{className:`truncate`,children:e})]}),a&&(0,V.jsx)(`button`,{type:`button`,"aria-label":`Unpin ${e}`,title:`Unpin`,onClick:a,className:`absolute right-1 rounded p-1 text-text-subtle can-hover:opacity-0 can-hover:group-hover/place:opacity-100 can-hover:hover:text-text`,children:(0,V.jsx)(Le,{className:`size-3.5`})})]})}function G({title:e,children:t}){return(0,V.jsxs)(`div`,{className:`pb-2`,children:[(0,V.jsx)(`p`,{className:`px-2 pb-0.5 pt-2 text-[10px] font-semibold uppercase tracking-wide text-text-subtle`,children:e}),t]})}var kn={home:`Home`,pinned:`Quick access`,known:`Folders`,drives:`Drives`};function An({host:e,currentPath:t,onNavigate:n,vocab:r=kn}){let i=z(e=>e.pins),a=z(e=>e.unpin),o=e=>e===t,{run:s,prompts:c}=ue(e?.sep??`/`,e?.platform);return(0,V.jsxs)(`aside`,{"aria-label":`Places`,"data-testid":`explorer-sidebar`,className:`hidden w-44 shrink-0 overflow-y-auto border-r border-border bg-[var(--x-sidebar-bg,var(--panel-2))] px-1 py-1 sm:block`,children:[i.length>0&&(0,V.jsx)(G,{title:`Pinned`,children:i.map(e=>(0,V.jsx)(W,{label:e.name,path:e.path,icon:Le,active:o(e.path),onNavigate:n,onUnpin:()=>a(e.path),run:s},e.path))}),e&&e.pinned.length>0&&(0,V.jsx)(G,{title:r.pinned,children:e.pinned.map(e=>(0,V.jsx)(W,{label:e.name,path:e.path,icon:Dn,active:o(e.path),onNavigate:n,run:s},e.path))}),e&&(0,V.jsxs)(G,{title:r.known,children:[(0,V.jsx)(W,{label:r.home,path:e.homedir,icon:Dn,active:o(e.homedir),onNavigate:n,run:s}),e.knownFolders.map(e=>(0,V.jsx)(W,{label:e.name,path:e.path,icon:Dn,active:o(e.path),onNavigate:n,run:s},e.path))]}),e&&e.drives.length>0&&(0,V.jsx)(G,{title:r.drives,children:e.drives.map(e=>(0,V.jsx)(W,{label:e.label?`${e.label} (${e.name})`:e.name,path:e.path,icon:On[e.kind],active:o(e.path),onNavigate:n,run:s},e.path))}),e?.warnings.map(e=>(0,V.jsxs)(`p`,{className:`flex gap-1.5 px-2 py-1 text-[11px] leading-snug text-text-subtle`,children:[(0,V.jsx)(Pe,{className:`mt-0.5 size-3 shrink-0`}),(0,V.jsx)(`span`,{children:e})]},e)),c]})}var K=new Intl.Collator(void 0,{numeric:!0,sensitivity:`base`});function jn(e,t,n){switch(e){case`size`:return(t.size??0)-(n.size??0);case`modified`:return new Date(t.modified).getTime()-new Date(n.modified).getTime();case`kind`:{let e=K.compare(L(t.name),L(n.name));return e===0?K.compare(t.name,n.name):e}case`name`:return K.compare(t.name,n.name)}}function Mn(e,t,n){let r=t.trim().toLowerCase(),i=r?e.filter(e=>e.name.toLowerCase().includes(r)):e,a=n.dir===`asc`?1:-1;return[...i].sort((e,t)=>{let r=e.type===`directory`;if(r!==(t.type===`directory`))return r?-1:1;let i=jn(n.key,e,t);return(i===0?K.compare(e.name,t.name):i)*a})}function Nn(e){return e.reduce((e,t)=>e+(t.type===`file`?t.size??0:0),0)}function Pn({entries:e,selection:t,truncated:n}){let r=e.filter(e=>t.has(e.path)),i=[`${e.length}${n?`+`:``} item${e.length===1?``:`s`}`];if(r.length>0){i.push(`${r.length} selected`);let e=Nn(r);e>0&&i.push(Je(e))}return(0,V.jsxs)(`div`,{"data-testid":`explorer-status`,className:`flex shrink-0 items-center gap-2 border-t border-border bg-panel-2 px-2 py-1 text-[11px] text-text-subtle`,children:[i.join(` · `),n&&(0,V.jsx)(`span`,{className:`ml-auto`,children:`Listing capped — narrow the filter to see the rest.`})]})}var Fn=3;function In({crumbs:e,onNavigate:t,className:n,sep:r}){let{run:i,prompts:a}=ue(r);if(e.length===0)return(0,V.jsx)(`div`,{className:n});let o=e.length>Fn+2,s=o?e.slice(0,1):e,c=o?e.slice(1,e.length-Fn):[],u=o?e.slice(e.length-Fn):[];return(0,V.jsxs)(`nav`,{"aria-label":`Path`,className:y(`flex min-w-0 items-center gap-0.5 text-xs`,n),children:[s.map(n=>(0,V.jsxs)(`span`,{className:`flex shrink-0 items-center gap-0.5`,children:[(0,V.jsx)(Ln,{crumb:n,last:!o&&n===e[e.length-1],onNavigate:t,run:i}),(0,V.jsx)(l,{className:`size-3 shrink-0 text-text-subtle`})]},n.path)),o&&(0,V.jsxs)(re,{children:[(0,V.jsx)(ie,{asChild:!0,children:(0,V.jsx)(`button`,{type:`button`,"aria-label":`Show hidden path segments`,className:`rounded px-1 py-0.5 text-text-2 can-hover:hover:bg-surface-elevated`,children:(0,V.jsx)(Ue,{className:`size-3.5`})})}),(0,V.jsx)(Re,{align:`start`,className:`max-h-72 overflow-y-auto`,children:c.map(e=>(0,V.jsx)(de,{onClick:()=>t(e.path),children:e.name},e.path))})]}),o&&(0,V.jsx)(l,{className:`size-3 shrink-0 text-text-subtle`}),u.map((e,n)=>(0,V.jsxs)(`span`,{className:`flex min-w-0 items-center gap-0.5`,children:[(0,V.jsx)(Ln,{crumb:e,last:n===u.length-1,onNavigate:t,run:i}),n<u.length-1&&(0,V.jsx)(l,{className:`size-3 shrink-0 text-text-subtle`})]},e.path)),a]})}function Ln({crumb:e,last:t,onNavigate:n,run:r}){let i=D({targetDir:e.path,run:r});return(0,V.jsx)(`button`,{type:`button`,onClick:()=>n(e.path),className:y(`max-w-[12rem] truncate rounded px-1 py-0.5 can-hover:hover:bg-surface-elevated`,t?`font-medium text-text`:`text-text-2`,i.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...i.handlers,children:e.name})}var q=[{key:`name`,label:`Name`},{key:`size`,label:`Size`},{key:`modified`,label:`Modified`},{key:`kind`,label:`Kind`}],Rn=[{dir:`asc`,label:`Ascending`},{dir:`desc`,label:`Descending`}];function zn(e){return q.find(t=>t.key===e)?.label??e}function Bn(e){return Rn.find(t=>t.dir===e)?.label??e}function J(e){return y(`relative flex size-7 shrink-0 items-center justify-center rounded text-text-subtle can-hover:hover:bg-surface-elevated can-hover:hover:text-text disabled:opacity-30`,e&&`before:absolute before:-inset-2 before:content-['']`)}function Vn({coarse:e}){let t=j(e=>e.sort),n=j(e=>e.setPrefs),r=`Sort`,i=`${r}: ${zn(t.key)}, ${Bn(t.dir)}`;return(0,V.jsxs)(re,{children:[(0,V.jsx)(ie,{asChild:!0,children:(0,V.jsx)(`button`,{type:`button`,"aria-label":r,title:i,className:J(e),children:(0,V.jsx)(tt,{className:`size-4`})})}),(0,V.jsxs)(Re,{align:`end`,children:[(0,V.jsx)(fe,{children:`Sort by`}),(0,V.jsx)(me,{value:t.key,onValueChange:e=>n({sort:{key:e,dir:t.dir}}),children:q.map(({key:e,label:t})=>(0,V.jsx)(se,{value:e,children:t},e))}),(0,V.jsx)(le,{}),(0,V.jsx)(fe,{children:`Order`}),(0,V.jsx)(me,{value:t.dir,onValueChange:e=>n({sort:{key:t.key,dir:e}}),children:Rn.map(({dir:e,label:t})=>(0,V.jsx)(se,{value:e,children:t},e))})]})]})}function Y({targets:e,currentDir:t,hasClipboard:n,isPinned:r,actions:i}){let a=s(),o=e.length===1?e[0]:null,c=e.length>0&&e.every(e=>e.type===`directory`),l=e.length,u=l>1?` ${l} items`:``,d=j(e=>e.sort),f=j(e=>e.setPrefs);return l===0?(0,V.jsxs)(Qe,{children:[(0,V.jsx)(A,{onClick:()=>i.startCreate(`new-file`),children:`New File`}),(0,V.jsx)(A,{onClick:()=>i.startCreate(`new-folder`),children:`New Folder`}),(0,V.jsx)(T,{}),(0,V.jsx)(A,{disabled:!n,onClick:()=>i.paste(),children:`Paste`}),(0,V.jsx)(T,{}),(0,V.jsxs)(Xe,{children:[(0,V.jsx)(oe,{children:`Sort by`}),(0,V.jsxs)(ve,{children:[(0,V.jsx)(Ze,{value:d.key,onValueChange:e=>f({sort:{key:e,dir:d.dir}}),children:q.map(({key:e,label:t})=>(0,V.jsx)(_e,{value:e,children:t},e))}),(0,V.jsx)(T,{}),(0,V.jsx)(Ze,{value:d.dir,onValueChange:e=>f({sort:{key:d.key,dir:e}}),children:Rn.map(({dir:e,label:t})=>(0,V.jsx)(_e,{value:e,children:t},e))})]})]}),(0,V.jsx)(T,{}),(0,V.jsx)(A,{onClick:()=>i.copyPath([t]),children:`Copy Path`})]}):(0,V.jsxs)(Qe,{children:[o&&(o.type===`directory`||I(o.name))&&(0,V.jsx)(A,{onClick:()=>i.openEntry(o),children:`Open`}),c&&o&&!a&&(0,V.jsx)(A,{onClick:()=>i.openInNewWindow(o),children:`Open in New Window`}),(0,V.jsx)(T,{}),(0,V.jsxs)(A,{onClick:()=>i.cut(e),children:[`Cut`,u]}),(0,V.jsxs)(A,{onClick:()=>i.copy(e),children:[`Copy`,u]}),c&&o&&(0,V.jsx)(A,{disabled:!n,onClick:()=>i.paste(o.path),children:`Paste`}),(0,V.jsx)(T,{}),o&&(0,V.jsx)(A,{onClick:()=>i.startRename(o),children:`Rename`}),(0,V.jsxs)(A,{onClick:()=>i.trash(e),children:[`Move to Trash`,u]}),(0,V.jsx)(A,{variant:`destructive`,onClick:()=>i.confirmPermanentDelete(e),children:`Delete permanently`}),(0,V.jsx)(T,{}),(0,V.jsx)(A,{onClick:()=>i.copyPath(e.map(e=>e.path)),children:`Copy Path`}),(0,V.jsx)(A,{onClick:()=>i.copyName(e.map(e=>e.name)),children:`Copy Name`}),e.some(e=>e.type===`file`)&&(0,V.jsx)(A,{onClick:()=>i.download(e),children:`Download`}),c&&o&&(0,V.jsx)(A,{onClick:()=>i.togglePin(o.path,o.name),children:r(o.path)?`Unpin from Sidebar`:`Pin to Sidebar`}),o&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(T,{}),(0,V.jsx)(A,{onClick:()=>i.showProperties(o),children:`Properties`})]})]})}function Hn(e){let{entry:t,dragPaths:n,run:r,springLoad:i,origin:a=`explorer`,projectName:o,extraData:s,onDragStarted:c}=e,l=je({paths:n,origin:a,projectName:o,extraData:s,onDragStarted:c}),u=D({targetDir:t.type===`directory`?t.path:null,run:r,springLoad:t.type===`directory`?i:void 0});return{props:(0,B.useMemo)(()=>({...l,...u.handlers}),[l,u.handlers]),isDropTarget:u.isOver}}function Un(e){return e.type===`directory`||I(e.name)?`open`:`sheet`}function Wn(e){return e.startsWith(`on`)&&e.length>2&&e[2]===e[2]?.toUpperCase()}function Gn(e,t){return n=>{e?.(n),t?.(n)}}function Kn(e,t){if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t)){let t=n[e];if(Wn(e)&&typeof t==`function`&&typeof r==`function`){n[e]=Gn(t,r);continue}if(e===`style`&&t&&r){n[e]={...t,...r};continue}if(e===`className`){n[e]=y(t,r);continue}r!==void 0&&(n[e]=r)}return n}function qn({entry:e,selected:t,currentDir:n,hasClipboard:r,isPinned:i,actions:a,rowHeight:o,onSelect:s,onOpen:c}){let l=Hn({entry:e,dragPaths:[e.path],run:a.transferInto,springLoad:s});return(0,V.jsxs)(F,{children:[(0,V.jsx)(E,{asChild:!0,children:(0,V.jsx)(Jn,{entry:e,selected:t,rowHeight:o,onSelect:s,onOpen:c,dnd:l.props,dropActive:l.isDropTarget})}),(0,V.jsx)(Y,{targets:[e],currentDir:n,hasClipboard:r,isPinned:i,actions:a})]})}var Jn=(0,B.forwardRef)(function({entry:e,selected:t,rowHeight:n,onSelect:r,onOpen:i,dnd:a,dropActive:o,...c},l){let u=P(r),d=s(),{setOpen:f}=(0,B.useContext)(S),p=()=>{r(),!(!d||e.type===`directory`)&&(Un(e)===`open`?i():f(!0))};return(0,V.jsxs)(`div`,{ref:l,...Kn({...c,...u,...a},{role:`option`,"aria-selected":t,"data-testid":`explorer-column-row`,"data-path":e.path,title:e.name,style:{height:n},onContextMenu:e=>{r(),e.stopPropagation()},onClick:p,onDoubleClick:i,className:y(`flex w-full items-center gap-1.5 px-2 text-[13px] select-none`,`can-hover:hover:bg-surface-elevated`,t&&`bg-accent-wash text-text`,o&&`ring-1 ring-dashed ring-primary bg-primary/10`)}),children:[(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-4 shrink-0`}),(0,V.jsx)(`span`,{className:y(`flex-1 truncate`,t?`text-text`:`text-text-2`),children:e.name}),e.type===`directory`&&(0,V.jsx)(`span`,{className:`text-text-subtle`,children:`›`})]})});function Yn({path:e,entries:t,loading:n,error:r,selectedPath:i,isFocused:a,currentDir:o,hasClipboard:s,isPinned:c,actions:l,rowHeight:u,onSelect:d,onOpen:f,onFocus:p,fullWidth:m}){let h=(0,B.useRef)(null);O(h);let g=m?48:u,_=pe({count:t.length,getScrollElement:()=>h.current,estimateSize:()=>g,overscan:8}),v=D({targetDir:e,run:l.transferInto,disabled:m});return(0,V.jsx)(`div`,{className:y(`flex h-full shrink-0 flex-col`,!m&&`border-r border-border`,a&&`bg-panel-2/40`),style:m?void 0:{width:220},children:(0,V.jsxs)(`div`,{ref:h,role:`listbox`,"aria-label":e,className:y(`flex-1 overflow-y-auto outline-none`,v.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...v.handlers,children:[n&&t.length===0&&(0,V.jsx)(`p`,{className:`p-2 text-xs text-text-subtle`,children:`Loading…`}),r&&(0,V.jsx)(`p`,{className:`p-2 text-xs text-error`,children:r}),!n&&!r&&t.length===0&&(0,V.jsx)(`p`,{className:`p-2 text-xs text-text-subtle`,children:`Empty`}),(0,V.jsx)(`div`,{className:`relative w-full`,style:{height:_.getTotalSize()},children:_.getVirtualItems().map(e=>{let n=t[e.index],r=n.path===i;return(0,V.jsx)(`div`,{className:`absolute left-0 top-0 w-full`,style:{transform:`translateY(${e.start}px)`},children:(0,V.jsx)(qn,{entry:n,selected:r,currentDir:o,hasClipboard:s,isPinned:c,actions:l,rowHeight:g,onSelect:()=>{p(),d(n)},onOpen:()=>f(n)})},n.path)})})]})})}function Xn({containerRef:e,onKeyDown:t,backgroundLongPress:n,columns:r,focusedIndex:a,setFocusedIndex:o,selectedPathFor:s,slice:c,hasClipboard:l,isPinned:u,actions:d,onSelect:f,onOpen:p}){let m=r[a];return(0,V.jsxs)(F,{children:[(0,V.jsx)(E,{asChild:!0,children:(0,V.jsxs)(`div`,{ref:e,tabIndex:0,"data-testid":`explorer-columns`,"aria-label":`Column view`,onKeyDown:t,className:`flex h-full min-h-0 w-full flex-col outline-none`,...n,children:[a>0&&(0,V.jsxs)(`button`,{type:`button`,onClick:()=>o(e=>e-1),"aria-label":`Back`,className:`flex h-11 shrink-0 items-center gap-1.5 border-b border-border px-3 text-sm text-text-2 active:bg-surface-elevated`,children:[(0,V.jsx)(i,{className:`size-4`}),` Back`]}),m&&(0,V.jsx)(`div`,{className:`min-h-0 flex-1 motion-safe:animate-in motion-safe:slide-in-from-right-4 motion-safe:duration-150`,children:(0,V.jsx)(Yn,{path:m.path,entries:m.entries,loading:m.loading,error:m.error,selectedPath:s(a),isFocused:!0,fullWidth:!0,rowHeight:48,currentDir:c.path,hasClipboard:l,isPinned:u,actions:d,onSelect:e=>f(a,e),onOpen:p,onFocus:()=>{}})},m.path)]})}),(0,V.jsx)(Y,{targets:[],currentDir:c.path,hasClipboard:l,isPinned:u,actions:d})]})}var Zn=0,Qn=[];function $n(){return new Promise(e=>{let t=!1,n=()=>{Zn++,e(()=>{if(t)return;t=!0,Zn--;let e=Qn.shift();e&&e()})};Zn<24?n():Qn.push(n)})}function er({entry:e,size:t,className:n}){let[r,i]=(0,B.useState)(null),[a,o]=(0,B.useState)(!1),s=(0,B.useRef)(null),c=(0,B.useRef)(null);return(0,B.useEffect)(()=>{i(null),o(!1)},[e.path]),(0,B.useEffect)(()=>{let t=s.current;if(!t||r||a)return;let n=new AbortController,l=null,u=new IntersectionObserver(t=>{t[0]?.isIntersecting&&(u.disconnect(),(async()=>{if(l=await $n(),n.signal.aborted){l();return}try{let t=g(),r=await fetch(`/api/fs/raw?path=${encodeURIComponent(e.path)}`,{headers:t?{Authorization:`Bearer ${t}`}:{},signal:n.signal});if(!r.ok)throw Error(String(r.status));let a=await r.blob();if(n.signal.aborted)return;let o=URL.createObjectURL(a);c.current=o,i(o)}catch{n.signal.aborted||o(!0)}finally{l?.()}})())},{rootMargin:`200px`});return u.observe(t),()=>{n.abort(),u.disconnect(),l?.()}},[e.path,r,a]),(0,B.useEffect)(()=>()=>{c.current&&URL.revokeObjectURL(c.current)},[]),a||!r?(0,V.jsx)(`div`,{ref:s,className:y(`flex items-center justify-center`,n),style:{width:t,height:t},children:(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-1/2`})}):(0,V.jsx)(`div`,{ref:s,className:y(`flex items-center justify-center overflow-hidden`,n),style:{width:t,height:t},children:(0,V.jsx)(`img`,{src:r,alt:``,loading:`lazy`,className:`max-h-full max-w-full rounded object-contain`,onError:()=>o(!0)})})}function tr({entry:e,onOpen:t}){return e?(0,V.jsxs)(`div`,{className:`flex h-full min-w-0 flex-col items-center gap-3 overflow-y-auto p-4 text-center`,children:[(0,V.jsx)(`div`,{className:`flex h-24 w-24 shrink-0 items-center justify-center`,children:e.type!==`directory`&&$e(e.name)===`image`?(0,V.jsx)(er,{entry:e,size:96}):(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-16`})}),(0,V.jsx)(`p`,{className:`w-full truncate text-sm font-medium text-text`,title:e.name,children:e.name}),(0,V.jsxs)(`dl`,{className:`w-full space-y-1 text-left text-xs text-text-2`,children:[(0,V.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,V.jsx)(`dt`,{className:`text-text-subtle`,children:`Kind`}),(0,V.jsx)(`dd`,{className:`truncate`,children:e.type===`directory`?`Folder`:L(e.name)||`File`})]}),e.type!==`directory`&&(0,V.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,V.jsx)(`dt`,{className:`text-text-subtle`,children:`Size`}),(0,V.jsx)(`dd`,{children:Je(e.size)})]}),(0,V.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,V.jsx)(`dt`,{className:`text-text-subtle`,children:`Modified`}),(0,V.jsx)(`dd`,{className:`truncate`,children:De(e.modified)})]})]}),I(e.name)&&(0,V.jsx)(`button`,{type:`button`,onClick:()=>t(e),className:`mt-2 w-full rounded border border-border bg-panel-2 py-1.5 text-xs font-medium text-text can-hover:hover:bg-surface-elevated`,children:`Open`})]},e.path):(0,V.jsx)(`div`,{className:`flex h-full items-center justify-center p-4 text-center text-xs text-text-subtle`,children:`Select a file to preview`})}function nr(e,t){switch(t.type){case`sync`:{let{paths:n,lastEntries:r,lastLoading:i,makeAbort:a}=t,o=n.length-1,s=n.map((t,n)=>{let s=e.columns[n],c=n===o;return s&&s.path===t?c?{...s,entries:r,loading:i,error:null}:s:c?{path:t,entries:r,loading:i,error:null,abort:a()}:{path:t,entries:[],loading:!0,error:null,abort:a()}}),c=[];for(let t=0;t<e.columns.length;t++){let n=e.columns[t],r=s[t];(!r||r.path!==n.path)&&c.push(n.abort)}return{columns:s,staleControllers:c}}case`loaded`:return{columns:e.columns.map(e=>e.path===t.path?{...e,entries:t.entries,loading:!1,error:null}:e),staleControllers:[]};case`error`:return{columns:e.columns.map(e=>e.path===t.path?{...e,loading:!1,error:t.message}:e),staleControllers:[]}}}function rr(e,t,n){let[r,i]=(0,B.useReducer)(nr,{columns:[],staleControllers:[]}),a=(0,B.useRef)(new Set);(0,B.useEffect)(()=>{i({type:`sync`,paths:e,lastEntries:t,lastLoading:n,makeAbort:()=>new AbortController})},[e.join(`\0`),t,n]),(0,B.useEffect)(()=>{for(let e of r.staleControllers)e.abort()},[r.staleControllers]);let o=(0,B.useRef)(r.columns);return o.current=r.columns,(0,B.useEffect)(()=>()=>{for(let e of o.current)e.abort.abort()},[]),(0,B.useEffect)(()=>{let e=r.columns.length-1;r.columns.forEach((t,n)=>{n!==e&&(!t.loading||a.current.has(t.abort)||(a.current.add(t.abort),N.browse(t.path,{signal:t.abort.signal}).then(e=>{a.current.delete(t.abort),!t.abort.signal.aborted&&i({type:`loaded`,path:t.path,entries:e.entries})}).catch(e=>{a.current.delete(t.abort),!(t.abort.signal.aborted||e instanceof DOMException&&e.name===`AbortError`)&&i({type:`error`,path:t.path,message:e instanceof Error?e.message:`Failed to read directory`})})))})},[r.columns]),{columns:r.columns}}var ir=720;function ar({slice:e,entries:t,actions:n,selection:r,hasClipboard:i,isPinned:a,nav:o,backgroundLongPress:c,rowHeight:l}){let{columns:u}=rr((0,B.useMemo)(()=>e.breadcrumbs.length>0?e.breadcrumbs.map(e=>e.path):[e.path],[e.breadcrumbs,e.path]),t,e.loading),d=s(),f=(0,B.useRef)(null);O(f);let[p,m]=(0,B.useState)(u.length-1),[h,g]=(0,B.useState)(0),_=(0,B.useRef)(u.length);(0,B.useEffect)(()=>{let e=f.current;if(!e)return;let t=()=>g(e.clientWidth);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,B.useEffect)(()=>{if(u.length===_.current)return;_.current=u.length,m(u.length-1);let e=f.current;if(!e)return;let t=window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches===!0;e.scrollTo({left:e.scrollWidth,behavior:t?`auto`:`smooth`})},[u.length]);let v=(0,B.useMemo)(()=>{if(!e.anchor)return null;for(let t of u){let n=t.entries.find(t=>t.path===e.anchor);if(n)return n}return null},[u,e.anchor]),y=t=>t===u.length-1?e.anchor:u[t+1]?.path??null,b=e=>{let t=u[e];if(!t)return null;let n=y(e);return t.entries.find(e=>e.path===n)??null},x=(e,t)=>{m(e),t.type===`directory`?o.go(t.path):r.selectOnly(t.path)},S=e=>n.openEntry(e),C=e=>{if(!(e.altKey||e.ctrlKey||e.metaKey)){if(e.key===`ArrowRight`&&p<u.length-1){e.preventDefault(),e.stopPropagation(),m(p+1);return}if(e.key===`ArrowLeft`&&p>0){e.preventDefault(),e.stopPropagation(),m(p-1);return}if(e.key===`ArrowUp`||e.key===`ArrowDown`){let t=u[p];if(!t)return;e.preventDefault(),e.stopPropagation();let n=b(p),r=n?t.entries.findIndex(e=>e.path===n.path):-1,i=e.key===`ArrowDown`?1:-1,a=Math.min(t.entries.length-1,Math.max(0,r<0?0:r+i)),o=t.entries[a];o&&x(p,o);return}if(e.key===`Enter`){let t=b(p);t&&(e.preventDefault(),e.stopPropagation(),S(t))}}},w=h>=ir;return d?(0,V.jsx)(Xn,{containerRef:f,onKeyDown:C,backgroundLongPress:c,columns:u,focusedIndex:p,setFocusedIndex:m,selectedPathFor:y,slice:e,hasClipboard:i,isPinned:a,actions:n,onSelect:x,onOpen:S}):(0,V.jsxs)(F,{children:[(0,V.jsx)(E,{asChild:!0,children:(0,V.jsxs)(`div`,{ref:f,tabIndex:0,"data-testid":`explorer-columns`,"aria-label":`Column view`,onKeyDown:C,className:`flex h-full min-h-0 w-full overflow-x-auto outline-none`,...c,children:[u.map((t,r)=>(0,V.jsx)(Yn,{path:t.path,entries:t.entries,loading:t.loading,error:t.error,selectedPath:y(r),isFocused:r===p,currentDir:e.path,hasClipboard:i,isPinned:a,actions:n,rowHeight:l,onSelect:e=>x(r,e),onOpen:S,onFocus:()=>m(r)},t.path)),w&&(0,V.jsx)(`div`,{className:`min-w-[240px] flex-1 border-l border-border bg-panel-2/30`,children:(0,V.jsx)(tr,{entry:v,onOpen:S})})]})}),(0,V.jsx)(Y,{targets:[],currentDir:e.path,hasClipboard:i,isPinned:a,actions:n})]})}function X(e,t){if(e.selection.size>0)return t.filter(t=>e.selection.has(t.path));let n=t.find(t=>t.path===e.anchor);return n?[n]:[]}function or({slice:e,entries:t,actions:n,selection:r,nav:i}){return(0,B.useCallback)(a=>{if(!e)return;let o=a.target;if(o.tagName===`INPUT`||o.tagName===`TEXTAREA`||o.isContentEditable)return;let s=a.ctrlKey||a.metaKey,c=X(e,t);if(s)switch(a.key.toLowerCase()){case`a`:a.preventDefault(),r.selectAll();return;case`c`:a.preventDefault(),n.copy(c);return;case`x`:a.preventDefault(),n.cut(c);return;case`v`:a.preventDefault(),n.paste();return;default:return}switch(a.key){case`ArrowDown`:a.preventDefault(),r.moveTo(1,a.shiftKey);return;case`ArrowUp`:a.preventDefault(),r.moveTo(-1,a.shiftKey);return;case`Home`:a.preventDefault(),t[0]&&r.selectOnly(t[0].path);return;case`End`:a.preventDefault(),t.length>0&&r.selectOnly(t[t.length-1].path);return;case`ArrowLeft`:a.altKey&&(a.preventDefault(),i.back());return;case`ArrowRight`:a.altKey&&(a.preventDefault(),i.forward());return;case`Backspace`:a.preventDefault(),i.back();return;case`Enter`:a.preventDefault(),c.length===1&&n.openEntry(c[0]);return;case`F2`:a.preventDefault(),c.length===1&&n.startRename(c[0]);return;case`Delete`:if(a.preventDefault(),c.length===0)return;a.shiftKey?n.confirmPermanentDelete(c):n.trash(c);return;case`Escape`:r.clear();return}a.key.length===1&&!a.altKey&&(a.preventDefault(),r.typeAhead(a.key))},[e,t,n,r,i])}function sr(e,t){let n=s(),r=k(e=>e.selectMode),{setOpen:i}=(0,B.useContext)(S);return{isMobile:n,selectMode:r,handleTap:(a,o)=>n?r?(t.onRowClick(a.path,{shiftKey:!1,ctrlKey:!0,metaKey:!1}),!0):(o||t.selectOnly(a.path),Un(a)===`open`?e.openEntry(a):i(!0),!0):!1}}function Z({initial:e,error:t,onCommit:n,onCancel:r,className:i}){let[a,o]=(0,B.useState)(e),s=(0,B.useRef)(null);return(0,B.useEffect)(()=>{let t=s.current;if(!t)return;t.focus();let n=e.lastIndexOf(`.`);n>0?t.setSelectionRange(0,n):t.select()},[e]),(0,V.jsxs)(`div`,{className:`relative flex-1 min-w-0`,children:[(0,V.jsx)(`input`,{ref:s,value:a,"aria-label":`Name`,"aria-invalid":!!t,onChange:e=>o(e.target.value),onBlur:()=>n(a),onKeyDown:e=>{e.stopPropagation(),e.key===`Enter`?n(a):e.key===`Escape`&&r()},className:y(`w-full rounded-[var(--rad-sm)] border bg-panel px-1.5 py-0.5 text-[13px] text-text outline-none`,t?`border-error`:`border-primary`,i)}),t&&(0,V.jsx)(`span`,{className:`absolute left-0 top-full z-10 mt-0.5 rounded border border-border bg-panel-2 px-1.5 py-0.5 text-[11px] text-error shadow-sm`,children:t})]})}var cr=(0,B.memo)(function(e){let{entry:t,currentDir:n,hasClipboard:r,isPinned:i,actions:a,menuTargets:o}=e,s=Hn({entry:t,dragPaths:(0,B.useMemo)(()=>o.map(e=>e.path),[o]),run:a.transferInto});return(0,V.jsxs)(F,{children:[(0,V.jsx)(E,{asChild:!0,children:(0,V.jsx)(lr,{...e,dnd:s.props,dropActive:s.isDropTarget})}),(0,V.jsx)(Y,{targets:o,currentDir:n,hasClipboard:r,isPinned:i,actions:a})]})}),lr=(0,B.forwardRef)(function({entry:e,selected:t,focused:n,cut:r,renaming:i,tileWidth:a,actions:s,selection:c,inlineError:l,currentDir:u,hasClipboard:d,isPinned:f,menuTargets:p,dnd:m,dropActive:h,...g},_){let v=P(()=>{t||c.selectOnly(e.path)}),{isMobile:b,selectMode:x,handleTap:S}=sr(s,c),C=e.type!==`directory`&&$e(e.name)===`image`;return(0,V.jsxs)(`div`,{ref:_,...Kn({...g,...v,...m},{role:`gridcell`,"aria-selected":t,"data-testid":`explorer-tile`,"data-path":e.path,title:e.name,style:a?{width:a}:void 0,onContextMenu:n=>{t||c.selectOnly(e.path),n.stopPropagation()},onClick:n=>{S(e,t)||c.onRowClick(e.path,n)},onDoubleClick:()=>s.openEntry(e),className:y(`relative flex flex-col items-center gap-1 rounded p-2 text-center select-none`,!a&&`w-full`,`can-hover:hover:bg-surface-elevated`,n&&!t&&`bg-surface-elevated`,t&&`bg-accent-wash`,r&&`opacity-40`,h&&`ring-1 ring-dashed ring-primary bg-primary/10`)}),children:[b&&x&&(0,V.jsx)(`span`,{"aria-hidden":!0,className:y(`absolute left-1.5 top-1.5 flex size-5 items-center justify-center rounded border`,t?`border-primary bg-primary text-primary-foreground`:`border-border bg-panel`),children:t&&(0,V.jsx)(o,{className:`size-3.5`})}),(0,V.jsx)(`div`,{className:`flex h-12 w-12 shrink-0 items-center justify-center`,children:C?(0,V.jsx)(er,{entry:e,size:48}):(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-12`})}),i?(0,V.jsx)(Z,{initial:e.name,error:l,onCommit:e=>void s.commitInline(e),onCancel:s.cancelInline}):(0,V.jsx)(`span`,{className:y(`line-clamp-2 w-full break-words text-[12px] leading-tight`,t?`text-text`:`text-text-2`),children:e.name})]})}),ur=96,dr=88,fr=4,pr=16,mr=3;function hr({slice:e,entries:t,actions:n,selection:r,inlineError:i,hasClipboard:a,isPinned:o,backgroundLongPress:c}){let l=Ae(e=>e.clipboard?.operation===`cut`?e.clipboard.paths:null),u=(0,B.useRef)(null);O(u);let d=s(),[f,p]=(0,B.useState)(d?mr:1);(0,B.useEffect)(()=>{if(d){p(mr);return}let e=u.current;if(!e)return;let t=()=>{let t=e.clientWidth-pr+fr;p(Math.max(1,Math.floor(t/(ur+fr))))};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[d]);let m=pe({count:Math.ceil(t.length/f),getScrollElement:()=>u.current,estimateSize:()=>dr,overscan:4}),h=e.anchor?t.findIndex(t=>t.path===e.anchor):-1,g=h>=0?Math.floor(h/f):-1;(0,B.useEffect)(()=>{g>=0&&m.scrollToIndex(g,{align:`auto`})},[g]);let _=(0,B.useMemo)(()=>X(e,t),[e,t]),v=e.inlineEdit?.kind===`new-file`||e.inlineEdit?.kind===`new-folder`,b=D({targetDir:e.path,run:n.transferInto}),x=e=>{if(!(e.altKey||e.ctrlKey||e.metaKey))switch(e.key){case`ArrowDown`:e.preventDefault(),e.stopPropagation(),r.moveTo(f,e.shiftKey);return;case`ArrowUp`:e.preventDefault(),e.stopPropagation(),r.moveTo(-f,e.shiftKey);return;case`ArrowLeft`:e.preventDefault(),e.stopPropagation(),r.moveTo(-1,e.shiftKey);return;case`ArrowRight`:e.preventDefault(),e.stopPropagation(),r.moveTo(1,e.shiftKey);return}};return(0,V.jsxs)(F,{children:[(0,V.jsx)(E,{asChild:!0,children:(0,V.jsxs)(`div`,{ref:u,role:`grid`,tabIndex:0,"data-testid":`explorer-icons`,"aria-label":`File icons`,onKeyDown:x,onMouseDown:e=>{e.target===e.currentTarget&&r.clear()},className:y(`h-full flex-1 overflow-auto p-2 outline-none`,b.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...c,...b.handlers,children:[v&&(0,V.jsx)(`div`,{className:`mb-2 flex flex-col items-center gap-1 p-2`,style:d?void 0:{width:ur},children:(0,V.jsx)(Z,{initial:``,error:i,onCommit:e=>void n.commitInline(e),onCancel:n.cancelInline})}),(0,V.jsx)(`div`,{className:`relative w-full`,style:{height:m.getTotalSize()},children:m.getVirtualItems().map(s=>{let c=s.index*f,u=t.slice(c,c+f);return(0,V.jsx)(`div`,{role:`row`,className:y(`absolute left-0 top-0 w-full gap-1`,d?`grid grid-cols-3`:`flex`),style:{transform:`translateY(${s.start}px)`},children:u.map(t=>(0,V.jsx)(cr,{entry:t,currentDir:e.path,selected:e.selection.has(t.path),focused:e.anchor===t.path,cut:l?.includes(t.path)===!0,renaming:e.inlineEdit?.kind===`rename`&&e.inlineEdit.path===t.path,tileWidth:d?void 0:ur,menuTargets:e.selection.has(t.path)?_:[t],actions:n,selection:r,hasClipboard:a,isPinned:o,inlineError:i},t.path))},s.index)})}),t.length===0&&!e.loading&&!v&&(0,V.jsx)(`p`,{className:`p-3 text-xs text-text-subtle`,children:e.filter?`No entries match the filter.`:`This folder is empty.`})]})}),(0,V.jsx)(Y,{targets:[],currentDir:e.path,hasClipboard:a,isPinned:o,actions:n})]})}var gr=(0,B.memo)(function(e){let{entry:t,currentDir:n,hasClipboard:r,isPinned:i,actions:a,menuTargets:o}=e,s=Hn({entry:t,dragPaths:(0,B.useMemo)(()=>o.map(e=>e.path),[o]),run:a.transferInto});return(0,V.jsxs)(F,{children:[(0,V.jsx)(E,{asChild:!0,children:(0,V.jsx)(_r,{...e,dnd:s.props,dropActive:s.isDropTarget})}),(0,V.jsx)(Y,{targets:o,currentDir:n,hasClipboard:r,isPinned:i,actions:a})]})}),_r=(0,B.forwardRef)(function({entry:e,selected:t,focused:n,cut:r,renaming:i,height:a,actions:s,selection:c,inlineError:l,currentDir:u,hasClipboard:d,isPinned:f,menuTargets:p,dnd:m,dropActive:h,...g},_){let v=P(()=>{t||c.selectOnly(e.path)}),{isMobile:b,selectMode:x,handleTap:S}=sr(s,c);return(0,V.jsxs)(`div`,{ref:_,...Kn({...g,...v,...m},{role:`row`,"aria-selected":t,"data-testid":`explorer-row`,"data-path":e.path,title:e.name,style:{height:a},onContextMenu:n=>{t||c.selectOnly(e.path),n.stopPropagation()},onClick:n=>{S(e,t)||c.onRowClick(e.path,n)},onDoubleClick:()=>s.openEntry(e),className:y(`flex w-full items-center gap-2 px-2 text-[13px] select-none`,`can-hover:hover:bg-surface-elevated`,n&&!t&&`bg-surface-elevated`,t&&`bg-accent-wash`,r&&`opacity-40`,h&&`ring-1 ring-dashed ring-primary bg-primary/10`)}),children:[b&&x&&(0,V.jsx)(`span`,{"aria-hidden":!0,className:y(`flex size-5 shrink-0 items-center justify-center rounded border`,t?`border-primary bg-primary text-primary-foreground`:`border-border`),children:t&&(0,V.jsx)(o,{className:`size-3.5`})}),(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-4`}),i?(0,V.jsx)(Z,{initial:e.name,error:l,onCommit:e=>void s.commitInline(e),onCancel:s.cancelInline}):(0,V.jsx)(`span`,{className:y(`flex-1 truncate`,t?`text-text`:`text-text-2`),children:e.name}),(0,V.jsx)(`span`,{className:`w-20 shrink-0 text-right tabular-nums text-text-subtle`,children:e.type===`directory`?``:Je(e.size)}),(0,V.jsx)(`span`,{className:`hidden w-24 shrink-0 text-right text-text-subtle sm:inline`,children:Be(e.modified)}),(0,V.jsx)(`span`,{className:`hidden w-16 shrink-0 truncate text-right text-text-subtle md:inline`,children:e.type===`directory`?`Folder`:L(e.name)||`File`})]})}),vr={name:`flex-1 text-left`,size:`w-20 text-right`,modified:`hidden w-24 text-right sm:block`,kind:`hidden w-16 text-right md:block`},yr=q.map(e=>({...e,className:vr[e.key]}));function br({slice:e,entries:t,actions:n,selection:r,inlineError:i,hasClipboard:a,isPinned:o,rowHeight:s,backgroundLongPress:l}){let u=j(e=>e.sort),d=j(e=>e.setPrefs),f=Ae(e=>e.clipboard?.operation===`cut`?e.clipboard.paths:null),p=(0,B.useRef)(null);O(p);let m=Oe(),h=M(),g=pe({count:t.length,getScrollElement:()=>p.current,estimateSize:()=>s,overscan:12}),_=e.anchor?t.findIndex(t=>t.path===e.anchor):-1;(0,B.useEffect)(()=>{_>=0&&g.scrollToIndex(_,{align:`auto`})},[_]);let v=(0,B.useMemo)(()=>X(e,t),[e,t]),b=e.inlineEdit?.kind===`new-file`||e.inlineEdit?.kind===`new-folder`,x=D({targetDir:e.path,run:n.transferInto}),S=e=>d({sort:{key:e,dir:u.key===e&&u.dir===`asc`?`desc`:`asc`}});return(0,V.jsxs)(`div`,{className:`flex h-full min-h-0 flex-col`,children:[(0,V.jsx)(`div`,{role:`row`,className:y(`flex shrink-0 items-center gap-2 border-b border-border bg-[var(--x-toolbar-bg,var(--panel-2))] px-2 py-1 text-[11px] font-medium text-text-subtle`,m.id===`windows`&&`divide-x divide-border`),children:yr.map(e=>(0,V.jsxs)(`button`,{type:`button`,"aria-label":`Sort by ${e.label}`,onClick:()=>S(e.key),className:y(`relative flex items-center gap-0.5 can-hover:hover:text-text`,m.id===`windows`&&e.key!==`name`&&`pl-2`,e.className,e.key!==`name`&&`justify-end`,h&&`before:absolute before:-inset-x-2 before:-inset-y-3 before:content-['']`),children:[e.label,u.key===e.key&&(u.dir===`asc`?(0,V.jsx)(Me,{className:`size-3`}):(0,V.jsx)(c,{className:`size-3`}))]},e.key))}),(0,V.jsxs)(F,{children:[(0,V.jsx)(E,{asChild:!0,children:(0,V.jsxs)(`div`,{ref:p,role:`grid`,tabIndex:0,"data-testid":`explorer-list`,"aria-label":`File list`,onMouseDown:e=>{e.target===e.currentTarget&&r.clear()},className:y(`flex-1 overflow-auto outline-none`,x.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...l,...x.handlers,children:[b&&(0,V.jsxs)(`div`,{className:`flex items-center gap-2 px-2`,style:{height:s},children:[(0,V.jsx)(`span`,{className:`size-4 shrink-0`}),(0,V.jsx)(Z,{initial:``,error:i,onCommit:e=>void n.commitInline(e),onCancel:n.cancelInline})]}),(0,V.jsx)(`div`,{className:`relative w-full`,style:{height:g.getTotalSize()},children:g.getVirtualItems().map(c=>{let l=t[c.index];return(0,V.jsx)(`div`,{className:y(`absolute left-0 top-0 w-full`,m.id===`macos`&&c.index%2==1&&`bg-panel-2/40`),style:{transform:`translateY(${c.start}px)`},children:(0,V.jsx)(gr,{entry:l,currentDir:e.path,selected:e.selection.has(l.path),focused:e.anchor===l.path,cut:f?.includes(l.path)===!0,renaming:e.inlineEdit?.kind===`rename`&&e.inlineEdit.path===l.path,height:s,menuTargets:e.selection.has(l.path)?v:[l],actions:n,selection:r,hasClipboard:a,isPinned:o,inlineError:i})},l.path)})}),t.length===0&&!e.loading&&!b&&(0,V.jsx)(`p`,{className:`p-3 text-xs text-text-subtle`,children:e.filter?`No entries match the filter.`:`This folder is empty.`})]})}),(0,V.jsx)(Y,{targets:[],currentDir:e.path,hasClipboard:a,isPinned:o,actions:n})]})]})}var xr={list:br,icons:hr,columns:ar},Sr=Object.keys(xr);function Cr(e){return xr[e]??br}var wr={list:xe,icons:rt,columns:nt},Tr={list:`List view`,icons:`Icons view`,columns:`Column view`};function Er({windowId:e,slice:t,nav:n}){let r=j(e=>e.patch),o=j(e=>e.showHidden),s=j(e=>e.viewMode),c=j(e=>e.setPrefs),[l,u]=(0,B.useState)(!1),[d,p]=(0,B.useState)(t.path);(0,B.useEffect)(()=>p(t.path),[t.path]);let m=M();return(0,V.jsxs)(`div`,{className:`flex shrink-0 flex-wrap items-center gap-1 border-b border-border bg-[var(--x-toolbar-bg,var(--panel-2))] px-1.5 py-1`,children:[(0,V.jsx)(`button`,{type:`button`,"aria-label":`Back`,title:`Back`,disabled:!n.canGoBack,onClick:n.back,className:J(m),children:(0,V.jsx)(i,{className:`size-4`})}),(0,V.jsx)(`button`,{type:`button`,"aria-label":`Forward`,title:`Forward`,disabled:!n.canGoForward,onClick:n.forward,className:J(m),children:(0,V.jsx)(et,{className:`size-4`})}),(0,V.jsx)(`button`,{type:`button`,"aria-label":`Up one level`,title:`Up`,disabled:!t.parent,onClick:n.up,className:J(m),children:(0,V.jsx)(Ye,{className:`size-4`})}),(0,V.jsx)(`button`,{type:`button`,"aria-label":`Refresh`,title:`Refresh`,onClick:n.refresh,className:J(m),children:(0,V.jsx)(ze,{className:y(`size-4`,t.loading&&`animate-spin`)})}),(0,V.jsxs)(`div`,{className:`flex min-w-[8rem] flex-1 items-center gap-1 rounded border border-border bg-panel px-1`,children:[l?(0,V.jsx)(`input`,{autoFocus:!0,"aria-label":`Path`,value:d,onChange:e=>p(e.target.value),onBlur:()=>u(!1),onKeyDown:e=>{e.stopPropagation(),e.key===`Enter`?(n.go(d.trim()),u(!1)):e.key===`Escape`&&(p(t.path),u(!1))},className:`min-w-0 flex-1 bg-transparent py-1 font-mono text-xs text-text outline-none`}):(0,V.jsx)(In,{crumbs:t.breadcrumbs,onNavigate:n.go,sep:t.sep,className:`flex-1 overflow-hidden py-0.5`}),(0,V.jsx)(`button`,{type:`button`,"aria-label":l?`Show breadcrumb`:`Edit path`,title:l?`Show breadcrumb`:`Edit path`,onClick:()=>u(e=>!e),className:J(m),children:(0,V.jsx)(at,{className:`size-3.5`})})]}),(0,V.jsxs)(`div`,{className:`flex items-center gap-1 rounded border border-border bg-panel px-1`,children:[(0,V.jsx)(ae,{className:`size-3.5 shrink-0 text-text-subtle`}),(0,V.jsx)(`input`,{"aria-label":`Filter entries`,placeholder:`Filter`,value:t.filter,onChange:t=>r(e,{filter:t.target.value}),onKeyDown:t=>{t.stopPropagation(),t.key===`Escape`&&r(e,{filter:``})},className:`w-24 min-w-0 bg-transparent py-1 text-xs text-text outline-none placeholder:text-text-subtle`}),t.filter&&(0,V.jsx)(`button`,{type:`button`,"aria-label":`Clear filter`,onClick:()=>r(e,{filter:``}),className:J(m),children:(0,V.jsx)(h,{className:`size-3.5`})})]}),Sr.length>1&&Sr.map(e=>{let t=wr[e];return(0,V.jsx)(`button`,{type:`button`,"aria-label":Tr[e],title:Tr[e],"aria-pressed":s===e,onClick:()=>c({viewMode:e}),className:y(J(m),s===e&&`bg-accent-wash text-primary`),children:(0,V.jsx)(t,{className:`size-4`})},e)}),(0,V.jsx)(Vn,{coarse:m}),(0,V.jsx)(`button`,{type:`button`,"aria-label":o?`Hide hidden files`:`Show hidden files`,title:o?`Hide hidden files`:`Show hidden files`,"aria-pressed":o,onClick:()=>c({showHidden:!o}),className:y(J(m),o&&`bg-accent-wash text-primary`),children:o?(0,V.jsx)(f,{className:`size-4`}):(0,V.jsx)(a,{className:`size-4`})})]})}var Dr={list:xe,icons:rt,columns:nt},Or={list:`List`,icons:`Icons`,columns:`Columns`};function kr(e){return{name:e.breadcrumbs[e.breadcrumbs.length-1]?.name??e.path,path:e.path,type:`directory`,kind:`directory`,modified:``}}function Ar({open:e,onClose:t,slice:n,actions:r,entries:i}){let o=j(e=>e.viewMode),s=j(e=>e.sort),c=j(e=>e.showHidden),l=j(e=>e.setPrefs),u=X(n,i);return(0,V.jsxs)(ee,{open:e,onClose:t,className:`p-2`,children:[(0,V.jsx)(C,{children:`View`}),(0,V.jsx)(`div`,{className:`flex gap-1 px-2 pb-2`,children:Sr.map(e=>{let n=Dr[e];return(0,V.jsxs)(`button`,{type:`button`,"aria-pressed":o===e,onClick:()=>{l({viewMode:e}),t()},className:y(`flex flex-1 flex-col items-center gap-1 rounded-lg py-2 text-xs active:bg-surface-elevated`,o===e?`bg-accent-wash text-primary`:`text-text-2`),children:[(0,V.jsx)(n,{className:`size-4`}),Or[e]]},e)})}),(0,V.jsx)(x,{}),(0,V.jsx)(C,{children:`Sort by`}),(0,V.jsx)(`div`,{className:`flex flex-wrap gap-1 px-2 pb-2`,children:q.map(({key:e,label:n})=>(0,V.jsxs)(`button`,{type:`button`,"aria-pressed":s.key===e,onClick:()=>{l({sort:{key:e,dir:s.key===e&&s.dir===`asc`?`desc`:`asc`}}),t()},className:y(`inline-flex min-h-11 items-center justify-center rounded-full border px-3 py-1.5 text-xs active:bg-surface-elevated`,s.key===e?`border-primary bg-accent-wash text-text`:`border-border text-text-2`),children:[n,s.key===e?s.dir===`asc`?` ↑`:` ↓`:``]},e))}),(0,V.jsx)(x,{}),(0,V.jsxs)(w,{onClick:()=>l({showHidden:!c}),children:[c?(0,V.jsx)(f,{className:`size-4`}):(0,V.jsx)(a,{className:`size-4`}),c?`Hide hidden files`:`Show hidden files`]}),(0,V.jsx)(x,{}),(0,V.jsxs)(w,{variant:`destructive`,disabled:u.length===0,onClick:()=>r.confirmPermanentDelete(u),children:[(0,V.jsx)(we,{className:`size-4`}),`Delete permanently`,u.length>1?` (${u.length})`:``]}),(0,V.jsxs)(w,{onClick:()=>r.showProperties(kr(n)),children:[(0,V.jsx)(ye,{className:`size-4`}),`Properties of this folder`]})]})}function Q({icon:e,label:t,onClick:n,disabled:r,destructive:i}){return(0,V.jsxs)(`button`,{type:`button`,"aria-label":t,title:t,disabled:r,onClick:n,className:`flex min-w-[44px] flex-1 flex-col items-center gap-0.5 rounded-lg py-1.5 text-[10px] active:bg-surface-elevated disabled:opacity-30 ${i?`text-error`:`text-text-2`}`,children:[(0,V.jsx)(e,{className:`size-5`}),(0,V.jsx)(`span`,{className:`truncate`,children:t})]})}function jr({slice:e,nav:t,actions:n,entries:r,hasClipboard:a}){let s=k(e=>e.selectMode),c=k(e=>e.setSelectMode),[l,u]=(0,B.useState)(!1),[f,g]=(0,B.useState)(!1),_=r.filter(t=>e.selection.has(t.path));return s?(0,V.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1 border-t border-border px-1 py-1`,children:[(0,V.jsx)(Q,{icon:h,label:`Cancel`,onClick:()=>{c(!1)}}),(0,V.jsxs)(`span`,{className:`px-1 text-xs text-text-subtle`,children:[_.length,` selected`]}),(0,V.jsx)(`div`,{className:`flex-1`}),(0,V.jsx)(Q,{icon:ot,label:`Cut`,disabled:_.length===0,onClick:()=>n.cut(_)}),(0,V.jsx)(Q,{icon:d,label:`Copy`,disabled:_.length===0,onClick:()=>n.copy(_)}),(0,V.jsx)(Q,{icon:we,label:`Trash`,disabled:_.length===0,destructive:!0,onClick:()=>n.trash(_)}),(0,V.jsx)(Q,{icon:p,label:`Download`,disabled:!_.some(e=>e.type===`file`),onClick:()=>n.download(_)}),_.length===1&&(0,V.jsx)(Q,{icon:ye,label:`Info`,onClick:()=>n.showProperties(_[0])})]}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1 border-t border-border px-1 py-1`,children:[(0,V.jsx)(Q,{icon:i,label:`Back`,disabled:!t.canGoBack,onClick:t.back}),(0,V.jsx)(Q,{icon:m,label:`New`,onClick:()=>u(!0)}),(0,V.jsx)(Q,{icon:Ee,label:`Paste`,disabled:!a,onClick:()=>n.paste()}),(0,V.jsx)(Q,{icon:o,label:`Select`,onClick:()=>c(!0)}),(0,V.jsx)(Q,{icon:Ue,label:`More`,onClick:()=>g(!0)})]}),(0,V.jsxs)(ee,{open:l,onClose:()=>u(!1),className:`p-2`,children:[(0,V.jsxs)(w,{onClick:()=>n.startCreate(`new-file`),children:[(0,V.jsx)(He,{className:`size-4`}),` New File`]}),(0,V.jsxs)(w,{onClick:()=>n.startCreate(`new-folder`),children:[(0,V.jsx)(ge,{className:`size-4`}),` New Folder`]})]}),(0,V.jsx)(Ar,{open:f,onClose:()=>g(!1),slice:e,actions:n,entries:r})]})}function Mr(e){return e.breadcrumbs[e.breadcrumbs.length-1]?.name??e.path}function Nr({slice:e,onClose:t}){return(0,V.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 border-b border-border px-3 py-2.5`,children:[(0,V.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[15px] font-semibold text-text`,children:Mr(e)}),(0,V.jsx)(`button`,{type:`button`,"aria-label":`Close file explorer`,title:`Close`,onClick:t,className:`flex size-11 shrink-0 items-center justify-center rounded-full text-text-2 active:bg-surface-elevated`,children:(0,V.jsx)(h,{className:`size-5`})})]})}var Pr=`size-4 shrink-0 text-text-subtle`,Fr={fixed:R,removable:st,network:it,unknown:R};function Ir(){return(0,V.jsx)(U,{name:``,kind:`directory`,className:Pr})}function $({label:e,path:t,active:n,icon:r,onNavigate:i}){return(0,V.jsxs)(`button`,{type:`button`,title:t,onClick:()=>i(t),className:y(`flex min-h-[44px] w-full items-center gap-2.5 rounded-lg px-3 text-left text-sm active:bg-surface-elevated`,n?`bg-accent-wash text-text`:`text-text-2`),children:[r,(0,V.jsx)(`span`,{className:`truncate`,children:e})]})}function Lr({title:e,children:t}){return(0,V.jsxs)(`div`,{className:`pb-2`,children:[(0,V.jsx)(`p`,{className:`px-3 pb-1 pt-3 text-[11px] font-semibold uppercase tracking-wide text-text-subtle`,children:e}),t]})}function Rr({open:e,onClose:t,host:n,currentPath:r,vocab:i,onNavigate:a}){let o=z(e=>e.pins),s=e=>e===r;return(0,V.jsx)(ee,{open:e,onClose:t,zIndex:65,className:`p-1`,children:(0,V.jsxs)(`div`,{className:`max-h-[70vh] overflow-y-auto px-1 pb-2`,children:[o.length>0&&(0,V.jsx)(Lr,{title:`Pinned`,children:o.map(e=>(0,V.jsx)($,{label:e.name,path:e.path,icon:(0,V.jsx)(Le,{className:Pr}),active:s(e.path),onNavigate:a},e.path))}),n&&n.pinned.length>0&&(0,V.jsx)(Lr,{title:i.pinned,children:n.pinned.map(e=>(0,V.jsx)($,{label:e.name,path:e.path,icon:Ir(),active:s(e.path),onNavigate:a},e.path))}),n&&(0,V.jsxs)(Lr,{title:i.known,children:[(0,V.jsx)($,{label:i.home,path:n.homedir,icon:Ir(),active:s(n.homedir),onNavigate:a}),n.knownFolders.map(e=>(0,V.jsx)($,{label:e.name,path:e.path,icon:Ir(),active:s(e.path),onNavigate:a},e.path))]}),n&&n.drives.length>0&&(0,V.jsx)(Lr,{title:i.drives,children:n.drives.map(e=>{let t=Fr[e.kind];return(0,V.jsx)($,{label:e.label?`${e.label} (${e.name})`:e.name,path:e.path,icon:(0,V.jsx)(t,{className:Pr}),active:s(e.path),onNavigate:a},e.path)})})]})})}function zr({className:e}){return(0,V.jsx)(U,{name:``,kind:`directory`,className:e})}var Br={fixed:R,removable:st,network:it,unknown:R};function Vr({chip:e,active:t,onNavigate:n}){let r=e.icon;return(0,V.jsxs)(`button`,{type:`button`,onClick:()=>n(e.path),title:e.path,className:y(`flex h-11 shrink-0 items-center gap-1.5 rounded-full border px-3 text-[13px] active:bg-surface-elevated`,t?`border-primary bg-accent-wash text-text`:`border-border text-text-2`),children:[(0,V.jsx)(r,{className:`size-4 shrink-0 text-text-subtle`}),(0,V.jsx)(`span`,{className:`max-w-[9rem] truncate`,children:e.label})]})}function Hr({host:e,currentPath:t,onNavigate:n,vocab:r}){let i=z(e=>e.pins),[a,o]=(0,B.useState)(!1);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1.5 overflow-x-auto touch-pan-x border-b border-border px-2 py-1.5`,children:[[...i.map(e=>({key:`pin:${e.path}`,label:e.name,path:e.path,icon:Le})),...e?[{key:`home`,label:r.home,path:e.homedir,icon:zr}]:[],...e?.pinned.map(e=>({key:`os:${e.path}`,label:e.name,path:e.path,icon:zr}))??[],...e?.drives.map(e=>({key:`drive:${e.path}`,label:e.label?`${e.label} (${e.name})`:e.name,path:e.path,icon:Br[e.kind]}))??[]].map(e=>(0,V.jsx)(Vr,{chip:e,active:e.path===t,onNavigate:n},e.key)),(0,V.jsx)(`button`,{type:`button`,"aria-label":`All places`,title:`All places`,onClick:()=>o(!0),className:`flex h-11 shrink-0 items-center gap-1 rounded-full border border-border px-3 text-[13px] text-text-2 active:bg-surface-elevated`,children:(0,V.jsx)(Ue,{className:`size-4`})})]}),(0,V.jsx)(Rr,{open:a,onClose:()=>o(!1),host:e,currentPath:t,vocab:r,onNavigate:e=>{o(!1),n(e)}})]})}function Ur(e,t,n){let r=(0,B.useRef)(null),i=j(e=>e.patch),a=(0,B.useRef)(t?.path??``);a.current=t?.path??``;let o=(0,B.useRef)(n);o.current=n;let s=(0,B.useCallback)(async t=>{r.current?.abort();let n=new AbortController;r.current=n,i(e,{loading:!0,error:null});try{let r=await N.browse(t,{showHidden:o.current,signal:n.signal});if(n.signal.aborted)return;i(e,{entries:r.entries,breadcrumbs:r.breadcrumbs,parent:r.parent,sep:r.sep,truncated:r.truncated===!0,loading:!1,error:null})}catch(t){if(n.signal.aborted||t instanceof DOMException&&t.name===`AbortError`)return;i(e,{loading:!1,entries:[],error:t instanceof Ne?{message:t.message,code:t.code,hint:t.hint}:{message:t instanceof Error?t.message:`Failed to read directory`,code:`EUNKNOWN`}})}},[e,i]),c=t?.path;(0,B.useEffect)(()=>{if(c)return s(c),()=>r.current?.abort()},[c,n,s]),(0,B.useEffect)(()=>Fe(e=>{e===a.current&&s(e)}),[s]);let l=(0,B.useCallback)((t,n)=>{let r=j.getState().slices[e];if(!r||t===r.path)return;let a=n?.replace?[...r.history.slice(0,r.historyIndex),t]:[...r.history.slice(0,r.historyIndex+1),t];i(e,{path:t,history:a.slice(-100),historyIndex:Math.min(a.length,100)-1,selection:new Set,anchor:null,filter:``,inlineEdit:null}),te.getState().setPayload(e,{path:t})},[e,i]),u=(0,B.useCallback)(t=>{let n=j.getState().slices[e];if(!n)return;let r=n.historyIndex+t,a=n.history[r];a!=null&&(i(e,{path:a,historyIndex:r,selection:new Set,anchor:null,filter:``,inlineEdit:null}),te.getState().setPayload(e,{path:a}))},[e,i]),d=(0,B.useCallback)(()=>u(-1),[u]),f=(0,B.useCallback)(()=>u(1),[u]),p=(0,B.useCallback)(()=>{let t=j.getState().slices[e];t?.parent&&l(t.parent)},[e,l]),m=(0,B.useCallback)(()=>{a.current&&s(a.current)},[s]),h=(t?.historyIndex??0)>0,g=t?t.historyIndex<t.history.length-1:!1;return(0,B.useMemo)(()=>({go:l,back:d,forward:f,up:p,refresh:m,canGoBack:h,canGoForward:g}),[l,d,f,p,m,h,g])}function Wr(e,t,n){let r=t==null?-1:e.indexOf(t),i=e.indexOf(n);if(i<0)return[];if(r<0)return[n];let[a,o]=r<=i?[r,i]:[i,r];return e.slice(a,o+1)}function Gr(e,t,n){switch(n.type){case`clear`:return{selection:new Set,anchor:null};case`select-all`:return{selection:new Set(t),anchor:e.anchor??t[0]??null};case`set`:return{selection:new Set(n.paths),anchor:n.anchor===void 0?n.paths[n.paths.length-1]??null:n.anchor};case`click`:if(n.ctrl){let t=new Set(e.selection);return t.has(n.path)?t.delete(n.path):t.add(n.path),{selection:t,anchor:n.path}}if(n.shift){let r=Wr(t,e.anchor,n.path);return{selection:new Set(r),anchor:e.anchor??n.path}}return{selection:new Set([n.path]),anchor:n.path}}}function Kr(e,t,n){if(e.length===0)return null;let r=t==null?-1:e.indexOf(t);return r<0?n>0?e[0]:e[e.length-1]:e[Math.min(e.length-1,Math.max(0,r+n))]}function qr(e,t,n){if(!t)return-1;let r=t.toLowerCase(),i=n<0?0:n+1;for(let t=0;t<e.length;t++){let n=(i+t)%e.length;if(e[n].toLowerCase().startsWith(r))return n}return-1}function Jr(e,t){let n=j(e=>e.patch),r=(0,B.useRef)(t);r.current=t;let i=(0,B.useRef)({text:``,at:0}),a=(0,B.useCallback)(t=>{let i=j.getState().slices[e];i&&n(e,Gr(i,r.current,t))},[e,n]),o=(0,B.useCallback)((t,n)=>{let i=j.getState().slices[e];if(!i)return;let o=Kr(r.current,i.anchor,t);o!=null&&a({type:`click`,path:o,shift:n})},[e,a]),s=(0,B.useCallback)(t=>{let n=j.getState().slices[e];if(!n)return null;let o=Date.now(),s=o-i.current.at>800?t:i.current.text+t;i.current={text:s,at:o};let c=r.current,l=qr(c.map(e=>e.split(/[/\\]/).pop()??e),s,s.length===1&&n.anchor?c.indexOf(n.anchor):-1);return l<0?null:(a({type:`click`,path:c[l]}),c[l])},[e,a]),c=(0,B.useCallback)((e,t)=>a({type:`click`,path:e,shift:t.shiftKey,ctrl:t.ctrlKey||t.metaKey}),[a]),l=(0,B.useCallback)(e=>a({type:`click`,path:e}),[a]),u=(0,B.useCallback)(()=>a({type:`select-all`}),[a]),d=(0,B.useCallback)(()=>a({type:`clear`}),[a]),f=(0,B.useCallback)((e,t)=>a({type:`set`,paths:e,anchor:t}),[a]);return(0,B.useMemo)(()=>({onRowClick:c,selectOnly:l,selectAll:u,clear:d,setSelection:f,moveTo:o,typeAhead:s}),[c,l,u,d,f,o,s])}var Yr=28,Xr=36,Zr=48;function Qr({windowId:e,initialPath:t,variant:n=`window`}){let r=j(e=>e.ensure);(0,B.useEffect)(()=>r(e,t),[r,e,t]);let i=j(t=>t.slices[e]),a=j(e=>e.showHidden),o=j(e=>e.viewMode),s=j(e=>e.sort),{host:c}=he(),l=Ae(e=>(e.clipboard?.paths.length??0)>0),u=z(e=>e.isPinned),d=M(),f=Oe(),p=Ur(e,i,a),{actions:m,dialogs:h}=Ct(e,i,p,c?.platform),g=(0,B.useMemo)(()=>i?Mn(i.entries,i.filter,s):[],[i?.entries,i?.filter,s]),_=Jr(e,(0,B.useMemo)(()=>g.map(e=>e.path),[g])),v=or({slice:i,entries:g,actions:m,selection:_,nav:p}),y=P(),b=k(e=>e.close);if(!i)return null;let x=Cr(o),S=n===`sheet`,C=S?Zr:d?Xr:Yr;return(0,V.jsxs)(`div`,{"data-skin":f.id,style:{fontFamily:`var(--x-font)`},className:`flex h-full min-h-0 w-full flex-col bg-panel text-text`,children:[S?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Nr,{slice:i,onClose:b}),(0,V.jsx)(Hr,{host:c,currentPath:i.path,onNavigate:p.go,vocab:f.vocab})]}):(0,V.jsx)(Er,{windowId:e,slice:i,nav:p}),i.error&&(0,V.jsxs)(`div`,{className:`flex items-start gap-2 border-b border-border bg-error/10 px-2 py-1.5 text-xs text-error`,children:[(0,V.jsx)(Pe,{className:`mt-0.5 size-3.5 shrink-0`}),(0,V.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,V.jsx)(`p`,{className:`break-words`,children:i.error.message}),i.error.hint&&(0,V.jsx)(`p`,{className:`mt-0.5 text-text-2`,children:i.error.hint})]}),c&&(0,V.jsxs)(`button`,{type:`button`,onClick:()=>p.go(c.homedir),className:`flex shrink-0 items-center gap-1 rounded border border-border px-1.5 py-0.5 text-text-2 can-hover:hover:bg-surface-elevated`,children:[(0,V.jsx)(ce,{className:`size-3`}),` Go home`]})]}),(0,V.jsx)(En,{value:{closed:f.FolderIcon,open:f.FolderOpenIcon},children:(0,V.jsxs)(`div`,{className:`flex min-h-0 flex-1`,children:[!S&&(0,V.jsx)(An,{host:c,currentPath:i.path,onNavigate:p.go,vocab:f.vocab}),(0,V.jsx)(`div`,{className:`min-w-0 flex-1`,onKeyDown:v,children:(0,V.jsx)(x,{windowId:e,slice:i,entries:g,actions:m,selection:_,inlineError:h.inlineError,hasClipboard:l,isPinned:u,rowHeight:C,nav:p,backgroundLongPress:y})})]})}),S?(0,V.jsx)(jr,{slice:i,nav:p,actions:m,entries:g,hasClipboard:l}):(0,V.jsx)(Pn,{entries:g,selection:i.selection,truncated:i.truncated}),(0,V.jsx)(Ge,{dialogs:h,platform:c?.platform,sep:i.sep})]})}export{Qr as t};
|
|
1
|
+
import{o as e}from"./rolldown-runtime-FhOqtrmT.js";import{S as t,x as n}from"./vendor-markdown-Ls5AcU91.js";import{t as r}from"./createLucideIcon-D8pyde1A.js";import{n as i,t as a}from"./eye-off-CUdzgmX8.js";import{d as o}from"./context-menu-q-RHHAWz.js";import{n as s,r as c}from"./use-is-mobile-DnFSkUG2.js";import{t as l}from"./chevron-right-BLOtX8Vy.js";import{t as u}from"./circle-question-mark-CENpx4oA.js";import{t as d}from"./copy-BApI9v7Z.js";import{n as f,r as p,t as m}from"./plus-9LatwJMx.js";import{t as h}from"./x-B1qHmLdR.js";import{r as g,s as _}from"./api-client-rTAGdEKo.js";import{t as v}from"./react-w6wINGnd.js";import{n as y}from"./utils-B9H0d3Fh.js";import{t as b}from"./tab-store-C42sktPo.js";import{i as x,n as S,o as C,r as w,t as ee}from"./mobile-bottom-sheet-BQt45q9T.js";import{$n as te,At as ne,Ct as re,Dt as ie,Et as ae,Ft as oe,Gn as se,Gt as ce,Ht as le,It as ue,J as de,Lt as fe,Mt as pe,Nn as T,Nt as me,Ot as he,Pt as ge,Q as E,Rt as _e,St as D,Tt as O,Un as ve,Ut as ye,X as k,Y as be,_t as xe,at as Se,br as Ce,bt as A,cr as we,ct as Te,dt as Ee,er as De,et as Oe,ft as ke,gt as Ae,ht as j,ir as je,it as Me,jn as Ne,kn as Pe,kt as M,lt as Fe,mr as Ie,mt as Le,nn as Re,nt as ze,ot as Be,p as Ve,pt as He,q as N,qn as Ue,rt as P,st as We,tr as Ge,tt as Ke,ur as qe,ut as Je,vn as Ye,vt as F,wt as Xe,xt as Ze,yn as Qe}from"./index-wd3FSHHn.js";import{a as I,o as L,s as $e}from"./can-open-in-ppm-BzVXoV-d.js";var et=r(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),tt=r(`arrow-up-down`,[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]),nt=r(`columns-3`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M9 3v18`,key:`fh3hqa`}],[`path`,{d:`M15 3v18`,key:`14nvp0`}]]),R=r(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),rt=r(`layout-grid`,[[`rect`,{width:`7`,height:`7`,x:`3`,y:`3`,rx:`1`,key:`1g98yp`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`3`,rx:`1`,key:`6d4xhi`}],[`rect`,{width:`7`,height:`7`,x:`14`,y:`14`,rx:`1`,key:`nxv5o0`}],[`rect`,{width:`7`,height:`7`,x:`3`,y:`14`,rx:`1`,key:`1bb6yr`}]]),it=r(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),at=r(`pencil-line`,[[`path`,{d:`M13 21h8`,key:`1jsn5i`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}],[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),ot=r(`scissors`,[[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M8.12 8.12 12 12`,key:`1alkpv`}],[`path`,{d:`M20 4 8.12 15.88`,key:`xgtan2`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}],[`path`,{d:`M14.8 14.8 20 20`,key:`ptml3r`}]]),st=r(`usb`,[[`circle`,{cx:`10`,cy:`7`,r:`1`,key:`dypaad`}],[`circle`,{cx:`4`,cy:`20`,r:`1`,key:`22iqad`}],[`path`,{d:`M4.7 19.3 19 5`,key:`1enqfc`}],[`path`,{d:`m21 3-3 1 2 2Z`,key:`d3ov82`}],[`path`,{d:`M9.26 7.68 5 12l2 5`,key:`1esawj`}],[`path`,{d:`m10 14 5 2 3.5-3.5`,key:`v8oal5`}],[`path`,{d:`m18 12 1-1 1 1-1 1Z`,key:`1bh22v`}]]),ct=`ppm-explorer-pins`,lt=50;function ut(){try{let e=localStorage.getItem(ct),t=e?JSON.parse(e):[];return Array.isArray(t)?t.filter(e=>!!e&&typeof e.path==`string`&&typeof e.name==`string`).slice(0,lt):[]}catch{return[]}}function dt(e){try{localStorage.setItem(ct,JSON.stringify(e))}catch{}}var z=v((e,t)=>({pins:ut(),isPinned:e=>t().pins.some(t=>t.path===e),pin:n=>{if(t().isPinned(n.path))return;let r=[...t().pins,n].slice(0,lt);dt(r),e({pins:r})},unpin:n=>{let r=t().pins.filter(e=>e.path!==n);dt(r),e({pins:r})}}));function ft(e){return I(e.name)?(b.getState().openTab({type:$e(e.name)===`sqlite`?`sqlite`:`editor`,title:e.name,projectId:null,metadata:{filePath:e.path},closable:!0}),!0):!1}function pt(e){return Ke.getState().open(`explorer`,{path:e})}async function mt(e){let t=e.filter(e=>e.type===`file`),n=e.length-t.length;n>0&&_.warning(n===1?`Folders cannot be downloaded`:`${n} folders skipped`);for(let e of t)try{ce(await j.downloadUrl(e.path),e.name)}catch(t){_.error(`Download failed: ${e.name}`,{description:t instanceof Error?t.message:void 0})}}async function ht(e,t){e.length!==0&&(await ye(e.join(`
|
|
2
|
+
`)),_.success(e.length===1?`${t} copied`:`${e.length} ${t.toLowerCase()}s copied`))}var gt=/[<>:"|?*]/,_t=/[\u0000-\u001f]/,vt=/^(con|prn|aux|nul|com[1-9]|lpt[1-9])(\..*)?$/i;function yt(e,t){if(!e)return`Name cannot be empty`;if(e===`.`||e===`..`)return`Reserved name`;if(e.includes(`/`)||e.includes(`\\`))return`Name cannot contain path separators`;if(_t.test(e))return`Invalid character in name`;if(t===`win32`){if(gt.test(e))return`Cannot contain < > : " | ? *`;if(vt.test(e))return`"${e}" is a reserved Windows name`;if(e.endsWith(`.`)||e.endsWith(` `))return`Cannot end with a dot or space`}return null}async function bt(e,t,n,r){let i=He(e,t,r);try{return n===`folder`?await j.mkdir(i,!1):await j.touch(i),Ae(e),!0}catch(e){return _.error(n===`folder`?`Could not create folder`:`Could not create file`,{description:Fe(e)}),!1}}async function xt(e,t,n){try{return await j.rename(e,t),Ae(Te(e,n)),!0}catch(e){return _.error(`Rename failed`,{description:Fe(e)}),!1}}async function St(e,t,n){let r={removed:0,needsPermanent:[]},i=new Set;for(let a of e){i.add(Te(a,n));try{await j.remove(a,t),r.removed++}catch(e){if(e instanceof Le&&e.code===`NO_TRASH`){r.needsPermanent.push(a);continue}_.error(`Delete failed`,{description:Fe(e)})}}if(Ae(...i),r.removed>0){let e=`${r.removed} item${r.removed===1?``:`s`}`;_.success(t?`Deleted ${e}`:`Moved ${e} to Trash`)}return r}var B=e(t(),1);function Ct(e,t,n,r){let i=F(e=>e.patch),[a,o]=(0,B.useState)(null),[s,c]=(0,B.useState)(null),[l,u]=(0,B.useState)(null),[d,f]=(0,B.useState)(null),[p,m]=(0,B.useState)(null),h=(0,B.useRef)(t);h.current=t;let g=(0,B.useMemo)(()=>({get sep(){return h.current?.sep??`/`},resolve:e=>new Promise(t=>{o({...e,resolve:e=>{o(null),t(e)}})}),confirmPermanentOverwrite:e=>new Promise(t=>{u({name:e,resolve:e=>{u(null),t(e)}})})}),[]),v=()=>h.current?.path??``;return{actions:(0,B.useMemo)(()=>({openEntry:e=>{e.type===`directory`?n.go(e.path):ft(e)},openInNewWindow:e=>{pt(e.type===`directory`?e.path:h.current?.path??e.path)},cut:e=>Be(e.map(e=>e.path),`cut`),copy:e=>Be(e.map(e=>e.path),`copy`),paste:e=>void Se(e??v(),g),transferInto:async(e,t,n)=>{let r=await We(e,t,n,g);if(r.succeeded>0){let e=n===`copy`?`Copied`:`Moved`;_.success(`${e} ${r.succeeded} item${r.succeeded===1?``:`s`}`)}},startRename:t=>{m(null),i(e,{inlineEdit:{kind:`rename`,path:t.path,initial:t.name}})},startCreate:t=>{m(null),i(e,{inlineEdit:{kind:t,initial:``}})},cancelInline:()=>{m(null),i(e,{inlineEdit:null})},commitInline:async t=>{let n=h.current,a=n?.inlineEdit;if(!n||!a)return;let o=t.trim();if(a.kind===`rename`&&o===a.initial){i(e,{inlineEdit:null});return}let s=yt(o,r);if(s){m(s);return}m(null),(a.kind===`rename`?await xt(a.path,o,n.sep):await bt(n.path,o,a.kind===`new-folder`?`folder`:`file`,n.sep))&&i(e,{inlineEdit:null})},trash:e=>{St(e.map(e=>e.path),!1,h.current?.sep??`/`).then(e=>{e.needsPermanent.length>0&&c({paths:e.needsPermanent,names:e.needsPermanent.map(e=>e.split(/[/\\]/).pop()??e)})})},confirmPermanentDelete:e=>{e.length!==0&&c({paths:e.map(e=>e.path),names:e.map(e=>e.name)})},download:e=>void mt(e),copyPath:e=>void ht(e,`Path`),copyName:e=>void ht(e,`Name`),togglePin:(e,t)=>{let n=z.getState();n.isPinned(e)?n.unpin(e):n.pin({path:e,name:t})},showProperties:e=>f(e)}),[e,i,n,g,r]),dialogs:{collision:a,pendingDelete:s,permanentOverwrite:l,properties:d,inlineError:p,closeDelete:()=>c(null),runPermanentDelete:(0,B.useCallback)(()=>{let e=s;c(null),e&&St(e.paths,!0,h.current?.sep??`/`)},[s]),closeProperties:()=>f(null)}}}var V=n(),wt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#EA580C`,fillRule:`evenodd`,d:`M5.522 13.915c-.268.895-.402 1.341-.37 1.766.032.374.154.733.356 1.045.229.351.602.611 1.35 1.13l3.3 2.297c.666.463 1 .696 1.36.786.318.08.65.08.97.003.36-.09.696-.32 1.365-.78l3.336-2.302c.755-.52 1.133-.78 1.365-1.135.204-.313.326-.675.355-1.052.033-.428-.105-.877-.379-1.777l-2.923-9.599c-.141-.466-.212-.699-.348-.872a1.119 1.119 0 00-.45-.343C14.613 3 14.379 3 13.91 3H10.1c-.47 0-.706 0-.905.084-.176.073-.33.192-.45.345-.136.174-.206.408-.345.876l-2.878 9.611zm8.536-8.878c.112.145.17.344.285.736l2.51 8.6a10.147 10.147 0 00-3.001-1.058l-1.633-5.762a.222.222 0 00-.078-.113.207.207 0 00-.253 0 .222.222 0 00-.077.113l-1.614 5.758c-1.05.19-2.067.549-3.014 1.062l2.523-8.601c.114-.394.172-.59.284-.736.1-.128.23-.228.376-.29.167-.07.364-.07.757-.07h1.801c.394 0 .592 0 .759.07a.943.943 0 01.375.291zm-1.945 10.367c.95 0 1.777-.25 2.19-.62a1.961 1.961 0 01-.133 1.467c-.265.511-.65.765-.995.994-.436.288-.81.537-.81 1.202 0 .22.049.43.136.615a1.622 1.622 0 01-.72-.617c-.176-.275-.27-.599-.27-.93v-.041c0-.46 0-1.026-.62-1.026a.634.634 0 00-.466.2.689.689 0 00-.193.486c-.698-.73-.637-1.779-.637-1.779 0-.214.02-.548.112-.84.26.51 1.238.888 2.406.888v.001z`,clipRule:`evenodd`})}),Tt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`rect`,{width:`2`,height:`8`,x:`3`,y:`8`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`2`,height:`12`,x:`7`,y:`6`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`2`,height:`18`,x:`11`,y:`3`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`2`,height:`12`,x:`15`,y:`6`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`2`,height:`8`,x:`19`,y:`8`,fill:`#64748B`,rx:`1`})]}),Et=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#F59E0B`,d:`M4.778 6.667A2.667 2.667 0 017.444 4a.889.889 0 010 1.778.889.889 0 00-.888.889v3.5c0 .701-.273 1.35-.73 1.833.457.483.73 1.132.73 1.832v3.501c0 .491.398.89.888.89a.889.889 0 010 1.777 2.667 2.667 0 01-2.666-2.667v-3.5a.889.889 0 00-.674-.863l-.43-.108a.889.889 0 010-1.724l.43-.108a.889.889 0 00.674-.862V6.667zm14.222 0A2.667 2.667 0 0016.333 4a.889.889 0 000 1.778c.491 0 .89.398.89.889v3.5c0 .701.272 1.35.729 1.833a2.664 2.664 0 00-.73 1.832v3.501a.889.889 0 01-.889.89.889.889 0 000 1.777A2.667 2.667 0 0019 17.333v-3.5c0-.408.278-.764.673-.863l.431-.108a.889.889 0 000-1.724l-.43-.108a.889.889 0 01-.674-.862V6.667z`})}),Dt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{fill:`#60A5FA`,d:`M17.763 9.938h-2.489a2.432 2.432 0 00-.278-.858c-.14-.254-.32-.47-.54-.648a2.375 2.375 0 00-.761-.41 2.912 2.912 0 00-.927-.141c-.602 0-1.126.15-1.573.449-.447.295-.794.727-1.04 1.295-.246.564-.37 1.25-.37 2.057 0 .83.124 1.526.37 2.09.25.565.598.991 1.045 1.28.447.287.964.431 1.551.431.33 0 .635-.044.915-.13.284-.088.536-.215.756-.381.22-.17.401-.377.545-.62.148-.242.25-.519.307-.83l2.489.012a4.643 4.643 0 01-1.511 2.87 4.84 4.84 0 01-1.535.92c-.59.223-1.26.335-2.005.335-1.038 0-1.966-.235-2.784-.704-.815-.47-1.459-1.15-1.932-2.04-.47-.89-.705-1.968-.705-3.233 0-1.27.239-2.349.716-3.239.477-.89 1.125-1.568 1.943-2.034.819-.47 1.739-.704 2.762-.704.674 0 1.299.094 1.875.284.58.189 1.093.466 1.54.83.446.359.81.8 1.09 1.323.284.523.466 1.121.546 1.796z`})}),Ot=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#2563EB`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M6.778 8.519L3 12.297l3.778 3.779M17.222 8.519L21 12.297l-3.778 3.779M9.271 18.595L14.73 6`})}),kt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#EA580C`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M6.778 8.519L3 12.297l3.778 3.779M17.222 8.519L21 12.297l-3.778 3.779M9.271 18.595L14.73 6`})}),At=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsx)(`g`,{fill:`#60A5FA`,clipPath:`url(#clip0_20556_569)`,children:(0,V.jsx)(`path`,{d:`M16.633 14.185v-4.37h1.105v4.37h-1.105zM15 12.552v-1.104h4.37v1.104H15zM21.599 14.185v-4.37h1.105v4.37h-1.105zm-1.633-1.633v-1.104h4.37v1.104h-4.37zM14.6 9.938h-2.49a2.436 2.436 0 00-.278-.858c-.14-.254-.32-.47-.54-.648a2.375 2.375 0 00-.761-.41 2.912 2.912 0 00-.926-.141c-.602 0-1.127.15-1.574.449-.447.295-.794.727-1.04 1.295-.246.564-.37 1.25-.37 2.057 0 .83.124 1.526.37 2.09.25.565.599.991 1.046 1.28.447.287.964.431 1.55.431.33 0 .635-.044.916-.13.284-.088.536-.215.755-.381.22-.17.402-.377.546-.62.147-.242.25-.519.307-.83l2.488.012a4.642 4.642 0 01-1.511 2.87 4.84 4.84 0 01-1.534.92c-.591.223-1.26.335-2.006.335-1.038 0-1.966-.235-2.784-.704-.814-.47-1.458-1.15-1.932-2.04-.47-.89-.704-1.968-.704-3.233 0-1.27.238-2.349.716-3.239.477-.89 1.125-1.568 1.943-2.034.818-.47 1.738-.704 2.761-.704.674 0 1.3.094 1.875.284.58.189 1.093.466 1.54.83.447.359.81.8 1.09 1.323.285.523.467 1.121.546 1.796z`})}),(0,V.jsx)(`defs`,{children:(0,V.jsx)(`clipPath`,{id:`clip0_20556_569`,children:(0,V.jsx)(`path`,{fill:`#fff`,d:`M0 0H24V24H0z`,transform:`translate(.336)`})})})]}),jt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#14B8A6`,d:`M15.263 9.938h-2.489a2.432 2.432 0 00-.278-.858c-.14-.254-.32-.47-.54-.648a2.375 2.375 0 00-.761-.41 2.912 2.912 0 00-.927-.141c-.602 0-1.126.15-1.573.449-.447.295-.794.727-1.04 1.295-.246.564-.37 1.25-.37 2.057 0 .83.124 1.526.37 2.09.25.565.598.991 1.045 1.28.447.287.964.431 1.551.431.33 0 .635-.044.915-.13.284-.088.536-.215.756-.381.22-.17.401-.377.545-.62.148-.242.25-.519.307-.83l2.489.012a4.643 4.643 0 01-1.511 2.87 4.84 4.84 0 01-1.535.92c-.59.223-1.26.335-2.005.335-1.038 0-1.966-.235-2.784-.704-.815-.47-1.459-1.15-1.932-2.04-.47-.89-.705-1.968-.705-3.233 0-1.27.239-2.349.716-3.239.477-.89 1.125-1.568 1.943-2.034.818-.47 1.739-.704 2.762-.704.674 0 1.299.094 1.875.284.58.189 1.093.466 1.54.83.446.359.81.8 1.09 1.323.284.523.466 1.121.546 1.796zM20.273 16.47l1.466-8.94h1.397l-1.467 8.94h-1.396zm-4.003-2.218l.232-1.397h6.983l-.231 1.397H16.27zm.86 2.217l1.467-8.938h1.396l-1.466 8.938H17.13zm-.349-5.325l.236-1.396H24l-.236 1.397h-6.983z`})}),Mt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsxs)(`mask`,{id:`a`,maskUnits:`userSpaceOnUse`,x:`3`,y:`3`,width:`18`,height:`18`,fill:`#000`,children:[(0,V.jsx)(`path`,{fill:`#fff`,d:`M3 3h18v18H3z`}),(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M15.8889 5H8.11111C6.39289 5 5 6.39289 5 8.11111v7.77779C5 17.6071 6.39289 19 8.11111 19h7.77779C17.6071 19 19 17.6071 19 15.8889V8.11111C19 6.39289 17.6071 5 15.8889 5Zm0 12.4444H8.1111c-.05369 0-.10674-.0027-.15904-.008.0523.0053.10536.008.15905.008h7.77779Zm1.5555-1.5555c0 .8054-.6121 1.4679-1.3965 1.5475.7844-.0797 1.3965-.7421 1.3965-1.5475V8.11111v7.77779Z`})]}),(0,V.jsx)(`path`,{d:`M15.8889 19.4444c1.1046 0 2-.8954 2-2 0-1.1045-.8954-2-2-2v4Zm-7.7778-2 .00001-2H8.1111v2Zm-.15904-.008.20206-1.9898c-1.09891-.1115-2.08022.6888-2.19182 1.7877-.1116 1.099.68877 2.0803 1.78768 2.1919l.20208-1.9898Zm8.09584 0-.2021-1.9897c-1.0989.1116-1.8992 1.0929-1.7876 2.1918.1116 1.0989 1.0929 1.8993 2.1918 1.7877l-.2021-1.9898Zm3.3965-9.32529c0-1.10457-.8954-2-2-2-1.1045 0-2 .89543-2 2h4ZM8.11111 7h7.77779V3H8.11111v4ZM7 8.11111C7 7.49746 7.49746 7 8.11111 7V3C5.28832 3 3 5.28832 3 8.11111h4Zm0 7.77779V8.11111H3v7.77779h4ZM8.11111 17C7.49746 17 7 16.5025 7 15.8889H3C3 18.7117 5.28832 21 8.11111 21v-4Zm7.77779 0H8.11111v4h7.77779v-4ZM17 15.8889C17 16.5025 16.5025 17 15.8889 17v4C18.7117 21 21 18.7117 21 15.8889h-4Zm0-7.77779v7.77779h4V8.11111h-4ZM15.8889 7C16.5025 7 17 7.49746 17 8.11111h4C21 5.28832 18.7117 3 15.8889 3v4Zm0 8.4444H8.11111l-.00001 4h7.7778v-4Zm-7.7778 0c.01378 0 .02816.0007.04302.0022l-.40411 3.9796c.11944.0121.23994.0182.36109.0182v-4Zm-.36112 3.9818c.11935.0121.23985.0182.36113.0182v-4c.01389 0 .02828.0008.04304.0022l-.40417 3.9796Zm.36113.0182h7.77779v-4H8.11111v4Zm8.13889-.0182c1.7951-.1823 3.1944-1.6951 3.1944-3.5373h-4c0-.2314.1752-.4193.4015-.4423l.4041 3.9796Zm-.8056-3.5373c0-.2314.1752-.4193.4014-.4422l.4042 3.9795c1.795-.1823 3.1944-1.6951 3.1944-3.5373h-4Zm0-7.77779v7.77779h4V8.11111h-4Zm4 0c0-.07155-.0038-.14596-.0124-.22267-.0086-.07678-.0218-.15478-.0403-.23343-.0184-.07869-.0416-.15651-.0697-.233-.0281-.07648-.0604-.15005-.0963-.22045-.036-.07036-.0749-.13629-.1158-.1978-.0408-.06145-.0832-.11775-.1258-.16912-.085-.10251-.1704-.18478-.2468-.2495-.0383-.03245-.0749-.061-.1089-.08594-.034-.02494-.0659-.04672-.0949-.06556-.029-.01883-.0558-.03518-.0797-.04914-.0239-.01396-.0456-.02598-.0644-.03606-.0188-.01008-.0355-.01864-.0493-.02558-.0139-.00694-.0257-.01268-.0348-.01701-.009-.00429-.0163-.00769-.0207-.00971-.0022-.00104-.004-.00187-.0051-.00238-.0006-.00025-.001-.00046-.0013-.00059-.0002-.00006-.0003-.00011-.0003-.00014-.0001-.00001-.0001-.00003-.0001-.00004v-.00001c-.0006-.00027.0028.00131.0068.00316.0044.00202.0117.00541.0207.00971.0091.00433.0209.01007.0348.01701.0138.00694.0305.0155.0493.02558.0188.01008.0405.0221.0644.03606.0239.01396.0507.03031.0797.04914.029.01883.0609.04062.0949.06556.0339.02494.0706.05349.1089.08594.0764.06472.1618.14698.2468.24949.0426.05138.085.10768.1258.16913.0409.06151.0798.12744.1157.19779.036.07041.0683.14397.0964.22046.028.07648.0513.15431.0697.23299.0185.07865.0317.15665.0403.23344.0086.07671.0124.15112.0124.22267h-4c0 .07154.0039.14595.0125.22267.0086.07678.0218.15478.0402.23343.0185.07868.0417.15651.0698.233.0281.07648.0604.15005.0963.22045.036.07036.0749.13629.1158.1978.0408.06144.0832.11775.1258.16912.0849.10251.1704.18478.2468.2495.0383.03244.0749.061.1089.08594.0339.02493.0658.04672.0949.06556.029.01883.0558.03517.0797.04914.0239.01396.0456.02598.0644.03606.0188.01007.0354.01864.0493.02558.0139.00693.0257.01268.0348.01701.009.00429.0163.00769.0207.00971.0022.00104.004.00187.0051.00237.0006.00026.001.00047.0013.00059.0001.00007.0003.00012.0003.00015.0001.00001.0001.00003.0001.00004v.00001c.0006.00026-.0028-.00131-.0068-.00316-.0044-.00202-.0117-.00542-.0207-.00971-.0091-.00433-.0209-.01008-.0348-.01701-.0139-.00694-.0305-.01551-.0493-.02558-.0188-.01008-.0405-.0221-.0644-.03606-.0239-.01396-.0507-.03031-.0797-.04914-.029-.01884-.061-.04062-.0949-.06556-.034-.02494-.0706-.0535-.1089-.08594-.0764-.06472-.1619-.14699-.2468-.2495-.0426-.05137-.085-.10767-.1258-.16912-.0409-.06151-.0798-.12744-.1158-.1978-.0359-.0704-.0682-.14397-.0963-.22045-.0281-.07649-.0513-.15431-.0698-.233-.0184-.07865-.0316-.15665-.0402-.23343-.0086-.07671-.0125-.15112-.0125-.22267h4Zm0 7.77779V8.11111h-4v7.77779h4Z`,fill:`#14B8A6`,mask:`url(#a)`}),(0,V.jsx)(`rect`,{x:`7`,y:`7`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`7`,y:`11`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`7`,y:`15`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`13`,y:`7`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`13`,y:`11`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`}),(0,V.jsx)(`rect`,{x:`13`,y:`15`,width:`4`,height:`2`,rx:`1`,fill:`#14B8A6`})]}),Nt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`m14.4683 3.59153 3.0794 3.0794L6.41714 6.0794l5.68376-2.84252C12.3589 3.08205 12.7586 3 13.1662 3c.4737 0 1.0335.32157 1.3021.59153ZM6.41583 15.6709c0 .9502.1191 1.1831.59153 1.6582l.47375.4737h.00001L10.6783 21h7.4609l.0001-3.1972h-.0001l-5.2099-5.9206-6.51347-5.80279v9.59149Z`,fill:`#38BDF8`}),(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6.41583 6.07812h9.47377c.6524 0 1.1248.05823 1.6568.59154l3.79 3.79004v7.3418h-3.1971L6.41583 6.07812ZM3.92796 14.2497l3.0794 3.0794-.59153-11.24969L3.5733 12c-.10189.2144-.23687.5889-.23687.8284 0 .5174.22629 1.0468.59153 1.4213Z`,fill:`#075985`})]}),Pt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{d:`M4.8 6.6c0-.62.28-1.16.7-1.6.4-.44.97-.8 1.61-1.08C8.4 3.34 10.13 3 12 3c1.87 0 3.6.34 4.89.92.64.28 1.2.64 1.61 1.08.42.44.7.98.7 1.6v10.8c0 .62-.28 1.16-.7 1.6-.4.44-.97.8-1.61 1.08-1.29.58-3.02.92-4.89.92-1.87 0-3.6-.34-4.89-.92A5.05 5.05 0 0 1 5.5 19c-.42-.44-.7-.98-.7-1.6V6.6Zm1.35 0c0 .19.08.41.33.68.25.26.64.53 1.18.77 1.08.48 2.61.8 4.34.8s3.26-.32 4.34-.8c.54-.24.93-.5 1.18-.77.25-.27.33-.5.33-.68 0-.19-.08-.41-.33-.68a3.73 3.73 0 0 0-1.18-.77c-1.08-.48-2.61-.8-4.34-.8s-3.26.32-4.34.8c-.54.24-.93.5-1.18.77-.25.27-.33.5-.33.68Zm11.7 2.15c-.29.2-.61.38-.96.53-1.29.58-3.02.92-4.89.92-1.87 0-3.6-.34-4.89-.92a6.12 6.12 0 0 1-.96-.53v8.65c0 .19.08.41.33.68.25.26.64.53 1.18.77 1.08.48 2.61.8 4.34.8s3.26-.32 4.34-.8c.54-.24.93-.5 1.18-.77.25-.27.33-.5.33-.68V8.75Z`,fill:`#F472B6`}),(0,V.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 3.69c1.33-.6 3.1-.94 5-.94s3.67.34 5 .94c.65.3 1.25.67 1.69 1.14.44.47.76 1.07.76 1.77v10.8c0 .7-.32 1.3-.76 1.77a5.3 5.3 0 0 1-1.7 1.14c-1.32.6-3.09.94-4.99.94-1.9 0-3.67-.34-5-.94a5.3 5.3 0 0 1-1.69-1.14 2.58 2.58 0 0 1-.76-1.77V6.6c0-.7.32-1.3.76-1.77a5.3 5.3 0 0 1 1.7-1.14ZM6.67 7.1c.22.24.59.5 1.1.72 1.04.47 2.54.78 4.24.78 1.7 0 3.2-.31 4.24-.78.51-.23.88-.48 1.1-.72.22-.23.26-.4.26-.5 0-.1-.04-.27-.26-.5a3.49 3.49 0 0 0-1.1-.72A10.72 10.72 0 0 0 12 4.6c-1.7 0-3.2.31-4.24.78-.51.23-.88.48-1.1.72-.22.23-.26.4-.26.5 0 .1.04.27.26.5Zm10.86-1.18c.25.27.33.5.33.68 0 .19-.08.41-.33.68-.25.26-.64.53-1.18.77-1.08.48-2.61.8-4.34.8s-3.26-.32-4.34-.8a3.73 3.73 0 0 1-1.18-.77c-.25-.27-.33-.5-.33-.68 0-.19.08-.41.33-.68.25-.26.64-.53 1.18-.77 1.08-.48 2.61-.8 4.34-.8s3.26.32 4.34.8c.54.24.93.5 1.18.77ZM7.11 20.08A5.05 5.05 0 0 1 5.5 19c-.42-.44-.7-.98-.7-1.6V6.6c0-.62.28-1.16.7-1.6.4-.44.97-.8 1.61-1.08C8.4 3.34 10.13 3 12 3c1.87 0 3.6.34 4.89.92.64.28 1.2.64 1.61 1.08.42.44.7.98.7 1.6v10.8c0 .62-.28 1.16-.7 1.6-.4.44-.97.8-1.61 1.08-1.29.58-3.02.92-4.89.92-1.87 0-3.6-.34-4.89-.92Zm-.45-2.18c.22.24.59.5 1.1.72 1.04.47 2.54.78 4.24.78 1.7 0 3.2-.31 4.24-.78.51-.23.88-.48 1.1-.72.22-.23.26-.4.26-.5V9.2c-.2.12-.4.22-.6.31-1.33.6-3.1.94-5 .94s-3.67-.34-5-.94l-.6-.3v8.19c0 .1.04.27.26.5Zm-.51-9.15a5.26 5.26 0 0 0 .96.53c1.29.58 3.02.92 4.89.92 1.87 0 3.6-.34 4.89-.92a6.5 6.5 0 0 0 .96-.53v8.65c0 .19-.08.41-.33.68-.25.26-.64.53-1.18.77-1.08.48-2.61.8-4.34.8s-3.26-.32-4.34-.8a3.73 3.73 0 0 1-1.18-.77c-.25-.27-.33-.5-.33-.68V8.75Z`,fill:`#F472B6`})]}),Ft=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{d:`M21.8028 10.5301c-.0543-.0439-.5607-.4342-1.6285-.4342-.282.0012-.5634.0259-.8414.0738-.2067-1.44602-1.3779-2.15104-1.4304-2.18267l-.2868-.16879-.1886.27779c-.2362.37317-.4086.78453-.5098 1.21661-.1912.82546-.0749 1.60076.3358 2.26356-.496.2822-1.2917.3516-1.4527.3578H2.62605c-.34411.0004-.62333.2843-.62521.6355-.01537 1.1781.18017 2.3492.57699 3.4556.45383 1.2148 1.129 2.1097 2.00741 2.6573.98432.6154 2.58353.967 4.39631.967.81893.0026 1.63635-.073 2.44145-.2259 1.1192-.2098 2.1962-.6091 3.1864-1.1815.8158-.4823 1.5501-1.0958 2.1744-1.817 1.0438-1.206 1.6656-2.5492 2.128-3.743h.1843c1.1428 0 1.8455-.4668 2.233-.8579.2576-.2495.4586-.5534.5891-.8905L22 10.6892l-.1972-.1591Z`,fill:`#60A5FA`}),(0,V.jsx)(`path`,{d:`M3.84723 11.5402h1.76541c.08514 0 .15414-.0705.15414-.1574V9.77764c.00048-.08691-.06816-.15774-.15327-.15822H3.84723c-.08515 0-.15415.07045-.15415.15733v1.60605c0 .0869.069.1574.15415.1574ZM6.28004 11.5402h1.76541c.08515 0 .15414-.0705.15414-.1574V9.77764c.00048-.08691-.06815-.15774-.1533-.15822H6.28001c-.08562 0-.15501.07082-.15501.15822v1.60516c.0005.087.06975.1574.15504.1574M8.74987 11.5402h1.76543c.0851 0 .1541-.0705.1541-.1574V9.77764c.0005-.08691-.0681-.15774-.1533-.15822H8.74984c-.08514 0-.15414.07045-.15414.15733v1.60605c.00003.0869.06905.1574.15417.1574ZM11.1905 11.5402h1.7654c.0853 0 .1545-.0703.155-.1574V9.77764c0-.0874-.0694-.15822-.155-.15822h-1.7654c-.0852 0-.1542.07045-.1542.15733v1.60605c0 .0869.069.1574.1542.1574ZM6.28001 9.23086h1.76541c.08526-.00049.15414-.0712.15414-.15823V7.46749c0-.08691-.06902-.15734-.15414-.15734H6.28001c-.08526 0-.15453.07028-.15501.15734v1.60514c.00048.0872.06958.15774.15501.15823ZM8.74987 9.23086h1.76543c.0852-.00049.1541-.0712.1541-.15823V7.46749c0-.08691-.069-.15734-.1541-.15734H8.74987c-.08514 0-.15414.07046-.15414.15734v1.60514c0 .08703.06889.15774.15414.15823ZM11.1905 9.23086h1.7654c.0854-.00049.1545-.07103.155-.15823V7.46749c-.0005-.08706-.0697-.15734-.155-.15734h-1.7654c-.0852 0-.1542.07046-.1542.15734v1.60514c0 .08703.0689.15774.1542.15823ZM11.1905 6.92074h1.7654c.0853 0 .1545-.07032.155-.15734V5.15734C13.1104 5.07028 13.0412 5 12.9559 5h-1.7654c-.0852 0-.1542.07043-.1542.15734v1.60603c0 .08691.069.15737.1542.15737ZM13.6526 11.5402h1.7654c.0853 0 .1545-.0703.155-.1574V9.77764c0-.0874-.0694-.15822-.155-.15822h-1.7654c-.0851 0-.1542.07045-.1542.15733v1.60605c0 .0869.0691.1574.1542.1574`,fill:`#60A5FA`})]}),It=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#64748B`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M6 3a1 1 0 00-1 1v16a1 1 0 001 1h12a1 1 0 001-1V8a1 1 0 00-.375-.78l-5-4A1 1 0 0013 3H6z`}),(0,V.jsx)(`path`,{stroke:`#64748B`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M12 4v5h6`})]}),Lt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#64748B`,d:`M8.97 9.56c.295 1.064-.32 2.17-1.356 2.437l-.55.14a5.797 5.797 0 00.006 1.764l.508.127c1.046.262 1.668 1.379 1.364 2.45l-.176.616c.413.377.884.682 1.396.9l.464-.507a1.835 1.835 0 012.728 0l.469.513a4.943 4.943 0 001.394-.89l-.186-.67c-.296-1.064.32-2.17 1.356-2.437l.549-.14a5.788 5.788 0 00-.006-1.764l-.507-.127c-1.047-.261-1.669-1.379-1.364-2.45l.175-.616a4.939 4.939 0 00-1.396-.9l-.464.507c-.742.809-1.986.809-2.727 0L10.177 8a4.939 4.939 0 00-1.394.89l.186.67zM12 14.464c-.753 0-1.364-.655-1.364-1.464 0-.808.61-1.464 1.364-1.464.753 0 1.364.656 1.364 1.464 0 .809-.61 1.464-1.364 1.464z`}),(0,V.jsx)(`path`,{fill:`#64748B`,fillRule:`evenodd`,d:`M4 20V6h16v14H4zM2 4a2 2 0 012-2h16a2 2 0 012 2v16a2 2 0 01-2 2H4a2 2 0 01-2-2V4z`,clipRule:`evenodd`})]}),H=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#64748B`,d:`M5.939 5.37a3.763 3.763 0 01-2.712 4.696l-1.099.272a10.777 10.777 0 00.012 3.4l1.015.244a3.763 3.763 0 012.728 4.723l-.35 1.187a9.936 9.936 0 002.792 1.734l.928-.976a3.763 3.763 0 015.454.001l.938.987a9.937 9.937 0 002.79-1.717l-.373-1.29a3.763 3.763 0 012.712-4.697l1.098-.271a10.774 10.774 0 00-.012-3.4l-1.014-.245a3.763 3.763 0 01-2.728-4.723l.35-1.186a9.929 9.929 0 00-2.792-1.735l-.928.976a3.762 3.762 0 01-5.454-.001l-.938-.987a9.932 9.932 0 00-2.79 1.717l.373 1.29zM12 14.822c-1.506 0-2.727-1.263-2.727-2.822 0-1.558 1.22-2.822 2.727-2.822 1.506 0 2.727 1.264 2.727 2.822 0 1.559-1.22 2.822-2.727 2.822z`})}),Rt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#F87171`,d:`M20.661 11.198l-7.86-7.859a1.159 1.159 0 00-1.639 0L9.53 4.972l2.07 2.07a1.376 1.376 0 011.744 1.755l1.995 1.995a1.377 1.377 0 011.425 2.278 1.38 1.38 0 01-2.251-1.5l-1.86-1.861-.001 4.897a1.38 1.38 0 11-1.134-.04V9.623a1.379 1.379 0 01-.749-1.809l-2.04-2.04-5.39 5.388a1.16 1.16 0 000 1.64l7.86 7.858a1.16 1.16 0 001.64 0l7.822-7.821a1.16 1.16 0 000-1.64`})}),zt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsxs)(`g`,{fill:`#60A5FA`,clipPath:`url(#clip0_20558_611)`,children:[(0,V.jsx)(`path`,{fillRule:`evenodd`,d:`M1.878 9.794c-.046 0-.058-.023-.035-.058l.244-.313c.023-.035.081-.058.127-.058h4.14c.046 0 .058.035.034.07l-.197.301c-.023.035-.08.07-.116.07l-4.197-.012zM.128 10.86c-.047 0-.058-.022-.035-.057l.243-.313c.023-.035.081-.058.128-.058H5.75c.046 0 .07.035.058.07l-.093.278c-.012.046-.058.07-.104.07l-5.484.01zM2.933 11.928c-.046 0-.058-.035-.034-.07l.162-.29c.023-.035.07-.07.116-.07h2.319c.046 0 .07.035.07.082l-.024.278c0 .046-.046.081-.081.081l-2.528-.011zM14.968 9.585c-.73.186-1.229.325-1.948.51-.174.047-.185.059-.336-.115-.174-.197-.301-.325-.545-.44-.73-.36-1.438-.256-2.098.173-.789.51-1.195 1.264-1.183 2.203.012.928.65 1.693 1.565 1.82.789.105 1.45-.174 1.971-.765.104-.127.197-.267.313-.429H10.47c-.243 0-.3-.15-.22-.348.151-.36.43-.962.592-1.264a.313.313 0 01.29-.185h4.22c-.024.313-.024.626-.07.939-.127.835-.44 1.6-.95 2.273-.835 1.1-1.925 1.785-3.305 1.97-1.136.151-2.191-.07-3.119-.765-.858-.649-1.345-1.507-1.472-2.574-.151-1.263.22-2.4.985-3.397.823-1.078 1.913-1.762 3.247-2.006 1.09-.197 2.133-.07 3.072.569a3.634 3.634 0 011.345 1.634c.07.105.023.163-.116.197z`,clipRule:`evenodd`}),(0,V.jsx)(`path`,{d:`M18.806 15.997c-1.055-.023-2.018-.325-2.83-1.02a3.636 3.636 0 01-1.251-2.238c-.21-1.31.15-2.47.939-3.501.846-1.113 1.866-1.693 3.246-1.937 1.183-.208 2.296-.092 3.305.592.915.626 1.483 1.472 1.634 2.585.197 1.566-.255 2.84-1.333 3.93-.765.777-1.704 1.264-2.783 1.485-.313.058-.626.07-.927.104zm2.76-4.684c-.012-.15-.012-.267-.036-.383-.208-1.147-1.263-1.797-2.365-1.542-1.078.244-1.774.928-2.029 2.018-.209.904.232 1.82 1.067 2.191.638.278 1.275.244 1.89-.07.916-.475 1.414-1.217 1.472-2.214z`})]}),(0,V.jsx)(`defs`,{children:(0,V.jsx)(`clipPath`,{id:`clip0_20558_611`,children:(0,V.jsx)(`path`,{fill:`#fff`,d:`M0 0H24V24H0z`,transform:`translate(.336)`})})})]}),Bt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`rect`,{width:`16`,height:`16`,x:`4`,y:`4`,stroke:`#C084FC`,strokeLinejoin:`round`,strokeWidth:`2`,rx:`3`}),(0,V.jsx)(`circle`,{cx:`15`,cy:`9`,r:`2`,fill:`#C084FC`}),(0,V.jsx)(`path`,{stroke:`#C084FC`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M5 19l5.586-5.586a2 2 0 012.828 0L19 19`})]}),Vt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#F87171`,strokeWidth:`2`,d:`M5.334 3.75c-.965 0-1.748.781-1.748 1.746v4.554a7.201 7.201 0 0014.322 1.078c.035-4.128.035-2.128.035-6.029a1.748 1.748 0 00-1.702-1.35H5.334z`}),(0,V.jsx)(`path`,{stroke:`#F87171`,strokeLinecap:`round`,strokeWidth:`2`,d:`M4.086 20.251L20.086 20.251`}),(0,V.jsx)(`mask`,{id:`mask0_20565_673`,style:{maskType:`alpha`},width:`4`,height:`7`,x:`20`,y:`4`,maskUnits:`userSpaceOnUse`,children:(0,V.jsx)(`path`,{fill:`#D9D9D9`,stroke:`#F87171`,d:`M21.086 4.5H23.086V10.5H21.086z`})}),(0,V.jsx)(`g`,{mask:`url(#mask0_20565_673)`,children:(0,V.jsx)(`circle`,{cx:`20.632`,cy:`8`,r:`2`,stroke:`#F87171`,strokeWidth:`2`})})]}),Ht=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#F59E0B`,d:`M8.383 7.318h2.127v7.1c0 .656-.147 1.226-.442 1.71a2.924 2.924 0 01-1.218 1.118c-.52.262-1.125.393-1.815.393-.613 0-1.17-.107-1.67-.323a2.67 2.67 0 01-1.183-.994c-.292-.448-.436-1.01-.433-1.686h2.143c.006.269.061.5.164.691.106.19.25.335.432.438.186.1.405.15.657.15.265 0 .488-.057.67-.17.186-.116.327-.285.423-.507.096-.222.145-.496.145-.82v-7.1zm9.43 2.928c-.04-.4-.21-.712-.511-.934-.302-.222-.711-.333-1.228-.333-.352 0-.648.05-.89.149-.242.096-.428.23-.557.403a.969.969 0 00-.19.586.838.838 0 00.115.477c.087.136.204.254.353.353.15.097.322.181.517.254.196.07.405.13.627.179l.915.219c.444.1.851.232 1.223.397.37.166.692.37.964.612s.482.527.631.855a2.7 2.7 0 01.234 1.129c-.003.623-.162 1.163-.477 1.62-.312.454-.763.807-1.353 1.06-.586.248-1.294.372-2.122.372-.822 0-1.538-.126-2.148-.378-.607-.252-1.08-.624-1.422-1.118-.338-.497-.515-1.112-.532-1.845h2.083c.023.342.121.627.293.855.176.226.41.397.702.513.295.112.628.168.999.168.364 0 .68-.053.95-.159.271-.106.482-.253.63-.442.15-.189.224-.406.224-.651a.846.846 0 00-.203-.577c-.133-.156-.329-.288-.587-.398a5.964 5.964 0 00-.94-.298l-1.108-.278c-.859-.21-1.537-.536-2.034-.98-.497-.444-.744-1.042-.74-1.795-.004-.616.16-1.155.492-1.615.334-.461.793-.82 1.377-1.08.583-.258 1.246-.387 1.989-.387.755 0 1.415.13 1.978.388.567.258 1.008.618 1.323 1.079.314.46.477.994.487 1.6h-2.063z`})}),Ut=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#A855F7`,strokeWidth:`2`,d:`M18.922 20H4.336V4h14.586l-7.293 7.293-.707.707.707.707L18.922 20z`})}),Wt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#64748B`,d:`M13.768 10.233l1.768-1.768a5 5 0 100 7.071l-1.768-1.768a2.5 2.5 0 110-3.535z`}),(0,V.jsx)(`path`,{fill:`#64748B`,d:`M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm0 17.5a7.5 7.5 0 110-15 7.5 7.5 0 110 15z`})]}),Gt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#2563EB`,fillRule:`evenodd`,d:`M10.85 5.3a7.854 7.854 0 017.851 7.85 7.854 7.854 0 01-7.85 7.851A7.854 7.854 0 013 13.151 7.854 7.854 0 0110.85 5.3zm3.254 2.299a2.3 2.3 0 010 4.597 2.3 2.3 0 010-4.598z`,clipRule:`evenodd`}),(0,V.jsx)(`path`,{fill:`#2563EB`,d:`M21 5.298a2.3 2.3 0 00-4.598 0 2.3 2.3 0 004.598 0z`})]}),Kt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#60A5FA`,d:`M3 15.714V8h2.323l2.322 2.836L9.968 8h2.322v7.714H9.968V11.29l-2.323 2.836-2.322-2.836v4.424H3zm14.516 0l-3.484-3.743h2.323V8h2.322v3.97H21l-3.484 3.744z`})}),qt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#60A5FA`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M19 4a1 1 0 00-1-1H8a3 3 0 00-3 3v12a3 3 0 003 3h10a1 1 0 001-1V4z`}),(0,V.jsx)(`rect`,{width:`14`,height:`2`,x:`5`,y:`16`,fill:`#60A5FA`,rx:`1`})]}),Jt=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#A855F7`,d:`M11.99 4.089c-1.546.471-2.535 1.665-2.525 3.044.011.944.31 1.781 1.063 2.964.483.76 1.45 2.218 1.479 2.228.014.007.148-.056.292-.137 1.024-.57 1.675-1.472 1.816-2.506.021-.152.039-.602.039-.996 0-.792.014-.86.211-1 .229-.166.507-.113.69.127l.102.13.01.725c.008.422-.003.862-.027 1.049a4.386 4.386 0 01-.687 1.876c-.225.345-.799.912-1.197 1.183-.355.242-1.052.626-1.27.7a.488.488 0 01-.507-.116c-.092-.088-1.623-2.408-2.031-3.083-.437-.719-.771-1.521-.915-2.204-.11-.517-.123-1.278-.032-1.704.088-.394.243-.806.426-1.112.084-.144.148-.267.14-.274a1.983 1.983 0 00-.358.045C5.98 5.49 3.756 7.616 3.16 10.33c-.15.676-.176.979-.154 1.795.02.8.063 1.077.253 1.708.215.707.507 1.33.978 2.08.338.538.525.908.638 1.263.193.595.207.729.228 2.02.014.82.036 1.236.064 1.286a.97.97 0 00.151.176l.11.105h2.593l.095-.088c.197-.183.194-.165.194-1.672v-1.39h2.108l.021 2.886.134.13.13.134h2.598l.095-.088c.173-.162.19-.236.229-1.01.067-1.366.25-2.362.651-3.523.215-.627.36-.961.817-1.883.39-.789.401-.803.496-.785.053.01.285.052.517.091.564.092.74.148.997.313.267.176.5.479.612.803.07.215.08.303.08.855 0 .595-.003.62-.084.736-.109.151-.355.264-.513.236a.944.944 0 01-.268-.134c-.204-.148-.496-.18-.672-.07-.204.126-1.64 1.598-1.697 1.738-.109.26-.05.458.215.708.919.873 2.386 1.197 3.6.795.73-.24 1.465-.834 1.961-1.59.268-.402.405-.694.563-1.208l.099-.313v-3.608c0-3.32-.003-3.633-.063-3.897a5.1 5.1 0 00-2.725-3.509c-.668-.334-1.534-.514-2.474-.514h-.38l-.388-.243c-.788-.485-1.27-.637-2.1-.658-.532-.01-.582-.007-.88.085zm5.575 5.174c.239.176.295.447.151.686-.264.419-.922.225-.922-.274 0-.388.471-.637.77-.412z`})}),Yt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#14B8A6`,fillRule:`evenodd`,d:`M14.622 21.322c-.6.11-1.284.174-1.999.178a12.52 12.52 0 01-2.179-.178c-1.136-.198-2.092-1.086-2.092-2.269v-4.156c0-1.217.93-2.217 2.092-2.217h4.178c1.418 0 2.613-1.271 2.613-2.712V7.974h1.438c1.216 0 1.926.92 2.223 2.213.401 1.735.384 2.773 0 4.435-.332 1.45-1.398 2.212-2.613 2.212H12.531v.555h4.183v1.664c0 1.26-.322 1.942-2.092 2.269zm-.176-2.837c-.532 0-.963.45-.963 1.005 0 .555.43 1.005.963 1.005.532 0 .963-.45.963-1.005 0-.555-.43-1.005-.963-1.005z`,clipRule:`evenodd`}),(0,V.jsx)(`path`,{fill:`#14B8A6`,fillRule:`evenodd`,d:`M9.378 2.678c.6-.11 1.284-.174 1.999-.178.715-.003 1.46.053 2.179.178 1.136.198 2.092 1.086 2.092 2.269v4.156c0 1.217-.93 2.217-2.092 2.217H9.378c-1.418 0-2.613 1.271-2.613 2.712v1.994H5.327c-1.216 0-1.926-.92-2.223-2.213-.401-1.735-.384-2.773 0-4.435.332-1.45 1.397-2.213 2.613-2.213H11.469v-.554H7.286V4.947c0-1.26.322-1.942 2.092-2.269zm.176 2.838c.532 0 .963-.45.963-1.005 0-.555-.43-1.006-.963-1.006-.532 0-.964.45-.964 1.006 0 .555.432 1.005.964 1.005z`,clipRule:`evenodd`})]}),Xt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#38BDF8`,d:`M12 13.677a1.677 1.677 0 100-3.354 1.677 1.677 0 000 3.354z`}),(0,V.jsx)(`path`,{stroke:`#38BDF8`,d:`M12 15.436c4.97 0 9-1.538 9-3.436s-4.03-3.436-9-3.436S3 10.102 3 12s4.03 3.436 9 3.436z`}),(0,V.jsx)(`path`,{stroke:`#38BDF8`,d:`M9.024 13.718c2.485 4.305 5.832 7.025 7.476 6.076 1.644-.949.961-5.208-1.524-9.512C12.491 5.977 9.144 3.257 7.5 4.206c-1.644.949-.961 5.208 1.524 9.512z`}),(0,V.jsx)(`path`,{stroke:`#38BDF8`,d:`M9.024 10.282c-2.485 4.304-3.168 8.563-1.524 9.512 1.644.95 4.99-1.771 7.476-6.076 2.485-4.304 3.168-8.563 1.524-9.512-1.644-.95-4.99 1.771-7.476 6.076z`})]}),Zt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#0E8ADC`,d:`M12 13.677a1.677 1.677 0 100-3.354 1.677 1.677 0 000 3.354z`}),(0,V.jsx)(`path`,{stroke:`#0E8ADC`,d:`M12 15.436c4.97 0 9-1.538 9-3.436s-4.03-3.436-9-3.436S3 10.102 3 12s4.03 3.436 9 3.436z`}),(0,V.jsx)(`path`,{stroke:`#0E8ADC`,d:`M9.024 13.718c2.485 4.305 5.832 7.025 7.476 6.076 1.644-.949.961-5.208-1.524-9.512C12.491 5.977 9.144 3.257 7.5 4.206c-1.644.949-.961 5.208 1.524 9.512z`}),(0,V.jsx)(`path`,{stroke:`#0E8ADC`,d:`M9.024 10.282c-2.485 4.304-3.168 8.563-1.524 9.512 1.644.95 4.99-1.771 7.476-6.076 2.485-4.304 3.168-8.563 1.524-9.512-1.644-.95-4.99 1.771-7.476 6.076z`})]}),Qt=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsx)(`mask`,{id:`mask0_20571_807`,style:{maskType:`alpha`},width:`20`,height:`17`,x:`2`,y:`3`,maskUnits:`userSpaceOnUse`,children:(0,V.jsx)(`path`,{fill:`#D9D9D9`,d:`M17.992 3.14H6.78L2.84 9.377l9.578 9.877 9.02-9.877-3.445-6.237z`})}),(0,V.jsxs)(`g`,{stroke:`#F87171`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,mask:`url(#mask0_20571_807)`,children:[(0,V.jsx)(`path`,{d:`M12.653 2.162L8.336 9.35l4.323 11.255`}),(0,V.jsx)(`path`,{d:`M11.441 2.17l4.33 7.193-4.312 11.265`})]}),(0,V.jsx)(`path`,{stroke:`#F87171`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M4.107 9.35h16.125`}),(0,V.jsx)(`path`,{fill:`#F87171`,fillRule:`evenodd`,d:`M6.48 3.584a1 1 0 01.837-.453H17.32a1 1 0 01.87.505l2.976 5.231a1 1 0 01-.082 1.112l-7.857 10.024a1 1 0 01-1.549.031L3.142 10.01a1 1 0 01-.076-1.195l3.414-5.23zm1.379 1.547l-2.71 4.152 7.258 8.523 6.688-8.533-2.357-4.142h-8.88z`,clipRule:`evenodd`})]}),$t=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{fill:`#EA580C`,fillRule:`evenodd`,d:`M12.58 2.136a.287.287 0 00-.488 0l-.526.85a8.974 8.974 0 00-.232.022l-.683-.73a.287.287 0 00-.478.096l-.35.935c-.075.021-.15.044-.224.067l-.812-.583a.287.287 0 00-.45.187l-.162.989a9.088 9.088 0 00-.204.11l-.913-.417a.287.287 0 00-.406.272l.036 1.005a9.099 9.099 0 00-.175.144l-.98-.231a.287.287 0 00-.345.345l.231.98a9.125 9.125 0 00-.144.175L4.27 6.316a.287.287 0 00-.271.406l.416.913a9.036 9.036 0 00-.11.203L3.317 8a.287.287 0 00-.187.45l.584.813a8.953 8.953 0 00-.068.223l-.935.35a.287.287 0 00-.095.479l.73.682a8.966 8.966 0 00-.023.233l-.85.526a.287.287 0 000 .488l.85.526c.007.078.014.156.023.233l-.73.682a.287.287 0 00.095.479l.935.35.068.223-.584.812a.287.287 0 00.187.451l.99.162c.035.068.072.135.109.203l-.416.913a.287.287 0 00.271.406l1.006-.036c.047.059.095.117.143.174l-.23.981a.287.287 0 00.344.345l.981-.23c.057.048.115.095.174.142l-.036 1.006a.287.287 0 00.406.272l.914-.417c.067.038.135.074.203.11l.161.99a.287.287 0 00.451.186l.813-.584c.074.024.148.046.223.068l.35.935a.287.287 0 00.478.095l.683-.73c.077.01.154.017.232.023l.526.85a.287.287 0 00.489 0l.526-.85c.078-.006.155-.014.232-.023l.682.73a.287.287 0 00.479-.095l.35-.935c.075-.022.15-.044.223-.068l.813.584a.287.287 0 00.45-.187l.162-.99a8.77 8.77 0 00.203-.109l.913.417a.287.287 0 00.406-.272l-.035-1.006c.058-.047.116-.094.174-.143l.98.231a.287.287 0 00.346-.345l-.231-.98.143-.175 1.006.036a.287.287 0 00.271-.406l-.416-.913a9.4 9.4 0 00.109-.203l.99-.162a.287.287 0 00.187-.45l-.584-.813a8.43 8.43 0 00.067-.223l.935-.35a.287.287 0 00.096-.479l-.73-.682c.009-.077.016-.155.023-.233l.85-.526a.287.287 0 000-.488l-.85-.526a8.844 8.844 0 00-.023-.233l.73-.682a.287.287 0 00-.096-.479l-.934-.35a9.246 9.246 0 00-.068-.223l.584-.812A.287.287 0 0021.357 8l-.99-.162a8.92 8.92 0 00-.11-.203l.417-.913a.287.287 0 00-.271-.406l-1.006.036a9.178 9.178 0 00-.143-.174l.23-.981a.287.287 0 00-.345-.345l-.98.23a9.43 9.43 0 00-.174-.142l.035-1.006a.287.287 0 00-.405-.272l-.914.417a9.11 9.11 0 00-.203-.11l-.162-.99a.287.287 0 00-.45-.186l-.813.584a9.088 9.088 0 00-.223-.068l-.35-.935a.287.287 0 00-.479-.095l-.682.73a9.062 9.062 0 00-.232-.023l-.526-.85zm-.257 1.62a.592.592 0 01.578.596.595.595 0 11-.578-.595zm1.363.98A7.324 7.324 0 0118.7 8.309l-.702 1.585a.547.547 0 00.275.717l1.352.6c.041.422.047.847.015 1.27h-.752c-.075 0-.106.05-.106.123v.344c0 .812-.457.99-.859 1.034-.383.044-.806-.161-.86-.394-.22-1.24-.583-1.526-1.152-1.975l-.041-.033c.736-.467 1.502-1.158 1.502-2.08 0-.998-.683-1.625-1.148-1.934-.655-.43-1.379-.516-1.574-.516H6.88a7.324 7.324 0 014.098-2.312l.916.96a.54.54 0 00.766.018l1.026-.978zm-8.46 4.407a.595.595 0 11-.034 1.19.595.595 0 01.034-1.19zm14.192.026a.595.595 0 11-.035 1.19.595.595 0 01.035-1.19zm-13.07.096h1.037v4.678H5.291a7.324 7.324 0 01-.237-2.797l1.282-.57a.542.542 0 00.276-.716l-.264-.595zm4.33.05h2.47c.128 0 .901.147.901.727 0 .48-.593.653-1.081.653h-2.293l.002-1.38zm0 3.36h1.892c.172 0 .924.05 1.164 1.011.026.104.064.291.107.503.078.389.174.861.247 1.06.113.345.57 1.034 1.058 1.034h3.089c-.207.277-.433.54-.677.785l-1.258-.27a.544.544 0 00-.645.417l-.298 1.394a7.323 7.323 0 01-6.108-.03l-.298-1.392a.542.542 0 00-.643-.418l-1.23.264a7.32 7.32 0 01-.636-.75h5.984c.067 0 .113-.011.113-.074v-2.117c0-.061-.046-.075-.113-.075h-1.75l.001-1.341zm-2.763 4.848a.595.595 0 11-.034 1.19.595.595 0 01.034-1.19zm8.814.027a.596.596 0 11-.035 1.19.596.596 0 01.035-1.19z`,clipRule:`evenodd`})}),en=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#F472B6`,d:`M19.217 12.76c-.7.004-1.305.175-1.813.43-.187-.378-.375-.708-.406-.955-.035-.286-.078-.461-.035-.803s.238-.827.238-.866c-.004-.036-.043-.211-.445-.215-.403-.004-.75.08-.79.187-.038.107-.116.354-.167.608-.07.374-.805 1.697-1.223 2.393-.137-.27-.254-.509-.277-.7-.036-.286-.079-.46-.036-.803.043-.341.239-.826.239-.866-.004-.036-.043-.21-.446-.215-.402-.004-.75.08-.789.187-.039.107-.082.362-.168.608-.082.247-1.058 2.457-1.312 3.033a12.45 12.45 0 01-.325.688c-.082.16-.003.012-.011.028l-.11.21v.005c-.054.099-.113.194-.14.194-.02 0-.059-.266.007-.632.145-.767.497-1.963.493-2.007 0-.02.066-.23-.227-.338-.285-.107-.387.071-.41.071-.024 0-.043.064-.043.064s.316-1.348-.606-1.348c-.578 0-1.375.64-1.77 1.225l-1.343.747c-.215.12-.438.247-.649.362l-.043-.048c-1.117-1.212-3.183-2.07-3.098-3.7.032-.593.235-2.155 3.97-4.048 3.058-1.55 5.508-1.125 5.934-.179.605 1.352-1.309 3.864-4.489 4.226-1.211.14-1.848-.338-2.008-.517-.168-.186-.191-.194-.254-.159-.101.056-.039.223 0 .322.094.25.484.696 1.149.919.582.194 2.004.302 3.723-.374 1.926-.76 3.43-2.866 2.988-4.627-.45-1.793-3.371-2.381-6.133-1.384C6.747 5.08 4.966 6.01 3.684 7.23 2.161 8.677 1.92 9.941 2.02 10.466c.356 1.873 2.891 3.093 3.907 3.995l-.14.08c-.509.254-2.443 1.284-2.927 2.373-.547 1.232.086 2.119.508 2.238 1.305.37 2.64-.294 3.363-1.387.72-1.093.633-2.513.301-3.16l-.011-.024.398-.239c.258-.155.512-.298.734-.421-.125.346-.214.755-.261 1.351-.055.7.226 1.606.597 1.964.165.155.36.16.481.16.43 0 .625-.363.84-.796.265-.529.5-1.14.5-1.14s-.293 1.657.508 1.657c.293 0 .586-.386.719-.585v.004l.023-.04c.031-.047.047-.075.047-.075v-.008c.117-.207.379-.68.77-1.463.503-1.01.988-2.274.988-2.274s.047.31.191.82c.086.301.274.631.418.953-.117.167-.187.263-.187.263l.004.004c-.094.127-.2.262-.309.397-.398.485-.875 1.038-.938 1.197-.074.187-.058.326.086.437.106.08.293.096.493.08.36-.024.61-.116.734-.171.195-.072.418-.18.633-.338.39-.294.629-.712.605-1.268-.011-.306-.109-.609-.23-.895.035-.051.07-.103.105-.159.618-.918 1.094-1.928 1.094-1.928s.047.31.192.82c.074.258.222.54.355.818-.578.481-.941 1.038-1.066 1.403-.23.676-.051.982.289 1.054.152.032.371-.04.535-.112.203-.067.45-.182.676-.353.39-.295.766-.704.746-1.257a2.447 2.447 0 00-.168-.743c.492-.207 1.13-.326 1.938-.226 1.738.206 2.082 1.311 2.015 1.773-.066.46-.43.715-.55.795-.121.075-.16.103-.149.159.016.083.07.079.176.063.145-.024.914-.378.945-1.228.047-1.093-.972-2.286-2.781-2.274zM5.81 17.36c-.575.64-1.383.882-1.727.675-.371-.218-.227-1.16.48-1.84.43-.414.989-.796 1.356-1.03.082-.052.207-.127.355-.219.024-.016.04-.024.04-.024.027-.015.058-.035.09-.055.261.97.011 1.82-.594 2.492zm4.2-2.907c-.2.497-.622 1.773-.876 1.702-.219-.06-.352-1.026-.043-1.98.156-.48.488-1.053.684-1.276.316-.358.66-.477.746-.33.101.19-.387 1.574-.512 1.884zm3.464 1.686c-.086.044-.164.075-.199.052-.027-.016.035-.076.035-.076s.434-.473.606-.692c.097-.127.215-.274.34-.44v.047c0 .572-.54.954-.782 1.109zm2.672-.62c-.062-.048-.054-.195.157-.656.082-.183.27-.49.593-.78.04.12.063.235.059.343-.004.715-.504.981-.809 1.093z`})}),tn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#14B8A6`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M4.336 17l6-6-6-6M12.336 19h8`})}),nn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:[(0,V.jsxs)(`mask`,{id:`path-1-outside-1_20571_794`,width:`17`,height:`20`,x:`4.141`,y:`2`,fill:`#000`,maskUnits:`userSpaceOnUse`,children:[(0,V.jsx)(`path`,{fill:`#fff`,d:`M4.141 2H21.141V22H4.141z`}),(0,V.jsx)(`path`,{d:`M10.915 19.877A3.832 3.832 0 016.8 18.352a3.547 3.547 0 01-.606-2.682c.028-.153.067-.303.116-.45l.09-.278.248.181c.57.42 1.208.739 1.887.944l.179.054-.017.18c-.021.254.048.508.195.716a1.154 1.154 0 001.24.46c.104-.028.204-.072.295-.13l4.825-3.075a1.004 1.004 0 00.453-.672 1.072 1.072 0 00-.182-.809 1.154 1.154 0 00-1.24-.46 1.063 1.063 0 00-.296.13l-1.84 1.174a3.526 3.526 0 01-.981.43 3.833 3.833 0 01-4.114-1.525 3.546 3.546 0 01-.606-2.682 3.328 3.328 0 011.505-2.229l4.826-3.075a3.52 3.52 0 01.98-.43 3.833 3.833 0 014.113 1.524 3.547 3.547 0 01.607 2.682 3.41 3.41 0 01-.116.45l-.09.278-.248-.181a6.218 6.218 0 00-1.887-.943l-.18-.055.018-.179a1.084 1.084 0 00-.195-.717 1.155 1.155 0 00-1.24-.46 1.063 1.063 0 00-.295.13L9.419 9.728a1.003 1.003 0 00-.453.672 1.071 1.071 0 00.182.809 1.155 1.155 0 001.24.46c.104-.028.204-.072.296-.13l1.84-1.173a3.51 3.51 0 01.98-.43 3.832 3.832 0 014.114 1.524 3.547 3.547 0 01.606 2.682 3.33 3.33 0 01-1.504 2.23l-4.825 3.074a3.516 3.516 0 01-.98.43`})]}),(0,V.jsx)(`path`,{fill:`#EA580C`,d:`M8.618 19.761l.695-1.875-.695 1.875zm-1.817-1.409l1.644-1.14a1.697 1.697 0 00-.016-.023L6.8 18.352zm-.606-2.682l-1.967-.36-.002.01 1.97.35zm.116-.45l1.898.628.002-.007-1.9-.622zm.09-.278l1.184-1.613a2 2 0 00-3.084.99l1.9.623zm.248.181l1.184-1.611-.001-.001-1.183 1.612zm1.887.944l.58-1.914h-.002l-.579 1.914zm.179.054l1.991.183a2 2 0 00-1.41-2.097l-.581 1.914zm-.017.18l-1.991-.184-.001.013 1.992.17zm.195.716l1.644-1.14-.012-.016-1.632 1.156zm1.24.46l.503 1.935.01-.002-.514-1.933zm.295-.13l1.071 1.69.004-.003-1.075-1.687zm4.825-3.075l-1.066-1.693-.01.006 1.076 1.687zm.453-.672l1.969.355v-.007l-1.969-.348zm-.182-.809l-1.644 1.14.015.022 1.629-1.162zm-1.24-.46l-.502-1.935-.012.003.514 1.933zm-.296.13l-1.07-1.69-.005.003 1.075 1.687zm-1.84 1.174l1.072 1.688.002-.002-1.075-1.686zm-.981.43L11.67 16l.013-.004-.516-1.932zM7.053 12.54l1.644-1.14a1.316 1.316 0 00-.016-.023L7.053 12.54zm-.606-2.682L4.48 9.504v.004l1.968.35zm1.505-2.229l1.064 1.694.011-.007-1.075-1.687zm4.826-3.075l-1.074-1.687h-.001l1.075 1.687zm.98-.43l-.503-1.936-.014.003.517 1.932zm4.113 1.524l-1.643 1.14.016.023 1.627-1.163zm.607 2.682l1.966.364.003-.014-1.97-.35zm-.116.45l-1.899-.627-.002.005 1.901.623zm-.09.278l-1.183 1.613a2 2 0 003.083-.99l-1.9-.623zm-.248-.181l-1.185 1.611.003.002 1.182-1.613zm-1.887-.943l-.58 1.914h.002l.578-1.914zm-.18-.055l-1.99-.185a2 2 0 001.41 2.1l.58-1.915zm.018-.179l1.991.185.001-.015-1.992-.17zm-.195-.717l-1.644 1.14.01.014 1.634-1.154zm-1.24-.46l-.503-1.935-.01.002.514 1.933zm-.295.13l-1.071-1.69-.004.003 1.075 1.687zM9.419 9.728l1.065 1.693.01-.006-1.075-1.687zm-.453.672l-1.969-.354v.004l1.969.35zm.182.809l1.644-1.14-.015-.021-1.629 1.16zm1.24.46l.502 1.935.013-.003-.516-1.933zm.296-.13l1.069 1.69.005-.003-1.074-1.687zm1.84-1.173L11.45 8.679l1.074 1.687zm.98-.43L13.003 8l-.013.003.516 1.932zm4.114 1.524l-1.643 1.14.016.023 1.627-1.163zm.606 2.682l1.969.354v-.004l-1.969-.35zm-1.504 2.23l-1.065-1.693-.01.006 1.075 1.687zm-4.825 3.074l1.074 1.687-1.074-1.687zm-1.483-1.505a1.833 1.833 0 01-1.099-.055l-1.39 3.75c1.12.415 2.34.477 3.495.176l-1.006-3.87zm-1.099-.055a1.832 1.832 0 01-.868-.674l-3.287 2.28c.68.98 1.646 1.73 2.765 2.144l1.39-3.75zm-.884-.697a1.547 1.547 0 01-.25-.558l-3.902.882c.163.72.468 1.4.897 2.001l3.255-2.325zm-.25-.558c-.046-.2-.05-.409-.014-.611l-3.939-.7a5.547 5.547 0 00.051 2.193l3.902-.882zm-.016-.6c.01-.063.026-.123.046-.183l-3.797-1.257c-.078.235-.14.475-.184.718l3.935.721zm.048-.19l.091-.277-3.801-1.244-.091.277 3.801 1.245zm-2.993.713l.248.182 2.366-3.225-.247-.182-2.367 3.225zm.246.18a8.222 8.222 0 002.493 1.247l1.157-3.829a4.22 4.22 0 01-1.28-.64l-2.37 3.223zm2.49 1.247l.18.054 1.161-3.828-.179-.054-1.161 3.828zm-1.23-2.043l-.017.18 3.983.365.016-.179-3.983-.366zm-.018.192a3.081 3.081 0 00.555 2.043l3.264-2.312a.918.918 0 01.166.61l-3.985-.341zm.543 2.026c.368.531.89.936 1.496 1.161l1.39-3.75c.163.06.303.168.402.31l-3.288 2.28zm1.496 1.161a3.154 3.154 0 001.89.095l-1.006-3.87a.846.846 0 01.507.025l-1.391 3.75zm1.901.093c.302-.08.59-.207.853-.374l-2.141-3.378a.935.935 0 01.26-.114l1.028 3.866zm.857-.376l4.825-3.076-2.15-3.373-4.825 3.076 2.15 3.373zm4.815-3.07c.354-.222.657-.516.89-.861l-3.315-2.238a.996.996 0 01.294-.286l2.131 3.385zm.89-.861c.234-.346.392-.737.467-1.148l-3.937-.71a.995.995 0 01.155-.38l3.315 2.238zm.468-1.155c.07-.402.061-.814-.029-1.212l-3.901.882a.929.929 0 01-.01-.366l3.94.696zm-.029-1.212a3.07 3.07 0 00-.495-1.106l-3.257 2.323a.928.928 0 01-.15-.335l3.902-.882zm-.48-1.084a3.155 3.155 0 00-1.495-1.16l-1.392 3.75a.844.844 0 01-.4-.311l3.287-2.279zm-1.495-1.16a3.154 3.154 0 00-1.89-.096l1.005 3.871a.845.845 0 01-.507-.025l1.392-3.75zm-1.902-.093c-.301.08-.589.206-.852.373l2.14 3.378a.934.934 0 01-.26.114L13.77 10.4zm-.857.376l-1.84 1.173 2.15 3.373 1.84-1.174-2.15-3.373zm-1.838 1.171a1.526 1.526 0 01-.425.187l1.033 3.864a5.524 5.524 0 001.537-.674l-2.145-3.377zm-.411.183a1.833 1.833 0 01-1.098-.055l-1.39 3.75c1.119.415 2.338.477 3.494.177l-1.006-3.872zm-1.098-.055a1.832 1.832 0 01-.87-.674L5.41 13.68a5.833 5.833 0 002.765 2.145l1.39-3.751zm-.885-.697a1.547 1.547 0 01-.25-.558l-3.902.882c.163.72.468 1.401.897 2.002l3.255-2.326zm-.25-.558c-.046-.2-.05-.408-.015-.611l-3.938-.7a5.546 5.546 0 00.051 2.193l3.902-.882zm-.015-.607c.032-.182.103-.355.206-.508L5.307 7.465a5.328 5.328 0 00-.828 2.039l3.937.708zm.206-.508c.104-.153.238-.283.394-.381L6.89 5.935a5.328 5.328 0 00-1.582 1.53l3.315 2.239zm.405-.388l4.825-3.075-2.15-3.374-4.824 3.075 2.15 3.374zm4.824-3.075a1.52 1.52 0 01.424-.186L13.24 2.191a5.522 5.522 0 00-1.537.676L13.85 6.24zm.41-.182a1.833 1.833 0 011.098.055l1.39-3.75a5.833 5.833 0 00-3.494-.176l1.006 3.871zm1.098.055c.352.13.655.366.87.674l3.286-2.28a5.832 5.832 0 00-2.765-2.144l-1.39 3.75zm.885.697c.12.167.205.357.25.558l3.902-.882a5.546 5.546 0 00-.897-2.002l-3.255 2.326zm.25.558c.046.2.05.409.014.611l3.939.7a5.547 5.547 0 00-.051-2.193l-3.902.882zm.017.598a1.41 1.41 0 01-.048.186l3.798 1.255a5.41 5.41 0 00.183-.714l-3.933-.727zm-.05.191l-.09.278 3.801 1.244.09-.277-3.8-1.245zm2.992-.713l-.247-.181-2.364 3.226.247.181 2.364-3.226zm-.244-.18a8.219 8.219 0 00-2.494-1.246l-1.156 3.83c.46.138.893.355 1.28.64l2.37-3.223zM16.718 6.02l-.18-.055-1.16 3.828.18.055 1.16-3.828zm1.231 2.044l.017-.179-3.983-.37-.017.18 3.983.37zm.018-.194a3.084 3.084 0 00-.553-2.04l-3.268 2.307a.917.917 0 01-.164-.607l3.985.34zm-.543-2.026a3.155 3.155 0 00-1.496-1.161l-1.39 3.75a.846.846 0 01-.402-.31l3.288-2.28zm-1.496-1.161a3.154 3.154 0 00-1.89-.095l1.006 3.87a.846.846 0 01-.507-.025l1.391-3.75zm-1.901-.093c-.302.08-.59.206-.853.373l2.141 3.379a.937.937 0 01-.26.114L14.027 4.59zm-.857.376L8.344 8.042l2.15 3.373 4.826-3.076-2.15-3.373zm-4.816 3.07a3.003 3.003 0 00-.89.862l3.315 2.237a.998.998 0 01-.295.286l-2.13-3.386zm-.89.862a3.003 3.003 0 00-.467 1.148l3.937.707a.997.997 0 01-.155.382L7.463 8.898zm-.467 1.152a3.07 3.07 0 00.028 1.212l3.902-.88c.027.12.03.246.008.367l-3.938-.699zm.028 1.212c.09.399.258.775.494 1.107l3.258-2.321c.072.1.122.214.15.335l-3.902.88zm.48 1.086c.367.53.89.936 1.495 1.16l1.392-3.75c.162.06.301.169.4.311l-3.287 2.279zM9 13.508a3.155 3.155 0 001.89.097L9.885 9.732a.845.845 0 01.507.025L9 13.508zm1.903.093c.3-.08.587-.206.85-.372l-2.14-3.38a.932.932 0 01.26-.113l1.03 3.865zm.855-.375l1.841-1.174-2.15-3.373-1.84 1.173 2.15 3.374zm1.84-1.173a1.51 1.51 0 01.422-.185l-1.03-3.865a5.51 5.51 0 00-1.54.676l2.149 3.374zm.41-.182a1.833 1.833 0 011.098.055l1.39-3.75A5.833 5.833 0 0013.002 8l1.006 3.87zm1.098.055c.352.13.655.366.869.674l3.286-2.28a5.833 5.833 0 00-2.765-2.144l-1.39 3.75zm.885.697c.12.167.204.357.25.558l3.901-.882a5.548 5.548 0 00-.897-2.002l-3.254 2.326zm.25.558c.045.2.05.409.014.611l3.938.7a5.545 5.545 0 00-.05-2.193l-3.902.882zm.015.608a1.331 1.331 0 01-.207.508l3.316 2.237a5.33 5.33 0 00.828-2.038l-3.937-.707zm-.207.508a1.33 1.33 0 01-.394.382l2.13 3.386a5.329 5.329 0 001.58-1.531l-3.316-2.237zm-.403.388L10.82 17.76l2.15 3.374 4.825-3.074-2.15-3.374zM10.82 17.76c-.13.083-.273.146-.423.186l1.033 3.864a5.52 5.52 0 001.538-.676l-2.148-3.374z`,mask:`url(#path-1-outside-1_20571_794)`})]}),rn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#52525B`,strokeWidth:`1.5`,d:`M5 5H19V19H5z`}),(0,V.jsx)(`rect`,{width:`4`,height:`4`,x:`3`,y:`3`,fill:`#F472B6`,rx:`1`}),(0,V.jsx)(`rect`,{width:`4`,height:`4`,x:`17`,y:`3`,fill:`#F472B6`,rx:`1`}),(0,V.jsx)(`rect`,{width:`4`,height:`4`,x:`17`,y:`17`,fill:`#F472B6`,rx:`1`}),(0,V.jsx)(`rect`,{width:`4`,height:`4`,x:`3`,y:`17`,fill:`#F472B6`,rx:`1`})]}),an=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 25 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#EA580C`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M15.451 10.98c.328-2.058-.355-4.403-1.858-6.44a1 1 0 011.32-1.45c4.291 2.577 7.016 7.532 6.013 11.97.93 1.303 1.297 2.626 1.387 3.62.048.537.021 1.028-.073 1.394-.025.095-.06.204-.111.313-.043.091-.137.27-.32.422a1.05 1.05 0 01-1.082.162 1.112 1.112 0 01-.552-.523h0c-.376-.732-.835-.918-1.252-.952-.49-.04-1.035.132-1.45.343-.086.05-.17.097-.248.139l-.003.002c-.034.02-.068.038-.102.054-2.407 1.256-5.53 1.297-8.574-.012h0a13.486 13.486 0 01-6.057-5.194 1 1 0 011.441-1.335c.595.439 1.236.824 1.916 1.143 2.124.995 4.18 1.137 5.83.651-2.565-2.22-4.72-4.825-6.395-6.95A11.53 11.53 0 014.2 6.842 1 1 0 015.732 5.59c.318.292.662.593 1.022.898-.126-.18-.224-.325-.29-.426a3.786 3.786 0 01-.118-.191V5.87a1.07 1.07 0 01-.057-.124v-.002a1.01 1.01 0 01.057-.838c.072-.112.268-.313.393-.394.127-.06.375-.12.49-.125a1.001 1.001 0 01.707.298l7.515 6.295zm0 0a45.088 45.088 0 01-1.734-1.249 54.42 54.42 0 01-5.78-5.046l7.514 6.295zm1.768 9.002h0-.002.002zm3.083-.403v-.002.002zm1.652-.046h0v-.002.002zm-1.073-4.285s0 0 0 0l-.762-.19.762.19zm-.762-.19l.506-.394a.468.468 0 00-.012-.015l-.001-.002-.502.408-.02-.005.494-.436-.01-.01.004.004-.459.45zm-.029-.008l.02.005-.02-.005z`})}),on=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`rect`,{width:`16`,height:`2`,x:`4`,y:`6`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`12`,height:`2`,x:`4`,y:`11`,fill:`#64748B`,rx:`1`}),(0,V.jsx)(`rect`,{width:`16`,height:`2`,x:`4`,y:`16`,fill:`#64748B`,rx:`1`})]}),sn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#2563EB`,d:`M3.234 9.093V7.318h8.363v1.775H8.479V17.5H6.352V9.093H3.234zm15.263 1.153c-.04-.4-.21-.712-.512-.934-.301-.222-.71-.333-1.228-.333-.351 0-.648.05-.89.149-.242.096-.427.23-.557.403a.969.969 0 00-.189.586.838.838 0 00.115.477c.086.136.204.254.353.353.149.097.321.181.517.254.195.07.404.13.626.179l.915.219c.444.1.852.232 1.223.397.371.166.693.37.965.612.271.242.482.527.631.855.152.328.23.704.234 1.129-.004.623-.163 1.163-.478 1.62-.311.454-.762.807-1.352 1.06-.587.248-1.294.372-2.123.372-.822 0-1.538-.126-2.147-.378-.607-.252-1.081-.624-1.422-1.118-.338-.497-.516-1.112-.532-1.845h2.083c.023.342.12.627.293.855.176.226.41.397.701.513.295.112.628.168 1 .168.364 0 .68-.053.949-.159.272-.106.482-.253.631-.442.15-.189.224-.406.224-.651a.846.846 0 00-.204-.577c-.132-.156-.328-.288-.586-.398a5.964 5.964 0 00-.94-.298l-1.109-.278c-.858-.21-1.536-.536-2.033-.98-.497-.444-.744-1.042-.74-1.795-.004-.616.16-1.155.491-1.615.335-.461.794-.82 1.377-1.08.584-.258 1.247-.387 1.99-.387.755 0 1.414.13 1.978.388.567.258 1.007.618 1.322 1.079.315.46.477.994.488 1.6h-2.064z`})}),cn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#64748B`,fillRule:`evenodd`,d:`M4 6h16v12H4V6zM2 6a2 2 0 012-2h16a2 2 0 012 2v12a2 2 0 01-2 2H4a2 2 0 01-2-2V6zm7.5 8.616V9.385a.75.75 0 011.11-.659l4.786 2.616a.75.75 0 010 1.316l-4.786 2.616a.75.75 0 01-1.11-.658z`,clipRule:`evenodd`})}),ln=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#14B8A6`,d:`M14.079 4.411L12 8.011l-2.078-3.6H3L12 20l9-15.589h-6.921z`}),(0,V.jsx)(`path`,{fill:`#334155`,d:`M14.079 4.411L12 8.011l-2.078-3.6H6.6l5.4 9.353 5.4-9.353h-3.321z`})]}),un=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`circle`,{cx:`5`,cy:`19`,r:`2`,fill:`#EA580C`}),(0,V.jsx)(`mask`,{id:`mask0_20543_563`,style:{maskType:`alpha`},width:`20`,height:`22`,x:`4`,y:`0`,maskUnits:`userSpaceOnUse`,children:(0,V.jsx)(`path`,{fill:`#D9D9D9`,d:`M4 0H24V22H4z`})}),(0,V.jsx)(`g`,{mask:`url(#mask0_20543_563)`,children:(0,V.jsx)(`circle`,{cx:`5`,cy:`19`,r:`8`,stroke:`#EA580C`,strokeWidth:`2`})}),(0,V.jsx)(`mask`,{id:`mask1_20543_563`,style:{maskType:`alpha`},width:`19`,height:`20`,x:`5`,y:`0`,maskUnits:`userSpaceOnUse`,children:(0,V.jsx)(`path`,{fill:`#D9D9D9`,d:`M5 0H24V20H5z`})}),(0,V.jsx)(`g`,{mask:`url(#mask1_20543_563)`,children:(0,V.jsx)(`circle`,{cx:`5`,cy:`19`,r:`15`,stroke:`#EA580C`,strokeWidth:`2`})})]}),dn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#A78BFA`,d:`M6.533 5.864h2.755l2.654 5.011h.113l2.654-5.011h2.756l-4.245 7.522V17.5h-2.443v-4.114L6.533 5.864z`})}),fn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`g`,{fill:`#64748B`,clipPath:`url(#clip0_20631_561)`,children:(0,V.jsx)(`path`,{d:`M13.408 18.047a.45.45 0 01-.449.45H7.617a.45.45 0 01-.449-.45c0-.248.201-.447.449-.46.303-.015.537-.047.703-.097.241-.078.362-.257.362-.537 0-.195-.04-.394-.118-.596l-.373-.933a1 1 0 00-.929-.63H4.336a1 1 0 00-.937.65l-.079.21c-.182.482-.273.83-.273 1.045 0 .39.15.638.45.742.186.064.392.108.615.133.247.027.449.225.449.473a.45.45 0 01-.45.45H.45a.45.45 0 01-.449-.45c0-.248.203-.442.447-.489a1.66 1.66 0 00.48-.165c.255-.137.496-.394.723-.772.235-.384.485-.924.752-1.621l3.653-9.565a.677.677 0 011.262-.005l3.865 9.883c.293.729.508 1.223.644 1.484.137.254.326.452.567.596.15.085.34.144.567.176.246.035.448.23.448.478zm-7.29-4.21a1 1 0 00.93-1.367l-.333-.84c-.337-.852-1.544-.841-1.866.015l-.317.84a1 1 0 00.936 1.353h.65zM24.072 16.436c.2 0 .364.162.342.36a2.318 2.318 0 01-.283.91 1.912 1.912 0 01-.82.77 2.627 2.627 0 01-1.153.245c-.547 0-1.002-.127-1.367-.381-.431-.308-1.152-.533-1.614-.272-.77.435-1.544.653-2.322.653-.703 0-1.279-.17-1.728-.508a1.63 1.63 0 01-.674-1.358c0-.462.12-.878.362-1.25.24-.377.592-.712 1.054-1.005a8.135 8.135 0 011.67-.772c.52-.184 1.145-.374 1.874-.571a.725.725 0 00.538-.698c0-.463-.11-.824-.332-1.084-.215-.267-.615-.4-1.201-.4-.501 0-.863.103-1.084.312-.221.208-.368.524-.44.947-.052.3-.15.547-.292.742-.137.189-.427.283-.87.283-.273 0-.514-.078-.722-.234-.209-.156-.313-.387-.313-.693 0-.606.329-1.133.987-1.582.657-.45 1.666-.674 3.027-.674 1.432 0 2.415.24 2.95.722.54.482.81 1.127.81 1.934v3.086c0 .39.01.677.029.86.02.182.072.322.156.42.091.09.231.136.42.136.17 0 .316-.088.44-.264a.955.955 0 00.142-.278c.061-.19.215-.357.414-.357zm-4.501.366a.929.929 0 00.38-.766v-.58c0-.676-.662-1.166-1.28-.894-.52.23-.881.457-1.083.682-.332.371-.498.736-.498 1.094 0 .3.091.54.273.723.183.182.44.273.772.273.358 0 .674-.075.947-.225.157-.086.32-.188.489-.307z`})}),(0,V.jsx)(`defs`,{children:(0,V.jsx)(`clipPath`,{id:`clip0_20631_561`,children:(0,V.jsx)(`path`,{fill:`#fff`,d:`M0 0H24V24H0z`})})})]}),pn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`rect`,{width:`16`,height:`16`,x:`4`,y:`4`,stroke:`#C084FC`,strokeLinejoin:`round`,strokeWidth:`2`,rx:`3`}),(0,V.jsx)(`path`,{fill:`#C084FC`,stroke:`#C084FC`,strokeWidth:`0.5`,d:`M12.115 9.528c.338 0 .618.28.618.618v3.708c0 .338-.28.618-.618.618a.622.622 0 01-.618-.618v-3.708c0-.338.28-.618.618-.618zm-1.854.618a.623.623 0 00-.618-.618H6.965a.826.826 0 00-.824.824v3.296c0 .412.33.824.824.824h2.472a.826.826 0 00.824-.824v-1.03A.623.623 0 009.643 12a.623.623 0 00-.618.618v.618H7.377v-2.472h2.266c.338 0 .618-.28.618-.618zm7.416 0a.622.622 0 00-.618-.618h-2.266a.826.826 0 00-.824.824v3.502c0 .338.28.618.618.618.338 0 .618-.28.618-.618v-1.03h1.03c.338 0 .618-.28.618-.618a.623.623 0 00-.618-.618h-1.03v-.824h1.854c.337 0 .618-.28.618-.618z`})]}),mn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{fill:`#64748B`,fillRule:`evenodd`,d:`M7 10h10a3 3 0 013 3v5a3 3 0 01-3 3H7a3 3 0 01-3-3v-5a3 3 0 013-3zm0 2a1 1 0 00-1 1v5a1 1 0 001 1h10a1 1 0 001-1v-5a1 1 0 00-1-1H7z`,clipRule:`evenodd`}),(0,V.jsx)(`path`,{fill:`#64748B`,fillRule:`evenodd`,d:`M16.269 4.932c-.915-1.32-2.588-1.857-3.916-1.924-1.4-.071-3.2.336-4.368 1.833-.495.635-.703 1.407-.81 1.987a12.12 12.12 0 00-.173 1.987c-.01.713.02 1.462.07 2.185h2.005c-.147-1.99-.132-4.137.486-4.93 1.265-1.623 4.218-1.217 5.062 0 .422.61.422 2.847.316 4.93h2.002c.04-.8.064-1.627.055-2.39a15.629 15.629 0 00-.111-1.83c-.06-.447-.188-1.227-.618-1.848z`,clipRule:`evenodd`})]}),hn=e=>(0,V.jsxs)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:[(0,V.jsx)(`path`,{stroke:`#EF4444`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M6 3a1 1 0 00-1 1v16a1 1 0 001 1h12a1 1 0 001-1V8a1 1 0 00-.375-.78l-5-4A1 1 0 0013 3H6z`}),(0,V.jsx)(`path`,{stroke:`#EF4444`,strokeLinejoin:`round`,strokeWidth:`2`,d:`M12 4v5h6`}),(0,V.jsx)(`path`,{fill:`#EF4444`,d:`M15.828 16.018c-.598-.64-2.23-.379-2.62-.332-.575-.568-.965-1.254-1.103-1.49a7.062 7.062 0 00.368-1.965c0-.592-.23-1.231-.874-1.231a.665.665 0 00-.551.331c-.276.497-.161 1.492.275 2.51-.252.733-.482 1.443-1.126 2.697-.666.284-2.068.947-2.183 1.657a.644.644 0 00.184.592c.16.142.368.213.574.213.85 0 1.678-1.207 2.253-2.225a14.933 14.933 0 012-.544c.896.804 1.677.923 2.09.923.552 0 .759-.237.828-.45.115-.237.046-.497-.115-.686zm-.574.402c-.024.166-.23.331-.598.237a3.119 3.119 0 01-1.172-.616c.299-.047.965-.118 1.448-.023.184.047.367.165.322.402zm-3.839-4.876c.046-.07.115-.118.184-.118.207 0 .253.26.253.473a5.342 5.342 0 01-.276 1.468c-.345-.947-.276-1.61-.16-1.823zm-.045 4.592c.183-.379.436-1.041.528-1.325.207.355.552.78.736.97 0 .024-.713.166-1.264.355zm-1.356.947c-.53.9-1.08 1.467-1.38 1.467-.045 0-.091-.023-.137-.047-.07-.047-.092-.118-.07-.213.07-.331.667-.781 1.587-1.207z`}),(0,V.jsx)(`path`,{fill:`#EF4444`,fillRule:`evenodd`,d:`M10.877 11.227a.864.864 0 01.722-.427.95.95 0 01.85.492c.163.275.224.622.224.939v.007a7.178 7.178 0 01-.35 1.933c.158.27.491.823.958 1.305.237-.031.69-.09 1.163-.081.275.004.564.031.829.101.263.07.517.188.701.385l.007.007c.195.23.297.569.148.89a.77.77 0 01-.308.398c-.17.113-.402.178-.705.178-.446 0-1.244-.126-2.15-.908-.677.133-1.347.339-1.805.494-.283.495-.628 1.037-1.01 1.463-.392.436-.862.797-1.379.797-.251 0-.506-.086-.707-.263l-.005-.005-.006-.006a.844.844 0 01-.237-.768c.04-.232.178-.44.348-.619.173-.182.394-.35.625-.5.433-.28.925-.51 1.262-.656.574-1.126.805-1.8 1.036-2.473l.022-.063c-.208-.499-.341-.995-.39-1.434-.051-.454-.015-.877.153-1.179l.004-.007zm.344.205c-.107.195-.15.517-.104.936.046.415.178.898.39 1.391l-.119-.324a4.138 4.138 0 01-.264-1.247c-.012-.325.033-.586.115-.739l.004-.007.005-.006a.432.432 0 01.351-.21c.098 0 .185.032.255.09a.48.48 0 01.135.191c.051.128.063.277.063.392v.01a5.544 5.544 0 01-.286 1.522l-.183.538-.048-.13-.022.066-.047.135c-.237.69-.48 1.4-1.09 2.59l-.034.064-.066.029c-.33.14-.835.372-1.269.652-.216.14-.409.289-.552.44-.145.152-.224.291-.244.412l-.001.01c-.03.139.01.283.126.405.12.104.277.158.436.158.334 0 .703-.243 1.081-.664.37-.413.712-.954.998-1.46l.037-.065.072-.025a15.112 15.112 0 012.027-.552l.097-.018.074.066c.856.768 1.588.872 1.958.872.247 0 .396-.053.484-.112a.37.37 0 00.153-.2l.004-.013.006-.012c.071-.146.037-.321-.084-.466-.115-.12-.288-.21-.509-.268a1.871 1.871 0 00-.056-.014.645.645 0 01.208.14c.107.11.163.263.129.444-.05.328-.416.508-.845.398l-.002-.001a3.316 3.316 0 01-1.247-.654l-.343-.283.12-.019-.067-.065c-.574-.569-.97-1.248-1.12-1.507l-.015-.026-.045-.077.028-.085a6.87 6.87 0 00.358-1.907c0-.273-.055-.54-.168-.732a.55.55 0 00-.506-.295.465.465 0 00-.378.232zm.367.215c-.033.066-.075.24-.065.526.005.124.02.266.048.423a5.18 5.18 0 00.081-.701.683.683 0 00-.034-.237.143.143 0 00-.015-.028.1.1 0 00-.015.017zm.258 2.676l.225.387c.197.339.532.752.706.932l.057.058v.081a.202.202 0 01-.087.166.24.24 0 01-.04.023 1.964 1.964 0 01-.143.044 17.15 17.15 0 01-.173.043l-.134.033a10.65 10.65 0 00-.823.235l-.454.157.21-.433c.178-.369.428-1.023.518-1.3l.137-.426zm.105.935a16.6 16.6 0 01-.22.558 15.69 15.69 0 01.54-.142 7.036 7.036 0 01-.32-.416zm2.084.924c.21.122.434.217.672.281.303.078.348-.07.348-.07l.002-.011a.125.125 0 000-.06.085.085 0 00-.022-.035.331.331 0 00-.148-.074 3.568 3.568 0 00-.852-.03zm-3.525.45l-.324.552c-.27.459-.548.84-.803 1.107a2.212 2.212 0 01-.371.323.709.709 0 01-.377.136c-.097 0-.183-.045-.222-.065l-.008-.004-.011-.006-.01-.007a.37.37 0 01-.147-.192.424.424 0 01-.004-.23.84.84 0 01.189-.353c.093-.11.215-.221.359-.33a6.385 6.385 0 011.148-.662l.581-.269zM8.728 18.15a.453.453 0 00-.105.18v.007l-.002.005a.22.22 0 00.017.007h.002a.38.38 0 00.152-.069c.085-.056.186-.143.3-.264.106-.11.218-.246.334-.402-.154.09-.29.18-.403.267a1.834 1.834 0 00-.295.269z`,clipRule:`evenodd`})]}),gn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#FBBF24`,fillRule:`evenodd`,d:`M5.912 5.879C5 6.757 5 8.172 5 11v3c0 2.828 0 4.243.912 5.121.91.879 2.377.879 5.31.879h1.556c2.933 0 4.4 0 5.31-.879C19 18.243 19 16.828 19 14v-3c0-2.828 0-4.243-.912-5.121C17.178 5 15.711 5 12.778 5H12v1.5h1.167c.366 0 .55 0 .664.11s.113.287.113.64 0 .53-.113.64c-.114.11-.299.11-.664.11H12v1.5h1.167c.366 0 .55 0 .664.11s.113.287.113.64 0 .53-.113.64c-.114.11-.299.11-.664.11h-.39c-.366 0-.55 0-.663-.11-.114-.11-.114-.288-.114-.64V9.5h-1.167c-.366 0-.55 0-.664-.11s-.113-.288-.113-.64 0-.53.113-.64c.114-.11.299-.11.664-.11H12V6.5h-1.167c-.366 0-.55 0-.664-.11s-.113-.287-.113-.64v-.748c-2.174.015-3.364.123-4.144.877m4.144 7.277v.094c0 .497.204.974.57 1.326.364.351.858.549 1.374.549s1.01-.197 1.375-.55c.365-.35.57-.828.57-1.325v-.094a.65.65 0 0 0-.2-.464.7.7 0 0 0-.481-.192h-2.528c-.18 0-.354.07-.481.192a.65.65 0 0 0-.2.464`,clipRule:`evenodd`})}),_n=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{stroke:`#64748B`,strokeWidth:`2`,d:`M7.784 5H5a2 2 0 00-2 2v10a2 2 0 002 2h14a2 2 0 002-2V9.875a2 2 0 00-2-2h-6.284a2 2 0 01-1.27-.455L9.054 5.455A2 2 0 007.783 5z`})}),vn=e=>(0,V.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,...e,children:(0,V.jsx)(`path`,{fill:`#64748B`,stroke:`#64748B`,strokeWidth:`2`,d:`M7.784 5H5a2 2 0 00-2 2v10a2 2 0 002 2h14a2 2 0 002-2V9.875a2 2 0 00-2-2h-6.284a2 2 0 01-1.27-.455L9.054 5.455A2 2 0 007.783 5z`})}),yn=_n,bn=vn,xn=[[sn,[`ts`,`mts`,`cts`]],[Zt,[`tsx`]],[Ht,[`js`,`mjs`,`cjs`]],[Xt,[`jsx`]],[ln,[`vue`]],[nn,[`svelte`]],[wt,[`astro`]],[Et,[`json`,`jsonc`,`json5`]],[Kt,[`md`,`mdx`]],[kt,[`html`,`htm`]],[Ot,[`css`]],[en,[`scss`,`sass`,`less`]],[dn,[`yaml`,`yml`]],[un,[`xml`,`plist`]],[H,[`toml`,`ini`,`cfg`,`conf`,`env`,`properties`]],[Yt,[`py`,`pyi`]],[Qt,[`rb`]],[zt,[`go`]],[$t,[`rs`]],[Vt,[`java`,`jar`]],[Ut,[`kt`,`kts`]],[an,[`swift`]],[Dt,[`c`,`h`]],[At,[`cpp`,`cc`,`cxx`,`hpp`]],[jt,[`cs`]],[Jt,[`php`]],[Gt,[`lua`]],[Nt,[`dart`]],[tn,[`sh`,`bash`,`zsh`,`fish`,`ps1`,`psm1`,`bat`,`cmd`]],[Pt,[`sql`,`db`,`sqlite`,`sqlite3`]],[Mt,[`csv`,`tsv`]],[hn,[`pdf`]],[It,[`doc`,`docx`,`rtf`,`odt`,`pages`]],[qt,[`ipynb`]],[on,[`txt`,`log`,`text`]],[Bt,[`png`,`jpg`,`jpeg`,`webp`,`bmp`,`ico`,`tif`,`tiff`,`avif`]],[pn,[`gif`]],[rn,[`svg`]],[cn,[`mp4`,`webm`,`mov`,`avi`,`mkv`,`m4v`]],[Tt,[`mp3`,`wav`,`flac`,`aac`,`m4a`,`ogg`,`wma`]],[gn,[`zip`,`rar`,`7z`,`tar`,`gz`,`tgz`,`bz2`,`xz`]],[Lt,[`exe`,`msi`,`dmg`,`appimage`,`deb`,`rpm`]],[fn,[`ttf`,`otf`,`woff`,`woff2`,`eot`]],[mn,[`lock`]]],Sn=new Map;for(let[e,t]of xn)for(let n of t)Sn.set(n,e);var Cn=new Map([[`.gitignore`,Rt],[`.gitattributes`,Rt],[`.gitmodules`,Rt],[`dockerfile`,Ft],[`.dockerignore`,Ft],[`license`,Wt],[`licence`,Wt],[`makefile`,H],[`.editorconfig`,H],[`.npmrc`,H],[`.env`,H]]);function wn(e){let t=(e.split(/[/\\]/).pop()??e).toLowerCase(),n=Cn.get(t);if(n)return n;let r=t.lastIndexOf(`.`);return r<=0?null:Sn.get(t.slice(r+1))??null}var Tn=(0,B.createContext)({closed:yn,open:bn}),En=Tn.Provider;function U({name:e,kind:t,open:n,className:r,...i}){let a=(0,B.useContext)(Tn),o=y(`shrink-0`,r);if(t===`directory`)return(0,V.jsx)(n?a.open:a.closed,{className:o,...i});if(t===`symlink`)return(0,V.jsx)(te,{className:y(o,`text-text-2`),...i});if(t===`unknown`)return(0,V.jsx)(u,{className:y(o,`text-text-subtle`),...i});let s=wn(e);return s?(0,V.jsx)(s,{className:o,...i}):(0,V.jsx)(Ge,{className:y(o,`text-text-2`),...i})}function Dn({className:e}){return(0,V.jsx)(U,{name:``,kind:`directory`,className:y(`size-4 shrink-0`,e)})}var On={fixed:R,removable:st,network:it,unknown:R};function W({label:e,path:t,active:n,icon:r,onNavigate:i,onUnpin:a,run:o}){let s=Me(),c=N({targetDir:t,run:o});return(0,V.jsxs)(`div`,{className:`group/place relative flex items-center`,children:[(0,V.jsxs)(`button`,{type:`button`,title:t,onClick:()=>i(t),className:y(`flex w-full items-center gap-2 rounded px-2 py-1 text-left text-[13px]`,s?`min-h-[44px]`:`min-h-0`,`can-hover:hover:bg-surface-elevated`,n?`bg-accent-wash text-text`:`text-text-2`,c.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...c.handlers,children:[(0,V.jsx)(r,{className:`size-4 shrink-0 text-text-subtle`}),(0,V.jsx)(`span`,{className:`truncate`,children:e})]}),a&&(0,V.jsx)(`button`,{type:`button`,"aria-label":`Unpin ${e}`,title:`Unpin`,onClick:a,className:`absolute right-1 rounded p-1 text-text-subtle can-hover:opacity-0 can-hover:group-hover/place:opacity-100 can-hover:hover:text-text`,children:(0,V.jsx)(T,{className:`size-3.5`})})]})}function G({title:e,children:t}){return(0,V.jsxs)(`div`,{className:`pb-2`,children:[(0,V.jsx)(`p`,{className:`px-2 pb-0.5 pt-2 text-[10px] font-semibold uppercase tracking-wide text-text-subtle`,children:e}),t]})}var kn={home:`Home`,pinned:`Quick access`,known:`Folders`,drives:`Drives`};function An({host:e,currentPath:t,onNavigate:n,vocab:r=kn}){let i=z(e=>e.pins),a=z(e=>e.unpin),o=e=>e===t,{run:s,prompts:c}=de(e?.sep??`/`,e?.platform);return(0,V.jsxs)(`aside`,{"aria-label":`Places`,"data-testid":`explorer-sidebar`,className:`hidden w-44 shrink-0 overflow-y-auto border-r border-border bg-[var(--x-sidebar-bg,var(--panel-2))] px-1 py-1 sm:block`,children:[i.length>0&&(0,V.jsx)(G,{title:`Pinned`,children:i.map(e=>(0,V.jsx)(W,{label:e.name,path:e.path,icon:T,active:o(e.path),onNavigate:n,onUnpin:()=>a(e.path),run:s},e.path))}),e&&e.pinned.length>0&&(0,V.jsx)(G,{title:r.pinned,children:e.pinned.map(e=>(0,V.jsx)(W,{label:e.name,path:e.path,icon:Dn,active:o(e.path),onNavigate:n,run:s},e.path))}),e&&(0,V.jsxs)(G,{title:r.known,children:[(0,V.jsx)(W,{label:r.home,path:e.homedir,icon:Dn,active:o(e.homedir),onNavigate:n,run:s}),e.knownFolders.map(e=>(0,V.jsx)(W,{label:e.name,path:e.path,icon:Dn,active:o(e.path),onNavigate:n,run:s},e.path))]}),e&&e.drives.length>0&&(0,V.jsx)(G,{title:r.drives,children:e.drives.map(e=>(0,V.jsx)(W,{label:e.label?`${e.label} (${e.name})`:e.name,path:e.path,icon:On[e.kind],active:o(e.path),onNavigate:n,run:s},e.path))}),e?.warnings.map(e=>(0,V.jsxs)(`p`,{className:`flex gap-1.5 px-2 py-1 text-[11px] leading-snug text-text-subtle`,children:[(0,V.jsx)(Ye,{className:`mt-0.5 size-3 shrink-0`}),(0,V.jsx)(`span`,{children:e})]},e)),c]})}var K=new Intl.Collator(void 0,{numeric:!0,sensitivity:`base`});function jn(e,t,n){switch(e){case`size`:return(t.size??0)-(n.size??0);case`modified`:return new Date(t.modified).getTime()-new Date(n.modified).getTime();case`kind`:{let e=K.compare(L(t.name),L(n.name));return e===0?K.compare(t.name,n.name):e}case`name`:return K.compare(t.name,n.name)}}function Mn(e,t,n){let r=t.trim().toLowerCase(),i=r?e.filter(e=>e.name.toLowerCase().includes(r)):e,a=n.dir===`asc`?1:-1;return[...i].sort((e,t)=>{let r=e.type===`directory`;if(r!==(t.type===`directory`))return r?-1:1;let i=jn(n.key,e,t);return(i===0?K.compare(e.name,t.name):i)*a})}function Nn(e){return e.reduce((e,t)=>e+(t.type===`file`?t.size??0:0),0)}function Pn({entries:e,selection:t,truncated:n}){let r=e.filter(e=>t.has(e.path)),i=[`${e.length}${n?`+`:``} item${e.length===1?``:`s`}`];if(r.length>0){i.push(`${r.length} selected`);let e=Nn(r);e>0&&i.push(ke(e))}return(0,V.jsxs)(`div`,{"data-testid":`explorer-status`,className:`flex shrink-0 items-center gap-2 border-t border-border bg-panel-2 px-2 py-1 text-[11px] text-text-subtle`,children:[i.join(` · `),n&&(0,V.jsx)(`span`,{className:`ml-auto`,children:`Listing capped — narrow the filter to see the rest.`})]})}var Fn=3;function In({crumbs:e,onNavigate:t,className:n,sep:r}){let{run:i,prompts:a}=de(r);if(e.length===0)return(0,V.jsx)(`div`,{className:n});let o=e.length>Fn+2,s=o?e.slice(0,1):e,c=o?e.slice(1,e.length-Fn):[],u=o?e.slice(e.length-Fn):[];return(0,V.jsxs)(`nav`,{"aria-label":`Path`,className:y(`flex min-w-0 items-center gap-0.5 text-xs`,n),children:[s.map(n=>(0,V.jsxs)(`span`,{className:`flex shrink-0 items-center gap-0.5`,children:[(0,V.jsx)(Ln,{crumb:n,last:!o&&n===e[e.length-1],onNavigate:t,run:i}),(0,V.jsx)(l,{className:`size-3 shrink-0 text-text-subtle`})]},n.path)),o&&(0,V.jsxs)(pe,{children:[(0,V.jsx)(le,{asChild:!0,children:(0,V.jsx)(`button`,{type:`button`,"aria-label":`Show hidden path segments`,className:`rounded px-1 py-0.5 text-text-2 can-hover:hover:bg-surface-elevated`,children:(0,V.jsx)(we,{className:`size-3.5`})})}),(0,V.jsx)(me,{align:`start`,className:`max-h-72 overflow-y-auto`,children:c.map(e=>(0,V.jsx)(ge,{onClick:()=>t(e.path),children:e.name},e.path))})]}),o&&(0,V.jsx)(l,{className:`size-3 shrink-0 text-text-subtle`}),u.map((e,n)=>(0,V.jsxs)(`span`,{className:`flex min-w-0 items-center gap-0.5`,children:[(0,V.jsx)(Ln,{crumb:e,last:n===u.length-1,onNavigate:t,run:i}),n<u.length-1&&(0,V.jsx)(l,{className:`size-3 shrink-0 text-text-subtle`})]},e.path)),a]})}function Ln({crumb:e,last:t,onNavigate:n,run:r}){let i=N({targetDir:e.path,run:r});return(0,V.jsx)(`button`,{type:`button`,onClick:()=>n(e.path),className:y(`max-w-[12rem] truncate rounded px-1 py-0.5 can-hover:hover:bg-surface-elevated`,t?`font-medium text-text`:`text-text-2`,i.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...i.handlers,children:e.name})}var q=[{key:`name`,label:`Name`},{key:`size`,label:`Size`},{key:`modified`,label:`Modified`},{key:`kind`,label:`Kind`}],Rn=[{dir:`asc`,label:`Ascending`},{dir:`desc`,label:`Descending`}];function zn(e){return q.find(t=>t.key===e)?.label??e}function Bn(e){return Rn.find(t=>t.dir===e)?.label??e}function J(e){return y(`relative flex size-7 shrink-0 items-center justify-center rounded text-text-subtle can-hover:hover:bg-surface-elevated can-hover:hover:text-text disabled:opacity-30`,e&&`before:absolute before:-inset-2 before:content-['']`)}function Vn({coarse:e}){let t=F(e=>e.sort),n=F(e=>e.setPrefs),r=`Sort`,i=`${r}: ${zn(t.key)}, ${Bn(t.dir)}`;return(0,V.jsxs)(pe,{children:[(0,V.jsx)(le,{asChild:!0,children:(0,V.jsx)(`button`,{type:`button`,"aria-label":r,title:i,className:J(e),children:(0,V.jsx)(tt,{className:`size-4`})})}),(0,V.jsxs)(me,{align:`end`,children:[(0,V.jsx)(oe,{children:`Sort by`}),(0,V.jsx)(ue,{value:t.key,onValueChange:e=>n({sort:{key:e,dir:t.dir}}),children:q.map(({key:e,label:t})=>(0,V.jsx)(fe,{value:e,children:t},e))}),(0,V.jsx)(_e,{}),(0,V.jsx)(oe,{children:`Order`}),(0,V.jsx)(ue,{value:t.dir,onValueChange:e=>n({sort:{key:t.key,dir:e}}),children:Rn.map(({dir:e,label:t})=>(0,V.jsx)(fe,{value:e,children:t},e))})]})]})}function Y({targets:e,currentDir:t,hasClipboard:n,isPinned:r,actions:i}){let a=s(),o=e.length===1?e[0]:null,c=e.length>0&&e.every(e=>e.type===`directory`),l=e.length,u=l>1?` ${l} items`:``,d=F(e=>e.sort),f=F(e=>e.setPrefs);return l===0?(0,V.jsxs)(Ze,{children:[(0,V.jsx)(D,{onClick:()=>i.startCreate(`new-file`),children:`New File`}),(0,V.jsx)(D,{onClick:()=>i.startCreate(`new-folder`),children:`New Folder`}),(0,V.jsx)(O,{}),(0,V.jsx)(D,{disabled:!n,onClick:()=>i.paste(),children:`Paste`}),(0,V.jsx)(O,{}),(0,V.jsxs)(ae,{children:[(0,V.jsx)(he,{children:`Sort by`}),(0,V.jsxs)(ie,{children:[(0,V.jsx)(re,{value:d.key,onValueChange:e=>f({sort:{key:e,dir:d.dir}}),children:q.map(({key:e,label:t})=>(0,V.jsx)(Xe,{value:e,children:t},e))}),(0,V.jsx)(O,{}),(0,V.jsx)(re,{value:d.dir,onValueChange:e=>f({sort:{key:d.key,dir:e}}),children:Rn.map(({dir:e,label:t})=>(0,V.jsx)(Xe,{value:e,children:t},e))})]})]}),(0,V.jsx)(O,{}),(0,V.jsx)(D,{onClick:()=>i.copyPath([t]),children:`Copy Path`})]}):(0,V.jsxs)(Ze,{children:[o&&(o.type===`directory`||I(o.name))&&(0,V.jsx)(D,{onClick:()=>i.openEntry(o),children:`Open`}),c&&o&&!a&&(0,V.jsx)(D,{onClick:()=>i.openInNewWindow(o),children:`Open in New Window`}),(0,V.jsx)(O,{}),(0,V.jsxs)(D,{onClick:()=>i.cut(e),children:[`Cut`,u]}),(0,V.jsxs)(D,{onClick:()=>i.copy(e),children:[`Copy`,u]}),c&&o&&(0,V.jsx)(D,{disabled:!n,onClick:()=>i.paste(o.path),children:`Paste`}),(0,V.jsx)(O,{}),o&&(0,V.jsx)(D,{onClick:()=>i.startRename(o),children:`Rename`}),(0,V.jsxs)(D,{onClick:()=>i.trash(e),children:[`Move to Trash`,u]}),(0,V.jsx)(D,{variant:`destructive`,onClick:()=>i.confirmPermanentDelete(e),children:`Delete permanently`}),(0,V.jsx)(O,{}),(0,V.jsx)(D,{onClick:()=>i.copyPath(e.map(e=>e.path)),children:`Copy Path`}),(0,V.jsx)(D,{onClick:()=>i.copyName(e.map(e=>e.name)),children:`Copy Name`}),e.some(e=>e.type===`file`)&&(0,V.jsx)(D,{onClick:()=>i.download(e),children:`Download`}),c&&o&&(0,V.jsx)(D,{onClick:()=>i.togglePin(o.path,o.name),children:r(o.path)?`Unpin from Sidebar`:`Pin to Sidebar`}),o&&(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(O,{}),(0,V.jsx)(D,{onClick:()=>i.showProperties(o),children:`Properties`})]})]})}function Hn(e){let{entry:t,dragPaths:n,run:r,springLoad:i,origin:a=`explorer`,projectName:o,extraData:s,onDragStarted:c}=e,l=ze({paths:n,origin:a,projectName:o,extraData:s,onDragStarted:c}),u=N({targetDir:t.type===`directory`?t.path:null,run:r,springLoad:t.type===`directory`?i:void 0});return{props:(0,B.useMemo)(()=>({...l,...u.handlers}),[l,u.handlers]),isDropTarget:u.isOver}}function Un(e){return e.type===`directory`||I(e.name)?`open`:`sheet`}function Wn(e){return e.startsWith(`on`)&&e.length>2&&e[2]===e[2]?.toUpperCase()}function Gn(e,t){return n=>{e?.(n),t?.(n)}}function Kn(e,t){if(!e)return t;let n={...e};for(let[e,r]of Object.entries(t)){let t=n[e];if(Wn(e)&&typeof t==`function`&&typeof r==`function`){n[e]=Gn(t,r);continue}if(e===`style`&&t&&r){n[e]={...t,...r};continue}if(e===`className`){n[e]=y(t,r);continue}r!==void 0&&(n[e]=r)}return n}function qn({entry:e,selected:t,currentDir:n,hasClipboard:r,isPinned:i,actions:a,rowHeight:o,onSelect:s,onOpen:c}){let l=Hn({entry:e,dragPaths:[e.path],run:a.transferInto,springLoad:s});return(0,V.jsxs)(A,{children:[(0,V.jsx)(M,{asChild:!0,children:(0,V.jsx)(Jn,{entry:e,selected:t,rowHeight:o,onSelect:s,onOpen:c,dnd:l.props,dropActive:l.isDropTarget})}),(0,V.jsx)(Y,{targets:[e],currentDir:n,hasClipboard:r,isPinned:i,actions:a})]})}var Jn=(0,B.forwardRef)(function({entry:e,selected:t,rowHeight:n,onSelect:r,onOpen:i,dnd:a,dropActive:o,...c},l){let u=P(r),d=s(),{setOpen:f}=(0,B.useContext)(S),p=()=>{r(),!(!d||e.type===`directory`)&&(Un(e)===`open`?i():f(!0))};return(0,V.jsxs)(`div`,{ref:l,...Kn({...c,...u,...a},{role:`option`,"aria-selected":t,"data-testid":`explorer-column-row`,"data-path":e.path,title:e.name,style:{height:n},onContextMenu:e=>{r(),e.stopPropagation()},onClick:p,onDoubleClick:i,className:y(`flex w-full items-center gap-1.5 px-2 text-[13px] select-none`,`can-hover:hover:bg-surface-elevated`,t&&`bg-accent-wash text-text`,o&&`ring-1 ring-dashed ring-primary bg-primary/10`)}),children:[(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-4 shrink-0`}),(0,V.jsx)(`span`,{className:y(`flex-1 truncate`,t?`text-text`:`text-text-2`),children:e.name}),e.type===`directory`&&(0,V.jsx)(`span`,{className:`text-text-subtle`,children:`›`})]})});function Yn({path:e,entries:t,loading:n,error:r,selectedPath:i,isFocused:a,currentDir:o,hasClipboard:s,isPinned:c,actions:l,rowHeight:u,onSelect:d,onOpen:f,onFocus:p,fullWidth:m}){let h=(0,B.useRef)(null);k(h);let g=m?48:u,_=ne({count:t.length,getScrollElement:()=>h.current,estimateSize:()=>g,overscan:8}),v=N({targetDir:e,run:l.transferInto,disabled:m});return(0,V.jsx)(`div`,{className:y(`flex h-full shrink-0 flex-col`,!m&&`border-r border-border`,a&&`bg-panel-2/40`),style:m?void 0:{width:220},children:(0,V.jsxs)(`div`,{ref:h,role:`listbox`,"aria-label":e,className:y(`flex-1 overflow-y-auto outline-none`,v.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...v.handlers,children:[n&&t.length===0&&(0,V.jsx)(`p`,{className:`p-2 text-xs text-text-subtle`,children:`Loading…`}),r&&(0,V.jsx)(`p`,{className:`p-2 text-xs text-error`,children:r}),!n&&!r&&t.length===0&&(0,V.jsx)(`p`,{className:`p-2 text-xs text-text-subtle`,children:`Empty`}),(0,V.jsx)(`div`,{className:`relative w-full`,style:{height:_.getTotalSize()},children:_.getVirtualItems().map(e=>{let n=t[e.index],r=n.path===i;return(0,V.jsx)(`div`,{className:`absolute left-0 top-0 w-full`,style:{transform:`translateY(${e.start}px)`},children:(0,V.jsx)(qn,{entry:n,selected:r,currentDir:o,hasClipboard:s,isPinned:c,actions:l,rowHeight:g,onSelect:()=>{p(),d(n)},onOpen:()=>f(n)})},n.path)})})]})})}function Xn({containerRef:e,onKeyDown:t,backgroundLongPress:n,columns:r,focusedIndex:a,setFocusedIndex:o,selectedPathFor:s,slice:c,hasClipboard:l,isPinned:u,actions:d,onSelect:f,onOpen:p}){let m=r[a];return(0,V.jsxs)(A,{children:[(0,V.jsx)(M,{asChild:!0,children:(0,V.jsxs)(`div`,{ref:e,tabIndex:0,"data-testid":`explorer-columns`,"aria-label":`Column view`,onKeyDown:t,className:`flex h-full min-h-0 w-full flex-col outline-none`,...n,children:[a>0&&(0,V.jsxs)(`button`,{type:`button`,onClick:()=>o(e=>e-1),"aria-label":`Back`,className:`flex h-11 shrink-0 items-center gap-1.5 border-b border-border px-3 text-sm text-text-2 active:bg-surface-elevated`,children:[(0,V.jsx)(i,{className:`size-4`}),` Back`]}),m&&(0,V.jsx)(`div`,{className:`min-h-0 flex-1 motion-safe:animate-in motion-safe:slide-in-from-right-4 motion-safe:duration-150`,children:(0,V.jsx)(Yn,{path:m.path,entries:m.entries,loading:m.loading,error:m.error,selectedPath:s(a),isFocused:!0,fullWidth:!0,rowHeight:48,currentDir:c.path,hasClipboard:l,isPinned:u,actions:d,onSelect:e=>f(a,e),onOpen:p,onFocus:()=>{}})},m.path)]})}),(0,V.jsx)(Y,{targets:[],currentDir:c.path,hasClipboard:l,isPinned:u,actions:d})]})}var Zn=0,Qn=[];function $n(){return new Promise(e=>{let t=!1,n=()=>{Zn++,e(()=>{if(t)return;t=!0,Zn--;let e=Qn.shift();e&&e()})};Zn<24?n():Qn.push(n)})}function er({entry:e,size:t,className:n}){let[r,i]=(0,B.useState)(null),[a,o]=(0,B.useState)(!1),s=(0,B.useRef)(null),c=(0,B.useRef)(null);return(0,B.useEffect)(()=>{i(null),o(!1)},[e.path]),(0,B.useEffect)(()=>{let t=s.current;if(!t||r||a)return;let n=new AbortController,l=null,u=new IntersectionObserver(t=>{t[0]?.isIntersecting&&(u.disconnect(),(async()=>{if(l=await $n(),n.signal.aborted){l();return}try{let t=g(),r=await fetch(`/api/fs/raw?path=${encodeURIComponent(e.path)}`,{headers:t?{Authorization:`Bearer ${t}`}:{},signal:n.signal});if(!r.ok)throw Error(String(r.status));let a=await r.blob();if(n.signal.aborted)return;let o=URL.createObjectURL(a);c.current=o,i(o)}catch{n.signal.aborted||o(!0)}finally{l?.()}})())},{rootMargin:`200px`});return u.observe(t),()=>{n.abort(),u.disconnect(),l?.()}},[e.path,r,a]),(0,B.useEffect)(()=>()=>{c.current&&URL.revokeObjectURL(c.current)},[]),a||!r?(0,V.jsx)(`div`,{ref:s,className:y(`flex items-center justify-center`,n),style:{width:t,height:t},children:(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-1/2`})}):(0,V.jsx)(`div`,{ref:s,className:y(`flex items-center justify-center overflow-hidden`,n),style:{width:t,height:t},children:(0,V.jsx)(`img`,{src:r,alt:``,loading:`lazy`,className:`max-h-full max-w-full rounded object-contain`,onError:()=>o(!0)})})}function tr({entry:e,onOpen:t}){return e?(0,V.jsxs)(`div`,{className:`flex h-full min-w-0 flex-col items-center gap-3 overflow-y-auto p-4 text-center`,children:[(0,V.jsx)(`div`,{className:`flex h-24 w-24 shrink-0 items-center justify-center`,children:e.type!==`directory`&&$e(e.name)===`image`?(0,V.jsx)(er,{entry:e,size:96}):(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-16`})}),(0,V.jsx)(`p`,{className:`w-full truncate text-sm font-medium text-text`,title:e.name,children:e.name}),(0,V.jsxs)(`dl`,{className:`w-full space-y-1 text-left text-xs text-text-2`,children:[(0,V.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,V.jsx)(`dt`,{className:`text-text-subtle`,children:`Kind`}),(0,V.jsx)(`dd`,{className:`truncate`,children:e.type===`directory`?`Folder`:L(e.name)||`File`})]}),e.type!==`directory`&&(0,V.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,V.jsx)(`dt`,{className:`text-text-subtle`,children:`Size`}),(0,V.jsx)(`dd`,{children:ke(e.size)})]}),(0,V.jsxs)(`div`,{className:`flex justify-between gap-2`,children:[(0,V.jsx)(`dt`,{className:`text-text-subtle`,children:`Modified`}),(0,V.jsx)(`dd`,{className:`truncate`,children:Je(e.modified)})]})]}),I(e.name)&&(0,V.jsx)(`button`,{type:`button`,onClick:()=>t(e),className:`mt-2 w-full rounded border border-border bg-panel-2 py-1.5 text-xs font-medium text-text can-hover:hover:bg-surface-elevated`,children:`Open`})]},e.path):(0,V.jsx)(`div`,{className:`flex h-full items-center justify-center p-4 text-center text-xs text-text-subtle`,children:`Select a file to preview`})}function nr(e,t){switch(t.type){case`sync`:{let{paths:n,lastEntries:r,lastLoading:i,makeAbort:a}=t,o=n.length-1,s=n.map((t,n)=>{let s=e.columns[n],c=n===o;return s&&s.path===t?c?{...s,entries:r,loading:i,error:null}:s:c?{path:t,entries:r,loading:i,error:null,abort:a()}:{path:t,entries:[],loading:!0,error:null,abort:a()}}),c=[];for(let t=0;t<e.columns.length;t++){let n=e.columns[t],r=s[t];(!r||r.path!==n.path)&&c.push(n.abort)}return{columns:s,staleControllers:c}}case`loaded`:return{columns:e.columns.map(e=>e.path===t.path?{...e,entries:t.entries,loading:!1,error:null}:e),staleControllers:[]};case`error`:return{columns:e.columns.map(e=>e.path===t.path?{...e,loading:!1,error:t.message}:e),staleControllers:[]}}}function rr(e,t,n){let[r,i]=(0,B.useReducer)(nr,{columns:[],staleControllers:[]}),a=(0,B.useRef)(new Set);(0,B.useEffect)(()=>{i({type:`sync`,paths:e,lastEntries:t,lastLoading:n,makeAbort:()=>new AbortController})},[e.join(`\0`),t,n]),(0,B.useEffect)(()=>{for(let e of r.staleControllers)e.abort()},[r.staleControllers]);let o=(0,B.useRef)(r.columns);return o.current=r.columns,(0,B.useEffect)(()=>()=>{for(let e of o.current)e.abort.abort()},[]),(0,B.useEffect)(()=>{let e=r.columns.length-1;r.columns.forEach((t,n)=>{n!==e&&(!t.loading||a.current.has(t.abort)||(a.current.add(t.abort),j.browse(t.path,{signal:t.abort.signal}).then(e=>{a.current.delete(t.abort),!t.abort.signal.aborted&&i({type:`loaded`,path:t.path,entries:e.entries})}).catch(e=>{a.current.delete(t.abort),!(t.abort.signal.aborted||e instanceof DOMException&&e.name===`AbortError`)&&i({type:`error`,path:t.path,message:e instanceof Error?e.message:`Failed to read directory`})})))})},[r.columns]),{columns:r.columns}}var ir=720;function ar({slice:e,entries:t,actions:n,selection:r,hasClipboard:i,isPinned:a,nav:o,backgroundLongPress:c,rowHeight:l}){let{columns:u}=rr((0,B.useMemo)(()=>e.breadcrumbs.length>0?e.breadcrumbs.map(e=>e.path):[e.path],[e.breadcrumbs,e.path]),t,e.loading),d=s(),f=(0,B.useRef)(null);k(f);let[p,m]=(0,B.useState)(u.length-1),[h,g]=(0,B.useState)(0),_=(0,B.useRef)(u.length);(0,B.useEffect)(()=>{let e=f.current;if(!e)return;let t=()=>g(e.clientWidth);t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[]),(0,B.useEffect)(()=>{if(u.length===_.current)return;_.current=u.length,m(u.length-1);let e=f.current;if(!e)return;let t=window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches===!0;e.scrollTo({left:e.scrollWidth,behavior:t?`auto`:`smooth`})},[u.length]);let v=(0,B.useMemo)(()=>{if(!e.anchor)return null;for(let t of u){let n=t.entries.find(t=>t.path===e.anchor);if(n)return n}return null},[u,e.anchor]),y=t=>t===u.length-1?e.anchor:u[t+1]?.path??null,b=e=>{let t=u[e];if(!t)return null;let n=y(e);return t.entries.find(e=>e.path===n)??null},x=(e,t)=>{m(e),t.type===`directory`?o.go(t.path):r.selectOnly(t.path)},S=e=>n.openEntry(e),C=e=>{if(!(e.altKey||e.ctrlKey||e.metaKey)){if(e.key===`ArrowRight`&&p<u.length-1){e.preventDefault(),e.stopPropagation(),m(p+1);return}if(e.key===`ArrowLeft`&&p>0){e.preventDefault(),e.stopPropagation(),m(p-1);return}if(e.key===`ArrowUp`||e.key===`ArrowDown`){let t=u[p];if(!t)return;e.preventDefault(),e.stopPropagation();let n=b(p),r=n?t.entries.findIndex(e=>e.path===n.path):-1,i=e.key===`ArrowDown`?1:-1,a=Math.min(t.entries.length-1,Math.max(0,r<0?0:r+i)),o=t.entries[a];o&&x(p,o);return}if(e.key===`Enter`){let t=b(p);t&&(e.preventDefault(),e.stopPropagation(),S(t))}}},w=h>=ir;return d?(0,V.jsx)(Xn,{containerRef:f,onKeyDown:C,backgroundLongPress:c,columns:u,focusedIndex:p,setFocusedIndex:m,selectedPathFor:y,slice:e,hasClipboard:i,isPinned:a,actions:n,onSelect:x,onOpen:S}):(0,V.jsxs)(A,{children:[(0,V.jsx)(M,{asChild:!0,children:(0,V.jsxs)(`div`,{ref:f,tabIndex:0,"data-testid":`explorer-columns`,"aria-label":`Column view`,onKeyDown:C,className:`flex h-full min-h-0 w-full overflow-x-auto outline-none`,...c,children:[u.map((t,r)=>(0,V.jsx)(Yn,{path:t.path,entries:t.entries,loading:t.loading,error:t.error,selectedPath:y(r),isFocused:r===p,currentDir:e.path,hasClipboard:i,isPinned:a,actions:n,rowHeight:l,onSelect:e=>x(r,e),onOpen:S,onFocus:()=>m(r)},t.path)),w&&(0,V.jsx)(`div`,{className:`min-w-[240px] flex-1 border-l border-border bg-panel-2/30`,children:(0,V.jsx)(tr,{entry:v,onOpen:S})})]})}),(0,V.jsx)(Y,{targets:[],currentDir:e.path,hasClipboard:i,isPinned:a,actions:n})]})}function X(e,t){if(e.selection.size>0)return t.filter(t=>e.selection.has(t.path));let n=t.find(t=>t.path===e.anchor);return n?[n]:[]}function or({slice:e,entries:t,actions:n,selection:r,nav:i}){return(0,B.useCallback)(a=>{if(!e)return;let o=a.target;if(o.tagName===`INPUT`||o.tagName===`TEXTAREA`||o.isContentEditable)return;let s=a.ctrlKey||a.metaKey,c=X(e,t);if(s)switch(a.key.toLowerCase()){case`a`:a.preventDefault(),r.selectAll();return;case`c`:a.preventDefault(),n.copy(c);return;case`x`:a.preventDefault(),n.cut(c);return;case`v`:a.preventDefault(),n.paste();return;default:return}switch(a.key){case`ArrowDown`:a.preventDefault(),r.moveTo(1,a.shiftKey);return;case`ArrowUp`:a.preventDefault(),r.moveTo(-1,a.shiftKey);return;case`Home`:a.preventDefault(),t[0]&&r.selectOnly(t[0].path);return;case`End`:a.preventDefault(),t.length>0&&r.selectOnly(t[t.length-1].path);return;case`ArrowLeft`:a.altKey&&(a.preventDefault(),i.back());return;case`ArrowRight`:a.altKey&&(a.preventDefault(),i.forward());return;case`Backspace`:a.preventDefault(),i.back();return;case`Enter`:a.preventDefault(),c.length===1&&n.openEntry(c[0]);return;case`F2`:a.preventDefault(),c.length===1&&n.startRename(c[0]);return;case`Delete`:if(a.preventDefault(),c.length===0)return;a.shiftKey?n.confirmPermanentDelete(c):n.trash(c);return;case`Escape`:r.clear();return}a.key.length===1&&!a.altKey&&(a.preventDefault(),r.typeAhead(a.key))},[e,t,n,r,i])}function sr(e,t){let n=s(),r=E(e=>e.selectMode),{setOpen:i}=(0,B.useContext)(S);return{isMobile:n,selectMode:r,handleTap:(a,o)=>n?r?(t.onRowClick(a.path,{shiftKey:!1,ctrlKey:!0,metaKey:!1}),!0):(o||t.selectOnly(a.path),Un(a)===`open`?e.openEntry(a):i(!0),!0):!1}}function Z({initial:e,error:t,onCommit:n,onCancel:r,className:i}){let[a,o]=(0,B.useState)(e),s=(0,B.useRef)(null);return(0,B.useEffect)(()=>{let t=s.current;if(!t)return;t.focus();let n=e.lastIndexOf(`.`);n>0?t.setSelectionRange(0,n):t.select()},[e]),(0,V.jsxs)(`div`,{className:`relative flex-1 min-w-0`,children:[(0,V.jsx)(`input`,{ref:s,value:a,"aria-label":`Name`,"aria-invalid":!!t,onChange:e=>o(e.target.value),onBlur:()=>n(a),onKeyDown:e=>{e.stopPropagation(),e.key===`Enter`?n(a):e.key===`Escape`&&r()},className:y(`w-full rounded-[var(--rad-sm)] border bg-panel px-1.5 py-0.5 text-[13px] text-text outline-none`,t?`border-error`:`border-primary`,i)}),t&&(0,V.jsx)(`span`,{className:`absolute left-0 top-full z-10 mt-0.5 rounded border border-border bg-panel-2 px-1.5 py-0.5 text-[11px] text-error shadow-sm`,children:t})]})}var cr=(0,B.memo)(function(e){let{entry:t,currentDir:n,hasClipboard:r,isPinned:i,actions:a,menuTargets:o}=e,s=Hn({entry:t,dragPaths:(0,B.useMemo)(()=>o.map(e=>e.path),[o]),run:a.transferInto});return(0,V.jsxs)(A,{children:[(0,V.jsx)(M,{asChild:!0,children:(0,V.jsx)(lr,{...e,dnd:s.props,dropActive:s.isDropTarget})}),(0,V.jsx)(Y,{targets:o,currentDir:n,hasClipboard:r,isPinned:i,actions:a})]})}),lr=(0,B.forwardRef)(function({entry:e,selected:t,focused:n,cut:r,renaming:i,tileWidth:a,actions:s,selection:c,inlineError:l,currentDir:u,hasClipboard:d,isPinned:f,menuTargets:p,dnd:m,dropActive:h,...g},_){let v=P(()=>{t||c.selectOnly(e.path)}),{isMobile:b,selectMode:x,handleTap:S}=sr(s,c),C=e.type!==`directory`&&$e(e.name)===`image`;return(0,V.jsxs)(`div`,{ref:_,...Kn({...g,...v,...m},{role:`gridcell`,"aria-selected":t,"data-testid":`explorer-tile`,"data-path":e.path,title:e.name,style:a?{width:a}:void 0,onContextMenu:n=>{t||c.selectOnly(e.path),n.stopPropagation()},onClick:n=>{S(e,t)||c.onRowClick(e.path,n)},onDoubleClick:()=>s.openEntry(e),className:y(`relative flex flex-col items-center gap-1 rounded p-2 text-center select-none`,!a&&`w-full`,`can-hover:hover:bg-surface-elevated`,n&&!t&&`bg-surface-elevated`,t&&`bg-accent-wash`,r&&`opacity-40`,h&&`ring-1 ring-dashed ring-primary bg-primary/10`)}),children:[b&&x&&(0,V.jsx)(`span`,{"aria-hidden":!0,className:y(`absolute left-1.5 top-1.5 flex size-5 items-center justify-center rounded border`,t?`border-primary bg-primary text-primary-foreground`:`border-border bg-panel`),children:t&&(0,V.jsx)(o,{className:`size-3.5`})}),(0,V.jsx)(`div`,{className:`flex h-12 w-12 shrink-0 items-center justify-center`,children:C?(0,V.jsx)(er,{entry:e,size:48}):(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-12`})}),i?(0,V.jsx)(Z,{initial:e.name,error:l,onCommit:e=>void s.commitInline(e),onCancel:s.cancelInline}):(0,V.jsx)(`span`,{className:y(`line-clamp-2 w-full break-words text-[12px] leading-tight`,t?`text-text`:`text-text-2`),children:e.name})]})}),ur=96,dr=88,fr=4,pr=16,mr=3;function hr({slice:e,entries:t,actions:n,selection:r,inlineError:i,hasClipboard:a,isPinned:o,backgroundLongPress:c}){let l=Re(e=>e.clipboard?.operation===`cut`?e.clipboard.paths:null),u=(0,B.useRef)(null);k(u);let d=s(),[f,p]=(0,B.useState)(d?mr:1);(0,B.useEffect)(()=>{if(d){p(mr);return}let e=u.current;if(!e)return;let t=()=>{let t=e.clientWidth-pr+fr;p(Math.max(1,Math.floor(t/(ur+fr))))};t();let n=new ResizeObserver(t);return n.observe(e),()=>n.disconnect()},[d]);let m=ne({count:Math.ceil(t.length/f),getScrollElement:()=>u.current,estimateSize:()=>dr,overscan:4}),h=e.anchor?t.findIndex(t=>t.path===e.anchor):-1,g=h>=0?Math.floor(h/f):-1;(0,B.useEffect)(()=>{g>=0&&m.scrollToIndex(g,{align:`auto`})},[g]);let _=(0,B.useMemo)(()=>X(e,t),[e,t]),v=e.inlineEdit?.kind===`new-file`||e.inlineEdit?.kind===`new-folder`,b=N({targetDir:e.path,run:n.transferInto}),x=e=>{if(!(e.altKey||e.ctrlKey||e.metaKey))switch(e.key){case`ArrowDown`:e.preventDefault(),e.stopPropagation(),r.moveTo(f,e.shiftKey);return;case`ArrowUp`:e.preventDefault(),e.stopPropagation(),r.moveTo(-f,e.shiftKey);return;case`ArrowLeft`:e.preventDefault(),e.stopPropagation(),r.moveTo(-1,e.shiftKey);return;case`ArrowRight`:e.preventDefault(),e.stopPropagation(),r.moveTo(1,e.shiftKey);return}};return(0,V.jsxs)(A,{children:[(0,V.jsx)(M,{asChild:!0,children:(0,V.jsxs)(`div`,{ref:u,role:`grid`,tabIndex:0,"data-testid":`explorer-icons`,"aria-label":`File icons`,onKeyDown:x,onMouseDown:e=>{e.target===e.currentTarget&&r.clear()},className:y(`h-full flex-1 overflow-auto p-2 outline-none`,b.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...c,...b.handlers,children:[v&&(0,V.jsx)(`div`,{className:`mb-2 flex flex-col items-center gap-1 p-2`,style:d?void 0:{width:ur},children:(0,V.jsx)(Z,{initial:``,error:i,onCommit:e=>void n.commitInline(e),onCancel:n.cancelInline})}),(0,V.jsx)(`div`,{className:`relative w-full`,style:{height:m.getTotalSize()},children:m.getVirtualItems().map(s=>{let c=s.index*f,u=t.slice(c,c+f);return(0,V.jsx)(`div`,{role:`row`,className:y(`absolute left-0 top-0 w-full gap-1`,d?`grid grid-cols-3`:`flex`),style:{transform:`translateY(${s.start}px)`},children:u.map(t=>(0,V.jsx)(cr,{entry:t,currentDir:e.path,selected:e.selection.has(t.path),focused:e.anchor===t.path,cut:l?.includes(t.path)===!0,renaming:e.inlineEdit?.kind===`rename`&&e.inlineEdit.path===t.path,tileWidth:d?void 0:ur,menuTargets:e.selection.has(t.path)?_:[t],actions:n,selection:r,hasClipboard:a,isPinned:o,inlineError:i},t.path))},s.index)})}),t.length===0&&!e.loading&&!v&&(0,V.jsx)(`p`,{className:`p-3 text-xs text-text-subtle`,children:e.filter?`No entries match the filter.`:`This folder is empty.`})]})}),(0,V.jsx)(Y,{targets:[],currentDir:e.path,hasClipboard:a,isPinned:o,actions:n})]})}var gr=(0,B.memo)(function(e){let{entry:t,currentDir:n,hasClipboard:r,isPinned:i,actions:a,menuTargets:o}=e,s=Hn({entry:t,dragPaths:(0,B.useMemo)(()=>o.map(e=>e.path),[o]),run:a.transferInto});return(0,V.jsxs)(A,{children:[(0,V.jsx)(M,{asChild:!0,children:(0,V.jsx)(_r,{...e,dnd:s.props,dropActive:s.isDropTarget})}),(0,V.jsx)(Y,{targets:o,currentDir:n,hasClipboard:r,isPinned:i,actions:a})]})}),_r=(0,B.forwardRef)(function({entry:e,selected:t,focused:n,cut:r,renaming:i,height:a,actions:s,selection:c,inlineError:l,currentDir:u,hasClipboard:d,isPinned:f,menuTargets:p,dnd:m,dropActive:h,...g},_){let v=P(()=>{t||c.selectOnly(e.path)}),{isMobile:b,selectMode:x,handleTap:S}=sr(s,c);return(0,V.jsxs)(`div`,{ref:_,...Kn({...g,...v,...m},{role:`row`,"aria-selected":t,"data-testid":`explorer-row`,"data-path":e.path,title:e.name,style:{height:a},onContextMenu:n=>{t||c.selectOnly(e.path),n.stopPropagation()},onClick:n=>{S(e,t)||c.onRowClick(e.path,n)},onDoubleClick:()=>s.openEntry(e),className:y(`flex w-full items-center gap-2 px-2 text-[13px] select-none`,`can-hover:hover:bg-surface-elevated`,n&&!t&&`bg-surface-elevated`,t&&`bg-accent-wash`,r&&`opacity-40`,h&&`ring-1 ring-dashed ring-primary bg-primary/10`)}),children:[b&&x&&(0,V.jsx)(`span`,{"aria-hidden":!0,className:y(`flex size-5 shrink-0 items-center justify-center rounded border`,t?`border-primary bg-primary text-primary-foreground`:`border-border`),children:t&&(0,V.jsx)(o,{className:`size-3.5`})}),(0,V.jsx)(U,{name:e.name,kind:e.kind,className:`size-4`}),i?(0,V.jsx)(Z,{initial:e.name,error:l,onCommit:e=>void s.commitInline(e),onCancel:s.cancelInline}):(0,V.jsx)(`span`,{className:y(`flex-1 truncate`,t?`text-text`:`text-text-2`),children:e.name}),(0,V.jsx)(`span`,{className:`w-20 shrink-0 text-right tabular-nums text-text-subtle`,children:e.type===`directory`?``:ke(e.size)}),(0,V.jsx)(`span`,{className:`hidden w-24 shrink-0 text-right text-text-subtle sm:inline`,children:Ee(e.modified)}),(0,V.jsx)(`span`,{className:`hidden w-16 shrink-0 truncate text-right text-text-subtle md:inline`,children:e.type===`directory`?`Folder`:L(e.name)||`File`})]})}),vr={name:`flex-1 text-left`,size:`w-20 text-right`,modified:`hidden w-24 text-right sm:block`,kind:`hidden w-16 text-right md:block`},yr=q.map(e=>({...e,className:vr[e.key]}));function br({slice:e,entries:t,actions:n,selection:r,inlineError:i,hasClipboard:a,isPinned:o,rowHeight:s,backgroundLongPress:l}){let u=F(e=>e.sort),d=F(e=>e.setPrefs),f=Re(e=>e.clipboard?.operation===`cut`?e.clipboard.paths:null),p=(0,B.useRef)(null);k(p);let m=Ve(),h=Me(),g=ne({count:t.length,getScrollElement:()=>p.current,estimateSize:()=>s,overscan:12}),_=e.anchor?t.findIndex(t=>t.path===e.anchor):-1;(0,B.useEffect)(()=>{_>=0&&g.scrollToIndex(_,{align:`auto`})},[_]);let v=(0,B.useMemo)(()=>X(e,t),[e,t]),b=e.inlineEdit?.kind===`new-file`||e.inlineEdit?.kind===`new-folder`,x=N({targetDir:e.path,run:n.transferInto}),S=e=>d({sort:{key:e,dir:u.key===e&&u.dir===`asc`?`desc`:`asc`}});return(0,V.jsxs)(`div`,{className:`flex h-full min-h-0 flex-col`,children:[(0,V.jsx)(`div`,{role:`row`,className:y(`flex shrink-0 items-center gap-2 border-b border-border bg-[var(--x-toolbar-bg,var(--panel-2))] px-2 py-1 text-[11px] font-medium text-text-subtle`,m.id===`windows`&&`divide-x divide-border`),children:yr.map(e=>(0,V.jsxs)(`button`,{type:`button`,"aria-label":`Sort by ${e.label}`,onClick:()=>S(e.key),className:y(`relative flex items-center gap-0.5 can-hover:hover:text-text`,m.id===`windows`&&e.key!==`name`&&`pl-2`,e.className,e.key!==`name`&&`justify-end`,h&&`before:absolute before:-inset-x-2 before:-inset-y-3 before:content-['']`),children:[e.label,u.key===e.key&&(u.dir===`asc`?(0,V.jsx)(Ie,{className:`size-3`}):(0,V.jsx)(c,{className:`size-3`}))]},e.key))}),(0,V.jsxs)(A,{children:[(0,V.jsx)(M,{asChild:!0,children:(0,V.jsxs)(`div`,{ref:p,role:`grid`,tabIndex:0,"data-testid":`explorer-list`,"aria-label":`File list`,onMouseDown:e=>{e.target===e.currentTarget&&r.clear()},className:y(`flex-1 overflow-auto outline-none`,x.isOver&&`ring-1 ring-dashed ring-primary bg-primary/10`),...l,...x.handlers,children:[b&&(0,V.jsxs)(`div`,{className:`flex items-center gap-2 px-2`,style:{height:s},children:[(0,V.jsx)(`span`,{className:`size-4 shrink-0`}),(0,V.jsx)(Z,{initial:``,error:i,onCommit:e=>void n.commitInline(e),onCancel:n.cancelInline})]}),(0,V.jsx)(`div`,{className:`relative w-full`,style:{height:g.getTotalSize()},children:g.getVirtualItems().map(c=>{let l=t[c.index];return(0,V.jsx)(`div`,{className:y(`absolute left-0 top-0 w-full`,m.id===`macos`&&c.index%2==1&&`bg-panel-2/40`),style:{transform:`translateY(${c.start}px)`},children:(0,V.jsx)(gr,{entry:l,currentDir:e.path,selected:e.selection.has(l.path),focused:e.anchor===l.path,cut:f?.includes(l.path)===!0,renaming:e.inlineEdit?.kind===`rename`&&e.inlineEdit.path===l.path,height:s,menuTargets:e.selection.has(l.path)?v:[l],actions:n,selection:r,hasClipboard:a,isPinned:o,inlineError:i})},l.path)})}),t.length===0&&!e.loading&&!b&&(0,V.jsx)(`p`,{className:`p-3 text-xs text-text-subtle`,children:e.filter?`No entries match the filter.`:`This folder is empty.`})]})}),(0,V.jsx)(Y,{targets:[],currentDir:e.path,hasClipboard:a,isPinned:o,actions:n})]})]})}var xr={list:br,icons:hr,columns:ar},Sr=Object.keys(xr);function Cr(e){return xr[e]??br}var wr={list:ve,icons:rt,columns:nt},Tr={list:`List view`,icons:`Icons view`,columns:`Column view`};function Er({windowId:e,slice:t,nav:n}){let r=F(e=>e.patch),o=F(e=>e.showHidden),s=F(e=>e.viewMode),c=F(e=>e.setPrefs),[l,u]=(0,B.useState)(!1),[d,p]=(0,B.useState)(t.path);(0,B.useEffect)(()=>p(t.path),[t.path]);let m=Me();return(0,V.jsxs)(`div`,{className:`flex shrink-0 flex-wrap items-center gap-1 border-b border-border bg-[var(--x-toolbar-bg,var(--panel-2))] px-1.5 py-1`,children:[(0,V.jsx)(`button`,{type:`button`,"aria-label":`Back`,title:`Back`,disabled:!n.canGoBack,onClick:n.back,className:J(m),children:(0,V.jsx)(i,{className:`size-4`})}),(0,V.jsx)(`button`,{type:`button`,"aria-label":`Forward`,title:`Forward`,disabled:!n.canGoForward,onClick:n.forward,className:J(m),children:(0,V.jsx)(et,{className:`size-4`})}),(0,V.jsx)(`button`,{type:`button`,"aria-label":`Up one level`,title:`Up`,disabled:!t.parent,onClick:n.up,className:J(m),children:(0,V.jsx)(Ce,{className:`size-4`})}),(0,V.jsx)(`button`,{type:`button`,"aria-label":`Refresh`,title:`Refresh`,onClick:n.refresh,className:J(m),children:(0,V.jsx)(Ne,{className:y(`size-4`,t.loading&&`animate-spin`)})}),(0,V.jsxs)(`div`,{className:`flex min-w-[8rem] flex-1 items-center gap-1 rounded border border-border bg-panel px-1`,children:[l?(0,V.jsx)(`input`,{autoFocus:!0,"aria-label":`Path`,value:d,onChange:e=>p(e.target.value),onBlur:()=>u(!1),onKeyDown:e=>{e.stopPropagation(),e.key===`Enter`?(n.go(d.trim()),u(!1)):e.key===`Escape`&&(p(t.path),u(!1))},className:`min-w-0 flex-1 bg-transparent py-1 font-mono text-xs text-text outline-none`}):(0,V.jsx)(In,{crumbs:t.breadcrumbs,onNavigate:n.go,sep:t.sep,className:`flex-1 overflow-hidden py-0.5`}),(0,V.jsx)(`button`,{type:`button`,"aria-label":l?`Show breadcrumb`:`Edit path`,title:l?`Show breadcrumb`:`Edit path`,onClick:()=>u(e=>!e),className:J(m),children:(0,V.jsx)(at,{className:`size-3.5`})})]}),(0,V.jsxs)(`div`,{className:`flex items-center gap-1 rounded border border-border bg-panel px-1`,children:[(0,V.jsx)(Pe,{className:`size-3.5 shrink-0 text-text-subtle`}),(0,V.jsx)(`input`,{"aria-label":`Filter entries`,placeholder:`Filter`,value:t.filter,onChange:t=>r(e,{filter:t.target.value}),onKeyDown:t=>{t.stopPropagation(),t.key===`Escape`&&r(e,{filter:``})},className:`w-24 min-w-0 bg-transparent py-1 text-xs text-text outline-none placeholder:text-text-subtle`}),t.filter&&(0,V.jsx)(`button`,{type:`button`,"aria-label":`Clear filter`,onClick:()=>r(e,{filter:``}),className:J(m),children:(0,V.jsx)(h,{className:`size-3.5`})})]}),Sr.length>1&&Sr.map(e=>{let t=wr[e];return(0,V.jsx)(`button`,{type:`button`,"aria-label":Tr[e],title:Tr[e],"aria-pressed":s===e,onClick:()=>c({viewMode:e}),className:y(J(m),s===e&&`bg-accent-wash text-primary`),children:(0,V.jsx)(t,{className:`size-4`})},e)}),(0,V.jsx)(Vn,{coarse:m}),(0,V.jsx)(`button`,{type:`button`,"aria-label":o?`Hide hidden files`:`Show hidden files`,title:o?`Hide hidden files`:`Show hidden files`,"aria-pressed":o,onClick:()=>c({showHidden:!o}),className:y(J(m),o&&`bg-accent-wash text-primary`),children:o?(0,V.jsx)(f,{className:`size-4`}):(0,V.jsx)(a,{className:`size-4`})})]})}var Dr={list:ve,icons:rt,columns:nt},Or={list:`List`,icons:`Icons`,columns:`Columns`};function kr(e){return{name:e.breadcrumbs[e.breadcrumbs.length-1]?.name??e.path,path:e.path,type:`directory`,kind:`directory`,modified:``}}function Ar({open:e,onClose:t,slice:n,actions:r,entries:i}){let o=F(e=>e.viewMode),s=F(e=>e.sort),c=F(e=>e.showHidden),l=F(e=>e.setPrefs),u=X(n,i);return(0,V.jsxs)(ee,{open:e,onClose:t,className:`p-2`,children:[(0,V.jsx)(C,{children:`View`}),(0,V.jsx)(`div`,{className:`flex gap-1 px-2 pb-2`,children:Sr.map(e=>{let n=Dr[e];return(0,V.jsxs)(`button`,{type:`button`,"aria-pressed":o===e,onClick:()=>{l({viewMode:e}),t()},className:y(`flex flex-1 flex-col items-center gap-1 rounded-lg py-2 text-xs active:bg-surface-elevated`,o===e?`bg-accent-wash text-primary`:`text-text-2`),children:[(0,V.jsx)(n,{className:`size-4`}),Or[e]]},e)})}),(0,V.jsx)(x,{}),(0,V.jsx)(C,{children:`Sort by`}),(0,V.jsx)(`div`,{className:`flex flex-wrap gap-1 px-2 pb-2`,children:q.map(({key:e,label:n})=>(0,V.jsxs)(`button`,{type:`button`,"aria-pressed":s.key===e,onClick:()=>{l({sort:{key:e,dir:s.key===e&&s.dir===`asc`?`desc`:`asc`}}),t()},className:y(`inline-flex min-h-11 items-center justify-center rounded-full border px-3 py-1.5 text-xs active:bg-surface-elevated`,s.key===e?`border-primary bg-accent-wash text-text`:`border-border text-text-2`),children:[n,s.key===e?s.dir===`asc`?` ↑`:` ↓`:``]},e))}),(0,V.jsx)(x,{}),(0,V.jsxs)(w,{onClick:()=>l({showHidden:!c}),children:[c?(0,V.jsx)(f,{className:`size-4`}):(0,V.jsx)(a,{className:`size-4`}),c?`Hide hidden files`:`Show hidden files`]}),(0,V.jsx)(x,{}),(0,V.jsxs)(w,{variant:`destructive`,disabled:u.length===0,onClick:()=>r.confirmPermanentDelete(u),children:[(0,V.jsx)(Qe,{className:`size-4`}),`Delete permanently`,u.length>1?` (${u.length})`:``]}),(0,V.jsxs)(w,{onClick:()=>r.showProperties(kr(n)),children:[(0,V.jsx)(se,{className:`size-4`}),`Properties of this folder`]})]})}function Q({icon:e,label:t,onClick:n,disabled:r,destructive:i}){return(0,V.jsxs)(`button`,{type:`button`,"aria-label":t,title:t,disabled:r,onClick:n,className:`flex min-w-[44px] flex-1 flex-col items-center gap-0.5 rounded-lg py-1.5 text-[10px] active:bg-surface-elevated disabled:opacity-30 ${i?`text-error`:`text-text-2`}`,children:[(0,V.jsx)(e,{className:`size-5`}),(0,V.jsx)(`span`,{className:`truncate`,children:t})]})}function jr({slice:e,nav:t,actions:n,entries:r,hasClipboard:a}){let s=E(e=>e.selectMode),c=E(e=>e.setSelectMode),[l,u]=(0,B.useState)(!1),[f,g]=(0,B.useState)(!1),_=r.filter(t=>e.selection.has(t.path));return s?(0,V.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1 border-t border-border px-1 py-1`,children:[(0,V.jsx)(Q,{icon:h,label:`Cancel`,onClick:()=>{c(!1)}}),(0,V.jsxs)(`span`,{className:`px-1 text-xs text-text-subtle`,children:[_.length,` selected`]}),(0,V.jsx)(`div`,{className:`flex-1`}),(0,V.jsx)(Q,{icon:ot,label:`Cut`,disabled:_.length===0,onClick:()=>n.cut(_)}),(0,V.jsx)(Q,{icon:d,label:`Copy`,disabled:_.length===0,onClick:()=>n.copy(_)}),(0,V.jsx)(Q,{icon:Qe,label:`Trash`,disabled:_.length===0,destructive:!0,onClick:()=>n.trash(_)}),(0,V.jsx)(Q,{icon:p,label:`Download`,disabled:!_.some(e=>e.type===`file`),onClick:()=>n.download(_)}),_.length===1&&(0,V.jsx)(Q,{icon:se,label:`Info`,onClick:()=>n.showProperties(_[0])})]}):(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1 border-t border-border px-1 py-1`,children:[(0,V.jsx)(Q,{icon:i,label:`Back`,disabled:!t.canGoBack,onClick:t.back}),(0,V.jsx)(Q,{icon:m,label:`New`,onClick:()=>u(!0)}),(0,V.jsx)(Q,{icon:qe,label:`Paste`,disabled:!a,onClick:()=>n.paste()}),(0,V.jsx)(Q,{icon:o,label:`Select`,onClick:()=>c(!0)}),(0,V.jsx)(Q,{icon:we,label:`More`,onClick:()=>g(!0)})]}),(0,V.jsxs)(ee,{open:l,onClose:()=>u(!1),className:`p-2`,children:[(0,V.jsxs)(w,{onClick:()=>n.startCreate(`new-file`),children:[(0,V.jsx)(je,{className:`size-4`}),` New File`]}),(0,V.jsxs)(w,{onClick:()=>n.startCreate(`new-folder`),children:[(0,V.jsx)(De,{className:`size-4`}),` New Folder`]})]}),(0,V.jsx)(Ar,{open:f,onClose:()=>g(!1),slice:e,actions:n,entries:r})]})}function Mr(e){return e.breadcrumbs[e.breadcrumbs.length-1]?.name??e.path}function Nr({slice:e,onClose:t}){return(0,V.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 border-b border-border px-3 py-2.5`,children:[(0,V.jsx)(`span`,{className:`min-w-0 flex-1 truncate text-[15px] font-semibold text-text`,children:Mr(e)}),(0,V.jsx)(`button`,{type:`button`,"aria-label":`Close file explorer`,title:`Close`,onClick:t,className:`flex size-11 shrink-0 items-center justify-center rounded-full text-text-2 active:bg-surface-elevated`,children:(0,V.jsx)(h,{className:`size-5`})})]})}var Pr=`size-4 shrink-0 text-text-subtle`,Fr={fixed:R,removable:st,network:it,unknown:R};function Ir(){return(0,V.jsx)(U,{name:``,kind:`directory`,className:Pr})}function $({label:e,path:t,active:n,icon:r,onNavigate:i}){return(0,V.jsxs)(`button`,{type:`button`,title:t,onClick:()=>i(t),className:y(`flex min-h-[44px] w-full items-center gap-2.5 rounded-lg px-3 text-left text-sm active:bg-surface-elevated`,n?`bg-accent-wash text-text`:`text-text-2`),children:[r,(0,V.jsx)(`span`,{className:`truncate`,children:e})]})}function Lr({title:e,children:t}){return(0,V.jsxs)(`div`,{className:`pb-2`,children:[(0,V.jsx)(`p`,{className:`px-3 pb-1 pt-3 text-[11px] font-semibold uppercase tracking-wide text-text-subtle`,children:e}),t]})}function Rr({open:e,onClose:t,host:n,currentPath:r,vocab:i,onNavigate:a}){let o=z(e=>e.pins),s=e=>e===r;return(0,V.jsx)(ee,{open:e,onClose:t,zIndex:65,className:`p-1`,children:(0,V.jsxs)(`div`,{className:`max-h-[70vh] overflow-y-auto px-1 pb-2`,children:[o.length>0&&(0,V.jsx)(Lr,{title:`Pinned`,children:o.map(e=>(0,V.jsx)($,{label:e.name,path:e.path,icon:(0,V.jsx)(T,{className:Pr}),active:s(e.path),onNavigate:a},e.path))}),n&&n.pinned.length>0&&(0,V.jsx)(Lr,{title:i.pinned,children:n.pinned.map(e=>(0,V.jsx)($,{label:e.name,path:e.path,icon:Ir(),active:s(e.path),onNavigate:a},e.path))}),n&&(0,V.jsxs)(Lr,{title:i.known,children:[(0,V.jsx)($,{label:i.home,path:n.homedir,icon:Ir(),active:s(n.homedir),onNavigate:a}),n.knownFolders.map(e=>(0,V.jsx)($,{label:e.name,path:e.path,icon:Ir(),active:s(e.path),onNavigate:a},e.path))]}),n&&n.drives.length>0&&(0,V.jsx)(Lr,{title:i.drives,children:n.drives.map(e=>{let t=Fr[e.kind];return(0,V.jsx)($,{label:e.label?`${e.label} (${e.name})`:e.name,path:e.path,icon:(0,V.jsx)(t,{className:Pr}),active:s(e.path),onNavigate:a},e.path)})})]})})}function zr({className:e}){return(0,V.jsx)(U,{name:``,kind:`directory`,className:e})}var Br={fixed:R,removable:st,network:it,unknown:R};function Vr({chip:e,active:t,onNavigate:n}){let r=e.icon;return(0,V.jsxs)(`button`,{type:`button`,onClick:()=>n(e.path),title:e.path,className:y(`flex h-11 shrink-0 items-center gap-1.5 rounded-full border px-3 text-[13px] active:bg-surface-elevated`,t?`border-primary bg-accent-wash text-text`:`border-border text-text-2`),children:[(0,V.jsx)(r,{className:`size-4 shrink-0 text-text-subtle`}),(0,V.jsx)(`span`,{className:`max-w-[9rem] truncate`,children:e.label})]})}function Hr({host:e,currentPath:t,onNavigate:n,vocab:r}){let i=z(e=>e.pins),[a,o]=(0,B.useState)(!1);return(0,V.jsxs)(V.Fragment,{children:[(0,V.jsxs)(`div`,{className:`flex shrink-0 items-center gap-1.5 overflow-x-auto touch-pan-x border-b border-border px-2 py-1.5`,children:[[...i.map(e=>({key:`pin:${e.path}`,label:e.name,path:e.path,icon:T})),...e?[{key:`home`,label:r.home,path:e.homedir,icon:zr}]:[],...e?.pinned.map(e=>({key:`os:${e.path}`,label:e.name,path:e.path,icon:zr}))??[],...e?.drives.map(e=>({key:`drive:${e.path}`,label:e.label?`${e.label} (${e.name})`:e.name,path:e.path,icon:Br[e.kind]}))??[]].map(e=>(0,V.jsx)(Vr,{chip:e,active:e.path===t,onNavigate:n},e.key)),(0,V.jsx)(`button`,{type:`button`,"aria-label":`All places`,title:`All places`,onClick:()=>o(!0),className:`flex h-11 shrink-0 items-center gap-1 rounded-full border border-border px-3 text-[13px] text-text-2 active:bg-surface-elevated`,children:(0,V.jsx)(we,{className:`size-4`})})]}),(0,V.jsx)(Rr,{open:a,onClose:()=>o(!1),host:e,currentPath:t,vocab:r,onNavigate:e=>{o(!1),n(e)}})]})}function Ur(e,t,n){let r=(0,B.useRef)(null),i=F(e=>e.patch),a=(0,B.useRef)(t?.path??``);a.current=t?.path??``;let o=(0,B.useRef)(n);o.current=n;let s=(0,B.useCallback)(async t=>{r.current?.abort();let n=new AbortController;r.current=n,i(e,{loading:!0,error:null});try{let r=await j.browse(t,{showHidden:o.current,signal:n.signal});if(n.signal.aborted)return;i(e,{entries:r.entries,breadcrumbs:r.breadcrumbs,parent:r.parent,sep:r.sep,truncated:r.truncated===!0,loading:!1,error:null})}catch(t){if(n.signal.aborted||t instanceof DOMException&&t.name===`AbortError`)return;i(e,{loading:!1,entries:[],error:t instanceof Le?{message:t.message,code:t.code,hint:t.hint}:{message:t instanceof Error?t.message:`Failed to read directory`,code:`EUNKNOWN`}})}},[e,i]),c=t?.path;(0,B.useEffect)(()=>{if(c)return s(c),()=>r.current?.abort()},[c,n,s]),(0,B.useEffect)(()=>xe(e=>{e===a.current&&s(e)}),[s]);let l=(0,B.useCallback)((t,n)=>{let r=F.getState().slices[e];if(!r||t===r.path)return;let a=n?.replace?[...r.history.slice(0,r.historyIndex),t]:[...r.history.slice(0,r.historyIndex+1),t];i(e,{path:t,history:a.slice(-100),historyIndex:Math.min(a.length,100)-1,selection:new Set,anchor:null,filter:``,inlineEdit:null}),Ke.getState().setPayload(e,{path:t})},[e,i]),u=(0,B.useCallback)(t=>{let n=F.getState().slices[e];if(!n)return;let r=n.historyIndex+t,a=n.history[r];a!=null&&(i(e,{path:a,historyIndex:r,selection:new Set,anchor:null,filter:``,inlineEdit:null}),Ke.getState().setPayload(e,{path:a}))},[e,i]),d=(0,B.useCallback)(()=>u(-1),[u]),f=(0,B.useCallback)(()=>u(1),[u]),p=(0,B.useCallback)(()=>{let t=F.getState().slices[e];t?.parent&&l(t.parent)},[e,l]),m=(0,B.useCallback)(()=>{a.current&&s(a.current)},[s]),h=(t?.historyIndex??0)>0,g=t?t.historyIndex<t.history.length-1:!1;return(0,B.useMemo)(()=>({go:l,back:d,forward:f,up:p,refresh:m,canGoBack:h,canGoForward:g}),[l,d,f,p,m,h,g])}function Wr(e,t,n){let r=t==null?-1:e.indexOf(t),i=e.indexOf(n);if(i<0)return[];if(r<0)return[n];let[a,o]=r<=i?[r,i]:[i,r];return e.slice(a,o+1)}function Gr(e,t,n){switch(n.type){case`clear`:return{selection:new Set,anchor:null};case`select-all`:return{selection:new Set(t),anchor:e.anchor??t[0]??null};case`set`:return{selection:new Set(n.paths),anchor:n.anchor===void 0?n.paths[n.paths.length-1]??null:n.anchor};case`click`:if(n.ctrl){let t=new Set(e.selection);return t.has(n.path)?t.delete(n.path):t.add(n.path),{selection:t,anchor:n.path}}if(n.shift){let r=Wr(t,e.anchor,n.path);return{selection:new Set(r),anchor:e.anchor??n.path}}return{selection:new Set([n.path]),anchor:n.path}}}function Kr(e,t,n){if(e.length===0)return null;let r=t==null?-1:e.indexOf(t);return r<0?n>0?e[0]:e[e.length-1]:e[Math.min(e.length-1,Math.max(0,r+n))]}function qr(e,t,n){if(!t)return-1;let r=t.toLowerCase(),i=n<0?0:n+1;for(let t=0;t<e.length;t++){let n=(i+t)%e.length;if(e[n].toLowerCase().startsWith(r))return n}return-1}function Jr(e,t){let n=F(e=>e.patch),r=(0,B.useRef)(t);r.current=t;let i=(0,B.useRef)({text:``,at:0}),a=(0,B.useCallback)(t=>{let i=F.getState().slices[e];i&&n(e,Gr(i,r.current,t))},[e,n]),o=(0,B.useCallback)((t,n)=>{let i=F.getState().slices[e];if(!i)return;let o=Kr(r.current,i.anchor,t);o!=null&&a({type:`click`,path:o,shift:n})},[e,a]),s=(0,B.useCallback)(t=>{let n=F.getState().slices[e];if(!n)return null;let o=Date.now(),s=o-i.current.at>800?t:i.current.text+t;i.current={text:s,at:o};let c=r.current,l=qr(c.map(e=>e.split(/[/\\]/).pop()??e),s,s.length===1&&n.anchor?c.indexOf(n.anchor):-1);return l<0?null:(a({type:`click`,path:c[l]}),c[l])},[e,a]),c=(0,B.useCallback)((e,t)=>a({type:`click`,path:e,shift:t.shiftKey,ctrl:t.ctrlKey||t.metaKey}),[a]),l=(0,B.useCallback)(e=>a({type:`click`,path:e}),[a]),u=(0,B.useCallback)(()=>a({type:`select-all`}),[a]),d=(0,B.useCallback)(()=>a({type:`clear`}),[a]),f=(0,B.useCallback)((e,t)=>a({type:`set`,paths:e,anchor:t}),[a]);return(0,B.useMemo)(()=>({onRowClick:c,selectOnly:l,selectAll:u,clear:d,setSelection:f,moveTo:o,typeAhead:s}),[c,l,u,d,f,o,s])}var Yr=28,Xr=36,Zr=48;function Qr({windowId:e,initialPath:t,variant:n=`window`}){let r=F(e=>e.ensure);(0,B.useEffect)(()=>r(e,t),[r,e,t]);let i=F(t=>t.slices[e]),a=F(e=>e.showHidden),o=F(e=>e.viewMode),s=F(e=>e.sort),{host:c}=Oe(),l=Re(e=>(e.clipboard?.paths.length??0)>0),u=z(e=>e.isPinned),d=Me(),f=Ve(),p=Ur(e,i,a),{actions:m,dialogs:h}=Ct(e,i,p,c?.platform),g=(0,B.useMemo)(()=>i?Mn(i.entries,i.filter,s):[],[i?.entries,i?.filter,s]),_=Jr(e,(0,B.useMemo)(()=>g.map(e=>e.path),[g])),v=or({slice:i,entries:g,actions:m,selection:_,nav:p}),y=P(),b=E(e=>e.close);if(!i)return null;let x=Cr(o),S=n===`sheet`,C=S?Zr:d?Xr:Yr;return(0,V.jsxs)(`div`,{"data-skin":f.id,style:{fontFamily:`var(--x-font)`},className:`flex h-full min-h-0 w-full flex-col bg-panel text-text`,children:[S?(0,V.jsxs)(V.Fragment,{children:[(0,V.jsx)(Nr,{slice:i,onClose:b}),(0,V.jsx)(Hr,{host:c,currentPath:i.path,onNavigate:p.go,vocab:f.vocab})]}):(0,V.jsx)(Er,{windowId:e,slice:i,nav:p}),i.error&&(0,V.jsxs)(`div`,{className:`flex items-start gap-2 border-b border-border bg-error/10 px-2 py-1.5 text-xs text-error`,children:[(0,V.jsx)(Ye,{className:`mt-0.5 size-3.5 shrink-0`}),(0,V.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,V.jsx)(`p`,{className:`break-words`,children:i.error.message}),i.error.hint&&(0,V.jsx)(`p`,{className:`mt-0.5 text-text-2`,children:i.error.hint})]}),c&&(0,V.jsxs)(`button`,{type:`button`,onClick:()=>p.go(c.homedir),className:`flex shrink-0 items-center gap-1 rounded border border-border px-1.5 py-0.5 text-text-2 can-hover:hover:bg-surface-elevated`,children:[(0,V.jsx)(Ue,{className:`size-3`}),` Go home`]})]}),(0,V.jsx)(En,{value:{closed:f.FolderIcon,open:f.FolderOpenIcon},children:(0,V.jsxs)(`div`,{className:`flex min-h-0 flex-1`,children:[!S&&(0,V.jsx)(An,{host:c,currentPath:i.path,onNavigate:p.go,vocab:f.vocab}),(0,V.jsx)(`div`,{className:`min-w-0 flex-1`,onKeyDown:v,children:(0,V.jsx)(x,{windowId:e,slice:i,entries:g,actions:m,selection:_,inlineError:h.inlineError,hasClipboard:l,isPinned:u,rowHeight:C,nav:p,backgroundLongPress:y})})]})}),S?(0,V.jsx)(jr,{slice:i,nav:p,actions:m,entries:g,hasClipboard:l}):(0,V.jsx)(Pn,{entries:g,selection:i.selection,truncated:i.truncated}),(0,V.jsx)(be,{dialogs:h,platform:c?.platform,sep:i.sep})]})}export{Qr as t};
|