palettecn 0.1.0
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/dist/index.mjs +10 -0
- package/dist/web/nitro.json +17 -0
- package/dist/web/public/assets/abap-BdvmRIgS.js +1 -0
- package/dist/web/public/assets/actionscript-3-et0rQaqm.js +1 -0
- package/dist/web/public/assets/ada-DPgrustg.js +1 -0
- package/dist/web/public/assets/andromeeda-DJl1yeV_.js +1 -0
- package/dist/web/public/assets/angular-html-Dm7s7tSx.js +1 -0
- package/dist/web/public/assets/angular-ts-B_ywTULt.js +1 -0
- package/dist/web/public/assets/apache-CFpsYX8S.js +1 -0
- package/dist/web/public/assets/apex-CN5n6pbI.js +1 -0
- package/dist/web/public/assets/apl-Dm11wHHc.js +1 -0
- package/dist/web/public/assets/applescript-JrY23hsL.js +1 -0
- package/dist/web/public/assets/ara-DR83hn3A.js +1 -0
- package/dist/web/public/assets/asciidoc-Dpu9XLB1.js +1 -0
- package/dist/web/public/assets/asm-BYI3A31V.js +1 -0
- package/dist/web/public/assets/astro-DP1naDCT.js +1 -0
- package/dist/web/public/assets/aurora-x-Nav5jnoQ.js +1 -0
- package/dist/web/public/assets/awk-BIoTx_w6.js +1 -0
- package/dist/web/public/assets/ayu-dark-H5QV5J7K.js +1 -0
- package/dist/web/public/assets/ayu-light-BrwTNGnU.js +1 -0
- package/dist/web/public/assets/ayu-mirage-Bg6FpF5w.js +1 -0
- package/dist/web/public/assets/ballerina-BFvDNd4T.js +1 -0
- package/dist/web/public/assets/bat-DtQkx7Ny.js +1 -0
- package/dist/web/public/assets/beancount-BIjKALa1.js +1 -0
- package/dist/web/public/assets/berry-BPkDN_EZ.js +1 -0
- package/dist/web/public/assets/bibtex-Dur2CNW6.js +1 -0
- package/dist/web/public/assets/bicep-BMz1bZ7m.js +1 -0
- package/dist/web/public/assets/bird2-91rdr9s7.js +1 -0
- package/dist/web/public/assets/blade-DD5O596X.js +1 -0
- package/dist/web/public/assets/bsl-FmB7U2qd.js +1 -0
- package/dist/web/public/assets/bundle-mjs-Bso3xn9x.js +1 -0
- package/dist/web/public/assets/c-DqqBLLyl.js +1 -0
- package/dist/web/public/assets/c3-CJTbEooS.js +1 -0
- package/dist/web/public/assets/cadence-C0GI7BZZ.js +1 -0
- package/dist/web/public/assets/cairo-B5JMmIC0.js +1 -0
- package/dist/web/public/assets/catppuccin-frappe-D76-cUjK.js +1 -0
- package/dist/web/public/assets/catppuccin-latte-DUHNJ_6_.js +1 -0
- package/dist/web/public/assets/catppuccin-macchiato-CFhPH2wd.js +1 -0
- package/dist/web/public/assets/catppuccin-mocha-BRD0cvUW.js +1 -0
- package/dist/web/public/assets/chunk-FRKYWMV7-DUkk3w4h.js +122 -0
- package/dist/web/public/assets/clarity-KgUVrNfC.js +1 -0
- package/dist/web/public/assets/clojure-BhQuoGIG.js +1 -0
- package/dist/web/public/assets/cmake-CA59gUFQ.js +1 -0
- package/dist/web/public/assets/cobol-CCFShgGZ.js +1 -0
- package/dist/web/public/assets/codeowners-CD36YqjJ.js +1 -0
- package/dist/web/public/assets/codeql-CrMosKUt.js +1 -0
- package/dist/web/public/assets/coffee-C-Mn3tBT.js +1 -0
- package/dist/web/public/assets/common-lisp-DYnOjAFz.js +1 -0
- package/dist/web/public/assets/components-DiZ1dSl3.js +77 -0
- package/dist/web/public/assets/coq-BaHtq3Qt.js +1 -0
- package/dist/web/public/assets/cpp-D8Y73ItU.js +1 -0
- package/dist/web/public/assets/crystal-CnXWqbxx.js +1 -0
- package/dist/web/public/assets/csharp-D6sghVPa.js +1 -0
- package/dist/web/public/assets/css-CUGjdPw_.js +1 -0
- package/dist/web/public/assets/csv-DuxyxUAI.js +1 -0
- package/dist/web/public/assets/cue-D9NRAX0_.js +1 -0
- package/dist/web/public/assets/cypher-HJRdtilF.js +1 -0
- package/dist/web/public/assets/d-B4Ont7_X.js +1 -0
- package/dist/web/public/assets/dark-plus-DZSBycyp.js +1 -0
- package/dist/web/public/assets/dart-Dp4asavE.js +1 -0
- package/dist/web/public/assets/dax-DBUubp6S.js +1 -0
- package/dist/web/public/assets/desktop-DQ0n6zIQ.js +1 -0
- package/dist/web/public/assets/diff-CFHlrffC.js +1 -0
- package/dist/web/public/assets/docker-BuefmsF5.js +1 -0
- package/dist/web/public/assets/dotenv-BKTsUQ_r.js +1 -0
- package/dist/web/public/assets/dracula-MOn9qacs.js +1 -0
- package/dist/web/public/assets/dracula-soft-C4r_sC_D.js +1 -0
- package/dist/web/public/assets/dream-maker-BNdv5lLS.js +1 -0
- package/dist/web/public/assets/edge-C-Mi8Oda.js +1 -0
- package/dist/web/public/assets/elixir-CTS5wQtX.js +1 -0
- package/dist/web/public/assets/elm-rM310x8D.js +1 -0
- package/dist/web/public/assets/emacs-lisp-D9FIGRtM.js +1 -0
- package/dist/web/public/assets/erb-oaGjGVGO.js +1 -0
- package/dist/web/public/assets/erlang-q4Mkyw3m.js +1 -0
- package/dist/web/public/assets/everforest-dark-CNa2QFRn.js +1 -0
- package/dist/web/public/assets/everforest-light-DRbUDqJT.js +1 -0
- package/dist/web/public/assets/fennel-DpqQTaVZ.js +1 -0
- package/dist/web/public/assets/field-1-Ujza0S5j.js +1 -0
- package/dist/web/public/assets/fish-hyk5x6Q4.js +1 -0
- package/dist/web/public/assets/fluent-DMll-MGX.js +1 -0
- package/dist/web/public/assets/fortran-fixed-form-BmdfKovV.js +1 -0
- package/dist/web/public/assets/fortran-free-form-MCAifii4.js +1 -0
- package/dist/web/public/assets/fsharp-DLlBn9Nl.js +1 -0
- package/dist/web/public/assets/gdresource-BzFzBRli.js +1 -0
- package/dist/web/public/assets/gdscript-D3R4J0Cv.js +1 -0
- package/dist/web/public/assets/gdshader-BAubtqqN.js +1 -0
- package/dist/web/public/assets/genie-BnIIX2pC.js +1 -0
- package/dist/web/public/assets/gherkin-CL3NUuB1.js +1 -0
- package/dist/web/public/assets/git-commit-BYPE8h85.js +1 -0
- package/dist/web/public/assets/git-rebase-Bmmgf6eN.js +1 -0
- package/dist/web/public/assets/github-dark-default-C6I2oE4c.js +1 -0
- package/dist/web/public/assets/github-dark-dimmed-DEqwxg6D.js +1 -0
- package/dist/web/public/assets/github-dark-high-contrast-DDt3j0cs.js +1 -0
- package/dist/web/public/assets/github-dark-oLN6SDKl.js +1 -0
- package/dist/web/public/assets/github-light-DaN-N2Gj.js +1 -0
- package/dist/web/public/assets/github-light-default-B3EwMbS7.js +1 -0
- package/dist/web/public/assets/github-light-high-contrast-Cl9D0f_e.js +1 -0
- package/dist/web/public/assets/gleam-Cvj8QRtQ.js +1 -0
- package/dist/web/public/assets/glimmer-js-CahbROb1.js +1 -0
- package/dist/web/public/assets/glimmer-ts-JMFYNbot.js +1 -0
- package/dist/web/public/assets/global-XWAvxWcA.css +2 -0
- package/dist/web/public/assets/glsl-BCuCNM3V.js +1 -0
- package/dist/web/public/assets/gn-DxCHSEMl.js +1 -0
- package/dist/web/public/assets/gnuplot-CkGXHK7B.js +1 -0
- package/dist/web/public/assets/go-B_NLCuTj.js +1 -0
- package/dist/web/public/assets/graphql-RXOfHGfI.js +1 -0
- package/dist/web/public/assets/groovy-DVge8oRs.js +1 -0
- package/dist/web/public/assets/gruvbox-dark-hard-BwZz1yni.js +1 -0
- package/dist/web/public/assets/gruvbox-dark-medium-Bqy6jkuO.js +1 -0
- package/dist/web/public/assets/gruvbox-dark-soft-DjUvyUfH.js +1 -0
- package/dist/web/public/assets/gruvbox-light-hard-BTLmfPdm.js +1 -0
- package/dist/web/public/assets/gruvbox-light-medium-DeWqsWs6.js +1 -0
- package/dist/web/public/assets/gruvbox-light-soft-BL8ld-1F.js +1 -0
- package/dist/web/public/assets/hack-BBQpwyf_.js +1 -0
- package/dist/web/public/assets/haml-mWELc9kh.js +1 -0
- package/dist/web/public/assets/handlebars-COrUo8cC.js +1 -0
- package/dist/web/public/assets/haskell-DRmM8XlQ.js +1 -0
- package/dist/web/public/assets/haxe-BEhq8ZEr.js +1 -0
- package/dist/web/public/assets/hcl-B5ZIaGS0.js +1 -0
- package/dist/web/public/assets/highlighted-body-TPN3WLV5-YJgGFx4e.js +1 -0
- package/dist/web/public/assets/hjson-B9uRLqIO.js +1 -0
- package/dist/web/public/assets/hlsl-Hv1kKjrS.js +1 -0
- package/dist/web/public/assets/horizon-ClXGBjWw.js +1 -0
- package/dist/web/public/assets/horizon-bright-CvUCr3ux.js +1 -0
- package/dist/web/public/assets/houston-NqkqG60q.js +1 -0
- package/dist/web/public/assets/html-cmigv1ou.js +1 -0
- package/dist/web/public/assets/html-derivative-B3me0pSu.js +1 -0
- package/dist/web/public/assets/http-BojM9cyU.js +1 -0
- package/dist/web/public/assets/hurl-BxEmMiGP.js +1 -0
- package/dist/web/public/assets/hxml-CoBuVbfs.js +1 -0
- package/dist/web/public/assets/hy-CeISYGGU.js +1 -0
- package/dist/web/public/assets/imba-xjcDFXUW.js +1 -0
- package/dist/web/public/assets/ini-D0ZCSj6e.js +1 -0
- package/dist/web/public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2 +0 -0
- package/dist/web/public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2 +0 -0
- package/dist/web/public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2 +0 -0
- package/dist/web/public/assets/inter-greek-wght-normal-CkhJZR-_.woff2 +0 -0
- package/dist/web/public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2 +0 -0
- package/dist/web/public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/dist/web/public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2 +0 -0
- package/dist/web/public/assets/java-BvheClGI.js +1 -0
- package/dist/web/public/assets/javascript-DjlJORDg.js +1 -0
- package/dist/web/public/assets/jinja-Bi4sG72X.js +1 -0
- package/dist/web/public/assets/jison-BTz5Ik2Y.js +1 -0
- package/dist/web/public/assets/json-CiTd40Rg.js +1 -0
- package/dist/web/public/assets/json5-FR9EyF7a.js +1 -0
- package/dist/web/public/assets/jsonc-CHIeFfsD.js +1 -0
- package/dist/web/public/assets/jsonl-B4WQkwTf.js +1 -0
- package/dist/web/public/assets/jsonnet-vd-gzGkL.js +1 -0
- package/dist/web/public/assets/jssm-C_bj1LkZ.js +1 -0
- package/dist/web/public/assets/jsx-Bx-RZMFH.js +1 -0
- package/dist/web/public/assets/jsx-runtime-n8k0hwt8.js +1 -0
- package/dist/web/public/assets/julia-BKcIfSxk.js +1 -0
- package/dist/web/public/assets/just-IkZCagAs.js +1 -0
- package/dist/web/public/assets/kanagawa-dragon-B3Cz89vt.js +1 -0
- package/dist/web/public/assets/kanagawa-lotus-CRe_W5Ft.js +1 -0
- package/dist/web/public/assets/kanagawa-wave-BPqZ5XB7.js +1 -0
- package/dist/web/public/assets/kdl-BzL_Ak31.js +1 -0
- package/dist/web/public/assets/kotlin-BQQFk6ql.js +1 -0
- package/dist/web/public/assets/kusto-vWe6OLKV.js +1 -0
- package/dist/web/public/assets/laserwave-CwtvEUcj.js +1 -0
- package/dist/web/public/assets/latex-9N90_WFU.js +1 -0
- package/dist/web/public/assets/lean-CaqenOqv.js +1 -0
- package/dist/web/public/assets/less-CERnPzn6.js +1 -0
- package/dist/web/public/assets/light-plus-B9_M_OKq.js +1 -0
- package/dist/web/public/assets/liquid-CQLPDP7m.js +1 -0
- package/dist/web/public/assets/llvm-BylJXvm7.js +1 -0
- package/dist/web/public/assets/log-CBBcNcbO.js +1 -0
- package/dist/web/public/assets/logo-r-8Jc8Xk.js +1 -0
- package/dist/web/public/assets/lua-BBL6LXKd.js +1 -0
- package/dist/web/public/assets/luau-B2g7L-zP.js +1 -0
- package/dist/web/public/assets/main-0lKVDR64.css +2 -0
- package/dist/web/public/assets/main-CcNf0BOb.js +126 -0
- package/dist/web/public/assets/make-DK-HzJ2w.js +1 -0
- package/dist/web/public/assets/markdown-FgdsukgR.js +1 -0
- package/dist/web/public/assets/marko-CLZwt2N2.js +1 -0
- package/dist/web/public/assets/material-theme-DOJ9PS4O.js +1 -0
- package/dist/web/public/assets/material-theme-darker-DOurH5jT.js +1 -0
- package/dist/web/public/assets/material-theme-lighter-BfPWxCP6.js +1 -0
- package/dist/web/public/assets/material-theme-ocean-BcO5PKoq.js +1 -0
- package/dist/web/public/assets/material-theme-palenight-ClWQBDDd.js +1 -0
- package/dist/web/public/assets/matlab-DwyUVNXd.js +1 -0
- package/dist/web/public/assets/mdc-Bo8CRPg4.js +1 -0
- package/dist/web/public/assets/mdx-3EBShbsD.js +1 -0
- package/dist/web/public/assets/mermaid-ByG2-SLz.js +1 -0
- package/dist/web/public/assets/mermaid-O7DHMXV3-COAgR3aM.js +1 -0
- package/dist/web/public/assets/min-dark-ClJ2x5pc.js +1 -0
- package/dist/web/public/assets/min-light-BsOUz5iE.js +1 -0
- package/dist/web/public/assets/mipsasm-BKDtQCf3.js +1 -0
- package/dist/web/public/assets/mojo-DmEAK7iv.js +1 -0
- package/dist/web/public/assets/monokai-BKc3VADO.js +1 -0
- package/dist/web/public/assets/moonbit-Qm8v_cKN.js +1 -0
- package/dist/web/public/assets/move-CMectUPk.js +1 -0
- package/dist/web/public/assets/narrat-Bdm8NaK8.js +1 -0
- package/dist/web/public/assets/nextflow-BpSt05nC.js +1 -0
- package/dist/web/public/assets/nextflow-groovy-BZ-bqJ-u.js +1 -0
- package/dist/web/public/assets/nginx-ChZL5FWE.js +1 -0
- package/dist/web/public/assets/night-owl-CbFc5pXO.js +1 -0
- package/dist/web/public/assets/night-owl-light-zYbVCVuz.js +1 -0
- package/dist/web/public/assets/nim-5JnPAJWa.js +1 -0
- package/dist/web/public/assets/nix-P5P-2qHs.js +1 -0
- package/dist/web/public/assets/nord-C7hKGudV.js +1 -0
- package/dist/web/public/assets/nushell-DKPnC5RG.js +1 -0
- package/dist/web/public/assets/objective-c-BPwXtM0v.js +1 -0
- package/dist/web/public/assets/objective-cpp-CWYEdWNG.js +1 -0
- package/dist/web/public/assets/ocaml-CL7OJ02v.js +1 -0
- package/dist/web/public/assets/odin-Dtay25eA.js +1 -0
- package/dist/web/public/assets/one-dark-pro-CrdFNNwF.js +1 -0
- package/dist/web/public/assets/one-light-BUiz8X4B.js +1 -0
- package/dist/web/public/assets/openscad-WD4sXUUp.js +1 -0
- package/dist/web/public/assets/pascal-A6-MZnZ8.js +1 -0
- package/dist/web/public/assets/perl-Yq3AfnVV.js +1 -0
- package/dist/web/public/assets/php-CCj0foPx.js +1 -0
- package/dist/web/public/assets/pkl-cmPbg8fI.js +1 -0
- package/dist/web/public/assets/plastic-DtQ_LnDB.js +1 -0
- package/dist/web/public/assets/plsql-DwmuVd7q.js +1 -0
- package/dist/web/public/assets/po-CkVxkZaj.js +1 -0
- package/dist/web/public/assets/poimandres-Dt0xZuaa.js +1 -0
- package/dist/web/public/assets/polar-hStNz_W2.js +1 -0
- package/dist/web/public/assets/postcss-ZIk0AQ7M.js +1 -0
- package/dist/web/public/assets/powerquery-D0gqoHHD.js +1 -0
- package/dist/web/public/assets/powershell-DXB5HoVh.js +1 -0
- package/dist/web/public/assets/prisma-DmTrfxC0.js +1 -0
- package/dist/web/public/assets/prolog-CdoyriEj.js +1 -0
- package/dist/web/public/assets/proto-4MrN11dS.js +1 -0
- package/dist/web/public/assets/pug-svYJKDOQ.js +1 -0
- package/dist/web/public/assets/puppet-MEaLGpAP.js +1 -0
- package/dist/web/public/assets/purescript-CPxCorqB.js +1 -0
- package/dist/web/public/assets/python-f4fp5z0z.js +1 -0
- package/dist/web/public/assets/qml-BzEtWdqI.js +1 -0
- package/dist/web/public/assets/qmldir-DCjSceJ_.js +1 -0
- package/dist/web/public/assets/qss-BdM02NUc.js +1 -0
- package/dist/web/public/assets/r-luosIeJH.js +1 -0
- package/dist/web/public/assets/racket-D2tfa8Zc.js +1 -0
- package/dist/web/public/assets/raku-KeGPJVZg.js +1 -0
- package/dist/web/public/assets/razor-Bokxs4Qx.js +1 -0
- package/dist/web/public/assets/red-C0qZ-1lN.js +1 -0
- package/dist/web/public/assets/reg-DdnswvOj.js +1 -0
- package/dist/web/public/assets/regexp-CYC8h6V9.js +1 -0
- package/dist/web/public/assets/rel-RhzEfSRc.js +1 -0
- package/dist/web/public/assets/riscv-dS5TzX10.js +1 -0
- package/dist/web/public/assets/ron-CQjQSCVp.js +1 -0
- package/dist/web/public/assets/rose-pine-C89ViLdr.js +1 -0
- package/dist/web/public/assets/rose-pine-dawn-Dq2gf0yi.js +1 -0
- package/dist/web/public/assets/rose-pine-moon-CBDvXVs_.js +1 -0
- package/dist/web/public/assets/rosmsg-nvjuSIGu.js +1 -0
- package/dist/web/public/assets/routes-BXqJCOpL.js +542 -0
- package/dist/web/public/assets/rst-1xwvVGf7.js +1 -0
- package/dist/web/public/assets/ruby-Blad-eDx.js +1 -0
- package/dist/web/public/assets/rust-rV8q_xyI.js +1 -0
- package/dist/web/public/assets/sas-DUPWtptg.js +1 -0
- package/dist/web/public/assets/sass-CuxdoNN0.js +1 -0
- package/dist/web/public/assets/scala-Df4L7N3R.js +1 -0
- package/dist/web/public/assets/scheme-DalRmAPH.js +1 -0
- package/dist/web/public/assets/scss-CYQ8LEwP.js +1 -0
- package/dist/web/public/assets/sdbl-B_TmFnGf.js +1 -0
- package/dist/web/public/assets/shaderlab-DYEMDY3e.js +1 -0
- package/dist/web/public/assets/shellscript-DjKZ34ac.js +1 -0
- package/dist/web/public/assets/shellsession-C3kcnBnh.js +1 -0
- package/dist/web/public/assets/slack-dark-ak_jOeLl.js +1 -0
- package/dist/web/public/assets/slack-ochin-ByiYhLwu.js +1 -0
- package/dist/web/public/assets/smalltalk-DTTnjjZJ.js +1 -0
- package/dist/web/public/assets/snazzy-light-BBRYeY60.js +1 -0
- package/dist/web/public/assets/solarized-dark-BtoLnWkw.js +1 -0
- package/dist/web/public/assets/solarized-light-CtzUA7GI.js +1 -0
- package/dist/web/public/assets/solidity-CSIHEQ2t.js +1 -0
- package/dist/web/public/assets/soy-BN0uzUAI.js +1 -0
- package/dist/web/public/assets/sparql-B6k9tA6Q.js +1 -0
- package/dist/web/public/assets/splunk-DkRzN7V_.js +1 -0
- package/dist/web/public/assets/sql-Bx-WX28V.js +1 -0
- package/dist/web/public/assets/ssh-config-Bqp7ng33.js +1 -0
- package/dist/web/public/assets/stata-HAj7doU8.js +1 -0
- package/dist/web/public/assets/stylus-CdbCxDLX.js +1 -0
- package/dist/web/public/assets/surrealql-BkGf0I3k.js +1 -0
- package/dist/web/public/assets/svelte-DtWg6ssL.js +1 -0
- package/dist/web/public/assets/swift-yRu2dtgr.js +1 -0
- package/dist/web/public/assets/synthwave-84-2WIu6MHX.js +1 -0
- package/dist/web/public/assets/system-verilog-GUE_oP1V.js +1 -0
- package/dist/web/public/assets/systemd-FLIJAQZV.js +1 -0
- package/dist/web/public/assets/talonscript-DTR-8ILs.js +1 -0
- package/dist/web/public/assets/tasl-WHNWP-1F.js +1 -0
- package/dist/web/public/assets/tcl-BaBXNNp6.js +1 -0
- package/dist/web/public/assets/templ-Dc9vj00n.js +1 -0
- package/dist/web/public/assets/terraform-uJUFpr8t.js +1 -0
- package/dist/web/public/assets/tex-DA3dAz55.js +1 -0
- package/dist/web/public/assets/tokyo-night-BbogFqAr.js +1 -0
- package/dist/web/public/assets/toml-CyR4Gqq1.js +1 -0
- package/dist/web/public/assets/ts-tags-BD1j21LH.js +1 -0
- package/dist/web/public/assets/tsv-COLVYI6A.js +1 -0
- package/dist/web/public/assets/tsx-CFm2E6uK.js +1 -0
- package/dist/web/public/assets/turtle-PQwt4gkb.js +1 -0
- package/dist/web/public/assets/twig-DrUXy85s.js +1 -0
- package/dist/web/public/assets/typescript-Dy-5sXFx.js +1 -0
- package/dist/web/public/assets/typespec-Bb7qHV0g.js +1 -0
- package/dist/web/public/assets/typst-Bj_JElGz.js +1 -0
- package/dist/web/public/assets/v-BTkrtik4.js +1 -0
- package/dist/web/public/assets/vala-AXT1CI9v.js +1 -0
- package/dist/web/public/assets/vb-DzTKUgW8.js +1 -0
- package/dist/web/public/assets/verilog-aI3j5Xj8.js +1 -0
- package/dist/web/public/assets/vesper-BmnwIC_B.js +1 -0
- package/dist/web/public/assets/vhdl-4IgBB7vO.js +1 -0
- package/dist/web/public/assets/viml-D_XMKSR6.js +1 -0
- package/dist/web/public/assets/vitesse-black-DhmxIXiA.js +1 -0
- package/dist/web/public/assets/vitesse-dark-dvEH_9qt.js +1 -0
- package/dist/web/public/assets/vitesse-light-Ca0W2L1O.js +1 -0
- package/dist/web/public/assets/vue-DC_yTvy2.js +1 -0
- package/dist/web/public/assets/vue-html-Bp8x4gdt.js +1 -0
- package/dist/web/public/assets/vue-vine-ZcUkuUUp.js +1 -0
- package/dist/web/public/assets/vyper-Dz2f7-FK.js +1 -0
- package/dist/web/public/assets/wasm-CuXPCj65.js +1 -0
- package/dist/web/public/assets/wasm-DHkXUMsP.js +1 -0
- package/dist/web/public/assets/wenyan-BRAtM0Iv.js +1 -0
- package/dist/web/public/assets/wgsl-CMpn9jTa.js +1 -0
- package/dist/web/public/assets/wikitext-DRmBVmVA.js +1 -0
- package/dist/web/public/assets/wit-Drp_HLqJ.js +1 -0
- package/dist/web/public/assets/wolfram-C33umj7M.js +1 -0
- package/dist/web/public/assets/xml-BHoOtGbO.js +1 -0
- package/dist/web/public/assets/xsl-CN1PlFqm.js +1 -0
- package/dist/web/public/assets/yaml-DT0mpn8u.js +1 -0
- package/dist/web/public/assets/zenscript-BlYQ_Frf.js +1 -0
- package/dist/web/public/assets/zig-Buk7I0y-.js +1 -0
- package/dist/web/server/_chunks/ssr-renderer.mjs +15 -0
- package/dist/web/server/_libs/@ai-sdk/anthropic+[...].mjs +14021 -0
- package/dist/web/server/_libs/@ai-sdk/moonshotai+[...].mjs +898 -0
- package/dist/web/server/_libs/@ai-sdk/react+[...].mjs +8969 -0
- package/dist/web/server/_libs/@emotion/is-prop-valid+[...].mjs +34 -0
- package/dist/web/server/_libs/@floating-ui/core+[...].mjs +698 -0
- package/dist/web/server/_libs/@floating-ui/dom+[...].mjs +644 -0
- package/dist/web/server/_libs/@floating-ui/react-dom+[...].mjs +475 -0
- package/dist/web/server/_libs/@lobehub/icons+[...].mjs +3079 -0
- package/dist/web/server/_libs/@radix-ui/react-arrow+[...].mjs +184 -0
- package/dist/web/server/_libs/@radix-ui/react-collapsible+[...].mjs +374 -0
- package/dist/web/server/_libs/@radix-ui/react-dialog+[...].mjs +1503 -0
- package/dist/web/server/_libs/@radix-ui/react-menu+[...].mjs +1236 -0
- package/dist/web/server/_libs/@radix-ui/react-select+[...].mjs +1007 -0
- package/dist/web/server/_libs/@shikijs/core+[...].mjs +9017 -0
- package/dist/web/server/_libs/@shikijs/engine-javascript+[...].mjs +3159 -0
- package/dist/web/server/_libs/@streamdown/math+[...].mjs +37559 -0
- package/dist/web/server/_libs/@tanstack/react-router+[...].mjs +14074 -0
- package/dist/web/server/_libs/_.mjs +3 -0
- package/dist/web/server/_libs/_2.mjs +3 -0
- package/dist/web/server/_libs/_3.mjs +2 -0
- package/dist/web/server/_libs/_4.mjs +2 -0
- package/dist/web/server/_libs/ai-sdk__gateway+vercel__oidc.mjs +1255 -0
- package/dist/web/server/_libs/ai-sdk__google.mjs +1630 -0
- package/dist/web/server/_libs/ai-sdk__openai+zod.mjs +4951 -0
- package/dist/web/server/_libs/ai-sdk__provider-utils.mjs +411 -0
- package/dist/web/server/_libs/ai-sdk__provider.mjs +222 -0
- package/dist/web/server/_libs/bail.mjs +13 -0
- package/dist/web/server/_libs/character-entities.mjs +2135 -0
- package/dist/web/server/_libs/class-variance-authority+clsx.mjs +69 -0
- package/dist/web/server/_libs/color+[...].mjs +2185 -0
- package/dist/web/server/_libs/copy-text-to-clipboard.mjs +40 -0
- package/dist/web/server/_libs/d3-array.mjs +231 -0
- package/dist/web/server/_libs/d3-color.mjs +330 -0
- package/dist/web/server/_libs/d3-format.mjs +252 -0
- package/dist/web/server/_libs/d3-interpolate.mjs +207 -0
- package/dist/web/server/_libs/d3-path.mjs +77 -0
- package/dist/web/server/_libs/d3-scale+[...].mjs +1907 -0
- package/dist/web/server/_libs/d3-shape.mjs +818 -0
- package/dist/web/server/_libs/date-fns.mjs +3012 -0
- package/dist/web/server/_libs/date-fns__tz.mjs +249 -0
- package/dist/web/server/_libs/decimal.js-light.mjs +884 -0
- package/dist/web/server/_libs/decode-named-character-reference+[...].mjs +19 -0
- package/dist/web/server/_libs/dexie.mjs +3745 -0
- package/dist/web/server/_libs/escape-string-regexp.mjs +7 -0
- package/dist/web/server/_libs/estree-util-is-identifier-name.mjs +20 -0
- package/dist/web/server/_libs/eventemitter3.mjs +237 -0
- package/dist/web/server/_libs/extend.mjs +75 -0
- package/dist/web/server/_libs/fast-equals.mjs +423 -0
- package/dist/web/server/_libs/framer-motion+[...].mjs +9573 -0
- package/dist/web/server/_libs/fuzzysort.mjs +621 -0
- package/dist/web/server/_libs/h3+rou3+srvx.mjs +1158 -0
- package/dist/web/server/_libs/hast-util-raw+[...].mjs +800 -0
- package/dist/web/server/_libs/hast-util-sanitize.mjs +780 -0
- package/dist/web/server/_libs/hast-util-to-jsx-runtime+[...].mjs +853 -0
- package/dist/web/server/_libs/hookable.mjs +41 -0
- package/dist/web/server/_libs/html-url-attributes.mjs +44 -0
- package/dist/web/server/_libs/is-plain-obj.mjs +8 -0
- package/dist/web/server/_libs/lodash.mjs +4532 -0
- package/dist/web/server/_libs/lucide-react.mjs +605 -0
- package/dist/web/server/_libs/markdown-table.mjs +289 -0
- package/dist/web/server/_libs/marked.mjs +1511 -0
- package/dist/web/server/_libs/mdast-util-find-and-replace.mjs +198 -0
- package/dist/web/server/_libs/mdast-util-from-markdown+[...].mjs +8121 -0
- package/dist/web/server/_libs/mdast-util-gfm+[...].mjs +2060 -0
- package/dist/web/server/_libs/mdast-util-to-hast+[...].mjs +1770 -0
- package/dist/web/server/_libs/micromark-extension-gfm+[...].mjs +2235 -0
- package/dist/web/server/_libs/nanoid.mjs +26 -0
- package/dist/web/server/_libs/next-themes.mjs +124 -0
- package/dist/web/server/_libs/prop-types.mjs +69 -0
- package/dist/web/server/_libs/radix-ui__number.mjs +6 -0
- package/dist/web/server/_libs/radix-ui__primitive.mjs +9 -0
- package/dist/web/server/_libs/radix-ui__react-collection.mjs +80 -0
- package/dist/web/server/_libs/radix-ui__react-direction.mjs +11 -0
- package/dist/web/server/_libs/radix-ui__react-label.mjs +23 -0
- package/dist/web/server/_libs/radix-ui__react-menubar.mjs +400 -0
- package/dist/web/server/_libs/radix-ui__react-popover.mjs +251 -0
- package/dist/web/server/_libs/radix-ui__react-progress.mjs +81 -0
- package/dist/web/server/_libs/radix-ui__react-scroll-area.mjs +669 -0
- package/dist/web/server/_libs/radix-ui__react-separator.mjs +32 -0
- package/dist/web/server/_libs/radix-ui__react-slider.mjs +464 -0
- package/dist/web/server/_libs/radix-ui__react-switch.mjs +120 -0
- package/dist/web/server/_libs/radix-ui__react-tabs.mjs +145 -0
- package/dist/web/server/_libs/radix-ui__react-tooltip.mjs +494 -0
- package/dist/web/server/_libs/react-day-picker.mjs +3510 -0
- package/dist/web/server/_libs/react-is.mjs +48 -0
- package/dist/web/server/_libs/react-resizable-panels.mjs +1517 -0
- package/dist/web/server/_libs/react-smooth.mjs +1024 -0
- package/dist/web/server/_libs/recharts+[...].mjs +12998 -0
- package/dist/web/server/_libs/rehype-harden.mjs +210 -0
- package/dist/web/server/_libs/rehype-raw.mjs +37 -0
- package/dist/web/server/_libs/rehype-sanitize.mjs +27 -0
- package/dist/web/server/_libs/remark-gfm.mjs +34 -0
- package/dist/web/server/_libs/remark-parse.mjs +37 -0
- package/dist/web/server/_libs/remark-rehype.mjs +169 -0
- package/dist/web/server/_libs/remend.mjs +544 -0
- package/dist/web/server/_libs/scule.mjs +55 -0
- package/dist/web/server/_libs/shiki+streamdown__code.mjs +1748 -0
- package/dist/web/server/_libs/shiki.mjs +16 -0
- package/dist/web/server/_libs/shikijs__engine-oniguruma.mjs +387 -0
- package/dist/web/server/_libs/shikijs__langs.mjs +1357 -0
- package/dist/web/server/_libs/shikijs__themes.mjs +268 -0
- package/dist/web/server/_libs/sonner.mjs +909 -0
- package/dist/web/server/_libs/streamdown+[...].mjs +5842 -0
- package/dist/web/server/_libs/tanstack__history.mjs +342 -0
- package/dist/web/server/_libs/tanstack__query-core.mjs +2073 -0
- package/dist/web/server/_libs/tanstack__react-query.mjs +146 -0
- package/dist/web/server/_libs/tanstack__router-core.mjs +6 -0
- package/dist/web/server/_libs/tanstack__zod-adapter.mjs +16 -0
- package/dist/web/server/_libs/ufo.mjs +64 -0
- package/dist/web/server/_libs/ungap__structured-clone.mjs +197 -0
- package/dist/web/server/_libs/use-stick-to-bottom.mjs +410 -0
- package/dist/web/server/_libs/vercel__oidc.mjs +393 -0
- package/dist/web/server/_libs/zhipu-ai-provider.mjs +13483 -0
- package/dist/web/server/_libs/zustand.mjs +48 -0
- package/dist/web/server/_runtime.mjs +35 -0
- package/dist/web/server/_ssr/components-BzCiScpA.mjs +1452 -0
- package/dist/web/server/_ssr/dist-3Mu7PF0n.mjs +137 -0
- package/dist/web/server/_ssr/dist-BRaLXgxZ.mjs +17 -0
- package/dist/web/server/_ssr/field-1-agM60DBf.mjs +167 -0
- package/dist/web/server/_ssr/get-providers-BoYkp0Of.mjs +40 -0
- package/dist/web/server/_ssr/initialize-provider-B6W8V5Eg.mjs +19 -0
- package/dist/web/server/_ssr/model-list-CDFjdz2P.mjs +60 -0
- package/dist/web/server/_ssr/router-BmmOCtJZ.mjs +168 -0
- package/dist/web/server/_ssr/routes-CvlpZK4Q.mjs +2630 -0
- package/dist/web/server/_ssr/schemas-DsZ5O3zp.mjs +67 -0
- package/dist/web/server/_ssr/send-message-DUT1vRvx.mjs +135 -0
- package/dist/web/server/_ssr/ssr.mjs +5253 -0
- package/dist/web/server/_ssr/start-rewezkfD.mjs +4 -0
- package/dist/web/server/_ssr/submit-key-CcCv6-yy.mjs +62 -0
- package/dist/web/server/_ssr/suggestions-B0Uc3p7F.mjs +38 -0
- package/dist/web/server/_ssr/use-providers-Bwqg2U3N.mjs +1554 -0
- package/dist/web/server/_tanstack-start-manifest_v-BMIvh4y6.mjs +60 -0
- package/dist/web/server/index.mjs +2531 -0
- package/dist/web/server/node_modules/tslib/modules/index.js +70 -0
- package/dist/web/server/node_modules/tslib/modules/package.json +3 -0
- package/dist/web/server/node_modules/tslib/package.json +47 -0
- package/dist/web/server/node_modules/tslib/tslib.js +484 -0
- package/package.json +32 -0
|
@@ -0,0 +1,475 @@
|
|
|
1
|
+
import { i as __toESM, t as __commonJSMin } from "../../_runtime.mjs";
|
|
2
|
+
import { u as require_react } from "../@ai-sdk/react+[...].mjs";
|
|
3
|
+
import { a as hide$1, c as shift$1, i as flip$1, l as size$1, o as limitShift$1, r as computePosition, s as offset$1, t as arrow$2 } from "./dom+[...].mjs";
|
|
4
|
+
//#region ../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.production.js
|
|
5
|
+
/**
|
|
6
|
+
* @license React
|
|
7
|
+
* react-dom.production.js
|
|
8
|
+
*
|
|
9
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE file in the root directory of this source tree.
|
|
13
|
+
*/
|
|
14
|
+
var require_react_dom_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
15
|
+
var React = require_react();
|
|
16
|
+
function formatProdErrorMessage(code) {
|
|
17
|
+
var url = "https://react.dev/errors/" + code;
|
|
18
|
+
if (1 < arguments.length) {
|
|
19
|
+
url += "?args[]=" + encodeURIComponent(arguments[1]);
|
|
20
|
+
for (var i = 2; i < arguments.length; i++) url += "&args[]=" + encodeURIComponent(arguments[i]);
|
|
21
|
+
}
|
|
22
|
+
return "Minified React error #" + code + "; visit " + url + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
23
|
+
}
|
|
24
|
+
function noop() {}
|
|
25
|
+
var Internals = {
|
|
26
|
+
d: {
|
|
27
|
+
f: noop,
|
|
28
|
+
r: function() {
|
|
29
|
+
throw Error(formatProdErrorMessage(522));
|
|
30
|
+
},
|
|
31
|
+
D: noop,
|
|
32
|
+
C: noop,
|
|
33
|
+
L: noop,
|
|
34
|
+
m: noop,
|
|
35
|
+
X: noop,
|
|
36
|
+
S: noop,
|
|
37
|
+
M: noop
|
|
38
|
+
},
|
|
39
|
+
p: 0,
|
|
40
|
+
findDOMNode: null
|
|
41
|
+
}, REACT_PORTAL_TYPE = Symbol.for("react.portal");
|
|
42
|
+
function createPortal$1(children, containerInfo, implementation) {
|
|
43
|
+
var key = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
|
|
44
|
+
return {
|
|
45
|
+
$$typeof: REACT_PORTAL_TYPE,
|
|
46
|
+
key: null == key ? null : "" + key,
|
|
47
|
+
children,
|
|
48
|
+
containerInfo,
|
|
49
|
+
implementation
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
var ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
53
|
+
function getCrossOriginStringAs(as, input) {
|
|
54
|
+
if ("font" === as) return "";
|
|
55
|
+
if ("string" === typeof input) return "use-credentials" === input ? input : "";
|
|
56
|
+
}
|
|
57
|
+
exports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = Internals;
|
|
58
|
+
exports.createPortal = function(children, container) {
|
|
59
|
+
var key = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
|
|
60
|
+
if (!container || 1 !== container.nodeType && 9 !== container.nodeType && 11 !== container.nodeType) throw Error(formatProdErrorMessage(299));
|
|
61
|
+
return createPortal$1(children, container, null, key);
|
|
62
|
+
};
|
|
63
|
+
exports.flushSync = function(fn) {
|
|
64
|
+
var previousTransition = ReactSharedInternals.T, previousUpdatePriority = Internals.p;
|
|
65
|
+
try {
|
|
66
|
+
if (ReactSharedInternals.T = null, Internals.p = 2, fn) return fn();
|
|
67
|
+
} finally {
|
|
68
|
+
ReactSharedInternals.T = previousTransition, Internals.p = previousUpdatePriority, Internals.d.f();
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
exports.preconnect = function(href, options) {
|
|
72
|
+
"string" === typeof href && (options ? (options = options.crossOrigin, options = "string" === typeof options ? "use-credentials" === options ? options : "" : void 0) : options = null, Internals.d.C(href, options));
|
|
73
|
+
};
|
|
74
|
+
exports.prefetchDNS = function(href) {
|
|
75
|
+
"string" === typeof href && Internals.d.D(href);
|
|
76
|
+
};
|
|
77
|
+
exports.preinit = function(href, options) {
|
|
78
|
+
if ("string" === typeof href && options && "string" === typeof options.as) {
|
|
79
|
+
var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin), integrity = "string" === typeof options.integrity ? options.integrity : void 0, fetchPriority = "string" === typeof options.fetchPriority ? options.fetchPriority : void 0;
|
|
80
|
+
"style" === as ? Internals.d.S(href, "string" === typeof options.precedence ? options.precedence : void 0, {
|
|
81
|
+
crossOrigin,
|
|
82
|
+
integrity,
|
|
83
|
+
fetchPriority
|
|
84
|
+
}) : "script" === as && Internals.d.X(href, {
|
|
85
|
+
crossOrigin,
|
|
86
|
+
integrity,
|
|
87
|
+
fetchPriority,
|
|
88
|
+
nonce: "string" === typeof options.nonce ? options.nonce : void 0
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
};
|
|
92
|
+
exports.preinitModule = function(href, options) {
|
|
93
|
+
if ("string" === typeof href) if ("object" === typeof options && null !== options) {
|
|
94
|
+
if (null == options.as || "script" === options.as) {
|
|
95
|
+
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
|
|
96
|
+
Internals.d.M(href, {
|
|
97
|
+
crossOrigin,
|
|
98
|
+
integrity: "string" === typeof options.integrity ? options.integrity : void 0,
|
|
99
|
+
nonce: "string" === typeof options.nonce ? options.nonce : void 0
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
} else options ?? Internals.d.M(href);
|
|
103
|
+
};
|
|
104
|
+
exports.preload = function(href, options) {
|
|
105
|
+
if ("string" === typeof href && "object" === typeof options && null !== options && "string" === typeof options.as) {
|
|
106
|
+
var as = options.as, crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
|
|
107
|
+
Internals.d.L(href, as, {
|
|
108
|
+
crossOrigin,
|
|
109
|
+
integrity: "string" === typeof options.integrity ? options.integrity : void 0,
|
|
110
|
+
nonce: "string" === typeof options.nonce ? options.nonce : void 0,
|
|
111
|
+
type: "string" === typeof options.type ? options.type : void 0,
|
|
112
|
+
fetchPriority: "string" === typeof options.fetchPriority ? options.fetchPriority : void 0,
|
|
113
|
+
referrerPolicy: "string" === typeof options.referrerPolicy ? options.referrerPolicy : void 0,
|
|
114
|
+
imageSrcSet: "string" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,
|
|
115
|
+
imageSizes: "string" === typeof options.imageSizes ? options.imageSizes : void 0,
|
|
116
|
+
media: "string" === typeof options.media ? options.media : void 0
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
exports.preloadModule = function(href, options) {
|
|
121
|
+
if ("string" === typeof href) if (options) {
|
|
122
|
+
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
|
|
123
|
+
Internals.d.m(href, {
|
|
124
|
+
as: "string" === typeof options.as && "script" !== options.as ? options.as : void 0,
|
|
125
|
+
crossOrigin,
|
|
126
|
+
integrity: "string" === typeof options.integrity ? options.integrity : void 0
|
|
127
|
+
});
|
|
128
|
+
} else Internals.d.m(href);
|
|
129
|
+
};
|
|
130
|
+
exports.requestFormReset = function(form) {
|
|
131
|
+
Internals.d.r(form);
|
|
132
|
+
};
|
|
133
|
+
exports.unstable_batchedUpdates = function(fn, a) {
|
|
134
|
+
return fn(a);
|
|
135
|
+
};
|
|
136
|
+
exports.useFormState = function(action, initialState, permalink) {
|
|
137
|
+
return ReactSharedInternals.H.useFormState(action, initialState, permalink);
|
|
138
|
+
};
|
|
139
|
+
exports.useFormStatus = function() {
|
|
140
|
+
return ReactSharedInternals.H.useHostTransitionStatus();
|
|
141
|
+
};
|
|
142
|
+
exports.version = "19.2.4";
|
|
143
|
+
}));
|
|
144
|
+
//#endregion
|
|
145
|
+
//#region ../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/index.js
|
|
146
|
+
var require_react_dom = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
147
|
+
function checkDCE() {
|
|
148
|
+
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === "undefined" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== "function") return;
|
|
149
|
+
try {
|
|
150
|
+
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
|
|
151
|
+
} catch (err) {
|
|
152
|
+
console.error(err);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
checkDCE();
|
|
156
|
+
module.exports = require_react_dom_production();
|
|
157
|
+
}));
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region ../../node_modules/.pnpm/@floating-ui+react-dom@2.1.8_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs
|
|
160
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
161
|
+
var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
|
|
162
|
+
var index = typeof document !== "undefined" ? import_react.useLayoutEffect : function noop() {};
|
|
163
|
+
function deepEqual(a, b) {
|
|
164
|
+
if (a === b) return true;
|
|
165
|
+
if (typeof a !== typeof b) return false;
|
|
166
|
+
if (typeof a === "function" && a.toString() === b.toString()) return true;
|
|
167
|
+
let length;
|
|
168
|
+
let i;
|
|
169
|
+
let keys;
|
|
170
|
+
if (a && b && typeof a === "object") {
|
|
171
|
+
if (Array.isArray(a)) {
|
|
172
|
+
length = a.length;
|
|
173
|
+
if (length !== b.length) return false;
|
|
174
|
+
for (i = length; i-- !== 0;) if (!deepEqual(a[i], b[i])) return false;
|
|
175
|
+
return true;
|
|
176
|
+
}
|
|
177
|
+
keys = Object.keys(a);
|
|
178
|
+
length = keys.length;
|
|
179
|
+
if (length !== Object.keys(b).length) return false;
|
|
180
|
+
for (i = length; i-- !== 0;) if (!{}.hasOwnProperty.call(b, keys[i])) return false;
|
|
181
|
+
for (i = length; i-- !== 0;) {
|
|
182
|
+
const key = keys[i];
|
|
183
|
+
if (key === "_owner" && a.$$typeof) continue;
|
|
184
|
+
if (!deepEqual(a[key], b[key])) return false;
|
|
185
|
+
}
|
|
186
|
+
return true;
|
|
187
|
+
}
|
|
188
|
+
return a !== a && b !== b;
|
|
189
|
+
}
|
|
190
|
+
function getDPR(element) {
|
|
191
|
+
if (typeof window === "undefined") return 1;
|
|
192
|
+
return (element.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
193
|
+
}
|
|
194
|
+
function roundByDPR(element, value) {
|
|
195
|
+
const dpr = getDPR(element);
|
|
196
|
+
return Math.round(value * dpr) / dpr;
|
|
197
|
+
}
|
|
198
|
+
function useLatestRef(value) {
|
|
199
|
+
const ref = import_react.useRef(value);
|
|
200
|
+
index(() => {
|
|
201
|
+
ref.current = value;
|
|
202
|
+
});
|
|
203
|
+
return ref;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Provides data to position a floating element.
|
|
207
|
+
* @see https://floating-ui.com/docs/useFloating
|
|
208
|
+
*/
|
|
209
|
+
function useFloating(options) {
|
|
210
|
+
if (options === void 0) options = {};
|
|
211
|
+
const { placement = "bottom", strategy = "absolute", middleware = [], platform, elements: { reference: externalReference, floating: externalFloating } = {}, transform = true, whileElementsMounted, open } = options;
|
|
212
|
+
const [data, setData] = import_react.useState({
|
|
213
|
+
x: 0,
|
|
214
|
+
y: 0,
|
|
215
|
+
strategy,
|
|
216
|
+
placement,
|
|
217
|
+
middlewareData: {},
|
|
218
|
+
isPositioned: false
|
|
219
|
+
});
|
|
220
|
+
const [latestMiddleware, setLatestMiddleware] = import_react.useState(middleware);
|
|
221
|
+
if (!deepEqual(latestMiddleware, middleware)) setLatestMiddleware(middleware);
|
|
222
|
+
const [_reference, _setReference] = import_react.useState(null);
|
|
223
|
+
const [_floating, _setFloating] = import_react.useState(null);
|
|
224
|
+
const setReference = import_react.useCallback((node) => {
|
|
225
|
+
if (node !== referenceRef.current) {
|
|
226
|
+
referenceRef.current = node;
|
|
227
|
+
_setReference(node);
|
|
228
|
+
}
|
|
229
|
+
}, []);
|
|
230
|
+
const setFloating = import_react.useCallback((node) => {
|
|
231
|
+
if (node !== floatingRef.current) {
|
|
232
|
+
floatingRef.current = node;
|
|
233
|
+
_setFloating(node);
|
|
234
|
+
}
|
|
235
|
+
}, []);
|
|
236
|
+
const referenceEl = externalReference || _reference;
|
|
237
|
+
const floatingEl = externalFloating || _floating;
|
|
238
|
+
const referenceRef = import_react.useRef(null);
|
|
239
|
+
const floatingRef = import_react.useRef(null);
|
|
240
|
+
const dataRef = import_react.useRef(data);
|
|
241
|
+
const hasWhileElementsMounted = whileElementsMounted != null;
|
|
242
|
+
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
243
|
+
const platformRef = useLatestRef(platform);
|
|
244
|
+
const openRef = useLatestRef(open);
|
|
245
|
+
const update = import_react.useCallback(() => {
|
|
246
|
+
if (!referenceRef.current || !floatingRef.current) return;
|
|
247
|
+
const config = {
|
|
248
|
+
placement,
|
|
249
|
+
strategy,
|
|
250
|
+
middleware: latestMiddleware
|
|
251
|
+
};
|
|
252
|
+
if (platformRef.current) config.platform = platformRef.current;
|
|
253
|
+
computePosition(referenceRef.current, floatingRef.current, config).then((data) => {
|
|
254
|
+
const fullData = {
|
|
255
|
+
...data,
|
|
256
|
+
isPositioned: openRef.current !== false
|
|
257
|
+
};
|
|
258
|
+
if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
|
|
259
|
+
dataRef.current = fullData;
|
|
260
|
+
import_react_dom.flushSync(() => {
|
|
261
|
+
setData(fullData);
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
}, [
|
|
266
|
+
latestMiddleware,
|
|
267
|
+
placement,
|
|
268
|
+
strategy,
|
|
269
|
+
platformRef,
|
|
270
|
+
openRef
|
|
271
|
+
]);
|
|
272
|
+
index(() => {
|
|
273
|
+
if (open === false && dataRef.current.isPositioned) {
|
|
274
|
+
dataRef.current.isPositioned = false;
|
|
275
|
+
setData((data) => ({
|
|
276
|
+
...data,
|
|
277
|
+
isPositioned: false
|
|
278
|
+
}));
|
|
279
|
+
}
|
|
280
|
+
}, [open]);
|
|
281
|
+
const isMountedRef = import_react.useRef(false);
|
|
282
|
+
index(() => {
|
|
283
|
+
isMountedRef.current = true;
|
|
284
|
+
return () => {
|
|
285
|
+
isMountedRef.current = false;
|
|
286
|
+
};
|
|
287
|
+
}, []);
|
|
288
|
+
index(() => {
|
|
289
|
+
if (referenceEl) referenceRef.current = referenceEl;
|
|
290
|
+
if (floatingEl) floatingRef.current = floatingEl;
|
|
291
|
+
if (referenceEl && floatingEl) {
|
|
292
|
+
if (whileElementsMountedRef.current) return whileElementsMountedRef.current(referenceEl, floatingEl, update);
|
|
293
|
+
update();
|
|
294
|
+
}
|
|
295
|
+
}, [
|
|
296
|
+
referenceEl,
|
|
297
|
+
floatingEl,
|
|
298
|
+
update,
|
|
299
|
+
whileElementsMountedRef,
|
|
300
|
+
hasWhileElementsMounted
|
|
301
|
+
]);
|
|
302
|
+
const refs = import_react.useMemo(() => ({
|
|
303
|
+
reference: referenceRef,
|
|
304
|
+
floating: floatingRef,
|
|
305
|
+
setReference,
|
|
306
|
+
setFloating
|
|
307
|
+
}), [setReference, setFloating]);
|
|
308
|
+
const elements = import_react.useMemo(() => ({
|
|
309
|
+
reference: referenceEl,
|
|
310
|
+
floating: floatingEl
|
|
311
|
+
}), [referenceEl, floatingEl]);
|
|
312
|
+
const floatingStyles = import_react.useMemo(() => {
|
|
313
|
+
const initialStyles = {
|
|
314
|
+
position: strategy,
|
|
315
|
+
left: 0,
|
|
316
|
+
top: 0
|
|
317
|
+
};
|
|
318
|
+
if (!elements.floating) return initialStyles;
|
|
319
|
+
const x = roundByDPR(elements.floating, data.x);
|
|
320
|
+
const y = roundByDPR(elements.floating, data.y);
|
|
321
|
+
if (transform) return {
|
|
322
|
+
...initialStyles,
|
|
323
|
+
transform: "translate(" + x + "px, " + y + "px)",
|
|
324
|
+
...getDPR(elements.floating) >= 1.5 && { willChange: "transform" }
|
|
325
|
+
};
|
|
326
|
+
return {
|
|
327
|
+
position: strategy,
|
|
328
|
+
left: x,
|
|
329
|
+
top: y
|
|
330
|
+
};
|
|
331
|
+
}, [
|
|
332
|
+
strategy,
|
|
333
|
+
transform,
|
|
334
|
+
elements.floating,
|
|
335
|
+
data.x,
|
|
336
|
+
data.y
|
|
337
|
+
]);
|
|
338
|
+
return import_react.useMemo(() => ({
|
|
339
|
+
...data,
|
|
340
|
+
update,
|
|
341
|
+
refs,
|
|
342
|
+
elements,
|
|
343
|
+
floatingStyles
|
|
344
|
+
}), [
|
|
345
|
+
data,
|
|
346
|
+
update,
|
|
347
|
+
refs,
|
|
348
|
+
elements,
|
|
349
|
+
floatingStyles
|
|
350
|
+
]);
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Provides data to position an inner element of the floating element so that it
|
|
354
|
+
* appears centered to the reference element.
|
|
355
|
+
* This wraps the core `arrow` middleware to allow React refs as the element.
|
|
356
|
+
* @see https://floating-ui.com/docs/arrow
|
|
357
|
+
*/
|
|
358
|
+
var arrow$1 = (options) => {
|
|
359
|
+
function isRef(value) {
|
|
360
|
+
return {}.hasOwnProperty.call(value, "current");
|
|
361
|
+
}
|
|
362
|
+
return {
|
|
363
|
+
name: "arrow",
|
|
364
|
+
options,
|
|
365
|
+
fn(state) {
|
|
366
|
+
const { element, padding } = typeof options === "function" ? options(state) : options;
|
|
367
|
+
if (element && isRef(element)) {
|
|
368
|
+
if (element.current != null) return arrow$2({
|
|
369
|
+
element: element.current,
|
|
370
|
+
padding
|
|
371
|
+
}).fn(state);
|
|
372
|
+
return {};
|
|
373
|
+
}
|
|
374
|
+
if (element) return arrow$2({
|
|
375
|
+
element,
|
|
376
|
+
padding
|
|
377
|
+
}).fn(state);
|
|
378
|
+
return {};
|
|
379
|
+
}
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
/**
|
|
383
|
+
* Modifies the placement by translating the floating element along the
|
|
384
|
+
* specified axes.
|
|
385
|
+
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
386
|
+
* object may be passed.
|
|
387
|
+
* @see https://floating-ui.com/docs/offset
|
|
388
|
+
*/
|
|
389
|
+
var offset = (options, deps) => {
|
|
390
|
+
const result = offset$1(options);
|
|
391
|
+
return {
|
|
392
|
+
name: result.name,
|
|
393
|
+
fn: result.fn,
|
|
394
|
+
options: [options, deps]
|
|
395
|
+
};
|
|
396
|
+
};
|
|
397
|
+
/**
|
|
398
|
+
* Optimizes the visibility of the floating element by shifting it in order to
|
|
399
|
+
* keep it in view when it will overflow the clipping boundary.
|
|
400
|
+
* @see https://floating-ui.com/docs/shift
|
|
401
|
+
*/
|
|
402
|
+
var shift = (options, deps) => {
|
|
403
|
+
const result = shift$1(options);
|
|
404
|
+
return {
|
|
405
|
+
name: result.name,
|
|
406
|
+
fn: result.fn,
|
|
407
|
+
options: [options, deps]
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
/**
|
|
411
|
+
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
412
|
+
*/
|
|
413
|
+
var limitShift = (options, deps) => {
|
|
414
|
+
return {
|
|
415
|
+
fn: limitShift$1(options).fn,
|
|
416
|
+
options: [options, deps]
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
/**
|
|
420
|
+
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
421
|
+
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
422
|
+
* clipping boundary. Alternative to `autoPlacement`.
|
|
423
|
+
* @see https://floating-ui.com/docs/flip
|
|
424
|
+
*/
|
|
425
|
+
var flip = (options, deps) => {
|
|
426
|
+
const result = flip$1(options);
|
|
427
|
+
return {
|
|
428
|
+
name: result.name,
|
|
429
|
+
fn: result.fn,
|
|
430
|
+
options: [options, deps]
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
/**
|
|
434
|
+
* Provides data that allows you to change the size of the floating element —
|
|
435
|
+
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
436
|
+
* width of the reference element.
|
|
437
|
+
* @see https://floating-ui.com/docs/size
|
|
438
|
+
*/
|
|
439
|
+
var size = (options, deps) => {
|
|
440
|
+
const result = size$1(options);
|
|
441
|
+
return {
|
|
442
|
+
name: result.name,
|
|
443
|
+
fn: result.fn,
|
|
444
|
+
options: [options, deps]
|
|
445
|
+
};
|
|
446
|
+
};
|
|
447
|
+
/**
|
|
448
|
+
* Provides data to hide the floating element in applicable situations, such as
|
|
449
|
+
* when it is not in the same clipping context as the reference element.
|
|
450
|
+
* @see https://floating-ui.com/docs/hide
|
|
451
|
+
*/
|
|
452
|
+
var hide = (options, deps) => {
|
|
453
|
+
const result = hide$1(options);
|
|
454
|
+
return {
|
|
455
|
+
name: result.name,
|
|
456
|
+
fn: result.fn,
|
|
457
|
+
options: [options, deps]
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
/**
|
|
461
|
+
* Provides data to position an inner element of the floating element so that it
|
|
462
|
+
* appears centered to the reference element.
|
|
463
|
+
* This wraps the core `arrow` middleware to allow React refs as the element.
|
|
464
|
+
* @see https://floating-ui.com/docs/arrow
|
|
465
|
+
*/
|
|
466
|
+
var arrow = (options, deps) => {
|
|
467
|
+
const result = arrow$1(options);
|
|
468
|
+
return {
|
|
469
|
+
name: result.name,
|
|
470
|
+
fn: result.fn,
|
|
471
|
+
options: [options, deps]
|
|
472
|
+
};
|
|
473
|
+
};
|
|
474
|
+
//#endregion
|
|
475
|
+
export { offset as a, useFloating as c, limitShift as i, require_react_dom as l, flip as n, shift as o, hide as r, size as s, arrow as t };
|