comp-hub 0.25.17 → 0.25.18
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/website/container/assets/{index-YhvDyci9.css → index-DZmjDb-3.css} +1 -1
- package/dist/website/container/index.html +2 -2
- package/dist/website/item/assets/@chenglou-BKD48OEU.js +4 -0
- package/dist/website/item/assets/@ctrl-C4Rzlq_k.js +1 -0
- package/dist/website/item/assets/@element-plus-5HYzMPHH.js +1 -0
- package/dist/website/item/assets/@floating-ui-BOzNIQbj.js +1 -0
- package/dist/website/item/assets/@iconify-BPgeTBo_.js +1 -0
- package/dist/website/item/assets/@iconify-vue-r3R3CCwl.js +1 -0
- package/dist/website/item/assets/@intlify-Dtb6NmBn.js +3 -0
- package/dist/website/item/assets/@profoundlogic-Dbp5Yy6B.js +5 -0
- package/dist/website/item/assets/@sxzz-CUumdR8o.js +1 -0
- package/dist/website/item/assets/@vue-C9QaczuC.js +1 -0
- package/dist/website/item/assets/@vueuse-C7-4JdfM.js +1 -0
- package/dist/website/item/assets/_plugin-vue_export-helper-BvSI8h28.js +12 -0
- package/dist/website/item/assets/async-validator-Cp9QasH9.js +12 -0
- package/dist/website/item/assets/axios-B8_nURbH.js +9 -0
- package/dist/website/item/assets/birpc-l0sNRNKZ.js +1 -0
- package/dist/website/item/assets/css-tree-BLHriVLA.js +12 -0
- package/dist/website/item/assets/dayjs-Z3PInbbQ.js +1 -0
- package/dist/website/item/assets/diff-l0sNRNKZ.js +1 -0
- package/dist/website/item/assets/diff2html-DT_q3g7v.js +101 -0
- package/dist/website/item/assets/{index-C3Gu6wLz.css → element-plus-Cfuf6lH-.css} +1 -1
- package/dist/website/item/assets/element-plus-DBucBpWn.js +39 -0
- package/dist/website/item/assets/highlight.js-l0sNRNKZ.js +1 -0
- package/dist/website/item/assets/hookable-l0sNRNKZ.js +1 -0
- package/dist/website/item/assets/idb-Dob3nYDb.js +1 -0
- package/dist/website/item/assets/index-6jb9FmNT.js +1 -0
- package/dist/website/item/assets/index-BGH8m-F2.js +1 -0
- package/dist/website/item/assets/index-BI_-2dUB.js +1 -0
- package/dist/website/item/assets/index-BpT42u6b.js +1 -0
- package/dist/website/item/assets/index-BqfcJOru.js +1 -0
- package/dist/website/item/assets/index-BwZfV1A2.js +1 -0
- package/dist/website/item/assets/index-CRGAlkC4.js +1 -0
- package/dist/website/item/assets/index-CUQTn5cW.js +2 -0
- package/dist/website/item/assets/index-DMv3RrWi.js +1 -0
- package/dist/website/item/assets/index-D__3WVgB.js +1 -0
- package/dist/website/item/assets/index-DeU4xv9o.js +1 -0
- package/dist/website/item/assets/index-DjpSekiX.js +1 -0
- package/dist/website/item/assets/index-ZnytBXEa.css +1 -0
- package/dist/website/item/assets/index-jliYxAXa.js +1 -0
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-BP6wylOE.js +1 -0
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-BXDFpHny.js +1 -0
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-BpSg0Jae.js +1 -0
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-DfVSdoBY.js +1 -0
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-DjzNSY_4.js +1 -0
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-Na9slT-l.js +1 -0
- package/dist/website/item/assets/lodash-es-3Olcxijv.js +1 -0
- package/dist/website/item/assets/lodash-unified-l0sNRNKZ.js +1 -0
- package/dist/website/item/assets/lz-string--7IMPK6S.js +1 -0
- package/dist/website/item/assets/memoize-one-BdPwpGay.js +1 -0
- package/dist/website/item/assets/normalize-wheel-es-BikNlmlf.js +1 -0
- package/dist/website/item/assets/perfect-debounce-l0sNRNKZ.js +1 -0
- package/dist/website/item/assets/pinia-Bzt0Q3uQ.js +1 -0
- package/dist/website/item/assets/prettier-l0sNRNKZ.js +1 -0
- package/dist/website/item/assets/source-map-js-B_zWzY07.js +1 -0
- package/dist/website/item/assets/useCompAttrs-C9FX019z.js +1 -0
- package/dist/website/item/assets/useCompAttrsLocal-ThVku9Cv.js +1 -0
- package/dist/website/item/assets/vue-i18n-DuHeSxKy.js +1 -0
- package/dist/website/item/assets/vue-l0sNRNKZ.js +1 -0
- package/dist/website/item/assets/vue-router-DPdvYShe.js +1 -0
- package/dist/website/item/index.html +21 -2
- package/dist/website/main/assets/@chenglou-BKD48OEU.js +4 -0
- package/dist/website/main/assets/@ctrl-C4Rzlq_k.js +1 -0
- package/dist/website/main/assets/@element-plus-MEP8kzQo.js +1 -0
- package/dist/website/main/assets/@floating-ui-BOzNIQbj.js +1 -0
- package/dist/website/main/assets/@form-create-feqGS1Jj.js +7 -0
- package/dist/website/main/assets/@iconify-C373lf0G.js +1 -0
- package/dist/website/main/assets/@iconify-vue-CB77QM-F.css +1 -0
- package/dist/website/main/assets/@iconify-vue-sb5-HV-8.js +1 -0
- package/dist/website/main/assets/@intlify-Dtb6NmBn.js +3 -0
- package/dist/website/main/assets/@nanostores-cuv3rP3V.js +1 -0
- package/dist/website/main/assets/@profoundlogic-Dbp5Yy6B.js +5 -0
- package/dist/website/main/assets/@socket.io-Dkula2eQ.js +1 -0
- package/dist/website/main/assets/@sxzz-CUumdR8o.js +1 -0
- package/dist/website/main/assets/@tanstack-B1C-iDkv.js +1 -0
- package/dist/website/main/assets/@transloadit-C1Ht0DUJ.js +1 -0
- package/dist/website/main/assets/@uppy-CVofWm7v.js +6 -0
- package/dist/website/main/assets/@viselect-CfuubPTw.js +1 -0
- package/dist/website/main/assets/@vue-fhDHgfUd.js +1 -0
- package/dist/website/main/assets/@vueuse-BzQM40cp.js +1 -0
- package/dist/website/main/assets/{index-Bn5vi5XZ.css → @xterm-DFuMZ0ql.css} +1 -1
- package/dist/website/main/assets/@xterm-DUvcnV0i.js +9 -0
- package/dist/website/main/assets/async-validator-Cp9QasH9.js +12 -0
- package/dist/website/main/assets/axios-CGPwGRlm.js +9 -0
- package/dist/website/main/assets/birpc-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/charenc-DuOFFKym.js +1 -0
- package/dist/website/main/assets/crypt-C-Yx0DM0.js +1 -0
- package/dist/website/main/assets/css-tree-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/dayjs-CODj3Ey3.js +1 -0
- package/dist/website/main/assets/diff-Czv1d0yF.js +13 -0
- package/dist/website/main/assets/diff2html-B2pszkCz.js +107 -0
- package/dist/website/main/assets/diff2html-BgE3edmZ.css +1 -0
- package/dist/website/main/assets/disable-devtool-D3c1TvAN.js +2 -0
- package/dist/website/main/assets/eastasianwidth-BD_cvthz.js +1 -0
- package/dist/website/main/assets/element-plus-BhtJKS0K.js +39 -0
- package/dist/website/main/assets/element-plus-CGVDl28_.css +1 -0
- package/dist/website/main/assets/engine.io-client-DI6V2dVR.js +1 -0
- package/dist/website/main/assets/engine.io-parser-DPmA-eyr.js +1 -0
- package/dist/website/main/assets/highlight-ZgkIHsf0.css +1 -0
- package/dist/website/main/assets/highlight.js-Bwl2mRDt.js +3 -0
- package/dist/website/main/assets/hookable-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/idb-Dob3nYDb.js +1 -0
- package/dist/website/main/assets/index-4HcRtHFq.js +1 -0
- package/dist/website/main/assets/index-B5Bwrnd-.js +5 -0
- package/dist/website/main/assets/index-BDXZ4YLt.js +1 -0
- package/dist/website/main/assets/index-BQWQEa7O.css +1 -0
- package/dist/website/main/assets/index-B_LYOd1t.js +1 -0
- package/dist/website/main/assets/index-Bb2JsGT0.js +1 -0
- package/dist/website/main/assets/index-BhuSlCh5.js +1 -0
- package/dist/website/main/assets/index-BoRu8JTf.js +1 -0
- package/dist/website/main/assets/index-BspcDgbz.js +1 -0
- package/dist/website/main/assets/index-C3llr0fI.js +1 -0
- package/dist/website/main/assets/index-CUFPwy3j.js +1 -0
- package/dist/website/main/assets/index-CZOyLdFS.js +1 -0
- package/dist/website/main/assets/index-Cc1ww5-S.css +1 -0
- package/dist/website/main/assets/index-CeIHQ-n9.js +2 -0
- package/dist/website/main/assets/index-CeKI74UL.css +1 -0
- package/dist/website/main/assets/index-Ck53ravL.js +1 -0
- package/dist/website/main/assets/index-CvX4ROQv.js +1 -0
- package/dist/website/main/assets/index-Cy4Bopc2.js +1 -0
- package/dist/website/main/assets/index-D7gG_u1W.css +1 -0
- package/dist/website/main/assets/index-DPOCYlI9.js +1 -0
- package/dist/website/main/assets/index-DULniEhb.js +1 -0
- package/dist/website/main/assets/index-DYDRL9IM.js +1 -0
- package/dist/website/main/assets/index-DYr8op9I.js +2 -0
- package/dist/website/main/assets/index-DYzYK94h.js +1 -0
- package/dist/website/main/assets/index-DuAc5XJp.js +1 -0
- package/dist/website/main/assets/index-Dy7LCL85.js +1 -0
- package/dist/website/main/assets/index-Dztu-Acq.js +1 -0
- package/dist/website/main/assets/index-Pi6tlbT4.js +4 -0
- package/dist/website/main/assets/index-aKfjhWt0.js +1 -0
- package/dist/website/main/assets/index-bJcpxaVy.js +1 -0
- package/dist/website/main/assets/index-kfXJiyp1.js +1 -0
- package/dist/website/main/assets/index-lBMHAV8o.js +1 -0
- package/dist/website/main/assets/index-qQdfohcs.js +1 -0
- package/dist/website/main/assets/index-rbkKq4oE.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-C8gdKJNc.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CCmKpzaE.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CgWidmAh.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CoufeP0j.js +2 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Cpe0QxkJ.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CqPOOcKs.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-js27NZ7Q.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DPWsMIUB.js +1 -0
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-MdS0xY-J.js +7 -0
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-y99hKbpl.js +1 -0
- package/dist/website/main/assets/is-buffer-BmA-AeVY.js +1 -0
- package/dist/website/main/assets/js-cookie-C2b7Ongr.js +1 -0
- package/dist/website/main/assets/lodash-DSEObR3Z.js +1 -0
- package/dist/website/main/assets/lodash-es-3Dei55BW.js +1 -0
- package/dist/website/main/assets/lodash-unified-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/lz-string-DrDDIr3t.js +1 -0
- package/dist/website/main/assets/marked-Ds7eXWqI.js +59 -0
- package/dist/website/main/assets/md5-BFcmaCA5.js +1 -0
- package/dist/website/main/assets/memoize-one-BdPwpGay.js +1 -0
- package/dist/website/main/assets/mime-match-DPWGxner.js +1 -0
- package/dist/website/main/assets/mitt-BN3yQH3p.js +1 -0
- package/dist/website/main/assets/namespace-emitter-D_6Athvt.js +1 -0
- package/dist/website/main/assets/nanoid-DKwX7yNB.js +1 -0
- package/dist/website/main/assets/nanostores-Bxb5zCO9.js +1 -0
- package/dist/website/main/assets/normalize-wheel-es-BikNlmlf.js +1 -0
- package/dist/website/main/assets/nprogress-BgDCIyLK.css +1 -0
- package/dist/website/main/assets/nprogress-DvYEeNZi.js +1 -0
- package/dist/website/main/assets/overlayscrollbars-B4ARb2Jg.js +1 -0
- package/dist/website/main/assets/path-browserify-VLxTPTS7.js +1 -0
- package/dist/website/main/assets/perfect-debounce-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/pinia-Dbinmd9o.js +1 -0
- package/dist/website/main/assets/preact-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/prettier-CXANtD9v.js +184 -0
- package/dist/website/main/assets/socket.io-client-6WpCnOvu.js +1 -0
- package/dist/website/main/assets/socket.io-parser-dKdiPQ_0.js +1 -0
- package/dist/website/main/assets/source-map-js-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/useCacheOssStore-B0MOdXBT.js +1 -0
- package/dist/website/main/assets/useCompEditStore-BPtseuS3.js +1 -0
- package/dist/website/main/assets/useCompEditStore-D1y6qk1p.css +1 -0
- package/dist/website/main/assets/useCompMetaLocalStore-CTrw6UOk.js +1 -0
- package/dist/website/main/assets/useCompMetaStore-CZbYI0xK.js +1 -0
- package/dist/website/main/assets/useKeyword-C1kuAWZi.js +1 -0
- package/dist/website/main/assets/useTeamHeaders-3RiOUcY_.js +1 -0
- package/dist/website/main/assets/useVscodeOpen-8UEdd_uq.js +1 -0
- package/dist/website/main/assets/vanilla-lazyload-CwDt0XVP.js +1 -0
- package/dist/website/main/assets/vue-advanced-cropper-B8N2632q.js +3 -0
- package/dist/website/main/assets/vue-demi-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/vue-i18n-Cl4PTbxU.js +1 -0
- package/dist/website/main/assets/vue-l0sNRNKZ.js +1 -0
- package/dist/website/main/assets/vue-router-Dq9LltUm.js +1 -0
- package/dist/website/main/assets/vue-sonner-tR0c75Mk.js +1 -0
- package/dist/website/main/assets/vuefinder-5wO4Y5ID.js +1 -0
- package/dist/website/main/assets/wildcard-Cd63L__x.js +1 -0
- package/dist/website/main/index.html +56 -2
- package/package.json +3 -2
- package/dist/website/item/assets/_plugin-vue_export-helper-ClmlufYy.js +0 -147
- package/dist/website/item/assets/index-A2e72bYf.js +0 -1
- package/dist/website/item/assets/index-B2r8sxRR.js +0 -1
- package/dist/website/item/assets/index-C6NEN46F.js +0 -1
- package/dist/website/item/assets/index-CXfvRuh5.js +0 -1
- package/dist/website/item/assets/index-CYfmDfPu.js +0 -13
- package/dist/website/item/assets/index-Ckv5tLxs.js +0 -1
- package/dist/website/item/assets/index-Cl6uqF-x.js +0 -1
- package/dist/website/item/assets/index-CmgpBuUf.js +0 -1
- package/dist/website/item/assets/index-CncfqGDl.js +0 -1
- package/dist/website/item/assets/index-DgLkaw9e.js +0 -1
- package/dist/website/item/assets/index-DuvgRKuL.js +0 -1
- package/dist/website/item/assets/index-IbpmdLUc.js +0 -1
- package/dist/website/item/assets/index-sGVojTNg.js +0 -1
- package/dist/website/item/assets/index-uCZVfQfS.js +0 -1
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-BLB7nimS.js +0 -1
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-BYSmp_n8.js +0 -1
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-BYzW_ITp.js +0 -1
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-BhO5mDgb.js +0 -1
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-CFCH0Q76.js +0 -1
- package/dist/website/item/assets/index.vue_vue_type_script_setup_true_lang-SpXIpkkp.js +0 -1
- package/dist/website/item/assets/useCompAttrs-BL-bjaqx.js +0 -1
- package/dist/website/item/assets/useCompAttrsLocal-Bsj1Z8J3.js +0 -1
- package/dist/website/main/assets/cloud-upload-Cs5rs0fe.js +0 -1
- package/dist/website/main/assets/cloud-upload-j3Y0taC9.css +0 -1
- package/dist/website/main/assets/el-card-BAyktVMS.css +0 -1
- package/dist/website/main/assets/el-dropdown-item-BeIfAqTO.css +0 -1
- package/dist/website/main/assets/el-empty-S7fQQ3B8.css +0 -1
- package/dist/website/main/assets/el-link-CPQZ-olG.css +0 -1
- package/dist/website/main/assets/el-link-CYRikDCA.js +0 -1
- package/dist/website/main/assets/el-loading-Dq8WDDkr.css +0 -1
- package/dist/website/main/assets/el-table-column-B3ZEEuPD.css +0 -1
- package/dist/website/main/assets/el-table-column-R6urXTXE.js +0 -1
- package/dist/website/main/assets/en-C_Tot-hO.js +0 -1
- package/dist/website/main/assets/home-rounded-B4KVwSYb.css +0 -1
- package/dist/website/main/assets/home-rounded-B6ip0c7y.js +0 -1
- package/dist/website/main/assets/index-9cW7WZJA.js +0 -1
- package/dist/website/main/assets/index-B-U892j4.js +0 -1
- package/dist/website/main/assets/index-B6mD6Kkg.js +0 -1
- package/dist/website/main/assets/index-BGMqZ6s6.js +0 -1
- package/dist/website/main/assets/index-Bud_dtZv.js +0 -1
- package/dist/website/main/assets/index-BxyUlJIo.js +0 -1
- package/dist/website/main/assets/index-C1gpYuZp.js +0 -1
- package/dist/website/main/assets/index-C2bAlTIv.js +0 -4
- package/dist/website/main/assets/index-CDNB051F.js +0 -1
- package/dist/website/main/assets/index-CNq68i9N.js +0 -1
- package/dist/website/main/assets/index-CS-qmP9q.js +0 -1
- package/dist/website/main/assets/index-CWkqV3b7.js +0 -1
- package/dist/website/main/assets/index-C_6TIEqJ.css +0 -1
- package/dist/website/main/assets/index-CaxXecF0.js +0 -1
- package/dist/website/main/assets/index-CbOuvPyn.js +0 -1
- package/dist/website/main/assets/index-CgNgaeRC.css +0 -1
- package/dist/website/main/assets/index-ChNPGeka.js +0 -1
- package/dist/website/main/assets/index-CjHODTEb.js +0 -1
- package/dist/website/main/assets/index-Cpt-ElYb.js +0 -1
- package/dist/website/main/assets/index-Cqeo6XX0.js +0 -1
- package/dist/website/main/assets/index-CrjnxYdq.js +0 -1
- package/dist/website/main/assets/index-DMmk1-uH.js +0 -2
- package/dist/website/main/assets/index-DOlF0Z_P.css +0 -1
- package/dist/website/main/assets/index-DPvzUGF_.js +0 -2
- package/dist/website/main/assets/index-Dj51p5I8.css +0 -1
- package/dist/website/main/assets/index-DvpUuDIq.js +0 -1
- package/dist/website/main/assets/index-Dwbqz_We.js +0 -1
- package/dist/website/main/assets/index-DwsxPrpM.js +0 -1
- package/dist/website/main/assets/index-IFbOrHc6.js +0 -1
- package/dist/website/main/assets/index-JZJBRbnu.js +0 -1
- package/dist/website/main/assets/index-YQrh68OP.js +0 -361
- package/dist/website/main/assets/index-d6c7G8Rn.js +0 -1
- package/dist/website/main/assets/index-q7_pRGD0.js +0 -8
- package/dist/website/main/assets/index-r4XZ4Nw3.js +0 -1
- package/dist/website/main/assets/index-ze19z7zX.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-6wuGCBaO.js +0 -2
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-BHtswZUO.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-Bu8jevdr.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CUQttXIa.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-CqTNk_HH.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DDwXMaNL.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_script_setup_true_lang-DOAvJ6sA.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-CAzxiMOC.js +0 -59
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-Cl1itFTX.js +0 -1
- package/dist/website/main/assets/index.vue_vue_type_style_index_0_lang-DRm0zssd.js +0 -15
- package/dist/website/main/assets/kid-star-D1M-aC1C.css +0 -1
- package/dist/website/main/assets/kid-star-DCy2yzJb.js +0 -1
- package/dist/website/main/assets/md5-CtJDyuNs.js +0 -1
- package/dist/website/main/assets/settings-BMRZp14Y.js +0 -1
- package/dist/website/main/assets/settings-BhagQj3w.css +0 -1
- package/dist/website/main/assets/supervised-user-circle-CZYpyCV4.css +0 -1
- package/dist/website/main/assets/supervised-user-circle-v2VKksba.js +0 -1
- package/dist/website/main/assets/sync-saved-locally-rounded-BKS18Cgx.js +0 -1
- package/dist/website/main/assets/sync-saved-locally-rounded-wbwASI26.css +0 -1
- package/dist/website/main/assets/terminal-CysD-avl.js +0 -1
- package/dist/website/main/assets/terminal-DFt3N_TH.css +0 -1
- package/dist/website/main/assets/useCacheOssStore-E3m2bF9c.js +0 -1
- package/dist/website/main/assets/useCompEditStore-N2mMMlha.css +0 -1
- package/dist/website/main/assets/useCompEditStore-eTcWHaeG.js +0 -1
- package/dist/website/main/assets/useCompMetaLocalStore-BwKMTij9.js +0 -1
- package/dist/website/main/assets/useCompMetaStore-BWz1ZyX_.js +0 -1
- package/dist/website/main/assets/useKeyword-Dmz0UrKO.js +0 -1
- package/dist/website/main/assets/useTeamHeaders-kK4p3F9Z.js +0 -1
- package/dist/website/main/assets/useVscodeOpen-Bwp8Sbsw.js +0 -1
- package/dist/website/main/assets/zhCN-0_iHo67e.js +0 -1
- /package/dist/website/container/assets/{index-DY_KlG_O.js → index-C0I-xtR-.js} +0 -0
- /package/dist/website/item/assets/{_plugin-vue_export-helper-8dCw6Y2Z.css → @iconify-vue-8dCw6Y2Z.css} +0 -0
- /package/dist/website/main/assets/{v4-EwEgHOG0.js → uuid-EwEgHOG0.js} +0 -0
- /package/dist/website/main/assets/{index-m9r9dfRk.css → vuefinder-m9r9dfRk.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{i as T,a as h,b as d,D as we,c as P,d as ee,e as V,u as G,f as te,g as ht,m as S,h as y,j as p,k as Q,l as ae,n as kt,o as M,p as Ee,q as Ie,r as X,s as Z,A as Nt,t as pt,v as yt,N as Pt,w as se,x as Mt,y as Le,C as St,z as Fe,B as Te,M as Re,E as Oe,F as ve,G as he,H as ke,I as Ct,J as Dt,K as At,L as Wt,O as B,P as xt,Q as Vt,R as Ut,S as wt,T as $t}from"./@intlify-Dtb6NmBn.js";import{x as Ht,w as le,l as Yt,a as Gt,f as jt,e as j,p as _e,g as Bt,d as Xt,i as zt,b as Jt,o as Kt,y as qt,v as $e,z as Qt,T as Zt,F as He}from"./@vue-C9QaczuC.js";const ea="11.4.0";function ta(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(B().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(B().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(B().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(B().__INTLIFY_PROD_DEVTOOLS__=!1)}const R={UNEXPECTED_RETURN_TYPE:St,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function O(e,...t){return ht(e,null,void 0)}const oe=S("__translateVNode"),ce=S("__datetimeParts"),ie=S("__numberParts"),Ye=S("__setPluralRules"),Ge=S("__injectWithOption"),U=S("__dispose");function z(e){if(!M(e)||Z(e))return e;for(const t in e)if(ae(e,t))if(!t.includes("."))M(e[t])&&z(e[t]);else{const c=t.split("."),s=c.length-1;let a=e,r=!1;for(let l=0;l<s;l++){if(c[l]==="__proto__")throw new Error(`unsafe key: ${c[l]}`);if(c[l]in a||(a[c[l]]=p()),!M(a[c[l]])){r=!0;break}a=a[c[l]]}if(r||(Z(a)?Nt.includes(c[s])||delete e[t]:(a[c[s]]=e[t],delete e[t])),!Z(a)){const l=a[c[s]];M(l)&&z(l)}}return e}function me(e,t){const{messages:c,__i18n:s,messageResolver:a,flatJson:r}=t,l=h(c)?c:P(s)?p():{[e]:p()};if(P(s)&&s.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:u,resource:m}=i;u?(l[u]=l[u]||p(),Q(m,l[u])):Q(m,l)}else d(i)&&Q(JSON.parse(i),l)}),a==null&&r)for(const i in l)ae(l,i)&&z(l[i]);return l}function je(e){return e.type}function Be(e,t,c){let s=M(t.messages)?t.messages:p();"__i18nGlobal"in c&&(s=me(e.locale.value,{messages:s,__i18n:c.__i18nGlobal}));const a=Object.keys(s);a.length&&a.forEach(r=>{e.mergeLocaleMessage(r,s[r])});{if(M(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(l=>{e.mergeDateTimeFormat(l,t.datetimeFormats[l])})}if(M(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(l=>{e.mergeNumberFormat(l,t.numberFormats[l])})}}}function Ne(e){return Qt(Zt,null,e,0)}function J(){return Bt()}const pe="__INTLIFY_META__",ye=()=>[],aa=()=>!1;let Pe=0;function Me(e){return((t,c,s,a)=>e(c,s,J()||void 0,a))}const na=()=>{const e=J();let t=null;return e&&(t=je(e)[pe])?{[pe]:t}:null};function ne(e={}){const{__root:t,__injectWithOption:c}=e,s=t===void 0,a=e.flatJson,r=te?Gt:jt;let l=T(e.inheritLocale)?e.inheritLocale:!0;const i=r(t&&l?t.locale.value:d(e.locale)?e.locale:we),u=r(t&&l?t.fallbackLocale.value:d(e.fallbackLocale)||P(e.fallbackLocale)||h(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),m=r(me(i.value,e)),g=r(h(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),f=r(h(e.numberFormats)?e.numberFormats:{[i.value]:{}});let E=t?t.missingWarn:T(e.missingWarn)||ee(e.missingWarn)?e.missingWarn:!0,L=t?t.fallbackWarn:T(e.fallbackWarn)||ee(e.fallbackWarn)?e.fallbackWarn:!0,k=t?t.fallbackRoot:T(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,K=V(e.missing)?e.missing:null,x=V(e.missing)?Me(e.missing):null,C=V(e.postTranslation)?e.postTranslation:null,w=t?t.warnHtmlMessage:T(e.warnHtmlMessage)?e.warnHtmlMessage:!0,$=!!e.escapeParameter;const H=t?t.modifiers:h(e.modifiers)?e.modifiers:{};let Y=e.pluralRules||t&&t.pluralRules,_;_=(()=>{s&&Le(null);const n={version:ea,locale:i.value,fallbackLocale:u.value,messages:m.value,modifiers:H,pluralRules:Y,missing:x===null?void 0:x,missingWarn:E,fallbackWarn:L,fallbackFormat:v,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:w,escapeParameter:$,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};n.datetimeFormats=g.value,n.numberFormats=f.value,n.__datetimeFormatters=h(_)?_.__datetimeFormatters:void 0,n.__numberFormatters=h(_)?_.__numberFormatters:void 0;const o=kt(n);return s&&Le(o),o})(),G(_,i.value,u.value);function re(){return[i.value,u.value,m.value,g.value,f.value]}const Je=j({get:()=>i.value,set:n=>{_.locale=n,i.value=n}}),Ke=j({get:()=>u.value,set:n=>{_.fallbackLocale=n,u.value=n,G(_,i.value,n)}}),qe=j(()=>m.value),Qe=j(()=>g.value),Ze=j(()=>f.value);function et(){return V(C)?C:null}function tt(n){C=n,_.postTranslation=n}function at(){return K}function nt(n){n!==null&&(x=Me(n)),K=n,_.missing=x}const D=(n,o,b,I,A,W)=>{re();let N;try{__INTLIFY_PROD_DEVTOOLS__&&pt(na()),s||(_.fallbackContext=t?yt():void 0),N=n(_)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(_.fallbackContext=void 0)}if(b!=="translate exists"&&X(N)&&N===Pt||b==="translate exists"&&!N){const[vt,va]=o();return t&&k?I(t):A(vt)}else{if(W(N))return N;throw O(R.UNEXPECTED_RETURN_TYPE)}};function be(...n){return D(o=>Reflect.apply(Te,null,[o,...n]),()=>Fe(...n),"translate",o=>Reflect.apply(o.t,o,[...n]),o=>o,o=>d(o))}function rt(...n){const[o,b,I]=n;if(I&&!M(I))throw O(R.INVALID_ARGUMENT);return be(o,b,y({resolvedMessage:!0},I||{}))}function st(...n){return D(o=>Reflect.apply(ve,null,[o,...n]),()=>Oe(...n),"datetime format",o=>Reflect.apply(o.d,o,[...n]),()=>Re,o=>d(o)||P(o))}function lt(...n){return D(o=>Reflect.apply(ke,null,[o,...n]),()=>he(...n),"number format",o=>Reflect.apply(o.n,o,[...n]),()=>Re,o=>d(o)||P(o))}function ot(n){return n.map(o=>d(o)||X(o)||T(o)?Ne(String(o)):o)}const ct={normalize:ot,interpolate:n=>n,type:"vnode"};function it(...n){return D(o=>{let b;const I=o;try{I.processor=ct,b=Reflect.apply(Te,null,[I,...n])}finally{I.processor=null}return b},()=>Fe(...n),"translate",o=>o[oe](...n),o=>[Ne(o)],o=>P(o))}function ut(...n){return D(o=>Reflect.apply(ke,null,[o,...n]),()=>he(...n),"number format",o=>o[ie](...n),ye,o=>d(o)||P(o))}function _t(...n){return D(o=>Reflect.apply(ve,null,[o,...n]),()=>Oe(...n),"datetime format",o=>o[ce](...n),ye,o=>d(o)||P(o))}function mt(n){Y=n,_.pluralRules=Y}function ft(n,o){return D(()=>{if(!n)return!1;const b=d(o)?o:i.value,I=d(o)?[b]:se(_,u.value,b);for(let A=0;A<I.length;A++){const W=de(I[A]);let N=_.messageResolver(W,n);if(N===null&&(N=W[n]),Z(N)||Ct(N)||d(N))return!0}return!1},()=>[n],"translate exists",b=>Reflect.apply(b.te,b,[n,o]),aa,b=>T(b))}function gt(n){let o=null;const b=se(_,u.value,i.value);for(let I=0;I<b.length;I++){const A=m.value[b[I]]||{},W=_.messageResolver(A,n);if(W!=null){o=W;break}}return o}function bt(n){const o=gt(n);return o??(t?t.tm(n)||{}:{})}function de(n){return m.value[n]||{}}function dt(n,o){if(a){const b={[n]:o};for(const I in b)ae(b,I)&&z(b[I]);o=b[n]}m.value[n]=o,_.messages=m.value}function Et(n,o){m.value[n]=m.value[n]||{};const b={[n]:o};if(a)for(const I in b)ae(b,I)&&z(b[I]);o=b[n],Q(o,m.value[n]),_.messages=m.value}function It(n){return g.value[n]||{}}function Lt(n,o){g.value[n]=o,_.datetimeFormats=g.value,Ee(_,n,o)}function Ft(n,o){g.value[n]=y(g.value[n]||{},o),_.datetimeFormats=g.value,Ee(_,n,o)}function Tt(n){return f.value[n]||{}}function Rt(n,o){f.value[n]=o,_.numberFormats=f.value,Ie(_,n,o)}function Ot(n,o){f.value[n]=y(f.value[n]||{},o),_.numberFormats=f.value,Ie(_,n,o)}Pe++,t&&te&&(le(t.locale,n=>{l&&(i.value=n,_.locale=n,G(_,i.value,u.value))}),le(t.fallbackLocale,n=>{l&&(u.value=n,_.fallbackLocale=n,G(_,i.value,u.value))}));const F={id:Pe,locale:Je,fallbackLocale:Ke,get inheritLocale(){return l},set inheritLocale(n){l=n,n&&t&&(i.value=t.locale.value,u.value=t.fallbackLocale.value,G(_,i.value,u.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:qe,get modifiers(){return H},get pluralRules(){return Y||{}},get isGlobal(){return s},get missingWarn(){return E},set missingWarn(n){E=n,_.missingWarn=E},get fallbackWarn(){return L},set fallbackWarn(n){L=n,_.fallbackWarn=L},get fallbackRoot(){return k},set fallbackRoot(n){k=n},get fallbackFormat(){return v},set fallbackFormat(n){v=n,_.fallbackFormat=v},get warnHtmlMessage(){return w},set warnHtmlMessage(n){w=n,_.warnHtmlMessage=n},get escapeParameter(){return $},set escapeParameter(n){$=n,_.escapeParameter=n},t:be,getLocaleMessage:de,setLocaleMessage:dt,mergeLocaleMessage:Et,getPostTranslationHandler:et,setPostTranslationHandler:tt,getMissingHandler:at,setMissingHandler:nt,[Ye]:mt};return F.datetimeFormats=Qe,F.numberFormats=Ze,F.rt=rt,F.te=ft,F.tm=bt,F.d=st,F.n=lt,F.getDateTimeFormat=It,F.setDateTimeFormat=Lt,F.mergeDateTimeFormat=Ft,F.getNumberFormat=Tt,F.setNumberFormat=Rt,F.mergeNumberFormat=Ot,F[Ge]=c,F[oe]=it,F[ce]=_t,F[ie]=ut,F}function ra(e){const t=d(e.locale)?e.locale:we,c=d(e.fallbackLocale)||P(e.fallbackLocale)||h(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=V(e.missing)?e.missing:void 0,a=T(e.silentTranslationWarn)||ee(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,r=T(e.silentFallbackWarn)||ee(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,l=T(e.fallbackRoot)?e.fallbackRoot:!0,i=!!e.formatFallbackMessages,u=h(e.modifiers)?e.modifiers:{},m=e.pluralizationRules,g=V(e.postTranslation)?e.postTranslation:void 0,f=d(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,E=!!e.escapeParameterHtml,L=T(e.sync)?e.sync:!0;let k=e.messages;if(h(e.sharedMessages)){const H=e.sharedMessages;k=Object.keys(H).reduce((_,q)=>{const re=_[q]||(_[q]={});return y(re,H[q]),_},k||{})}const{__i18n:v,__root:K,__injectWithOption:x}=e,C=e.datetimeFormats,w=e.numberFormats,$=e.flatJson;return{locale:t,fallbackLocale:c,messages:k,flatJson:$,datetimeFormats:C,numberFormats:w,missing:s,missingWarn:a,fallbackWarn:r,fallbackRoot:l,fallbackFormat:i,modifiers:u,pluralRules:m,postTranslation:g,warnHtmlMessage:f,escapeParameter:E,messageResolver:e.messageResolver,inheritLocale:L,__i18n:v,__root:K,__injectWithOption:x}}function ue(e={}){const t=ne(ra(e)),{__extender:c}=e,s={id:t.id,get locale(){return t.locale.value},set locale(a){t.locale.value=a},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(a){t.fallbackLocale.value=a},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(a){t.setMissingHandler(a)},get silentTranslationWarn(){return T(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(a){t.missingWarn=T(a)?!a:a},get silentFallbackWarn(){return T(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(a){t.fallbackWarn=T(a)?!a:a},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(a){t.fallbackFormat=a},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(a){t.setPostTranslationHandler(a)},get sync(){return t.inheritLocale},set sync(a){t.inheritLocale=a},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){t.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(a){t.escapeParameter=a},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...a){return Reflect.apply(t.t,t,[...a])},rt(...a){return Reflect.apply(t.rt,t,[...a])},te(a,r){return t.te(a,r)},tm(a){return t.tm(a)},getLocaleMessage(a){return t.getLocaleMessage(a)},setLocaleMessage(a,r){t.setLocaleMessage(a,r)},mergeLocaleMessage(a,r){t.mergeLocaleMessage(a,r)},d(...a){return Reflect.apply(t.d,t,[...a])},getDateTimeFormat(a){return t.getDateTimeFormat(a)},setDateTimeFormat(a,r){t.setDateTimeFormat(a,r)},mergeDateTimeFormat(a,r){t.mergeDateTimeFormat(a,r)},n(...a){return Reflect.apply(t.n,t,[...a])},getNumberFormat(a){return t.getNumberFormat(a)},setNumberFormat(a,r){t.setNumberFormat(a,r)},mergeNumberFormat(a,r){t.mergeNumberFormat(a,r)}};return s.__extender=c,s}function sa(e,t,c){return{beforeCreate(){const s=J();if(!s)throw O(R.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=t,this===this.$root)this.$i18n=Se(e,r);else{r.__injectWithOption=!0,r.__extender=c.__vueI18nExtend,this.$i18n=ue(r);const l=this.$i18n;l.__extender&&(l.__disposer=l.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Se(e,a);else{this.$i18n=ue({__i18n:a.__i18n,__injectWithOption:!0,__extender:c.__vueI18nExtend,__root:t});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=e;a.__i18nGlobal&&Be(t,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$te=(r,l)=>this.$i18n.te(r,l),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),c.__setInstance(s,this.$i18n)},mounted(){},unmounted(){const s=J();if(!s)throw O(R.UNEXPECTED_ERROR);const a=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),c.__deleteInstance(s),delete this.$i18n}}}function Se(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Ye](t.pluralizationRules||e.pluralizationRules);const c=me(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(c).forEach(s=>e.mergeLocaleMessage(s,c[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const fe={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function la({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,a)=>[...s,...a.type===He?a.children:[a]],[]):t.reduce((c,s)=>{const a=e[s];return a&&(c[s]=a()),c},p())}function Xe(){return He}const oa=_e({name:"i18n-t",props:y({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>X(e)||!isNaN(e)}},fe),setup(e,t){const{slots:c,attrs:s}=t,a=e.i18n||ge({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(c).filter(f=>f[0]!=="_"),l=p();e.locale&&(l.locale=e.locale),e.plural!==void 0&&(l.plural=d(e.plural)?+e.plural:e.plural);const i=la(t,r),u=a[oe](e.keypath,i,l),m=y(p(),s),g=d(e.tag)||M(e.tag)?e.tag:Xe();return $e(g,m,u)}}}),Ce=oa;function ca(e){return P(e)&&!d(e[0])}function ze(e,t,c,s){const{slots:a,attrs:r}=t;return()=>{const l={part:!0};let i=p();e.locale&&(l.locale=e.locale),d(e.format)?l.key=e.format:M(e.format)&&(d(e.format.key)&&(l.key=e.format.key),i=Object.keys(e.format).reduce((E,L)=>c.includes(L)?y(p(),E,{[L]:e.format[L]}):E,p()));const u=s(e.value,l,i);let m=[l.key];P(u)?m=u.map((E,L)=>{const k=a[E.type],v=k?k({[E.type]:E.value,index:L,parts:u}):[E.value];return ca(v)&&(v[0].key=`${E.type}-${L}`),v}):d(u)&&(m=[u]);const g=y(p(),r),f=d(e.tag)||M(e.tag)?e.tag:Xe();return $e(f,g,m)}}const ia=_e({name:"i18n-n",props:y({value:{type:Number,required:!0},format:{type:[String,Object]}},fe),setup(e,t){const c=e.i18n||ge({useScope:e.scope,__useComponent:!0});return ze(e,t,Vt,(...s)=>c[ie](...s))}}),De=ia;function ua(e,t){const c=e;if(e.mode==="composition")return c.__getInstance(t)||e.global;{const s=c.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function _a(e){const t=l=>{const{instance:i,value:u}=l;if(!i||!i.$)throw O(R.UNEXPECTED_ERROR);const m=ua(e,i.$),g=Ae(u);return[Reflect.apply(m.t,m,[...We(g)]),m]};return{created:(l,i)=>{const[u,m]=t(i);te&&(l.__i18nWatcher=le(m.locale,()=>{i.instance&&i.instance.$forceUpdate()})),l.__composer=m,l.textContent=u},unmounted:l=>{te&&l.__i18nWatcher&&(l.__i18nWatcher(),l.__i18nWatcher=void 0,delete l.__i18nWatcher),l.__composer&&(l.__composer=void 0,delete l.__composer)},beforeUpdate:(l,{value:i})=>{if(l.__composer){const u=l.__composer,m=Ae(i);l.textContent=Reflect.apply(u.t,u,[...We(m)])}},getSSRProps:l=>{const[i]=t(l);return{textContent:i}}}}function Ae(e){if(d(e))return{path:e};if(h(e)){if(!("path"in e))throw O(R.REQUIRED_VALUE,"path");return e}else throw O(R.INVALID_VALUE)}function We(e){const{path:t,locale:c,args:s,choice:a,plural:r}=e,l={},i=s||{};return d(c)&&(l.locale=c),X(a)&&(l.plural=a),X(r)&&(l.plural=r),[t,i,l]}function ma(e,t,...c){const s=h(c[0])?c[0]:{};(!T(s.globalInstall)||s.globalInstall)&&([Ce.name,"I18nT"].forEach(r=>e.component(r,Ce)),[De.name,"I18nN"].forEach(r=>e.component(r,De)),[Ue.name,"I18nD"].forEach(r=>e.component(r,Ue))),e.directive("t",_a(t))}const fa=S("global-vue-i18n");function Na(e={}){const t=__VUE_I18N_LEGACY_API__&&T(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,c=T(e.globalInjection)?e.globalInjection:!0,s=new Map,[a,r]=ga(e,t),l=S("");function i(f){return s.get(f)||null}function u(f,E){s.set(f,E)}function m(f){s.delete(f)}const g={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(f,...E){if(f.__VUE_I18N_SYMBOL__=l,f.provide(f.__VUE_I18N_SYMBOL__,g),h(E[0])){const v=E[0];g.__composerExtend=v.__composerExtend,g.__vueI18nExtend=v.__vueI18nExtend}let L=null;!t&&c&&(L=Ta(f,g.global)),__VUE_I18N_FULL_INSTALL__&&ma(f,g,...E),__VUE_I18N_LEGACY_API__&&t&&f.mixin(sa(r,r.__composer,g));const k=f.unmount;f.unmount=()=>{L&&L(),g.dispose(),k()}},get global(){return r},dispose(){a.stop()},__instances:s,__getInstance:i,__setInstance:u,__deleteInstance:m};return g}function ge(e={}){const t=J();if(t==null)throw O(R.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw O(R.NOT_INSTALLED);const c=ba(t),s=Ea(c),a=je(t),r=da(e,a);if(r==="global")return Be(s,e,a),s;if(r==="parent"){let u=xe(c,t,e.__useComponent);return u==null&&(u=s),u}if(r==="isolated"){if(c.mode!=="composition")throw O(R.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const u=c,m=y({},e),g=xe(c,t);m.__root=g||s;const f=ne(m);return u.__composerExtend&&(f[U]=u.__composerExtend(f)),Jt()&&Xt(()=>{const L=f[U];L&&(L(),delete f[U])}),f}const l=c;let i=l.__getInstance(t);if(i==null){const u=y({},e);"__i18n"in a&&(u.__i18n=a.__i18n),s&&(u.__root=s),i=ne(u),l.__composerExtend&&(i[U]=l.__composerExtend(i)),La(l,t,i),l.__setInstance(t,i)}return i}function ga(e,t){const c=Ht(),s=__VUE_I18N_LEGACY_API__&&t?c.run(()=>ue(e)):c.run(()=>ne(e));if(s==null)throw O(R.UNEXPECTED_ERROR);return[c,s]}function ba(e){const t=zt(e.isCE?fa:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw O(e.isCE?R.NOT_INSTALLED_WITH_PROVIDE:R.UNEXPECTED_ERROR);return t}function da(e,t){return Mt(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Ea(e){return e.mode==="composition"?e.global:e.global.__composer}function xe(e,t,c=!1){let s=null;const a=t.root;let r=Ia(t,c);for(;r!=null;){const l=e;if(e.mode==="composition")s=l.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const i=l.__getInstance(r);i!=null&&(s=i.__composer,c&&s&&!s[Ge]&&(s=null))}if(s!=null||a===r)break;r=r.parent}return s}function Ia(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function La(e,t,c){Kt(()=>{},t),qt(()=>{const s=c;e.__deleteInstance(t);const a=s[U];a&&(a(),delete s[U])},t)}const Fa=["locale","fallbackLocale","availableLocales"],Ve=["t","rt","d","n","tm","te"];function Ta(e,t){const c=Object.create(null);return Fa.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r)throw O(R.UNEXPECTED_ERROR);const l=Yt(r.value)?{get(){return r.value.value},set(i){r.value.value=i}}:{get(){return r.get&&r.get()}};Object.defineProperty(c,a,l)}),e.config.globalProperties.$i18n=c,Ve.forEach(a=>{const r=Object.getOwnPropertyDescriptor(t,a);if(!r||!r.value)throw O(R.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${a}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ve.forEach(a=>{delete e.config.globalProperties[`$${a}`]})}}const Ra=_e({name:"i18n-d",props:y({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},fe),setup(e,t){const c=e.i18n||ge({useScope:e.scope,__useComponent:!0});return ze(e,t,Ut,(...s)=>c[ce](...s))}}),Ue=Ra;ta();Dt(wt);At($t);Wt(se);if(__INTLIFY_PROD_DEVTOOLS__){const e=B();e.__INTLIFY__=!0,xt(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}export{Na as c,ge as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as X,az as at,f as ct,p as je,m as lt,i as ee,v as qe,e as L,w as ut,a as ft,n as ht,L as fe}from"./@vue-C9QaczuC.js";const F=typeof document<"u";function Fe(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function dt(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Fe(e.default)}const O=Object.assign;function he(e,t){const n={};for(const r in t){const s=t[r];n[r]=B(s)?s.map(e):e(s)}return n}const Z=()=>{},B=Array.isArray;function Ie(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}let w=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Ke=Symbol("");w.MATCHER_NOT_FOUND+"",w.NAVIGATION_GUARD_REDIRECT+"",w.NAVIGATION_ABORTED+"",w.NAVIGATION_CANCELLED+"",w.NAVIGATION_DUPLICATED+"";function K(e,t){return O(new Error,{type:e,[Ke]:!0},t)}function V(e,t){return e instanceof Error&&Ke in e&&(t==null||!!(e.type&t))}const pt=["params","query","hash"];function mt(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of pt)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}const gt=Symbol(""),we=Symbol(""),Ae=Symbol(""),We=Symbol(""),ge=Symbol("");const ze=/#/g,vt=/&/g,Et=/\//g,Rt=/=/g,At=/\?/g,Qe=/\+/g,yt=/%5B/g,Nt=/%5D/g,Ye=/%5E/g,Ot=/%60/g,Je=/%7B/g,_t=/%7C/g,Xe=/%7D/g,Ct=/%20/g;function ye(e){return e==null?"":encodeURI(""+e).replace(_t,"|").replace(yt,"[").replace(Nt,"]")}function Pt(e){return ye(e).replace(Je,"{").replace(Xe,"}").replace(Ye,"^")}function ve(e){return ye(e).replace(Qe,"%2B").replace(Ct,"+").replace(ze,"%23").replace(vt,"%26").replace(Ot,"`").replace(Je,"{").replace(Xe,"}").replace(Ye,"^")}function It(e){return ve(e).replace(Rt,"%3D")}function wt(e){return ye(e).replace(ze,"%23").replace(At,"%3F")}function St(e){return wt(e).replace(Et,"%2F")}function re(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const bt=/\/$/,Tt=e=>e.replace(bt,"");function de(e,t,n="/"){let r,s={},f="",h="";const g=t.indexOf("#");let i=t.indexOf("?");return i=g>=0&&i>g?-1:i,i>=0&&(r=t.slice(0,i),f=t.slice(i,g>0?g:t.length),s=e(f.slice(1))),g>=0&&(r=r||t.slice(0,g),h=t.slice(g,t.length)),r=kt(r??t,n),{fullPath:r+f+h,path:r,query:s,hash:re(h)}}function Dt(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Se(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xt(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&W(t.matched[r],n.matched[s])&&Ze(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function W(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ze(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Gt(e[n],t[n]))return!1;return!0}function Gt(e,t){return B(e)?be(e,t):B(t)?be(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function be(e,t){return B(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function kt(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let f=n.length-1,h,g;for(h=0;h<r.length;h++)if(g=r[h],g!==".")if(g==="..")f>1&&f--;else break;return n.slice(0,f).join("/")+"/"+r.slice(h).join("/")}const $={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ee=(function(e){return e.pop="pop",e.push="push",e})({}),pe=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Bt(e){if(!e)if(F){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Tt(e)}const Lt=/^[^#]+#/;function Vt(e,t){return e.replace(Lt,"#")+t}function Mt(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const se=()=>({left:window.scrollX,top:window.scrollY});function $t(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Mt(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Te(e,t){return(history.state?history.state.position-t:-1)+e}const Re=new Map;function Ut(e,t){Re.set(e,t)}function Ht(e){const t=Re.get(e);return Re.delete(e),t}function jt(e){return typeof e=="string"||e&&typeof e=="object"}function et(e){return typeof e=="string"||typeof e=="symbol"}function qt(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const s=n[r].replace(Qe," "),f=s.indexOf("="),h=re(f<0?s:s.slice(0,f)),g=f<0?null:re(s.slice(f+1));if(h in t){let i=t[h];B(i)||(i=t[h]=[i]),i.push(g)}else t[h]=g}return t}function De(e){let t="";for(let n in e){const r=e[n];if(n=It(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(B(r)?r.map(s=>s&&ve(s)):[r&&ve(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Ft(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=B(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function J(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function U(e,t,n,r,s,f=h=>h()){const h=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((g,i)=>{const u=c=>{c===!1?i(K(w.NAVIGATION_ABORTED,{from:n,to:t})):c instanceof Error?i(c):jt(c)?i(K(w.NAVIGATION_GUARD_REDIRECT,{from:t,to:c})):(h&&r.enterCallbacks[s]===h&&typeof c=="function"&&h.push(c),g())},d=f(()=>e.call(r&&r.instances[s],t,n,u));let a=Promise.resolve(d);e.length<3&&(a=a.then(u)),a.catch(c=>i(c))})}function me(e,t,n,r,s=f=>f()){const f=[];for(const h of e)for(const g in h.components){let i=h.components[g];if(!(t!=="beforeRouteEnter"&&!h.instances[g]))if(Fe(i)){const u=(i.__vccOpts||i)[t];u&&f.push(U(u,n,r,h,g,s))}else{let u=i();f.push(()=>u.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${g}" at "${h.path}"`);const a=dt(d)?d.default:d;h.mods[g]=d,h.components[g]=a;const c=(a.__vccOpts||a)[t];return c&&U(c,n,r,h,g,s)()}))}}return f}function Kt(e,t){const n=[],r=[],s=[],f=Math.max(t.matched.length,e.matched.length);for(let h=0;h<f;h++){const g=t.matched[h];g&&(e.matched.find(u=>W(u,g))?r.push(g):n.push(g));const i=e.matched[h];i&&(t.matched.find(u=>W(u,i))||s.push(i))}return[n,r,s]}let Wt=()=>location.protocol+"//"+location.host;function tt(e,t){const{pathname:n,search:r,hash:s}=t,f=e.indexOf("#");if(f>-1){let h=s.includes(e.slice(f))?e.slice(f).length:1,g=s.slice(h);return g[0]!=="/"&&(g="/"+g),Se(g,"")}return Se(n,e)+r+s}function zt(e,t,n,r){let s=[],f=[],h=null;const g=({state:c})=>{const l=tt(e,location),N=n.value,_=t.value;let P=0;if(c){if(n.value=l,t.value=c,h&&h===N){h=null;return}P=_?c.position-_.position:0}else r(l);s.forEach(I=>{I(n.value,N,{delta:P,type:Ee.pop,direction:P?P>0?pe.forward:pe.back:pe.unknown})})};function i(){h=n.value}function u(c){s.push(c);const l=()=>{const N=s.indexOf(c);N>-1&&s.splice(N,1)};return f.push(l),l}function d(){if(document.visibilityState==="hidden"){const{history:c}=window;if(!c.state)return;c.replaceState(O({},c.state,{scroll:se()}),"")}}function a(){for(const c of f)c();f=[],window.removeEventListener("popstate",g),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",g),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:i,listen:u,destroy:a}}function xe(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?se():null}}function Qt(e){const{history:t,location:n}=window,r={value:tt(e,n)},s={value:t.state};s.value||f(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function f(i,u,d){const a=e.indexOf("#"),c=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+i:Wt()+e+i;try{t[d?"replaceState":"pushState"](u,"",c),s.value=u}catch(l){console.error(l),n[d?"replace":"assign"](c)}}function h(i,u){f(i,O({},t.state,xe(s.value.back,i,s.value.forward,!0),u,{position:s.value.position}),!0),r.value=i}function g(i,u){const d=O({},s.value,t.state,{forward:i,scroll:se()});f(d.current,d,!0),f(i,O({},xe(r.value,i,null),{position:d.position+1},u),!1),r.value=i}return{location:r,state:s,push:g,replace:h}}function Rn(e){e=Bt(e);const t=Qt(e),n=zt(e,t.state,t.location,t.replace);function r(f,h=!0){h||n.pauseListeners(),history.go(f)}const s=O({location:"",base:e,go:r,createHref:Vt.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}let j=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var T=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(T||{});const Yt={type:j.Static,value:""},Jt=/[a-zA-Z0-9_]/;function Xt(e){if(!e)return[[]];if(e==="/")return[[Yt]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(l){throw new Error(`ERR (${n})/"${u}": ${l}`)}let n=T.Static,r=n;const s=[];let f;function h(){f&&s.push(f),f=[]}let g=0,i,u="",d="";function a(){u&&(n===T.Static?f.push({type:j.Static,value:u}):n===T.Param||n===T.ParamRegExp||n===T.ParamRegExpEnd?(f.length>1&&(i==="*"||i==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),f.push({type:j.Param,value:u,regexp:d,repeatable:i==="*"||i==="+",optional:i==="*"||i==="?"})):t("Invalid state to consume buffer"),u="")}function c(){u+=i}for(;g<e.length;){if(i=e[g++],i==="\\"&&n!==T.ParamRegExp){r=n,n=T.EscapeNext;continue}switch(n){case T.Static:i==="/"?(u&&a(),h()):i===":"?(a(),n=T.Param):c();break;case T.EscapeNext:c(),n=r;break;case T.Param:i==="("?n=T.ParamRegExp:Jt.test(i)?c():(a(),n=T.Static,i!=="*"&&i!=="?"&&i!=="+"&&g--);break;case T.ParamRegExp:i===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+i:n=T.ParamRegExpEnd:d+=i;break;case T.ParamRegExpEnd:a(),n=T.Static,i!=="*"&&i!=="?"&&i!=="+"&&g--,d="";break;default:t("Unknown state");break}}return n===T.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),a(),h(),s}const Ge="[^/]+?",Zt={sensitive:!1,strict:!1,start:!0,end:!0};var D=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(D||{});const en=/[.+*?^${}()[\]/\\]/g;function tn(e,t){const n=O({},Zt,t),r=[];let s=n.start?"^":"";const f=[];for(const u of e){const d=u.length?[]:[D.Root];n.strict&&!u.length&&(s+="/");for(let a=0;a<u.length;a++){const c=u[a];let l=D.Segment+(n.sensitive?D.BonusCaseSensitive:0);if(c.type===j.Static)a||(s+="/"),s+=c.value.replace(en,"\\$&"),l+=D.Static;else if(c.type===j.Param){const{value:N,repeatable:_,optional:P,regexp:I}=c;f.push({name:N,repeatable:_,optional:P});const y=I||Ge;if(y!==Ge){l+=D.BonusCustomRegExp;try{new RegExp(`(${y})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${N}" (${y}): `+k.message)}}let C=_?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;a||(C=P&&u.length<2?`(?:/${C})`:"/"+C),P&&(C+="?"),s+=C,l+=D.Dynamic,P&&(l+=D.BonusOptional),_&&(l+=D.BonusRepeatable),y===".*"&&(l+=D.BonusWildcard)}d.push(l)}r.push(d)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=D.BonusStrict}n.strict||(s+="/?"),n.end?s+="$":n.strict&&!s.endsWith("/")&&(s+="(?:/|$)");const h=new RegExp(s,n.sensitive?"":"i");function g(u){const d=u.match(h),a={};if(!d)return null;for(let c=1;c<d.length;c++){const l=d[c]||"",N=f[c-1];a[N.name]=l&&N.repeatable?l.split("/"):l}return a}function i(u){let d="",a=!1;for(const c of e){(!a||!d.endsWith("/"))&&(d+="/"),a=!1;for(const l of c)if(l.type===j.Static)d+=l.value;else if(l.type===j.Param){const{value:N,repeatable:_,optional:P}=l,I=N in u?u[N]:"";if(B(I)&&!_)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const y=B(I)?I.join("/"):I;if(!y)if(P)c.length<2&&(d.endsWith("/")?d=d.slice(0,-1):a=!0);else throw new Error(`Missing required param "${N}"`);d+=y}}return d||"/"}return{re:h,score:r,keys:f,parse:g,stringify:i}}function nn(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===D.Static+D.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===D.Static+D.Segment?1:-1:0}function nt(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const f=nn(r[n],s[n]);if(f)return f;n++}if(Math.abs(s.length-r.length)===1){if(ke(r))return 1;if(ke(s))return-1}return s.length-r.length}function ke(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const rn={strict:!1,end:!0,sensitive:!1};function sn(e,t,n){const r=tn(Xt(e.path),n),s=O(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function on(e,t){const n=[],r=new Map;t=Ie(rn,t);function s(a){return r.get(a)}function f(a,c,l){const N=!l,_=Le(a);_.aliasOf=l&&l.record;const P=Ie(t,a),I=[_];if("alias"in a){const k=typeof a.alias=="string"?[a.alias]:a.alias;for(const H of k)I.push(Le(O({},_,{components:l?l.record.components:_.components,path:H,aliasOf:l?l.record:_})))}let y,C;for(const k of I){const{path:H}=k;if(c&&H[0]!=="/"){const M=c.record.path,G=M[M.length-1]==="/"?"":"/";k.path=c.record.path+(H&&G+H)}if(y=sn(k,c,P),l?l.alias.push(y):(C=C||y,C!==y&&C.alias.push(y),N&&a.name&&!Ve(y)&&h(a.name)),rt(y)&&i(y),_.children){const M=_.children;for(let G=0;G<M.length;G++)f(M[G],y,l&&l.children[G])}l=l||y}return C?()=>{h(C)}:Z}function h(a){if(et(a)){const c=r.get(a);c&&(r.delete(a),n.splice(n.indexOf(c),1),c.children.forEach(h),c.alias.forEach(h))}else{const c=n.indexOf(a);c>-1&&(n.splice(c,1),a.record.name&&r.delete(a.record.name),a.children.forEach(h),a.alias.forEach(h))}}function g(){return n}function i(a){const c=ln(a,n);n.splice(c,0,a),a.record.name&&!Ve(a)&&r.set(a.record.name,a)}function u(a,c){let l,N={},_,P;if("name"in a&&a.name){if(l=r.get(a.name),!l)throw K(w.MATCHER_NOT_FOUND,{location:a});P=l.record.name,N=O(Be(c.params,l.keys.filter(C=>!C.optional).concat(l.parent?l.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),a.params&&Be(a.params,l.keys.map(C=>C.name))),_=l.stringify(N)}else if(a.path!=null)_=a.path,l=n.find(C=>C.re.test(_)),l&&(N=l.parse(_),P=l.record.name);else{if(l=c.name?r.get(c.name):n.find(C=>C.re.test(c.path)),!l)throw K(w.MATCHER_NOT_FOUND,{location:a,currentLocation:c});P=l.record.name,N=O({},c.params,a.params),_=l.stringify(N)}const I=[];let y=l;for(;y;)I.unshift(y.record),y=y.parent;return{name:P,path:_,params:N,matched:I,meta:cn(I)}}e.forEach(a=>f(a));function d(){n.length=0,r.clear()}return{addRoute:f,resolve:u,removeRoute:h,clearRoutes:d,getRoutes:g,getRecordMatcher:s}}function Be(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Le(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:an(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function an(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ve(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function cn(e){return e.reduce((t,n)=>O(t,n.meta),{})}function ln(e,t){let n=0,r=t.length;for(;n!==r;){const f=n+r>>1;nt(e,t[f])<0?r=f:n=f+1}const s=un(e);return s&&(r=t.lastIndexOf(s,r-1)),r}function un(e){let t=e;for(;t=t.parent;)if(rt(t)&&nt(e,t)===0)return t}function rt({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Me(e){const t=ee(Ae),n=ee(We),r=L(()=>{const i=X(e.to);return t.resolve(i)}),s=L(()=>{const{matched:i}=r.value,{length:u}=i,d=i[u-1],a=n.matched;if(!d||!a.length)return-1;const c=a.findIndex(W.bind(null,d));if(c>-1)return c;const l=$e(i[u-2]);return u>1&&$e(d)===l&&a[a.length-1].path!==l?a.findIndex(W.bind(null,i[u-2])):c}),f=L(()=>s.value>-1&&mn(n.params,r.value.params)),h=L(()=>s.value>-1&&s.value===n.matched.length-1&&Ze(n.params,r.value.params));function g(i={}){if(pn(i)){const u=t[X(e.replace)?"replace":"push"](X(e.to)).catch(Z);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:L(()=>r.value.href),isActive:f,isExactActive:h,navigate:g}}function fn(e){return e.length===1?e[0]:e}const hn=je({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Me,setup(e,{slots:t}){const n=lt(Me(e)),{options:r}=ee(Ae),s=L(()=>({[Ue(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ue(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const f=t.default&&fn(t.default(n));return e.custom?f:qe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},f)}}}),dn=hn;function pn(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function mn(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!B(s)||s.length!==r.length||r.some((f,h)=>f.valueOf()!==s[h].valueOf()))return!1}return!0}function $e(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ue=(e,t,n)=>e??t??n,gn=je({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ee(ge),s=L(()=>e.route||r.value),f=ee(we,0),h=L(()=>{let u=X(f);const{matched:d}=s.value;let a;for(;(a=d[u])&&!a.components;)u++;return u}),g=L(()=>s.value.matched[h.value]);fe(we,L(()=>h.value+1)),fe(gt,g),fe(ge,s);const i=ft();return ut(()=>[i.value,g.value,e.name],([u,d,a],[c,l,N])=>{d&&(d.instances[a]=u,l&&l!==d&&u&&u===c&&(d.leaveGuards.size||(d.leaveGuards=l.leaveGuards),d.updateGuards.size||(d.updateGuards=l.updateGuards))),u&&d&&(!l||!W(d,l)||!c)&&(d.enterCallbacks[a]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=s.value,d=e.name,a=g.value,c=a&&a.components[d];if(!c)return He(n.default,{Component:c,route:u});const l=a.props[d],N=l?l===!0?u.params:typeof l=="function"?l(u):l:null,P=qe(c,O({},N,t,{onVnodeUnmounted:I=>{I.component.isUnmounted&&(a.instances[d]=null)},ref:i}));return He(n.default,{Component:P,route:u})||P}}});function He(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const vn=gn;function An(e){const t=on(e.routes,e),n=e.parseQuery||qt,r=e.stringifyQuery||De,s=e.history,f=J(),h=J(),g=J(),i=ct($);let u=$;F&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=he.bind(null,o=>""+o),a=he.bind(null,St),c=he.bind(null,re);function l(o,m){let p,v;return et(o)?(p=t.getRecordMatcher(o),v=m):v=o,t.addRoute(v,p)}function N(o){const m=t.getRecordMatcher(o);m&&t.removeRoute(m)}function _(){return t.getRoutes().map(o=>o.record)}function P(o){return!!t.getRecordMatcher(o)}function I(o,m){if(m=O({},m||i.value),typeof o=="string"){const E=de(n,o,m.path),b=t.resolve({path:E.path},m),Y=s.createHref(E.fullPath);return O(E,b,{params:c(b.params),redirectedFrom:void 0,href:Y})}let p;if(o.path!=null)p=O({},o,{path:de(n,o.path,m.path).path});else{const E=O({},o.params);for(const b in E)E[b]==null&&delete E[b];p=O({},o,{params:a(E)}),m.params=a(m.params)}const v=t.resolve(p,m),A=o.hash||"";v.params=d(c(v.params));const S=Dt(r,O({},o,{hash:Pt(A),path:v.path})),R=s.createHref(S);return O({fullPath:S,hash:A,query:r===De?Ft(o.query):o.query||{}},v,{redirectedFrom:void 0,href:R})}function y(o){return typeof o=="string"?de(n,o,i.value.path):O({},o)}function C(o,m){if(u!==o)return K(w.NAVIGATION_CANCELLED,{from:m,to:o})}function k(o){return G(o)}function H(o){return k(O(y(o),{replace:!0}))}function M(o,m){const p=o.matched[o.matched.length-1];if(p&&p.redirect){const{redirect:v}=p;let A=typeof v=="function"?v(o,m):v;return typeof A=="string"&&(A=A.includes("?")||A.includes("#")?A=y(A):{path:A},A.params={}),O({query:o.query,hash:o.hash,params:A.path!=null?{}:o.params},A)}}function G(o,m){const p=u=I(o),v=i.value,A=o.state,S=o.force,R=o.replace===!0,E=M(p,v);if(E)return G(O(y(E),{state:typeof E=="object"?O({},A,E.state):A,force:S,replace:R}),m||p);const b=p;b.redirectedFrom=m;let Y;return!S&&xt(r,v,p)&&(Y=K(w.NAVIGATION_DUPLICATED,{to:b,from:v}),Pe(v,v,!0,!1)),(Y?Promise.resolve(Y):Ne(b,v)).catch(x=>V(x)?V(x,w.NAVIGATION_GUARD_REDIRECT)?x:ce(x):ae(x,b,v)).then(x=>{if(x){if(V(x,w.NAVIGATION_GUARD_REDIRECT))return G(O({replace:R},y(x.to),{state:typeof x.to=="object"?O({},A,x.to.state):A,force:S}),m||b)}else x=_e(b,v,!0,R,A);return Oe(b,v,x),x})}function st(o,m){const p=C(o,m);return p?Promise.reject(p):Promise.resolve()}function oe(o){const m=ne.values().next().value;return m&&typeof m.runWithContext=="function"?m.runWithContext(o):o()}function Ne(o,m){let p;const[v,A,S]=Kt(o,m);p=me(v.reverse(),"beforeRouteLeave",o,m);for(const E of v)E.leaveGuards.forEach(b=>{p.push(U(b,o,m))});const R=st.bind(null,o,m);return p.push(R),q(p).then(()=>{p=[];for(const E of f.list())p.push(U(E,o,m));return p.push(R),q(p)}).then(()=>{p=me(A,"beforeRouteUpdate",o,m);for(const E of A)E.updateGuards.forEach(b=>{p.push(U(b,o,m))});return p.push(R),q(p)}).then(()=>{p=[];for(const E of S)if(E.beforeEnter)if(B(E.beforeEnter))for(const b of E.beforeEnter)p.push(U(b,o,m));else p.push(U(E.beforeEnter,o,m));return p.push(R),q(p)}).then(()=>(o.matched.forEach(E=>E.enterCallbacks={}),p=me(S,"beforeRouteEnter",o,m,oe),p.push(R),q(p))).then(()=>{p=[];for(const E of h.list())p.push(U(E,o,m));return p.push(R),q(p)}).catch(E=>V(E,w.NAVIGATION_CANCELLED)?E:Promise.reject(E))}function Oe(o,m,p){g.list().forEach(v=>oe(()=>v(o,m,p)))}function _e(o,m,p,v,A){const S=C(o,m);if(S)return S;const R=m===$,E=F?history.state:{};p&&(v||R?s.replace(o.fullPath,O({scroll:R&&E&&E.scroll},A)):s.push(o.fullPath,A)),i.value=o,Pe(o,m,p,R),ce()}let z;function ot(){z||(z=s.listen((o,m,p)=>{if(!Q.listening)return;const v=I(o),A=M(v,Q.currentRoute.value);if(A){G(O(A,{replace:!0,force:!0}),v).catch(Z);return}u=v;const S=i.value;F&&Ut(Te(S.fullPath,p.delta),se()),Ne(v,S).catch(R=>V(R,w.NAVIGATION_ABORTED|w.NAVIGATION_CANCELLED)?R:V(R,w.NAVIGATION_GUARD_REDIRECT)?(G(O(y(R.to),{force:!0}),v).then(E=>{V(E,w.NAVIGATION_ABORTED|w.NAVIGATION_DUPLICATED)&&!p.delta&&p.type===Ee.pop&&s.go(-1,!1)}).catch(Z),Promise.reject()):(p.delta&&s.go(-p.delta,!1),ae(R,v,S))).then(R=>{R=R||_e(v,S,!1),R&&(p.delta&&!V(R,w.NAVIGATION_CANCELLED)?s.go(-p.delta,!1):p.type===Ee.pop&&V(R,w.NAVIGATION_ABORTED|w.NAVIGATION_DUPLICATED)&&s.go(-1,!1)),Oe(v,S,R)}).catch(Z)}))}let ie=J(),Ce=J(),te;function ae(o,m,p){ce(o);const v=Ce.list();return v.length?v.forEach(A=>A(o,m,p)):console.error(o),Promise.reject(o)}function it(){return te&&i.value!==$?Promise.resolve():new Promise((o,m)=>{ie.add([o,m])})}function ce(o){return te||(te=!o,ot(),ie.list().forEach(([m,p])=>o?p(o):m()),ie.reset()),o}function Pe(o,m,p,v){const{scrollBehavior:A}=e;if(!F||!A)return Promise.resolve();const S=!p&&Ht(Te(o.fullPath,0))||(v||!p)&&history.state&&history.state.scroll||null;return ht().then(()=>A(o,m,S)).then(R=>R&&$t(R)).catch(R=>ae(R,o,m))}const le=o=>s.go(o);let ue;const ne=new Set,Q={currentRoute:i,listening:!0,addRoute:l,removeRoute:N,clearRoutes:t.clearRoutes,hasRoute:P,getRoutes:_,resolve:I,options:e,push:k,replace:H,go:le,back:()=>le(-1),forward:()=>le(1),beforeEach:f.add,beforeResolve:h.add,afterEach:g.add,onError:Ce.add,isReady:it,install(o){o.component("RouterLink",dn),o.component("RouterView",vn),o.config.globalProperties.$router=Q,Object.defineProperty(o.config.globalProperties,"$route",{enumerable:!0,get:()=>X(i)}),F&&!ue&&i.value===$&&(ue=!0,k(s.location).catch(v=>{}));const m={};for(const v in $)Object.defineProperty(m,v,{get:()=>i.value[v],enumerable:!0});o.provide(Ae,Q),o.provide(We,at(m)),o.provide(ge,i);const p=o.unmount;ne.add(o),o.unmount=function(){ne.delete(o),ne.size<1&&(u=$,z&&z(),z=null,i.value=$,ue=!1,te=!1),p()}}};function q(o){return o.reduce((m,p)=>m.then(()=>oe(p)),Promise.resolve())}return Q}export{Rn as a,An as c};
|
|
@@ -16,8 +16,27 @@
|
|
|
16
16
|
console.error('解析window.name失败', error)
|
|
17
17
|
}
|
|
18
18
|
</script>
|
|
19
|
-
<script type="module" crossorigin src="/item/assets/index-
|
|
20
|
-
<link rel="
|
|
19
|
+
<script type="module" crossorigin src="/item/assets/index-CUQTn5cW.js"></script>
|
|
20
|
+
<link rel="modulepreload" crossorigin href="/item/assets/@vue-C9QaczuC.js">
|
|
21
|
+
<link rel="modulepreload" crossorigin href="/item/assets/@vueuse-C7-4JdfM.js">
|
|
22
|
+
<link rel="modulepreload" crossorigin href="/item/assets/lz-string--7IMPK6S.js">
|
|
23
|
+
<link rel="modulepreload" crossorigin href="/item/assets/@intlify-Dtb6NmBn.js">
|
|
24
|
+
<link rel="modulepreload" crossorigin href="/item/assets/vue-i18n-DuHeSxKy.js">
|
|
25
|
+
<link rel="modulepreload" crossorigin href="/item/assets/lodash-es-3Olcxijv.js">
|
|
26
|
+
<link rel="modulepreload" crossorigin href="/item/assets/async-validator-Cp9QasH9.js">
|
|
27
|
+
<link rel="modulepreload" crossorigin href="/item/assets/@element-plus-5HYzMPHH.js">
|
|
28
|
+
<link rel="modulepreload" crossorigin href="/item/assets/@sxzz-CUumdR8o.js">
|
|
29
|
+
<link rel="modulepreload" crossorigin href="/item/assets/dayjs-Z3PInbbQ.js">
|
|
30
|
+
<link rel="modulepreload" crossorigin href="/item/assets/@ctrl-C4Rzlq_k.js">
|
|
31
|
+
<link rel="modulepreload" crossorigin href="/item/assets/normalize-wheel-es-BikNlmlf.js">
|
|
32
|
+
<link rel="modulepreload" crossorigin href="/item/assets/memoize-one-BdPwpGay.js">
|
|
33
|
+
<link rel="modulepreload" crossorigin href="/item/assets/@floating-ui-BOzNIQbj.js">
|
|
34
|
+
<link rel="modulepreload" crossorigin href="/item/assets/element-plus-DBucBpWn.js">
|
|
35
|
+
<link rel="modulepreload" crossorigin href="/item/assets/pinia-Bzt0Q3uQ.js">
|
|
36
|
+
<link rel="modulepreload" crossorigin href="/item/assets/vue-router-DPdvYShe.js">
|
|
37
|
+
<link rel="modulepreload" crossorigin href="/item/assets/axios-B8_nURbH.js">
|
|
38
|
+
<link rel="stylesheet" crossorigin href="/item/assets/element-plus-Cfuf6lH-.css">
|
|
39
|
+
<link rel="stylesheet" crossorigin href="/item/assets/index-ZnytBXEa.css">
|
|
21
40
|
</head>
|
|
22
41
|
|
|
23
42
|
<body>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const R0=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],o0=[[697,698,"ON"],[706,719,"ON"],[722,735,"ON"],[741,749,"ON"],[751,767,"ON"],[768,879,"NSM"],[884,885,"ON"],[894,894,"ON"],[900,901,"ON"],[903,903,"ON"],[1014,1014,"ON"],[1155,1161,"NSM"],[1418,1418,"ON"],[1421,1422,"ON"],[1423,1423,"ET"],[1424,1424,"R"],[1425,1469,"NSM"],[1470,1470,"R"],[1471,1471,"NSM"],[1472,1472,"R"],[1473,1474,"NSM"],[1475,1475,"R"],[1476,1477,"NSM"],[1478,1478,"R"],[1479,1479,"NSM"],[1480,1535,"R"],[1536,1541,"AN"],[1542,1543,"ON"],[1544,1544,"AL"],[1545,1546,"ET"],[1547,1547,"AL"],[1548,1548,"CS"],[1549,1549,"AL"],[1550,1551,"ON"],[1552,1562,"NSM"],[1563,1610,"AL"],[1611,1631,"NSM"],[1632,1641,"AN"],[1642,1642,"ET"],[1643,1644,"AN"],[1645,1647,"AL"],[1648,1648,"NSM"],[1649,1749,"AL"],[1750,1756,"NSM"],[1757,1757,"AN"],[1758,1758,"ON"],[1759,1764,"NSM"],[1765,1766,"AL"],[1767,1768,"NSM"],[1769,1769,"ON"],[1770,1773,"NSM"],[1774,1775,"AL"],[1776,1785,"EN"],[1786,1808,"AL"],[1809,1809,"NSM"],[1810,1839,"AL"],[1840,1866,"NSM"],[1867,1957,"AL"],[1958,1968,"NSM"],[1969,1983,"AL"],[1984,2026,"R"],[2027,2035,"NSM"],[2036,2037,"R"],[2038,2041,"ON"],[2042,2044,"R"],[2045,2045,"NSM"],[2046,2069,"R"],[2070,2073,"NSM"],[2074,2074,"R"],[2075,2083,"NSM"],[2084,2084,"R"],[2085,2087,"NSM"],[2088,2088,"R"],[2089,2093,"NSM"],[2094,2136,"R"],[2137,2139,"NSM"],[2140,2143,"R"],[2144,2191,"AL"],[2192,2193,"AN"],[2194,2198,"AL"],[2199,2207,"NSM"],[2208,2249,"AL"],[2250,2273,"NSM"],[2274,2274,"AN"],[2275,2306,"NSM"],[2362,2362,"NSM"],[2364,2364,"NSM"],[2369,2376,"NSM"],[2381,2381,"NSM"],[2385,2391,"NSM"],[2402,2403,"NSM"],[2433,2433,"NSM"],[2492,2492,"NSM"],[2497,2500,"NSM"],[2509,2509,"NSM"],[2530,2531,"NSM"],[2546,2547,"ET"],[2555,2555,"ET"],[2558,2558,"NSM"],[2561,2562,"NSM"],[2620,2620,"NSM"],[2625,2626,"NSM"],[2631,2632,"NSM"],[2635,2637,"NSM"],[2641,2641,"NSM"],[2672,2673,"NSM"],[2677,2677,"NSM"],[2689,2690,"NSM"],[2748,2748,"NSM"],[2753,2757,"NSM"],[2759,2760,"NSM"],[2765,2765,"NSM"],[2786,2787,"NSM"],[2801,2801,"ET"],[2810,2815,"NSM"],[2817,2817,"NSM"],[2876,2876,"NSM"],[2879,2879,"NSM"],[2881,2884,"NSM"],[2893,2893,"NSM"],[2901,2902,"NSM"],[2914,2915,"NSM"],[2946,2946,"NSM"],[3008,3008,"NSM"],[3021,3021,"NSM"],[3059,3064,"ON"],[3065,3065,"ET"],[3066,3066,"ON"],[3072,3072,"NSM"],[3076,3076,"NSM"],[3132,3132,"NSM"],[3134,3136,"NSM"],[3142,3144,"NSM"],[3146,3149,"NSM"],[3157,3158,"NSM"],[3170,3171,"NSM"],[3192,3198,"ON"],[3201,3201,"NSM"],[3260,3260,"NSM"],[3276,3277,"NSM"],[3298,3299,"NSM"],[3328,3329,"NSM"],[3387,3388,"NSM"],[3393,3396,"NSM"],[3405,3405,"NSM"],[3426,3427,"NSM"],[3457,3457,"NSM"],[3530,3530,"NSM"],[3538,3540,"NSM"],[3542,3542,"NSM"],[3633,3633,"NSM"],[3636,3642,"NSM"],[3647,3647,"ET"],[3655,3662,"NSM"],[3761,3761,"NSM"],[3764,3772,"NSM"],[3784,3790,"NSM"],[3864,3865,"NSM"],[3893,3893,"NSM"],[3895,3895,"NSM"],[3897,3897,"NSM"],[3898,3901,"ON"],[3953,3966,"NSM"],[3968,3972,"NSM"],[3974,3975,"NSM"],[3981,3991,"NSM"],[3993,4028,"NSM"],[4038,4038,"NSM"],[4141,4144,"NSM"],[4146,4151,"NSM"],[4153,4154,"NSM"],[4157,4158,"NSM"],[4184,4185,"NSM"],[4190,4192,"NSM"],[4209,4212,"NSM"],[4226,4226,"NSM"],[4229,4230,"NSM"],[4237,4237,"NSM"],[4253,4253,"NSM"],[4957,4959,"NSM"],[5008,5017,"ON"],[5120,5120,"ON"],[5760,5760,"WS"],[5787,5788,"ON"],[5906,5908,"NSM"],[5938,5939,"NSM"],[5970,5971,"NSM"],[6002,6003,"NSM"],[6068,6069,"NSM"],[6071,6077,"NSM"],[6086,6086,"NSM"],[6089,6099,"NSM"],[6107,6107,"ET"],[6109,6109,"NSM"],[6128,6137,"ON"],[6144,6154,"ON"],[6155,6157,"NSM"],[6158,6158,"BN"],[6159,6159,"NSM"],[6277,6278,"NSM"],[6313,6313,"NSM"],[6432,6434,"NSM"],[6439,6440,"NSM"],[6450,6450,"NSM"],[6457,6459,"NSM"],[6464,6464,"ON"],[6468,6469,"ON"],[6622,6655,"ON"],[6679,6680,"NSM"],[6683,6683,"NSM"],[6742,6742,"NSM"],[6744,6750,"NSM"],[6752,6752,"NSM"],[6754,6754,"NSM"],[6757,6764,"NSM"],[6771,6780,"NSM"],[6783,6783,"NSM"],[6832,6877,"NSM"],[6880,6891,"NSM"],[6912,6915,"NSM"],[6964,6964,"NSM"],[6966,6970,"NSM"],[6972,6972,"NSM"],[6978,6978,"NSM"],[7019,7027,"NSM"],[7040,7041,"NSM"],[7074,7077,"NSM"],[7080,7081,"NSM"],[7083,7085,"NSM"],[7142,7142,"NSM"],[7144,7145,"NSM"],[7149,7149,"NSM"],[7151,7153,"NSM"],[7212,7219,"NSM"],[7222,7223,"NSM"],[7376,7378,"NSM"],[7380,7392,"NSM"],[7394,7400,"NSM"],[7405,7405,"NSM"],[7412,7412,"NSM"],[7416,7417,"NSM"],[7616,7679,"NSM"],[8125,8125,"ON"],[8127,8129,"ON"],[8141,8143,"ON"],[8157,8159,"ON"],[8173,8175,"ON"],[8189,8190,"ON"],[8192,8202,"WS"],[8203,8205,"BN"],[8207,8207,"R"],[8208,8231,"ON"],[8232,8232,"WS"],[8233,8233,"B"],[8234,8238,"BN"],[8239,8239,"CS"],[8240,8244,"ET"],[8245,8259,"ON"],[8260,8260,"CS"],[8261,8286,"ON"],[8287,8287,"WS"],[8288,8303,"BN"],[8304,8304,"EN"],[8308,8313,"EN"],[8314,8315,"ES"],[8316,8318,"ON"],[8320,8329,"EN"],[8330,8331,"ES"],[8332,8334,"ON"],[8352,8399,"ET"],[8400,8432,"NSM"],[8448,8449,"ON"],[8451,8454,"ON"],[8456,8457,"ON"],[8468,8468,"ON"],[8470,8472,"ON"],[8478,8483,"ON"],[8485,8485,"ON"],[8487,8487,"ON"],[8489,8489,"ON"],[8494,8494,"ET"],[8506,8507,"ON"],[8512,8516,"ON"],[8522,8525,"ON"],[8528,8543,"ON"],[8585,8587,"ON"],[8592,8721,"ON"],[8722,8722,"ES"],[8723,8723,"ET"],[8724,9013,"ON"],[9083,9108,"ON"],[9110,9257,"ON"],[9280,9290,"ON"],[9312,9351,"ON"],[9352,9371,"EN"],[9450,9899,"ON"],[9901,10239,"ON"],[10496,11123,"ON"],[11126,11263,"ON"],[11493,11498,"ON"],[11503,11505,"NSM"],[11513,11519,"ON"],[11647,11647,"NSM"],[11744,11775,"NSM"],[11776,11869,"ON"],[11904,11929,"ON"],[11931,12019,"ON"],[12032,12245,"ON"],[12272,12287,"ON"],[12288,12288,"WS"],[12289,12292,"ON"],[12296,12320,"ON"],[12330,12333,"NSM"],[12336,12336,"ON"],[12342,12343,"ON"],[12349,12351,"ON"],[12441,12442,"NSM"],[12443,12444,"ON"],[12448,12448,"ON"],[12539,12539,"ON"],[12736,12773,"ON"],[12783,12783,"ON"],[12829,12830,"ON"],[12880,12895,"ON"],[12924,12926,"ON"],[12977,12991,"ON"],[13004,13007,"ON"],[13175,13178,"ON"],[13278,13279,"ON"],[13311,13311,"ON"],[19904,19967,"ON"],[42128,42182,"ON"],[42509,42511,"ON"],[42607,42610,"NSM"],[42611,42611,"ON"],[42612,42621,"NSM"],[42622,42623,"ON"],[42654,42655,"NSM"],[42736,42737,"NSM"],[42752,42785,"ON"],[42888,42888,"ON"],[43010,43010,"NSM"],[43014,43014,"NSM"],[43019,43019,"NSM"],[43045,43046,"NSM"],[43048,43051,"ON"],[43052,43052,"NSM"],[43064,43065,"ET"],[43124,43127,"ON"],[43204,43205,"NSM"],[43232,43249,"NSM"],[43263,43263,"NSM"],[43302,43309,"NSM"],[43335,43345,"NSM"],[43392,43394,"NSM"],[43443,43443,"NSM"],[43446,43449,"NSM"],[43452,43453,"NSM"],[43493,43493,"NSM"],[43561,43566,"NSM"],[43569,43570,"NSM"],[43573,43574,"NSM"],[43587,43587,"NSM"],[43596,43596,"NSM"],[43644,43644,"NSM"],[43696,43696,"NSM"],[43698,43700,"NSM"],[43703,43704,"NSM"],[43710,43711,"NSM"],[43713,43713,"NSM"],[43756,43757,"NSM"],[43766,43766,"NSM"],[43882,43883,"ON"],[44005,44005,"NSM"],[44008,44008,"NSM"],[44013,44013,"NSM"],[64285,64285,"R"],[64286,64286,"NSM"],[64287,64296,"R"],[64297,64297,"ES"],[64298,64335,"R"],[64336,64450,"AL"],[64451,64466,"ON"],[64467,64829,"AL"],[64830,64847,"ON"],[64848,64911,"AL"],[64912,64913,"ON"],[64914,64967,"AL"],[64968,64975,"ON"],[64976,65007,"BN"],[65008,65020,"AL"],[65021,65023,"ON"],[65024,65039,"NSM"],[65040,65049,"ON"],[65056,65071,"NSM"],[65072,65103,"ON"],[65104,65104,"CS"],[65105,65105,"ON"],[65106,65106,"CS"],[65108,65108,"ON"],[65109,65109,"CS"],[65110,65118,"ON"],[65119,65119,"ET"],[65120,65121,"ON"],[65122,65123,"ES"],[65124,65126,"ON"],[65128,65128,"ON"],[65129,65130,"ET"],[65131,65131,"ON"],[65136,65278,"AL"],[65279,65279,"BN"],[65281,65282,"ON"],[65283,65285,"ET"],[65286,65290,"ON"],[65291,65291,"ES"],[65292,65292,"CS"],[65293,65293,"ES"],[65294,65295,"CS"],[65296,65305,"EN"],[65306,65306,"CS"],[65307,65312,"ON"],[65339,65344,"ON"],[65371,65381,"ON"],[65504,65505,"ET"],[65506,65508,"ON"],[65509,65510,"ET"],[65512,65518,"ON"],[65520,65528,"BN"],[65529,65533,"ON"],[65534,65535,"BN"],[65793,65793,"ON"],[65856,65932,"ON"],[65936,65948,"ON"],[65952,65952,"ON"],[66045,66045,"NSM"],[66272,66272,"NSM"],[66273,66299,"EN"],[66422,66426,"NSM"],[67584,67870,"R"],[67871,67871,"ON"],[67872,68096,"R"],[68097,68099,"NSM"],[68100,68100,"R"],[68101,68102,"NSM"],[68103,68107,"R"],[68108,68111,"NSM"],[68112,68151,"R"],[68152,68154,"NSM"],[68155,68158,"R"],[68159,68159,"NSM"],[68160,68324,"R"],[68325,68326,"NSM"],[68327,68408,"R"],[68409,68415,"ON"],[68416,68863,"R"],[68864,68899,"AL"],[68900,68903,"NSM"],[68904,68911,"AL"],[68912,68921,"AN"],[68922,68927,"AL"],[68928,68937,"AN"],[68938,68968,"R"],[68969,68973,"NSM"],[68974,68974,"ON"],[68975,69215,"R"],[69216,69246,"AN"],[69247,69290,"R"],[69291,69292,"NSM"],[69293,69311,"R"],[69312,69327,"AL"],[69328,69336,"ON"],[69337,69369,"AL"],[69370,69375,"NSM"],[69376,69423,"R"],[69424,69445,"AL"],[69446,69456,"NSM"],[69457,69487,"AL"],[69488,69505,"R"],[69506,69509,"NSM"],[69510,69631,"R"],[69633,69633,"NSM"],[69688,69702,"NSM"],[69714,69733,"ON"],[69744,69744,"NSM"],[69747,69748,"NSM"],[69759,69761,"NSM"],[69811,69814,"NSM"],[69817,69818,"NSM"],[69826,69826,"NSM"],[69888,69890,"NSM"],[69927,69931,"NSM"],[69933,69940,"NSM"],[70003,70003,"NSM"],[70016,70017,"NSM"],[70070,70078,"NSM"],[70089,70092,"NSM"],[70095,70095,"NSM"],[70191,70193,"NSM"],[70196,70196,"NSM"],[70198,70199,"NSM"],[70206,70206,"NSM"],[70209,70209,"NSM"],[70367,70367,"NSM"],[70371,70378,"NSM"],[70400,70401,"NSM"],[70459,70460,"NSM"],[70464,70464,"NSM"],[70502,70508,"NSM"],[70512,70516,"NSM"],[70587,70592,"NSM"],[70606,70606,"NSM"],[70608,70608,"NSM"],[70610,70610,"NSM"],[70625,70626,"NSM"],[70712,70719,"NSM"],[70722,70724,"NSM"],[70726,70726,"NSM"],[70750,70750,"NSM"],[70835,70840,"NSM"],[70842,70842,"NSM"],[70847,70848,"NSM"],[70850,70851,"NSM"],[71090,71093,"NSM"],[71100,71101,"NSM"],[71103,71104,"NSM"],[71132,71133,"NSM"],[71219,71226,"NSM"],[71229,71229,"NSM"],[71231,71232,"NSM"],[71264,71276,"ON"],[71339,71339,"NSM"],[71341,71341,"NSM"],[71344,71349,"NSM"],[71351,71351,"NSM"],[71453,71453,"NSM"],[71455,71455,"NSM"],[71458,71461,"NSM"],[71463,71467,"NSM"],[71727,71735,"NSM"],[71737,71738,"NSM"],[71995,71996,"NSM"],[71998,71998,"NSM"],[72003,72003,"NSM"],[72148,72151,"NSM"],[72154,72155,"NSM"],[72160,72160,"NSM"],[72193,72198,"NSM"],[72201,72202,"NSM"],[72243,72248,"NSM"],[72251,72254,"NSM"],[72263,72263,"NSM"],[72273,72278,"NSM"],[72281,72283,"NSM"],[72330,72342,"NSM"],[72344,72345,"NSM"],[72544,72544,"NSM"],[72546,72548,"NSM"],[72550,72550,"NSM"],[72752,72758,"NSM"],[72760,72765,"NSM"],[72850,72871,"NSM"],[72874,72880,"NSM"],[72882,72883,"NSM"],[72885,72886,"NSM"],[73009,73014,"NSM"],[73018,73018,"NSM"],[73020,73021,"NSM"],[73023,73029,"NSM"],[73031,73031,"NSM"],[73104,73105,"NSM"],[73109,73109,"NSM"],[73111,73111,"NSM"],[73459,73460,"NSM"],[73472,73473,"NSM"],[73526,73530,"NSM"],[73536,73536,"NSM"],[73538,73538,"NSM"],[73562,73562,"NSM"],[73685,73692,"ON"],[73693,73696,"ET"],[73697,73713,"ON"],[78912,78912,"NSM"],[78919,78933,"NSM"],[90398,90409,"NSM"],[90413,90415,"NSM"],[92912,92916,"NSM"],[92976,92982,"NSM"],[94031,94031,"NSM"],[94095,94098,"NSM"],[94178,94178,"ON"],[94180,94180,"NSM"],[113821,113822,"NSM"],[113824,113827,"BN"],[117760,117973,"ON"],[118e3,118009,"EN"],[118010,118012,"ON"],[118016,118451,"ON"],[118458,118480,"ON"],[118496,118512,"ON"],[118528,118573,"NSM"],[118576,118598,"NSM"],[119143,119145,"NSM"],[119155,119162,"BN"],[119163,119170,"NSM"],[119173,119179,"NSM"],[119210,119213,"NSM"],[119273,119274,"ON"],[119296,119361,"ON"],[119362,119364,"NSM"],[119365,119365,"ON"],[119552,119638,"ON"],[120513,120513,"ON"],[120539,120539,"ON"],[120571,120571,"ON"],[120597,120597,"ON"],[120629,120629,"ON"],[120655,120655,"ON"],[120687,120687,"ON"],[120713,120713,"ON"],[120745,120745,"ON"],[120771,120771,"ON"],[120782,120831,"EN"],[121344,121398,"NSM"],[121403,121452,"NSM"],[121461,121461,"NSM"],[121476,121476,"NSM"],[121499,121503,"NSM"],[121505,121519,"NSM"],[122880,122886,"NSM"],[122888,122904,"NSM"],[122907,122913,"NSM"],[122915,122916,"NSM"],[122918,122922,"NSM"],[123023,123023,"NSM"],[123184,123190,"NSM"],[123566,123566,"NSM"],[123628,123631,"NSM"],[123647,123647,"ET"],[124140,124143,"NSM"],[124398,124399,"NSM"],[124643,124643,"NSM"],[124646,124646,"NSM"],[124654,124655,"NSM"],[124661,124661,"NSM"],[124928,125135,"R"],[125136,125142,"NSM"],[125143,125251,"R"],[125252,125258,"NSM"],[125259,126063,"R"],[126064,126143,"AL"],[126144,126207,"R"],[126208,126287,"AL"],[126288,126463,"R"],[126464,126703,"AL"],[126704,126705,"ON"],[126706,126719,"AL"],[126720,126975,"R"],[126976,127019,"ON"],[127024,127123,"ON"],[127136,127150,"ON"],[127153,127167,"ON"],[127169,127183,"ON"],[127185,127221,"ON"],[127232,127242,"EN"],[127243,127247,"ON"],[127279,127279,"ON"],[127338,127343,"ON"],[127405,127405,"ON"],[127584,127589,"ON"],[127744,128728,"ON"],[128732,128748,"ON"],[128752,128764,"ON"],[128768,128985,"ON"],[128992,129003,"ON"],[129008,129008,"ON"],[129024,129035,"ON"],[129040,129095,"ON"],[129104,129113,"ON"],[129120,129159,"ON"],[129168,129197,"ON"],[129200,129211,"ON"],[129216,129217,"ON"],[129232,129240,"ON"],[129280,129623,"ON"],[129632,129645,"ON"],[129648,129660,"ON"],[129664,129674,"ON"],[129678,129734,"ON"],[129736,129736,"ON"],[129741,129756,"ON"],[129759,129770,"ON"],[129775,129784,"ON"],[129792,129938,"ON"],[129940,130031,"ON"],[130032,130041,"EN"],[130042,130042,"ON"],[131070,131071,"BN"],[196606,196607,"BN"],[262142,262143,"BN"],[327678,327679,"BN"],[393214,393215,"BN"],[458750,458751,"BN"],[524286,524287,"BN"],[589822,589823,"BN"],[655358,655359,"BN"],[720894,720895,"BN"],[786430,786431,"BN"],[851966,851967,"BN"],[917502,917759,"BN"],[917760,917999,"NSM"],[918e3,921599,"BN"],[983038,983039,"BN"],[1048574,1048575,"BN"],[1114110,1114111,"BN"]];function y0(e){if(e<=255)return R0[e];let t=0,x=o0.length-1;for(;t<=x;){const i=t+x>>1,r=o0[i];if(e<r[0]){x=i-1;continue}if(e>r[1]){t=i+1;continue}return r[2]}return"L"}function v0(e){const t=e.length;if(t===0)return null;const x=new Array(t);let i=!1;for(let s=0;s<t;){const F=e.charCodeAt(s);let N=F,c=1;if(F>=55296&&F<=56319&&s+1<t){const B=e.charCodeAt(s+1);B>=56320&&B<=57343&&(N=(F-55296<<10)+(B-56320)+65536,c=2)}const E=y0(N);(E==="R"||E==="AL"||E==="AN")&&(i=!0);for(let B=0;B<c;B++)x[s+B]=E;s+=c}if(!i)return null;let r=0;for(let s=0;s<t;s++){const F=x[s];if(F==="L"){r=0;break}if(F==="R"||F==="AL"){r=1;break}}const n=new Int8Array(t);for(let s=0;s<t;s++)n[s]=r;const u=r&1?"R":"L",o=u;let l=o;for(let s=0;s<t;s++)x[s]==="NSM"?x[s]=l:l=x[s];l=o;for(let s=0;s<t;s++){const F=x[s];F==="EN"?x[s]=l==="AL"?"AN":"EN":(F==="R"||F==="L"||F==="AL")&&(l=F)}for(let s=0;s<t;s++)x[s]==="AL"&&(x[s]="R");for(let s=1;s<t-1;s++)x[s]==="ES"&&x[s-1]==="EN"&&x[s+1]==="EN"&&(x[s]="EN"),x[s]==="CS"&&(x[s-1]==="EN"||x[s-1]==="AN")&&x[s+1]===x[s-1]&&(x[s]=x[s-1]);for(let s=0;s<t;s++){if(x[s]!=="EN")continue;let F;for(F=s-1;F>=0&&x[F]==="ET";F--)x[F]="EN";for(F=s+1;F<t&&x[F]==="ET";F++)x[F]="EN"}for(let s=0;s<t;s++){const F=x[s];(F==="WS"||F==="ES"||F==="ET"||F==="CS")&&(x[s]="ON")}l=o;for(let s=0;s<t;s++){const F=x[s];F==="EN"?x[s]=l==="L"?"L":"EN":(F==="R"||F==="L")&&(l=F)}for(let s=0;s<t;s++){if(x[s]!=="ON")continue;let F=s+1;for(;F<t&&x[F]==="ON";)F++;const N=s>0?x[s-1]:o,c=F<t?x[F]:o,E=N!=="L"?"R":"L";if(E===(c!=="L"?"R":"L"))for(let p=s;p<F;p++)x[p]=E;s=F-1}for(let s=0;s<t;s++)x[s]==="ON"&&(x[s]=u);for(let s=0;s<t;s++){const F=x[s];(n[s]&1)===0?F==="R"?n[s]++:(F==="AN"||F==="EN")&&(n[s]+=2):(F==="L"||F==="AN"||F==="EN")&&n[s]++}return n}function T0(e,t){const x=v0(e);if(x===null)return null;const i=new Int8Array(t.length);for(let r=0;r<t.length;r++)i[r]=x[t[r]];return i}const P0=/[ \t\n\r\f]+/g,j0=/[\t\n\r\f]| {2,}|^ | $/;function G0(e){const t=e??"normal";return t==="pre-wrap"?{mode:t,preserveOrdinarySpaces:!0,preserveHardBreaks:!0}:{mode:t,preserveOrdinarySpaces:!1,preserveHardBreaks:!1}}function K0(e){if(!j0.test(e))return e;let t=e.replace(P0," ");return t.charCodeAt(0)===32&&(t=t.slice(1)),t.length>0&&t.charCodeAt(t.length-1)===32&&(t=t.slice(0,-1)),t}function z0(e){return/[\r\f]/.test(e)?e.replace(/\r\n/g,`
|
|
2
|
+
`).replace(/[\r\f]/g,`
|
|
3
|
+
`):e}let V=null,H0;function J0(){return V===null&&(V=new Intl.Segmenter(H0,{granularity:"word"})),V}const Q0=new RegExp("\\p{Script=Arabic}","u"),$=new RegExp("\\p{M}","u"),g0=new RegExp("\\p{Nd}","u");function N0(e){return Q0.test(e)}function c0(e){return e>=19968&&e<=40959||e>=13312&&e<=19903||e>=131072&&e<=173791||e>=173824&&e<=177983||e>=177984&&e<=178207||e>=178208&&e<=183983||e>=183984&&e<=191471||e>=191472&&e<=192093||e>=194560&&e<=195103||e>=196608&&e<=201551||e>=201552&&e<=205743||e>=205744&&e<=210041||e>=63744&&e<=64255||e>=12288&&e<=12351||e>=12352&&e<=12447||e>=12448&&e<=12543||e>=12592&&e<=12687||e>=44032&&e<=55215||e>=65280&&e<=65519}function z(e){for(let t=0;t<e.length;t++){const x=e.charCodeAt(t);if(!(x<12288)){if(x>=55296&&x<=56319&&t+1<e.length){const i=e.charCodeAt(t+1);if(i>=56320&&i<=57343){const r=(x-55296<<10)+(i-56320)+65536;if(c0(r))return!0;t++;continue}}if(c0(x))return!0}}return!1}function U0(e){const t=q(e);return t!==null&&(i0.has(t)||H.has(t))}const I0=new Set([" "," ","","\uFEFF"]);function $0(e){return z(e)}function _0(e){const t=q(e);return t!==null&&I0.has(t)}function q0(e){return!U0(e)&&!_0(e)}const i0=new Set([",",".","!",":",";","?","、","。","・",")","〕","〉","》","」","』","】","〗","〙","〛","ー","々","〻","ゝ","ゞ","ヽ","ヾ"]),_=new Set(['"',"(","[","{","“","‘","«","‹","(","〔","〈","《","「","『","【","〖","〘","〚"]),r0=new Set(["'","’"]),H=new Set([".",",","!","?",":",";","،","؛","؟","।","॥","၊","။","၌","၍","၏",")","]","}","%",'"',"”","’","»","›","…"]),Z0=new Set([":",".","،","؛"]),X0=new Set(["၏"]),V0=new Set(["”","’","»","›","」","』","】","》","〉","〕",")"]);function Y0(e){if(s0(e))return!0;let t=!1;for(const x of e){if(H.has(x)){t=!0;continue}if(!(t&&$.test(x)))return!1}return t}function ee(e){for(const t of e)if(!i0.has(t)&&!H.has(t))return!1;return e.length>0}function te(e){if(s0(e))return!0;for(const t of e)if(!_.has(t)&&!r0.has(t)&&!$.test(t))return!1;return e.length>0}function s0(e){let t=!1;for(const x of e)if(!(x==="\\"||$.test(x))){if(_.has(x)||H.has(x)||r0.has(x)){t=!0;continue}return!1}return t}function L0(e,t){const x=t-1;if(x<=0)return Math.max(x,0);const i=e.charCodeAt(x);if(i<56320||i>57343)return x;const r=x-1;if(r<0)return x;const n=e.charCodeAt(r);return n>=55296&&n<=56319?r:x}function q(e){if(e.length===0)return null;const t=L0(e,e.length);return e.slice(t)}function xe(e){const t=Array.from(e);let x=t.length;for(;x>0;){const i=t[x-1];if($.test(i)){x--;continue}if(_.has(i)||r0.has(i)){x--;continue}break}return x<=0||x===t.length?null:{head:t.slice(0,x).join(""),tail:t.slice(x).join("")}}function ne(e,t,x){return x==="text"&&!t&&e.length===1&&e!=="-"&&e!=="—"?e:null}function a0(e,t,x,i){const r=t[i],n=e[i];if(r==null)return n;const u=x[i];if(n.length===u)return n;const o=r.repeat(u);return e[i]=o,o}function S0(e,t){return e&&t!==null&&Z0.has(t)}function ie(e){const t=q(e);return t!==null&&X0.has(t)}function re(e){if(e.length<2||e[0]!==" ")return null;const t=e.slice(1);return new RegExp("^\\p{M}+$","u").test(t)?{space:" ",marks:t}:null}function x0(e){let t=e.length;for(;t>0;){const x=L0(e,t),i=e.slice(x,t);if(V0.has(i))return!0;if(!H.has(i))return!1;t=x}return!1}function se(e,t){if(t.preserveOrdinarySpaces||t.preserveHardBreaks){if(e===" ")return"preserved-space";if(e===" ")return"tab";if(t.preserveHardBreaks&&e===`
|
|
4
|
+
`)return"hard-break"}return e===" "?"space":e===" "||e===" "||e===""||e==="\uFEFF"?"glue":e===""?"zero-width-break":e===""?"soft-hyphen":"text"}const Fe=/[\x20\t\n\xA0\xAD\u200B\u202F\u2060\uFEFF]/;function T(e){return e.length===1?e[0]:e.join("")}function ue(e,t){const x=[];for(let i=e.length-1;i>=0;i--)x.push(e[i]);return x.push(t),T(x)}function le(e,t,x,i){if(!Fe.test(e))return[{text:e,isWordLike:t,kind:"text",start:x}];const r=[];let n=null,u=[],o=x,l=!1,s=0;for(const F of e){const N=se(F,i),c=N==="text"&&t;if(n!==null&&N===n&&c===l){u.push(F),s+=F.length;continue}n!==null&&r.push({text:T(u),isWordLike:l,kind:n,start:o}),n=N,u=[F],o=x+s,l=c,s+=F.length}return n!==null&&r.push({text:T(u),isWordLike:l,kind:n,start:o}),r}function n0(e){return e==="space"||e==="preserved-space"||e==="zero-width-break"||e==="hard-break"}const oe=/^[A-Za-z][A-Za-z0-9+.-]*:$/;function Ne(e,t){const x=e.texts[t];return x.startsWith("www.")?!0:oe.test(x)&&t+1<e.len&&e.kinds[t+1]==="text"&&e.texts[t+1]==="//"}function ce(e){return e.includes("?")&&(e.includes("://")||e.startsWith("www."))}function ae(e){const t=e.texts.slice(),x=e.isWordLike.slice(),i=e.kinds.slice(),r=e.starts.slice();for(let u=0;u<e.len;u++){if(i[u]!=="text"||!Ne(e,u))continue;const o=[t[u]];let l=u+1;for(;l<e.len&&!n0(i[l]);){o.push(t[l]),x[u]=!0;const s=t[l].includes("?");if(i[l]="text",t[l]="",l++,s)break}t[u]=T(o)}let n=0;for(let u=0;u<t.length;u++){const o=t[u];o.length!==0&&(n!==u&&(t[n]=o,x[n]=x[u],i[n]=i[u],r[n]=r[u]),n++)}return t.length=n,x.length=n,i.length=n,r.length=n,{len:n,texts:t,isWordLike:x,kinds:i,starts:r}}function Se(e){const t=[],x=[],i=[],r=[];for(let n=0;n<e.len;n++){const u=e.texts[n];if(t.push(u),x.push(e.isWordLike[n]),i.push(e.kinds[n]),r.push(e.starts[n]),!ce(u))continue;const o=n+1;if(o>=e.len||n0(e.kinds[o]))continue;const l=[],s=e.starts[o];let F=o;for(;F<e.len&&!n0(e.kinds[F]);)l.push(e.texts[F]),F++;l.length>0&&(t.push(T(l)),x.push(!0),i.push("text"),r.push(s),n=F-1)}return{len:t.length,texts:t,isWordLike:x,kinds:i,starts:r}}const fe=new Set([":","-","/","×",",",".","+","–","—"]),f0=/^[A-Za-z0-9_]+[,:;]*$/,E0=/[,:;]+$/;function O0(e){for(const t of e)if(g0.test(t))return!0;return!1}function I(e){if(e.length===0)return!1;for(const t of e)if(!(g0.test(t)||fe.has(t)))return!1;return!0}function Ee(e){const t=[],x=[],i=[],r=[];for(let n=0;n<e.len;n++){const u=e.texts[n],o=e.kinds[n];if(o==="text"&&I(u)&&O0(u)){const l=[u];let s=n+1;for(;s<e.len&&e.kinds[s]==="text"&&I(e.texts[s]);)l.push(e.texts[s]),s++;t.push(T(l)),x.push(!0),i.push("text"),r.push(e.starts[n]),n=s-1;continue}t.push(u),x.push(e.isWordLike[n]),i.push(o),r.push(e.starts[n])}return{len:t.length,texts:t,isWordLike:x,kinds:i,starts:r}}function Ae(e){const t=[],x=[],i=[],r=[];for(let n=0;n<e.len;n++){const u=e.texts[n],o=e.kinds[n],l=e.isWordLike[n];if(o==="text"&&l&&f0.test(u)){const s=[u];let F=E0.test(u),N=n+1;for(;F&&N<e.len&&e.kinds[N]==="text"&&e.isWordLike[N]&&f0.test(e.texts[N]);){const c=e.texts[N];s.push(c),F=E0.test(c),N++}t.push(T(s)),x.push(!0),i.push("text"),r.push(e.starts[n]),n=N-1;continue}t.push(u),x.push(l),i.push(o),r.push(e.starts[n])}return{len:t.length,texts:t,isWordLike:x,kinds:i,starts:r}}function he(e){const t=[],x=[],i=[],r=[];for(let n=0;n<e.len;n++){const u=e.texts[n];if(e.kinds[n]==="text"&&u.includes("-")){const o=u.split("-");let l=o.length>1;for(let s=0;s<o.length;s++){const F=o[s];if(!l)break;(F.length===0||!O0(F)||!I(F))&&(l=!1)}if(l){let s=0;for(let F=0;F<o.length;F++){const N=o[F],c=F<o.length-1?`${N}-`:N;t.push(c),x.push(!0),i.push("text"),r.push(e.starts[n]+s),s+=c.length}continue}}t.push(u),x.push(e.isWordLike[n]),i.push(e.kinds[n]),r.push(e.starts[n])}return{len:t.length,texts:t,isWordLike:x,kinds:i,starts:r}}function Ce(e){const t=[],x=[],i=[],r=[];let n=0;for(;n<e.len;){const u=[e.texts[n]];let o=e.isWordLike[n],l=e.kinds[n],s=e.starts[n];if(l==="glue"){const F=[u[0]],N=s;for(n++;n<e.len&&e.kinds[n]==="glue";)F.push(e.texts[n]),n++;const c=T(F);if(n<e.len&&e.kinds[n]==="text")u[0]=c,u.push(e.texts[n]),o=e.isWordLike[n],l="text",s=N,n++;else{t.push(c),x.push(!1),i.push("glue"),r.push(N);continue}}else n++;if(l==="text")for(;n<e.len&&e.kinds[n]==="glue";){const F=[];for(;n<e.len&&e.kinds[n]==="glue";)F.push(e.texts[n]),n++;const N=T(F);if(n<e.len&&e.kinds[n]==="text"){u.push(N,e.texts[n]),o=o||e.isWordLike[n],n++;continue}u.push(N)}t.push(T(u)),x.push(o),i.push(l),r.push(s)}return{len:t.length,texts:t,isWordLike:x,kinds:i,starts:r}}function Be(e){const t=e.texts.slice(),x=e.isWordLike.slice(),i=e.kinds.slice(),r=e.starts.slice();for(let n=0;n<t.length-1;n++){if(i[n]!=="text"||i[n+1]!=="text"||!z(t[n])||!z(t[n+1]))continue;const u=xe(t[n]);u!==null&&(t[n]=u.head,t[n+1]=u.tail+t[n+1],r[n+1]=r[n]+u.head.length)}return{len:t.length,texts:t,isWordLike:x,kinds:i,starts:r}}function A0(e,t,x){const i=J0();let r=0;const n=[],u=[],o=[],l=[],s=[],F=[],N=[],c=[],E=[],B=[],p=[],d=[];for(const a of i.segment(e))for(const h of le(a.segment,a.isWordLike??!1,a.index,x)){let C=function(){F[S]!==null&&(u[S]=[a0(n,F,N,S)],F[S]=null),u[S].push(h.text),o[S]=o[S]||h.isWordLike,c[S]=c[S]||M,E[S]=E[S]||m,B[S]=W,p[S]=P,d[S]=S0(E[S],b)};const D=h.kind==="text",A=ne(h.text,h.isWordLike,h.kind),M=z(h.text),m=N0(h.text),b=q(h.text),W=x0(h.text),P=ie(h.text),S=r-1;t.carryCJKAfterClosingQuote&&D&&r>0&&l[S]==="text"&&M&&c[S]&&B[S]||D&&r>0&&l[S]==="text"&&ee(h.text)&&c[S]||D&&r>0&&l[S]==="text"&&p[S]?C():D&&r>0&&l[S]==="text"&&h.isWordLike&&m&&d[S]?(C(),o[S]=!0):A!==null&&r>0&&l[S]==="text"&&F[S]===A?N[S]=(N[S]??1)+1:D&&!h.isWordLike&&r>0&&l[S]==="text"&&!c[S]&&(Y0(h.text)||h.text==="-"&&o[S])?C():(n[r]=h.text,u[r]=[h.text],o[r]=h.isWordLike,l[r]=h.kind,s[r]=h.start,F[r]=A,N[r]=A===null?0:1,c[r]=M,E[r]=m,B[r]=W,p[r]=P,d[r]=S0(m,b),r++)}for(let a=0;a<r;a++){if(F[a]!==null){n[a]=a0(n,F,N,a);continue}n[a]=T(u[a])}for(let a=1;a<r;a++)l[a]==="text"&&!o[a]&&s0(n[a])&&l[a-1]==="text"&&!c[a-1]&&(n[a-1]+=n[a],o[a-1]=o[a-1]||o[a],n[a]="");const L=Array.from({length:r},()=>null);let w=-1;for(let a=r-1;a>=0;a--){const h=n[a];if(h.length!==0){if(l[a]==="text"&&!o[a]&&te(h)&&w>=0&&l[w]==="text"){const D=L[w]??[];D.push(h),L[w]=D,s[w]=s[a],n[a]="";continue}w=a}}for(let a=0;a<r;a++){const h=L[a];h!=null&&(n[a]=ue(h,n[a]))}let O=0;for(let a=0;a<r;a++){const h=n[a];h.length!==0&&(O!==a&&(n[O]=h,o[O]=o[a],l[O]=l[a],s[O]=s[a]),O++)}n.length=O,o.length=O,l.length=O,s.length=O;const R=Ce({len:O,texts:n,isWordLike:o,kinds:l,starts:s}),g=Be(Ae(he(Ee(Se(ae(R))))));for(let a=0;a<g.len-1;a++){const h=re(g.texts[a]);h!==null&&(g.kinds[a]!=="space"&&g.kinds[a]!=="preserved-space"||g.kinds[a+1]!=="text"||!N0(g.texts[a+1])||(g.texts[a]=h.space,g.isWordLike[a]=!1,g.kinds[a]=g.kinds[a]==="preserved-space"?"preserved-space":"space",g.texts[a+1]=h.marks+g.texts[a+1],g.starts[a+1]=g.starts[a]+h.space.length))}return g}function Me(e,t){if(e.len===0)return[];if(!t.preserveHardBreaks)return[{startSegmentIndex:0,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}];const x=[];let i=0;for(let r=0;r<e.len;r++)e.kinds[r]==="hard-break"&&(x.push({startSegmentIndex:i,endSegmentIndex:r,consumedEndSegmentIndex:r+1}),i=r+1);return i<e.len&&x.push({startSegmentIndex:i,endSegmentIndex:e.len,consumedEndSegmentIndex:e.len}),x}function de(e){if(e.len<=1)return e;const t=[],x=[],i=[],r=[];let n=null,u=!1,o=0,l=!1,s=!1;function F(){n!==null&&(t.push(T(n)),x.push(u),i.push("text"),r.push(o),n=null)}for(let N=0;N<e.len;N++){const c=e.texts[N],E=e.kinds[N],B=e.isWordLike[N],p=e.starts[N];if(E==="text"){const d=$0(c),L=q0(c);if(n!==null&&l&&s){n.push(c),u=u||B,l=l||d,s=L;continue}F(),n=[c],u=B,o=p,l=d,s=L;continue}F(),t.push(c),x.push(B),i.push(E),r.push(p)}return F(),{len:t.length,texts:t,isWordLike:x,kinds:i,starts:r}}function De(e,t,x="normal",i="normal"){const r=G0(x),n=r.mode==="pre-wrap"?z0(e):K0(e);if(n.length===0)return{normalized:n,chunks:[],len:0,texts:[],isWordLike:[],kinds:[],starts:[]};const u=i==="keep-all"?de(A0(n,t,r)):A0(n,t,r);return{normalized:n,chunks:Me(u,r),...u}}let Q=null;const h0=new Map;let U=null;const pe=96,ge=new RegExp("\\p{Emoji_Presentation}","u"),Le=/[\p{Emoji_Presentation}\p{Extended_Pictographic}\p{Regional_Indicator}\uFE0F\u20E3]/u;let Y=null;const C0=new Map;function F0(){if(Q!==null)return Q;if(typeof OffscreenCanvas<"u")return Q=new OffscreenCanvas(1,1).getContext("2d"),Q;if(typeof document<"u")return Q=document.createElement("canvas").getContext("2d"),Q;throw new Error("Text measurement requires OffscreenCanvas or a DOM canvas context.")}function Oe(e){let t=h0.get(e);return t||(t=new Map,h0.set(e,t)),t}function G(e,t){let x=t.get(e);return x===void 0&&(x={width:F0().measureText(e).width,containsCJK:z(e)},t.set(e,x)),x}function Z(){if(U!==null)return U;if(typeof navigator>"u")return U={lineFitEpsilon:.005,carryCJKAfterClosingQuote:!1,preferPrefixWidthsForBreakableRuns:!1,preferEarlySoftHyphenBreak:!1},U;const e=navigator.userAgent,x=navigator.vendor==="Apple Computer, Inc."&&e.includes("Safari/")&&!e.includes("Chrome/")&&!e.includes("Chromium/")&&!e.includes("CriOS/")&&!e.includes("FxiOS/")&&!e.includes("EdgiOS/"),i=e.includes("Chrome/")||e.includes("Chromium/")||e.includes("CriOS/")||e.includes("Edg/");return U={lineFitEpsilon:x?1/64:.005,carryCJKAfterClosingQuote:i,preferPrefixWidthsForBreakableRuns:x,preferEarlySoftHyphenBreak:x},U}function ke(e){const t=e.match(/(\d+(?:\.\d+)?)\s*px/);return t?parseFloat(t[1]):16}function k0(){return Y===null&&(Y=new Intl.Segmenter(void 0,{granularity:"grapheme"})),Y}function me(e){return ge.test(e)||e.includes("️")}function be(e){return Le.test(e)}function We(e,t){let x=C0.get(e);if(x!==void 0)return x;const i=F0();i.font=e;const r=i.measureText("😀").width;if(x=0,r>t+.5&&typeof document<"u"&&document.body!==null){const n=document.createElement("span");n.style.font=e,n.style.display="inline-block",n.style.visibility="hidden",n.style.position="absolute",n.textContent="😀",document.body.appendChild(n);const u=n.getBoundingClientRect().width;document.body.removeChild(n),r-u>.5&&(x=r-u)}return C0.set(e,x),x}function we(e){let t=0;const x=k0();for(const i of x.segment(e))me(i.segment)&&t++;return t}function Re(e,t){return t.emojiCount===void 0&&(t.emojiCount=we(e)),t.emojiCount}function K(e,t,x){return x===0?t.width:t.width-Re(e,t)*x}function ye(e,t,x,i,r){if(t.breakableFitAdvances!==void 0&&t.breakableFitMode===r)return t.breakableFitAdvances;t.breakableFitMode=r;const n=k0(),u=[];for(const F of n.segment(e))u.push(F.segment);if(u.length<=1)return t.breakableFitAdvances=null,t.breakableFitAdvances;if(r==="sum-graphemes"){const F=[];for(const N of u){const c=G(N,x);F.push(K(N,c,i))}return t.breakableFitAdvances=F,t.breakableFitAdvances}if(r==="pair-context"||u.length>pe){const F=[];let N=null,c=0;for(const E of u){const B=G(E,x),p=K(E,B,i);if(N===null)F.push(p);else{const d=N+E,L=G(d,x);F.push(K(d,L,i)-c)}N=E,c=p}return t.breakableFitAdvances=F,t.breakableFitAdvances}const o=[];let l="",s=0;for(const F of u){l+=F;const N=G(l,x),c=K(l,N,i);o.push(c-s),s=c}return t.breakableFitAdvances=o,t.breakableFitAdvances}function ve(e,t){const x=F0();x.font=e;const i=Oe(e),r=ke(e),n=t?We(e,r):0;return{cache:i,fontSize:r,emojiCorrection:n}}function Te(e){return e==="space"||e==="zero-width-break"||e==="soft-hyphen"}function m0(e){return e==="space"||e==="preserved-space"||e==="tab"||e==="zero-width-break"||e==="soft-hyphen"}function b0(e,t,x=e.widths.length){for(;t<x;){const i=e.kinds[t];if(!Te(i))break;t++}return t}function Pe(e,t){if(t<=0)return 0;const x=e%t;return Math.abs(x)<=1e-6?t:t-x}function je(e,t,x){return e.letterSpacing!==0&&t&&e.spacingGraphemeCounts[x]>0?e.letterSpacing:0}function u0(e,t){return t===0?0:e+t}function Ge(e,t){return e.letterSpacing!==0&&e.spacingGraphemeCounts[t]>0?e.letterSpacing:0}function Ke(e,t,x,i,r){const n=t==="tab"?r+Ge(e,x):e.lineEndFitAdvances[x];return u0(i,n)}function B0(e,t,x,i){const r=t==="tab"?0:e.lineEndFitAdvances[x];return u0(i,r)}function M0(e,t,x,i,r){const n=t==="tab"?r:e.lineEndPaintAdvances[x];return u0(i,n)}function ze(e,t,x){return e.letterSpacing!==0&&t?x+e.letterSpacing:x}function He(e,t){return e.letterSpacing===0?t:t+e.letterSpacing}function Je(e,t,x,i,r,n){let u=0,o=t;for(;u<e.length;){const l=o+e[u]+n;if((u+1<e.length?l+r:l)>x+i)break;o=l,u++}return{fitCount:u,fittedWidth:o}}function Qe(e,t,x){const{widths:i,kinds:r,breakableFitAdvances:n}=e;if(i.length===0)return 0;const o=Z().lineFitEpsilon,l=t+o;let s=0,F=0,N=!1,c=0,E=0,B=0,p=0,d=-1,L=0;function w(){d=-1,L=0}function O(A=B,M=p,m=F){s++,x?.(m,c,E,A,M),F=0,N=!1,w()}function R(A,M){N=!0,c=A,E=0,B=A+1,p=0,F=M}function g(A,M,m){N=!0,c=A,E=M,B=A,p=M+1,F=m}function a(A,M){if(!N){R(A,M);return}F+=M,B=A+1,p=0}function h(A,M){const m=n[A];for(let b=M;b<m.length;b++){const W=m[b];N?F+W>l?(O(),g(A,b,W)):(F+=W,B=A,p=b+1):g(A,b,W)}N&&B===A&&p===m.length&&(B=A+1,p=0)}let D=0;for(;D<i.length&&!(!N&&(D=b0(e,D),D>=i.length));){const A=i[D],M=r[D],m=m0(M);if(!N){A>l&&n[D]!==null?h(D,0):R(D,A),m&&(d=D+1,L=F-A),D++;continue}if(F+A>l){if(m){a(D,A),O(D+1,0,F-A),D++;continue}if(d>=0){if(B>d||B===d&&p>0){O();continue}O(d,0,L);continue}if(A>l&&n[D]!==null){O(),h(D,0),D++;continue}O();continue}a(D,A),m&&(d=D+1,L=F-A),D++}return N&&O(),s}function Ue(e,t,x){if(e.simpleLineWalkFastPath)return Qe(e,t,x);const{widths:i,kinds:r,breakableFitAdvances:n,discretionaryHyphenWidth:u,chunks:o}=e;if(i.length===0||o.length===0)return 0;const l=Z(),s=l.lineFitEpsilon,F=t+s;let N=0,c=0,E=!1,B=0,p=0,d=0,L=0,w=-1,O=0,R=0,g=null;function a(){w=-1,O=0,R=0,g=null}function h(S=d,C=L,f=c){N++,x?.(f,B,p,S,C),c=0,E=!1,a()}function D(S,C){E=!0,B=S,p=0,d=S+1,L=0,c=C}function A(S,C,f){E=!0,B=S,p=C,d=S,L=C+1,c=f}function M(S,C){if(!E){D(S,C);return}c+=C,d=S+1,L=0}function m(S,C,f,k,y,v){if(!C)return;const j=B0(e,S,f,y),J=M0(e,S,f,y,k);w=f+1,O=c-v+j,R=c-v+J,g=S}function b(S,C){const f=n[S];for(let k=C;k<f.length;k++){const y=f[k];if(!E)A(S,k,y);else{const v=ze(e,!0,y),j=c+v;He(e,j)>F?(h(),A(S,k,y)):(c=j,d=S,L=k+1)}}E&&d===S&&L===f.length&&(d=S+1,L=0)}function W(S){if(g!=="soft-hyphen")return!1;const C=n[S];if(C==null)return!1;const{fitCount:f,fittedWidth:k}=Je(C,c,t,s,u,e.letterSpacing);return f===0?!1:(c=k,d=S,L=f,a(),f===C.length?(d=S+1,L=0,!0):(h(S,f,k+u),b(S,f),!0))}function P(S){N++,x?.(0,S.startSegmentIndex,0,S.consumedEndSegmentIndex,0),a()}for(let S=0;S<o.length;S++){const C=o[S];if(C.startSegmentIndex===C.endSegmentIndex){P(C);continue}E=!1,c=0,B=C.startSegmentIndex,p=0,d=C.startSegmentIndex,L=0,a();let f=C.startSegmentIndex;for(;f<C.endSegmentIndex&&!(!E&&(f=b0(e,f,C.endSegmentIndex),f>=C.endSegmentIndex));){const k=r[f],y=m0(k),v=je(e,E,f),j=k==="tab"?Pe(c+v,e.tabStopAdvance):i[f],J=v+j,X=Ke(e,k,f,v,j);if(k==="soft-hyphen"){E&&(d=f+1,L=0,w=f+1,O=c+u,R=c+u,g=k),f++;continue}if(!E){X>F&&n[f]!==null?b(f,0):D(f,j),m(k,y,f,j,v,J),f++;continue}if(c+X>F){const W0=c+B0(e,k,f,v),w0=c+M0(e,k,f,v,j);if(g==="soft-hyphen"&&l.preferEarlySoftHyphenBreak&&O<=F){h(w,0,R);continue}if(g==="soft-hyphen"&&W(f)){f++;continue}if(y&&W0<=F){M(f,J),h(f+1,0,w0),f++;continue}if(w>=0&&O<=F){if(d>w||d===w&&L>0){h();continue}const l0=w;h(l0,0,R),f=l0;continue}if(X>F&&n[f]!==null){h(),b(f,0),f++;continue}h();continue}M(f,J),m(k,y,f,j,v,J),f++}if(E){const k=w===C.consumedEndSegmentIndex?R:c;h(C.consumedEndSegmentIndex,0,k)}}return N}let e0=null,d0=new WeakMap;function Ie(){return e0===null&&(e0=new Intl.Segmenter(void 0,{granularity:"grapheme"})),e0}function D0(e,t,x){let i=x.get(e);if(i!==void 0)return i;i=[];const r=Ie();for(const n of r.segment(t[e]))i.push(n.segment);return x.set(e,i),i}function $e(e,t,x,i){return i>0&&e[i-1]==="soft-hyphen"&&!(t===i&&x>0)}function p0(e,t,x,i){for(let r=x;r<i;r++)e+=t[r];return e}function _e(e){let t=d0.get(e);return t!==void 0||(t=new Map,d0.set(e,t)),t}function qe(e,t,x,i,r,n){let u="";const o=$e(e.kinds,x,i,r);for(let l=x;l<r;l++)if(!(e.kinds[l]==="soft-hyphen"||e.kinds[l]==="hard-break"))if(l===x&&i>0){const s=D0(l,e.segments,t);u=p0(u,s,i,s.length)}else u+=e.segments[l];if(n>0){o&&(u+="-");const l=D0(r,e.segments,t);u=p0(u,l,x===r?i:0,n)}else o&&(u+="-");return u}let t0=null;function Ze(){return t0===null&&(t0=new Intl.Segmenter(void 0,{granularity:"grapheme"})),t0}function Xe(e){return{widths:[],lineEndFitAdvances:[],lineEndPaintAdvances:[],kinds:[],simpleLineWalkFastPath:!0,segLevels:null,breakableFitAdvances:[],letterSpacing:0,spacingGraphemeCounts:[],discretionaryHyphenWidth:0,tabStopAdvance:0,chunks:[],segments:[]}}function Ve(e,t){const x=[];let i=[],r=0,n=!1,u=!1,o=!1;function l(){i.length!==0&&(x.push({text:i.length===1?i[0]:i.join(""),start:r}),i=[],n=!1,u=!1,o=!1)}function s(N,c,E){i=[N],r=c,n=E,u=x0(N),o=_.has(N)}function F(N,c){i.push(N),n=n||c;const E=x0(N);N.length===1&&H.has(N)?u=u||E:u=E,o=!1}for(const N of Ze().segment(e)){const c=N.segment,E=z(c);if(i.length===0){s(c,N.index,E);continue}if(o||i0.has(c)||H.has(c)||t.carryCJKAfterClosingQuote&&E&&u){F(c,E);continue}if(!n&&!E){F(c,E);continue}l(),s(c,N.index,E)}return l(),x}function Ye(e,t,x){return e}function et(e,t,x,i,r){const n=Z(),{cache:u,emojiCorrection:o}=ve(t,be(e.normalized)),l=K("-",G("-",u),o)+0,F=K(" ",G(" ",u),o)*8;if(e.len===0)return Xe();const N=[],c=[],E=[],B=[];let p=e.chunks.length<=1&&!0;const d=[],L=[],w=[],O=x?[]:null,R=Array.from({length:e.len});function g(A,M,m,b,W,P,S,C){W!=="text"&&W!=="space"&&W!=="zero-width-break"&&(p=!1),N.push(M),c.push(m),E.push(b),B.push(W),d?.push(P),L.push(S),O!==null&&O.push(A)}function a(A,M,m,b,W){const P=G(A,u),S=Ye(K(A,P,o)),C=M==="space"||M==="preserved-space"||M==="zero-width-break"?0:S,f=C===0?0:C+0,k=M==="space"||M==="zero-width-break"?0:S;if(W&&b&&A.length>1){let y="sum-graphemes";I(A)?y="pair-context":n.preferPrefixWidthsForBreakableRuns&&(y="segment-prefixes");const v=ye(A,P,u,o,y);g(A,S,f,k,M,m,v);return}g(A,S,f,k,M,m,null)}for(let A=0;A<e.len;A++){R[A]=N.length;const M=e.texts[A],m=e.isWordLike[A],b=e.kinds[A],W=e.starts[A];if(b==="soft-hyphen"){g(M,0,l,l,b,W,null);continue}if(b==="hard-break"){g(M,0,0,0,b,W,null);continue}if(b==="tab"){g(M,0,0,0,b,W,null);continue}const P=G(M,u);if(b==="text"&&P.containsCJK){const C=Ve(M,n);for(let f=0;f<C.length;f++){const k=C[f];a(k.text,"text",W+k.start,m,!z(k.text))}continue}a(M,b,W,m,!0)}const h=tt(e.chunks,R,N.length),D=d===null?null:T0(e.normalized,d);return O!==null?{widths:N,lineEndFitAdvances:c,lineEndPaintAdvances:E,kinds:B,simpleLineWalkFastPath:p,segLevels:D,breakableFitAdvances:L,letterSpacing:r,spacingGraphemeCounts:w,discretionaryHyphenWidth:l,tabStopAdvance:F,chunks:h,segments:O}:{widths:N,lineEndFitAdvances:c,lineEndPaintAdvances:E,kinds:B,simpleLineWalkFastPath:p,segLevels:D,breakableFitAdvances:L,letterSpacing:r,spacingGraphemeCounts:w,discretionaryHyphenWidth:l,tabStopAdvance:F,chunks:h}}function tt(e,t,x){const i=[];for(let r=0;r<e.length;r++){const n=e[r],u=n.startSegmentIndex<t.length?t[n.startSegmentIndex]:x,o=n.endSegmentIndex<t.length?t[n.endSegmentIndex]:x,l=n.consumedEndSegmentIndex<t.length?t[n.consumedEndSegmentIndex]:x;i.push({startSegmentIndex:u,endSegmentIndex:o,consumedEndSegmentIndex:l})}return i}function xt(e,t,x,i){const r="normal",u=De(e,Z(),i?.whiteSpace,r);return et(u,t,x,r,0)}function rt(e,t,x){return xt(e,t,!0,x)}function nt(e,t,x,i,r,n,u){return{text:qe(e,t,i,r,n,u),width:x,start:{segmentIndex:i,graphemeIndex:r},end:{segmentIndex:n,graphemeIndex:u}}}function st(e,t,x){const i=[];if(e.widths.length===0)return{lineCount:0,height:0,lines:i};const r=_e(e),n=Ue(e,t,(u,o,l,s,F)=>{i.push(nt(e,r,u,o,l,s,F))});return{lineCount:n,height:n*x,lines:i}}export{st as l,rt as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function u(r,e){E(r)&&(r="100%");const t=I(r);return r=e===360?r:Math.min(e,Math.max(0,parseFloat(r))),t&&(r=parseInt(String(r*e),10)/100),Math.abs(r-e)<1e-6?1:(e===360?r=(r<0?r%e+e:r%e)/parseFloat(String(e)):r=r%e/parseFloat(String(e)),r)}function m(r){return Math.min(1,Math.max(0,r))}function E(r){return typeof r=="string"&&r.indexOf(".")!==-1&&parseFloat(r)===1}function I(r){return typeof r=="string"&&r.indexOf("%")!==-1}function F(r){return r=parseFloat(r),(isNaN(r)||r<0||r>1)&&(r=1),r}function p(r){return Number(r)<=1?`${Number(r)*100}%`:r}function l(r){return r.length===1?"0"+r:String(r)}function B(r,e,t){return{r:u(r,255)*255,g:u(e,255)*255,b:u(t,255)*255}}function v(r,e,t){r=u(r,255),e=u(e,255),t=u(t,255);const n=Math.max(r,e,t),s=Math.min(r,e,t);let a=0,i=0;const h=(n+s)/2;if(n===s)i=0,a=0;else{const o=n-s;switch(i=h>.5?o/(2-n-s):o/(n+s),n){case r:a=(e-t)/o+(e<t?6:0);break;case e:a=(t-r)/o+2;break;case t:a=(r-e)/o+4;break}a/=6}return{h:a,s:i,l:h}}function w(r,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?r+(e-r)*(6*t):t<1/2?e:t<2/3?r+(e-r)*(2/3-t)*6:r}function q(r,e,t){let n,s,a;if(r=u(r,360),e=u(e,100),t=u(t,100),e===0)s=t,a=t,n=t;else{const i=t<.5?t*(1+e):t+e-t*e,h=2*t-i;n=w(h,i,r+1/3),s=w(h,i,r),a=w(h,i,r-1/3)}return{r:n*255,g:s*255,b:a*255}}function A(r,e,t){r=u(r,255),e=u(e,255),t=u(t,255);const n=Math.max(r,e,t),s=Math.min(r,e,t);let a=0;const i=n,h=n-s,o=n===0?0:h/n;if(n===s)a=0;else{switch(n){case r:a=(e-t)/h+(e<t?6:0);break;case e:a=(t-r)/h+2;break;case t:a=(r-e)/h+4;break}a/=6}return{h:a,s:o,v:i}}function P(r,e,t){r=u(r,360)*6,e=u(e,100),t=u(t,100);const n=Math.floor(r),s=r-n,a=t*(1-e),i=t*(1-s*e),h=t*(1-(1-s)*e),o=n%6,x=[t,i,a,a,h,t][o],M=[h,t,t,i,a,a][o],N=[a,a,h,t,t,i][o];return{r:x*255,g:M*255,b:N*255}}function H(r,e,t,n){const s=[l(Math.round(r).toString(16)),l(Math.round(e).toString(16)),l(Math.round(t).toString(16))];return n&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0):s.join("")}function j(r,e,t,n,s){const a=[l(Math.round(r).toString(16)),l(Math.round(e).toString(16)),l(Math.round(t).toString(16)),l(W(n))];return s&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))&&a[3].startsWith(a[3].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.join("")}function O(r,e,t,n){const s=r/100,a=e/100,i=t/100,h=n/100,o=255*(1-s)*(1-h),x=255*(1-a)*(1-h),M=255*(1-i)*(1-h);return{r:o,g:x,b:M}}function R(r,e,t){let n=1-r/255,s=1-e/255,a=1-t/255,i=Math.min(n,s,a);return i===1?(n=0,s=0,a=0):(n=(n-i)/(1-i)*100,s=(s-i)/(1-i)*100,a=(a-i)/(1-i)*100),i*=100,{c:Math.round(n),m:Math.round(s),y:Math.round(a),k:Math.round(i)}}function W(r){return Math.round(parseFloat(r)*255).toString(16)}function $(r){return c(r)/255}function c(r){return parseInt(r,16)}function G(r){return{r:r>>16,g:(r&65280)>>8,b:r&255}}const y={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function T(r){let e={r:0,g:0,b:0},t=1,n=null,s=null,a=null,i=!1,h=!1;return typeof r=="string"&&(r=V(r)),typeof r=="object"&&(g(r.r)&&g(r.g)&&g(r.b)?(e=B(r.r,r.g,r.b),i=!0,h=String(r.r).substr(-1)==="%"?"prgb":"rgb"):g(r.h)&&g(r.s)&&g(r.v)?(n=p(r.s),s=p(r.v),e=P(r.h,n,s),i=!0,h="hsv"):g(r.h)&&g(r.s)&&g(r.l)?(n=p(r.s),a=p(r.l),e=q(r.h,n,a),i=!0,h="hsl"):g(r.c)&&g(r.m)&&g(r.y)&&g(r.k)&&(e=O(r.c,r.m,r.y,r.k),i=!0,h="cmyk"),Object.prototype.hasOwnProperty.call(r,"a")&&(t=r.a)),t=F(t),{ok:i,format:r.format||h,r:Math.min(255,Math.max(e.r,0)),g:Math.min(255,Math.max(e.g,0)),b:Math.min(255,Math.max(e.b,0)),a:t}}const U="[-\\+]?\\d+%?",D="[-\\+]?\\d*\\.\\d+%?",b="(?:"+D+")|(?:"+U+")",S="[\\s|\\(]+("+b+")[,|\\s]+("+b+")[,|\\s]+("+b+")\\s*\\)?",k="[\\s|\\(]+("+b+")[,|\\s]+("+b+")[,|\\s]+("+b+")[,|\\s]+("+b+")\\s*\\)?",d={CSS_UNIT:new RegExp(b),rgb:new RegExp("rgb"+S),rgba:new RegExp("rgba"+k),hsl:new RegExp("hsl"+S),hsla:new RegExp("hsla"+k),hsv:new RegExp("hsv"+S),hsva:new RegExp("hsva"+k),cmyk:new RegExp("cmyk"+k),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function V(r){if(r=r.trim().toLowerCase(),r.length===0)return!1;let e=!1;if(y[r])r=y[r],e=!0;else if(r==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};let t=d.rgb.exec(r);return t?{r:t[1],g:t[2],b:t[3]}:(t=d.rgba.exec(r),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=d.hsl.exec(r),t?{h:t[1],s:t[2],l:t[3]}:(t=d.hsla.exec(r),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=d.hsv.exec(r),t?{h:t[1],s:t[2],v:t[3]}:(t=d.hsva.exec(r),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=d.cmyk.exec(r),t?{c:t[1],m:t[2],y:t[3],k:t[4]}:(t=d.hex8.exec(r),t?{r:c(t[1]),g:c(t[2]),b:c(t[3]),a:$(t[4]),format:e?"name":"hex8"}:(t=d.hex6.exec(r),t?{r:c(t[1]),g:c(t[2]),b:c(t[3]),format:e?"name":"hex"}:(t=d.hex4.exec(r),t?{r:c(t[1]+t[1]),g:c(t[2]+t[2]),b:c(t[3]+t[3]),a:$(t[4]+t[4]),format:e?"name":"hex8"}:(t=d.hex3.exec(r),t?{r:c(t[1]+t[1]),g:c(t[2]+t[2]),b:c(t[3]+t[3]),format:e?"name":"hex"}:!1))))))))))}function g(r){return typeof r=="number"?!Number.isNaN(r):d.CSS_UNIT.test(r)}class f{constructor(e="",t={}){if(e instanceof f)return e;typeof e=="number"&&(e=G(e)),this.originalInput=e;const n=T(e);this.originalInput=e,this.r=n.r,this.g=n.g,this.b=n.b,this.a=n.a,this.roundA=Math.round(100*this.a)/100,this.format=t.format??n.format,this.gradientType=t.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=n.ok}isDark(){return this.getBrightness()<128}isLight(){return!this.isDark()}getBrightness(){const e=this.toRgb();return(e.r*299+e.g*587+e.b*114)/1e3}getLuminance(){const e=this.toRgb();let t,n,s;const a=e.r/255,i=e.g/255,h=e.b/255;return a<=.03928?t=a/12.92:t=Math.pow((a+.055)/1.055,2.4),i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),h<=.03928?s=h/12.92:s=Math.pow((h+.055)/1.055,2.4),.2126*t+.7152*n+.0722*s}getAlpha(){return this.a}setAlpha(e){return this.a=F(e),this.roundA=Math.round(100*this.a)/100,this}isMonochrome(){const{s:e}=this.toHsl();return e===0}toHsv(){const e=A(this.r,this.g,this.b);return{h:e.h*360,s:e.s,v:e.v,a:this.a}}toHsvString(){const e=A(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),s=Math.round(e.v*100);return this.a===1?`hsv(${t}, ${n}%, ${s}%)`:`hsva(${t}, ${n}%, ${s}%, ${this.roundA})`}toHsl(){const e=v(this.r,this.g,this.b);return{h:e.h*360,s:e.s,l:e.l,a:this.a}}toHslString(){const e=v(this.r,this.g,this.b),t=Math.round(e.h*360),n=Math.round(e.s*100),s=Math.round(e.l*100);return this.a===1?`hsl(${t}, ${n}%, ${s}%)`:`hsla(${t}, ${n}%, ${s}%, ${this.roundA})`}toHex(e=!1){return H(this.r,this.g,this.b,e)}toHexString(e=!1){return"#"+this.toHex(e)}toHex8(e=!1){return j(this.r,this.g,this.b,this.a,e)}toHex8String(e=!1){return"#"+this.toHex8(e)}toHexShortString(e=!1){return this.a===1?this.toHexString(e):this.toHex8String(e)}toRgb(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}}toRgbString(){const e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return this.a===1?`rgb(${e}, ${t}, ${n})`:`rgba(${e}, ${t}, ${n}, ${this.roundA})`}toPercentageRgb(){const e=t=>`${Math.round(u(t,255)*100)}%`;return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}}toPercentageRgbString(){const e=t=>Math.round(u(t,255)*100);return this.a===1?`rgb(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%)`:`rgba(${e(this.r)}%, ${e(this.g)}%, ${e(this.b)}%, ${this.roundA})`}toCmyk(){return{...R(this.r,this.g,this.b)}}toCmykString(){const{c:e,m:t,y:n,k:s}=R(this.r,this.g,this.b);return`cmyk(${e}, ${t}, ${n}, ${s})`}toName(){if(this.a===0)return"transparent";if(this.a<1)return!1;const e="#"+H(this.r,this.g,this.b,!1);for(const[t,n]of Object.entries(y))if(e===n)return t;return!1}toString(e){const t=!!e;e=e??this.format;let n=!1;const s=this.a<1&&this.a>=0;return!t&&s&&(e.startsWith("hex")||e==="name")?e==="name"&&this.a===0?this.toName():this.toRgbString():(e==="rgb"&&(n=this.toRgbString()),e==="prgb"&&(n=this.toPercentageRgbString()),(e==="hex"||e==="hex6")&&(n=this.toHexString()),e==="hex3"&&(n=this.toHexString(!0)),e==="hex4"&&(n=this.toHex8String(!0)),e==="hex8"&&(n=this.toHex8String()),e==="name"&&(n=this.toName()),e==="hsl"&&(n=this.toHslString()),e==="hsv"&&(n=this.toHsvString()),e==="cmyk"&&(n=this.toCmykString()),n||this.toHexString())}toNumber(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)}clone(){return new f(this.toString())}lighten(e=10){const t=this.toHsl();return t.l+=e/100,t.l=m(t.l),new f(t)}brighten(e=10){const t=this.toRgb();return t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(e/100)))),t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(e/100)))),t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(e/100)))),new f(t)}darken(e=10){const t=this.toHsl();return t.l-=e/100,t.l=m(t.l),new f(t)}tint(e=10){return this.mix("white",e)}shade(e=10){return this.mix("black",e)}desaturate(e=10){const t=this.toHsl();return t.s-=e/100,t.s=m(t.s),new f(t)}saturate(e=10){const t=this.toHsl();return t.s+=e/100,t.s=m(t.s),new f(t)}greyscale(){return this.desaturate(100)}spin(e){const t=this.toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,new f(t)}mix(e,t=50){const n=this.toRgb(),s=new f(e).toRgb(),a=t/100,i={r:(s.r-n.r)*a+n.r,g:(s.g-n.g)*a+n.g,b:(s.b-n.b)*a+n.b,a:(s.a-n.a)*a+n.a};return new f(i)}analogous(e=6,t=30){const n=this.toHsl(),s=360/t,a=[this];for(n.h=(n.h-(s*e>>1)+720)%360;--e;)n.h=(n.h+s)%360,a.push(new f(n));return a}complement(){const e=this.toHsl();return e.h=(e.h+180)%360,new f(e)}monochromatic(e=6){const t=this.toHsv(),{h:n}=t,{s}=t;let{v:a}=t;const i=[],h=1/e;for(;e--;)i.push(new f({h:n,s,v:a})),a=(a+h)%1;return i}splitcomplement(){const e=this.toHsl(),{h:t}=e;return[this,new f({h:(t+72)%360,s:e.s,l:e.l}),new f({h:(t+216)%360,s:e.s,l:e.l})]}onBackground(e){const t=this.toRgb(),n=new f(e).toRgb(),s=t.a+n.a*(1-t.a);return new f({r:(t.r*t.a+n.r*n.a*(1-t.a))/s,g:(t.g*t.a+n.g*n.a*(1-t.a))/s,b:(t.b*t.a+n.b*n.a*(1-t.a))/s,a:s})}triad(){return this.polyad(3)}tetrad(){return this.polyad(4)}polyad(e){const t=this.toHsl(),{h:n}=t,s=[this],a=360/e;for(let i=1;i<e;i++)s.push(new f({h:(n+i*a)%360,s:t.s,l:t.l}));return s}equals(e){const t=new f(e);return this.format==="cmyk"||t.format==="cmyk"?this.toCmykString()===t.toCmykString():this.toRgbString()===t.toRgbString()}}export{f as T};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,O as r,S as t,W as a}from"./@vue-fhDHgfUd.js";var c=e({name:"ArrowDown",__name:"arrow-down",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),K=c,o=e({name:"ArrowLeft",__name:"arrow-left",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),X=o,n=e({name:"ArrowRight",__name:"arrow-right",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),Y=n,m=e({name:"ArrowUp",__name:"arrow-up",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),$=m,w=e({name:"Back",__name:"back",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),a("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),a0=w,p=e({name:"Calendar",__name:"calendar",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),e0=p,i=e({name:"CaretRight",__name:"caret-right",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),r0=i,v=e({name:"CaretTop",__name:"caret-top",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),t0=v,h=e({name:"Check",__name:"check",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),_0=h,u=e({name:"CircleCheckFilled",__name:"circle-check-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),l0=u,f=e({name:"CircleCheck",__name:"circle-check",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),a("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),s0=f,g=e({name:"CircleCloseFilled",__name:"circle-close-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),c0=g,d=e({name:"CircleClose",__name:"circle-close",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),a("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),o0=d,x=e({name:"Clock",__name:"clock",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),a("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),a("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),n0=x,C=e({name:"Close",__name:"close",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),m0=C,L=e({name:"DArrowLeft",__name:"d-arrow-left",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),w0=L,M=e({name:"DArrowRight",__name:"d-arrow-right",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),p0=M,z=e({name:"Delete",__name:"delete",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),i0=z,B=e({name:"Document",__name:"document",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),v0=B,V=e({name:"FullScreen",__name:"full-screen",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),h0=V,H=e({name:"Hide",__name:"hide",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),a("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),u0=H,A=e({name:"InfoFilled",__name:"info-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),f0=A,k=e({name:"Loading",__name:"loading",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),g0=k,S=e({name:"Minus",__name:"minus",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),d0=S,F=e({name:"MoreFilled",__name:"more-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),x0=F,q=e({name:"More",__name:"more",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),C0=q,D=e({name:"PictureFilled",__name:"picture-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),L0=D,R=e({name:"Plus",__name:"plus",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),M0=R,O=e({name:"QuestionFilled",__name:"question-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),z0=O,b=e({name:"RefreshLeft",__name:"refresh-left",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),B0=b,I=e({name:"RefreshRight",__name:"refresh-right",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),V0=I,P=e({name:"ScaleToOriginal",__name:"scale-to-original",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),H0=P,Q=e({name:"Search",__name:"search",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),A0=Q,E=e({name:"SortDown",__name:"sort-down",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),k0=E,N=e({name:"SortUp",__name:"sort-up",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),S0=N,T=e({name:"StarFilled",__name:"star-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),F0=T,U=e({name:"Star",__name:"star",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),q0=U,W=e({name:"SuccessFilled",__name:"success-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),D0=W,Z=e({name:"View",__name:"view",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),R0=Z,j=e({name:"WarningFilled",__name:"warning-filled",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),O0=j,y=e({name:"ZoomIn",__name:"zoom-in",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),b0=y,G=e({name:"ZoomOut",__name:"zoom-out",setup(_){return(l,s)=>(r(),t("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[a("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),I0=G;export{d0 as A,M0 as B,C0 as C,a0 as D,x0 as E,z0 as F,F0 as G,q0 as H,l0 as I,L0 as J,S0 as K,k0 as L,A0 as M,r0 as N,v0 as O,i0 as P,m0 as a,o0 as b,c0 as c,s0 as d,t0 as e,n0 as f,e0 as g,u0 as h,f0 as i,$ as j,K as k,g0 as l,X as m,Y as n,_0 as o,w0 as p,p0 as q,H0 as r,D0 as s,h0 as t,b0 as u,R0 as v,O0 as w,B0 as x,V0 as y,I0 as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const Y=Math.min,z=Math.max,ot=Math.round,nt=Math.floor,P=t=>({x:t,y:t}),$t={left:"right",right:"left",bottom:"top",top:"bottom"};function dt(t,e,o){return z(t,Y(e,o))}function Z(t,e){return typeof t=="function"?t(e):t}function I(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function Et(t){return t==="x"?"y":"x"}function gt(t){return t==="y"?"height":"width"}function N(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function pt(t){return Et(N(t))}function _t(t,e,o){o===void 0&&(o=!1);const n=tt(t),i=pt(t),r=gt(i);let s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=it(s)),[s,it(s)]}function Ht(t){const e=it(t);return[mt(t),e,mt(e)]}function mt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const vt=["left","right"],bt=["right","left"],zt=["top","bottom"],It=["bottom","top"];function Xt(t,e,o){switch(t){case"top":case"bottom":return o?e?bt:vt:e?vt:bt;case"left":case"right":return e?zt:It;default:return[]}}function jt(t,e,o,n){const i=tt(t);let r=Xt(I(t),o==="start",n);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(mt)))),r}function it(t){const e=I(t);return $t[e]+t.slice(e.length)}function Yt(t){return{top:0,right:0,bottom:0,left:0,...t}}function Lt(t){return typeof t!="number"?Yt(t):{top:t,right:t,bottom:t,left:t}}function st(t){const{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Rt(t,e,o){let{reference:n,floating:i}=t;const r=N(e),s=pt(e),c=gt(s),l=I(e),a=r==="y",d=n.x+n.width/2-i.width/2,u=n.y+n.height/2-i.height/2,m=n[c]/2-i[c]/2;let f;switch(l){case"top":f={x:d,y:n.y-i.height};break;case"bottom":f={x:d,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:u};break;case"left":f={x:n.x-i.width,y:u};break;default:f={x:n.x,y:n.y}}switch(tt(e)){case"start":f[s]-=m*(o&&a?-1:1);break;case"end":f[s]+=m*(o&&a?-1:1);break}return f}async function Tt(t,e){var o;e===void 0&&(e={});const{x:n,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:a="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:f=0}=Z(e,t),h=Lt(f),w=c[m?u==="floating"?"reference":"floating":u],p=st(await r.getClippingRect({element:(o=await(r.isElement==null?void 0:r.isElement(w)))==null||o?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:a,rootBoundary:d,strategy:l})),x=u==="floating"?{x:n,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),v=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},O=st(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:y,strategy:l}):x);return{top:(p.top-O.top+h.top)/v.y,bottom:(O.bottom-p.bottom+h.bottom)/v.y,left:(p.left-O.left+h.left)/v.x,right:(O.right-p.right+h.right)/v.x}}const qt=50,Ut=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:r=[],platform:s}=o,c=s.detectOverflow?s:{...s,detectOverflow:Tt},l=await(s.isRTL==null?void 0:s.isRTL(e));let a=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:u}=Rt(a,n,l),m=n,f=0;const h={};for(let g=0;g<r.length;g++){const w=r[g];if(!w)continue;const{name:p,fn:x}=w,{x:y,y:v,data:O,reset:b}=await x({x:d,y:u,initialPlacement:n,placement:m,strategy:i,middlewareData:h,rects:a,platform:c,elements:{reference:t,floating:e}});d=y??d,u=v??u,h[p]={...h[p],...O},b&&f<qt&&(f++,typeof b=="object"&&(b.placement&&(m=b.placement),b.rects&&(a=b.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):b.rects),{x:d,y:u}=Rt(a,m,l)),g=-1)}return{x:d,y:u,placement:m,strategy:i,middlewareData:h}},Kt=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:n,placement:i,rects:r,platform:s,elements:c,middlewareData:l}=e,{element:a,padding:d=0}=Z(t,e)||{};if(a==null)return{};const u=Lt(d),m={x:o,y:n},f=pt(i),h=gt(f),g=await s.getDimensions(a),w=f==="y",p=w?"top":"left",x=w?"bottom":"right",y=w?"clientHeight":"clientWidth",v=r.reference[h]+r.reference[f]-m[f]-r.floating[h],O=m[f]-r.reference[f],b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a));let C=b?b[y]:0;(!C||!await(s.isElement==null?void 0:s.isElement(b)))&&(C=c.floating[y]||r.floating[h]);const K=v/2-O/2,V=C/2-g[h]/2-1,F=Y(u[p],V),G=Y(u[x],V),$=F,J=C-g[h]-G,R=C/2-g[h]/2+K,_=dt($,R,J),M=!l.arrow&&tt(i)!=null&&R!==_&&r.reference[h]/2-(R<$?F:G)-g[h]/2<0,S=M?R<$?R-$:R-J:0;return{[f]:m[f]+S,data:{[f]:_,centerOffset:R-_-S,...M&&{alignmentOffset:S}},reset:M}}}),Gt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var o,n;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:a}=e,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:g=!0,...w}=Z(t,e);if((o=r.arrow)!=null&&o.alignmentOffset)return{};const p=I(i),x=N(c),y=I(c)===c,v=await(l.isRTL==null?void 0:l.isRTL(a.floating)),O=m||(y||!g?[it(c)]:Ht(c)),b=h!=="none";!m&&b&&O.push(...jt(c,g,h,v));const C=[c,...O],K=await l.detectOverflow(e,w),V=[];let F=((n=r.flip)==null?void 0:n.overflows)||[];if(d&&V.push(K[p]),u){const R=_t(i,s,v);V.push(K[R[0]],K[R[1]])}if(F=[...F,{placement:i,overflows:V}],!V.every(R=>R<=0)){var G,$;const R=(((G=r.flip)==null?void 0:G.index)||0)+1,_=C[R];if(_&&(!(u==="alignment"?x!==N(_):!1)||F.every(E=>N(E.placement)===x?E.overflows[0]>0:!0)))return{data:{index:R,overflows:F},reset:{placement:_}};let M=($=F.filter(S=>S.overflows[0]<=0).sort((S,E)=>S.overflows[1]-E.overflows[1])[0])==null?void 0:$.placement;if(!M)switch(f){case"bestFit":{var J;const S=(J=F.filter(E=>{if(b){const k=N(E.placement);return k===x||k==="y"}return!0}).map(E=>[E.placement,E.overflows.filter(k=>k>0).reduce((k,Vt)=>k+Vt,0)]).sort((E,k)=>E[1]-k[1])[0])==null?void 0:J[0];S&&(M=S);break}case"initialPlacement":M=c;break}if(i!==M)return{reset:{placement:M}}}return{}}}},Jt=new Set(["left","top"]);async function Qt(t,e){const{placement:o,platform:n,elements:i}=t,r=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=I(o),c=tt(o),l=N(o)==="y",a=Jt.has(s)?-1:1,d=r&&l?-1:1,u=Z(e,t);let{mainAxis:m,crossAxis:f,alignmentAxis:h}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof h=="number"&&(f=c==="end"?h*-1:h),l?{x:f*d,y:m*a}:{x:m*a,y:f*d}}const Zt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await Qt(e,t);return s===((o=c.offset)==null?void 0:o.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},te=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:i,platform:r}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:p=>{let{x,y}=p;return{x,y}}},...a}=Z(t,e),d={x:o,y:n},u=await r.detectOverflow(e,a),m=N(I(i)),f=Et(m);let h=d[f],g=d[m];if(s){const p=f==="y"?"top":"left",x=f==="y"?"bottom":"right",y=h+u[p],v=h-u[x];h=dt(y,h,v)}if(c){const p=m==="y"?"top":"left",x=m==="y"?"bottom":"right",y=g+u[p],v=g-u[x];g=dt(y,g,v)}const w=l.fn({...e,[f]:h,[m]:g});return{...w,data:{x:w.x-o,y:w.y-n,enabled:{[f]:s,[m]:c}}}}}};function rt(){return typeof window<"u"}function U(t){return Pt(t)?(t.nodeName||"").toLowerCase():"#document"}function A(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function D(t){var e;return(e=(Pt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Pt(t){return rt()?t instanceof Node||t instanceof A(t).Node:!1}function L(t){return rt()?t instanceof Element||t instanceof A(t).Element:!1}function W(t){return rt()?t instanceof HTMLElement||t instanceof A(t).HTMLElement:!1}function Ot(t){return!rt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof A(t).ShadowRoot}function et(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=T(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&i!=="inline"&&i!=="contents"}function ee(t){return/^(table|td|th)$/.test(U(t))}function ct(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const ne=/transform|translate|scale|rotate|perspective|filter/,oe=/paint|layout|strict|content/,H=t=>!!t&&t!=="none";let at;function wt(t){const e=L(t)?T(t):t;return H(e.transform)||H(e.translate)||H(e.scale)||H(e.rotate)||H(e.perspective)||!xt()&&(H(e.backdropFilter)||H(e.filter))||ne.test(e.willChange||"")||oe.test(e.contain||"")}function ie(t){let e=B(t);for(;W(e)&&!q(e);){if(wt(e))return e;if(ct(e))return null;e=B(e)}return null}function xt(){return at==null&&(at=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),at}function q(t){return/^(html|body|#document)$/.test(U(t))}function T(t){return A(t).getComputedStyle(t)}function lt(t){return L(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function B(t){if(U(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ot(t)&&t.host||D(t);return Ot(e)?e.host:e}function Dt(t){const e=B(t);return q(e)?t.ownerDocument?t.ownerDocument.body:t.body:W(e)&&et(e)?e:Dt(e)}function Q(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=Dt(t),r=i===((n=t.ownerDocument)==null?void 0:n.body),s=A(i);if(r){const c=ht(s);return e.concat(s,s.visualViewport||[],et(i)?i:[],c&&o?Q(c):[])}else return e.concat(i,Q(i,[],o))}function ht(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ft(t){const e=T(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=W(t),r=i?t.offsetWidth:o,s=i?t.offsetHeight:n,c=ot(o)!==r||ot(n)!==s;return c&&(o=r,n=s),{width:o,height:n,$:c}}function yt(t){return L(t)?t:t.contextElement}function j(t){const e=yt(t);if(!W(e))return P(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:r}=Ft(e);let s=(r?ot(o.width):o.width)/n,c=(r?ot(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const se=P(0);function Mt(t){const e=A(t);return!xt()||!e.visualViewport?se:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function re(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==A(t)?!1:e}function X(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),r=yt(t);let s=P(1);e&&(n?L(n)&&(s=j(n)):s=j(t));const c=re(r,o,n)?Mt(r):P(0);let l=(i.left+c.x)/s.x,a=(i.top+c.y)/s.y,d=i.width/s.x,u=i.height/s.y;if(r){const m=A(r),f=n&&L(n)?A(n):n;let h=m,g=ht(h);for(;g&&n&&f!==h;){const w=j(g),p=g.getBoundingClientRect(),x=T(g),y=p.left+(g.clientLeft+parseFloat(x.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,a*=w.y,d*=w.x,u*=w.y,l+=y,a+=v,h=A(g),g=ht(h)}}return st({width:d,height:u,x:l,y:a})}function ft(t,e){const o=lt(t).scrollLeft;return e?e.left+o:X(D(t)).left+o}function Wt(t,e){const o=t.getBoundingClientRect(),n=o.left+e.scrollLeft-ft(t,o),i=o.top+e.scrollTop;return{x:n,y:i}}function ce(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const r=i==="fixed",s=D(n),c=e?ct(e.floating):!1;if(n===s||c&&r)return o;let l={scrollLeft:0,scrollTop:0},a=P(1);const d=P(0),u=W(n);if((u||!u&&!r)&&((U(n)!=="body"||et(s))&&(l=lt(n)),u)){const f=X(n);a=j(n),d.x=f.x+n.clientLeft,d.y=f.y+n.clientTop}const m=s&&!u&&!r?Wt(s,l):P(0);return{width:o.width*a.x,height:o.height*a.y,x:o.x*a.x-l.scrollLeft*a.x+d.x+m.x,y:o.y*a.y-l.scrollTop*a.y+d.y+m.y}}function le(t){return Array.from(t.getClientRects())}function fe(t){const e=D(t),o=lt(t),n=t.ownerDocument.body,i=z(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=z(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-o.scrollLeft+ft(t);const c=-o.scrollTop;return T(n).direction==="rtl"&&(s+=z(e.clientWidth,n.clientWidth)-i),{width:i,height:r,x:s,y:c}}const At=25;function ae(t,e){const o=A(t),n=D(t),i=o.visualViewport;let r=n.clientWidth,s=n.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const d=xt();(!d||d&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}const a=ft(n);if(a<=0){const d=n.ownerDocument,u=d.body,m=getComputedStyle(u),f=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,h=Math.abs(n.clientWidth-u.clientWidth-f);h<=At&&(r-=h)}else a<=At&&(r+=a);return{width:r,height:s,x:c,y:l}}function ue(t,e){const o=X(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,r=W(t)?j(t):P(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,a=n*r.y;return{width:s,height:c,x:l,y:a}}function Ct(t,e,o){let n;if(e==="viewport")n=ae(t,o);else if(e==="document")n=fe(D(t));else if(L(e))n=ue(e,o);else{const i=Mt(t);n={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return st(n)}function kt(t,e){const o=B(t);return o===e||!L(o)||q(o)?!1:T(o).position==="fixed"||kt(o,e)}function de(t,e){const o=e.get(t);if(o)return o;let n=Q(t,[],!1).filter(c=>L(c)&&U(c)!=="body"),i=null;const r=T(t).position==="fixed";let s=r?B(t):t;for(;L(s)&&!q(s);){const c=T(s),l=wt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||et(s)&&!l&&kt(t,s))?n=n.filter(d=>d!==s):i=c,s=B(s)}return e.set(t,n),n}function me(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const s=[...o==="clippingAncestors"?ct(e)?[]:de(e,this._c):[].concat(o),n],c=Ct(e,s[0],i);let l=c.top,a=c.right,d=c.bottom,u=c.left;for(let m=1;m<s.length;m++){const f=Ct(e,s[m],i);l=z(f.top,l),a=Y(f.right,a),d=Y(f.bottom,d),u=z(f.left,u)}return{width:a-u,height:d-l,x:u,y:l}}function he(t){const{width:e,height:o}=Ft(t);return{width:e,height:o}}function ge(t,e,o){const n=W(e),i=D(e),r=o==="fixed",s=X(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=P(0);function a(){l.x=ft(i)}if(n||!n&&!r)if((U(e)!=="body"||et(i))&&(c=lt(e)),n){const f=X(e,!0,r,e);l.x=f.x+e.clientLeft,l.y=f.y+e.clientTop}else i&&a();r&&!n&&i&&a();const d=i&&!n&&!r?Wt(i,c):P(0),u=s.left+c.scrollLeft-l.x-d.x,m=s.top+c.scrollTop-l.y-d.y;return{x:u,y:m,width:s.width,height:s.height}}function ut(t){return T(t).position==="static"}function St(t,e){if(!W(t)||T(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return D(t)===o&&(o=o.ownerDocument.body),o}function Nt(t,e){const o=A(t);if(ct(t))return o;if(!W(t)){let i=B(t);for(;i&&!q(i);){if(L(i)&&!ut(i))return i;i=B(i)}return o}let n=St(t,e);for(;n&&ee(n)&&ut(n);)n=St(n,e);return n&&q(n)&&ut(n)&&!wt(n)?o:n||ie(t)||o}const pe=async function(t){const e=this.getOffsetParent||Nt,o=this.getDimensions,n=await o(t.floating);return{reference:ge(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function we(t){return T(t).direction==="rtl"}const xe={convertOffsetParentRelativeRectToViewportRelativeRect:ce,getDocumentElement:D,getClippingRect:me,getOffsetParent:Nt,getElementRects:pe,getClientRects:le,getDimensions:he,getScale:j,isElement:L,isRTL:we};function Bt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ye(t,e){let o=null,n;const i=D(t);function r(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const a=t.getBoundingClientRect(),{left:d,top:u,width:m,height:f}=a;if(c||e(),!m||!f)return;const h=nt(u),g=nt(i.clientWidth-(d+m)),w=nt(i.clientHeight-(u+f)),p=nt(d),y={rootMargin:-h+"px "+-g+"px "+-w+"px "+-p+"px",threshold:z(0,Y(1,l))||1};let v=!0;function O(b){const C=b[0].intersectionRatio;if(C!==l){if(!v)return s();C?s(!1,C):n=setTimeout(()=>{s(!1,1e-7)},1e3)}C===1&&!Bt(a,t.getBoundingClientRect())&&s(),v=!1}try{o=new IntersectionObserver(O,{...y,root:i.ownerDocument})}catch{o=new IntersectionObserver(O,y)}o.observe(t)}return s(!0),r}function ve(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,a=yt(t),d=i||r?[...a?Q(a):[],...e?Q(e):[]]:[];d.forEach(p=>{i&&p.addEventListener("scroll",o,{passive:!0}),r&&p.addEventListener("resize",o)});const u=a&&c?ye(a,o):null;let m=-1,f=null;s&&(f=new ResizeObserver(p=>{let[x]=p;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),o()}),a&&!l&&f.observe(a),e&&f.observe(e));let h,g=l?X(t):null;l&&w();function w(){const p=X(t);g&&!Bt(g,p)&&o(),g=p,h=requestAnimationFrame(w)}return o(),()=>{var p;d.forEach(x=>{i&&x.removeEventListener("scroll",o),r&&x.removeEventListener("resize",o)}),u?.(),(p=f)==null||p.disconnect(),f=null,l&&cancelAnimationFrame(h)}}const be=Tt,Re=Zt,Oe=te,Ae=Gt,Ce=Kt,Se=(t,e,o)=>{const n=new Map,i={platform:xe,...o},r={...i.platform,_c:n};return Ut(t,e,{...i,platform:r})};export{ve as a,Ce as b,Se as c,be as d,Ae as f,Re as o,Oe as s};
|