@pubinfo-pr/devtools 0.189.2 → 0.204.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/dist/client/assets/{server-router-lMc2o_SM.js → core-DZ0_U_pO.js} +440 -4314
- package/dist/client/assets/css-D-vtiAqw.js +2 -0
- package/dist/client/assets/engine-oniguruma-Cxk0otvy.js +392 -0
- package/dist/client/assets/{fetch-ivePQGil.js → fetch-Df05JmPt.js} +111 -125
- package/dist/client/assets/html-74krLQbR.js +2 -0
- package/dist/client/assets/{html-Bieo8lKA.js → html-Tu6OX5Eq.js} +1 -1
- package/dist/client/assets/{index-Co6hzA6u.css → index-Blntvu93.css} +1 -1
- package/dist/client/assets/{index-D1hS5xpb.js → index-Cn9-H915.js} +986 -870
- package/dist/client/assets/json-WgRhEAOB.js +2 -0
- package/dist/client/assets/{pages-bp1a9NBa.js → pages-BdQpgtx4.js} +4 -4
- package/dist/client/assets/{server-router-BiZSSnZD.css → server-router-8PynUpe5.css} +2 -2
- package/dist/client/assets/server-router-BHD-n_Wi.js +2261 -0
- package/dist/client/assets/typescript-C5tShSk5.js +2 -0
- package/dist/client/assets/vue-Be3tcD1h.js +27 -0
- package/dist/client/index.html +2 -2
- package/dist/dirs.mjs +3 -0
- package/dist/{index.js → index.mjs} +2 -2
- package/dist/panel/{index.js → index.mjs} +3 -3
- package/package.json +19 -19
- package/dist/client/assets/abap-C4yRz_Vm.js +0 -2
- package/dist/client/assets/actionscript-3-CKZBsEJ7.js +0 -2
- package/dist/client/assets/ada-C3S8BVqd.js +0 -2
- package/dist/client/assets/andromeeda--PyjP4Vw.js +0 -2
- package/dist/client/assets/angular-html-Cn84m4r6.js +0 -2
- package/dist/client/assets/angular-html-DMAfzvoK.js +0 -22
- package/dist/client/assets/angular-ts-Bmg_Yndu.js +0 -21
- package/dist/client/assets/apache-CcuXWvTQ.js +0 -2
- package/dist/client/assets/apex-CDLJR-L-.js +0 -2
- package/dist/client/assets/apl-BV2Pqeyz.js +0 -15
- package/dist/client/assets/applescript-LAEuNJUm.js +0 -2
- package/dist/client/assets/ara-DarDo4Rh.js +0 -2
- package/dist/client/assets/asciidoc-B6fvDPBR.js +0 -2
- package/dist/client/assets/asm-BhHPpHEe.js +0 -2
- package/dist/client/assets/astro-Bv3Ci3Ef.js +0 -17
- package/dist/client/assets/aurora-x-Dd5GiV6c.js +0 -2
- package/dist/client/assets/awk-brgpYH3W.js +0 -2
- package/dist/client/assets/ayu-dark-CxG_4pQO.js +0 -2
- package/dist/client/assets/ballerina-Dgbivx-S.js +0 -2
- package/dist/client/assets/bat-tWFkNZJc.js +0 -2
- package/dist/client/assets/beancount-Tyb60Wcr.js +0 -2
- package/dist/client/assets/berry-DUxqu-Yw.js +0 -2
- package/dist/client/assets/bibtex-BPtnjAmG.js +0 -2
- package/dist/client/assets/bicep-CGLW9Upz.js +0 -2
- package/dist/client/assets/blade-CLAuu2bN.js +0 -19
- package/dist/client/assets/bsl-VyzHF-R4.js +0 -4
- package/dist/client/assets/c-DXXaAAzT.js +0 -2
- package/dist/client/assets/c-D_IBjAfc.js +0 -2
- package/dist/client/assets/cadence-CUT5CLY6.js +0 -2
- package/dist/client/assets/cairo-DuZF6whY.js +0 -4
- package/dist/client/assets/catppuccin-frappe-HeBtbi6Y.js +0 -2
- package/dist/client/assets/catppuccin-latte-BG-xrhIb.js +0 -2
- package/dist/client/assets/catppuccin-macchiato-DnRSgXl3.js +0 -2
- package/dist/client/assets/catppuccin-mocha-yXSPF4nl.js +0 -2
- package/dist/client/assets/clarity-DqSC35SX.js +0 -2
- package/dist/client/assets/clojure-BZtS8UQS.js +0 -2
- package/dist/client/assets/cmake-o2KFVZsk.js +0 -2
- package/dist/client/assets/cobol-BHLrWv6w.js +0 -9
- package/dist/client/assets/codeowners-tdICZVC5.js +0 -2
- package/dist/client/assets/codeql-BZid4SQS.js +0 -2
- package/dist/client/assets/coffee-C5___ngf.js +0 -4
- package/dist/client/assets/common-lisp-DIm6wDvc.js +0 -2
- package/dist/client/assets/coq-CwPY4Eyo.js +0 -2
- package/dist/client/assets/cpp-B7t2k5-5.js +0 -19
- package/dist/client/assets/cpp-BM5VrcWq.js +0 -2
- package/dist/client/assets/crystal-C8Dwwy6W.js +0 -17
- package/dist/client/assets/csharp-DH3zrwKA.js +0 -2
- package/dist/client/assets/css-FkBLLRUu.js +0 -2
- package/dist/client/assets/csv-DXn8kTD7.js +0 -2
- package/dist/client/assets/cue-3XLcXtdk.js +0 -2
- package/dist/client/assets/cypher-BC872mTV.js +0 -2
- package/dist/client/assets/d-DGFFiwLE.js +0 -2
- package/dist/client/assets/dark-plus-D-GJgvtj.js +0 -2
- package/dist/client/assets/dart-CWKC80aE.js +0 -2
- package/dist/client/assets/dax-bvEEbNAK.js +0 -2
- package/dist/client/assets/desktop-XhOYrgrI.js +0 -2
- package/dist/client/assets/diff-U-x6iVIx.js +0 -2
- package/dist/client/assets/docker-B7cyRvbG.js +0 -2
- package/dist/client/assets/dotenv-D_9fGa07.js +0 -2
- package/dist/client/assets/dracula-BISwCS2n.js +0 -2
- package/dist/client/assets/dracula-soft-WhTQpJ81.js +0 -2
- package/dist/client/assets/dream-maker-Bdm7BhsZ.js +0 -2
- package/dist/client/assets/edge-BL7B074g.js +0 -11
- package/dist/client/assets/elixir-BeYNyax5.js +0 -4
- package/dist/client/assets/elm-rybyhq4V.js +0 -4
- package/dist/client/assets/emacs-lisp-Cy-_xiO2.js +0 -2
- package/dist/client/assets/erb-Dvs8j3zz.js +0 -9
- package/dist/client/assets/erlang-CWJ5EBhz.js +0 -4
- package/dist/client/assets/everforest-dark-d3qrbHMi.js +0 -2
- package/dist/client/assets/everforest-light-D0My6uss.js +0 -2
- package/dist/client/assets/fennel-BNqS--y3.js +0 -2
- package/dist/client/assets/fish-BBnq9bEt.js +0 -2
- package/dist/client/assets/fluent-oY7_tZF8.js +0 -2
- package/dist/client/assets/fortran-fixed-form-0peVr9Yb.js +0 -4
- package/dist/client/assets/fortran-free-form-BEQ27g3E.js +0 -2
- package/dist/client/assets/fsharp-BOj5a2vM.js +0 -4
- package/dist/client/assets/gdresource-Ch1u7SF7.js +0 -9
- package/dist/client/assets/gdscript-BhhtywAa.js +0 -2
- package/dist/client/assets/gdshader-BDnAJwOj.js +0 -2
- package/dist/client/assets/genie-Cd2lLzpm.js +0 -2
- package/dist/client/assets/gherkin-CwXypCQe.js +0 -2
- package/dist/client/assets/git-commit-CFfXzer2.js +0 -4
- package/dist/client/assets/git-rebase-DG0qmgCf.js +0 -4
- package/dist/client/assets/github-dark-DN66FzyL.js +0 -2
- package/dist/client/assets/github-dark-default-DQvsk902.js +0 -2
- package/dist/client/assets/github-dark-dimmed-Njf4dUfx.js +0 -2
- package/dist/client/assets/github-dark-high-contrast-BQnmPqTu.js +0 -2
- package/dist/client/assets/github-light-default-BrZf7E_d.js +0 -2
- package/dist/client/assets/github-light-gaCYdU0_.js +0 -2
- package/dist/client/assets/github-light-high-contrast-DJM0D1FU.js +0 -2
- package/dist/client/assets/gleam-Dfph-OFw.js +0 -2
- package/dist/client/assets/glimmer-js-DxVMOGMY.js +0 -13
- package/dist/client/assets/glimmer-ts-CPM08s8U.js +0 -13
- package/dist/client/assets/glsl-416x4rq0.js +0 -4
- package/dist/client/assets/glsl-Dt1TVrzb.js +0 -2
- package/dist/client/assets/gnuplot-BdTyKzf-.js +0 -2
- package/dist/client/assets/go-BCxV4YsM.js +0 -2
- package/dist/client/assets/graphql-CcseMMny.js +0 -2
- package/dist/client/assets/graphql-D3vBqXJE.js +0 -13
- package/dist/client/assets/groovy-Cy7l6UGB.js +0 -2
- package/dist/client/assets/gruvbox-dark-hard-DZatEion.js +0 -2
- package/dist/client/assets/gruvbox-dark-medium-6l84Vseq.js +0 -2
- package/dist/client/assets/gruvbox-dark-soft-CjCWiqUJ.js +0 -2
- package/dist/client/assets/gruvbox-light-hard-Ci9ZMVVA.js +0 -2
- package/dist/client/assets/gruvbox-light-medium-vuFc7IgU.js +0 -2
- package/dist/client/assets/gruvbox-light-soft-BMc7AIW5.js +0 -2
- package/dist/client/assets/hack-Dne48p1m.js +0 -9
- package/dist/client/assets/haml-D-tmAqdp.js +0 -9
- package/dist/client/assets/haml-DoXvVBFP.js +0 -2
- package/dist/client/assets/handlebars-Jfc88P1Q.js +0 -13
- package/dist/client/assets/haskell-CB6gNPpR.js +0 -2
- package/dist/client/assets/haxe-Cbrtif6E.js +0 -2
- package/dist/client/assets/hcl-gkV_38jF.js +0 -2
- package/dist/client/assets/hjson-Bt79zj56.js +0 -2
- package/dist/client/assets/hlsl-Cq-bbtEM.js +0 -2
- package/dist/client/assets/houston-B50hvrbm.js +0 -2
- package/dist/client/assets/html-Crtt6vRf.js +0 -2
- package/dist/client/assets/html-derivative-5ylkdQOk.js +0 -4
- package/dist/client/assets/html-derivative-KSsgXIhX.js +0 -2
- package/dist/client/assets/http-ChH5xHQK.js +0 -13
- package/dist/client/assets/hurl-10MML7cL.js +0 -11
- package/dist/client/assets/hxml-tJu5NW0B.js +0 -4
- package/dist/client/assets/hy-Be9tp-ZM.js +0 -2
- package/dist/client/assets/imba-B-QVb_a4.js +0 -2
- package/dist/client/assets/ini-CQJRLei8.js +0 -2
- package/dist/client/assets/java-C-daPB_o.js +0 -2
- package/dist/client/assets/java-Cs-EdD8w.js +0 -2
- package/dist/client/assets/jinja-B6ZjKqt-.js +0 -6
- package/dist/client/assets/jison-hgxzSL4P.js +0 -4
- package/dist/client/assets/json-CZvQXtwG.js +0 -2
- package/dist/client/assets/json5-D0C1B7l9.js +0 -2
- package/dist/client/assets/jsonc-B0f0uTR-.js +0 -2
- package/dist/client/assets/jsonl-rrn3pXpA.js +0 -2
- package/dist/client/assets/jsonnet-DWKQ3es7.js +0 -2
- package/dist/client/assets/jssm-BPKNebRE.js +0 -2
- package/dist/client/assets/jsx--Vhk3JR0.js +0 -2
- package/dist/client/assets/jsx-BPBfDC8G.js +0 -2
- package/dist/client/assets/julia-Bl_xQs5i.js +0 -15
- package/dist/client/assets/kanagawa-dragon-BNh5Br7k.js +0 -2
- package/dist/client/assets/kanagawa-lotus-BBsJOMvi.js +0 -2
- package/dist/client/assets/kanagawa-wave-ouS5fij6.js +0 -2
- package/dist/client/assets/kdl-F0m2ZhAD.js +0 -2
- package/dist/client/assets/kotlin-La5Qv-cP.js +0 -2
- package/dist/client/assets/kusto-t2Fo0FVP.js +0 -2
- package/dist/client/assets/laserwave-DYFEyShp.js +0 -2
- package/dist/client/assets/latex-BHqYCFCs.js +0 -4
- package/dist/client/assets/lean-DLusw1eC.js +0 -2
- package/dist/client/assets/less-C9jqjrjf.js +0 -2
- package/dist/client/assets/light-plus-CroBFUPD.js +0 -2
- package/dist/client/assets/liquid-CWSQtxRO.js +0 -13
- package/dist/client/assets/llvm-Do8PimHF.js +0 -2
- package/dist/client/assets/log-DcUikSJo.js +0 -2
- package/dist/client/assets/logo-BbssGAy6.js +0 -2
- package/dist/client/assets/lua-BOayniRF.js +0 -4
- package/dist/client/assets/lua-DmBLQvwZ.js +0 -2
- package/dist/client/assets/luau-CLP6V1lC.js +0 -2
- package/dist/client/assets/make-CH096rgi.js +0 -2
- package/dist/client/assets/markdown-CEnXrHFM.js +0 -2
- package/dist/client/assets/marko-g1H15jhu.js +0 -13
- package/dist/client/assets/material-theme-Dj-QIsXM.js +0 -2
- package/dist/client/assets/material-theme-darker-BquH-FBp.js +0 -2
- package/dist/client/assets/material-theme-lighter-C7x4dAbs.js +0 -2
- package/dist/client/assets/material-theme-ocean-BtlX7ouJ.js +0 -2
- package/dist/client/assets/material-theme-palenight-Up2QRioJ.js +0 -2
- package/dist/client/assets/matlab-C8-OBOXt.js +0 -2
- package/dist/client/assets/mdc-X-Q62jZE.js +0 -11
- package/dist/client/assets/mdx-9O-a3QeT.js +0 -2
- package/dist/client/assets/mermaid-BbwNpgQZ.js +0 -2
- package/dist/client/assets/min-dark-2_-s08D1.js +0 -2
- package/dist/client/assets/min-light-DldaIPDx.js +0 -2
- package/dist/client/assets/mipsasm-Cw0tctoa.js +0 -2
- package/dist/client/assets/mojo-B1_s-UsE.js +0 -2
- package/dist/client/assets/monokai-Cl9qFpjv.js +0 -2
- package/dist/client/assets/move-Bj6Zb8y4.js +0 -2
- package/dist/client/assets/narrat-CmcwvZwb.js +0 -2
- package/dist/client/assets/nextflow-C8b_RKlg.js +0 -2
- package/dist/client/assets/nginx-DZc9-Tp6.js +0 -4
- package/dist/client/assets/night-owl-B5V1WZkp.js +0 -2
- package/dist/client/assets/nim-7v2Y99DS.js +0 -19
- package/dist/client/assets/nix-BwXsP5pA.js +0 -2
- package/dist/client/assets/nord-Btx7uc0u.js +0 -2
- package/dist/client/assets/nushell-BtZNOG2q.js +0 -2
- package/dist/client/assets/objective-c-BemUaH4e.js +0 -2
- package/dist/client/assets/objective-cpp-DlBDqgG3.js +0 -2
- package/dist/client/assets/ocaml-CJb6Uk1q.js +0 -2
- package/dist/client/assets/one-dark-pro-lexsOLIl.js +0 -2
- package/dist/client/assets/one-light-B8VjztUu.js +0 -2
- package/dist/client/assets/pascal-DlgTpK5e.js +0 -2
- package/dist/client/assets/perl-BeVMkbag.js +0 -15
- package/dist/client/assets/php-C6iKy-Ct.js +0 -17
- package/dist/client/assets/pkl-Di_e35rA.js +0 -2
- package/dist/client/assets/plastic-BZOIXfgJ.js +0 -2
- package/dist/client/assets/plsql-onDHxOm7.js +0 -2
- package/dist/client/assets/po-y_cLFUS0.js +0 -2
- package/dist/client/assets/poimandres-BiZZscc4.js +0 -2
- package/dist/client/assets/polar-CHjSLFFr.js +0 -2
- package/dist/client/assets/postcss-CX2EaU1R.js +0 -2
- package/dist/client/assets/powerquery-oxPwTqud.js +0 -2
- package/dist/client/assets/powershell-B0zZnlEM.js +0 -2
- package/dist/client/assets/prisma-ZOIUNjhk.js +0 -2
- package/dist/client/assets/prolog-n_5l0qJw.js +0 -2
- package/dist/client/assets/proto-B4oN1zyC.js +0 -2
- package/dist/client/assets/pug-C2f4TGT8.js +0 -11
- package/dist/client/assets/puppet-D6RdqmmO.js +0 -2
- package/dist/client/assets/purescript-uD8x65wA.js +0 -2
- package/dist/client/assets/python-DhGWz8au.js +0 -2
- package/dist/client/assets/qml-XUmYl05X.js +0 -4
- package/dist/client/assets/qmldir-DMBYbgER.js +0 -2
- package/dist/client/assets/qss-0YYw7rH_.js +0 -2
- package/dist/client/assets/r-3G2Sa7Lt.js +0 -2
- package/dist/client/assets/r-j_8gjFkr.js +0 -2
- package/dist/client/assets/racket--4VV2q-z.js +0 -2
- package/dist/client/assets/raku-CGJzHQNZ.js +0 -2
- package/dist/client/assets/razor-CylxxiO_.js +0 -9
- package/dist/client/assets/red-9ZL-7q2K.js +0 -2
- package/dist/client/assets/reg-Bm98aNob.js +0 -2
- package/dist/client/assets/regexp-BPcLhQg6.js +0 -2
- package/dist/client/assets/regexp-DhxLCx4Q.js +0 -2
- package/dist/client/assets/rel-ByZY4xG9.js +0 -2
- package/dist/client/assets/riscv-NyBqTLqf.js +0 -2
- package/dist/client/assets/rose-pine-BOSxnGL0.js +0 -2
- package/dist/client/assets/rose-pine-dawn-Bid2Zry0.js +0 -2
- package/dist/client/assets/rose-pine-moon-BC-OrH_E.js +0 -2
- package/dist/client/assets/rosmsg-Bp817qPt.js +0 -2
- package/dist/client/assets/rst-C9F4xiBz.js +0 -21
- package/dist/client/assets/ruby-DEIXHl5I.js +0 -29
- package/dist/client/assets/rust-C7nEo4AU.js +0 -2
- package/dist/client/assets/sas-CCRtK_GG.js +0 -4
- package/dist/client/assets/sass-DVup--Ip.js +0 -2
- package/dist/client/assets/scala-DGN7vr-3.js +0 -2
- package/dist/client/assets/scheme-DiWp84R_.js +0 -2
- package/dist/client/assets/scss-B8KTULjf.js +0 -2
- package/dist/client/assets/scss-CW08jUJu.js +0 -4
- package/dist/client/assets/sdbl-cYh-3vef.js +0 -2
- package/dist/client/assets/shaderlab-D7WlLOHH.js +0 -4
- package/dist/client/assets/shellscript-BPygS74z.js +0 -2
- package/dist/client/assets/shellscript-UjHQny9Z.js +0 -2
- package/dist/client/assets/shellsession-CDps1aZr.js +0 -4
- package/dist/client/assets/slack-dark-BrTliQeh.js +0 -2
- package/dist/client/assets/slack-ochin-CNWqQ7tu.js +0 -2
- package/dist/client/assets/smalltalk-BR3Rc3FQ.js +0 -2
- package/dist/client/assets/snazzy-light-BzYZd1LT.js +0 -2
- package/dist/client/assets/solarized-dark-C2rK4QQr.js +0 -2
- package/dist/client/assets/solarized-light-C2OUqawP.js +0 -2
- package/dist/client/assets/solidity-CEMyxnr-.js +0 -2
- package/dist/client/assets/soy-C2BR-KXG.js +0 -4
- package/dist/client/assets/sparql-BR-folLj.js +0 -4
- package/dist/client/assets/splunk-DltYhNgS.js +0 -2
- package/dist/client/assets/sql-Cq-9x9KN.js +0 -2
- package/dist/client/assets/sql-VyWTpbEC.js +0 -2
- package/dist/client/assets/ssh-config-DcyfvJBR.js +0 -2
- package/dist/client/assets/stata-BqtFlCjT.js +0 -4
- package/dist/client/assets/stylus-q8BlsKAR.js +0 -2
- package/dist/client/assets/svelte-syJa_SYv.js +0 -13
- package/dist/client/assets/swift-CXYuMLSq.js +0 -2
- package/dist/client/assets/synthwave-84-CTJAFRYu.js +0 -2
- package/dist/client/assets/system-verilog-ByZAK7jW.js +0 -2
- package/dist/client/assets/systemd-B-jaYYZt.js +0 -2
- package/dist/client/assets/talonscript-dVxmeTiZ.js +0 -2
- package/dist/client/assets/tasl-Dbo9haLk.js +0 -2
- package/dist/client/assets/tcl-TCXACfIo.js +0 -2
- package/dist/client/assets/templ-Bn7XEiq4.js +0 -11
- package/dist/client/assets/terraform-u83YSQWU.js +0 -2
- package/dist/client/assets/tex-A3DsLgBt.js +0 -4
- package/dist/client/assets/tokyo-night-BYFrqgEu.js +0 -2
- package/dist/client/assets/toml-CdHGk6CD.js +0 -2
- package/dist/client/assets/ts-tags-DS6YXVjU.js +0 -47
- package/dist/client/assets/tsv-CG8xqyDf.js +0 -2
- package/dist/client/assets/tsx-CtGp4mPG.js +0 -2
- package/dist/client/assets/tsx-D8ovzp-F.js +0 -2
- package/dist/client/assets/turtle-BR5cmI8X.js +0 -2
- package/dist/client/assets/twig-Bs73rqSt.js +0 -17
- package/dist/client/assets/typescript-8wVgZc72.js +0 -2
- package/dist/client/assets/typespec-1Ft3a0J2.js +0 -2
- package/dist/client/assets/typst-Bxkj5bxp.js +0 -2
- package/dist/client/assets/v-Iwj7EXF-.js +0 -2
- package/dist/client/assets/vala-CZEJpdXE.js +0 -2
- package/dist/client/assets/vb-DGJXK2m2.js +0 -2
- package/dist/client/assets/verilog-B0z1nW7x.js +0 -2
- package/dist/client/assets/vesper-DCEWjXOj.js +0 -2
- package/dist/client/assets/vhdl-D-H8gNu8.js +0 -2
- package/dist/client/assets/viml-BhuF_Zk_.js +0 -2
- package/dist/client/assets/vitesse-black-DvuZKsyv.js +0 -2
- package/dist/client/assets/vue-D0gzEcGR.js +0 -26
- package/dist/client/assets/vue-html-DZ7mz5hW.js +0 -9
- package/dist/client/assets/vue-vine-OrllDKqt.js +0 -19
- package/dist/client/assets/vyper-BrlMwrCX.js +0 -2
- package/dist/client/assets/wasm-DowiYQZZ.js +0 -2
- package/dist/client/assets/wenyan-CTq8bTW-.js +0 -2
- package/dist/client/assets/wgsl-CXboDnow.js +0 -2
- package/dist/client/assets/wikitext-B149YDlp.js +0 -2
- package/dist/client/assets/wit-ZgolYj9k.js +0 -2
- package/dist/client/assets/wolfram-DgdmCw3o.js +0 -2
- package/dist/client/assets/xml-B_PekTMZ.js +0 -4
- package/dist/client/assets/xml-Bs5cbwVm.js +0 -2
- package/dist/client/assets/xsl-BGwkM6bU.js +0 -4
- package/dist/client/assets/yaml-5uKUGHTB.js +0 -2
- package/dist/client/assets/yaml-Df3gGNfW.js +0 -2
- package/dist/client/assets/zenscript-Cb7SjAom.js +0 -2
- package/dist/client/assets/zig-EXcHINRa.js +0 -2
- package/dist/dirs.js +0 -3
- /package/dist/client/assets/{css-C4ljcP-J.js → css-DbgpCiOq.js} +0 -0
- /package/dist/client/assets/{javascript-0fjGG2XX.js → javascript-QnJdw8u5.js} +0 -0
- /package/dist/client/assets/{json-txB7NGmR.js → json-CzPoZe0r.js} +0 -0
- /package/dist/client/assets/{typescript-BiIPZBKd.js → typescript-BEfC8S_c.js} +0 -0
- /package/dist/client/assets/{vitesse-dark-CQ-7ZO72.js → vitesse-dark-Bz6RXfkV.js} +0 -0
- /package/dist/client/assets/{vitesse-light-BnsOKvoJ.js → vitesse-light-NvDlvJl2.js} +0 -0
- /package/dist/client/assets/{wasm-CDzXCmZQ.js → wasm-D0Echd05.js} +0 -0
- /package/dist/{constants.d.ts → constants.d.mts} +0 -0
- /package/dist/{constants.js → constants.mjs} +0 -0
- /package/dist/{dirs.d.ts → dirs.d.mts} +0 -0
- /package/dist/{dirs2.js → dirs2.mjs} +0 -0
- /package/dist/{index.d.ts → index.d.mts} +0 -0
- /package/dist/panel/{index.d.ts → index.d.mts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pages-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pages-BdQpgtx4.js","./fetch-Df05JmPt.js","./server-router-BHD-n_Wi.js","./server-router-8PynUpe5.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
(function polyfill() {
|
|
3
3
|
const relList = document.createElement("link").relList;
|
|
4
4
|
if (relList && relList.supports && relList.supports("modulepreload")) return;
|
|
@@ -29,7 +29,7 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pages-bp1a9NBa.js","
|
|
|
29
29
|
}
|
|
30
30
|
})();
|
|
31
31
|
/**
|
|
32
|
-
* @vue/shared v3.5.
|
|
32
|
+
* @vue/shared v3.5.26
|
|
33
33
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
34
34
|
* @license MIT
|
|
35
35
|
**/
|
|
@@ -74,13 +74,13 @@ var isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" &&
|
|
|
74
74
|
var isReservedProp = /* @__PURE__ */ makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted");
|
|
75
75
|
var cacheStringFunction = (fn) => {
|
|
76
76
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
77
|
-
return (str) => {
|
|
77
|
+
return ((str) => {
|
|
78
78
|
return cache[str] || (cache[str] = fn(str));
|
|
79
|
-
};
|
|
79
|
+
});
|
|
80
80
|
};
|
|
81
|
-
var camelizeRE =
|
|
81
|
+
var camelizeRE = /-\w/g;
|
|
82
82
|
var camelize = cacheStringFunction((str) => {
|
|
83
|
-
return str.replace(camelizeRE, (
|
|
83
|
+
return str.replace(camelizeRE, (c$2) => c$2.slice(1).toUpperCase());
|
|
84
84
|
});
|
|
85
85
|
var hyphenateRE = /\B([A-Z])/g;
|
|
86
86
|
var hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());
|
|
@@ -218,7 +218,7 @@ var stringifySymbol = (v$1, i$1 = "") => {
|
|
|
218
218
|
return isSymbol(v$1) ? `Symbol(${(_a = v$1.description) != null ? _a : i$1})` : v$1;
|
|
219
219
|
};
|
|
220
220
|
/**
|
|
221
|
-
* @vue/reactivity v3.5.
|
|
221
|
+
* @vue/reactivity v3.5.26
|
|
222
222
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
223
223
|
* @license MIT
|
|
224
224
|
**/
|
|
@@ -615,9 +615,9 @@ function addSub(link) {
|
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
617
|
var targetMap = /* @__PURE__ */ new WeakMap();
|
|
618
|
-
var ITERATE_KEY = Symbol("");
|
|
619
|
-
var MAP_KEY_ITERATE_KEY = Symbol("");
|
|
620
|
-
var ARRAY_ITERATE_KEY = Symbol("");
|
|
618
|
+
var ITERATE_KEY = /* @__PURE__ */ Symbol("");
|
|
619
|
+
var MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol("");
|
|
620
|
+
var ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol("");
|
|
621
621
|
function track(target, type, key) {
|
|
622
622
|
if (shouldTrack && activeSub) {
|
|
623
623
|
let depsMap = targetMap.get(target);
|
|
@@ -688,17 +688,21 @@ function shallowReadArray(arr) {
|
|
|
688
688
|
track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
|
|
689
689
|
return arr;
|
|
690
690
|
}
|
|
691
|
+
function toWrapped(target, item) {
|
|
692
|
+
if (isReadonly(target)) return isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);
|
|
693
|
+
return toReactive(item);
|
|
694
|
+
}
|
|
691
695
|
var arrayInstrumentations = {
|
|
692
696
|
__proto__: null,
|
|
693
697
|
[Symbol.iterator]() {
|
|
694
|
-
return iterator(this, Symbol.iterator,
|
|
698
|
+
return iterator(this, Symbol.iterator, (item) => toWrapped(this, item));
|
|
695
699
|
},
|
|
696
700
|
concat(...args) {
|
|
697
701
|
return reactiveReadArray(this).concat(...args.map((x$2) => isArray$1(x$2) ? reactiveReadArray(x$2) : x$2));
|
|
698
702
|
},
|
|
699
703
|
entries() {
|
|
700
704
|
return iterator(this, "entries", (value) => {
|
|
701
|
-
value[1] =
|
|
705
|
+
value[1] = toWrapped(this, value[1]);
|
|
702
706
|
return value;
|
|
703
707
|
});
|
|
704
708
|
},
|
|
@@ -706,16 +710,16 @@ var arrayInstrumentations = {
|
|
|
706
710
|
return apply(this, "every", fn, thisArg, void 0, arguments);
|
|
707
711
|
},
|
|
708
712
|
filter(fn, thisArg) {
|
|
709
|
-
return apply(this, "filter", fn, thisArg, (v$1) => v$1.map(
|
|
713
|
+
return apply(this, "filter", fn, thisArg, (v$1) => v$1.map((item) => toWrapped(this, item)), arguments);
|
|
710
714
|
},
|
|
711
715
|
find(fn, thisArg) {
|
|
712
|
-
return apply(this, "find", fn, thisArg,
|
|
716
|
+
return apply(this, "find", fn, thisArg, (item) => toWrapped(this, item), arguments);
|
|
713
717
|
},
|
|
714
718
|
findIndex(fn, thisArg) {
|
|
715
719
|
return apply(this, "findIndex", fn, thisArg, void 0, arguments);
|
|
716
720
|
},
|
|
717
721
|
findLast(fn, thisArg) {
|
|
718
|
-
return apply(this, "findLast", fn, thisArg,
|
|
722
|
+
return apply(this, "findLast", fn, thisArg, (item) => toWrapped(this, item), arguments);
|
|
719
723
|
},
|
|
720
724
|
findLastIndex(fn, thisArg) {
|
|
721
725
|
return apply(this, "findLastIndex", fn, thisArg, void 0, arguments);
|
|
@@ -772,7 +776,7 @@ var arrayInstrumentations = {
|
|
|
772
776
|
return noTracking(this, "unshift", args);
|
|
773
777
|
},
|
|
774
778
|
values() {
|
|
775
|
-
return iterator(this, "values",
|
|
779
|
+
return iterator(this, "values", (item) => toWrapped(this, item));
|
|
776
780
|
}
|
|
777
781
|
};
|
|
778
782
|
function iterator(self$1, method, wrapValue) {
|
|
@@ -782,7 +786,7 @@ function iterator(self$1, method, wrapValue) {
|
|
|
782
786
|
iter._next = iter.next;
|
|
783
787
|
iter.next = () => {
|
|
784
788
|
const result = iter._next();
|
|
785
|
-
if (result.
|
|
789
|
+
if (!result.done) result.value = wrapValue(result.value);
|
|
786
790
|
return result;
|
|
787
791
|
};
|
|
788
792
|
}
|
|
@@ -800,7 +804,7 @@ function apply(self$1, method, fn, thisArg, wrappedRetFn, args) {
|
|
|
800
804
|
let wrappedFn = fn;
|
|
801
805
|
if (arr !== self$1) {
|
|
802
806
|
if (needsWrap) wrappedFn = function(item, index) {
|
|
803
|
-
return fn.call(this,
|
|
807
|
+
return fn.call(this, toWrapped(self$1, item), index, self$1);
|
|
804
808
|
};
|
|
805
809
|
else if (fn.length > 2) wrappedFn = function(item, index) {
|
|
806
810
|
return fn.call(this, item, index, self$1);
|
|
@@ -814,7 +818,7 @@ function reduce(self$1, method, fn, args) {
|
|
|
814
818
|
let wrappedFn = fn;
|
|
815
819
|
if (arr !== self$1) {
|
|
816
820
|
if (!isShallow(self$1)) wrappedFn = function(acc, item, index) {
|
|
817
|
-
return fn.call(this, acc,
|
|
821
|
+
return fn.call(this, acc, toWrapped(self$1, item), index, self$1);
|
|
818
822
|
};
|
|
819
823
|
else if (fn.length > 3) wrappedFn = function(acc, item, index) {
|
|
820
824
|
return fn.call(this, acc, item, index, self$1);
|
|
@@ -873,7 +877,10 @@ var BaseReactiveHandler = class {
|
|
|
873
877
|
if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) return res;
|
|
874
878
|
if (!isReadonly2) track(target, "get", key);
|
|
875
879
|
if (isShallow2) return res;
|
|
876
|
-
if (isRef(res))
|
|
880
|
+
if (isRef(res)) {
|
|
881
|
+
const value = targetIsArray && isIntegerKey(key) ? res : res.value;
|
|
882
|
+
return isReadonly2 && isObject(value) ? readonly(value) : value;
|
|
883
|
+
}
|
|
877
884
|
if (isObject(res)) return isReadonly2 ? readonly(res) : reactive(res);
|
|
878
885
|
return res;
|
|
879
886
|
}
|
|
@@ -884,19 +891,20 @@ var MutableReactiveHandler = class extends BaseReactiveHandler {
|
|
|
884
891
|
}
|
|
885
892
|
set(target, key, value, receiver) {
|
|
886
893
|
let oldValue = target[key];
|
|
894
|
+
const isArrayWithIntegerKey = isArray$1(target) && isIntegerKey(key);
|
|
887
895
|
if (!this._isShallow) {
|
|
888
896
|
const isOldValueReadonly = isReadonly(oldValue);
|
|
889
897
|
if (!isShallow(value) && !isReadonly(value)) {
|
|
890
898
|
oldValue = toRaw(oldValue);
|
|
891
899
|
value = toRaw(value);
|
|
892
900
|
}
|
|
893
|
-
if (!
|
|
901
|
+
if (!isArrayWithIntegerKey && isRef(oldValue) && !isRef(value)) if (isOldValueReadonly) return true;
|
|
894
902
|
else {
|
|
895
903
|
oldValue.value = value;
|
|
896
904
|
return true;
|
|
897
905
|
}
|
|
898
906
|
}
|
|
899
|
-
const hadKey =
|
|
907
|
+
const hadKey = isArrayWithIntegerKey ? Number(key) < target.length : hasOwn(target, key);
|
|
900
908
|
const result = Reflect.set(target, key, value, isRef(target) ? target : receiver);
|
|
901
909
|
if (target === toRaw(receiver)) {
|
|
902
910
|
if (!hadKey) trigger(target, "add", key, value);
|
|
@@ -989,7 +997,7 @@ function createInstrumentations(readonly$1, shallow) {
|
|
|
989
997
|
get size() {
|
|
990
998
|
const target = this["__v_raw"];
|
|
991
999
|
!readonly$1 && track(toRaw(target), "iterate", ITERATE_KEY);
|
|
992
|
-
return
|
|
1000
|
+
return target.size;
|
|
993
1001
|
},
|
|
994
1002
|
has(key) {
|
|
995
1003
|
const target = this["__v_raw"];
|
|
@@ -1234,16 +1242,31 @@ var ObjectRefImpl = class {
|
|
|
1234
1242
|
this._defaultValue = _defaultValue;
|
|
1235
1243
|
this["__v_isRef"] = true;
|
|
1236
1244
|
this._value = void 0;
|
|
1245
|
+
this._raw = toRaw(_object);
|
|
1246
|
+
let shallow = true;
|
|
1247
|
+
let obj = _object;
|
|
1248
|
+
if (!isArray$1(_object) || !isIntegerKey(String(_key))) do
|
|
1249
|
+
shallow = !isProxy(obj) || isShallow(obj);
|
|
1250
|
+
while (shallow && (obj = obj["__v_raw"]));
|
|
1251
|
+
this._shallow = shallow;
|
|
1237
1252
|
}
|
|
1238
1253
|
get value() {
|
|
1239
|
-
|
|
1254
|
+
let val = this._object[this._key];
|
|
1255
|
+
if (this._shallow) val = unref(val);
|
|
1240
1256
|
return this._value = val === void 0 ? this._defaultValue : val;
|
|
1241
1257
|
}
|
|
1242
1258
|
set value(newVal) {
|
|
1259
|
+
if (this._shallow && isRef(this._raw[this._key])) {
|
|
1260
|
+
const nestedRef = this._object[this._key];
|
|
1261
|
+
if (isRef(nestedRef)) {
|
|
1262
|
+
nestedRef.value = newVal;
|
|
1263
|
+
return;
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1243
1266
|
this._object[this._key] = newVal;
|
|
1244
1267
|
}
|
|
1245
1268
|
get dep() {
|
|
1246
|
-
return getDepFromReactive(
|
|
1269
|
+
return getDepFromReactive(this._raw, this._key);
|
|
1247
1270
|
}
|
|
1248
1271
|
};
|
|
1249
1272
|
var GetterRefImpl = class {
|
|
@@ -1264,8 +1287,7 @@ function toRef(source, key, defaultValue) {
|
|
|
1264
1287
|
else return ref(source);
|
|
1265
1288
|
}
|
|
1266
1289
|
function propertyToRef(source, key, defaultValue) {
|
|
1267
|
-
|
|
1268
|
-
return isRef(val) ? val : new ObjectRefImpl(source, key, defaultValue);
|
|
1290
|
+
return new ObjectRefImpl(source, key, defaultValue);
|
|
1269
1291
|
}
|
|
1270
1292
|
var ComputedRefImpl = class {
|
|
1271
1293
|
constructor(fn, setter, isSSR) {
|
|
@@ -1327,7 +1349,7 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
|
|
|
1327
1349
|
if (isShallow(source2) || deep === false || deep === 0) return traverse(source2, 1);
|
|
1328
1350
|
return traverse(source2);
|
|
1329
1351
|
};
|
|
1330
|
-
let effect
|
|
1352
|
+
let effect;
|
|
1331
1353
|
let getter;
|
|
1332
1354
|
let cleanup;
|
|
1333
1355
|
let boundCleanup;
|
|
@@ -1358,7 +1380,7 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
|
|
|
1358
1380
|
}
|
|
1359
1381
|
}
|
|
1360
1382
|
const currentEffect = activeWatcher;
|
|
1361
|
-
activeWatcher = effect
|
|
1383
|
+
activeWatcher = effect;
|
|
1362
1384
|
try {
|
|
1363
1385
|
return call ? call(source, 3, [boundCleanup]) : source(boundCleanup);
|
|
1364
1386
|
} finally {
|
|
@@ -1373,8 +1395,8 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
|
|
|
1373
1395
|
}
|
|
1374
1396
|
const scope = getCurrentScope();
|
|
1375
1397
|
const watchHandle = () => {
|
|
1376
|
-
effect
|
|
1377
|
-
if (scope && scope.active) remove(scope.effects, effect
|
|
1398
|
+
effect.stop();
|
|
1399
|
+
if (scope && scope.active) remove(scope.effects, effect);
|
|
1378
1400
|
};
|
|
1379
1401
|
if (once && cb) {
|
|
1380
1402
|
const _cb = cb;
|
|
@@ -1385,13 +1407,13 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
|
|
|
1385
1407
|
}
|
|
1386
1408
|
let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
|
|
1387
1409
|
const job = (immediateFirstRun) => {
|
|
1388
|
-
if (!(effect
|
|
1410
|
+
if (!(effect.flags & 1) || !effect.dirty && !immediateFirstRun) return;
|
|
1389
1411
|
if (cb) {
|
|
1390
|
-
const newValue = effect
|
|
1412
|
+
const newValue = effect.run();
|
|
1391
1413
|
if (deep || forceTrigger || (isMultiSource ? newValue.some((v$1, i$1) => hasChanged(v$1, oldValue[i$1])) : hasChanged(newValue, oldValue))) {
|
|
1392
1414
|
if (cleanup) cleanup();
|
|
1393
1415
|
const currentWatcher = activeWatcher;
|
|
1394
|
-
activeWatcher = effect
|
|
1416
|
+
activeWatcher = effect;
|
|
1395
1417
|
try {
|
|
1396
1418
|
const args = [
|
|
1397
1419
|
newValue,
|
|
@@ -1404,34 +1426,34 @@ function watch$1(source, cb, options = EMPTY_OBJ) {
|
|
|
1404
1426
|
activeWatcher = currentWatcher;
|
|
1405
1427
|
}
|
|
1406
1428
|
}
|
|
1407
|
-
} else effect
|
|
1429
|
+
} else effect.run();
|
|
1408
1430
|
};
|
|
1409
1431
|
if (augmentJob) augmentJob(job);
|
|
1410
|
-
effect
|
|
1411
|
-
effect
|
|
1412
|
-
boundCleanup = (fn) => onWatcherCleanup(fn, false, effect
|
|
1413
|
-
cleanup = effect
|
|
1414
|
-
const cleanups = cleanupMap.get(effect
|
|
1432
|
+
effect = new ReactiveEffect(getter);
|
|
1433
|
+
effect.scheduler = scheduler ? () => scheduler(job, false) : job;
|
|
1434
|
+
boundCleanup = (fn) => onWatcherCleanup(fn, false, effect);
|
|
1435
|
+
cleanup = effect.onStop = () => {
|
|
1436
|
+
const cleanups = cleanupMap.get(effect);
|
|
1415
1437
|
if (cleanups) {
|
|
1416
1438
|
if (call) call(cleanups, 4);
|
|
1417
1439
|
else for (const cleanup2 of cleanups) cleanup2();
|
|
1418
|
-
cleanupMap.delete(effect
|
|
1440
|
+
cleanupMap.delete(effect);
|
|
1419
1441
|
}
|
|
1420
1442
|
};
|
|
1421
1443
|
if (cb) if (immediate) job(true);
|
|
1422
|
-
else oldValue = effect
|
|
1444
|
+
else oldValue = effect.run();
|
|
1423
1445
|
else if (scheduler) scheduler(job.bind(null, true), true);
|
|
1424
|
-
else effect
|
|
1425
|
-
watchHandle.pause = effect
|
|
1426
|
-
watchHandle.resume = effect
|
|
1446
|
+
else effect.run();
|
|
1447
|
+
watchHandle.pause = effect.pause.bind(effect);
|
|
1448
|
+
watchHandle.resume = effect.resume.bind(effect);
|
|
1427
1449
|
watchHandle.stop = watchHandle;
|
|
1428
1450
|
return watchHandle;
|
|
1429
1451
|
}
|
|
1430
1452
|
function traverse(value, depth = Infinity, seen$1) {
|
|
1431
1453
|
if (depth <= 0 || !isObject(value) || value["__v_skip"]) return value;
|
|
1432
|
-
seen$1 = seen$1 || /* @__PURE__ */ new
|
|
1433
|
-
if (seen$1.
|
|
1434
|
-
seen$1.
|
|
1454
|
+
seen$1 = seen$1 || /* @__PURE__ */ new Map();
|
|
1455
|
+
if ((seen$1.get(value) || 0) >= depth) return value;
|
|
1456
|
+
seen$1.set(value, depth);
|
|
1435
1457
|
depth--;
|
|
1436
1458
|
if (isRef(value)) traverse(value.value, depth, seen$1);
|
|
1437
1459
|
else if (isArray$1(value)) for (let i$1 = 0; i$1 < value.length; i$1++) traverse(value[i$1], depth, seen$1);
|
|
@@ -1445,7 +1467,7 @@ function traverse(value, depth = Infinity, seen$1) {
|
|
|
1445
1467
|
return value;
|
|
1446
1468
|
}
|
|
1447
1469
|
/**
|
|
1448
|
-
* @vue/runtime-core v3.5.
|
|
1470
|
+
* @vue/runtime-core v3.5.26
|
|
1449
1471
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1450
1472
|
* @license MIT
|
|
1451
1473
|
**/
|
|
@@ -1680,10 +1702,112 @@ function invokeDirectiveHook(vnode, prevVNode, instance, name) {
|
|
|
1680
1702
|
}
|
|
1681
1703
|
}
|
|
1682
1704
|
}
|
|
1683
|
-
|
|
1705
|
+
function provide(key, value) {
|
|
1706
|
+
if (currentInstance) {
|
|
1707
|
+
let provides = currentInstance.provides;
|
|
1708
|
+
const parentProvides = currentInstance.parent && currentInstance.parent.provides;
|
|
1709
|
+
if (parentProvides === provides) provides = currentInstance.provides = Object.create(parentProvides);
|
|
1710
|
+
provides[key] = value;
|
|
1711
|
+
}
|
|
1712
|
+
}
|
|
1713
|
+
function inject(key, defaultValue, treatDefaultAsFactory = false) {
|
|
1714
|
+
const instance = getCurrentInstance();
|
|
1715
|
+
if (instance || currentApp) {
|
|
1716
|
+
let provides = currentApp ? currentApp._context.provides : instance ? instance.parent == null || instance.ce ? instance.vnode.appContext && instance.vnode.appContext.provides : instance.parent.provides : void 0;
|
|
1717
|
+
if (provides && key in provides) return provides[key];
|
|
1718
|
+
else if (arguments.length > 1) return treatDefaultAsFactory && isFunction(defaultValue) ? defaultValue.call(instance && instance.proxy) : defaultValue;
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
var ssrContextKey = /* @__PURE__ */ Symbol.for("v-scx");
|
|
1722
|
+
var useSSRContext = () => {
|
|
1723
|
+
{
|
|
1724
|
+
const ctx = inject(ssrContextKey);
|
|
1725
|
+
if (!ctx) {}
|
|
1726
|
+
return ctx;
|
|
1727
|
+
}
|
|
1728
|
+
};
|
|
1729
|
+
function watchEffect(effect, options) {
|
|
1730
|
+
return doWatch(effect, null, options);
|
|
1731
|
+
}
|
|
1732
|
+
function watchSyncEffect(effect, options) {
|
|
1733
|
+
return doWatch(effect, null, { flush: "sync" });
|
|
1734
|
+
}
|
|
1735
|
+
function watch(source, cb, options) {
|
|
1736
|
+
return doWatch(source, cb, options);
|
|
1737
|
+
}
|
|
1738
|
+
function doWatch(source, cb, options = EMPTY_OBJ) {
|
|
1739
|
+
const { immediate, deep, flush, once } = options;
|
|
1740
|
+
const baseWatchOptions = extend({}, options);
|
|
1741
|
+
const runsImmediately = cb && immediate || !cb && flush !== "post";
|
|
1742
|
+
let ssrCleanup;
|
|
1743
|
+
if (isInSSRComponentSetup) {
|
|
1744
|
+
if (flush === "sync") {
|
|
1745
|
+
const ctx = useSSRContext();
|
|
1746
|
+
ssrCleanup = ctx.__watcherHandles || (ctx.__watcherHandles = []);
|
|
1747
|
+
} else if (!runsImmediately) {
|
|
1748
|
+
const watchStopHandle = () => {};
|
|
1749
|
+
watchStopHandle.stop = NOOP;
|
|
1750
|
+
watchStopHandle.resume = NOOP;
|
|
1751
|
+
watchStopHandle.pause = NOOP;
|
|
1752
|
+
return watchStopHandle;
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
const instance = currentInstance;
|
|
1756
|
+
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
1757
|
+
let isPre = false;
|
|
1758
|
+
if (flush === "post") baseWatchOptions.scheduler = (job) => {
|
|
1759
|
+
queuePostRenderEffect(job, instance && instance.suspense);
|
|
1760
|
+
};
|
|
1761
|
+
else if (flush !== "sync") {
|
|
1762
|
+
isPre = true;
|
|
1763
|
+
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
1764
|
+
if (isFirstRun) job();
|
|
1765
|
+
else queueJob(job);
|
|
1766
|
+
};
|
|
1767
|
+
}
|
|
1768
|
+
baseWatchOptions.augmentJob = (job) => {
|
|
1769
|
+
if (cb) job.flags |= 4;
|
|
1770
|
+
if (isPre) {
|
|
1771
|
+
job.flags |= 2;
|
|
1772
|
+
if (instance) {
|
|
1773
|
+
job.id = instance.uid;
|
|
1774
|
+
job.i = instance;
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
};
|
|
1778
|
+
const watchHandle = watch$1(source, cb, baseWatchOptions);
|
|
1779
|
+
if (isInSSRComponentSetup) {
|
|
1780
|
+
if (ssrCleanup) ssrCleanup.push(watchHandle);
|
|
1781
|
+
else if (runsImmediately) watchHandle();
|
|
1782
|
+
}
|
|
1783
|
+
return watchHandle;
|
|
1784
|
+
}
|
|
1785
|
+
function instanceWatch(source, value, options) {
|
|
1786
|
+
const publicThis = this.proxy;
|
|
1787
|
+
const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
1788
|
+
let cb;
|
|
1789
|
+
if (isFunction(value)) cb = value;
|
|
1790
|
+
else {
|
|
1791
|
+
cb = value.handler;
|
|
1792
|
+
options = value;
|
|
1793
|
+
}
|
|
1794
|
+
const reset = setCurrentInstance(this);
|
|
1795
|
+
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
1796
|
+
reset();
|
|
1797
|
+
return res;
|
|
1798
|
+
}
|
|
1799
|
+
function createPathGetter(ctx, path) {
|
|
1800
|
+
const segments = path.split(".");
|
|
1801
|
+
return () => {
|
|
1802
|
+
let cur = ctx;
|
|
1803
|
+
for (let i$1 = 0; i$1 < segments.length && cur; i$1++) cur = cur[segments[i$1]];
|
|
1804
|
+
return cur;
|
|
1805
|
+
};
|
|
1806
|
+
}
|
|
1807
|
+
var TeleportEndKey = /* @__PURE__ */ Symbol("_vte");
|
|
1684
1808
|
var isTeleport = (type) => type.__isTeleport;
|
|
1685
|
-
var leaveCbKey = Symbol("_leaveCb");
|
|
1686
|
-
var enterCbKey = Symbol("_enterCb");
|
|
1809
|
+
var leaveCbKey = /* @__PURE__ */ Symbol("_leaveCb");
|
|
1810
|
+
var enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
|
|
1687
1811
|
function useTransitionState() {
|
|
1688
1812
|
const state = {
|
|
1689
1813
|
isMounted: false,
|
|
@@ -1739,7 +1863,7 @@ var BaseTransitionImpl = {
|
|
|
1739
1863
|
let enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance, (hooks) => enterHooks = hooks);
|
|
1740
1864
|
if (innerChild.type !== Comment) setTransitionHooks(innerChild, enterHooks);
|
|
1741
1865
|
let oldInnerChild = instance.subTree && getInnerChild$1(instance.subTree);
|
|
1742
|
-
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(
|
|
1866
|
+
if (oldInnerChild && oldInnerChild.type !== Comment && !isSameVNodeType(oldInnerChild, innerChild) && recursiveGetSubtree(instance).type !== Comment) {
|
|
1743
1867
|
let leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);
|
|
1744
1868
|
setTransitionHooks(oldInnerChild, leavingHooks);
|
|
1745
1869
|
if (mode === "out-in" && innerChild.type !== Comment) {
|
|
@@ -1919,6 +2043,7 @@ function markAsyncBoundary(instance) {
|
|
|
1919
2043
|
0
|
|
1920
2044
|
];
|
|
1921
2045
|
}
|
|
2046
|
+
var pendingSetRefMap = /* @__PURE__ */ new WeakMap();
|
|
1922
2047
|
function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
1923
2048
|
if (isArray$1(rawRef)) {
|
|
1924
2049
|
rawRef.forEach((r$1, i$1) => setRef(r$1, oldRawRef && (isArray$1(oldRawRef) ? oldRawRef[i$1] : oldRawRef), parentSuspense, vnode, isUnmount));
|
|
@@ -1935,14 +2060,22 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
1935
2060
|
const refs = owner.refs === EMPTY_OBJ ? owner.refs = {} : owner.refs;
|
|
1936
2061
|
const setupState = owner.setupState;
|
|
1937
2062
|
const rawSetupState = toRaw(setupState);
|
|
1938
|
-
const canSetSetupRef = setupState === EMPTY_OBJ ?
|
|
2063
|
+
const canSetSetupRef = setupState === EMPTY_OBJ ? NO : (key) => {
|
|
1939
2064
|
return hasOwn(rawSetupState, key);
|
|
1940
2065
|
};
|
|
2066
|
+
const canSetRef = (ref2) => {
|
|
2067
|
+
return true;
|
|
2068
|
+
};
|
|
1941
2069
|
if (oldRef != null && oldRef !== ref$1) {
|
|
2070
|
+
invalidatePendingSetRef(oldRawRef);
|
|
1942
2071
|
if (isString(oldRef)) {
|
|
1943
2072
|
refs[oldRef] = null;
|
|
1944
2073
|
if (canSetSetupRef(oldRef)) setupState[oldRef] = null;
|
|
1945
|
-
} else if (isRef(oldRef))
|
|
2074
|
+
} else if (isRef(oldRef)) {
|
|
2075
|
+
if (canSetRef(oldRef)) oldRef.value = null;
|
|
2076
|
+
const oldRawRefAtom = oldRawRef;
|
|
2077
|
+
if (oldRawRefAtom.k) refs[oldRawRefAtom.k] = null;
|
|
2078
|
+
}
|
|
1946
2079
|
}
|
|
1947
2080
|
if (isFunction(ref$1)) callWithErrorHandling(ref$1, owner, 12, [value, refs]);
|
|
1948
2081
|
else {
|
|
@@ -1951,31 +2084,47 @@ function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
|
|
|
1951
2084
|
if (_isString || _isRef) {
|
|
1952
2085
|
const doSet = () => {
|
|
1953
2086
|
if (rawRef.f) {
|
|
1954
|
-
const existing = _isString ? canSetSetupRef(ref$1) ? setupState[ref$1] : refs[ref$1] : ref$1.value;
|
|
2087
|
+
const existing = _isString ? canSetSetupRef(ref$1) ? setupState[ref$1] : refs[ref$1] : canSetRef(ref$1) || !rawRef.k ? ref$1.value : refs[rawRef.k];
|
|
1955
2088
|
if (isUnmount) isArray$1(existing) && remove(existing, refValue);
|
|
1956
2089
|
else if (!isArray$1(existing)) if (_isString) {
|
|
1957
2090
|
refs[ref$1] = [refValue];
|
|
1958
2091
|
if (canSetSetupRef(ref$1)) setupState[ref$1] = refs[ref$1];
|
|
1959
2092
|
} else {
|
|
1960
|
-
|
|
1961
|
-
if (
|
|
2093
|
+
const newVal = [refValue];
|
|
2094
|
+
if (canSetRef(ref$1)) ref$1.value = newVal;
|
|
2095
|
+
if (rawRef.k) refs[rawRef.k] = newVal;
|
|
1962
2096
|
}
|
|
1963
2097
|
else if (!existing.includes(refValue)) existing.push(refValue);
|
|
1964
2098
|
} else if (_isString) {
|
|
1965
2099
|
refs[ref$1] = value;
|
|
1966
2100
|
if (canSetSetupRef(ref$1)) setupState[ref$1] = value;
|
|
1967
2101
|
} else if (_isRef) {
|
|
1968
|
-
ref$1.value = value;
|
|
2102
|
+
if (canSetRef(ref$1)) ref$1.value = value;
|
|
1969
2103
|
if (rawRef.k) refs[rawRef.k] = value;
|
|
1970
2104
|
}
|
|
1971
2105
|
};
|
|
1972
2106
|
if (value) {
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
2107
|
+
const job = () => {
|
|
2108
|
+
doSet();
|
|
2109
|
+
pendingSetRefMap.delete(rawRef);
|
|
2110
|
+
};
|
|
2111
|
+
job.id = -1;
|
|
2112
|
+
pendingSetRefMap.set(rawRef, job);
|
|
2113
|
+
queuePostRenderEffect(job, parentSuspense);
|
|
2114
|
+
} else {
|
|
2115
|
+
invalidatePendingSetRef(rawRef);
|
|
2116
|
+
doSet();
|
|
2117
|
+
}
|
|
1976
2118
|
}
|
|
1977
2119
|
}
|
|
1978
2120
|
}
|
|
2121
|
+
function invalidatePendingSetRef(rawRef) {
|
|
2122
|
+
const pendingSetRef = pendingSetRefMap.get(rawRef);
|
|
2123
|
+
if (pendingSetRef) {
|
|
2124
|
+
pendingSetRef.flags |= 8;
|
|
2125
|
+
pendingSetRefMap.delete(rawRef);
|
|
2126
|
+
}
|
|
2127
|
+
}
|
|
1979
2128
|
getGlobalThis().requestIdleCallback;
|
|
1980
2129
|
getGlobalThis().cancelIdleCallback;
|
|
1981
2130
|
var isAsyncWrapper = (i$1) => !!i$1.type.__asyncLoader;
|
|
@@ -2038,7 +2187,7 @@ var KeepAlive = {
|
|
|
2038
2187
|
}
|
|
2039
2188
|
function pruneCache(filter) {
|
|
2040
2189
|
cache.forEach((vnode, key) => {
|
|
2041
|
-
const name = getComponentName(vnode.type);
|
|
2190
|
+
const name = getComponentName(isAsyncWrapper(vnode) ? vnode.type.__asyncResolved || {} : vnode.type);
|
|
2042
2191
|
if (name && !filter(name)) pruneCacheEntry(key);
|
|
2043
2192
|
});
|
|
2044
2193
|
}
|
|
@@ -2209,7 +2358,7 @@ var DIRECTIVES = "directives";
|
|
|
2209
2358
|
function resolveComponent(name, maybeSelfReference) {
|
|
2210
2359
|
return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
|
|
2211
2360
|
}
|
|
2212
|
-
var NULL_DYNAMIC_COMPONENT = Symbol.for("v-ndc");
|
|
2361
|
+
var NULL_DYNAMIC_COMPONENT = /* @__PURE__ */ Symbol.for("v-ndc");
|
|
2213
2362
|
function resolveDynamicComponent(component) {
|
|
2214
2363
|
if (isString(component)) return resolveAsset(COMPONENTS, component, false) || component;
|
|
2215
2364
|
else return component || NULL_DYNAMIC_COMPONENT;
|
|
@@ -2266,8 +2415,9 @@ function renderList(source, renderItem, cache, index) {
|
|
|
2266
2415
|
}
|
|
2267
2416
|
function renderSlot(slots, name, props = {}, fallback, noSlotted) {
|
|
2268
2417
|
if (currentRenderingInstance.ce || currentRenderingInstance.parent && isAsyncWrapper(currentRenderingInstance.parent) && currentRenderingInstance.parent.ce) {
|
|
2418
|
+
const hasProps = Object.keys(props).length > 0;
|
|
2269
2419
|
if (name !== "default") props.name = name;
|
|
2270
|
-
return openBlock(), createBlock(Fragment, null, [createVNode("slot", props, fallback && fallback())], 64);
|
|
2420
|
+
return openBlock(), createBlock(Fragment, null, [createVNode("slot", props, fallback && fallback())], hasProps ? -2 : 64);
|
|
2271
2421
|
}
|
|
2272
2422
|
let slot = slots[name];
|
|
2273
2423
|
if (slot && slot._c) slot._d = false;
|
|
@@ -2316,7 +2466,6 @@ var PublicInstanceProxyHandlers = {
|
|
|
2316
2466
|
get({ _: instance }, key) {
|
|
2317
2467
|
if (key === "__v_skip") return true;
|
|
2318
2468
|
const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
|
|
2319
|
-
let normalizedProps;
|
|
2320
2469
|
if (key[0] !== "$") {
|
|
2321
2470
|
const n$2 = accessCache[key];
|
|
2322
2471
|
if (n$2 !== void 0) switch (n$2) {
|
|
@@ -2331,7 +2480,7 @@ var PublicInstanceProxyHandlers = {
|
|
|
2331
2480
|
} else if (data !== EMPTY_OBJ && hasOwn(data, key)) {
|
|
2332
2481
|
accessCache[key] = 2;
|
|
2333
2482
|
return data[key];
|
|
2334
|
-
} else if (
|
|
2483
|
+
} else if (hasOwn(props, key)) {
|
|
2335
2484
|
accessCache[key] = 3;
|
|
2336
2485
|
return props[key];
|
|
2337
2486
|
} else if (ctx !== EMPTY_OBJ && hasOwn(ctx, key)) {
|
|
@@ -2363,9 +2512,9 @@ var PublicInstanceProxyHandlers = {
|
|
|
2363
2512
|
else ctx[key] = value;
|
|
2364
2513
|
return true;
|
|
2365
2514
|
},
|
|
2366
|
-
has({ _: { data, setupState, accessCache, ctx, appContext,
|
|
2367
|
-
let
|
|
2368
|
-
return !!accessCache[key] || data !== EMPTY_OBJ && hasOwn(data, key) || hasSetupBinding(setupState, key) ||
|
|
2515
|
+
has({ _: { data, setupState, accessCache, ctx, appContext, props, type } }, key) {
|
|
2516
|
+
let cssModules;
|
|
2517
|
+
return !!(accessCache[key] || data !== EMPTY_OBJ && key[0] !== "$" && hasOwn(data, key) || hasSetupBinding(setupState, key) || hasOwn(props, key) || hasOwn(ctx, key) || hasOwn(publicPropertiesMap, key) || hasOwn(appContext.config.globalProperties, key) || (cssModules = type.__cssModules) && cssModules[key]);
|
|
2369
2518
|
},
|
|
2370
2519
|
defineProperty(target, key, descriptor) {
|
|
2371
2520
|
if (descriptor.get != null) target._.accessCache[key] = 0;
|
|
@@ -2374,9 +2523,9 @@ var PublicInstanceProxyHandlers = {
|
|
|
2374
2523
|
}
|
|
2375
2524
|
};
|
|
2376
2525
|
function useSlots() {
|
|
2377
|
-
return getContext().slots;
|
|
2526
|
+
return getContext("useSlots").slots;
|
|
2378
2527
|
}
|
|
2379
|
-
function getContext() {
|
|
2528
|
+
function getContext(calledFunctionName) {
|
|
2380
2529
|
const i$1 = getCurrentInstance();
|
|
2381
2530
|
return i$1.setupContext || (i$1.setupContext = createSetupContext(i$1));
|
|
2382
2531
|
}
|
|
@@ -2450,7 +2599,8 @@ function applyOptions(instance) {
|
|
|
2450
2599
|
expose.forEach((key) => {
|
|
2451
2600
|
Object.defineProperty(exposed, key, {
|
|
2452
2601
|
get: () => publicThis[key],
|
|
2453
|
-
set: (val) => publicThis[key] = val
|
|
2602
|
+
set: (val) => publicThis[key] = val,
|
|
2603
|
+
enumerable: true
|
|
2454
2604
|
});
|
|
2455
2605
|
});
|
|
2456
2606
|
} else if (!instance.exposed) instance.exposed = {};
|
|
@@ -2690,59 +2840,263 @@ function createAppAPI(render, hydrate) {
|
|
|
2690
2840
|
};
|
|
2691
2841
|
}
|
|
2692
2842
|
var currentApp = null;
|
|
2693
|
-
function
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2843
|
+
function useModel(props, name, options = EMPTY_OBJ) {
|
|
2844
|
+
const i$1 = getCurrentInstance();
|
|
2845
|
+
const camelizedName = camelize(name);
|
|
2846
|
+
const hyphenatedName = hyphenate(name);
|
|
2847
|
+
const modifiers = getModelModifiers(props, camelizedName);
|
|
2848
|
+
const res = customRef((track$1, trigger$1) => {
|
|
2849
|
+
let localValue;
|
|
2850
|
+
let prevSetValue = EMPTY_OBJ;
|
|
2851
|
+
let prevEmittedValue;
|
|
2852
|
+
watchSyncEffect(() => {
|
|
2853
|
+
const propValue = props[camelizedName];
|
|
2854
|
+
if (hasChanged(localValue, propValue)) {
|
|
2855
|
+
localValue = propValue;
|
|
2856
|
+
trigger$1();
|
|
2857
|
+
}
|
|
2858
|
+
});
|
|
2859
|
+
return {
|
|
2860
|
+
get() {
|
|
2861
|
+
track$1();
|
|
2862
|
+
return options.get ? options.get(localValue) : localValue;
|
|
2863
|
+
},
|
|
2864
|
+
set(value) {
|
|
2865
|
+
const emittedValue = options.set ? options.set(value) : value;
|
|
2866
|
+
if (!hasChanged(emittedValue, localValue) && !(prevSetValue !== EMPTY_OBJ && hasChanged(value, prevSetValue))) return;
|
|
2867
|
+
const rawProps = i$1.vnode.props;
|
|
2868
|
+
if (!(rawProps && (name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))) {
|
|
2869
|
+
localValue = value;
|
|
2870
|
+
trigger$1();
|
|
2871
|
+
}
|
|
2872
|
+
i$1.emit(`update:${name}`, emittedValue);
|
|
2873
|
+
if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) trigger$1();
|
|
2874
|
+
prevSetValue = value;
|
|
2875
|
+
prevEmittedValue = emittedValue;
|
|
2876
|
+
}
|
|
2877
|
+
};
|
|
2878
|
+
});
|
|
2879
|
+
res[Symbol.iterator] = () => {
|
|
2880
|
+
let i2 = 0;
|
|
2881
|
+
return { next() {
|
|
2882
|
+
if (i2 < 2) return {
|
|
2883
|
+
value: i2++ ? modifiers || EMPTY_OBJ : res,
|
|
2884
|
+
done: false
|
|
2885
|
+
};
|
|
2886
|
+
else return { done: true };
|
|
2887
|
+
} };
|
|
2888
|
+
};
|
|
2889
|
+
return res;
|
|
2890
|
+
}
|
|
2891
|
+
var getModelModifiers = (props, modelName) => {
|
|
2892
|
+
return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${camelize(modelName)}Modifiers`] || props[`${hyphenate(modelName)}Modifiers`];
|
|
2893
|
+
};
|
|
2894
|
+
function emit(instance, event, ...rawArgs) {
|
|
2895
|
+
if (instance.isUnmounted) return;
|
|
2896
|
+
const props = instance.vnode.props || EMPTY_OBJ;
|
|
2897
|
+
let args = rawArgs;
|
|
2898
|
+
const isModelListener$1 = event.startsWith("update:");
|
|
2899
|
+
const modifiers = isModelListener$1 && getModelModifiers(props, event.slice(7));
|
|
2900
|
+
if (modifiers) {
|
|
2901
|
+
if (modifiers.trim) args = rawArgs.map((a$1) => isString(a$1) ? a$1.trim() : a$1);
|
|
2902
|
+
if (modifiers.number) args = rawArgs.map(looseToNumber);
|
|
2903
|
+
}
|
|
2904
|
+
let handlerName;
|
|
2905
|
+
let handler = props[handlerName = toHandlerKey(event)] || props[handlerName = toHandlerKey(camelize(event))];
|
|
2906
|
+
if (!handler && isModelListener$1) handler = props[handlerName = toHandlerKey(hyphenate(event))];
|
|
2907
|
+
if (handler) callWithAsyncErrorHandling(handler, instance, 6, args);
|
|
2908
|
+
const onceHandler = props[handlerName + `Once`];
|
|
2909
|
+
if (onceHandler) {
|
|
2910
|
+
if (!instance.emitted) instance.emitted = {};
|
|
2911
|
+
else if (instance.emitted[handlerName]) return;
|
|
2912
|
+
instance.emitted[handlerName] = true;
|
|
2913
|
+
callWithAsyncErrorHandling(onceHandler, instance, 6, args);
|
|
2699
2914
|
}
|
|
2700
2915
|
}
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2916
|
+
var mixinEmitsCache = /* @__PURE__ */ new WeakMap();
|
|
2917
|
+
function normalizeEmitsOptions(comp, appContext, asMixin = false) {
|
|
2918
|
+
const cache = asMixin ? mixinEmitsCache : appContext.emitsCache;
|
|
2919
|
+
const cached = cache.get(comp);
|
|
2920
|
+
if (cached !== void 0) return cached;
|
|
2921
|
+
const raw = comp.emits;
|
|
2922
|
+
let normalized = {};
|
|
2923
|
+
let hasExtends = false;
|
|
2924
|
+
if (!isFunction(comp)) {
|
|
2925
|
+
const extendEmits = (raw2) => {
|
|
2926
|
+
const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
|
|
2927
|
+
if (normalizedFromExtend) {
|
|
2928
|
+
hasExtends = true;
|
|
2929
|
+
extend(normalized, normalizedFromExtend);
|
|
2930
|
+
}
|
|
2931
|
+
};
|
|
2932
|
+
if (!asMixin && appContext.mixins.length) appContext.mixins.forEach(extendEmits);
|
|
2933
|
+
if (comp.extends) extendEmits(comp.extends);
|
|
2934
|
+
if (comp.mixins) comp.mixins.forEach(extendEmits);
|
|
2707
2935
|
}
|
|
2936
|
+
if (!raw && !hasExtends) {
|
|
2937
|
+
if (isObject(comp)) cache.set(comp, null);
|
|
2938
|
+
return null;
|
|
2939
|
+
}
|
|
2940
|
+
if (isArray$1(raw)) raw.forEach((key) => normalized[key] = null);
|
|
2941
|
+
else extend(normalized, raw);
|
|
2942
|
+
if (isObject(comp)) cache.set(comp, normalized);
|
|
2943
|
+
return normalized;
|
|
2708
2944
|
}
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
const props = {};
|
|
2714
|
-
const attrs = createInternalObject();
|
|
2715
|
-
instance.propsDefaults = /* @__PURE__ */ Object.create(null);
|
|
2716
|
-
setFullProps(instance, rawProps, props, attrs);
|
|
2717
|
-
for (const key in instance.propsOptions[0]) if (!(key in props)) props[key] = void 0;
|
|
2718
|
-
if (isStateful) instance.props = isSSR ? props : shallowReactive(props);
|
|
2719
|
-
else if (!instance.type.props) instance.props = attrs;
|
|
2720
|
-
else instance.props = props;
|
|
2721
|
-
instance.attrs = attrs;
|
|
2945
|
+
function isEmitListener(options, key) {
|
|
2946
|
+
if (!options || !isOn(key)) return false;
|
|
2947
|
+
key = key.slice(2).replace(/Once$/, "");
|
|
2948
|
+
return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
|
|
2722
2949
|
}
|
|
2723
|
-
function
|
|
2724
|
-
const {
|
|
2725
|
-
const
|
|
2726
|
-
|
|
2727
|
-
let
|
|
2728
|
-
|
|
2729
|
-
if (
|
|
2730
|
-
const
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2950
|
+
function renderComponentRoot(instance) {
|
|
2951
|
+
const { type: Component, vnode, proxy, withProxy, propsOptions: [propsOptions], slots, attrs, emit: emit$1, render, renderCache, props, data, setupState, ctx, inheritAttrs } = instance;
|
|
2952
|
+
const prev = setCurrentRenderingInstance(instance);
|
|
2953
|
+
let result;
|
|
2954
|
+
let fallthroughAttrs;
|
|
2955
|
+
try {
|
|
2956
|
+
if (vnode.shapeFlag & 4) {
|
|
2957
|
+
const proxyToUse = withProxy || proxy;
|
|
2958
|
+
const thisProxy = proxyToUse;
|
|
2959
|
+
result = normalizeVNode(render.call(thisProxy, proxyToUse, renderCache, props, setupState, data, ctx));
|
|
2960
|
+
fallthroughAttrs = attrs;
|
|
2961
|
+
} else {
|
|
2962
|
+
const render2 = Component;
|
|
2963
|
+
result = normalizeVNode(render2.length > 1 ? render2(props, {
|
|
2964
|
+
attrs,
|
|
2965
|
+
slots,
|
|
2966
|
+
emit: emit$1
|
|
2967
|
+
}) : render2(props, null));
|
|
2968
|
+
fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
|
|
2969
|
+
}
|
|
2970
|
+
} catch (err) {
|
|
2971
|
+
blockStack.length = 0;
|
|
2972
|
+
handleError(err, instance, 1);
|
|
2973
|
+
result = createVNode(Comment);
|
|
2974
|
+
}
|
|
2975
|
+
let root = result;
|
|
2976
|
+
if (fallthroughAttrs && inheritAttrs !== false) {
|
|
2977
|
+
const keys = Object.keys(fallthroughAttrs);
|
|
2978
|
+
const { shapeFlag } = root;
|
|
2979
|
+
if (keys.length) {
|
|
2980
|
+
if (shapeFlag & 7) {
|
|
2981
|
+
if (propsOptions && keys.some(isModelListener)) fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);
|
|
2982
|
+
root = cloneVNode(root, fallthroughAttrs, false, true);
|
|
2983
|
+
}
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
if (vnode.dirs) {
|
|
2987
|
+
root = cloneVNode(root, null, false, true);
|
|
2988
|
+
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
2989
|
+
}
|
|
2990
|
+
if (vnode.transition) setTransitionHooks(root, vnode.transition);
|
|
2991
|
+
result = root;
|
|
2992
|
+
setCurrentRenderingInstance(prev);
|
|
2993
|
+
return result;
|
|
2994
|
+
}
|
|
2995
|
+
function filterSingleRoot(children, recurse = true) {
|
|
2996
|
+
let singleRoot;
|
|
2997
|
+
for (let i$1 = 0; i$1 < children.length; i$1++) {
|
|
2998
|
+
const child = children[i$1];
|
|
2999
|
+
if (isVNode(child)) {
|
|
3000
|
+
if (child.type !== Comment || child.children === "v-if") if (singleRoot) return;
|
|
3001
|
+
else singleRoot = child;
|
|
3002
|
+
} else return;
|
|
3003
|
+
}
|
|
3004
|
+
return singleRoot;
|
|
3005
|
+
}
|
|
3006
|
+
var getFunctionalFallthrough = (attrs) => {
|
|
3007
|
+
let res;
|
|
3008
|
+
for (const key in attrs) if (key === "class" || key === "style" || isOn(key)) (res || (res = {}))[key] = attrs[key];
|
|
3009
|
+
return res;
|
|
3010
|
+
};
|
|
3011
|
+
var filterModelListeners = (attrs, props) => {
|
|
3012
|
+
const res = {};
|
|
3013
|
+
for (const key in attrs) if (!isModelListener(key) || !(key.slice(9) in props)) res[key] = attrs[key];
|
|
3014
|
+
return res;
|
|
3015
|
+
};
|
|
3016
|
+
function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
|
|
3017
|
+
const { props: prevProps, children: prevChildren, component } = prevVNode;
|
|
3018
|
+
const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
|
|
3019
|
+
const emits = component.emitsOptions;
|
|
3020
|
+
if (nextVNode.dirs || nextVNode.transition) return true;
|
|
3021
|
+
if (optimized && patchFlag >= 0) {
|
|
3022
|
+
if (patchFlag & 1024) return true;
|
|
3023
|
+
if (patchFlag & 16) {
|
|
3024
|
+
if (!prevProps) return !!nextProps;
|
|
3025
|
+
return hasPropsChanged(prevProps, nextProps, emits);
|
|
3026
|
+
} else if (patchFlag & 8) {
|
|
3027
|
+
const dynamicProps = nextVNode.dynamicProps;
|
|
3028
|
+
for (let i$1 = 0; i$1 < dynamicProps.length; i$1++) {
|
|
3029
|
+
const key = dynamicProps[i$1];
|
|
3030
|
+
if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) return true;
|
|
3031
|
+
}
|
|
3032
|
+
}
|
|
3033
|
+
} else {
|
|
3034
|
+
if (prevChildren || nextChildren) {
|
|
3035
|
+
if (!nextChildren || !nextChildren.$stable) return true;
|
|
3036
|
+
}
|
|
3037
|
+
if (prevProps === nextProps) return false;
|
|
3038
|
+
if (!prevProps) return !!nextProps;
|
|
3039
|
+
if (!nextProps) return true;
|
|
3040
|
+
return hasPropsChanged(prevProps, nextProps, emits);
|
|
3041
|
+
}
|
|
3042
|
+
return false;
|
|
3043
|
+
}
|
|
3044
|
+
function hasPropsChanged(prevProps, nextProps, emitsOptions) {
|
|
3045
|
+
const nextKeys = Object.keys(nextProps);
|
|
3046
|
+
if (nextKeys.length !== Object.keys(prevProps).length) return true;
|
|
3047
|
+
for (let i$1 = 0; i$1 < nextKeys.length; i$1++) {
|
|
3048
|
+
const key = nextKeys[i$1];
|
|
3049
|
+
if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) return true;
|
|
3050
|
+
}
|
|
3051
|
+
return false;
|
|
3052
|
+
}
|
|
3053
|
+
function updateHOCHostEl({ vnode, parent }, el) {
|
|
3054
|
+
while (parent) {
|
|
3055
|
+
const root = parent.subTree;
|
|
3056
|
+
if (root.suspense && root.suspense.activeBranch === vnode) root.el = vnode.el;
|
|
3057
|
+
if (root === vnode) {
|
|
3058
|
+
(vnode = parent.vnode).el = el;
|
|
3059
|
+
parent = parent.parent;
|
|
3060
|
+
} else break;
|
|
3061
|
+
}
|
|
3062
|
+
}
|
|
3063
|
+
var internalObjectProto = {};
|
|
3064
|
+
var createInternalObject = () => Object.create(internalObjectProto);
|
|
3065
|
+
var isInternalObject = (obj) => Object.getPrototypeOf(obj) === internalObjectProto;
|
|
3066
|
+
function initProps(instance, rawProps, isStateful, isSSR = false) {
|
|
3067
|
+
const props = {};
|
|
3068
|
+
const attrs = createInternalObject();
|
|
3069
|
+
instance.propsDefaults = /* @__PURE__ */ Object.create(null);
|
|
3070
|
+
setFullProps(instance, rawProps, props, attrs);
|
|
3071
|
+
for (const key in instance.propsOptions[0]) if (!(key in props)) props[key] = void 0;
|
|
3072
|
+
if (isStateful) instance.props = isSSR ? props : shallowReactive(props);
|
|
3073
|
+
else if (!instance.type.props) instance.props = attrs;
|
|
3074
|
+
else instance.props = props;
|
|
3075
|
+
instance.attrs = attrs;
|
|
3076
|
+
}
|
|
3077
|
+
function updateProps(instance, rawProps, rawPrevProps, optimized) {
|
|
3078
|
+
const { props, attrs, vnode: { patchFlag } } = instance;
|
|
3079
|
+
const rawCurrentProps = toRaw(props);
|
|
3080
|
+
const [options] = instance.propsOptions;
|
|
3081
|
+
let hasAttrsChanged = false;
|
|
3082
|
+
if ((optimized || patchFlag > 0) && !(patchFlag & 16)) {
|
|
3083
|
+
if (patchFlag & 8) {
|
|
3084
|
+
const propsToUpdate = instance.vnode.dynamicProps;
|
|
3085
|
+
for (let i$1 = 0; i$1 < propsToUpdate.length; i$1++) {
|
|
3086
|
+
let key = propsToUpdate[i$1];
|
|
3087
|
+
if (isEmitListener(instance.emitsOptions, key)) continue;
|
|
3088
|
+
const value = rawProps[key];
|
|
3089
|
+
if (options) if (hasOwn(attrs, key)) {
|
|
3090
|
+
if (value !== attrs[key]) {
|
|
3091
|
+
attrs[key] = value;
|
|
3092
|
+
hasAttrsChanged = true;
|
|
3093
|
+
}
|
|
3094
|
+
} else {
|
|
3095
|
+
const camelizedKey = camelize(key);
|
|
3096
|
+
props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false);
|
|
3097
|
+
}
|
|
3098
|
+
else if (value !== attrs[key]) {
|
|
3099
|
+
attrs[key] = value;
|
|
2746
3100
|
hasAttrsChanged = true;
|
|
2747
3101
|
}
|
|
2748
3102
|
}
|
|
@@ -2871,7 +3225,7 @@ function validatePropName(key) {
|
|
|
2871
3225
|
if (key[0] !== "$" && !isReservedProp(key)) return true;
|
|
2872
3226
|
return false;
|
|
2873
3227
|
}
|
|
2874
|
-
var isInternalKey = (key) => key
|
|
3228
|
+
var isInternalKey = (key) => key === "_" || key === "_ctx" || key === "$stable";
|
|
2875
3229
|
var normalizeSlotValue = (value) => isArray$1(value) ? value.map(normalizeVNode) : [normalizeVNode(value)];
|
|
2876
3230
|
var normalizeSlot$1 = (key, rawSlot, ctx) => {
|
|
2877
3231
|
if (rawSlot._n) return rawSlot;
|
|
@@ -2903,8 +3257,6 @@ var assignSlots = (slots, children, optimized) => {
|
|
|
2903
3257
|
var initSlots = (instance, children, optimized) => {
|
|
2904
3258
|
const slots = instance.slots = createInternalObject();
|
|
2905
3259
|
if (instance.vnode.shapeFlag & 32) {
|
|
2906
|
-
const cacheIndexes = children.__;
|
|
2907
|
-
if (cacheIndexes) def(slots, "__", cacheIndexes, true);
|
|
2908
3260
|
const type = children._;
|
|
2909
3261
|
if (type) {
|
|
2910
3262
|
assignSlots(slots, children, optimized);
|
|
@@ -3012,7 +3364,15 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3012
3364
|
if (n2.type === "svg") namespace = "svg";
|
|
3013
3365
|
else if (n2.type === "math") namespace = "mathml";
|
|
3014
3366
|
if (n1 == null) mountElement(n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
3015
|
-
else
|
|
3367
|
+
else {
|
|
3368
|
+
const customElement = !!(n1.el && n1.el._isVueCE) ? n1.el : null;
|
|
3369
|
+
try {
|
|
3370
|
+
if (customElement) customElement._beginPatch();
|
|
3371
|
+
patchElement(n1, n2, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
3372
|
+
} finally {
|
|
3373
|
+
if (customElement) customElement._endPatch();
|
|
3374
|
+
}
|
|
3375
|
+
}
|
|
3016
3376
|
};
|
|
3017
3377
|
const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized) => {
|
|
3018
3378
|
let el;
|
|
@@ -3122,7 +3482,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3122
3482
|
hostInsert(fragmentStartAnchor, container, anchor);
|
|
3123
3483
|
hostInsert(fragmentEndAnchor, container, anchor);
|
|
3124
3484
|
mountChildren(n2.children || [], container, fragmentEndAnchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
3125
|
-
} else if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && n1.dynamicChildren) {
|
|
3485
|
+
} else if (patchFlag > 0 && patchFlag & 64 && dynamicChildren && n1.dynamicChildren && n1.dynamicChildren.length === dynamicChildren.length) {
|
|
3126
3486
|
patchBlockChildren(n1.dynamicChildren, dynamicChildren, container, parentComponent, parentSuspense, namespace, slotScopeIds);
|
|
3127
3487
|
if (n2.key != null || parentComponent && n2 === parentComponent.subTree) traverseStaticChildren(n1, n2, true);
|
|
3128
3488
|
} else patchChildren(n1, n2, container, fragmentEndAnchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
@@ -3139,7 +3499,11 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3139
3499
|
setupComponent(instance, false, optimized);
|
|
3140
3500
|
if (instance.asyncDep) {
|
|
3141
3501
|
parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect, optimized);
|
|
3142
|
-
if (!initialVNode.el)
|
|
3502
|
+
if (!initialVNode.el) {
|
|
3503
|
+
const placeholder = instance.subTree = createVNode(Comment);
|
|
3504
|
+
processCommentNode(null, placeholder, container, anchor);
|
|
3505
|
+
initialVNode.placeholder = placeholder.el;
|
|
3506
|
+
}
|
|
3143
3507
|
} else setupRenderEffect(instance, initialVNode, container, anchor, parentSuspense, namespace, optimized);
|
|
3144
3508
|
};
|
|
3145
3509
|
const updateComponent = (n1, n2, optimized) => {
|
|
@@ -3224,13 +3588,13 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3224
3588
|
}
|
|
3225
3589
|
};
|
|
3226
3590
|
instance.scope.on();
|
|
3227
|
-
const effect
|
|
3591
|
+
const effect = instance.effect = new ReactiveEffect(componentUpdateFn);
|
|
3228
3592
|
instance.scope.off();
|
|
3229
|
-
const update = instance.update = effect
|
|
3230
|
-
const job = instance.job = effect
|
|
3593
|
+
const update = instance.update = effect.run.bind(effect);
|
|
3594
|
+
const job = instance.job = effect.runIfDirty.bind(effect);
|
|
3231
3595
|
job.i = instance;
|
|
3232
3596
|
job.id = instance.uid;
|
|
3233
|
-
effect
|
|
3597
|
+
effect.scheduler = () => queueJob(job);
|
|
3234
3598
|
toggleRecurse(instance, true);
|
|
3235
3599
|
update();
|
|
3236
3600
|
};
|
|
@@ -3357,7 +3721,8 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3357
3721
|
for (i$1 = toBePatched - 1; i$1 >= 0; i$1--) {
|
|
3358
3722
|
const nextIndex = s2 + i$1;
|
|
3359
3723
|
const nextChild = c2[nextIndex];
|
|
3360
|
-
const
|
|
3724
|
+
const anchorVNode = c2[nextIndex + 1];
|
|
3725
|
+
const anchor = nextIndex + 1 < l2 ? anchorVNode.el || resolveAsyncComponentPlaceholder(anchorVNode) : parentAnchor;
|
|
3361
3726
|
if (newIndexToOldIndexMap[i$1] === 0) patch(null, nextChild, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized);
|
|
3362
3727
|
else if (moved) if (j < 0 || i$1 !== increasingNewIndexSequence[j]) move(nextChild, container, anchor, 2);
|
|
3363
3728
|
else j--;
|
|
@@ -3399,6 +3764,7 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3399
3764
|
else hostInsert(el, container, anchor);
|
|
3400
3765
|
};
|
|
3401
3766
|
const performLeave = () => {
|
|
3767
|
+
if (el._isLeaving) el[leaveCbKey](true);
|
|
3402
3768
|
leave(el, () => {
|
|
3403
3769
|
remove2();
|
|
3404
3770
|
afterLeave && afterLeave();
|
|
@@ -3474,13 +3840,10 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3474
3840
|
hostRemove(end);
|
|
3475
3841
|
};
|
|
3476
3842
|
const unmountComponent = (instance, parentSuspense, doRemove) => {
|
|
3477
|
-
const { bum, scope, job, subTree, um, m: m$2, a: a$1
|
|
3843
|
+
const { bum, scope, job, subTree, um, m: m$2, a: a$1 } = instance;
|
|
3478
3844
|
invalidateMount(m$2);
|
|
3479
3845
|
invalidateMount(a$1);
|
|
3480
3846
|
if (bum) invokeArrayFns(bum);
|
|
3481
|
-
if (parent && isArray$1(slotCacheKeys)) slotCacheKeys.forEach((v$1) => {
|
|
3482
|
-
parent.renderCache[v$1] = void 0;
|
|
3483
|
-
});
|
|
3484
3847
|
scope.stop();
|
|
3485
3848
|
if (job) {
|
|
3486
3849
|
job.flags |= 8;
|
|
@@ -3490,10 +3853,6 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3490
3853
|
queuePostRenderEffect(() => {
|
|
3491
3854
|
instance.isUnmounted = true;
|
|
3492
3855
|
}, parentSuspense);
|
|
3493
|
-
if (parentSuspense && parentSuspense.pendingBranch && !parentSuspense.isUnmounted && instance.asyncDep && !instance.asyncResolved && instance.suspenseId === parentSuspense.pendingId) {
|
|
3494
|
-
parentSuspense.deps--;
|
|
3495
|
-
if (parentSuspense.deps === 0) parentSuspense.resolve();
|
|
3496
|
-
}
|
|
3497
3856
|
};
|
|
3498
3857
|
const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
|
|
3499
3858
|
for (let i$1 = start; i$1 < children.length; i$1++) unmount(children[i$1], parentComponent, parentSuspense, doRemove, optimized);
|
|
@@ -3507,13 +3866,17 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3507
3866
|
};
|
|
3508
3867
|
let isFlushing = false;
|
|
3509
3868
|
const render = (vnode, container, namespace) => {
|
|
3869
|
+
let instance;
|
|
3510
3870
|
if (vnode == null) {
|
|
3511
|
-
if (container._vnode)
|
|
3871
|
+
if (container._vnode) {
|
|
3872
|
+
unmount(container._vnode, null, null, true);
|
|
3873
|
+
instance = container._vnode.component;
|
|
3874
|
+
}
|
|
3512
3875
|
} else patch(container._vnode || null, vnode, container, null, null, null, namespace);
|
|
3513
3876
|
container._vnode = vnode;
|
|
3514
3877
|
if (!isFlushing) {
|
|
3515
3878
|
isFlushing = true;
|
|
3516
|
-
flushPreFlushCbs();
|
|
3879
|
+
flushPreFlushCbs(instance);
|
|
3517
3880
|
flushPostFlushCbs();
|
|
3518
3881
|
isFlushing = false;
|
|
3519
3882
|
}
|
|
@@ -3542,12 +3905,12 @@ function baseCreateRenderer(options, createHydrationFns) {
|
|
|
3542
3905
|
function resolveChildrenNamespace({ type, props }, currentNamespace) {
|
|
3543
3906
|
return currentNamespace === "svg" && type === "foreignObject" || currentNamespace === "mathml" && type === "annotation-xml" && props && props.encoding && props.encoding.includes("html") ? void 0 : currentNamespace;
|
|
3544
3907
|
}
|
|
3545
|
-
function toggleRecurse({ effect
|
|
3908
|
+
function toggleRecurse({ effect, job }, allowed) {
|
|
3546
3909
|
if (allowed) {
|
|
3547
|
-
effect
|
|
3910
|
+
effect.flags |= 32;
|
|
3548
3911
|
job.flags |= 4;
|
|
3549
3912
|
} else {
|
|
3550
|
-
effect
|
|
3913
|
+
effect.flags &= -33;
|
|
3551
3914
|
job.flags &= -5;
|
|
3552
3915
|
}
|
|
3553
3916
|
}
|
|
@@ -3567,7 +3930,8 @@ function traverseStaticChildren(n1, n2, shallow = false) {
|
|
|
3567
3930
|
}
|
|
3568
3931
|
if (!shallow && c2.patchFlag !== -2) traverseStaticChildren(c1, c2);
|
|
3569
3932
|
}
|
|
3570
|
-
if (c2.type === Text) c2.el = c1.el;
|
|
3933
|
+
if (c2.type === Text) if (c2.patchFlag !== -1) c2.el = c1.el;
|
|
3934
|
+
else c2.__elIndex = i$1 + (n1.type === Fragment ? 1 : 0);
|
|
3571
3935
|
if (c2.type === Comment && !c2.el) c2.el = c1.el;
|
|
3572
3936
|
}
|
|
3573
3937
|
}
|
|
@@ -3614,334 +3978,35 @@ function locateNonHydratedAsyncRoot(instance) {
|
|
|
3614
3978
|
function invalidateMount(hooks) {
|
|
3615
3979
|
if (hooks) for (let i$1 = 0; i$1 < hooks.length; i$1++) hooks[i$1].flags |= 8;
|
|
3616
3980
|
}
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
return ctx;
|
|
3623
|
-
}
|
|
3624
|
-
};
|
|
3625
|
-
function watchEffect(effect$1, options) {
|
|
3626
|
-
return doWatch(effect$1, null, options);
|
|
3627
|
-
}
|
|
3628
|
-
function watchSyncEffect(effect$1, options) {
|
|
3629
|
-
return doWatch(effect$1, null, { flush: "sync" });
|
|
3630
|
-
}
|
|
3631
|
-
function watch(source, cb, options) {
|
|
3632
|
-
return doWatch(source, cb, options);
|
|
3981
|
+
function resolveAsyncComponentPlaceholder(anchorVnode) {
|
|
3982
|
+
if (anchorVnode.placeholder) return anchorVnode.placeholder;
|
|
3983
|
+
const instance = anchorVnode.component;
|
|
3984
|
+
if (instance) return resolveAsyncComponentPlaceholder(instance.subTree);
|
|
3985
|
+
return null;
|
|
3633
3986
|
}
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
if (
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
watchStopHandle.pause = NOOP;
|
|
3648
|
-
return watchStopHandle;
|
|
3649
|
-
}
|
|
3650
|
-
}
|
|
3651
|
-
const instance = currentInstance;
|
|
3652
|
-
baseWatchOptions.call = (fn, type, args) => callWithAsyncErrorHandling(fn, instance, type, args);
|
|
3653
|
-
let isPre = false;
|
|
3654
|
-
if (flush === "post") baseWatchOptions.scheduler = (job) => {
|
|
3655
|
-
queuePostRenderEffect(job, instance && instance.suspense);
|
|
3656
|
-
};
|
|
3657
|
-
else if (flush !== "sync") {
|
|
3658
|
-
isPre = true;
|
|
3659
|
-
baseWatchOptions.scheduler = (job, isFirstRun) => {
|
|
3660
|
-
if (isFirstRun) job();
|
|
3661
|
-
else queueJob(job);
|
|
3662
|
-
};
|
|
3663
|
-
}
|
|
3664
|
-
baseWatchOptions.augmentJob = (job) => {
|
|
3665
|
-
if (cb) job.flags |= 4;
|
|
3666
|
-
if (isPre) {
|
|
3667
|
-
job.flags |= 2;
|
|
3668
|
-
if (instance) {
|
|
3669
|
-
job.id = instance.uid;
|
|
3670
|
-
job.i = instance;
|
|
3987
|
+
var isSuspense = (type) => type.__isSuspense;
|
|
3988
|
+
var suspenseId = 0;
|
|
3989
|
+
var Suspense = {
|
|
3990
|
+
name: "Suspense",
|
|
3991
|
+
__isSuspense: true,
|
|
3992
|
+
process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
|
|
3993
|
+
if (n1 == null) mountSuspense(n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals);
|
|
3994
|
+
else {
|
|
3995
|
+
if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
|
|
3996
|
+
n2.suspense = n1.suspense;
|
|
3997
|
+
n2.suspense.vnode = n2;
|
|
3998
|
+
n2.el = n1.el;
|
|
3999
|
+
return;
|
|
3671
4000
|
}
|
|
4001
|
+
patchSuspense(n1, n2, container, anchor, parentComponent, namespace, slotScopeIds, optimized, rendererInternals);
|
|
3672
4002
|
}
|
|
3673
|
-
}
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
}
|
|
3681
|
-
function instanceWatch(source, value, options) {
|
|
3682
|
-
const publicThis = this.proxy;
|
|
3683
|
-
const getter = isString(source) ? source.includes(".") ? createPathGetter(publicThis, source) : () => publicThis[source] : source.bind(publicThis, publicThis);
|
|
3684
|
-
let cb;
|
|
3685
|
-
if (isFunction(value)) cb = value;
|
|
3686
|
-
else {
|
|
3687
|
-
cb = value.handler;
|
|
3688
|
-
options = value;
|
|
3689
|
-
}
|
|
3690
|
-
const reset = setCurrentInstance(this);
|
|
3691
|
-
const res = doWatch(getter, cb.bind(publicThis), options);
|
|
3692
|
-
reset();
|
|
3693
|
-
return res;
|
|
3694
|
-
}
|
|
3695
|
-
function createPathGetter(ctx, path) {
|
|
3696
|
-
const segments = path.split(".");
|
|
3697
|
-
return () => {
|
|
3698
|
-
let cur = ctx;
|
|
3699
|
-
for (let i$1 = 0; i$1 < segments.length && cur; i$1++) cur = cur[segments[i$1]];
|
|
3700
|
-
return cur;
|
|
3701
|
-
};
|
|
3702
|
-
}
|
|
3703
|
-
function useModel(props, name, options = EMPTY_OBJ) {
|
|
3704
|
-
const i$1 = getCurrentInstance();
|
|
3705
|
-
const camelizedName = camelize(name);
|
|
3706
|
-
const hyphenatedName = hyphenate(name);
|
|
3707
|
-
const modifiers = getModelModifiers(props, camelizedName);
|
|
3708
|
-
const res = customRef((track$1, trigger$1) => {
|
|
3709
|
-
let localValue;
|
|
3710
|
-
let prevSetValue = EMPTY_OBJ;
|
|
3711
|
-
let prevEmittedValue;
|
|
3712
|
-
watchSyncEffect(() => {
|
|
3713
|
-
const propValue = props[camelizedName];
|
|
3714
|
-
if (hasChanged(localValue, propValue)) {
|
|
3715
|
-
localValue = propValue;
|
|
3716
|
-
trigger$1();
|
|
3717
|
-
}
|
|
3718
|
-
});
|
|
3719
|
-
return {
|
|
3720
|
-
get() {
|
|
3721
|
-
track$1();
|
|
3722
|
-
return options.get ? options.get(localValue) : localValue;
|
|
3723
|
-
},
|
|
3724
|
-
set(value) {
|
|
3725
|
-
const emittedValue = options.set ? options.set(value) : value;
|
|
3726
|
-
if (!hasChanged(emittedValue, localValue) && !(prevSetValue !== EMPTY_OBJ && hasChanged(value, prevSetValue))) return;
|
|
3727
|
-
const rawProps = i$1.vnode.props;
|
|
3728
|
-
if (!(rawProps && (name in rawProps || camelizedName in rawProps || hyphenatedName in rawProps) && (`onUpdate:${name}` in rawProps || `onUpdate:${camelizedName}` in rawProps || `onUpdate:${hyphenatedName}` in rawProps))) {
|
|
3729
|
-
localValue = value;
|
|
3730
|
-
trigger$1();
|
|
3731
|
-
}
|
|
3732
|
-
i$1.emit(`update:${name}`, emittedValue);
|
|
3733
|
-
if (hasChanged(value, emittedValue) && hasChanged(value, prevSetValue) && !hasChanged(emittedValue, prevEmittedValue)) trigger$1();
|
|
3734
|
-
prevSetValue = value;
|
|
3735
|
-
prevEmittedValue = emittedValue;
|
|
3736
|
-
}
|
|
3737
|
-
};
|
|
3738
|
-
});
|
|
3739
|
-
res[Symbol.iterator] = () => {
|
|
3740
|
-
let i2 = 0;
|
|
3741
|
-
return { next() {
|
|
3742
|
-
if (i2 < 2) return {
|
|
3743
|
-
value: i2++ ? modifiers || EMPTY_OBJ : res,
|
|
3744
|
-
done: false
|
|
3745
|
-
};
|
|
3746
|
-
else return { done: true };
|
|
3747
|
-
} };
|
|
3748
|
-
};
|
|
3749
|
-
return res;
|
|
3750
|
-
}
|
|
3751
|
-
var getModelModifiers = (props, modelName) => {
|
|
3752
|
-
return modelName === "modelValue" || modelName === "model-value" ? props.modelModifiers : props[`${modelName}Modifiers`] || props[`${camelize(modelName)}Modifiers`] || props[`${hyphenate(modelName)}Modifiers`];
|
|
3753
|
-
};
|
|
3754
|
-
function emit(instance, event, ...rawArgs) {
|
|
3755
|
-
if (instance.isUnmounted) return;
|
|
3756
|
-
const props = instance.vnode.props || EMPTY_OBJ;
|
|
3757
|
-
let args = rawArgs;
|
|
3758
|
-
const isModelListener$1 = event.startsWith("update:");
|
|
3759
|
-
const modifiers = isModelListener$1 && getModelModifiers(props, event.slice(7));
|
|
3760
|
-
if (modifiers) {
|
|
3761
|
-
if (modifiers.trim) args = rawArgs.map((a$1) => isString(a$1) ? a$1.trim() : a$1);
|
|
3762
|
-
if (modifiers.number) args = rawArgs.map(looseToNumber);
|
|
3763
|
-
}
|
|
3764
|
-
let handlerName;
|
|
3765
|
-
let handler = props[handlerName = toHandlerKey(event)] || props[handlerName = toHandlerKey(camelize(event))];
|
|
3766
|
-
if (!handler && isModelListener$1) handler = props[handlerName = toHandlerKey(hyphenate(event))];
|
|
3767
|
-
if (handler) callWithAsyncErrorHandling(handler, instance, 6, args);
|
|
3768
|
-
const onceHandler = props[handlerName + `Once`];
|
|
3769
|
-
if (onceHandler) {
|
|
3770
|
-
if (!instance.emitted) instance.emitted = {};
|
|
3771
|
-
else if (instance.emitted[handlerName]) return;
|
|
3772
|
-
instance.emitted[handlerName] = true;
|
|
3773
|
-
callWithAsyncErrorHandling(onceHandler, instance, 6, args);
|
|
3774
|
-
}
|
|
3775
|
-
}
|
|
3776
|
-
function normalizeEmitsOptions(comp, appContext, asMixin = false) {
|
|
3777
|
-
const cache = appContext.emitsCache;
|
|
3778
|
-
const cached = cache.get(comp);
|
|
3779
|
-
if (cached !== void 0) return cached;
|
|
3780
|
-
const raw = comp.emits;
|
|
3781
|
-
let normalized = {};
|
|
3782
|
-
let hasExtends = false;
|
|
3783
|
-
if (!isFunction(comp)) {
|
|
3784
|
-
const extendEmits = (raw2) => {
|
|
3785
|
-
const normalizedFromExtend = normalizeEmitsOptions(raw2, appContext, true);
|
|
3786
|
-
if (normalizedFromExtend) {
|
|
3787
|
-
hasExtends = true;
|
|
3788
|
-
extend(normalized, normalizedFromExtend);
|
|
3789
|
-
}
|
|
3790
|
-
};
|
|
3791
|
-
if (!asMixin && appContext.mixins.length) appContext.mixins.forEach(extendEmits);
|
|
3792
|
-
if (comp.extends) extendEmits(comp.extends);
|
|
3793
|
-
if (comp.mixins) comp.mixins.forEach(extendEmits);
|
|
3794
|
-
}
|
|
3795
|
-
if (!raw && !hasExtends) {
|
|
3796
|
-
if (isObject(comp)) cache.set(comp, null);
|
|
3797
|
-
return null;
|
|
3798
|
-
}
|
|
3799
|
-
if (isArray$1(raw)) raw.forEach((key) => normalized[key] = null);
|
|
3800
|
-
else extend(normalized, raw);
|
|
3801
|
-
if (isObject(comp)) cache.set(comp, normalized);
|
|
3802
|
-
return normalized;
|
|
3803
|
-
}
|
|
3804
|
-
function isEmitListener(options, key) {
|
|
3805
|
-
if (!options || !isOn(key)) return false;
|
|
3806
|
-
key = key.slice(2).replace(/Once$/, "");
|
|
3807
|
-
return hasOwn(options, key[0].toLowerCase() + key.slice(1)) || hasOwn(options, hyphenate(key)) || hasOwn(options, key);
|
|
3808
|
-
}
|
|
3809
|
-
function renderComponentRoot(instance) {
|
|
3810
|
-
const { type: Component, vnode, proxy, withProxy, propsOptions: [propsOptions], slots, attrs, emit: emit$1, render, renderCache, props, data, setupState, ctx, inheritAttrs } = instance;
|
|
3811
|
-
const prev = setCurrentRenderingInstance(instance);
|
|
3812
|
-
let result;
|
|
3813
|
-
let fallthroughAttrs;
|
|
3814
|
-
try {
|
|
3815
|
-
if (vnode.shapeFlag & 4) {
|
|
3816
|
-
const proxyToUse = withProxy || proxy;
|
|
3817
|
-
const thisProxy = proxyToUse;
|
|
3818
|
-
result = normalizeVNode(render.call(thisProxy, proxyToUse, renderCache, props, setupState, data, ctx));
|
|
3819
|
-
fallthroughAttrs = attrs;
|
|
3820
|
-
} else {
|
|
3821
|
-
const render2 = Component;
|
|
3822
|
-
result = normalizeVNode(render2.length > 1 ? render2(props, {
|
|
3823
|
-
attrs,
|
|
3824
|
-
slots,
|
|
3825
|
-
emit: emit$1
|
|
3826
|
-
}) : render2(props, null));
|
|
3827
|
-
fallthroughAttrs = Component.props ? attrs : getFunctionalFallthrough(attrs);
|
|
3828
|
-
}
|
|
3829
|
-
} catch (err) {
|
|
3830
|
-
blockStack.length = 0;
|
|
3831
|
-
handleError(err, instance, 1);
|
|
3832
|
-
result = createVNode(Comment);
|
|
3833
|
-
}
|
|
3834
|
-
let root = result;
|
|
3835
|
-
if (fallthroughAttrs && inheritAttrs !== false) {
|
|
3836
|
-
const keys = Object.keys(fallthroughAttrs);
|
|
3837
|
-
const { shapeFlag } = root;
|
|
3838
|
-
if (keys.length) {
|
|
3839
|
-
if (shapeFlag & 7) {
|
|
3840
|
-
if (propsOptions && keys.some(isModelListener)) fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);
|
|
3841
|
-
root = cloneVNode(root, fallthroughAttrs, false, true);
|
|
3842
|
-
}
|
|
3843
|
-
}
|
|
3844
|
-
}
|
|
3845
|
-
if (vnode.dirs) {
|
|
3846
|
-
root = cloneVNode(root, null, false, true);
|
|
3847
|
-
root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
|
|
3848
|
-
}
|
|
3849
|
-
if (vnode.transition) setTransitionHooks(root, vnode.transition);
|
|
3850
|
-
result = root;
|
|
3851
|
-
setCurrentRenderingInstance(prev);
|
|
3852
|
-
return result;
|
|
3853
|
-
}
|
|
3854
|
-
function filterSingleRoot(children, recurse = true) {
|
|
3855
|
-
let singleRoot;
|
|
3856
|
-
for (let i$1 = 0; i$1 < children.length; i$1++) {
|
|
3857
|
-
const child = children[i$1];
|
|
3858
|
-
if (isVNode(child)) {
|
|
3859
|
-
if (child.type !== Comment || child.children === "v-if") if (singleRoot) return;
|
|
3860
|
-
else singleRoot = child;
|
|
3861
|
-
} else return;
|
|
3862
|
-
}
|
|
3863
|
-
return singleRoot;
|
|
3864
|
-
}
|
|
3865
|
-
var getFunctionalFallthrough = (attrs) => {
|
|
3866
|
-
let res;
|
|
3867
|
-
for (const key in attrs) if (key === "class" || key === "style" || isOn(key)) (res || (res = {}))[key] = attrs[key];
|
|
3868
|
-
return res;
|
|
3869
|
-
};
|
|
3870
|
-
var filterModelListeners = (attrs, props) => {
|
|
3871
|
-
const res = {};
|
|
3872
|
-
for (const key in attrs) if (!isModelListener(key) || !(key.slice(9) in props)) res[key] = attrs[key];
|
|
3873
|
-
return res;
|
|
3874
|
-
};
|
|
3875
|
-
function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
|
|
3876
|
-
const { props: prevProps, children: prevChildren, component } = prevVNode;
|
|
3877
|
-
const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
|
|
3878
|
-
const emits = component.emitsOptions;
|
|
3879
|
-
if (nextVNode.dirs || nextVNode.transition) return true;
|
|
3880
|
-
if (optimized && patchFlag >= 0) {
|
|
3881
|
-
if (patchFlag & 1024) return true;
|
|
3882
|
-
if (patchFlag & 16) {
|
|
3883
|
-
if (!prevProps) return !!nextProps;
|
|
3884
|
-
return hasPropsChanged(prevProps, nextProps, emits);
|
|
3885
|
-
} else if (patchFlag & 8) {
|
|
3886
|
-
const dynamicProps = nextVNode.dynamicProps;
|
|
3887
|
-
for (let i$1 = 0; i$1 < dynamicProps.length; i$1++) {
|
|
3888
|
-
const key = dynamicProps[i$1];
|
|
3889
|
-
if (nextProps[key] !== prevProps[key] && !isEmitListener(emits, key)) return true;
|
|
3890
|
-
}
|
|
3891
|
-
}
|
|
3892
|
-
} else {
|
|
3893
|
-
if (prevChildren || nextChildren) {
|
|
3894
|
-
if (!nextChildren || !nextChildren.$stable) return true;
|
|
3895
|
-
}
|
|
3896
|
-
if (prevProps === nextProps) return false;
|
|
3897
|
-
if (!prevProps) return !!nextProps;
|
|
3898
|
-
if (!nextProps) return true;
|
|
3899
|
-
return hasPropsChanged(prevProps, nextProps, emits);
|
|
3900
|
-
}
|
|
3901
|
-
return false;
|
|
3902
|
-
}
|
|
3903
|
-
function hasPropsChanged(prevProps, nextProps, emitsOptions) {
|
|
3904
|
-
const nextKeys = Object.keys(nextProps);
|
|
3905
|
-
if (nextKeys.length !== Object.keys(prevProps).length) return true;
|
|
3906
|
-
for (let i$1 = 0; i$1 < nextKeys.length; i$1++) {
|
|
3907
|
-
const key = nextKeys[i$1];
|
|
3908
|
-
if (nextProps[key] !== prevProps[key] && !isEmitListener(emitsOptions, key)) return true;
|
|
3909
|
-
}
|
|
3910
|
-
return false;
|
|
3911
|
-
}
|
|
3912
|
-
function updateHOCHostEl({ vnode, parent }, el) {
|
|
3913
|
-
while (parent) {
|
|
3914
|
-
const root = parent.subTree;
|
|
3915
|
-
if (root.suspense && root.suspense.activeBranch === vnode) root.el = vnode.el;
|
|
3916
|
-
if (root === vnode) {
|
|
3917
|
-
(vnode = parent.vnode).el = el;
|
|
3918
|
-
parent = parent.parent;
|
|
3919
|
-
} else break;
|
|
3920
|
-
}
|
|
3921
|
-
}
|
|
3922
|
-
var isSuspense = (type) => type.__isSuspense;
|
|
3923
|
-
var suspenseId = 0;
|
|
3924
|
-
var Suspense = {
|
|
3925
|
-
name: "Suspense",
|
|
3926
|
-
__isSuspense: true,
|
|
3927
|
-
process(n1, n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
|
|
3928
|
-
if (n1 == null) mountSuspense(n2, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals);
|
|
3929
|
-
else {
|
|
3930
|
-
if (parentSuspense && parentSuspense.deps > 0 && !n1.suspense.isInFallback) {
|
|
3931
|
-
n2.suspense = n1.suspense;
|
|
3932
|
-
n2.suspense.vnode = n2;
|
|
3933
|
-
n2.el = n1.el;
|
|
3934
|
-
return;
|
|
3935
|
-
}
|
|
3936
|
-
patchSuspense(n1, n2, container, anchor, parentComponent, namespace, slotScopeIds, optimized, rendererInternals);
|
|
3937
|
-
}
|
|
3938
|
-
},
|
|
3939
|
-
hydrate: hydrateSuspense,
|
|
3940
|
-
normalize: normalizeSuspenseChildren
|
|
3941
|
-
};
|
|
3942
|
-
function triggerEvent(vnode, name) {
|
|
3943
|
-
const eventListener = vnode.props && vnode.props[name];
|
|
3944
|
-
if (isFunction(eventListener)) eventListener();
|
|
4003
|
+
},
|
|
4004
|
+
hydrate: hydrateSuspense,
|
|
4005
|
+
normalize: normalizeSuspenseChildren
|
|
4006
|
+
};
|
|
4007
|
+
function triggerEvent(vnode, name) {
|
|
4008
|
+
const eventListener = vnode.props && vnode.props[name];
|
|
4009
|
+
if (isFunction(eventListener)) eventListener();
|
|
3945
4010
|
}
|
|
3946
4011
|
function mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, namespace, slotScopeIds, optimized, rendererInternals) {
|
|
3947
4012
|
const { p: patch, o: { createElement } } = rendererInternals;
|
|
@@ -3964,7 +4029,7 @@ function patchSuspense(n1, n2, container, anchor, parentComponent, namespace, sl
|
|
|
3964
4029
|
const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;
|
|
3965
4030
|
if (pendingBranch) {
|
|
3966
4031
|
suspense.pendingBranch = newBranch;
|
|
3967
|
-
if (isSameVNodeType(
|
|
4032
|
+
if (isSameVNodeType(pendingBranch, newBranch)) {
|
|
3968
4033
|
patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, namespace, slotScopeIds, optimized);
|
|
3969
4034
|
if (suspense.deps <= 0) suspense.resolve();
|
|
3970
4035
|
else if (isInFallback) {
|
|
@@ -3989,7 +4054,7 @@ function patchSuspense(n1, n2, container, anchor, parentComponent, namespace, sl
|
|
|
3989
4054
|
patch(activeBranch, newFallback, container, anchor, parentComponent, null, namespace, slotScopeIds, optimized);
|
|
3990
4055
|
setActiveBranch(suspense, newFallback);
|
|
3991
4056
|
}
|
|
3992
|
-
} else if (activeBranch && isSameVNodeType(
|
|
4057
|
+
} else if (activeBranch && isSameVNodeType(activeBranch, newBranch)) {
|
|
3993
4058
|
patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, namespace, slotScopeIds, optimized);
|
|
3994
4059
|
suspense.resolve(true);
|
|
3995
4060
|
} else {
|
|
@@ -3997,7 +4062,7 @@ function patchSuspense(n1, n2, container, anchor, parentComponent, namespace, sl
|
|
|
3997
4062
|
if (suspense.deps <= 0) suspense.resolve();
|
|
3998
4063
|
}
|
|
3999
4064
|
}
|
|
4000
|
-
} else if (activeBranch && isSameVNodeType(
|
|
4065
|
+
} else if (activeBranch && isSameVNodeType(activeBranch, newBranch)) {
|
|
4001
4066
|
patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, namespace, slotScopeIds, optimized);
|
|
4002
4067
|
setActiveBranch(suspense, newBranch);
|
|
4003
4068
|
} else {
|
|
@@ -4045,7 +4110,7 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
4045
4110
|
isUnmounted: false,
|
|
4046
4111
|
effects: [],
|
|
4047
4112
|
resolve(resume = false, sync = false) {
|
|
4048
|
-
const { vnode: vnode2, activeBranch, pendingBranch, pendingId, effects, parentComponent: parentComponent2, container: container2 } = suspense;
|
|
4113
|
+
const { vnode: vnode2, activeBranch, pendingBranch, pendingId, effects, parentComponent: parentComponent2, container: container2, isInFallback } = suspense;
|
|
4049
4114
|
let delayEnter = false;
|
|
4050
4115
|
if (suspense.isHydrating) suspense.isHydrating = false;
|
|
4051
4116
|
else if (!resume) {
|
|
@@ -4054,11 +4119,13 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
4054
4119
|
if (pendingId === suspense.pendingId) {
|
|
4055
4120
|
move(pendingBranch, container2, anchor === initialAnchor ? next(activeBranch) : anchor, 0);
|
|
4056
4121
|
queuePostFlushCb(effects);
|
|
4122
|
+
if (isInFallback && vnode2.ssFallback) vnode2.ssFallback.el = null;
|
|
4057
4123
|
}
|
|
4058
4124
|
};
|
|
4059
4125
|
if (activeBranch) {
|
|
4060
4126
|
if (parentNode(activeBranch.el) === container2) anchor = next(activeBranch);
|
|
4061
4127
|
unmount(activeBranch, parentComponent2, suspense, true);
|
|
4128
|
+
if (!delayEnter && isInFallback && vnode2.ssFallback) queuePostRenderEffect(() => vnode2.ssFallback.el = null, suspense);
|
|
4062
4129
|
}
|
|
4063
4130
|
if (!delayEnter) move(pendingBranch, container2, anchor, 0);
|
|
4064
4131
|
}
|
|
@@ -4122,7 +4189,10 @@ function createSuspenseBoundary(vnode, parentSuspense, parentComponent, containe
|
|
|
4122
4189
|
if (hydratedEl) vnode2.el = hydratedEl;
|
|
4123
4190
|
const placeholder = !hydratedEl && instance.subTree.el;
|
|
4124
4191
|
setupRenderEffect(instance, vnode2, parentNode(hydratedEl || instance.subTree.el), hydratedEl ? null : next(instance.subTree), suspense, namespace, optimized2);
|
|
4125
|
-
if (placeholder)
|
|
4192
|
+
if (placeholder) {
|
|
4193
|
+
vnode2.placeholder = null;
|
|
4194
|
+
remove$1(placeholder);
|
|
4195
|
+
}
|
|
4126
4196
|
updateHOCHostEl(instance, vnode2.el);
|
|
4127
4197
|
if (isInPendingSuspense && --suspense.deps === 0) suspense.resolve();
|
|
4128
4198
|
});
|
|
@@ -4190,10 +4260,10 @@ function isVNodeSuspensible(vnode) {
|
|
|
4190
4260
|
const suspensible = vnode.props && vnode.props.suspensible;
|
|
4191
4261
|
return suspensible != null && suspensible !== false;
|
|
4192
4262
|
}
|
|
4193
|
-
var Fragment = Symbol.for("v-fgt");
|
|
4194
|
-
var Text = Symbol.for("v-txt");
|
|
4195
|
-
var Comment = Symbol.for("v-cmt");
|
|
4196
|
-
var Static = Symbol.for("v-stc");
|
|
4263
|
+
var Fragment = /* @__PURE__ */ Symbol.for("v-fgt");
|
|
4264
|
+
var Text = /* @__PURE__ */ Symbol.for("v-txt");
|
|
4265
|
+
var Comment = /* @__PURE__ */ Symbol.for("v-cmt");
|
|
4266
|
+
var Static = /* @__PURE__ */ Symbol.for("v-stc");
|
|
4197
4267
|
var blockStack = [];
|
|
4198
4268
|
var currentBlock = null;
|
|
4199
4269
|
function openBlock(disableTracking = false) {
|
|
@@ -4329,6 +4399,7 @@ function cloneVNode(vnode, extraProps, mergeRef = false, cloneTransition = false
|
|
|
4329
4399
|
suspense: vnode.suspense,
|
|
4330
4400
|
ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
|
|
4331
4401
|
ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
|
|
4402
|
+
placeholder: vnode.placeholder,
|
|
4332
4403
|
el: vnode.el,
|
|
4333
4404
|
anchor: vnode.anchor,
|
|
4334
4405
|
ctx: vnode.ctx,
|
|
@@ -4626,21 +4697,26 @@ function isClassComponent(value) {
|
|
|
4626
4697
|
var computed = (getterOrOptions, debugOptions) => {
|
|
4627
4698
|
return computed$1(getterOrOptions, debugOptions, isInSSRComponentSetup);
|
|
4628
4699
|
};
|
|
4629
|
-
function h(type, propsOrChildren, children) {
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
else
|
|
4638
|
-
|
|
4700
|
+
function h$2(type, propsOrChildren, children) {
|
|
4701
|
+
try {
|
|
4702
|
+
setBlockTracking(-1);
|
|
4703
|
+
const l$1 = arguments.length;
|
|
4704
|
+
if (l$1 === 2) if (isObject(propsOrChildren) && !isArray$1(propsOrChildren)) {
|
|
4705
|
+
if (isVNode(propsOrChildren)) return createVNode(type, null, [propsOrChildren]);
|
|
4706
|
+
return createVNode(type, propsOrChildren);
|
|
4707
|
+
} else return createVNode(type, null, propsOrChildren);
|
|
4708
|
+
else {
|
|
4709
|
+
if (l$1 > 3) children = Array.prototype.slice.call(arguments, 2);
|
|
4710
|
+
else if (l$1 === 3 && isVNode(children)) children = [children];
|
|
4711
|
+
return createVNode(type, propsOrChildren, children);
|
|
4712
|
+
}
|
|
4713
|
+
} finally {
|
|
4714
|
+
setBlockTracking(1);
|
|
4639
4715
|
}
|
|
4640
4716
|
}
|
|
4641
|
-
var version = "3.5.
|
|
4717
|
+
var version = "3.5.26";
|
|
4642
4718
|
/**
|
|
4643
|
-
* @vue/runtime-dom v3.5.
|
|
4719
|
+
* @vue/runtime-dom v3.5.26
|
|
4644
4720
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4645
4721
|
* @license MIT
|
|
4646
4722
|
**/
|
|
@@ -4702,7 +4778,7 @@ var nodeOps = {
|
|
|
4702
4778
|
};
|
|
4703
4779
|
var TRANSITION = "transition";
|
|
4704
4780
|
var ANIMATION = "animation";
|
|
4705
|
-
var vtcKey = Symbol("_vtc");
|
|
4781
|
+
var vtcKey = /* @__PURE__ */ Symbol("_vtc");
|
|
4706
4782
|
var DOMTransitionPropsValidators = {
|
|
4707
4783
|
name: String,
|
|
4708
4784
|
type: String,
|
|
@@ -4731,7 +4807,7 @@ var decorate$1 = (t) => {
|
|
|
4731
4807
|
t.props = TransitionPropsValidators;
|
|
4732
4808
|
return t;
|
|
4733
4809
|
};
|
|
4734
|
-
var Transition = /* @__PURE__ */ decorate$1((props, { slots }) => h(BaseTransition, resolveTransitionProps(props), slots));
|
|
4810
|
+
var Transition = /* @__PURE__ */ decorate$1((props, { slots }) => h$2(BaseTransition, resolveTransitionProps(props), slots));
|
|
4735
4811
|
var callHook = (hook, args = []) => {
|
|
4736
4812
|
if (isArray$1(hook)) hook.forEach((h2) => h2(...args));
|
|
4737
4813
|
else if (hook) hook(...args);
|
|
@@ -4791,11 +4867,11 @@ function resolveTransitionProps(rawProps) {
|
|
|
4791
4867
|
const resolve$1 = () => finishLeave(el, done);
|
|
4792
4868
|
addTransitionClass(el, leaveFromClass);
|
|
4793
4869
|
if (!el._enterCancelled) {
|
|
4794
|
-
forceReflow();
|
|
4870
|
+
forceReflow(el);
|
|
4795
4871
|
addTransitionClass(el, leaveActiveClass);
|
|
4796
4872
|
} else {
|
|
4797
4873
|
addTransitionClass(el, leaveActiveClass);
|
|
4798
|
-
forceReflow();
|
|
4874
|
+
forceReflow(el);
|
|
4799
4875
|
}
|
|
4800
4876
|
nextFrame(() => {
|
|
4801
4877
|
if (!el._isLeaving) return;
|
|
@@ -4899,7 +4975,7 @@ function getTransitionInfo(el, expectedType) {
|
|
|
4899
4975
|
type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null;
|
|
4900
4976
|
propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0;
|
|
4901
4977
|
}
|
|
4902
|
-
const hasTransform = type === TRANSITION && /\b(transform|all)(
|
|
4978
|
+
const hasTransform = type === TRANSITION && /\b(?:transform|all)(?:,|$)/.test(getStyleProperties(`${TRANSITION}Property`).toString());
|
|
4903
4979
|
return {
|
|
4904
4980
|
type,
|
|
4905
4981
|
timeout,
|
|
@@ -4915,8 +4991,8 @@ function toMs(s$1) {
|
|
|
4915
4991
|
if (s$1 === "auto") return 0;
|
|
4916
4992
|
return Number(s$1.slice(0, -1).replace(",", ".")) * 1e3;
|
|
4917
4993
|
}
|
|
4918
|
-
function forceReflow() {
|
|
4919
|
-
return document.body.offsetHeight;
|
|
4994
|
+
function forceReflow(el) {
|
|
4995
|
+
return (el ? el.ownerDocument : document).body.offsetHeight;
|
|
4920
4996
|
}
|
|
4921
4997
|
function patchClass(el, value, isSVG) {
|
|
4922
4998
|
const transitionClasses = el[vtcKey];
|
|
@@ -4925,10 +5001,10 @@ function patchClass(el, value, isSVG) {
|
|
|
4925
5001
|
else if (isSVG) el.setAttribute("class", value);
|
|
4926
5002
|
else el.className = value;
|
|
4927
5003
|
}
|
|
4928
|
-
var vShowOriginalDisplay = Symbol("_vod");
|
|
4929
|
-
var vShowHidden = Symbol("_vsh");
|
|
4930
|
-
var CSS_VAR_TEXT = Symbol("");
|
|
4931
|
-
var displayRE = /(
|
|
5004
|
+
var vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
|
|
5005
|
+
var vShowHidden = /* @__PURE__ */ Symbol("_vsh");
|
|
5006
|
+
var CSS_VAR_TEXT = /* @__PURE__ */ Symbol("");
|
|
5007
|
+
var displayRE = /(?:^|;)\s*display\s*:/;
|
|
4932
5008
|
function patchStyle(el, prev, next) {
|
|
4933
5009
|
const style = el.style;
|
|
4934
5010
|
const isCssString = isString(next);
|
|
@@ -5032,7 +5108,7 @@ function addEventListener(el, event, handler, options) {
|
|
|
5032
5108
|
function removeEventListener(el, event, handler, options) {
|
|
5033
5109
|
el.removeEventListener(event, handler, options);
|
|
5034
5110
|
}
|
|
5035
|
-
var veiKey = Symbol("_vei");
|
|
5111
|
+
var veiKey = /* @__PURE__ */ Symbol("_vei");
|
|
5036
5112
|
function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
|
|
5037
5113
|
const invokers = el[veiKey] || (el[veiKey] = {});
|
|
5038
5114
|
const existingInvoker = invokers[rawName];
|
|
@@ -5106,6 +5182,7 @@ function shouldSetAsProp(el, key, value, isSVG) {
|
|
|
5106
5182
|
return false;
|
|
5107
5183
|
}
|
|
5108
5184
|
if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") return false;
|
|
5185
|
+
if (key === "sandbox" && el.tagName === "IFRAME") return false;
|
|
5109
5186
|
if (key === "form") return false;
|
|
5110
5187
|
if (key === "list" && el.tagName === "INPUT") return false;
|
|
5111
5188
|
if (key === "type" && el.tagName === "TEXTAREA") return false;
|
|
@@ -5130,20 +5207,22 @@ function onCompositionEnd(e) {
|
|
|
5130
5207
|
target.dispatchEvent(new Event("input"));
|
|
5131
5208
|
}
|
|
5132
5209
|
}
|
|
5133
|
-
var assignKey = Symbol("_assign");
|
|
5210
|
+
var assignKey = /* @__PURE__ */ Symbol("_assign");
|
|
5211
|
+
function castValue(value, trim, number) {
|
|
5212
|
+
if (trim) value = value.trim();
|
|
5213
|
+
if (number) value = looseToNumber(value);
|
|
5214
|
+
return value;
|
|
5215
|
+
}
|
|
5134
5216
|
var vModelText = {
|
|
5135
5217
|
created(el, { modifiers: { lazy, trim, number } }, vnode) {
|
|
5136
5218
|
el[assignKey] = getModelAssigner(vnode);
|
|
5137
5219
|
const castToNumber = number || vnode.props && vnode.props.type === "number";
|
|
5138
5220
|
addEventListener(el, lazy ? "change" : "input", (e) => {
|
|
5139
5221
|
if (e.target.composing) return;
|
|
5140
|
-
|
|
5141
|
-
if (trim) domValue = domValue.trim();
|
|
5142
|
-
if (castToNumber) domValue = looseToNumber(domValue);
|
|
5143
|
-
el[assignKey](domValue);
|
|
5222
|
+
el[assignKey](castValue(el.value, trim, castToNumber));
|
|
5144
5223
|
});
|
|
5145
|
-
if (trim) addEventListener(el, "change", () => {
|
|
5146
|
-
el.value = el.value
|
|
5224
|
+
if (trim || castToNumber) addEventListener(el, "change", () => {
|
|
5225
|
+
el.value = castValue(el.value, trim, castToNumber);
|
|
5147
5226
|
});
|
|
5148
5227
|
if (!lazy) {
|
|
5149
5228
|
addEventListener(el, "compositionstart", onCompositionStart);
|
|
@@ -5314,18 +5393,18 @@ var keyNames = {
|
|
|
5314
5393
|
var withKeys = (fn, modifiers) => {
|
|
5315
5394
|
const cache = fn._withKeys || (fn._withKeys = {});
|
|
5316
5395
|
const cacheKey = modifiers.join(".");
|
|
5317
|
-
return cache[cacheKey] || (cache[cacheKey] = (event) => {
|
|
5396
|
+
return cache[cacheKey] || (cache[cacheKey] = ((event) => {
|
|
5318
5397
|
if (!("key" in event)) return;
|
|
5319
5398
|
const eventKey = hyphenate(event.key);
|
|
5320
5399
|
if (modifiers.some((k$1) => k$1 === eventKey || keyNames[k$1] === eventKey)) return fn(event);
|
|
5321
|
-
});
|
|
5400
|
+
}));
|
|
5322
5401
|
};
|
|
5323
5402
|
var rendererOptions = /* @__PURE__ */ extend({ patchProp }, nodeOps);
|
|
5324
5403
|
var renderer;
|
|
5325
5404
|
function ensureRenderer() {
|
|
5326
5405
|
return renderer || (renderer = createRenderer(rendererOptions));
|
|
5327
5406
|
}
|
|
5328
|
-
var createApp = (...args) => {
|
|
5407
|
+
var createApp = ((...args) => {
|
|
5329
5408
|
const app$1 = ensureRenderer().createApp(...args);
|
|
5330
5409
|
const { mount } = app$1;
|
|
5331
5410
|
app$1.mount = (containerOrSelector) => {
|
|
@@ -5342,7 +5421,7 @@ var createApp = (...args) => {
|
|
|
5342
5421
|
return proxy;
|
|
5343
5422
|
};
|
|
5344
5423
|
return app$1;
|
|
5345
|
-
};
|
|
5424
|
+
});
|
|
5346
5425
|
function resolveRootNamespace(container) {
|
|
5347
5426
|
if (container instanceof SVGElement) return "svg";
|
|
5348
5427
|
if (typeof MathMLElement === "function" && container instanceof MathMLElement) return "mathml";
|
|
@@ -5970,7 +6049,7 @@ function c$1(t) {
|
|
|
5970
6049
|
};
|
|
5971
6050
|
}
|
|
5972
6051
|
function s(t) {
|
|
5973
|
-
return h$
|
|
6052
|
+
return h$1(t) ? (t.nodeName || "").toLowerCase() : "";
|
|
5974
6053
|
}
|
|
5975
6054
|
var f;
|
|
5976
6055
|
function u() {
|
|
@@ -5984,7 +6063,7 @@ function a(t) {
|
|
|
5984
6063
|
function d$1(t) {
|
|
5985
6064
|
return t instanceof n$1(t).Element;
|
|
5986
6065
|
}
|
|
5987
|
-
function h$
|
|
6066
|
+
function h$1(t) {
|
|
5988
6067
|
return t instanceof n$1(t).Node;
|
|
5989
6068
|
}
|
|
5990
6069
|
function p(t) {
|
|
@@ -6069,7 +6148,7 @@ function E$1(t, e, o$1, i$1) {
|
|
|
6069
6148
|
};
|
|
6070
6149
|
}
|
|
6071
6150
|
function R(t) {
|
|
6072
|
-
return ((h$
|
|
6151
|
+
return ((h$1(t) ? t.ownerDocument : t.document) || window.document).documentElement;
|
|
6073
6152
|
}
|
|
6074
6153
|
function T(t) {
|
|
6075
6154
|
return d$1(t) ? {
|
|
@@ -6246,7 +6325,7 @@ var P = {
|
|
|
6246
6325
|
getClientRects: (t) => Array.from(t.getClientRects()),
|
|
6247
6326
|
isRTL: (t) => "rtl" === o(t).direction
|
|
6248
6327
|
};
|
|
6249
|
-
var B = (t, n$2, o$1) => {
|
|
6328
|
+
var B$1 = (t, n$2, o$1) => {
|
|
6250
6329
|
const i$1 = /* @__PURE__ */ new Map(), r$1 = {
|
|
6251
6330
|
platform: P,
|
|
6252
6331
|
...o$1
|
|
@@ -6262,7 +6341,7 @@ var B = (t, n$2, o$1) => {
|
|
|
6262
6341
|
function ye(e, t) {
|
|
6263
6342
|
for (const o$1 in t) Object.prototype.hasOwnProperty.call(t, o$1) && (typeof t[o$1] == "object" && e[o$1] ? ye(e[o$1], t[o$1]) : e[o$1] = t[o$1]);
|
|
6264
6343
|
}
|
|
6265
|
-
var h
|
|
6344
|
+
var h = {
|
|
6266
6345
|
disabled: !1,
|
|
6267
6346
|
distance: 5,
|
|
6268
6347
|
skidding: 0,
|
|
@@ -6315,25 +6394,25 @@ var h$1 = {
|
|
|
6315
6394
|
}
|
|
6316
6395
|
};
|
|
6317
6396
|
function S(e, t) {
|
|
6318
|
-
let o$1 = h
|
|
6397
|
+
let o$1 = h.themes[e] || {}, i$1;
|
|
6319
6398
|
do
|
|
6320
|
-
i$1 = o$1[t], typeof i$1 > "u" ? o$1.$extend ? o$1 = h
|
|
6399
|
+
i$1 = o$1[t], typeof i$1 > "u" ? o$1.$extend ? o$1 = h.themes[o$1.$extend] || {} : (o$1 = null, i$1 = h[t]) : o$1 = null;
|
|
6321
6400
|
while (o$1);
|
|
6322
6401
|
return i$1;
|
|
6323
6402
|
}
|
|
6324
6403
|
function Ze(e) {
|
|
6325
6404
|
const t = [e];
|
|
6326
|
-
let o$1 = h
|
|
6405
|
+
let o$1 = h.themes[e] || {};
|
|
6327
6406
|
do
|
|
6328
|
-
o$1.$extend && !o$1.$resetCss ? (t.push(o$1.$extend), o$1 = h
|
|
6407
|
+
o$1.$extend && !o$1.$resetCss ? (t.push(o$1.$extend), o$1 = h.themes[o$1.$extend] || {}) : o$1 = null;
|
|
6329
6408
|
while (o$1);
|
|
6330
6409
|
return t.map((i$1) => `v-popper--theme-${i$1}`);
|
|
6331
6410
|
}
|
|
6332
6411
|
function re(e) {
|
|
6333
6412
|
const t = [e];
|
|
6334
|
-
let o$1 = h
|
|
6413
|
+
let o$1 = h.themes[e] || {};
|
|
6335
6414
|
do
|
|
6336
|
-
o$1.$extend ? (t.push(o$1.$extend), o$1 = h
|
|
6415
|
+
o$1.$extend ? (t.push(o$1.$extend), o$1 = h.themes[o$1.$extend] || {}) : o$1 = null;
|
|
6337
6416
|
while (o$1);
|
|
6338
6417
|
return t;
|
|
6339
6418
|
}
|
|
@@ -6782,7 +6861,7 @@ var q = "__floating-vue__popper", Q = () => /* @__PURE__ */ defineComponent({
|
|
|
6782
6861
|
this.$_innerNode.style.maxWidth = i$1 != null ? `${i$1}px` : null, this.$_innerNode.style.maxHeight = s$1 != null ? `${s$1}px` : null;
|
|
6783
6862
|
}
|
|
6784
6863
|
})));
|
|
6785
|
-
const o$1 = await B(this.$_referenceNode, this.$_popperNode, e);
|
|
6864
|
+
const o$1 = await B$1(this.$_referenceNode, this.$_popperNode, e);
|
|
6786
6865
|
Object.assign(this.result, {
|
|
6787
6866
|
x: o$1.x,
|
|
6788
6867
|
y: o$1.y,
|
|
@@ -6947,7 +7026,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
6947
7026
|
window.addEventListener("resize", tt);
|
|
6948
7027
|
}
|
|
6949
7028
|
function ue(e, t) {
|
|
6950
|
-
if (h
|
|
7029
|
+
if (h.autoHideOnMousedown) Pe(e, t);
|
|
6951
7030
|
else for (let o$1 = 0; o$1 < d.length; o$1++) {
|
|
6952
7031
|
const i$1 = d[o$1];
|
|
6953
7032
|
try {
|
|
@@ -6956,7 +7035,7 @@ function ue(e, t) {
|
|
|
6956
7035
|
}
|
|
6957
7036
|
}
|
|
6958
7037
|
function fe(e, t) {
|
|
6959
|
-
h
|
|
7038
|
+
h.autoHideOnMousedown || Pe(e, t);
|
|
6960
7039
|
}
|
|
6961
7040
|
function Pe(e, t) {
|
|
6962
7041
|
const o$1 = {};
|
|
@@ -7002,7 +7081,7 @@ function C(e, t, o$1, i$1, s$1, r$1, p$2, a$1) {
|
|
|
7002
7081
|
const l$1 = ((p$2 - s$1) * (t - r$1) - (a$1 - r$1) * (e - s$1)) / ((a$1 - r$1) * (o$1 - e) - (p$2 - s$1) * (i$1 - t)), u$1 = ((o$1 - e) * (t - r$1) - (i$1 - t) * (e - s$1)) / ((a$1 - r$1) * (o$1 - e) - (p$2 - s$1) * (i$1 - t));
|
|
7003
7082
|
return l$1 >= 0 && l$1 <= 1 && u$1 >= 0 && u$1 <= 1;
|
|
7004
7083
|
}
|
|
7005
|
-
var ot = { extends: Q() }, B
|
|
7084
|
+
var ot = { extends: Q() }, B = (e, t) => {
|
|
7006
7085
|
const o$1 = e.__vccOpts || e;
|
|
7007
7086
|
for (const [i$1, s$1] of t) o$1[i$1] = s$1;
|
|
7008
7087
|
return o$1;
|
|
@@ -7013,7 +7092,7 @@ function it(e, t, o$1, i$1, s$1, r$1) {
|
|
|
7013
7092
|
class: normalizeClass(["v-popper", { "v-popper--shown": e.slotData.isShown }])
|
|
7014
7093
|
}, [renderSlot(e.$slots, "default", normalizeProps(guardReactiveProps(e.slotData)))], 2);
|
|
7015
7094
|
}
|
|
7016
|
-
var st = /* @__PURE__ */ B
|
|
7095
|
+
var st = /* @__PURE__ */ B(ot, [["render", it]]);
|
|
7017
7096
|
function nt() {
|
|
7018
7097
|
var e = window.navigator.userAgent, t = e.indexOf("MSIE ");
|
|
7019
7098
|
if (t > 0) return parseInt(e.substring(t + 5, e.indexOf(".", t)), 10);
|
|
@@ -7159,7 +7238,7 @@ function mt(e, t, o$1, i$1, s$1, r$1) {
|
|
|
7159
7238
|
} : void 0)
|
|
7160
7239
|
}, ct, 4)], 4)], 46, lt);
|
|
7161
7240
|
}
|
|
7162
|
-
var ee = /* @__PURE__ */ B
|
|
7241
|
+
var ee = /* @__PURE__ */ B(dt, [["render", mt]]), te = { methods: {
|
|
7163
7242
|
show(...e) {
|
|
7164
7243
|
return this.$refs.popper.show(...e);
|
|
7165
7244
|
},
|
|
@@ -7429,7 +7508,7 @@ function wt(e, t, o$1, i$1, s$1, r$1) {
|
|
|
7429
7508
|
"class"
|
|
7430
7509
|
]);
|
|
7431
7510
|
}
|
|
7432
|
-
var k = /* @__PURE__ */ B
|
|
7511
|
+
var k = /* @__PURE__ */ B(gt, [["render", wt]]), Se = {
|
|
7433
7512
|
...k,
|
|
7434
7513
|
name: "VDropdown",
|
|
7435
7514
|
vPopperTheme: "dropdown"
|
|
@@ -7577,7 +7656,7 @@ function _t(e, t, o$1, i$1, s$1, r$1) {
|
|
|
7577
7656
|
"onApplyHide"
|
|
7578
7657
|
]);
|
|
7579
7658
|
}
|
|
7580
|
-
var ze = /* @__PURE__ */ B
|
|
7659
|
+
var ze = /* @__PURE__ */ B($t, [["render", _t]]), Ae = "v-popper--has-tooltip";
|
|
7581
7660
|
function Tt(e, t) {
|
|
7582
7661
|
let o$1 = e.placement;
|
|
7583
7662
|
if (!o$1 && t) for (const i$1 of Te) t[i$1] && (o$1 = i$1);
|
|
@@ -7597,7 +7676,7 @@ function St() {
|
|
|
7597
7676
|
return { directives: b };
|
|
7598
7677
|
},
|
|
7599
7678
|
render() {
|
|
7600
|
-
return this.directives.map((t) => h(ze, {
|
|
7679
|
+
return this.directives.map((t) => h$2(ze, {
|
|
7601
7680
|
...t.options,
|
|
7602
7681
|
shown: t.shown || t.options.shown,
|
|
7603
7682
|
key: t.id
|
|
@@ -7688,12 +7767,12 @@ var ie = {
|
|
|
7688
7767
|
}
|
|
7689
7768
|
};
|
|
7690
7769
|
function Ct(e, t = {}) {
|
|
7691
|
-
e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0, ye(h
|
|
7770
|
+
e.$_vTooltipInstalled || (e.$_vTooltipInstalled = !0, ye(h, t), e.directive("tooltip", oe), e.directive("close-popper", ie), e.component("VTooltip", Ce), e.component("VDropdown", Se), e.component("VMenu", be));
|
|
7692
7771
|
}
|
|
7693
7772
|
var Gt = {
|
|
7694
7773
|
version: "5.2.2",
|
|
7695
7774
|
install: Ct,
|
|
7696
|
-
options: h
|
|
7775
|
+
options: h
|
|
7697
7776
|
};
|
|
7698
7777
|
var isBrowser = typeof document !== "undefined";
|
|
7699
7778
|
function isRouteComponent(component) {
|
|
@@ -7713,7 +7792,12 @@ function applyToParams(fn, params) {
|
|
|
7713
7792
|
}
|
|
7714
7793
|
var noop = () => {};
|
|
7715
7794
|
var isArray = Array.isArray;
|
|
7716
|
-
|
|
7795
|
+
function mergeOptions(defaults, partialOptions) {
|
|
7796
|
+
const options = {};
|
|
7797
|
+
for (const key in defaults) options[key] = key in partialOptions ? partialOptions[key] : defaults[key];
|
|
7798
|
+
return options;
|
|
7799
|
+
}
|
|
7800
|
+
var HASH_RE = /#/g;
|
|
7717
7801
|
var AMPERSAND_RE = /&/g;
|
|
7718
7802
|
var SLASH_RE = /\//g;
|
|
7719
7803
|
var EQUAL_RE = /=/g;
|
|
@@ -7728,7 +7812,7 @@ var ENC_PIPE_RE = /%7C/g;
|
|
|
7728
7812
|
var ENC_CURLY_CLOSE_RE = /%7D/g;
|
|
7729
7813
|
var ENC_SPACE_RE = /%20/g;
|
|
7730
7814
|
function commonEncode(text) {
|
|
7731
|
-
return encodeURI("" + text).replace(ENC_PIPE_RE, "|").replace(ENC_BRACKET_OPEN_RE, "[").replace(ENC_BRACKET_CLOSE_RE, "]");
|
|
7815
|
+
return text == null ? "" : encodeURI("" + text).replace(ENC_PIPE_RE, "|").replace(ENC_BRACKET_OPEN_RE, "[").replace(ENC_BRACKET_CLOSE_RE, "]");
|
|
7732
7816
|
}
|
|
7733
7817
|
function encodeHash(text) {
|
|
7734
7818
|
return commonEncode(text).replace(ENC_CURLY_OPEN_RE, "{").replace(ENC_CURLY_CLOSE_RE, "}").replace(ENC_CARET_RE, "^");
|
|
@@ -7743,9 +7827,10 @@ function encodePath(text) {
|
|
|
7743
7827
|
return commonEncode(text).replace(HASH_RE, "%23").replace(IM_RE, "%3F");
|
|
7744
7828
|
}
|
|
7745
7829
|
function encodeParam(text) {
|
|
7746
|
-
return
|
|
7830
|
+
return encodePath(text).replace(SLASH_RE, "%2F");
|
|
7747
7831
|
}
|
|
7748
7832
|
function decode(text) {
|
|
7833
|
+
if (text == null) return null;
|
|
7749
7834
|
try {
|
|
7750
7835
|
return decodeURIComponent("" + text);
|
|
7751
7836
|
} catch (err) {}
|
|
@@ -7757,19 +7842,19 @@ function parseURL(parseQuery$1, location$1, currentLocation = "/") {
|
|
|
7757
7842
|
let path, query = {}, searchString = "", hash = "";
|
|
7758
7843
|
const hashPos = location$1.indexOf("#");
|
|
7759
7844
|
let searchPos = location$1.indexOf("?");
|
|
7760
|
-
|
|
7761
|
-
if (searchPos
|
|
7845
|
+
searchPos = hashPos >= 0 && searchPos > hashPos ? -1 : searchPos;
|
|
7846
|
+
if (searchPos >= 0) {
|
|
7762
7847
|
path = location$1.slice(0, searchPos);
|
|
7763
|
-
searchString = location$1.slice(searchPos
|
|
7764
|
-
query = parseQuery$1(searchString);
|
|
7848
|
+
searchString = location$1.slice(searchPos, hashPos > 0 ? hashPos : location$1.length);
|
|
7849
|
+
query = parseQuery$1(searchString.slice(1));
|
|
7765
7850
|
}
|
|
7766
|
-
if (hashPos
|
|
7851
|
+
if (hashPos >= 0) {
|
|
7767
7852
|
path = path || location$1.slice(0, hashPos);
|
|
7768
7853
|
hash = location$1.slice(hashPos, location$1.length);
|
|
7769
7854
|
}
|
|
7770
7855
|
path = resolveRelativePath(path != null ? path : location$1, currentLocation);
|
|
7771
7856
|
return {
|
|
7772
|
-
fullPath: path +
|
|
7857
|
+
fullPath: path + searchString + hash,
|
|
7773
7858
|
path,
|
|
7774
7859
|
query,
|
|
7775
7860
|
hash: decode(hash)
|
|
@@ -7793,11 +7878,11 @@ function isSameRouteRecord(a$1, b$2) {
|
|
|
7793
7878
|
}
|
|
7794
7879
|
function isSameRouteLocationParams(a$1, b$2) {
|
|
7795
7880
|
if (Object.keys(a$1).length !== Object.keys(b$2).length) return false;
|
|
7796
|
-
for (
|
|
7881
|
+
for (var key in a$1) if (!isSameRouteLocationParamsValue(a$1[key], b$2[key])) return false;
|
|
7797
7882
|
return true;
|
|
7798
7883
|
}
|
|
7799
7884
|
function isSameRouteLocationParamsValue(a$1, b$2) {
|
|
7800
|
-
return isArray(a$1) ? isEquivalentArray(a$1, b$2) : isArray(b$2) ? isEquivalentArray(b$2, a$1) : a$1 === b$2;
|
|
7885
|
+
return isArray(a$1) ? isEquivalentArray(a$1, b$2) : isArray(b$2) ? isEquivalentArray(b$2, a$1) : a$1?.valueOf() === b$2?.valueOf();
|
|
7801
7886
|
}
|
|
7802
7887
|
function isEquivalentArray(a$1, b$2) {
|
|
7803
7888
|
return isArray(b$2) ? a$1.length === b$2.length && a$1.every((value, i$1) => value === b$2[i$1]) : a$1.length === 1 && a$1[0] === b$2;
|
|
@@ -7832,17 +7917,17 @@ var START_LOCATION_NORMALIZED = {
|
|
|
7832
7917
|
meta: {},
|
|
7833
7918
|
redirectedFrom: void 0
|
|
7834
7919
|
};
|
|
7835
|
-
var NavigationType
|
|
7836
|
-
(function(NavigationType$1) {
|
|
7920
|
+
var NavigationType = /* @__PURE__ */ function(NavigationType$1) {
|
|
7837
7921
|
NavigationType$1["pop"] = "pop";
|
|
7838
7922
|
NavigationType$1["push"] = "push";
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7923
|
+
return NavigationType$1;
|
|
7924
|
+
}({});
|
|
7925
|
+
var NavigationDirection = /* @__PURE__ */ function(NavigationDirection$1) {
|
|
7842
7926
|
NavigationDirection$1["back"] = "back";
|
|
7843
7927
|
NavigationDirection$1["forward"] = "forward";
|
|
7844
7928
|
NavigationDirection$1["unknown"] = "";
|
|
7845
|
-
|
|
7929
|
+
return NavigationDirection$1;
|
|
7930
|
+
}({});
|
|
7846
7931
|
function normalizeBase(base) {
|
|
7847
7932
|
if (!base) if (isBrowser) {
|
|
7848
7933
|
const baseEl = document.querySelector("base");
|
|
@@ -7893,6 +7978,163 @@ function getSavedScrollPosition(key) {
|
|
|
7893
7978
|
scrollPositions.delete(key);
|
|
7894
7979
|
return scroll;
|
|
7895
7980
|
}
|
|
7981
|
+
function isRouteLocation(route) {
|
|
7982
|
+
return typeof route === "string" || route && typeof route === "object";
|
|
7983
|
+
}
|
|
7984
|
+
function isRouteName(name) {
|
|
7985
|
+
return typeof name === "string" || typeof name === "symbol";
|
|
7986
|
+
}
|
|
7987
|
+
var ErrorTypes = /* @__PURE__ */ function(ErrorTypes$1) {
|
|
7988
|
+
ErrorTypes$1[ErrorTypes$1["MATCHER_NOT_FOUND"] = 1] = "MATCHER_NOT_FOUND";
|
|
7989
|
+
ErrorTypes$1[ErrorTypes$1["NAVIGATION_GUARD_REDIRECT"] = 2] = "NAVIGATION_GUARD_REDIRECT";
|
|
7990
|
+
ErrorTypes$1[ErrorTypes$1["NAVIGATION_ABORTED"] = 4] = "NAVIGATION_ABORTED";
|
|
7991
|
+
ErrorTypes$1[ErrorTypes$1["NAVIGATION_CANCELLED"] = 8] = "NAVIGATION_CANCELLED";
|
|
7992
|
+
ErrorTypes$1[ErrorTypes$1["NAVIGATION_DUPLICATED"] = 16] = "NAVIGATION_DUPLICATED";
|
|
7993
|
+
return ErrorTypes$1;
|
|
7994
|
+
}({});
|
|
7995
|
+
var NavigationFailureSymbol = Symbol("");
|
|
7996
|
+
ErrorTypes.MATCHER_NOT_FOUND, ErrorTypes.NAVIGATION_GUARD_REDIRECT, ErrorTypes.NAVIGATION_ABORTED, ErrorTypes.NAVIGATION_CANCELLED, ErrorTypes.NAVIGATION_DUPLICATED;
|
|
7997
|
+
function createRouterError(type, params) {
|
|
7998
|
+
return assign(/* @__PURE__ */ new Error(), {
|
|
7999
|
+
type,
|
|
8000
|
+
[NavigationFailureSymbol]: true
|
|
8001
|
+
}, params);
|
|
8002
|
+
}
|
|
8003
|
+
function isNavigationFailure(error, type) {
|
|
8004
|
+
return error instanceof Error && NavigationFailureSymbol in error && (type == null || !!(error.type & type));
|
|
8005
|
+
}
|
|
8006
|
+
function parseQuery(search) {
|
|
8007
|
+
const query = {};
|
|
8008
|
+
if (search === "" || search === "?") return query;
|
|
8009
|
+
const searchParams = (search[0] === "?" ? search.slice(1) : search).split("&");
|
|
8010
|
+
for (let i$1 = 0; i$1 < searchParams.length; ++i$1) {
|
|
8011
|
+
const searchParam = searchParams[i$1].replace(PLUS_RE, " ");
|
|
8012
|
+
const eqPos = searchParam.indexOf("=");
|
|
8013
|
+
const key = decode(eqPos < 0 ? searchParam : searchParam.slice(0, eqPos));
|
|
8014
|
+
const value = eqPos < 0 ? null : decode(searchParam.slice(eqPos + 1));
|
|
8015
|
+
if (key in query) {
|
|
8016
|
+
let currentValue = query[key];
|
|
8017
|
+
if (!isArray(currentValue)) currentValue = query[key] = [currentValue];
|
|
8018
|
+
currentValue.push(value);
|
|
8019
|
+
} else query[key] = value;
|
|
8020
|
+
}
|
|
8021
|
+
return query;
|
|
8022
|
+
}
|
|
8023
|
+
function stringifyQuery(query) {
|
|
8024
|
+
let search = "";
|
|
8025
|
+
for (let key in query) {
|
|
8026
|
+
const value = query[key];
|
|
8027
|
+
key = encodeQueryKey(key);
|
|
8028
|
+
if (value == null) {
|
|
8029
|
+
if (value !== void 0) search += (search.length ? "&" : "") + key;
|
|
8030
|
+
continue;
|
|
8031
|
+
}
|
|
8032
|
+
(isArray(value) ? value.map((v$1) => v$1 && encodeQueryValue(v$1)) : [value && encodeQueryValue(value)]).forEach((value$1) => {
|
|
8033
|
+
if (value$1 !== void 0) {
|
|
8034
|
+
search += (search.length ? "&" : "") + key;
|
|
8035
|
+
if (value$1 != null) search += "=" + value$1;
|
|
8036
|
+
}
|
|
8037
|
+
});
|
|
8038
|
+
}
|
|
8039
|
+
return search;
|
|
8040
|
+
}
|
|
8041
|
+
function normalizeQuery(query) {
|
|
8042
|
+
const normalizedQuery = {};
|
|
8043
|
+
for (const key in query) {
|
|
8044
|
+
const value = query[key];
|
|
8045
|
+
if (value !== void 0) normalizedQuery[key] = isArray(value) ? value.map((v$1) => v$1 == null ? null : "" + v$1) : value == null ? value : "" + value;
|
|
8046
|
+
}
|
|
8047
|
+
return normalizedQuery;
|
|
8048
|
+
}
|
|
8049
|
+
var matchedRouteKey = Symbol("");
|
|
8050
|
+
var viewDepthKey = Symbol("");
|
|
8051
|
+
var routerKey = Symbol("");
|
|
8052
|
+
var routeLocationKey = Symbol("");
|
|
8053
|
+
var routerViewLocationKey = Symbol("");
|
|
8054
|
+
function useCallbacks() {
|
|
8055
|
+
let handlers = [];
|
|
8056
|
+
function add(handler) {
|
|
8057
|
+
handlers.push(handler);
|
|
8058
|
+
return () => {
|
|
8059
|
+
const i$1 = handlers.indexOf(handler);
|
|
8060
|
+
if (i$1 > -1) handlers.splice(i$1, 1);
|
|
8061
|
+
};
|
|
8062
|
+
}
|
|
8063
|
+
function reset() {
|
|
8064
|
+
handlers = [];
|
|
8065
|
+
}
|
|
8066
|
+
return {
|
|
8067
|
+
add,
|
|
8068
|
+
list: () => handlers.slice(),
|
|
8069
|
+
reset
|
|
8070
|
+
};
|
|
8071
|
+
}
|
|
8072
|
+
function guardToPromiseFn(guard, to, from, record, name, runWithContext = (fn) => fn()) {
|
|
8073
|
+
const enterCallbackArray = record && (record.enterCallbacks[name] = record.enterCallbacks[name] || []);
|
|
8074
|
+
return () => new Promise((resolve$1, reject) => {
|
|
8075
|
+
const next = (valid) => {
|
|
8076
|
+
if (valid === false) reject(createRouterError(ErrorTypes.NAVIGATION_ABORTED, {
|
|
8077
|
+
from,
|
|
8078
|
+
to
|
|
8079
|
+
}));
|
|
8080
|
+
else if (valid instanceof Error) reject(valid);
|
|
8081
|
+
else if (isRouteLocation(valid)) reject(createRouterError(ErrorTypes.NAVIGATION_GUARD_REDIRECT, {
|
|
8082
|
+
from: to,
|
|
8083
|
+
to: valid
|
|
8084
|
+
}));
|
|
8085
|
+
else {
|
|
8086
|
+
if (enterCallbackArray && record.enterCallbacks[name] === enterCallbackArray && typeof valid === "function") enterCallbackArray.push(valid);
|
|
8087
|
+
resolve$1();
|
|
8088
|
+
}
|
|
8089
|
+
};
|
|
8090
|
+
const guardReturn = runWithContext(() => guard.call(record && record.instances[name], to, from, next));
|
|
8091
|
+
let guardCall = Promise.resolve(guardReturn);
|
|
8092
|
+
if (guard.length < 3) guardCall = guardCall.then(next);
|
|
8093
|
+
guardCall.catch((err) => reject(err));
|
|
8094
|
+
});
|
|
8095
|
+
}
|
|
8096
|
+
function extractComponentsGuards(matched, guardType, to, from, runWithContext = (fn) => fn()) {
|
|
8097
|
+
const guards = [];
|
|
8098
|
+
for (const record of matched) for (const name in record.components) {
|
|
8099
|
+
let rawComponent = record.components[name];
|
|
8100
|
+
if (guardType !== "beforeRouteEnter" && !record.instances[name]) continue;
|
|
8101
|
+
if (isRouteComponent(rawComponent)) {
|
|
8102
|
+
const guard = (rawComponent.__vccOpts || rawComponent)[guardType];
|
|
8103
|
+
guard && guards.push(guardToPromiseFn(guard, to, from, record, name, runWithContext));
|
|
8104
|
+
} else {
|
|
8105
|
+
let componentPromise = rawComponent();
|
|
8106
|
+
guards.push(() => componentPromise.then((resolved) => {
|
|
8107
|
+
if (!resolved) throw new Error(`Couldn't resolve component "${name}" at "${record.path}"`);
|
|
8108
|
+
const resolvedComponent = isESModule(resolved) ? resolved.default : resolved;
|
|
8109
|
+
record.mods[name] = resolved;
|
|
8110
|
+
record.components[name] = resolvedComponent;
|
|
8111
|
+
const guard = (resolvedComponent.__vccOpts || resolvedComponent)[guardType];
|
|
8112
|
+
return guard && guardToPromiseFn(guard, to, from, record, name, runWithContext)();
|
|
8113
|
+
}));
|
|
8114
|
+
}
|
|
8115
|
+
}
|
|
8116
|
+
return guards;
|
|
8117
|
+
}
|
|
8118
|
+
function extractChangingRecords(to, from) {
|
|
8119
|
+
const leavingRecords = [];
|
|
8120
|
+
const updatingRecords = [];
|
|
8121
|
+
const enteringRecords = [];
|
|
8122
|
+
const len = Math.max(from.matched.length, to.matched.length);
|
|
8123
|
+
for (let i$1 = 0; i$1 < len; i$1++) {
|
|
8124
|
+
const recordFrom = from.matched[i$1];
|
|
8125
|
+
if (recordFrom) if (to.matched.find((record) => isSameRouteRecord(record, recordFrom))) updatingRecords.push(recordFrom);
|
|
8126
|
+
else leavingRecords.push(recordFrom);
|
|
8127
|
+
const recordTo = to.matched[i$1];
|
|
8128
|
+
if (recordTo) {
|
|
8129
|
+
if (!from.matched.find((record) => isSameRouteRecord(record, recordTo))) enteringRecords.push(recordTo);
|
|
8130
|
+
}
|
|
8131
|
+
}
|
|
8132
|
+
return [
|
|
8133
|
+
leavingRecords,
|
|
8134
|
+
updatingRecords,
|
|
8135
|
+
enteringRecords
|
|
8136
|
+
];
|
|
8137
|
+
}
|
|
7896
8138
|
var createBaseLocation = () => location.protocol + "//" + location.host;
|
|
7897
8139
|
function createCurrentLocation(base, location$1) {
|
|
7898
8140
|
const { pathname, search, hash } = location$1;
|
|
@@ -7944,18 +8186,22 @@ function useHistoryListeners(base, historyState, currentLocation, replace) {
|
|
|
7944
8186
|
return teardown;
|
|
7945
8187
|
}
|
|
7946
8188
|
function beforeUnloadListener() {
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
|
|
8189
|
+
if (document.visibilityState === "hidden") {
|
|
8190
|
+
const { history: history$1 } = window;
|
|
8191
|
+
if (!history$1.state) return;
|
|
8192
|
+
history$1.replaceState(assign({}, history$1.state, { scroll: computeScrollPosition() }), "");
|
|
8193
|
+
}
|
|
7950
8194
|
}
|
|
7951
8195
|
function destroy() {
|
|
7952
8196
|
for (const teardown of teardowns) teardown();
|
|
7953
8197
|
teardowns = [];
|
|
7954
8198
|
window.removeEventListener("popstate", popStateHandler);
|
|
7955
|
-
window.removeEventListener("
|
|
8199
|
+
window.removeEventListener("pagehide", beforeUnloadListener);
|
|
8200
|
+
document.removeEventListener("visibilitychange", beforeUnloadListener);
|
|
7956
8201
|
}
|
|
7957
8202
|
window.addEventListener("popstate", popStateHandler);
|
|
7958
|
-
window.addEventListener("
|
|
8203
|
+
window.addEventListener("pagehide", beforeUnloadListener);
|
|
8204
|
+
document.addEventListener("visibilitychange", beforeUnloadListener);
|
|
7959
8205
|
return {
|
|
7960
8206
|
pauseListeners,
|
|
7961
8207
|
listen,
|
|
@@ -8044,27 +8290,115 @@ function createWebHashHistory(base) {
|
|
|
8044
8290
|
if (!base.includes("#")) base += "#";
|
|
8045
8291
|
return createWebHistory(base);
|
|
8046
8292
|
}
|
|
8047
|
-
function
|
|
8048
|
-
|
|
8049
|
-
|
|
8050
|
-
|
|
8051
|
-
return
|
|
8052
|
-
}
|
|
8053
|
-
var
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
function
|
|
8067
|
-
|
|
8293
|
+
var TokenType = /* @__PURE__ */ function(TokenType$1) {
|
|
8294
|
+
TokenType$1[TokenType$1["Static"] = 0] = "Static";
|
|
8295
|
+
TokenType$1[TokenType$1["Param"] = 1] = "Param";
|
|
8296
|
+
TokenType$1[TokenType$1["Group"] = 2] = "Group";
|
|
8297
|
+
return TokenType$1;
|
|
8298
|
+
}({});
|
|
8299
|
+
var TokenizerState = /* @__PURE__ */ function(TokenizerState$1) {
|
|
8300
|
+
TokenizerState$1[TokenizerState$1["Static"] = 0] = "Static";
|
|
8301
|
+
TokenizerState$1[TokenizerState$1["Param"] = 1] = "Param";
|
|
8302
|
+
TokenizerState$1[TokenizerState$1["ParamRegExp"] = 2] = "ParamRegExp";
|
|
8303
|
+
TokenizerState$1[TokenizerState$1["ParamRegExpEnd"] = 3] = "ParamRegExpEnd";
|
|
8304
|
+
TokenizerState$1[TokenizerState$1["EscapeNext"] = 4] = "EscapeNext";
|
|
8305
|
+
return TokenizerState$1;
|
|
8306
|
+
}(TokenizerState || {});
|
|
8307
|
+
var ROOT_TOKEN = {
|
|
8308
|
+
type: TokenType.Static,
|
|
8309
|
+
value: ""
|
|
8310
|
+
};
|
|
8311
|
+
var VALID_PARAM_RE = /[a-zA-Z0-9_]/;
|
|
8312
|
+
function tokenizePath(path) {
|
|
8313
|
+
if (!path) return [[]];
|
|
8314
|
+
if (path === "/") return [[ROOT_TOKEN]];
|
|
8315
|
+
if (!path.startsWith("/")) throw new Error(`Invalid path "${path}"`);
|
|
8316
|
+
function crash(message) {
|
|
8317
|
+
throw new Error(`ERR (${state})/"${buffer}": ${message}`);
|
|
8318
|
+
}
|
|
8319
|
+
let state = TokenizerState.Static;
|
|
8320
|
+
let previousState = state;
|
|
8321
|
+
const tokens = [];
|
|
8322
|
+
let segment;
|
|
8323
|
+
function finalizeSegment() {
|
|
8324
|
+
if (segment) tokens.push(segment);
|
|
8325
|
+
segment = [];
|
|
8326
|
+
}
|
|
8327
|
+
let i$1 = 0;
|
|
8328
|
+
let char;
|
|
8329
|
+
let buffer = "";
|
|
8330
|
+
let customRe = "";
|
|
8331
|
+
function consumeBuffer() {
|
|
8332
|
+
if (!buffer) return;
|
|
8333
|
+
if (state === TokenizerState.Static) segment.push({
|
|
8334
|
+
type: TokenType.Static,
|
|
8335
|
+
value: buffer
|
|
8336
|
+
});
|
|
8337
|
+
else if (state === TokenizerState.Param || state === TokenizerState.ParamRegExp || state === TokenizerState.ParamRegExpEnd) {
|
|
8338
|
+
if (segment.length > 1 && (char === "*" || char === "+")) crash(`A repeatable param (${buffer}) must be alone in its segment. eg: '/:ids+.`);
|
|
8339
|
+
segment.push({
|
|
8340
|
+
type: TokenType.Param,
|
|
8341
|
+
value: buffer,
|
|
8342
|
+
regexp: customRe,
|
|
8343
|
+
repeatable: char === "*" || char === "+",
|
|
8344
|
+
optional: char === "*" || char === "?"
|
|
8345
|
+
});
|
|
8346
|
+
} else crash("Invalid state to consume buffer");
|
|
8347
|
+
buffer = "";
|
|
8348
|
+
}
|
|
8349
|
+
function addCharToBuffer() {
|
|
8350
|
+
buffer += char;
|
|
8351
|
+
}
|
|
8352
|
+
while (i$1 < path.length) {
|
|
8353
|
+
char = path[i$1++];
|
|
8354
|
+
if (char === "\\" && state !== TokenizerState.ParamRegExp) {
|
|
8355
|
+
previousState = state;
|
|
8356
|
+
state = TokenizerState.EscapeNext;
|
|
8357
|
+
continue;
|
|
8358
|
+
}
|
|
8359
|
+
switch (state) {
|
|
8360
|
+
case TokenizerState.Static:
|
|
8361
|
+
if (char === "/") {
|
|
8362
|
+
if (buffer) consumeBuffer();
|
|
8363
|
+
finalizeSegment();
|
|
8364
|
+
} else if (char === ":") {
|
|
8365
|
+
consumeBuffer();
|
|
8366
|
+
state = TokenizerState.Param;
|
|
8367
|
+
} else addCharToBuffer();
|
|
8368
|
+
break;
|
|
8369
|
+
case TokenizerState.EscapeNext:
|
|
8370
|
+
addCharToBuffer();
|
|
8371
|
+
state = previousState;
|
|
8372
|
+
break;
|
|
8373
|
+
case TokenizerState.Param:
|
|
8374
|
+
if (char === "(") state = TokenizerState.ParamRegExp;
|
|
8375
|
+
else if (VALID_PARAM_RE.test(char)) addCharToBuffer();
|
|
8376
|
+
else {
|
|
8377
|
+
consumeBuffer();
|
|
8378
|
+
state = TokenizerState.Static;
|
|
8379
|
+
if (char !== "*" && char !== "?" && char !== "+") i$1--;
|
|
8380
|
+
}
|
|
8381
|
+
break;
|
|
8382
|
+
case TokenizerState.ParamRegExp:
|
|
8383
|
+
if (char === ")") if (customRe[customRe.length - 1] == "\\") customRe = customRe.slice(0, -1) + char;
|
|
8384
|
+
else state = TokenizerState.ParamRegExpEnd;
|
|
8385
|
+
else customRe += char;
|
|
8386
|
+
break;
|
|
8387
|
+
case TokenizerState.ParamRegExpEnd:
|
|
8388
|
+
consumeBuffer();
|
|
8389
|
+
state = TokenizerState.Static;
|
|
8390
|
+
if (char !== "*" && char !== "?" && char !== "+") i$1--;
|
|
8391
|
+
customRe = "";
|
|
8392
|
+
break;
|
|
8393
|
+
default:
|
|
8394
|
+
crash("Unknown state");
|
|
8395
|
+
break;
|
|
8396
|
+
}
|
|
8397
|
+
}
|
|
8398
|
+
if (state === TokenizerState.ParamRegExp) crash(`Unfinished custom RegExp for param "${buffer}"`);
|
|
8399
|
+
consumeBuffer();
|
|
8400
|
+
finalizeSegment();
|
|
8401
|
+
return tokens;
|
|
8068
8402
|
}
|
|
8069
8403
|
var BASE_PARAM_PATTERN = "[^/]+?";
|
|
8070
8404
|
var BASE_PATH_PARSER_OPTIONS = {
|
|
@@ -8073,6 +8407,21 @@ var BASE_PATH_PARSER_OPTIONS = {
|
|
|
8073
8407
|
start: true,
|
|
8074
8408
|
end: true
|
|
8075
8409
|
};
|
|
8410
|
+
var PathScore = /* @__PURE__ */ function(PathScore$1) {
|
|
8411
|
+
PathScore$1[PathScore$1["_multiplier"] = 10] = "_multiplier";
|
|
8412
|
+
PathScore$1[PathScore$1["Root"] = 90] = "Root";
|
|
8413
|
+
PathScore$1[PathScore$1["Segment"] = 40] = "Segment";
|
|
8414
|
+
PathScore$1[PathScore$1["SubSegment"] = 30] = "SubSegment";
|
|
8415
|
+
PathScore$1[PathScore$1["Static"] = 40] = "Static";
|
|
8416
|
+
PathScore$1[PathScore$1["Dynamic"] = 20] = "Dynamic";
|
|
8417
|
+
PathScore$1[PathScore$1["BonusCustomRegExp"] = 10] = "BonusCustomRegExp";
|
|
8418
|
+
PathScore$1[PathScore$1["BonusWildcard"] = -50] = "BonusWildcard";
|
|
8419
|
+
PathScore$1[PathScore$1["BonusRepeatable"] = -20] = "BonusRepeatable";
|
|
8420
|
+
PathScore$1[PathScore$1["BonusOptional"] = -8] = "BonusOptional";
|
|
8421
|
+
PathScore$1[PathScore$1["BonusStrict"] = .7000000000000001] = "BonusStrict";
|
|
8422
|
+
PathScore$1[PathScore$1["BonusCaseSensitive"] = .25] = "BonusCaseSensitive";
|
|
8423
|
+
return PathScore$1;
|
|
8424
|
+
}(PathScore || {});
|
|
8076
8425
|
var REGEX_CHARS_RE = /[.+*?^${}()[\]/\\]/g;
|
|
8077
8426
|
function tokensToParser(segments, extraOptions) {
|
|
8078
8427
|
const options = assign({}, BASE_PATH_PARSER_OPTIONS, extraOptions);
|
|
@@ -8080,39 +8429,39 @@ function tokensToParser(segments, extraOptions) {
|
|
|
8080
8429
|
let pattern = options.start ? "^" : "";
|
|
8081
8430
|
const keys = [];
|
|
8082
8431
|
for (const segment of segments) {
|
|
8083
|
-
const segmentScores = segment.length ? [] : [
|
|
8432
|
+
const segmentScores = segment.length ? [] : [PathScore.Root];
|
|
8084
8433
|
if (options.strict && !segment.length) pattern += "/";
|
|
8085
8434
|
for (let tokenIndex = 0; tokenIndex < segment.length; tokenIndex++) {
|
|
8086
8435
|
const token = segment[tokenIndex];
|
|
8087
|
-
let subSegmentScore =
|
|
8088
|
-
if (token.type ===
|
|
8436
|
+
let subSegmentScore = PathScore.Segment + (options.sensitive ? PathScore.BonusCaseSensitive : 0);
|
|
8437
|
+
if (token.type === TokenType.Static) {
|
|
8089
8438
|
if (!tokenIndex) pattern += "/";
|
|
8090
8439
|
pattern += token.value.replace(REGEX_CHARS_RE, "\\$&");
|
|
8091
|
-
subSegmentScore +=
|
|
8092
|
-
} else if (token.type ===
|
|
8440
|
+
subSegmentScore += PathScore.Static;
|
|
8441
|
+
} else if (token.type === TokenType.Param) {
|
|
8093
8442
|
const { value, repeatable, optional, regexp } = token;
|
|
8094
8443
|
keys.push({
|
|
8095
8444
|
name: value,
|
|
8096
8445
|
repeatable,
|
|
8097
8446
|
optional
|
|
8098
8447
|
});
|
|
8099
|
-
const re$
|
|
8100
|
-
if (re$
|
|
8101
|
-
subSegmentScore +=
|
|
8448
|
+
const re$1$1 = regexp ? regexp : BASE_PARAM_PATTERN;
|
|
8449
|
+
if (re$1$1 !== BASE_PARAM_PATTERN) {
|
|
8450
|
+
subSegmentScore += PathScore.BonusCustomRegExp;
|
|
8102
8451
|
try {
|
|
8103
|
-
`${re$
|
|
8452
|
+
`${re$1$1}`;
|
|
8104
8453
|
} catch (err) {
|
|
8105
|
-
throw new Error(`Invalid custom RegExp for param "${value}" (${re$
|
|
8454
|
+
throw new Error(`Invalid custom RegExp for param "${value}" (${re$1$1}): ` + err.message);
|
|
8106
8455
|
}
|
|
8107
8456
|
}
|
|
8108
|
-
let subPattern = repeatable ? `((?:${re$
|
|
8457
|
+
let subPattern = repeatable ? `((?:${re$1$1})(?:/(?:${re$1$1}))*)` : `(${re$1$1})`;
|
|
8109
8458
|
if (!tokenIndex) subPattern = optional && segment.length < 2 ? `(?:/${subPattern})` : "/" + subPattern;
|
|
8110
8459
|
if (optional) subPattern += "?";
|
|
8111
8460
|
pattern += subPattern;
|
|
8112
|
-
subSegmentScore +=
|
|
8113
|
-
if (optional) subSegmentScore +=
|
|
8114
|
-
if (repeatable) subSegmentScore +=
|
|
8115
|
-
if (re$
|
|
8461
|
+
subSegmentScore += PathScore.Dynamic;
|
|
8462
|
+
if (optional) subSegmentScore += PathScore.BonusOptional;
|
|
8463
|
+
if (repeatable) subSegmentScore += PathScore.BonusRepeatable;
|
|
8464
|
+
if (re$1$1 === ".*") subSegmentScore += PathScore.BonusWildcard;
|
|
8116
8465
|
}
|
|
8117
8466
|
segmentScores.push(subSegmentScore);
|
|
8118
8467
|
}
|
|
@@ -8120,7 +8469,7 @@ function tokensToParser(segments, extraOptions) {
|
|
|
8120
8469
|
}
|
|
8121
8470
|
if (options.strict && options.end) {
|
|
8122
8471
|
const i$1 = score.length - 1;
|
|
8123
|
-
score[i$1][score[i$1].length - 1] += .
|
|
8472
|
+
score[i$1][score[i$1].length - 1] += PathScore.BonusStrict;
|
|
8124
8473
|
}
|
|
8125
8474
|
if (!options.strict) pattern += "/?";
|
|
8126
8475
|
if (options.end) pattern += "$";
|
|
@@ -8143,8 +8492,8 @@ function tokensToParser(segments, extraOptions) {
|
|
|
8143
8492
|
for (const segment of segments) {
|
|
8144
8493
|
if (!avoidDuplicatedSlash || !path.endsWith("/")) path += "/";
|
|
8145
8494
|
avoidDuplicatedSlash = false;
|
|
8146
|
-
for (const token of segment) if (token.type ===
|
|
8147
|
-
else if (token.type ===
|
|
8495
|
+
for (const token of segment) if (token.type === TokenType.Static) path += token.value;
|
|
8496
|
+
else if (token.type === TokenType.Param) {
|
|
8148
8497
|
const { value, repeatable, optional } = token;
|
|
8149
8498
|
const param = value in params ? params[value] : "";
|
|
8150
8499
|
if (isArray(param) && !repeatable) throw new Error(`Provided param "${value}" is an array but it is not repeatable (* or + modifiers)`);
|
|
@@ -8173,8 +8522,8 @@ function compareScoreArray(a$1, b$2) {
|
|
|
8173
8522
|
if (diff) return diff;
|
|
8174
8523
|
i$1++;
|
|
8175
8524
|
}
|
|
8176
|
-
if (a$1.length < b$2.length) return a$1.length === 1 && a$1[0] ===
|
|
8177
|
-
else if (a$1.length > b$2.length) return b$2.length === 1 && b$2[0] ===
|
|
8525
|
+
if (a$1.length < b$2.length) return a$1.length === 1 && a$1[0] === PathScore.Static + PathScore.Segment ? -1 : 1;
|
|
8526
|
+
else if (a$1.length > b$2.length) return b$2.length === 1 && b$2[0] === PathScore.Static + PathScore.Segment ? 1 : -1;
|
|
8178
8527
|
return 0;
|
|
8179
8528
|
}
|
|
8180
8529
|
function comparePathParserScore(a$1, b$2) {
|
|
@@ -8196,102 +8545,11 @@ function isLastScoreNegative(score) {
|
|
|
8196
8545
|
const last = score[score.length - 1];
|
|
8197
8546
|
return score.length > 0 && last[last.length - 1] < 0;
|
|
8198
8547
|
}
|
|
8199
|
-
var
|
|
8200
|
-
|
|
8201
|
-
|
|
8548
|
+
var PATH_PARSER_OPTIONS_DEFAULTS = {
|
|
8549
|
+
strict: false,
|
|
8550
|
+
end: true,
|
|
8551
|
+
sensitive: false
|
|
8202
8552
|
};
|
|
8203
|
-
var VALID_PARAM_RE = /[a-zA-Z0-9_]/;
|
|
8204
|
-
function tokenizePath(path) {
|
|
8205
|
-
if (!path) return [[]];
|
|
8206
|
-
if (path === "/") return [[ROOT_TOKEN]];
|
|
8207
|
-
if (!path.startsWith("/")) throw new Error(`Invalid path "${path}"`);
|
|
8208
|
-
function crash(message) {
|
|
8209
|
-
throw new Error(`ERR (${state})/"${buffer}": ${message}`);
|
|
8210
|
-
}
|
|
8211
|
-
let state = 0;
|
|
8212
|
-
let previousState = state;
|
|
8213
|
-
const tokens = [];
|
|
8214
|
-
let segment;
|
|
8215
|
-
function finalizeSegment() {
|
|
8216
|
-
if (segment) tokens.push(segment);
|
|
8217
|
-
segment = [];
|
|
8218
|
-
}
|
|
8219
|
-
let i$1 = 0;
|
|
8220
|
-
let char;
|
|
8221
|
-
let buffer = "";
|
|
8222
|
-
let customRe = "";
|
|
8223
|
-
function consumeBuffer() {
|
|
8224
|
-
if (!buffer) return;
|
|
8225
|
-
if (state === 0) segment.push({
|
|
8226
|
-
type: 0,
|
|
8227
|
-
value: buffer
|
|
8228
|
-
});
|
|
8229
|
-
else if (state === 1 || state === 2 || state === 3) {
|
|
8230
|
-
if (segment.length > 1 && (char === "*" || char === "+")) crash(`A repeatable param (${buffer}) must be alone in its segment. eg: '/:ids+.`);
|
|
8231
|
-
segment.push({
|
|
8232
|
-
type: 1,
|
|
8233
|
-
value: buffer,
|
|
8234
|
-
regexp: customRe,
|
|
8235
|
-
repeatable: char === "*" || char === "+",
|
|
8236
|
-
optional: char === "*" || char === "?"
|
|
8237
|
-
});
|
|
8238
|
-
} else crash("Invalid state to consume buffer");
|
|
8239
|
-
buffer = "";
|
|
8240
|
-
}
|
|
8241
|
-
function addCharToBuffer() {
|
|
8242
|
-
buffer += char;
|
|
8243
|
-
}
|
|
8244
|
-
while (i$1 < path.length) {
|
|
8245
|
-
char = path[i$1++];
|
|
8246
|
-
if (char === "\\" && state !== 2) {
|
|
8247
|
-
previousState = state;
|
|
8248
|
-
state = 4;
|
|
8249
|
-
continue;
|
|
8250
|
-
}
|
|
8251
|
-
switch (state) {
|
|
8252
|
-
case 0:
|
|
8253
|
-
if (char === "/") {
|
|
8254
|
-
if (buffer) consumeBuffer();
|
|
8255
|
-
finalizeSegment();
|
|
8256
|
-
} else if (char === ":") {
|
|
8257
|
-
consumeBuffer();
|
|
8258
|
-
state = 1;
|
|
8259
|
-
} else addCharToBuffer();
|
|
8260
|
-
break;
|
|
8261
|
-
case 4:
|
|
8262
|
-
addCharToBuffer();
|
|
8263
|
-
state = previousState;
|
|
8264
|
-
break;
|
|
8265
|
-
case 1:
|
|
8266
|
-
if (char === "(") state = 2;
|
|
8267
|
-
else if (VALID_PARAM_RE.test(char)) addCharToBuffer();
|
|
8268
|
-
else {
|
|
8269
|
-
consumeBuffer();
|
|
8270
|
-
state = 0;
|
|
8271
|
-
if (char !== "*" && char !== "?" && char !== "+") i$1--;
|
|
8272
|
-
}
|
|
8273
|
-
break;
|
|
8274
|
-
case 2:
|
|
8275
|
-
if (char === ")") if (customRe[customRe.length - 1] == "\\") customRe = customRe.slice(0, -1) + char;
|
|
8276
|
-
else state = 3;
|
|
8277
|
-
else customRe += char;
|
|
8278
|
-
break;
|
|
8279
|
-
case 3:
|
|
8280
|
-
consumeBuffer();
|
|
8281
|
-
state = 0;
|
|
8282
|
-
if (char !== "*" && char !== "?" && char !== "+") i$1--;
|
|
8283
|
-
customRe = "";
|
|
8284
|
-
break;
|
|
8285
|
-
default:
|
|
8286
|
-
crash("Unknown state");
|
|
8287
|
-
break;
|
|
8288
|
-
}
|
|
8289
|
-
}
|
|
8290
|
-
if (state === 2) crash(`Unfinished custom RegExp for param "${buffer}"`);
|
|
8291
|
-
consumeBuffer();
|
|
8292
|
-
finalizeSegment();
|
|
8293
|
-
return tokens;
|
|
8294
|
-
}
|
|
8295
8553
|
function createRouteRecordMatcher(record, parent, options) {
|
|
8296
8554
|
const matcher = assign(tokensToParser(tokenizePath(record.path), options), {
|
|
8297
8555
|
record,
|
|
@@ -8307,11 +8565,7 @@ function createRouteRecordMatcher(record, parent, options) {
|
|
|
8307
8565
|
function createRouterMatcher(routes$1, globalOptions) {
|
|
8308
8566
|
const matchers = [];
|
|
8309
8567
|
const matcherMap = /* @__PURE__ */ new Map();
|
|
8310
|
-
globalOptions = mergeOptions(
|
|
8311
|
-
strict: false,
|
|
8312
|
-
end: true,
|
|
8313
|
-
sensitive: false
|
|
8314
|
-
}, globalOptions);
|
|
8568
|
+
globalOptions = mergeOptions(PATH_PARSER_OPTIONS_DEFAULTS, globalOptions);
|
|
8315
8569
|
function getRecordMatcher(name) {
|
|
8316
8570
|
return matcherMap.get(name);
|
|
8317
8571
|
}
|
|
@@ -8390,9 +8644,9 @@ function createRouterMatcher(routes$1, globalOptions) {
|
|
|
8390
8644
|
let name;
|
|
8391
8645
|
if ("name" in location$1 && location$1.name) {
|
|
8392
8646
|
matcher = matcherMap.get(location$1.name);
|
|
8393
|
-
if (!matcher) throw createRouterError(
|
|
8647
|
+
if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, { location: location$1 });
|
|
8394
8648
|
name = matcher.record.name;
|
|
8395
|
-
params = assign(
|
|
8649
|
+
params = assign(pickParams(currentLocation.params, matcher.keys.filter((k$1) => !k$1.optional).concat(matcher.parent ? matcher.parent.keys.filter((k$1) => k$1.optional) : []).map((k$1) => k$1.name)), location$1.params && pickParams(location$1.params, matcher.keys.map((k$1) => k$1.name)));
|
|
8396
8650
|
path = matcher.stringify(params);
|
|
8397
8651
|
} else if (location$1.path != null) {
|
|
8398
8652
|
path = location$1.path;
|
|
@@ -8403,7 +8657,7 @@ function createRouterMatcher(routes$1, globalOptions) {
|
|
|
8403
8657
|
}
|
|
8404
8658
|
} else {
|
|
8405
8659
|
matcher = currentLocation.name ? matcherMap.get(currentLocation.name) : matchers.find((m$2) => m$2.re.test(currentLocation.path));
|
|
8406
|
-
if (!matcher) throw createRouterError(
|
|
8660
|
+
if (!matcher) throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND, {
|
|
8407
8661
|
location: location$1,
|
|
8408
8662
|
currentLocation
|
|
8409
8663
|
});
|
|
@@ -8439,7 +8693,7 @@ function createRouterMatcher(routes$1, globalOptions) {
|
|
|
8439
8693
|
getRecordMatcher
|
|
8440
8694
|
};
|
|
8441
8695
|
}
|
|
8442
|
-
function
|
|
8696
|
+
function pickParams(params, keys) {
|
|
8443
8697
|
const newParams = {};
|
|
8444
8698
|
for (const key of keys) if (key in params) newParams[key] = params[key];
|
|
8445
8699
|
return newParams;
|
|
@@ -8480,11 +8734,6 @@ function isAliasRecord(record) {
|
|
|
8480
8734
|
function mergeMetaFields(matched) {
|
|
8481
8735
|
return matched.reduce((meta, record) => assign(meta, record.meta), {});
|
|
8482
8736
|
}
|
|
8483
|
-
function mergeOptions(defaults, partialOptions) {
|
|
8484
|
-
const options = {};
|
|
8485
|
-
for (const key in defaults) options[key] = key in partialOptions ? partialOptions[key] : defaults[key];
|
|
8486
|
-
return options;
|
|
8487
|
-
}
|
|
8488
8737
|
function findInsertionIndex(matcher, matchers) {
|
|
8489
8738
|
let lower = 0;
|
|
8490
8739
|
let upper = matchers.length;
|
|
@@ -8504,118 +8753,6 @@ function getInsertionAncestor(matcher) {
|
|
|
8504
8753
|
function isMatchable({ record }) {
|
|
8505
8754
|
return !!(record.name || record.components && Object.keys(record.components).length || record.redirect);
|
|
8506
8755
|
}
|
|
8507
|
-
function parseQuery(search) {
|
|
8508
|
-
const query = {};
|
|
8509
|
-
if (search === "" || search === "?") return query;
|
|
8510
|
-
const searchParams = (search[0] === "?" ? search.slice(1) : search).split("&");
|
|
8511
|
-
for (let i$1 = 0; i$1 < searchParams.length; ++i$1) {
|
|
8512
|
-
const searchParam = searchParams[i$1].replace(PLUS_RE, " ");
|
|
8513
|
-
const eqPos = searchParam.indexOf("=");
|
|
8514
|
-
const key = decode(eqPos < 0 ? searchParam : searchParam.slice(0, eqPos));
|
|
8515
|
-
const value = eqPos < 0 ? null : decode(searchParam.slice(eqPos + 1));
|
|
8516
|
-
if (key in query) {
|
|
8517
|
-
let currentValue = query[key];
|
|
8518
|
-
if (!isArray(currentValue)) currentValue = query[key] = [currentValue];
|
|
8519
|
-
currentValue.push(value);
|
|
8520
|
-
} else query[key] = value;
|
|
8521
|
-
}
|
|
8522
|
-
return query;
|
|
8523
|
-
}
|
|
8524
|
-
function stringifyQuery(query) {
|
|
8525
|
-
let search = "";
|
|
8526
|
-
for (let key in query) {
|
|
8527
|
-
const value = query[key];
|
|
8528
|
-
key = encodeQueryKey(key);
|
|
8529
|
-
if (value == null) {
|
|
8530
|
-
if (value !== void 0) search += (search.length ? "&" : "") + key;
|
|
8531
|
-
continue;
|
|
8532
|
-
}
|
|
8533
|
-
(isArray(value) ? value.map((v$1) => v$1 && encodeQueryValue(v$1)) : [value && encodeQueryValue(value)]).forEach((value$1) => {
|
|
8534
|
-
if (value$1 !== void 0) {
|
|
8535
|
-
search += (search.length ? "&" : "") + key;
|
|
8536
|
-
if (value$1 != null) search += "=" + value$1;
|
|
8537
|
-
}
|
|
8538
|
-
});
|
|
8539
|
-
}
|
|
8540
|
-
return search;
|
|
8541
|
-
}
|
|
8542
|
-
function normalizeQuery(query) {
|
|
8543
|
-
const normalizedQuery = {};
|
|
8544
|
-
for (const key in query) {
|
|
8545
|
-
const value = query[key];
|
|
8546
|
-
if (value !== void 0) normalizedQuery[key] = isArray(value) ? value.map((v$1) => v$1 == null ? null : "" + v$1) : value == null ? value : "" + value;
|
|
8547
|
-
}
|
|
8548
|
-
return normalizedQuery;
|
|
8549
|
-
}
|
|
8550
|
-
var matchedRouteKey = Symbol("");
|
|
8551
|
-
var viewDepthKey = Symbol("");
|
|
8552
|
-
var routerKey = Symbol("");
|
|
8553
|
-
var routeLocationKey = Symbol("");
|
|
8554
|
-
var routerViewLocationKey = Symbol("");
|
|
8555
|
-
function useCallbacks() {
|
|
8556
|
-
let handlers = [];
|
|
8557
|
-
function add(handler) {
|
|
8558
|
-
handlers.push(handler);
|
|
8559
|
-
return () => {
|
|
8560
|
-
const i$1 = handlers.indexOf(handler);
|
|
8561
|
-
if (i$1 > -1) handlers.splice(i$1, 1);
|
|
8562
|
-
};
|
|
8563
|
-
}
|
|
8564
|
-
function reset() {
|
|
8565
|
-
handlers = [];
|
|
8566
|
-
}
|
|
8567
|
-
return {
|
|
8568
|
-
add,
|
|
8569
|
-
list: () => handlers.slice(),
|
|
8570
|
-
reset
|
|
8571
|
-
};
|
|
8572
|
-
}
|
|
8573
|
-
function guardToPromiseFn(guard, to, from, record, name, runWithContext = (fn) => fn()) {
|
|
8574
|
-
const enterCallbackArray = record && (record.enterCallbacks[name] = record.enterCallbacks[name] || []);
|
|
8575
|
-
return () => new Promise((resolve$1, reject) => {
|
|
8576
|
-
const next = (valid) => {
|
|
8577
|
-
if (valid === false) reject(createRouterError(4, {
|
|
8578
|
-
from,
|
|
8579
|
-
to
|
|
8580
|
-
}));
|
|
8581
|
-
else if (valid instanceof Error) reject(valid);
|
|
8582
|
-
else if (isRouteLocation(valid)) reject(createRouterError(2, {
|
|
8583
|
-
from: to,
|
|
8584
|
-
to: valid
|
|
8585
|
-
}));
|
|
8586
|
-
else {
|
|
8587
|
-
if (enterCallbackArray && record.enterCallbacks[name] === enterCallbackArray && typeof valid === "function") enterCallbackArray.push(valid);
|
|
8588
|
-
resolve$1();
|
|
8589
|
-
}
|
|
8590
|
-
};
|
|
8591
|
-
const guardReturn = runWithContext(() => guard.call(record && record.instances[name], to, from, next));
|
|
8592
|
-
let guardCall = Promise.resolve(guardReturn);
|
|
8593
|
-
if (guard.length < 3) guardCall = guardCall.then(next);
|
|
8594
|
-
guardCall.catch((err) => reject(err));
|
|
8595
|
-
});
|
|
8596
|
-
}
|
|
8597
|
-
function extractComponentsGuards(matched, guardType, to, from, runWithContext = (fn) => fn()) {
|
|
8598
|
-
const guards = [];
|
|
8599
|
-
for (const record of matched) for (const name in record.components) {
|
|
8600
|
-
let rawComponent = record.components[name];
|
|
8601
|
-
if (guardType !== "beforeRouteEnter" && !record.instances[name]) continue;
|
|
8602
|
-
if (isRouteComponent(rawComponent)) {
|
|
8603
|
-
const guard = (rawComponent.__vccOpts || rawComponent)[guardType];
|
|
8604
|
-
guard && guards.push(guardToPromiseFn(guard, to, from, record, name, runWithContext));
|
|
8605
|
-
} else {
|
|
8606
|
-
let componentPromise = rawComponent();
|
|
8607
|
-
guards.push(() => componentPromise.then((resolved) => {
|
|
8608
|
-
if (!resolved) throw new Error(`Couldn't resolve component "${name}" at "${record.path}"`);
|
|
8609
|
-
const resolvedComponent = isESModule(resolved) ? resolved.default : resolved;
|
|
8610
|
-
record.mods[name] = resolved;
|
|
8611
|
-
record.components[name] = resolvedComponent;
|
|
8612
|
-
const guard = (resolvedComponent.__vccOpts || resolvedComponent)[guardType];
|
|
8613
|
-
return guard && guardToPromiseFn(guard, to, from, record, name, runWithContext)();
|
|
8614
|
-
}));
|
|
8615
|
-
}
|
|
8616
|
-
}
|
|
8617
|
-
return guards;
|
|
8618
|
-
}
|
|
8619
8756
|
function useLink(props) {
|
|
8620
8757
|
const router$1 = inject(routerKey);
|
|
8621
8758
|
const currentRoute = inject(routeLocationKey);
|
|
@@ -8683,7 +8820,7 @@ var RouterLink = /* @__PURE__ */ defineComponent({
|
|
|
8683
8820
|
}));
|
|
8684
8821
|
return () => {
|
|
8685
8822
|
const children = slots.default && preferSingleVNode(slots.default(link));
|
|
8686
|
-
return props.custom ? children : h("a", {
|
|
8823
|
+
return props.custom ? children : h$2("a", {
|
|
8687
8824
|
"aria-current": link.isExactActive ? props.ariaCurrentValue : null,
|
|
8688
8825
|
href: link.href,
|
|
8689
8826
|
onClick: link.navigate,
|
|
@@ -8709,7 +8846,7 @@ function includesParams(outer, inner) {
|
|
|
8709
8846
|
const outerValue = outer[key];
|
|
8710
8847
|
if (typeof innerValue === "string") {
|
|
8711
8848
|
if (innerValue !== outerValue) return false;
|
|
8712
|
-
} else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i$1) => value !== outerValue[i$1])) return false;
|
|
8849
|
+
} else if (!isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i$1) => value.valueOf() !== outerValue[i$1].valueOf())) return false;
|
|
8713
8850
|
}
|
|
8714
8851
|
return true;
|
|
8715
8852
|
}
|
|
@@ -8772,7 +8909,7 @@ var RouterViewImpl = /* @__PURE__ */ defineComponent({
|
|
|
8772
8909
|
const onVnodeUnmounted = (vnode) => {
|
|
8773
8910
|
if (vnode.component.isUnmounted) matchedRoute.instances[currentName] = null;
|
|
8774
8911
|
};
|
|
8775
|
-
const component = h(ViewComponent, assign({}, routeProps, attrs, {
|
|
8912
|
+
const component = h$2(ViewComponent, assign({}, routeProps, attrs, {
|
|
8776
8913
|
onVnodeUnmounted,
|
|
8777
8914
|
ref: viewRef
|
|
8778
8915
|
}));
|
|
@@ -8864,7 +9001,7 @@ function createRouter(options) {
|
|
|
8864
9001
|
return typeof to === "string" ? parseURL(parseQuery$1, to, currentRoute.value.path) : assign({}, to);
|
|
8865
9002
|
}
|
|
8866
9003
|
function checkCanceledNavigation(to, from) {
|
|
8867
|
-
if (pendingLocation !== to) return createRouterError(
|
|
9004
|
+
if (pendingLocation !== to) return createRouterError(ErrorTypes.NAVIGATION_CANCELLED, {
|
|
8868
9005
|
from,
|
|
8869
9006
|
to
|
|
8870
9007
|
});
|
|
@@ -8875,11 +9012,11 @@ function createRouter(options) {
|
|
|
8875
9012
|
function replace(to) {
|
|
8876
9013
|
return push(assign(locationAsObject(to), { replace: true }));
|
|
8877
9014
|
}
|
|
8878
|
-
function handleRedirectRecord(to) {
|
|
9015
|
+
function handleRedirectRecord(to, from) {
|
|
8879
9016
|
const lastMatched = to.matched[to.matched.length - 1];
|
|
8880
9017
|
if (lastMatched && lastMatched.redirect) {
|
|
8881
9018
|
const { redirect } = lastMatched;
|
|
8882
|
-
let newTargetLocation = typeof redirect === "function" ? redirect(to) : redirect;
|
|
9019
|
+
let newTargetLocation = typeof redirect === "function" ? redirect(to, from) : redirect;
|
|
8883
9020
|
if (typeof newTargetLocation === "string") {
|
|
8884
9021
|
newTargetLocation = newTargetLocation.includes("?") || newTargetLocation.includes("#") ? newTargetLocation = locationAsObject(newTargetLocation) : { path: newTargetLocation };
|
|
8885
9022
|
newTargetLocation.params = {};
|
|
@@ -8897,7 +9034,7 @@ function createRouter(options) {
|
|
|
8897
9034
|
const data = to.state;
|
|
8898
9035
|
const force = to.force;
|
|
8899
9036
|
const replace$1 = to.replace === true;
|
|
8900
|
-
const shouldRedirect = handleRedirectRecord(targetLocation);
|
|
9037
|
+
const shouldRedirect = handleRedirectRecord(targetLocation, from);
|
|
8901
9038
|
if (shouldRedirect) return pushWithRedirect(assign(locationAsObject(shouldRedirect), {
|
|
8902
9039
|
state: typeof shouldRedirect === "object" ? assign({}, data, shouldRedirect.state) : data,
|
|
8903
9040
|
force,
|
|
@@ -8907,15 +9044,15 @@ function createRouter(options) {
|
|
|
8907
9044
|
toLocation.redirectedFrom = redirectedFrom;
|
|
8908
9045
|
let failure;
|
|
8909
9046
|
if (!force && isSameRouteLocation(stringifyQuery$1, from, targetLocation)) {
|
|
8910
|
-
failure = createRouterError(
|
|
9047
|
+
failure = createRouterError(ErrorTypes.NAVIGATION_DUPLICATED, {
|
|
8911
9048
|
to: toLocation,
|
|
8912
9049
|
from
|
|
8913
9050
|
});
|
|
8914
9051
|
handleScroll(from, from, true, false);
|
|
8915
9052
|
}
|
|
8916
|
-
return (failure ? Promise.resolve(failure) : navigate(toLocation, from)).catch((error) => isNavigationFailure(error) ? isNavigationFailure(error,
|
|
9053
|
+
return (failure ? Promise.resolve(failure) : navigate(toLocation, from)).catch((error) => isNavigationFailure(error) ? isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT) ? error : markAsReady(error) : triggerError(error, toLocation, from)).then((failure$1) => {
|
|
8917
9054
|
if (failure$1) {
|
|
8918
|
-
if (isNavigationFailure(failure$1,
|
|
9055
|
+
if (isNavigationFailure(failure$1, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) return pushWithRedirect(assign({ replace: replace$1 }, locationAsObject(failure$1.to), {
|
|
8919
9056
|
state: typeof failure$1.to === "object" ? assign({}, data, failure$1.to.state) : data,
|
|
8920
9057
|
force
|
|
8921
9058
|
}), redirectedFrom || toLocation);
|
|
@@ -8969,7 +9106,7 @@ function createRouter(options) {
|
|
|
8969
9106
|
for (const guard of beforeResolveGuards.list()) guards.push(guardToPromiseFn(guard, to, from));
|
|
8970
9107
|
guards.push(canceledNavigationCheck);
|
|
8971
9108
|
return runGuardQueue(guards);
|
|
8972
|
-
}).catch((err) => isNavigationFailure(err,
|
|
9109
|
+
}).catch((err) => isNavigationFailure(err, ErrorTypes.NAVIGATION_CANCELLED) ? err : Promise.reject(err));
|
|
8973
9110
|
}
|
|
8974
9111
|
function triggerAfterEach(to, from, failure) {
|
|
8975
9112
|
afterGuards.list().forEach((guard) => runWithContext(() => guard(to, from, failure)));
|
|
@@ -8991,7 +9128,7 @@ function createRouter(options) {
|
|
|
8991
9128
|
removeHistoryListener = routerHistory.listen((to, _from, info) => {
|
|
8992
9129
|
if (!router$1.listening) return;
|
|
8993
9130
|
const toLocation = resolve$1(to);
|
|
8994
|
-
const shouldRedirect = handleRedirectRecord(toLocation);
|
|
9131
|
+
const shouldRedirect = handleRedirectRecord(toLocation, router$1.currentRoute.value);
|
|
8995
9132
|
if (shouldRedirect) {
|
|
8996
9133
|
pushWithRedirect(assign(shouldRedirect, {
|
|
8997
9134
|
replace: true,
|
|
@@ -9003,10 +9140,10 @@ function createRouter(options) {
|
|
|
9003
9140
|
const from = currentRoute.value;
|
|
9004
9141
|
if (isBrowser) saveScrollPosition(getScrollKey(from.fullPath, info.delta), computeScrollPosition());
|
|
9005
9142
|
navigate(toLocation, from).catch((error) => {
|
|
9006
|
-
if (isNavigationFailure(error,
|
|
9007
|
-
if (isNavigationFailure(error,
|
|
9143
|
+
if (isNavigationFailure(error, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_CANCELLED)) return error;
|
|
9144
|
+
if (isNavigationFailure(error, ErrorTypes.NAVIGATION_GUARD_REDIRECT)) {
|
|
9008
9145
|
pushWithRedirect(assign(locationAsObject(error.to), { force: true }), toLocation).then((failure) => {
|
|
9009
|
-
if (isNavigationFailure(failure,
|
|
9146
|
+
if (isNavigationFailure(failure, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED) && !info.delta && info.type === NavigationType.pop) routerHistory.go(-1, false);
|
|
9010
9147
|
}).catch(noop);
|
|
9011
9148
|
return Promise.reject();
|
|
9012
9149
|
}
|
|
@@ -9015,8 +9152,8 @@ function createRouter(options) {
|
|
|
9015
9152
|
}).then((failure) => {
|
|
9016
9153
|
failure = failure || finalizeNavigation(toLocation, from, false);
|
|
9017
9154
|
if (failure) {
|
|
9018
|
-
if (info.delta && !isNavigationFailure(failure,
|
|
9019
|
-
else if (info.type === NavigationType.pop && isNavigationFailure(failure,
|
|
9155
|
+
if (info.delta && !isNavigationFailure(failure, ErrorTypes.NAVIGATION_CANCELLED)) routerHistory.go(-info.delta, false);
|
|
9156
|
+
else if (info.type === NavigationType.pop && isNavigationFailure(failure, ErrorTypes.NAVIGATION_ABORTED | ErrorTypes.NAVIGATION_DUPLICATED)) routerHistory.go(-1, false);
|
|
9020
9157
|
}
|
|
9021
9158
|
triggerAfterEach(toLocation, from, failure);
|
|
9022
9159
|
}).catch(noop);
|
|
@@ -9034,15 +9171,15 @@ function createRouter(options) {
|
|
|
9034
9171
|
}
|
|
9035
9172
|
function isReady() {
|
|
9036
9173
|
if (ready && currentRoute.value !== START_LOCATION_NORMALIZED) return Promise.resolve();
|
|
9037
|
-
return new Promise((resolve$
|
|
9038
|
-
readyHandlers.add([resolve$
|
|
9174
|
+
return new Promise((resolve$1$1, reject) => {
|
|
9175
|
+
readyHandlers.add([resolve$1$1, reject]);
|
|
9039
9176
|
});
|
|
9040
9177
|
}
|
|
9041
9178
|
function markAsReady(err) {
|
|
9042
9179
|
if (!ready) {
|
|
9043
9180
|
ready = !err;
|
|
9044
9181
|
setupListeners();
|
|
9045
|
-
readyHandlers.list().forEach(([resolve$
|
|
9182
|
+
readyHandlers.list().forEach(([resolve$1$1, reject]) => err ? reject(err) : resolve$1$1());
|
|
9046
9183
|
readyHandlers.reset();
|
|
9047
9184
|
}
|
|
9048
9185
|
return err;
|
|
@@ -9077,10 +9214,9 @@ function createRouter(options) {
|
|
|
9077
9214
|
onError: errorListeners.add,
|
|
9078
9215
|
isReady,
|
|
9079
9216
|
install(app$1) {
|
|
9080
|
-
const router$2 = this;
|
|
9081
9217
|
app$1.component("RouterLink", RouterLink);
|
|
9082
9218
|
app$1.component("RouterView", RouterView);
|
|
9083
|
-
app$1.config.globalProperties.$router = router$
|
|
9219
|
+
app$1.config.globalProperties.$router = router$1;
|
|
9084
9220
|
Object.defineProperty(app$1.config.globalProperties, "$route", {
|
|
9085
9221
|
enumerable: true,
|
|
9086
9222
|
get: () => unref(currentRoute)
|
|
@@ -9094,7 +9230,7 @@ function createRouter(options) {
|
|
|
9094
9230
|
get: () => currentRoute.value[key],
|
|
9095
9231
|
enumerable: true
|
|
9096
9232
|
});
|
|
9097
|
-
app$1.provide(routerKey, router$
|
|
9233
|
+
app$1.provide(routerKey, router$1);
|
|
9098
9234
|
app$1.provide(routeLocationKey, shallowReactive(reactiveRoute));
|
|
9099
9235
|
app$1.provide(routerViewLocationKey, currentRoute);
|
|
9100
9236
|
const unmountApp = app$1.unmount;
|
|
@@ -9118,26 +9254,6 @@ function createRouter(options) {
|
|
|
9118
9254
|
}
|
|
9119
9255
|
return router$1;
|
|
9120
9256
|
}
|
|
9121
|
-
function extractChangingRecords(to, from) {
|
|
9122
|
-
const leavingRecords = [];
|
|
9123
|
-
const updatingRecords = [];
|
|
9124
|
-
const enteringRecords = [];
|
|
9125
|
-
const len = Math.max(from.matched.length, to.matched.length);
|
|
9126
|
-
for (let i$1 = 0; i$1 < len; i$1++) {
|
|
9127
|
-
const recordFrom = from.matched[i$1];
|
|
9128
|
-
if (recordFrom) if (to.matched.find((record) => isSameRouteRecord(record, recordFrom))) updatingRecords.push(recordFrom);
|
|
9129
|
-
else leavingRecords.push(recordFrom);
|
|
9130
|
-
const recordTo = to.matched[i$1];
|
|
9131
|
-
if (recordTo) {
|
|
9132
|
-
if (!from.matched.find((record) => isSameRouteRecord(record, recordTo))) enteringRecords.push(recordTo);
|
|
9133
|
-
}
|
|
9134
|
-
}
|
|
9135
|
-
return [
|
|
9136
|
-
leavingRecords,
|
|
9137
|
-
updatingRecords,
|
|
9138
|
-
enteringRecords
|
|
9139
|
-
];
|
|
9140
|
-
}
|
|
9141
9257
|
var scriptRel = "modulepreload";
|
|
9142
9258
|
var assetsURL = function(dep, importerUrl) {
|
|
9143
9259
|
return new URL(dep, importerUrl).href;
|
|
@@ -9199,11 +9315,11 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
|
|
|
9199
9315
|
const routes = [{
|
|
9200
9316
|
path: "/",
|
|
9201
9317
|
name: "/",
|
|
9202
|
-
component: () => __vitePreload(() => import("./pages-
|
|
9318
|
+
component: () => __vitePreload(() => import("./pages-BdQpgtx4.js"), __vite__mapDeps([0,1]), import.meta.url)
|
|
9203
9319
|
}, {
|
|
9204
9320
|
path: "/server-router",
|
|
9205
9321
|
name: "/server-router",
|
|
9206
|
-
component: () => __vitePreload(() => import("./server-router-
|
|
9322
|
+
component: () => __vitePreload(() => import("./server-router-BHD-n_Wi.js"), __vite__mapDeps([2,1,3]), import.meta.url)
|
|
9207
9323
|
}];
|
|
9208
9324
|
var _hoisted_1$1 = { class: "w-full h-full of-auto!" };
|
|
9209
9325
|
var Layout_default = /* @__PURE__ */ defineComponent({
|
|
@@ -9225,7 +9341,7 @@ var App_default = /* @__PURE__ */ defineComponent({
|
|
|
9225
9341
|
const _component_Layout = Layout_default;
|
|
9226
9342
|
return openBlock(), createElementBlock("main", _hoisted_1, [createVNode(_component_Layout, null, {
|
|
9227
9343
|
default: withCtx(() => [(openBlock(), createBlock(Suspense, null, {
|
|
9228
|
-
fallback: withCtx(() => _cache[0] || (_cache[0] = [createTextVNode(" Loading... ")])),
|
|
9344
|
+
fallback: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode(" Loading... ", -1)])]),
|
|
9229
9345
|
default: withCtx(() => [createVNode(_component_RouterView)]),
|
|
9230
9346
|
_: 1
|
|
9231
9347
|
}))]),
|
|
@@ -9234,8 +9350,8 @@ var App_default = /* @__PURE__ */ defineComponent({
|
|
|
9234
9350
|
};
|
|
9235
9351
|
}
|
|
9236
9352
|
});
|
|
9237
|
-
var app = createApp(() => h(Suspense, {}, {
|
|
9238
|
-
default: () => h(App_default),
|
|
9353
|
+
var app = createApp(() => h$2(Suspense, {}, {
|
|
9354
|
+
default: () => h$2(App_default),
|
|
9239
9355
|
fallback: "Loading..."
|
|
9240
9356
|
}));
|
|
9241
9357
|
var router = createRouter({
|
|
@@ -9245,4 +9361,4 @@ var router = createRouter({
|
|
|
9245
9361
|
app.use(router);
|
|
9246
9362
|
app.use(Gt);
|
|
9247
9363
|
app.mount("#app");
|
|
9248
|
-
export { normalizeStyle as $, resolveComponent as A, effectScope as B, nextTick as C, provide as D, openBlock as E, watch as F, readonly as G, isRef as H, watchEffect as I, shallowRef as J, ref as K, withCtx as L, resolveDynamicComponent as M, useModel as N, renderList as O, useSlots as P, normalizeClass as Q, withDirectives as R, mergeProps as S, onMounted as T, onScopeDispose as U, getCurrentScope as V, reactive as W, toValue as X, toRef as Y, unref as Z, defineComponent as _, vModelDynamic as a, inject as b, Fragment as c, createBaseVNode as d, toDisplayString as et, createBlock as f, createVNode as g, createTextVNode as h, vModelCheckbox as i, resolveDirective as j, renderSlot as k, KeepAlive as l, createElementBlock as m, RouterLink as n, vModelSelect as o, createCommentVNode as p, shallowReadonly as q, Transition as r, withKeys as s, __vitePreload as t, computed as u, getCurrentInstance as v, onBeforeUnmount as w, mergeModels as x, h as y, customRef as z };
|
|
9364
|
+
export { normalizeStyle as $, resolveComponent as A, effectScope as B, nextTick as C, provide as D, openBlock as E, watch as F, readonly as G, isRef as H, watchEffect as I, shallowRef as J, ref as K, withCtx as L, resolveDynamicComponent as M, useModel as N, renderList as O, useSlots as P, normalizeClass as Q, withDirectives as R, mergeProps as S, onMounted as T, onScopeDispose as U, getCurrentScope as V, reactive as W, toValue as X, toRef as Y, unref as Z, defineComponent as _, vModelDynamic as a, inject as b, Fragment as c, createBaseVNode as d, toDisplayString as et, createBlock as f, createVNode as g, createTextVNode as h, vModelCheckbox as i, resolveDirective as j, renderSlot as k, KeepAlive as l, createElementBlock as m, RouterLink as n, vModelSelect as o, createCommentVNode as p, shallowReadonly as q, Transition as r, withKeys as s, __vitePreload as t, computed as u, getCurrentInstance as v, onBeforeUnmount as w, mergeModels as x, h$2 as y, customRef as z };
|