@gkd-kit/docs 0.0.1778124232018 → 0.0.1788031478448
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/.vitepress/dist/404.html +11 -13
- package/.vitepress/dist/404_.md +11 -13
- package/.vitepress/dist/_config.json +1 -1
- package/.vitepress/dist/api/index.html +16 -18
- package/.vitepress/dist/api/index_.md +16 -18
- package/.vitepress/dist/api/interfaces/RawApp.html +15 -17
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +19 -26
- package/.vitepress/dist/api/interfaces/RawAppGroup_.md +19 -26
- package/.vitepress/dist/api/interfaces/RawAppRule.html +15 -37
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +15 -17
- package/.vitepress/dist/api/interfaces/RawAppRuleProps_.md +15 -17
- package/.vitepress/dist/api/interfaces/RawAppRule_.md +15 -37
- package/.vitepress/dist/api/interfaces/RawApp_.md +15 -17
- package/.vitepress/dist/api/interfaces/RawCategory.html +15 -17
- package/.vitepress/dist/api/interfaces/RawCategory_.md +15 -17
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +20 -22
- package/.vitepress/dist/api/interfaces/RawCommonProps_.md +20 -22
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +15 -17
- package/.vitepress/dist/api/interfaces/RawGlobalApp_.md +15 -17
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +15 -22
- package/.vitepress/dist/api/interfaces/RawGlobalGroup_.md +15 -22
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +15 -37
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +15 -17
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps_.md +15 -17
- package/.vitepress/dist/api/interfaces/RawGlobalRule_.md +15 -37
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +15 -22
- package/.vitepress/dist/api/interfaces/RawGroupProps_.md +15 -22
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +30 -37
- package/.vitepress/dist/api/interfaces/RawRuleProps_.md +30 -37
- package/.vitepress/dist/api/interfaces/RawSubscription.html +16 -18
- package/.vitepress/dist/api/interfaces/RawSubscription_.md +16 -18
- package/.vitepress/dist/api/type-aliases/IArray.html +18 -20
- package/.vitepress/dist/api/type-aliases/IArray_.md +18 -20
- package/.vitepress/dist/api/type-aliases/Integer.html +16 -18
- package/.vitepress/dist/api/type-aliases/IntegerMatcher.html +15 -17
- package/.vitepress/dist/api/type-aliases/IntegerMatcher_.md +15 -17
- package/.vitepress/dist/api/type-aliases/Integer_.md +16 -18
- package/.vitepress/dist/api/type-aliases/Position.html +22 -24
- package/.vitepress/dist/api/type-aliases/Position_.md +22 -24
- package/.vitepress/dist/api/type-aliases/StringMatcher.html +15 -17
- package/.vitepress/dist/api/type-aliases/StringMatcher_.md +15 -17
- package/.vitepress/dist/api/type-aliases/SwipeArg.html +15 -17
- package/.vitepress/dist/api/type-aliases/SwipeArg_.md +15 -17
- package/.vitepress/dist/assets/api_index.md.CjQzKled.js +1 -0
- package/.vitepress/dist/assets/api_index.md.CjQzKled.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.BpzQ9G66.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.BpzQ9G66.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.Ck2PMmew.js +18 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.Ck2PMmew.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.svCCf5YM.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.svCCf5YM.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.Djcgq66H.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.Djcgq66H.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.DHBN1t1h.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.DHBN1t1h.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.BqWR20Ki.js +6 -0
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.BqWR20Ki.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.nzd5SVi6.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.nzd5SVi6.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.BX5E3cY2.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.BX5E3cY2.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.BBIb-pml.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.BBIb-pml.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.CnnmlY17.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.CnnmlY17.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.b_Emqo9z.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.b_Emqo9z.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.Dub6x9Ex.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.Dub6x9Ex.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DGEaq3vF.js +4 -0
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DGEaq3vF.lean.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.CaN7hADu.js +4 -0
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.CaN7hADu.lean.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.Dm63ynqV.js +2 -0
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.Dm63ynqV.lean.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_IntegerMatcher.md.BE39eIyQ.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_IntegerMatcher.md.BE39eIyQ.lean.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_Position.md.CieLiaPU.js +16 -0
- package/.vitepress/dist/assets/api_type-aliases_Position.md.CieLiaPU.lean.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_StringMatcher.md.DMiH2Jb8.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_StringMatcher.md.DMiH2Jb8.lean.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_SwipeArg.md.CJ5jBhMZ.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_SwipeArg.md.CJ5jBhMZ.lean.js +1 -0
- package/.vitepress/dist/assets/app.DsMGk2Gm.js +1 -0
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.DWHYjgK3.js +1 -0
- package/.vitepress/dist/assets/chunks/FileSaver.min.mmHyTxhb.js +1 -0
- package/.vitepress/dist/assets/chunks/VPLocalSearchBox.cfebC-xP.js +3 -0
- package/.vitepress/dist/assets/chunks/framework.bo_0njjP.js +5 -0
- package/.vitepress/dist/assets/chunks/metadata.0dc14c20.js +1 -0
- package/.vitepress/dist/assets/chunks/rolldown-runtime.CbXtAM7H.js +1 -0
- package/.vitepress/dist/assets/chunks/theme.BqxP_Qp6.js +1 -0
- package/.vitepress/dist/assets/guide_example.md.DLHK84th.js +1 -0
- package/.vitepress/dist/assets/guide_example.md.DLHK84th.lean.js +1 -0
- package/.vitepress/dist/assets/guide_external.md.gUhHg9ej.js +1 -0
- package/.vitepress/dist/assets/guide_external.md.gUhHg9ej.lean.js +1 -0
- package/.vitepress/dist/assets/guide_faq.md.DeiwxCAf.js +21 -0
- package/.vitepress/dist/assets/guide_faq.md.DeiwxCAf.lean.js +1 -0
- package/.vitepress/dist/assets/guide_index.md.6qboURPf.js +1 -0
- package/.vitepress/dist/assets/guide_index.md.6qboURPf.lean.js +1 -0
- package/.vitepress/dist/assets/guide_node.md.CwfEt3rN.js +1 -0
- package/.vitepress/dist/assets/guide_node.md.CwfEt3rN.lean.js +1 -0
- package/.vitepress/dist/assets/guide_optimize.md.FR-Zkx4h.js +1 -0
- package/.vitepress/dist/assets/guide_optimize.md.FR-Zkx4h.lean.js +1 -0
- package/.vitepress/dist/assets/guide_privacy.md.DBrgK5-u.js +1 -0
- package/.vitepress/dist/assets/guide_privacy.md.DBrgK5-u.lean.js +1 -0
- package/.vitepress/dist/assets/guide_selector.md.nAYYctX6.js +1 -0
- package/.vitepress/dist/assets/guide_selector.md.nAYYctX6.lean.js +1 -0
- package/.vitepress/dist/assets/guide_snapshot.md.AsADTlKo.js +1 -0
- package/.vitepress/dist/assets/guide_snapshot.md.AsADTlKo.lean.js +1 -0
- package/.vitepress/dist/assets/guide_sponsor.md.DZrghTwB.js +1 -0
- package/.vitepress/dist/assets/guide_sponsor.md.DZrghTwB.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_subscription.md.b3kL74Yn.js → guide_subscription.md.u5UT7BiK.js} +6 -6
- package/.vitepress/dist/assets/guide_subscription.md.u5UT7BiK.lean.js +1 -0
- package/.vitepress/dist/assets/guide_terms.md.DFt17QYh.js +1 -0
- package/.vitepress/dist/assets/guide_terms.md.DFt17QYh.lean.js +1 -0
- package/.vitepress/dist/assets/guide_what-is-gkd.md.nCfci---.js +1 -0
- package/.vitepress/dist/assets/guide_what-is-gkd.md.nCfci---.lean.js +1 -0
- package/.vitepress/dist/assets/{index.md.C7gsJKtc.js → index.md.BdZV93Gs.js} +1 -1
- package/.vitepress/dist/assets/{index.md.C7gsJKtc.lean.js → index.md.BdZV93Gs.lean.js} +1 -1
- package/.vitepress/dist/assets/inter-italic-cyrillic-ext._dlW9xFb.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-cyrillic.D7dRslh9.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-greek-ext.Ct-Tf2bq.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-greek.DNcpQ8QC.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-latin-ext.DytegdRQ.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-latin.CoImASkB.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-symbols.DBflboKE.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-vietnamese.BI5UxJD-.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-cyrillic-ext.BeNbU08G.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-cyrillic.CD0kT8R4.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-greek-ext.CFAEQ5Ow.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-greek.Dsf7YjP7.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-latin-ext.Dl_ayf4-.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-latin.BOE8-mWI.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-symbols.w-B2-dTa.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-vietnamese.CpqCnS2H.woff2 +0 -0
- package/.vitepress/dist/assets/polyfills.CHgXubMX.js +3 -0
- package/.vitepress/dist/assets/style.sQiVUa0J.css +2 -0
- package/.vitepress/dist/guide/example.html +15 -17
- package/.vitepress/dist/guide/example_.md +15 -17
- package/.vitepress/dist/guide/external.html +15 -17
- package/.vitepress/dist/guide/external_.md +15 -17
- package/.vitepress/dist/guide/faq.html +16 -18
- package/.vitepress/dist/guide/faq_.md +16 -18
- package/.vitepress/dist/guide/index.html +15 -17
- package/.vitepress/dist/guide/index_.md +15 -17
- package/.vitepress/dist/guide/node.html +15 -17
- package/.vitepress/dist/guide/node_.md +15 -17
- package/.vitepress/dist/guide/optimize.html +15 -17
- package/.vitepress/dist/guide/optimize_.md +15 -17
- package/.vitepress/dist/guide/privacy.html +15 -17
- package/.vitepress/dist/guide/privacy_.md +15 -17
- package/.vitepress/dist/guide/selector.html +21 -23
- package/.vitepress/dist/guide/selector_.md +21 -23
- package/.vitepress/dist/guide/snapshot.html +15 -17
- package/.vitepress/dist/guide/snapshot_.md +15 -17
- package/.vitepress/dist/guide/sponsor.html +15 -17
- package/.vitepress/dist/guide/sponsor_.md +15 -17
- package/.vitepress/dist/guide/subscription.html +20 -22
- package/.vitepress/dist/guide/subscription_.md +20 -22
- package/.vitepress/dist/guide/terms.html +15 -17
- package/.vitepress/dist/guide/terms_.md +15 -17
- package/.vitepress/dist/guide/what-is-gkd.html +15 -17
- package/.vitepress/dist/guide/what-is-gkd_.md +15 -17
- package/.vitepress/dist/hashmap.json +1 -1
- package/.vitepress/dist/index.html +15 -17
- package/.vitepress/dist/index_.md +15 -17
- package/_config.json +1 -1
- package/package.json +1 -4
- package/.vitepress/dist/assets/api_index.md.DbsdFYfN.js +0 -1
- package/.vitepress/dist/assets/api_index.md.DbsdFYfN.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.VF5jpSTM.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.VF5jpSTM.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.CIX1JDEc.js +0 -23
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.CIX1JDEc.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.DhYtItNA.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.DhYtItNA.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.B7FJNPoD.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.B7FJNPoD.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.r-sNQdvB.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.r-sNQdvB.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.CZf8W6jX.js +0 -6
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.CZf8W6jX.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.Pg3dMO1q.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.Pg3dMO1q.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.C6tJ8Ztc.js +0 -6
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.C6tJ8Ztc.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.DKEsLdiI.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.DKEsLdiI.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.DCuw4zBK.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.DCuw4zBK.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.BQw600Ow.js +0 -6
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.BQw600Ow.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.CEwmTzSR.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.CEwmTzSR.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DH1bY2R2.js +0 -4
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DH1bY2R2.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.mS9PXjxK.js +0 -4
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.mS9PXjxK.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.CD5PaiMa.js +0 -2
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.CD5PaiMa.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_IntegerMatcher.md.DffqKRFD.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_IntegerMatcher.md.DffqKRFD.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_Position.md.OdVVrNbs.js +0 -16
- package/.vitepress/dist/assets/api_type-aliases_Position.md.OdVVrNbs.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_StringMatcher.md.Dm_IN8ij.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_StringMatcher.md.Dm_IN8ij.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_SwipeArg.md.BBrbAV2_.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_SwipeArg.md.BBrbAV2_.lean.js +0 -1
- package/.vitepress/dist/assets/app.Bof6In7P.js +0 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.CIJmSUUZ.js +0 -1
- package/.vitepress/dist/assets/chunks/FileSaver.min.BxHcgHsl.js +0 -1
- package/.vitepress/dist/assets/chunks/VPLocalSearchBox.BEJmHkAl.js +0 -2
- package/.vitepress/dist/assets/chunks/framework.C9O3MI31.js +0 -2
- package/.vitepress/dist/assets/chunks/index.BJCOYsj9.js +0 -275
- package/.vitepress/dist/assets/chunks/theme.HzWOLh31.js +0 -1
- package/.vitepress/dist/assets/guide_example.md.DQFpVk96.js +0 -1
- package/.vitepress/dist/assets/guide_example.md.DQFpVk96.lean.js +0 -1
- package/.vitepress/dist/assets/guide_external.md.jyqZleQg.js +0 -1
- package/.vitepress/dist/assets/guide_external.md.jyqZleQg.lean.js +0 -1
- package/.vitepress/dist/assets/guide_faq.md.CJ97c3Oj.js +0 -21
- package/.vitepress/dist/assets/guide_faq.md.CJ97c3Oj.lean.js +0 -1
- package/.vitepress/dist/assets/guide_index.md.DXqOoSRT.js +0 -1
- package/.vitepress/dist/assets/guide_index.md.DXqOoSRT.lean.js +0 -1
- package/.vitepress/dist/assets/guide_node.md.Dueqr68D.js +0 -1
- package/.vitepress/dist/assets/guide_node.md.Dueqr68D.lean.js +0 -1
- package/.vitepress/dist/assets/guide_optimize.md.QtHsJC_W.js +0 -1
- package/.vitepress/dist/assets/guide_optimize.md.QtHsJC_W.lean.js +0 -1
- package/.vitepress/dist/assets/guide_privacy.md.DEY7H6Xw.js +0 -1
- package/.vitepress/dist/assets/guide_privacy.md.DEY7H6Xw.lean.js +0 -1
- package/.vitepress/dist/assets/guide_selector.md.CkWe6yh0.js +0 -12
- package/.vitepress/dist/assets/guide_selector.md.CkWe6yh0.lean.js +0 -1
- package/.vitepress/dist/assets/guide_snapshot.md.CAyOxKjJ.js +0 -1
- package/.vitepress/dist/assets/guide_snapshot.md.CAyOxKjJ.lean.js +0 -1
- package/.vitepress/dist/assets/guide_sponsor.md.BcOIEi8A.js +0 -1
- package/.vitepress/dist/assets/guide_sponsor.md.BcOIEi8A.lean.js +0 -1
- package/.vitepress/dist/assets/guide_subscription.md.b3kL74Yn.lean.js +0 -1
- package/.vitepress/dist/assets/guide_terms.md.DfiFWTE8.js +0 -1
- package/.vitepress/dist/assets/guide_terms.md.DfiFWTE8.lean.js +0 -1
- package/.vitepress/dist/assets/guide_what-is-gkd.md.L893NqGU.js +0 -1
- package/.vitepress/dist/assets/guide_what-is-gkd.md.L893NqGU.lean.js +0 -1
- package/.vitepress/dist/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
- package/.vitepress/dist/assets/polyfills.-wjBxrqk.js +0 -1
- package/.vitepress/dist/assets/style.DmRq6upP.css +0 -1
|
@@ -1,275 +0,0 @@
|
|
|
1
|
-
import{x as A,U as Ln,z as $e,h as F,p as _e,a0 as Oe,N as ne,ar as Ta,as as Oa,a as Ro,G as Ae,at as er,d as oe,Y as Ye,au as tr,a6 as dt,a3 as w,ab as Ma,av as me,R as Pa,r as Ea,aw as za,B as Aa,y as Ge,ax as nr,T as st,M as Bo,aa as Io,ay as _a,az as Ra,P as Ba}from"./framework.C9O3MI31.js";function Jt(e){return e.composedPath()[0]}const Ia={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function Da(e,t,n){if(e==="mousemoveoutside"){const r=o=>{t.contains(Jt(o))||n(o)};return{mousemove:r,touchstart:r}}else if(e==="clickoutside"){let r=!1;const o=a=>{r=!t.contains(Jt(a))},i=a=>{r&&(t.contains(Jt(a))||n(a))};return{mousedown:o,mouseup:i,touchstart:o,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function Do(e,t,n){const r=Ia[e];let o=r.get(t);o===void 0&&r.set(t,o=new WeakMap);let i=o.get(n);return i===void 0&&o.set(n,i=Da(e,t,n)),i}function Ha(e,t,n,r){if(e==="mousemoveoutside"||e==="clickoutside"){const o=Do(e,t,n);return Object.keys(o).forEach(i=>{re(i,document,o[i],r)}),!0}return!1}function La(e,t,n,r){if(e==="mousemoveoutside"||e==="clickoutside"){const o=Do(e,t,n);return Object.keys(o).forEach(i=>{K(i,document,o[i],r)}),!0}return!1}function Fa(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function r(){e.set(this,!0),t.set(this,!0)}function o(p,m,O){const $=p[m];return p[m]=function(){return O.apply(p,arguments),$.apply(p,arguments)},p}function i(p,m){p[m]=Event.prototype[m]}const a=new WeakMap,l=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function s(){var p;return(p=a.get(this))!==null&&p!==void 0?p:null}function u(p,m){l!==void 0&&Object.defineProperty(p,"currentTarget",{configurable:!0,enumerable:!0,get:m!=null?m:l.get})}const c={bubble:{},capture:{}},v={};function h(){const p=function(m){const{type:O,eventPhase:$,bubbles:B}=m,R=Jt(m);if($===2)return;const k=$===1?"capture":"bubble";let V=R;const S=[];for(;V===null&&(V=window),S.push(V),V!==window;)V=V.parentNode||null;const I=c.capture[O],U=c.bubble[O];if(o(m,"stopPropagation",n),o(m,"stopImmediatePropagation",r),u(m,s),k==="capture"){if(I===void 0)return;for(let J=S.length-1;J>=0&&!e.has(m);--J){const ie=S[J],Q=I.get(ie);if(Q!==void 0){a.set(m,ie);for(const fe of Q){if(t.has(m))break;fe(m)}}if(J===0&&!B&&U!==void 0){const fe=U.get(ie);if(fe!==void 0)for(const nt of fe){if(t.has(m))break;nt(m)}}}}else if(k==="bubble"){if(U===void 0)return;for(let J=0;J<S.length&&!e.has(m);++J){const ie=S[J],Q=U.get(ie);if(Q!==void 0){a.set(m,ie);for(const fe of Q){if(t.has(m))break;fe(m)}}}}i(m,"stopPropagation"),i(m,"stopImmediatePropagation"),u(m)};return p.displayName="evtdUnifiedHandler",p}function b(){const p=function(m){const{type:O,eventPhase:$}=m;if($!==2)return;const B=v[O];B!==void 0&&B.forEach(R=>R(m))};return p.displayName="evtdUnifiedWindowEventHandler",p}const d=h(),y=b();function g(p,m){const O=c[p];return O[m]===void 0&&(O[m]=new Map,window.addEventListener(m,d,p==="capture")),O[m]}function f(p){return v[p]===void 0&&(v[p]=new Set,window.addEventListener(p,y)),v[p]}function T(p,m){let O=p.get(m);return O===void 0&&p.set(m,O=new Set),O}function D(p,m,O,$){const B=c[m][O];if(B!==void 0){const R=B.get(p);if(R!==void 0&&R.has($))return!0}return!1}function H(p,m){const O=v[p];return!!(O!==void 0&&O.has(m))}function W(p,m,O,$){let B;if(typeof $=="object"&&$.once===!0?B=I=>{j(p,m,B,$),O(I)}:B=O,Ha(p,m,B,$))return;const k=$===!0||typeof $=="object"&&$.capture===!0?"capture":"bubble",V=g(k,p),S=T(V,m);if(S.has(B)||S.add(B),m===window){const I=f(p);I.has(B)||I.add(B)}}function j(p,m,O,$){if(La(p,m,O,$))return;const R=$===!0||typeof $=="object"&&$.capture===!0,k=R?"capture":"bubble",V=g(k,p),S=T(V,m);if(m===window&&!D(m,R?"bubble":"capture",p,O)&&H(p,O)){const U=v[p];U.delete(O),U.size===0&&(window.removeEventListener(p,y),v[p]=void 0)}S.has(O)&&S.delete(O),S.size===0&&V.delete(m),V.size===0&&(window.removeEventListener(p,d,k==="capture"),c[k][p]=void 0)}return{on:W,off:j}}const{on:re,off:K}=Fa();function ka(e){const t=A(!!e.value);if(t.value)return Ln(t);const n=$e(e,r=>{r&&(t.value=!0,n())});return Ln(t)}function Pt(e){const t=F(e),n=A(t.value);return $e(t,r=>{n.value=r}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(r){e.set(r)}}}const ja=typeof window<"u";let ut,$t;const Wa=()=>{var e,t;ut=ja?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,$t=!1,ut!==void 0?ut.then(()=>{$t=!0}):$t=!0};Wa();function Na(e){if($t)return;let t=!1;_e(()=>{$t||ut==null||ut.then(()=>{t||e()})}),Oe(()=>{t=!0})}function Va(e,t){return $e(e,n=>{n!==void 0&&(t.value=n)}),F(()=>e.value===void 0?t.value:e.value)}function rr(){const e=A(!1);return _e(()=>{e.value=!0}),Ln(e)}function Ua(e,t){return F(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const Xa=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function Ya(){return Xa}const Za="n-internal-select-menu-body",Ho="n-drawer-body",Lo="n-modal-body",Fo="n-popover-body",ko="__disabled__";function ft(e){const t=ne(Lo,null),n=ne(Ho,null),r=ne(Fo,null),o=ne(Za,null),i=A();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};_e(()=>{re("fullscreenchange",document,a)}),Oe(()=>{K("fullscreenchange",document,a)})}return Pt(()=>{var a;const{to:l}=e;return l!==void 0?l===!1?ko:l===!0?i.value||"body":l:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:n!=null&&n.value?n.value:r!=null&&r.value?r.value:o!=null&&o.value?o.value:l!=null?l:i.value||"body"})}ft.tdkey=ko;ft.propTo={type:[String,Object,Boolean],default:void 0};const qa=typeof document<"u"&&typeof window<"u";function Ga(e){const t={isDeactivated:!1};let n=!1;return Ta(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Oa(()=>{t.isDeactivated=!0,n||(n=!0)}),t}let tn=[];const jo=new WeakMap;function Ka(){tn.forEach(e=>e(...jo.get(e))),tn=[]}function Wo(e,...t){jo.set(e,t),!tn.includes(e)&&tn.push(e)===1&&requestAnimationFrame(Ka)}function nn(e){return e.composedPath()[0]||null}function Or(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function Ct(e,t){const n=e.trim().split(/\s+/g),r={top:n[0]};switch(n.length){case 1:r.right=n[0],r.bottom=n[0],r.left=n[0];break;case 2:r.right=n[1],r.left=n[1],r.bottom=n[0];break;case 3:r.right=n[1],r.bottom=n[2],r.left=n[1];break;case 4:r.right=n[1],r.bottom=n[2],r.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return r}const Mr={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},vt="^\\s*",pt="\\s*$",Ne="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",Ve="([0-9A-Fa-f])",Ue="([0-9A-Fa-f]{2})",Ja=new RegExp(`${vt}rgb\\s*\\(${Ne},${Ne},${Ne}\\)${pt}`),Qa=new RegExp(`${vt}rgba\\s*\\(${Ne},${Ne},${Ne},${Ne}\\)${pt}`),el=new RegExp(`${vt}#${Ve}${Ve}${Ve}${pt}`),tl=new RegExp(`${vt}#${Ue}${Ue}${Ue}${pt}`),nl=new RegExp(`${vt}#${Ve}${Ve}${Ve}${Ve}${pt}`),rl=new RegExp(`${vt}#${Ue}${Ue}${Ue}${Ue}${pt}`);function de(e){return parseInt(e,16)}function ht(e){try{let t;if(t=tl.exec(e))return[de(t[1]),de(t[2]),de(t[3]),1];if(t=Ja.exec(e))return[se(t[1]),se(t[5]),se(t[9]),1];if(t=Qa.exec(e))return[se(t[1]),se(t[5]),se(t[9]),Tt(t[13])];if(t=el.exec(e))return[de(t[1]+t[1]),de(t[2]+t[2]),de(t[3]+t[3]),1];if(t=rl.exec(e))return[de(t[1]),de(t[2]),de(t[3]),Tt(de(t[4])/255)];if(t=nl.exec(e))return[de(t[1]+t[1]),de(t[2]+t[2]),de(t[3]+t[3]),Tt(de(t[4]+t[4])/255)];if(e in Mr)return ht(Mr[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function ol(e){return e>1?1:e<0?0:e}function il(e,t,n,r){return`rgba(${se(e)}, ${se(t)}, ${se(n)}, ${ol(r)})`}function xn(e,t,n,r,o){return se((e*t*(1-r)+n*r)/o)}function No(e,t){Array.isArray(e)||(e=ht(e)),Array.isArray(t)||(t=ht(t));const n=e[3],r=t[3],o=Tt(n+r-n*r);return il(xn(e[0],n,t[0],r,o),xn(e[1],n,t[1],r,o),xn(e[2],n,t[2],r,o),o)}function jt(e,t){const[n,r,o,i=1]=Array.isArray(e)?e:ht(e),{lightness:a=1,alpha:l=1}=t;return al([n*a,r*a,o*a,i*l])}function Tt(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function se(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function al(e){const[t,n,r]=e;return 3 in e?`rgba(${se(t)}, ${se(n)}, ${se(r)}, ${Tt(e[3])})`:`rgba(${se(t)}, ${se(n)}, ${se(r)}, 1)`}function Vo(e=8){return Math.random().toString(16).slice(2,2+e)}function Fn(e,t,n="default"){const r=t[n];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return r()}function kn(e,t=!0,n=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&n.push(Ro(String(r)));return}if(Array.isArray(r)){kn(r,t,n);return}if(r.type===Ae){if(r.children===null)return;Array.isArray(r.children)&&kn(r.children,t,n)}else r.type!==er&&n.push(r)}}),n}function Pr(e,t,n="default"){const r=t[n];if(r===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const o=kn(r());if(o.length===1)return o[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let He=null;function Uo(){if(He===null&&(He=document.getElementById("v-binder-view-measurer"),He===null)){He=document.createElement("div"),He.id="v-binder-view-measurer";const{style:e}=He;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(He)}return He.getBoundingClientRect()}function ll(e,t){const n=Uo();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Cn(e){const t=e.getBoundingClientRect(),n=Uo();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function sl(e){return e.nodeType===9?null:e.parentNode}function Xo(e){if(e===null)return null;const t=sl(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:r,overflowY:o}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+o+r))return t}return Xo(t)}const ul=oe({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;Ye("VBinder",(t=tr())===null||t===void 0?void 0:t.proxy);const n=ne("VBinder",null),r=A(null),o=f=>{r.value=f,n&&e.syncTargetWithParent&&n.setTargetRef(f)};let i=[];const a=()=>{let f=r.value;for(;f=Xo(f),f!==null;)i.push(f);for(const T of i)re("scroll",T,v,!0)},l=()=>{for(const f of i)K("scroll",f,v,!0);i=[]},s=new Set,u=f=>{s.size===0&&a(),s.has(f)||s.add(f)},c=f=>{s.has(f)&&s.delete(f),s.size===0&&l()},v=()=>{Wo(h)},h=()=>{s.forEach(f=>f())},b=new Set,d=f=>{b.size===0&&re("resize",window,g),b.has(f)||b.add(f)},y=f=>{b.has(f)&&b.delete(f),b.size===0&&K("resize",window,g)},g=()=>{b.forEach(f=>f())};return Oe(()=>{K("resize",window,g),l()}),{targetRef:r,setTargetRef:o,addScrollListener:u,removeScrollListener:c,addResizeListener:d,removeResizeListener:y}},render(){return Fn("binder",this.$slots)}}),cl=oe({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=ne("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?dt(Pr("follower",this.$slots),[[t]]):Pr("follower",this.$slots)}}),ot="@@mmoContext",dl={mounted(e,{value:t}){e[ot]={handler:void 0},typeof t=="function"&&(e[ot].handler=t,re("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[ot];typeof t=="function"?n.handler?n.handler!==t&&(K("mousemoveoutside",e,n.handler),n.handler=t,re("mousemoveoutside",e,t)):(e[ot].handler=t,re("mousemoveoutside",e,t)):n.handler&&(K("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[ot];t&&K("mousemoveoutside",e,t),e[ot].handler=void 0}},it="@@coContext",Er={mounted(e,{value:t,modifiers:n}){e[it]={handler:void 0},typeof t=="function"&&(e[it].handler=t,re("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const r=e[it];typeof t=="function"?r.handler?r.handler!==t&&(K("clickoutside",e,r.handler,{capture:n.capture}),r.handler=t,re("clickoutside",e,t,{capture:n.capture})):(e[it].handler=t,re("clickoutside",e,t,{capture:n.capture})):r.handler&&(K("clickoutside",e,r.handler,{capture:n.capture}),r.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[it];n&&K("clickoutside",e,n,{capture:t.capture}),e[it].handler=void 0}};function fl(e,t){console.error(`[vdirs/${e}]: ${t}`)}class hl{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,n){const{elementZIndex:r}=this;if(n!==void 0){t.style.zIndex=`${n}`,r.delete(t);return}const{nextZIndex:o}=this;r.has(t)&&r.get(t)+1===this.nextZIndex||(t.style.zIndex=`${o}`,r.set(t,o),this.nextZIndex=o+1,this.squashState())}unregister(t,n){const{elementZIndex:r}=this;r.has(t)?r.delete(t):n===void 0&&fl("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((n,r)=>n[1]-r[1]),this.nextZIndex=2e3,t.forEach(n=>{const r=n[0],o=this.nextZIndex++;`${o}`!==r.style.zIndex&&(r.style.zIndex=`${o}`)})}}const Sn=new hl,at="@@ziContext",or={mounted(e,t){const{value:n={}}=t,{zIndex:r,enabled:o}=n;e[at]={enabled:!!o,initialized:!1},o&&(Sn.ensureZIndex(e,r),e[at].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:r,enabled:o}=n,i=e[at].enabled;o&&!i&&(Sn.ensureZIndex(e,r),e[at].initialized=!0),e[at].enabled=!!o},unmounted(e,t){if(!e[at].initialized)return;const{value:n={}}=t,{zIndex:r}=n;Sn.unregister(e,r)}},vl="@css-render/vue3-ssr";function pl(e,t){return`<style cssr-id="${e}">
|
|
2
|
-
${t}
|
|
3
|
-
</style>`}function gl(e,t,n){const{styles:r,ids:o}=n;o.has(e)||r!==null&&(o.add(e),r.push(pl(e,t)))}const ml=typeof document<"u";function Rt(){if(ml)return;const e=ne(vl,null);if(e!==null)return{adapter:(t,n)=>gl(t,n,e),context:e}}function zr(e,t){console.error(`[vueuc/${e}]: ${t}`)}function bl(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const Yo=/\s*,(?![^(]*\))\s*/g,wl=/\s+/g;function yl(e,t){const n=[];return t.split(Yo).forEach(r=>{let o=bl(r);if(o){if(o===1){e.forEach(a=>{n.push(r.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+r)});return}let i=[r];for(;o--;){const a=[];i.forEach(l=>{e.forEach(s=>{a.push(l.replace("&",s))})}),i=a}i.forEach(a=>n.push(a))}),n}function xl(e,t){const n=[];return t.split(Yo).forEach(r=>{e.forEach(o=>{n.push((o&&o+" ")+r)})}),n}function Cl(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=yl(t,n):t=xl(t,n))}),t.join(", ").replace(wl," ")}function Ar(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function un(e,t){return(t!=null?t:document.head).querySelector(`style[cssr-id="${e}"]`)}function Sl(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Wt(e){return e?/^\s*@(s|m)/.test(e):!1}const $l=/[A-Z]/g;function Zo(e){return e.replace($l,t=>"-"+t.toLowerCase())}function Tl(e,t=" "){return typeof e=="object"&&e!==null?` {
|
|
4
|
-
`+Object.entries(e).map(n=>t+` ${Zo(n[0])}: ${n[1]};`).join(`
|
|
5
|
-
`)+`
|
|
6
|
-
`+t+"}":`: ${e};`}function Ol(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function _r(e,t,n,r){if(!t)return"";const o=Ol(t,n,r);if(!o)return"";if(typeof o=="string")return`${e} {
|
|
7
|
-
${o}
|
|
8
|
-
}`;const i=Object.keys(o);if(i.length===0)return n.config.keepEmptyBlock?e+` {
|
|
9
|
-
}`:"";const a=e?[e+" {"]:[];return i.forEach(l=>{const s=o[l];if(l==="raw"){a.push(`
|
|
10
|
-
`+s+`
|
|
11
|
-
`);return}l=Zo(l),s!=null&&a.push(` ${l}${Tl(s)}`)}),e&&a.push("}"),a.join(`
|
|
12
|
-
`)}function jn(e,t,n){e&&e.forEach(r=>{if(Array.isArray(r))jn(r,t,n);else if(typeof r=="function"){const o=r(t);Array.isArray(o)?jn(o,t,n):o&&n(o)}else r&&n(r)})}function qo(e,t,n,r,o){const i=e.$;let a="";if(!i||typeof i=="string")Wt(i)?a=i:t.push(i);else if(typeof i=="function"){const u=i({context:r.context,props:o});Wt(u)?a=u:t.push(u)}else if(i.before&&i.before(r.context),!i.$||typeof i.$=="string")Wt(i.$)?a=i.$:t.push(i.$);else if(i.$){const u=i.$({context:r.context,props:o});Wt(u)?a=u:t.push(u)}const l=Cl(t),s=_r(l,e.props,r,o);a?n.push(`${a} {`):s.length&&n.push(s),e.children&&jn(e.children,{context:r.context,props:o},u=>{if(typeof u=="string"){const c=_r(l,{raw:u},r,o);n.push(c)}else qo(u,t,n,r,o)}),t.pop(),a&&n.push("}"),i&&i.after&&i.after(r.context)}function Ml(e,t,n){const r=[];return qo(e,[],r,t,n),r.join(`
|
|
13
|
-
|
|
14
|
-
`)}function Wn(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function Pl(e,t,n,r){const{els:o}=t;if(n===void 0)o.forEach(Ar),t.els=[];else{const i=un(n,r);i&&o.includes(i)&&(Ar(i),t.els=o.filter(a=>a!==i))}}function Rr(e,t){e.push(t)}function El(e,t,n,r,o,i,a,l,s){let u;if(n===void 0&&(u=t.render(r),n=Wn(u)),s){s.adapter(n,u!=null?u:t.render(r));return}l===void 0&&(l=document.head);const c=un(n,l);if(c!==null&&!i)return c;const v=c!=null?c:Sl(n);if(u===void 0&&(u=t.render(r)),v.textContent=u,c!==null)return c;if(a){const h=l.querySelector(`meta[name="${a}"]`);if(h)return l.insertBefore(v,h),Rr(t.els,v),v}return o?l.insertBefore(v,l.querySelector("style, link")):l.appendChild(v),Rr(t.els,v),v}function zl(e){return Ml(this,this.instance,e)}function Al(e={}){const{id:t,ssr:n,props:r,head:o=!1,force:i=!1,anchorMetaName:a,parent:l}=e;return El(this.instance,this,t,r,o,i,a,l,n)}function _l(e={}){const{id:t,parent:n}=e;Pl(this.instance,this,t,n)}const Nt=function(e,t,n,r){return{instance:e,$:t,props:n,children:r,els:[],render:zl,mount:Al,unmount:_l}},Rl=function(e,t,n,r){return Array.isArray(t)?Nt(e,{$:null},null,t):Array.isArray(n)?Nt(e,t,null,n):Array.isArray(r)?Nt(e,t,n,r):Nt(e,t,n,null)};function Go(e={}){const t={c:(...n)=>Rl(t,...n),use:(n,...r)=>n.install(t,...r),find:un,context:{},config:e};return t}function Bl(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return un(e)!==null}const{c:Vt}=Go(),Il="vueuc-style";function Br(e){return typeof e=="string"?document.querySelector(e):e()}const Ko=oe({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:ka(me(e,"show")),mergedTo:F(()=>{const{to:t}=e;return t!=null?t:"body"})}},render(){return this.showTeleport?this.disabled?Fn("lazy-teleport",this.$slots):w(Ma,{disabled:this.disabled,to:this.mergedTo},Fn("lazy-teleport",this.$slots)):null}}),Ut={top:"bottom",bottom:"top",left:"right",right:"left"},Ir={start:"end",center:"center",end:"start"},$n={top:"height",bottom:"height",left:"width",right:"width"},Dl={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Hl={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Ll={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Dr={top:!0,bottom:!1,left:!0,right:!1},Hr={top:"end",bottom:"start",left:"end",right:"start"};function Fl(e,t,n,r,o,i){if(!o||i)return{placement:e,top:0,left:0};const[a,l]=e.split("-");let s=l!=null?l:"center",u={top:0,left:0};const c=(b,d,y)=>{let g=0,f=0;const T=n[b]-t[d]-t[b];return T>0&&r&&(y?f=Dr[d]?T:-T:g=Dr[d]?T:-T),{left:g,top:f}},v=a==="left"||a==="right";if(s!=="center"){const b=Ll[e],d=Ut[b],y=$n[b];if(n[y]>t[y]){if(t[b]+t[y]<n[y]){const g=(n[y]-t[y])/2;t[b]<g||t[d]<g?t[b]<t[d]?(s=Ir[l],u=c(y,d,v)):u=c(y,b,v):s="center"}}else n[y]<t[y]&&t[d]<0&&t[b]>t[d]&&(s=Ir[l])}else{const b=a==="bottom"||a==="top"?"left":"top",d=Ut[b],y=$n[b],g=(n[y]-t[y])/2;(t[b]<g||t[d]<g)&&(t[b]>t[d]?(s=Hr[b],u=c(y,b,v)):(s=Hr[d],u=c(y,d,v)))}let h=a;return t[a]<n[$n[a]]&&t[a]<t[Ut[a]]&&(h=Ut[a]),{placement:s!=="center"?`${h}-${s}`:h,left:u.left,top:u.top}}function kl(e,t){return t?Hl[e]:Dl[e]}function jl(e,t,n,r,o,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:""};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:""};case"right-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+n.width+o)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2+r)}px`,left:`${Math.round(n.left-t.left+o)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height+r)}px`,left:`${Math.round(n.left-t.left+n.width/2+o)}px`,transform:"translateX(-50%)"}}}const Wl=Vt([Vt(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),Vt(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[Vt("> *",{pointerEvents:"all"})])]),Nl=oe({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=ne("VBinder"),n=Pt(()=>e.enabled!==void 0?e.enabled:e.show),r=A(null),o=A(null),i=()=>{const{syncTrigger:h}=e;h.includes("scroll")&&t.addScrollListener(s),h.includes("resize")&&t.addResizeListener(s)},a=()=>{t.removeScrollListener(s),t.removeResizeListener(s)};_e(()=>{n.value&&(s(),i())});const l=Rt();Wl.mount({id:"vueuc/binder",head:!0,anchorMetaName:Il,ssr:l}),Oe(()=>{a()}),Na(()=>{n.value&&s()});const s=()=>{if(!n.value)return;const h=r.value;if(h===null)return;const b=t.targetRef,{x:d,y,overlap:g}=e,f=d!==void 0&&y!==void 0?ll(d,y):Cn(b);h.style.setProperty("--v-target-width",`${Math.round(f.width)}px`),h.style.setProperty("--v-target-height",`${Math.round(f.height)}px`);const{width:T,minWidth:D,placement:H,internalShift:W,flip:j}=e;h.setAttribute("v-placement",H),g?h.setAttribute("v-overlap",""):h.removeAttribute("v-overlap");const{style:p}=h;T==="target"?p.width=`${f.width}px`:T!==void 0?p.width=T:p.width="",D==="target"?p.minWidth=`${f.width}px`:D!==void 0?p.minWidth=D:p.minWidth="";const m=Cn(h),O=Cn(o.value),{left:$,top:B,placement:R}=Fl(H,f,m,W,j,g),k=kl(R,g),{left:V,top:S,transform:I}=jl(R,O,f,B,$,g);h.setAttribute("v-placement",R),h.style.setProperty("--v-offset-left",`${Math.round($)}px`),h.style.setProperty("--v-offset-top",`${Math.round(B)}px`),h.style.transform=`translateX(${V}) translateY(${S}) ${I}`,h.style.setProperty("--v-transform-origin",k),h.style.transformOrigin=k};$e(n,h=>{h?(i(),u()):a()});const u=()=>{Pa().then(s).catch(h=>console.error(h))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(h=>{$e(me(e,h),s)}),["teleportDisabled"].forEach(h=>{$e(me(e,h),u)}),$e(me(e,"syncTrigger"),h=>{h.includes("resize")?t.addResizeListener(s):t.removeResizeListener(s),h.includes("scroll")?t.addScrollListener(s):t.removeScrollListener(s)});const c=rr(),v=Pt(()=>{const{to:h}=e;if(h!==void 0)return h;c.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:o,followerRef:r,mergedTo:v,syncPosition:s}},render(){return w(Ko,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=w("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[w("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?dt(n,[[or,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var Ze=[],Vl=function(){return Ze.some(function(e){return e.activeTargets.length>0})},Ul=function(){return Ze.some(function(e){return e.skippedTargets.length>0})},Lr="ResizeObserver loop completed with undelivered notifications.",Xl=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Lr}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Lr),window.dispatchEvent(e)},Et;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Et||(Et={}));var qe=function(e){return Object.freeze(e)},Yl=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,qe(this)}return e}(),Jo=function(){function e(t,n,r,o){return this.x=t,this.y=n,this.width=r,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,qe(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,r=t.y,o=t.top,i=t.right,a=t.bottom,l=t.left,s=t.width,u=t.height;return{x:n,y:r,top:o,right:i,bottom:a,left:l,width:s,height:u}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),ir=function(e){return e instanceof SVGElement&&"getBBox"in e},Qo=function(e){if(ir(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},Fr=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},Zl=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Ot=typeof window<"u"?window:{},Xt=new WeakMap,kr=/auto|scroll/,ql=/^tb|vertical/,Gl=/msie|trident/i.test(Ot.navigator&&Ot.navigator.userAgent),Se=function(e){return parseFloat(e||"0")},ct=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new Yl((n?t:e)||0,(n?e:t)||0)},jr=qe({devicePixelContentBoxSize:ct(),borderBoxSize:ct(),contentBoxSize:ct(),contentRect:new Jo(0,0,0,0)}),ei=function(e,t){if(t===void 0&&(t=!1),Xt.has(e)&&!t)return Xt.get(e);if(Qo(e))return Xt.set(e,jr),jr;var n=getComputedStyle(e),r=ir(e)&&e.ownerSVGElement&&e.getBBox(),o=!Gl&&n.boxSizing==="border-box",i=ql.test(n.writingMode||""),a=!r&&kr.test(n.overflowY||""),l=!r&&kr.test(n.overflowX||""),s=r?0:Se(n.paddingTop),u=r?0:Se(n.paddingRight),c=r?0:Se(n.paddingBottom),v=r?0:Se(n.paddingLeft),h=r?0:Se(n.borderTopWidth),b=r?0:Se(n.borderRightWidth),d=r?0:Se(n.borderBottomWidth),y=r?0:Se(n.borderLeftWidth),g=v+u,f=s+c,T=y+b,D=h+d,H=l?e.offsetHeight-D-e.clientHeight:0,W=a?e.offsetWidth-T-e.clientWidth:0,j=o?g+T:0,p=o?f+D:0,m=r?r.width:Se(n.width)-j-W,O=r?r.height:Se(n.height)-p-H,$=m+g+W+T,B=O+f+H+D,R=qe({devicePixelContentBoxSize:ct(Math.round(m*devicePixelRatio),Math.round(O*devicePixelRatio),i),borderBoxSize:ct($,B,i),contentBoxSize:ct(m,O,i),contentRect:new Jo(v,s,m,O)});return Xt.set(e,R),R},ti=function(e,t,n){var r=ei(e,n),o=r.borderBoxSize,i=r.contentBoxSize,a=r.devicePixelContentBoxSize;switch(t){case Et.DEVICE_PIXEL_CONTENT_BOX:return a;case Et.BORDER_BOX:return o;default:return i}},Kl=function(){function e(t){var n=ei(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=qe([n.borderBoxSize]),this.contentBoxSize=qe([n.contentBoxSize]),this.devicePixelContentBoxSize=qe([n.devicePixelContentBoxSize])}return e}(),ni=function(e){if(Qo(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},Jl=function(){var e=1/0,t=[];Ze.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(u){var c=new Kl(u.target),v=ni(u.target);l.push(c),u.lastReportedSize=ti(u.target,u.observedBox),v<e&&(e=v)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var n=0,r=t;n<r.length;n++){var o=r[n];o()}return e},Wr=function(e){Ze.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(o){o.isActive()&&(ni(o.target)>e?n.activeTargets.push(o):n.skippedTargets.push(o))})})},Ql=function(){var e=0;for(Wr(e);Vl();)e=Jl(),Wr(e);return Ul()&&Xl(),e>0},Tn,ri=[],es=function(){return ri.splice(0).forEach(function(e){return e()})},ts=function(e){if(!Tn){var t=0,n=document.createTextNode(""),r={characterData:!0};new MutationObserver(function(){return es()}).observe(n,r),Tn=function(){n.textContent="".concat(t?t--:t++)}}ri.push(e),Tn()},ns=function(e){ts(function(){requestAnimationFrame(e)})},Qt=0,rs=function(){return!!Qt},os=250,is={attributes:!0,characterData:!0,childList:!0,subtree:!0},Nr=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Vr=function(e){return e===void 0&&(e=0),Date.now()+e},On=!1,as=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=os),!On){On=!0;var r=Vr(t);ns(function(){var o=!1;try{o=Ql()}finally{if(On=!1,t=r-Vr(),!rs())return;o?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,is)};document.body?n():Ot.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Nr.forEach(function(n){return Ot.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Nr.forEach(function(n){return Ot.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),Nn=new as,Ur=function(e){!Qt&&e>0&&Nn.start(),Qt+=e,!Qt&&Nn.stop()},ls=function(e){return!ir(e)&&!Zl(e)&&getComputedStyle(e).display==="inline"},ss=function(){function e(t,n){this.target=t,this.observedBox=n||Et.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=ti(this.target,this.observedBox,!0);return ls(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),us=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Yt=new WeakMap,Xr=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Zt=function(){function e(){}return e.connect=function(t,n){var r=new us(t,n);Yt.set(t,r)},e.observe=function(t,n,r){var o=Yt.get(t),i=o.observationTargets.length===0;Xr(o.observationTargets,n)<0&&(i&&Ze.push(o),o.observationTargets.push(new ss(n,r&&r.box)),Ur(1),Nn.schedule())},e.unobserve=function(t,n){var r=Yt.get(t),o=Xr(r.observationTargets,n),i=r.observationTargets.length===1;o>=0&&(i&&Ze.splice(Ze.indexOf(r),1),r.observationTargets.splice(o,1),Ur(-1))},e.disconnect=function(t){var n=this,r=Yt.get(t);r.observationTargets.slice().forEach(function(o){return n.unobserve(t,o.target)}),r.activeTargets.splice(0,r.activeTargets.length)},e}(),cs=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Zt.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Fr(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Zt.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Fr(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Zt.unobserve(this,t)},e.prototype.disconnect=function(){Zt.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class ds{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||cs)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const r=this.elHandlersMap.get(n.target);r!==void 0&&r(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Yr=new ds,Zr=oe({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=tr().proxy;function r(o){const{onResize:i}=e;i!==void 0&&i(o)}_e(()=>{const o=n.$el;if(o===void 0){zr("resize-observer","$el does not exist.");return}if(o.nextElementSibling!==o.nextSibling&&o.nodeType===3&&o.nodeValue!==""){zr("resize-observer","$el can not be observed (it may be a text node).");return}o.nextElementSibling!==null&&(Yr.registerHandler(o.nextElementSibling,r),t=!0)}),Oe(()=>{t&&Yr.unregisterHandler(n.$el.nextElementSibling)})},render(){return Ea(this.$slots,"default")}});function oi(e){return e instanceof HTMLElement}function ii(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(oi(n)&&(li(n)||ii(n)))return!0}return!1}function ai(e){for(let t=e.childNodes.length-1;t>=0;t--){const n=e.childNodes[t];if(oi(n)&&(li(n)||ai(n)))return!0}return!1}function li(e){if(!fs(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function fs(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let bt=[];const hs=oe({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Vo(),n=A(null),r=A(null);let o=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function l(){return bt[bt.length-1]===t}function s(g){var f;g.code==="Escape"&&l()&&((f=e.onEsc)===null||f===void 0||f.call(e,g))}_e(()=>{$e(()=>e.active,g=>{g?(v(),re("keydown",document,s)):(K("keydown",document,s),o&&h())},{immediate:!0})}),Oe(()=>{K("keydown",document,s),o&&h()});function u(g){if(!i&&l()){const f=c();if(f===null||f.contains(nn(g)))return;b("first")}}function c(){const g=n.value;if(g===null)return null;let f=g;for(;f=f.nextSibling,!(f===null||f instanceof Element&&f.tagName==="DIV"););return f}function v(){var g;if(!e.disabled){if(bt.push(t),e.autoFocus){const{initialFocusTo:f}=e;f===void 0?b("first"):(g=Br(f))===null||g===void 0||g.focus({preventScroll:!0})}o=!0,document.addEventListener("focus",u,!0)}}function h(){var g;if(e.disabled||(document.removeEventListener("focus",u,!0),bt=bt.filter(T=>T!==t),l()))return;const{finalFocusTo:f}=e;f!==void 0?(g=Br(f))===null||g===void 0||g.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function b(g){if(l()&&e.active){const f=n.value,T=r.value;if(f!==null&&T!==null){const D=c();if(D==null||D===T){i=!0,f.focus({preventScroll:!0}),i=!1;return}i=!0;const H=g==="first"?ii(D):ai(D);i=!1,H||(i=!0,f.focus({preventScroll:!0}),i=!1)}}}function d(g){if(i)return;const f=c();f!==null&&(g.relatedTarget!==null&&f.contains(g.relatedTarget)?b("last"):b("first"))}function y(g){i||(g.relatedTarget!==null&&g.relatedTarget===n.value?b("last"):b("first"))}return{focusableStartRef:n,focusableEndRef:r,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:d,handleEndFocus:y}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return w(Ae,null,[w("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),w("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}}),vs=/^(\d|\.)+$/,qr=/(\d|\.)+/;function Mn(e,{c:t=1,offset:n=0,attachPx:r=!0}={}){if(typeof e=="number"){const o=(e+n)*t;return o===0?"0":`${o}px`}else if(typeof e=="string")if(vs.test(e)){const o=(Number(e)+n)*t;return r?o===0?"0":`${o}px`:`${o}`}else{const o=qr.exec(e);return o?e.replace(qr,String((Number(o[0])+n)*t)):e}return e}function Gr(e){const{left:t,right:n,top:r,bottom:o}=Ct(e);return`${r} ${t} ${o} ${n}`}function ps(e){let t=".",n="__",r="--",o;if(e){let d=e.blockPrefix;d&&(t=d),d=e.elementPrefix,d&&(n=d),d=e.modifierPrefix,d&&(r=d)}const i={install(d){o=d.c;const y=d.context;y.bem={},y.bem.b=null,y.bem.els=null}};function a(d){let y,g;return{before(f){y=f.bem.b,g=f.bem.els,f.bem.els=null},after(f){f.bem.b=y,f.bem.els=g},$({context:f,props:T}){return d=typeof d=="string"?d:d({context:f,props:T}),f.bem.b=d,`${(T==null?void 0:T.bPrefix)||t}${f.bem.b}`}}}function l(d){let y;return{before(g){y=g.bem.els},after(g){g.bem.els=y},$({context:g,props:f}){return d=typeof d=="string"?d:d({context:g,props:f}),g.bem.els=d.split(",").map(T=>T.trim()),g.bem.els.map(T=>`${(f==null?void 0:f.bPrefix)||t}${g.bem.b}${n}${T}`).join(", ")}}}function s(d){return{$({context:y,props:g}){d=typeof d=="string"?d:d({context:y,props:g});const f=d.split(",").map(H=>H.trim());function T(H){return f.map(W=>`&${(g==null?void 0:g.bPrefix)||t}${y.bem.b}${H!==void 0?`${n}${H}`:""}${r}${W}`).join(", ")}const D=y.bem.els;return D!==null?T(D[0]):T()}}}function u(d){return{$({context:y,props:g}){d=typeof d=="string"?d:d({context:y,props:g});const f=y.bem.els;return`&:not(${(g==null?void 0:g.bPrefix)||t}${y.bem.b}${f!==null&&f.length>0?`${n}${f[0]}`:""}${r}${d})`}}}return Object.assign(i,{cB:(...d)=>o(a(d[0]),d[1],d[2]),cE:(...d)=>o(l(d[0]),d[1],d[2]),cM:(...d)=>o(s(d[0]),d[1],d[2]),cNotM:(...d)=>o(u(d[0]),d[1],d[2])}),i}const gs="n",ms=`.${gs}-`,bs="__",ws="--",si=Go(),ui=ps({blockPrefix:ms,elementPrefix:bs,modifierPrefix:ws});si.use(ui);const{c:L,find:gp}=si,{cB:G,cE:Xe,cM:ye,cNotM:en}=ui,ys=(...e)=>L(">",[G(...e)]);function xs(e,t){if(!e)return;const n=document.createElement("a");n.href=e,document.body.appendChild(n),n.click(),document.body.removeChild(n)}let Pn;function Cs(){return Pn===void 0&&(Pn=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Pn}function Kr(e,t){console.error(`[naive/${e}]: ${t}`)}function Ss(e,t){throw new Error(`[naive/${e}]: ${t}`)}function St(e,...t){if(Array.isArray(e))e.forEach(n=>St(n,...t));else return e(...t)}function Vn(e,t=!0,n=[]){return e.forEach(r=>{if(r!==null){if(typeof r!="object"){(typeof r=="string"||typeof r=="number")&&n.push(Ro(String(r)));return}if(Array.isArray(r)){Vn(r,t,n);return}if(r.type===Ae){if(r.children===null)return;Array.isArray(r.children)&&Vn(r.children,t,n)}else{if(r.type===er&&t)return;n.push(r)}}}),n}function $s(e,t="default",n=void 0){const r=e[t];if(!r)return Kr("getFirstSlotVNode",`slot[${t}] is empty`),null;const o=Vn(r(n));return o.length===1?o[0]:(Kr("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function Ts(e,t=[],n){const r={};return t.forEach(o=>{r[o]=e[o]}),Object.assign(r,n)}function cn(e){return e.some(t=>za(t)?!(t.type===er||t.type===Ae&&!cn(t.children)):!0)?e:null}function Os(e,t){return e&&cn(e())||t()}function En(e,t){const n=e&&cn(e());return t(n||null)}function Jr(e){return!(e&&cn(e()))}const Qr=oe({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),Je="n-config-provider",Ms="n";function gt(e={},t={defaultBordered:!0}){const n=ne(Je,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:F(()=>{var r,o;const{bordered:i}=e;return i!==void 0?i:(o=(r=n==null?void 0:n.mergedBorderedRef.value)!==null&&r!==void 0?r:t.defaultBordered)!==null&&o!==void 0?o:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Aa(Ms),namespaceRef:F(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function ar(e,t,n,r){n||Ss("useThemeClass","cssVarsRef is not passed");const o=ne(Je,null),i=o==null?void 0:o.mergedThemeHashRef,a=o==null?void 0:o.styleMountTarget,l=A(""),s=Rt();let u;const c=`__${e}`,v=()=>{let h=c;const b=i==null?void 0:i.value;b&&(h+=`-${b}`);const{themeOverrides:d,builtinThemeOverrides:y}=r;d&&(h+=`-${Wn(JSON.stringify(d))}`),y&&(h+=`-${Wn(JSON.stringify(y))}`),l.value=h,u=()=>{const g=n.value;let f="";for(const T in g)f+=`${T}: ${g[T]};`;L(`.${h}`,f).mount({id:h,ssr:s,parent:a}),u=void 0}};return Ge(()=>{v()}),{themeClass:l,onRender:()=>{u==null||u()}}}const Ps={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"YYYY-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}};function zn(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}function wt(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let o;if(r==="formatting"&&e.formattingValues){const a=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):a;o=e.formattingValues[l]||e.formattingValues[a]}else{const a=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[a]}const i=e.argumentCallback?e.argumentCallback(t):t;return o[i]}}function yt(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(l)?zs(l,v=>v.test(a)):Es(l,v=>v.test(a));let u;u=e.valueCallback?e.valueCallback(s):s,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(a.length);return{value:u,rest:c}}}function Es(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function zs(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function As(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;const l=t.slice(o.length);return{value:a,rest:l}}}const _s={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Rs=(e,t,n)=>{let r;const o=_s[e];return typeof o=="string"?r=o:t===1?r=o.one:r=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},Bs={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Is=(e,t,n,r)=>Bs[e],Ds={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Hs={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Ls={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Fs={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ks={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},js={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ws=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Ns={ordinalNumber:Ws,era:wt({values:Ds,defaultWidth:"wide"}),quarter:wt({values:Hs,defaultWidth:"wide",argumentCallback:e=>e-1}),month:wt({values:Ls,defaultWidth:"wide"}),day:wt({values:Fs,defaultWidth:"wide"}),dayPeriod:wt({values:ks,defaultWidth:"wide",formattingValues:js,defaultFormattingWidth:"wide"})},Vs=/^(\d+)(th|st|nd|rd)?/i,Us=/\d+/i,Xs={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ys={any:[/^b/i,/^(a|c)/i]},Zs={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},qs={any:[/1/i,/2/i,/3/i,/4/i]},Gs={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Ks={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Js={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Qs={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},eu={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},tu={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},nu={ordinalNumber:As({matchPattern:Vs,parsePattern:Us,valueCallback:e=>parseInt(e,10)}),era:yt({matchPatterns:Xs,defaultMatchWidth:"wide",parsePatterns:Ys,defaultParseWidth:"any"}),quarter:yt({matchPatterns:Zs,defaultMatchWidth:"wide",parsePatterns:qs,defaultParseWidth:"any",valueCallback:e=>e+1}),month:yt({matchPatterns:Gs,defaultMatchWidth:"wide",parsePatterns:Ks,defaultParseWidth:"any"}),day:yt({matchPatterns:Js,defaultMatchWidth:"wide",parsePatterns:Qs,defaultParseWidth:"any"}),dayPeriod:yt({matchPatterns:eu,defaultMatchWidth:"any",parsePatterns:tu,defaultParseWidth:"any"})},ru={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},ou={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},iu={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},au={date:zn({formats:ru,defaultWidth:"full"}),time:zn({formats:ou,defaultWidth:"full"}),dateTime:zn({formats:iu,defaultWidth:"full"})},lu={code:"en-US",formatDistance:Rs,formatLong:au,formatRelative:Is,localize:Ns,match:nu,options:{weekStartsOn:0,firstWeekContainsDate:1}},su={name:"en-US",locale:lu};var ci=typeof global=="object"&&global&&global.Object===Object&&global,uu=typeof self=="object"&&self&&self.Object===Object&&self,Me=ci||uu||Function("return this")(),Fe=Me.Symbol,di=Object.prototype,cu=di.hasOwnProperty,du=di.toString,xt=Fe?Fe.toStringTag:void 0;function fu(e){var t=cu.call(e,xt),n=e[xt];try{e[xt]=void 0;var r=!0}catch{}var o=du.call(e);return r&&(t?e[xt]=n:delete e[xt]),o}var hu=Object.prototype,vu=hu.toString;function pu(e){return vu.call(e)}var gu="[object Null]",mu="[object Undefined]",eo=Fe?Fe.toStringTag:void 0;function Qe(e){return e==null?e===void 0?mu:gu:eo&&eo in Object(e)?fu(e):pu(e)}function ke(e){return e!=null&&typeof e=="object"}var bu="[object Symbol]";function lr(e){return typeof e=="symbol"||ke(e)&&Qe(e)==bu}function fi(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var be=Array.isArray,to=Fe?Fe.prototype:void 0,no=to?to.toString:void 0;function hi(e){if(typeof e=="string")return e;if(be(e))return fi(e,hi)+"";if(lr(e))return no?no.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function je(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function sr(e){return e}var wu="[object AsyncFunction]",yu="[object Function]",xu="[object GeneratorFunction]",Cu="[object Proxy]";function ur(e){if(!je(e))return!1;var t=Qe(e);return t==yu||t==xu||t==wu||t==Cu}var An=Me["__core-js_shared__"],ro=function(){var e=/[^.]+$/.exec(An&&An.keys&&An.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Su(e){return!!ro&&ro in e}var $u=Function.prototype,Tu=$u.toString;function et(e){if(e!=null){try{return Tu.call(e)}catch{}try{return e+""}catch{}}return""}var Ou=/[\\^$.*+?()[\]{}|]/g,Mu=/^\[object .+?Constructor\]$/,Pu=Function.prototype,Eu=Object.prototype,zu=Pu.toString,Au=Eu.hasOwnProperty,_u=RegExp("^"+zu.call(Au).replace(Ou,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ru(e){if(!je(e)||Su(e))return!1;var t=ur(e)?_u:Mu;return t.test(et(e))}function Bu(e,t){return e==null?void 0:e[t]}function tt(e,t){var n=Bu(e,t);return Ru(n)?n:void 0}var Un=tt(Me,"WeakMap"),oo=Object.create,Iu=function(){function e(){}return function(t){if(!je(t))return{};if(oo)return oo(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Du(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Hu(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Lu=800,Fu=16,ku=Date.now;function ju(e){var t=0,n=0;return function(){var r=ku(),o=Fu-(r-n);if(n=r,o>0){if(++t>=Lu)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Wu(e){return function(){return e}}var rn=function(){try{var e=tt(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Nu=rn?function(e,t){return rn(e,"toString",{configurable:!0,enumerable:!1,value:Wu(t),writable:!0})}:sr,Vu=ju(Nu),Uu=9007199254740991,Xu=/^(?:0|[1-9]\d*)$/;function cr(e,t){var n=typeof e;return t=t==null?Uu:t,!!t&&(n=="number"||n!="symbol"&&Xu.test(e))&&e>-1&&e%1==0&&e<t}function dr(e,t,n){t=="__proto__"&&rn?rn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Bt(e,t){return e===t||e!==e&&t!==t}var Yu=Object.prototype,Zu=Yu.hasOwnProperty;function qu(e,t,n){var r=e[t];(!(Zu.call(e,t)&&Bt(r,n))||n===void 0&&!(t in e))&&dr(e,t,n)}function Gu(e,t,n,r){var o=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var l=t[i],s=void 0;s===void 0&&(s=e[l]),o?dr(n,l,s):qu(n,l,s)}return n}var io=Math.max;function Ku(e,t,n){return t=io(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=io(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(a),Du(e,this,l)}}function Ju(e,t){return Vu(Ku(e,t,sr),e+"")}var Qu=9007199254740991;function fr(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Qu}function mt(e){return e!=null&&fr(e.length)&&!ur(e)}function ec(e,t,n){if(!je(n))return!1;var r=typeof t;return(r=="number"?mt(n)&&cr(t,n.length):r=="string"&&t in n)?Bt(n[t],e):!1}function tc(e){return Ju(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(o--,i):void 0,a&&ec(n[0],n[1],a)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,i)}return t})}var nc=Object.prototype;function hr(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||nc;return e===n}function rc(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var oc="[object Arguments]";function ao(e){return ke(e)&&Qe(e)==oc}var vi=Object.prototype,ic=vi.hasOwnProperty,ac=vi.propertyIsEnumerable,on=ao(function(){return arguments}())?ao:function(e){return ke(e)&&ic.call(e,"callee")&&!ac.call(e,"callee")};function lc(){return!1}var pi=typeof exports=="object"&&exports&&!exports.nodeType&&exports,lo=pi&&typeof module=="object"&&module&&!module.nodeType&&module,sc=lo&&lo.exports===pi,so=sc?Me.Buffer:void 0,uc=so?so.isBuffer:void 0,an=uc||lc,cc="[object Arguments]",dc="[object Array]",fc="[object Boolean]",hc="[object Date]",vc="[object Error]",pc="[object Function]",gc="[object Map]",mc="[object Number]",bc="[object Object]",wc="[object RegExp]",yc="[object Set]",xc="[object String]",Cc="[object WeakMap]",Sc="[object ArrayBuffer]",$c="[object DataView]",Tc="[object Float32Array]",Oc="[object Float64Array]",Mc="[object Int8Array]",Pc="[object Int16Array]",Ec="[object Int32Array]",zc="[object Uint8Array]",Ac="[object Uint8ClampedArray]",_c="[object Uint16Array]",Rc="[object Uint32Array]",Z={};Z[Tc]=Z[Oc]=Z[Mc]=Z[Pc]=Z[Ec]=Z[zc]=Z[Ac]=Z[_c]=Z[Rc]=!0;Z[cc]=Z[dc]=Z[Sc]=Z[fc]=Z[$c]=Z[hc]=Z[vc]=Z[pc]=Z[gc]=Z[mc]=Z[bc]=Z[wc]=Z[yc]=Z[xc]=Z[Cc]=!1;function Bc(e){return ke(e)&&fr(e.length)&&!!Z[Qe(e)]}function Ic(e){return function(t){return e(t)}}var gi=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Mt=gi&&typeof module=="object"&&module&&!module.nodeType&&module,Dc=Mt&&Mt.exports===gi,_n=Dc&&ci.process,uo=function(){try{var e=Mt&&Mt.require&&Mt.require("util").types;return e||_n&&_n.binding&&_n.binding("util")}catch{}}(),co=uo&&uo.isTypedArray,vr=co?Ic(co):Bc,Hc=Object.prototype,Lc=Hc.hasOwnProperty;function mi(e,t){var n=be(e),r=!n&&on(e),o=!n&&!r&&an(e),i=!n&&!r&&!o&&vr(e),a=n||r||o||i,l=a?rc(e.length,String):[],s=l.length;for(var u in e)(t||Lc.call(e,u))&&!(a&&(u=="length"||o&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||cr(u,s)))&&l.push(u);return l}function bi(e,t){return function(n){return e(t(n))}}var Fc=bi(Object.keys,Object),kc=Object.prototype,jc=kc.hasOwnProperty;function Wc(e){if(!hr(e))return Fc(e);var t=[];for(var n in Object(e))jc.call(e,n)&&n!="constructor"&&t.push(n);return t}function pr(e){return mt(e)?mi(e):Wc(e)}function Nc(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Vc=Object.prototype,Uc=Vc.hasOwnProperty;function Xc(e){if(!je(e))return Nc(e);var t=hr(e),n=[];for(var r in e)r=="constructor"&&(t||!Uc.call(e,r))||n.push(r);return n}function wi(e){return mt(e)?mi(e,!0):Xc(e)}var Yc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zc=/^\w*$/;function gr(e,t){if(be(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||lr(e)?!0:Zc.test(e)||!Yc.test(e)||t!=null&&e in Object(t)}var zt=tt(Object,"create");function qc(){this.__data__=zt?zt(null):{},this.size=0}function Gc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Kc="__lodash_hash_undefined__",Jc=Object.prototype,Qc=Jc.hasOwnProperty;function ed(e){var t=this.__data__;if(zt){var n=t[e];return n===Kc?void 0:n}return Qc.call(t,e)?t[e]:void 0}var td=Object.prototype,nd=td.hasOwnProperty;function rd(e){var t=this.__data__;return zt?t[e]!==void 0:nd.call(t,e)}var od="__lodash_hash_undefined__";function id(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=zt&&t===void 0?od:t,this}function Ke(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ke.prototype.clear=qc;Ke.prototype.delete=Gc;Ke.prototype.get=ed;Ke.prototype.has=rd;Ke.prototype.set=id;function ad(){this.__data__=[],this.size=0}function dn(e,t){for(var n=e.length;n--;)if(Bt(e[n][0],t))return n;return-1}var ld=Array.prototype,sd=ld.splice;function ud(e){var t=this.__data__,n=dn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():sd.call(t,n,1),--this.size,!0}function cd(e){var t=this.__data__,n=dn(t,e);return n<0?void 0:t[n][1]}function dd(e){return dn(this.__data__,e)>-1}function fd(e,t){var n=this.__data__,r=dn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Re(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Re.prototype.clear=ad;Re.prototype.delete=ud;Re.prototype.get=cd;Re.prototype.has=dd;Re.prototype.set=fd;var At=tt(Me,"Map");function hd(){this.size=0,this.__data__={hash:new Ke,map:new(At||Re),string:new Ke}}function vd(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function fn(e,t){var n=e.__data__;return vd(t)?n[typeof t=="string"?"string":"hash"]:n.map}function pd(e){var t=fn(this,e).delete(e);return this.size-=t?1:0,t}function gd(e){return fn(this,e).get(e)}function md(e){return fn(this,e).has(e)}function bd(e,t){var n=fn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Be(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Be.prototype.clear=hd;Be.prototype.delete=pd;Be.prototype.get=gd;Be.prototype.has=md;Be.prototype.set=bd;var wd="Expected a function";function mr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(wd);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(mr.Cache||Be),n}mr.Cache=Be;var yd=500;function xd(e){var t=mr(e,function(r){return n.size===yd&&n.clear(),r}),n=t.cache;return t}var Cd=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sd=/\\(\\)?/g,$d=xd(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Cd,function(n,r,o,i){t.push(o?i.replace(Sd,"$1"):r||n)}),t});function hn(e){return e==null?"":hi(e)}function yi(e,t){return be(e)?e:gr(e,t)?[e]:$d(hn(e))}function vn(e){if(typeof e=="string"||lr(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function xi(e,t){t=yi(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[vn(t[n++])];return n&&n==r?e:void 0}function Td(e,t,n){var r=e==null?void 0:xi(e,t);return r===void 0?n:r}function Od(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var Ci=bi(Object.getPrototypeOf,Object),Md="[object Object]",Pd=Function.prototype,Ed=Object.prototype,Si=Pd.toString,zd=Ed.hasOwnProperty,Ad=Si.call(Object);function _d(e){if(!ke(e)||Qe(e)!=Md)return!1;var t=Ci(e);if(t===null)return!0;var n=zd.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Si.call(n)==Ad}function Rd(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}function Bd(e,t,n){var r=e.length;return n=n===void 0?r:n,Rd(e,t,n)}var Id="\\ud800-\\udfff",Dd="\\u0300-\\u036f",Hd="\\ufe20-\\ufe2f",Ld="\\u20d0-\\u20ff",Fd=Dd+Hd+Ld,kd="\\ufe0e\\ufe0f",jd="\\u200d",Wd=RegExp("["+jd+Id+Fd+kd+"]");function $i(e){return Wd.test(e)}function Nd(e){return e.split("")}var Ti="\\ud800-\\udfff",Vd="\\u0300-\\u036f",Ud="\\ufe20-\\ufe2f",Xd="\\u20d0-\\u20ff",Yd=Vd+Ud+Xd,Zd="\\ufe0e\\ufe0f",qd="["+Ti+"]",Xn="["+Yd+"]",Yn="\\ud83c[\\udffb-\\udfff]",Gd="(?:"+Xn+"|"+Yn+")",Oi="[^"+Ti+"]",Mi="(?:\\ud83c[\\udde6-\\uddff]){2}",Pi="[\\ud800-\\udbff][\\udc00-\\udfff]",Kd="\\u200d",Ei=Gd+"?",zi="["+Zd+"]?",Jd="(?:"+Kd+"(?:"+[Oi,Mi,Pi].join("|")+")"+zi+Ei+")*",Qd=zi+Ei+Jd,ef="(?:"+[Oi+Xn+"?",Xn,Mi,Pi,qd].join("|")+")",tf=RegExp(Yn+"(?="+Yn+")|"+ef+Qd,"g");function nf(e){return e.match(tf)||[]}function rf(e){return $i(e)?nf(e):Nd(e)}function of(e){return function(t){t=hn(t);var n=$i(t)?rf(t):void 0,r=n?n[0]:t.charAt(0),o=n?Bd(n,1).join(""):t.slice(1);return r[e]()+o}}var af=of("toUpperCase");function lf(e,t,n,r){for(var o=-1,i=e==null?0:e.length;++o<i;)n=t(n,e[o],o,e);return n}function sf(e){return function(t){return e==null?void 0:e[t]}}var uf={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},cf=sf(uf),df=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ff="\\u0300-\\u036f",hf="\\ufe20-\\ufe2f",vf="\\u20d0-\\u20ff",pf=ff+hf+vf,gf="["+pf+"]",mf=RegExp(gf,"g");function bf(e){return e=hn(e),e&&e.replace(df,cf).replace(mf,"")}var wf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function yf(e){return e.match(wf)||[]}var xf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Cf(e){return xf.test(e)}var Ai="\\ud800-\\udfff",Sf="\\u0300-\\u036f",$f="\\ufe20-\\ufe2f",Tf="\\u20d0-\\u20ff",Of=Sf+$f+Tf,_i="\\u2700-\\u27bf",Ri="a-z\\xdf-\\xf6\\xf8-\\xff",Mf="\\xac\\xb1\\xd7\\xf7",Pf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ef="\\u2000-\\u206f",zf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Bi="A-Z\\xc0-\\xd6\\xd8-\\xde",Af="\\ufe0e\\ufe0f",Ii=Mf+Pf+Ef+zf,Di="['’]",fo="["+Ii+"]",_f="["+Of+"]",Hi="\\d+",Rf="["+_i+"]",Li="["+Ri+"]",Fi="[^"+Ai+Ii+Hi+_i+Ri+Bi+"]",Bf="\\ud83c[\\udffb-\\udfff]",If="(?:"+_f+"|"+Bf+")",Df="[^"+Ai+"]",ki="(?:\\ud83c[\\udde6-\\uddff]){2}",ji="[\\ud800-\\udbff][\\udc00-\\udfff]",lt="["+Bi+"]",Hf="\\u200d",ho="(?:"+Li+"|"+Fi+")",Lf="(?:"+lt+"|"+Fi+")",vo="(?:"+Di+"(?:d|ll|m|re|s|t|ve))?",po="(?:"+Di+"(?:D|LL|M|RE|S|T|VE))?",Wi=If+"?",Ni="["+Af+"]?",Ff="(?:"+Hf+"(?:"+[Df,ki,ji].join("|")+")"+Ni+Wi+")*",kf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jf="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Wf=Ni+Wi+Ff,Nf="(?:"+[Rf,ki,ji].join("|")+")"+Wf,Vf=RegExp([lt+"?"+Li+"+"+vo+"(?="+[fo,lt,"$"].join("|")+")",Lf+"+"+po+"(?="+[fo,lt+ho,"$"].join("|")+")",lt+"?"+ho+"+"+vo,lt+"+"+po,jf,kf,Hi,Nf].join("|"),"g");function Uf(e){return e.match(Vf)||[]}function Xf(e,t,n){return e=hn(e),t=t,t===void 0?Cf(e)?Uf(e):yf(e):e.match(t)||[]}var Yf="['’]",Zf=RegExp(Yf,"g");function qf(e){return function(t){return lf(Xf(bf(t).replace(Zf,"")),e,"")}}function Gf(){this.__data__=new Re,this.size=0}function Kf(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Jf(e){return this.__data__.get(e)}function Qf(e){return this.__data__.has(e)}var eh=200;function th(e,t){var n=this.__data__;if(n instanceof Re){var r=n.__data__;if(!At||r.length<eh-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Be(r)}return n.set(e,t),this.size=n.size,this}function Te(e){var t=this.__data__=new Re(e);this.size=t.size}Te.prototype.clear=Gf;Te.prototype.delete=Kf;Te.prototype.get=Jf;Te.prototype.has=Qf;Te.prototype.set=th;var Vi=typeof exports=="object"&&exports&&!exports.nodeType&&exports,go=Vi&&typeof module=="object"&&module&&!module.nodeType&&module,nh=go&&go.exports===Vi,mo=nh?Me.Buffer:void 0;mo&&mo.allocUnsafe;function rh(e,t){return e.slice()}function oh(e,t){for(var n=-1,r=e==null?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function ih(){return[]}var ah=Object.prototype,lh=ah.propertyIsEnumerable,bo=Object.getOwnPropertySymbols,sh=bo?function(e){return e==null?[]:(e=Object(e),oh(bo(e),function(t){return lh.call(e,t)}))}:ih;function uh(e,t,n){var r=t(e);return be(e)?r:Od(r,n(e))}function wo(e){return uh(e,pr,sh)}var Zn=tt(Me,"DataView"),qn=tt(Me,"Promise"),Gn=tt(Me,"Set"),yo="[object Map]",ch="[object Object]",xo="[object Promise]",Co="[object Set]",So="[object WeakMap]",$o="[object DataView]",dh=et(Zn),fh=et(At),hh=et(qn),vh=et(Gn),ph=et(Un),Le=Qe;(Zn&&Le(new Zn(new ArrayBuffer(1)))!=$o||At&&Le(new At)!=yo||qn&&Le(qn.resolve())!=xo||Gn&&Le(new Gn)!=Co||Un&&Le(new Un)!=So)&&(Le=function(e){var t=Qe(e),n=t==ch?e.constructor:void 0,r=n?et(n):"";if(r)switch(r){case dh:return $o;case fh:return yo;case hh:return xo;case vh:return Co;case ph:return So}return t});var ln=Me.Uint8Array;function gh(e){var t=new e.constructor(e.byteLength);return new ln(t).set(new ln(e)),t}function mh(e,t){var n=gh(e.buffer);return new e.constructor(n,e.byteOffset,e.length)}function bh(e){return typeof e.constructor=="function"&&!hr(e)?Iu(Ci(e)):{}}var wh="__lodash_hash_undefined__";function yh(e){return this.__data__.set(e,wh),this}function xh(e){return this.__data__.has(e)}function sn(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Be;++t<n;)this.add(e[t])}sn.prototype.add=sn.prototype.push=yh;sn.prototype.has=xh;function Ch(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Sh(e,t){return e.has(t)}var $h=1,Th=2;function Ui(e,t,n,r,o,i){var a=n&$h,l=e.length,s=t.length;if(l!=s&&!(a&&s>l))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var v=-1,h=!0,b=n&Th?new sn:void 0;for(i.set(e,t),i.set(t,e);++v<l;){var d=e[v],y=t[v];if(r)var g=a?r(y,d,v,t,e,i):r(d,y,v,e,t,i);if(g!==void 0){if(g)continue;h=!1;break}if(b){if(!Ch(t,function(f,T){if(!Sh(b,T)&&(d===f||o(d,f,n,r,i)))return b.push(T)})){h=!1;break}}else if(!(d===y||o(d,y,n,r,i))){h=!1;break}}return i.delete(e),i.delete(t),h}function Oh(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}function Mh(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ph=1,Eh=2,zh="[object Boolean]",Ah="[object Date]",_h="[object Error]",Rh="[object Map]",Bh="[object Number]",Ih="[object RegExp]",Dh="[object Set]",Hh="[object String]",Lh="[object Symbol]",Fh="[object ArrayBuffer]",kh="[object DataView]",To=Fe?Fe.prototype:void 0,Rn=To?To.valueOf:void 0;function jh(e,t,n,r,o,i,a){switch(n){case kh:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Fh:return!(e.byteLength!=t.byteLength||!i(new ln(e),new ln(t)));case zh:case Ah:case Bh:return Bt(+e,+t);case _h:return e.name==t.name&&e.message==t.message;case Ih:case Hh:return e==t+"";case Rh:var l=Oh;case Dh:var s=r&Ph;if(l||(l=Mh),e.size!=t.size&&!s)return!1;var u=a.get(e);if(u)return u==t;r|=Eh,a.set(e,t);var c=Ui(l(e),l(t),r,o,i,a);return a.delete(e),c;case Lh:if(Rn)return Rn.call(e)==Rn.call(t)}return!1}var Wh=1,Nh=Object.prototype,Vh=Nh.hasOwnProperty;function Uh(e,t,n,r,o,i){var a=n&Wh,l=wo(e),s=l.length,u=wo(t),c=u.length;if(s!=c&&!a)return!1;for(var v=s;v--;){var h=l[v];if(!(a?h in t:Vh.call(t,h)))return!1}var b=i.get(e),d=i.get(t);if(b&&d)return b==t&&d==e;var y=!0;i.set(e,t),i.set(t,e);for(var g=a;++v<s;){h=l[v];var f=e[h],T=t[h];if(r)var D=a?r(T,f,h,t,e,i):r(f,T,h,e,t,i);if(!(D===void 0?f===T||o(f,T,n,r,i):D)){y=!1;break}g||(g=h=="constructor")}if(y&&!g){var H=e.constructor,W=t.constructor;H!=W&&"constructor"in e&&"constructor"in t&&!(typeof H=="function"&&H instanceof H&&typeof W=="function"&&W instanceof W)&&(y=!1)}return i.delete(e),i.delete(t),y}var Xh=1,Oo="[object Arguments]",Mo="[object Array]",qt="[object Object]",Yh=Object.prototype,Po=Yh.hasOwnProperty;function Zh(e,t,n,r,o,i){var a=be(e),l=be(t),s=a?Mo:Le(e),u=l?Mo:Le(t);s=s==Oo?qt:s,u=u==Oo?qt:u;var c=s==qt,v=u==qt,h=s==u;if(h&&an(e)){if(!an(t))return!1;a=!0,c=!1}if(h&&!c)return i||(i=new Te),a||vr(e)?Ui(e,t,n,r,o,i):jh(e,t,s,n,r,o,i);if(!(n&Xh)){var b=c&&Po.call(e,"__wrapped__"),d=v&&Po.call(t,"__wrapped__");if(b||d){var y=b?e.value():e,g=d?t.value():t;return i||(i=new Te),o(y,g,n,r,i)}}return h?(i||(i=new Te),Uh(e,t,n,r,o,i)):!1}function br(e,t,n,r,o){return e===t?!0:e==null||t==null||!ke(e)&&!ke(t)?e!==e&&t!==t:Zh(e,t,n,r,br,o)}var qh=1,Gh=2;function Kh(e,t,n,r){var o=n.length,i=o;if(e==null)return!i;for(e=Object(e);o--;){var a=n[o];if(a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++o<i;){a=n[o];var l=a[0],s=e[l],u=a[1];if(a[2]){if(s===void 0&&!(l in e))return!1}else{var c=new Te,v;if(!(v===void 0?br(u,s,qh|Gh,r,c):v))return!1}}return!0}function Xi(e){return e===e&&!je(e)}function Jh(e){for(var t=pr(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Xi(o)]}return t}function Yi(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Qh(e){var t=Jh(e);return t.length==1&&t[0][2]?Yi(t[0][0],t[0][1]):function(n){return n===e||Kh(n,e,t)}}function ev(e,t){return e!=null&&t in Object(e)}function tv(e,t,n){t=yi(t,e);for(var r=-1,o=t.length,i=!1;++r<o;){var a=vn(t[r]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++r!=o?i:(o=e==null?0:e.length,!!o&&fr(o)&&cr(a,o)&&(be(e)||on(e)))}function nv(e,t){return e!=null&&tv(e,t,ev)}var rv=1,ov=2;function iv(e,t){return gr(e)&&Xi(t)?Yi(vn(e),t):function(n){var r=Td(n,e);return r===void 0&&r===t?nv(n,e):br(t,r,rv|ov)}}function av(e){return function(t){return t==null?void 0:t[e]}}function lv(e){return function(t){return xi(t,e)}}function sv(e){return gr(e)?av(vn(e)):lv(e)}function uv(e){return typeof e=="function"?e:e==null?sr:typeof e=="object"?be(e)?iv(e[0],e[1]):Qh(e):sv(e)}function cv(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),l=a.length;l--;){var s=a[++o];if(n(i[s],s,i)===!1)break}return t}}var Zi=cv();function dv(e,t){return e&&Zi(e,t,pr)}function fv(e,t){return function(n,r){if(n==null)return n;if(!mt(n))return e(n,r);for(var o=n.length,i=-1,a=Object(n);++i<o&&r(a[i],i,a)!==!1;);return n}}var hv=fv(dv);function Kn(e,t,n){(n!==void 0&&!Bt(e[t],n)||n===void 0&&!(t in e))&&dr(e,t,n)}function vv(e){return ke(e)&&mt(e)}function Jn(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function pv(e){return Gu(e,wi(e))}function gv(e,t,n,r,o,i,a){var l=Jn(e,n),s=Jn(t,n),u=a.get(s);if(u){Kn(e,n,u);return}var c=i?i(l,s,n+"",e,t,a):void 0,v=c===void 0;if(v){var h=be(s),b=!h&&an(s),d=!h&&!b&&vr(s);c=s,h||b||d?be(l)?c=l:vv(l)?c=Hu(l):b?(v=!1,c=rh(s)):d?(v=!1,c=mh(s)):c=[]:_d(s)||on(s)?(c=l,on(l)?c=pv(l):(!je(l)||ur(l))&&(c=bh(s))):v=!1}v&&(a.set(s,c),o(c,s,r,i,a),a.delete(s)),Kn(e,n,c)}function qi(e,t,n,r,o){e!==t&&Zi(t,function(i,a){if(o||(o=new Te),je(i))gv(e,t,a,n,qi,r,o);else{var l=r?r(Jn(e,a),i,a+"",e,t,o):void 0;l===void 0&&(l=i),Kn(e,a,l)}},wi)}function mv(e,t){var n=-1,r=mt(e)?Array(e.length):[];return hv(e,function(o,i,a){r[++n]=t(o,i,a)}),r}function bv(e,t){var n=be(e)?fi:mv;return n(e,uv(t))}var wv=qf(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Gt=tc(function(e,t,n){qi(e,t,n)});function yv(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=ne(Je,null)||{},r=F(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:Ps[e]});return{dateLocaleRef:F(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:su}),localeRef:r}}const _t="naive-ui-style";function xv(e,t,n){if(!t)return;const r=Rt(),o=F(()=>{const{value:l}=t;if(!l)return;const s=l[e];if(s)return s}),i=ne(Je,null),a=()=>{Ge(()=>{const{value:l}=n,s=`${l}${e}Rtl`;if(Bl(s,r))return;const{value:u}=o;u&&u.style.mount({id:s,head:!0,anchorMetaName:_t,props:{bPrefix:l?`.${l}-`:void 0},ssr:r,parent:i==null?void 0:i.styleMountTarget})})};return r?a():nr(a),o}const pn={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:Cv,fontFamily:Sv,lineHeight:$v}=pn,Gi=L("body",`
|
|
15
|
-
margin: 0;
|
|
16
|
-
font-size: ${Cv};
|
|
17
|
-
font-family: ${Sv};
|
|
18
|
-
line-height: ${$v};
|
|
19
|
-
-webkit-text-size-adjust: 100%;
|
|
20
|
-
-webkit-tap-highlight-color: transparent;
|
|
21
|
-
`,[L("input",`
|
|
22
|
-
font-family: inherit;
|
|
23
|
-
font-size: inherit;
|
|
24
|
-
`)]);function Tv(e,t,n){if(!t)return;const r=Rt(),o=ne(Je,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:_t,props:{bPrefix:a?`.${a}-`:void 0},ssr:r,parent:o==null?void 0:o.styleMountTarget}),o!=null&&o.preflightStyleDisabled||Gi.mount({id:"n-global",head:!0,anchorMetaName:_t,ssr:r,parent:o==null?void 0:o.styleMountTarget})};r?i():nr(i)}function Pe(e,t,n,r,o,i){const a=Rt(),l=ne(Je,null);if(n){const u=()=>{const c=i==null?void 0:i.value;n.mount({id:c===void 0?t:c+t,head:!0,props:{bPrefix:c?`.${c}-`:void 0},anchorMetaName:_t,ssr:a,parent:l==null?void 0:l.styleMountTarget}),l!=null&&l.preflightStyleDisabled||Gi.mount({id:"n-global",head:!0,anchorMetaName:_t,ssr:a,parent:l==null?void 0:l.styleMountTarget})};a?u():nr(u)}return F(()=>{var u;const{theme:{common:c,self:v,peers:h={}}={},themeOverrides:b={},builtinThemeOverrides:d={}}=o,{common:y,peers:g}=b,{common:f=void 0,[e]:{common:T=void 0,self:D=void 0,peers:H={}}={}}=(l==null?void 0:l.mergedThemeRef.value)||{},{common:W=void 0,[e]:j={}}=(l==null?void 0:l.mergedThemeOverridesRef.value)||{},{common:p,peers:m={}}=j,O=Gt({},c||T||f||r.common,W,p,y),$=Gt((u=v||D||r.self)===null||u===void 0?void 0:u(O),d,j,b);return{common:O,self:$,peers:Gt({},r.peers,H,h),peerOverrides:Gt({},d.peers,m,g)}})}Pe.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const Ov=qa&&"loading"in document.createElement("img"),Mv=G("base-icon",`
|
|
25
|
-
height: 1em;
|
|
26
|
-
width: 1em;
|
|
27
|
-
line-height: 1em;
|
|
28
|
-
text-align: center;
|
|
29
|
-
display: inline-block;
|
|
30
|
-
position: relative;
|
|
31
|
-
fill: currentColor;
|
|
32
|
-
transform: translateZ(0);
|
|
33
|
-
`,[L("svg",`
|
|
34
|
-
height: 1em;
|
|
35
|
-
width: 1em;
|
|
36
|
-
`)]),Ee=oe({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Tv("-base-icon",Mv,me(e,"clsPrefix"))},render(){return w("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}});function It(e,t){const n=oe({render(){return t()}});return oe({name:af(e),setup(){var r;const o=(r=ne(Je,null))===null||r===void 0?void 0:r.mergedIconsRef;return()=>{var i;const a=(i=o==null?void 0:o.value)===null||i===void 0?void 0:i[e];return a?a():w(n,null)}}})}const Pv=It("download",()=>w("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},w("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},w("g",{fill:"currentColor","fill-rule":"nonzero"},w("path",{d:"M3.5,13 L12.5,13 C12.7761424,13 13,13.2238576 13,13.5 C13,13.7454599 12.8231248,13.9496084 12.5898756,13.9919443 L12.5,14 L3.5,14 C3.22385763,14 3,13.7761424 3,13.5 C3,13.2545401 3.17687516,13.0503916 3.41012437,13.0080557 L3.5,13 L12.5,13 L3.5,13 Z M7.91012437,1.00805567 L8,1 C8.24545989,1 8.44960837,1.17687516 8.49194433,1.41012437 L8.5,1.5 L8.5,10.292 L11.1819805,7.6109127 C11.3555469,7.43734635 11.6249713,7.4180612 11.8198394,7.55305725 L11.8890873,7.6109127 C12.0626536,7.78447906 12.0819388,8.05390346 11.9469427,8.2487716 L11.8890873,8.31801948 L8.35355339,11.8535534 C8.17998704,12.0271197 7.91056264,12.0464049 7.7156945,11.9114088 L7.64644661,11.8535534 L4.1109127,8.31801948 C3.91565056,8.12275734 3.91565056,7.80617485 4.1109127,7.6109127 C4.28447906,7.43734635 4.55390346,7.4180612 4.7487716,7.55305725 L4.81801948,7.6109127 L7.5,10.292 L7.5,1.5 C7.5,1.25454011 7.67687516,1.05039163 7.91012437,1.00805567 L8,1 L7.91012437,1.00805567 Z"}))))),Ev=oe({name:"ResizeSmall",render(){return w("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},w("g",{fill:"none"},w("path",{d:"M5.5 4A1.5 1.5 0 0 0 4 5.5v1a.5.5 0 0 1-1 0v-1A2.5 2.5 0 0 1 5.5 3h1a.5.5 0 0 1 0 1h-1zM16 5.5A1.5 1.5 0 0 0 14.5 4h-1a.5.5 0 0 1 0-1h1A2.5 2.5 0 0 1 17 5.5v1a.5.5 0 0 1-1 0v-1zm0 9a1.5 1.5 0 0 1-1.5 1.5h-1a.5.5 0 0 0 0 1h1a2.5 2.5 0 0 0 2.5-2.5v-1a.5.5 0 0 0-1 0v1zm-12 0A1.5 1.5 0 0 0 5.5 16h1.25a.5.5 0 0 1 0 1H5.5A2.5 2.5 0 0 1 3 14.5v-1.25a.5.5 0 0 1 1 0v1.25zM8.5 7A1.5 1.5 0 0 0 7 8.5v3A1.5 1.5 0 0 0 8.5 13h3a1.5 1.5 0 0 0 1.5-1.5v-3A1.5 1.5 0 0 0 11.5 7h-3zM8 8.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3z",fill:"currentColor"})))}}),zv=It("rotateClockwise",()=>w("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w("path",{d:"M3 10C3 6.13401 6.13401 3 10 3C13.866 3 17 6.13401 17 10C17 12.7916 15.3658 15.2026 13 16.3265V14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5V17.5C12 17.7761 12.2239 18 12.5 18H15.5C15.7761 18 16 17.7761 16 17.5C16 17.2239 15.7761 17 15.5 17H13.8758C16.3346 15.6357 18 13.0128 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 10.2761 2.22386 10.5 2.5 10.5C2.77614 10.5 3 10.2761 3 10Z",fill:"currentColor"}),w("path",{d:"M10 12C11.1046 12 12 11.1046 12 10C12 8.89543 11.1046 8 10 8C8.89543 8 8 8.89543 8 10C8 11.1046 8.89543 12 10 12ZM10 11C9.44772 11 9 10.5523 9 10C9 9.44772 9.44772 9 10 9C10.5523 9 11 9.44772 11 10C11 10.5523 10.5523 11 10 11Z",fill:"currentColor"}))),Av=It("rotateClockwise",()=>w("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w("path",{d:"M17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 12.7916 4.63419 15.2026 7 16.3265V14.5C7 14.2239 7.22386 14 7.5 14C7.77614 14 8 14.2239 8 14.5V17.5C8 17.7761 7.77614 18 7.5 18H4.5C4.22386 18 4 17.7761 4 17.5C4 17.2239 4.22386 17 4.5 17H6.12422C3.66539 15.6357 2 13.0128 2 10C2 5.58172 5.58172 2 10 2C14.4183 2 18 5.58172 18 10C18 10.2761 17.7761 10.5 17.5 10.5C17.2239 10.5 17 10.2761 17 10Z",fill:"currentColor"}),w("path",{d:"M10 12C8.89543 12 8 11.1046 8 10C8 8.89543 8.89543 8 10 8C11.1046 8 12 8.89543 12 10C12 11.1046 11.1046 12 10 12ZM10 11C10.5523 11 11 10.5523 11 10C11 9.44772 10.5523 9 10 9C9.44772 9 9 9.44772 9 10C9 10.5523 9.44772 11 10 11Z",fill:"currentColor"}))),_v=It("zoomIn",()=>w("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w("path",{d:"M11.5 8.5C11.5 8.22386 11.2761 8 11 8H9V6C9 5.72386 8.77614 5.5 8.5 5.5C8.22386 5.5 8 5.72386 8 6V8H6C5.72386 8 5.5 8.22386 5.5 8.5C5.5 8.77614 5.72386 9 6 9H8V11C8 11.2761 8.22386 11.5 8.5 11.5C8.77614 11.5 9 11.2761 9 11V9H11C11.2761 9 11.5 8.77614 11.5 8.5Z",fill:"currentColor"}),w("path",{d:"M8.5 3C11.5376 3 14 5.46243 14 8.5C14 9.83879 13.5217 11.0659 12.7266 12.0196L16.8536 16.1464C17.0488 16.3417 17.0488 16.6583 16.8536 16.8536C16.68 17.0271 16.4106 17.0464 16.2157 16.9114L16.1464 16.8536L12.0196 12.7266C11.0659 13.5217 9.83879 14 8.5 14C5.46243 14 3 11.5376 3 8.5C3 5.46243 5.46243 3 8.5 3ZM8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4Z",fill:"currentColor"}))),Rv=It("zoomOut",()=>w("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w("path",{d:"M11 8C11.2761 8 11.5 8.22386 11.5 8.5C11.5 8.77614 11.2761 9 11 9H6C5.72386 9 5.5 8.77614 5.5 8.5C5.5 8.22386 5.72386 8 6 8H11Z",fill:"currentColor"}),w("path",{d:"M14 8.5C14 5.46243 11.5376 3 8.5 3C5.46243 3 3 5.46243 3 8.5C3 11.5376 5.46243 14 8.5 14C9.83879 14 11.0659 13.5217 12.0196 12.7266L16.1464 16.8536L16.2157 16.9114C16.4106 17.0464 16.68 17.0271 16.8536 16.8536C17.0488 16.6583 17.0488 16.3417 16.8536 16.1464L12.7266 12.0196C13.5217 11.0659 14 9.83879 14 8.5ZM4 8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5C13 10.9853 10.9853 13 8.5 13C6.01472 13 4 10.9853 4 8.5Z",fill:"currentColor"}))),{cubicBezierEaseInOut:Eo}=pn;function Qn({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:r=Eo,leaveCubicBezier:o=Eo}={}){return[L(`&.${e}-transition-enter-active`,{transition:`all ${t} ${r}!important`}),L(`&.${e}-transition-leave-active`,{transition:`all ${n} ${o}!important`}),L(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),L(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const E={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaAvatar:"0.2",alphaProgressRail:".08",alphaInput:"0",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},Bv=ht(E.neutralBase),Ki=ht(E.neutralInvertBase),Iv=`rgba(${Ki.slice(0,3).join(", ")}, `;function zo(e){return`${Iv+String(e)})`}function le(e){const t=Array.from(Ki);return t[3]=Number(e),No(Bv,t)}const gn=Object.assign(Object.assign({name:"common"},pn),{baseColor:E.neutralBase,primaryColor:E.primaryDefault,primaryColorHover:E.primaryHover,primaryColorPressed:E.primaryActive,primaryColorSuppl:E.primarySuppl,infoColor:E.infoDefault,infoColorHover:E.infoHover,infoColorPressed:E.infoActive,infoColorSuppl:E.infoSuppl,successColor:E.successDefault,successColorHover:E.successHover,successColorPressed:E.successActive,successColorSuppl:E.successSuppl,warningColor:E.warningDefault,warningColorHover:E.warningHover,warningColorPressed:E.warningActive,warningColorSuppl:E.warningSuppl,errorColor:E.errorDefault,errorColorHover:E.errorHover,errorColorPressed:E.errorActive,errorColorSuppl:E.errorSuppl,textColorBase:E.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:le(E.alpha4),placeholderColor:le(E.alpha4),placeholderColorDisabled:le(E.alpha5),iconColor:le(E.alpha4),iconColorHover:jt(le(E.alpha4),{lightness:.75}),iconColorPressed:jt(le(E.alpha4),{lightness:.9}),iconColorDisabled:le(E.alpha5),opacity1:E.alpha1,opacity2:E.alpha2,opacity3:E.alpha3,opacity4:E.alpha4,opacity5:E.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:le(Number(E.alphaClose)),closeIconColorHover:le(Number(E.alphaClose)),closeIconColorPressed:le(Number(E.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:le(E.alpha4),clearColorHover:jt(le(E.alpha4),{lightness:.75}),clearColorPressed:jt(le(E.alpha4),{lightness:.9}),scrollbarColor:zo(E.alphaScrollbar),scrollbarColorHover:zo(E.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:le(E.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:E.neutralPopover,tableColor:E.neutralCard,cardColor:E.neutralCard,modalColor:E.neutralModal,bodyColor:E.neutralBody,tagColor:"#eee",avatarColor:le(E.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:le(E.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:E.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Dv={railInsetHorizontalBottom:"auto 2px 4px 2px",railInsetHorizontalTop:"4px 2px auto 2px",railInsetVerticalRight:"2px 4px 2px auto",railInsetVerticalLeft:"2px auto 2px 4px",railColor:"transparent"};function Hv(e){const{scrollbarColor:t,scrollbarColorHover:n,scrollbarHeight:r,scrollbarWidth:o,scrollbarBorderRadius:i}=e;return Object.assign(Object.assign({},Dv),{height:r,width:o,borderRadius:i,color:t,colorHover:n})}const Lv={common:gn,self:Hv},Fv=G("scrollbar",`
|
|
37
|
-
overflow: hidden;
|
|
38
|
-
position: relative;
|
|
39
|
-
z-index: auto;
|
|
40
|
-
height: 100%;
|
|
41
|
-
width: 100%;
|
|
42
|
-
`,[L(">",[G("scrollbar-container",`
|
|
43
|
-
width: 100%;
|
|
44
|
-
overflow: scroll;
|
|
45
|
-
height: 100%;
|
|
46
|
-
min-height: inherit;
|
|
47
|
-
max-height: inherit;
|
|
48
|
-
scrollbar-width: none;
|
|
49
|
-
`,[L("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
|
|
50
|
-
width: 0;
|
|
51
|
-
height: 0;
|
|
52
|
-
display: none;
|
|
53
|
-
`),L(">",[G("scrollbar-content",`
|
|
54
|
-
box-sizing: border-box;
|
|
55
|
-
min-width: 100%;
|
|
56
|
-
`)])])]),L(">, +",[G("scrollbar-rail",`
|
|
57
|
-
position: absolute;
|
|
58
|
-
pointer-events: none;
|
|
59
|
-
user-select: none;
|
|
60
|
-
background: var(--n-scrollbar-rail-color);
|
|
61
|
-
-webkit-user-select: none;
|
|
62
|
-
`,[ye("horizontal",`
|
|
63
|
-
height: var(--n-scrollbar-height);
|
|
64
|
-
`,[L(">",[Xe("scrollbar",`
|
|
65
|
-
height: var(--n-scrollbar-height);
|
|
66
|
-
border-radius: var(--n-scrollbar-border-radius);
|
|
67
|
-
right: 0;
|
|
68
|
-
`)])]),ye("horizontal--top",`
|
|
69
|
-
top: var(--n-scrollbar-rail-top-horizontal-top);
|
|
70
|
-
right: var(--n-scrollbar-rail-right-horizontal-top);
|
|
71
|
-
bottom: var(--n-scrollbar-rail-bottom-horizontal-top);
|
|
72
|
-
left: var(--n-scrollbar-rail-left-horizontal-top);
|
|
73
|
-
`),ye("horizontal--bottom",`
|
|
74
|
-
top: var(--n-scrollbar-rail-top-horizontal-bottom);
|
|
75
|
-
right: var(--n-scrollbar-rail-right-horizontal-bottom);
|
|
76
|
-
bottom: var(--n-scrollbar-rail-bottom-horizontal-bottom);
|
|
77
|
-
left: var(--n-scrollbar-rail-left-horizontal-bottom);
|
|
78
|
-
`),ye("vertical",`
|
|
79
|
-
width: var(--n-scrollbar-width);
|
|
80
|
-
`,[L(">",[Xe("scrollbar",`
|
|
81
|
-
width: var(--n-scrollbar-width);
|
|
82
|
-
border-radius: var(--n-scrollbar-border-radius);
|
|
83
|
-
bottom: 0;
|
|
84
|
-
`)])]),ye("vertical--left",`
|
|
85
|
-
top: var(--n-scrollbar-rail-top-vertical-left);
|
|
86
|
-
right: var(--n-scrollbar-rail-right-vertical-left);
|
|
87
|
-
bottom: var(--n-scrollbar-rail-bottom-vertical-left);
|
|
88
|
-
left: var(--n-scrollbar-rail-left-vertical-left);
|
|
89
|
-
`),ye("vertical--right",`
|
|
90
|
-
top: var(--n-scrollbar-rail-top-vertical-right);
|
|
91
|
-
right: var(--n-scrollbar-rail-right-vertical-right);
|
|
92
|
-
bottom: var(--n-scrollbar-rail-bottom-vertical-right);
|
|
93
|
-
left: var(--n-scrollbar-rail-left-vertical-right);
|
|
94
|
-
`),ye("disabled",[L(">",[Xe("scrollbar","pointer-events: none;")])]),L(">",[Xe("scrollbar",`
|
|
95
|
-
z-index: 1;
|
|
96
|
-
position: absolute;
|
|
97
|
-
cursor: pointer;
|
|
98
|
-
pointer-events: all;
|
|
99
|
-
background-color: var(--n-scrollbar-color);
|
|
100
|
-
transition: background-color .2s var(--n-scrollbar-bezier);
|
|
101
|
-
`,[Qn(),L("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),kv=Object.assign(Object.assign({},Pe.props),{duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean,yPlacement:{type:String,default:"right"},xPlacement:{type:String,default:"bottom"}}),jv=oe({name:"Scrollbar",props:kv,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:r}=gt(e),o=xv("Scrollbar",r,t),i=A(null),a=A(null),l=A(null),s=A(null),u=A(null),c=A(null),v=A(null),h=A(null),b=A(null),d=A(null),y=A(null),g=A(0),f=A(0),T=A(!1),D=A(!1);let H=!1,W=!1,j,p,m=0,O=0,$=0,B=0;const R=Ya(),k=Pe("Scrollbar","-scrollbar",Fv,Lv,e,t),V=F(()=>{const{value:x}=h,{value:P}=c,{value:_}=d;return x===null||P===null||_===null?0:Math.min(x,_*x/P+Or(k.value.self.width)*1.5)}),S=F(()=>`${V.value}px`),I=F(()=>{const{value:x}=b,{value:P}=v,{value:_}=y;return x===null||P===null||_===null?0:_*x/P+Or(k.value.self.height)*1.5}),U=F(()=>`${I.value}px`),J=F(()=>{const{value:x}=h,{value:P}=g,{value:_}=c,{value:Y}=d;if(x===null||_===null||Y===null)return 0;{const ee=_-x;return ee?P/ee*(Y-V.value):0}}),ie=F(()=>`${J.value}px`),Q=F(()=>{const{value:x}=b,{value:P}=f,{value:_}=v,{value:Y}=y;if(x===null||_===null||Y===null)return 0;{const ee=_-x;return ee?P/ee*(Y-I.value):0}}),fe=F(()=>`${Q.value}px`),nt=F(()=>{const{value:x}=h,{value:P}=c;return x!==null&&P!==null&&P>x}),Dt=F(()=>{const{value:x}=b,{value:P}=v;return x!==null&&P!==null&&P>x}),mn=F(()=>{const{trigger:x}=e;return x==="none"||T.value}),he=F(()=>{const{trigger:x}=e;return x==="none"||D.value}),xe=F(()=>{const{container:x}=e;return x?x():a.value}),bn=F(()=>{const{content:x}=e;return x?x():l.value}),Ht=(x,P)=>{if(!e.scrollable)return;if(typeof x=="number"){C(x,P!=null?P:0,0,!1,"auto");return}const{left:_,top:Y,index:ee,elSize:ce,position:we,behavior:q,el:pe,debounce:De=!0}=x;(_!==void 0||Y!==void 0)&&C(_!=null?_:0,Y!=null?Y:0,0,!1,q),pe!==void 0?C(0,pe.offsetTop,pe.offsetHeight,De,q):ee!==void 0&&ce!==void 0?C(0,ee*ce,ce,De,q):we==="bottom"?C(0,Number.MAX_SAFE_INTEGER,0,!1,q):we==="top"&&C(0,0,0,!1,q)},Lt=Ga(()=>{e.container||Ht({top:g.value,left:f.value})}),Ft=()=>{Lt.isDeactivated||We()},kt=x=>{if(Lt.isDeactivated)return;const{onResize:P}=e;P&&P(x),We()},Ie=(x,P)=>{if(!e.scrollable)return;const{value:_}=xe;_&&(typeof x=="object"?_.scrollBy(x):_.scrollBy(x,P||0))};function C(x,P,_,Y,ee){const{value:ce}=xe;if(ce){if(Y){const{scrollTop:we,offsetHeight:q}=ce;if(P>we){P+_<=we+q||ce.scrollTo({left:x,top:P+_-q,behavior:ee});return}}ce.scrollTo({left:x,top:P,behavior:ee})}}function z(){ue(),ve(),We()}function M(){N()}function N(){X(),ae()}function X(){p!==void 0&&window.clearTimeout(p),p=window.setTimeout(()=>{D.value=!1},e.duration)}function ae(){j!==void 0&&window.clearTimeout(j),j=window.setTimeout(()=>{T.value=!1},e.duration)}function ue(){j!==void 0&&window.clearTimeout(j),T.value=!0}function ve(){p!==void 0&&window.clearTimeout(p),D.value=!0}function Ce(x){const{onScroll:P}=e;P&&P(x),yr()}function yr(){const{value:x}=xe;x&&(g.value=x.scrollTop,f.value=x.scrollLeft*(o!=null&&o.value?-1:1))}function ia(){const{value:x}=bn;x&&(c.value=x.offsetHeight,v.value=x.offsetWidth);const{value:P}=xe;P&&(h.value=P.offsetHeight,b.value=P.offsetWidth);const{value:_}=u,{value:Y}=s;_&&(y.value=_.offsetWidth),Y&&(d.value=Y.offsetHeight)}function xr(){const{value:x}=xe;x&&(g.value=x.scrollTop,f.value=x.scrollLeft*(o!=null&&o.value?-1:1),h.value=x.offsetHeight,b.value=x.offsetWidth,c.value=x.scrollHeight,v.value=x.scrollWidth);const{value:P}=u,{value:_}=s;P&&(y.value=P.offsetWidth),_&&(d.value=_.offsetHeight)}function We(){e.scrollable&&(e.useUnifiedContainer?xr():(ia(),yr()))}function Cr(x){var P;return!(!((P=i.value)===null||P===void 0)&&P.contains(nn(x)))}function aa(x){x.preventDefault(),x.stopPropagation(),W=!0,re("mousemove",window,Sr,!0),re("mouseup",window,$r,!0),O=f.value,$=o!=null&&o.value?window.innerWidth-x.clientX:x.clientX}function Sr(x){if(!W)return;j!==void 0&&window.clearTimeout(j),p!==void 0&&window.clearTimeout(p);const{value:P}=b,{value:_}=v,{value:Y}=I;if(P===null||_===null)return;const ce=(o!=null&&o.value?window.innerWidth-x.clientX-$:x.clientX-$)*(_-P)/(P-Y),we=_-P;let q=O+ce;q=Math.min(we,q),q=Math.max(q,0);const{value:pe}=xe;if(pe){pe.scrollLeft=q*(o!=null&&o.value?-1:1);const{internalOnUpdateScrollLeft:De}=e;De&&De(q)}}function $r(x){x.preventDefault(),x.stopPropagation(),K("mousemove",window,Sr,!0),K("mouseup",window,$r,!0),W=!1,We(),Cr(x)&&N()}function la(x){x.preventDefault(),x.stopPropagation(),H=!0,re("mousemove",window,wn,!0),re("mouseup",window,yn,!0),m=g.value,B=x.clientY}function wn(x){if(!H)return;j!==void 0&&window.clearTimeout(j),p!==void 0&&window.clearTimeout(p);const{value:P}=h,{value:_}=c,{value:Y}=V;if(P===null||_===null)return;const ce=(x.clientY-B)*(_-P)/(P-Y),we=_-P;let q=m+ce;q=Math.min(we,q),q=Math.max(q,0);const{value:pe}=xe;pe&&(pe.scrollTop=q)}function yn(x){x.preventDefault(),x.stopPropagation(),K("mousemove",window,wn,!0),K("mouseup",window,yn,!0),H=!1,We(),Cr(x)&&N()}Ge(()=>{const{value:x}=Dt,{value:P}=nt,{value:_}=t,{value:Y}=u,{value:ee}=s;Y&&(x?Y.classList.remove(`${_}-scrollbar-rail--disabled`):Y.classList.add(`${_}-scrollbar-rail--disabled`)),ee&&(P?ee.classList.remove(`${_}-scrollbar-rail--disabled`):ee.classList.add(`${_}-scrollbar-rail--disabled`))}),_e(()=>{e.container||We()}),Oe(()=>{j!==void 0&&window.clearTimeout(j),p!==void 0&&window.clearTimeout(p),K("mousemove",window,wn,!0),K("mouseup",window,yn,!0)});const Tr=F(()=>{const{common:{cubicBezierEaseInOut:x},self:{color:P,colorHover:_,height:Y,width:ee,borderRadius:ce,railInsetHorizontalTop:we,railInsetHorizontalBottom:q,railInsetVerticalRight:pe,railInsetVerticalLeft:De,railColor:sa}}=k.value,{top:ua,right:ca,bottom:da,left:fa}=Ct(we),{top:ha,right:va,bottom:pa,left:ga}=Ct(q),{top:ma,right:ba,bottom:wa,left:ya}=Ct(o!=null&&o.value?Gr(pe):pe),{top:xa,right:Ca,bottom:Sa,left:$a}=Ct(o!=null&&o.value?Gr(De):De);return{"--n-scrollbar-bezier":x,"--n-scrollbar-color":P,"--n-scrollbar-color-hover":_,"--n-scrollbar-border-radius":ce,"--n-scrollbar-width":ee,"--n-scrollbar-height":Y,"--n-scrollbar-rail-top-horizontal-top":ua,"--n-scrollbar-rail-right-horizontal-top":ca,"--n-scrollbar-rail-bottom-horizontal-top":da,"--n-scrollbar-rail-left-horizontal-top":fa,"--n-scrollbar-rail-top-horizontal-bottom":ha,"--n-scrollbar-rail-right-horizontal-bottom":va,"--n-scrollbar-rail-bottom-horizontal-bottom":pa,"--n-scrollbar-rail-left-horizontal-bottom":ga,"--n-scrollbar-rail-top-vertical-right":ma,"--n-scrollbar-rail-right-vertical-right":ba,"--n-scrollbar-rail-bottom-vertical-right":wa,"--n-scrollbar-rail-left-vertical-right":ya,"--n-scrollbar-rail-top-vertical-left":xa,"--n-scrollbar-rail-right-vertical-left":Ca,"--n-scrollbar-rail-bottom-vertical-left":Sa,"--n-scrollbar-rail-left-vertical-left":$a,"--n-scrollbar-rail-color":sa}}),rt=n?ar("scrollbar",void 0,Tr,e):void 0;return Object.assign(Object.assign({},{scrollTo:Ht,scrollBy:Ie,sync:We,syncUnifiedContainer:xr,handleMouseEnterWrapper:z,handleMouseLeaveWrapper:M}),{mergedClsPrefix:t,rtlEnabled:o,containerScrollTop:g,wrapperRef:i,containerRef:a,contentRef:l,yRailRef:s,xRailRef:u,needYBar:nt,needXBar:Dt,yBarSizePx:S,xBarSizePx:U,yBarTopPx:ie,xBarLeftPx:fe,isShowXBar:mn,isShowYBar:he,isIos:R,handleScroll:Ce,handleContentResize:Ft,handleContainerResize:kt,handleYScrollMouseDown:la,handleXScrollMouseDown:aa,cssVars:n?void 0:Tr,themeClass:rt==null?void 0:rt.themeClass,onRender:rt==null?void 0:rt.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:r,rtlEnabled:o,internalHoistYRail:i,yPlacement:a,xPlacement:l,xScrollable:s}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const u=this.trigger==="none",c=(b,d)=>w("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,`${n}-scrollbar-rail--vertical--${a}`,b],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hidden":!0},w(u?Qr:st,u?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?w("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),v=()=>{var b,d;return(b=this.onRender)===null||b===void 0||b.call(this),w("div",Bo(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,o&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:r?void 0:this.handleMouseEnterWrapper,onMouseleave:r?void 0:this.handleMouseLeaveWrapper}),[this.container?(d=t.default)===null||d===void 0?void 0:d.call(t):w("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},w(Zr,{onResize:this.handleContentResize},{default:()=>w("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:c(void 0,void 0),s&&w("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`,`${n}-scrollbar-rail--horizontal--${l}`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},w(u?Qr:st,u?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?w("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:o?this.xBarLeftPx:void 0,left:o?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},h=this.container?v():w(Zr,{onResize:this.handleContainerResize},{default:v});return i?w(Ae,null,h,c(this.themeClass,this.cssVars)):h}}),Wv=jv,{cubicBezierEaseIn:Ao,cubicBezierEaseOut:_o}=pn;function Nv({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:r="",originalTransition:o=""}={}){return[L("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${Ao}, transform ${t} ${Ao} ${o&&`,${o}`}`}),L("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${_o}, transform ${t} ${_o} ${o&&`,${o}`}`}),L("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${r} scale(${n})`}),L("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${r} scale(1)`})]}const Vv={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function Uv(e){const{boxShadow2:t,popoverColor:n,textColor2:r,borderRadius:o,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},Vv),{fontSize:i,borderRadius:o,color:n,dividerColor:a,textColor:r,boxShadow:t})}const Ji={name:"Popover",common:gn,self:Uv},Bn={top:"bottom",bottom:"top",left:"right",right:"left"},te="var(--n-arrow-height) * 1.414",Xv=L([G("popover",`
|
|
102
|
-
transition:
|
|
103
|
-
box-shadow .3s var(--n-bezier),
|
|
104
|
-
background-color .3s var(--n-bezier),
|
|
105
|
-
color .3s var(--n-bezier);
|
|
106
|
-
position: relative;
|
|
107
|
-
font-size: var(--n-font-size);
|
|
108
|
-
color: var(--n-text-color);
|
|
109
|
-
box-shadow: var(--n-box-shadow);
|
|
110
|
-
word-break: break-word;
|
|
111
|
-
`,[L(">",[G("scrollbar",`
|
|
112
|
-
height: inherit;
|
|
113
|
-
max-height: inherit;
|
|
114
|
-
`)]),en("raw",`
|
|
115
|
-
background-color: var(--n-color);
|
|
116
|
-
border-radius: var(--n-border-radius);
|
|
117
|
-
`,[en("scrollable",[en("show-header-or-footer","padding: var(--n-padding);")])]),Xe("header",`
|
|
118
|
-
padding: var(--n-padding);
|
|
119
|
-
border-bottom: 1px solid var(--n-divider-color);
|
|
120
|
-
transition: border-color .3s var(--n-bezier);
|
|
121
|
-
`),Xe("footer",`
|
|
122
|
-
padding: var(--n-padding);
|
|
123
|
-
border-top: 1px solid var(--n-divider-color);
|
|
124
|
-
transition: border-color .3s var(--n-bezier);
|
|
125
|
-
`),ye("scrollable, show-header-or-footer",[Xe("content",`
|
|
126
|
-
padding: var(--n-padding);
|
|
127
|
-
`)])]),G("popover-shared",`
|
|
128
|
-
transform-origin: inherit;
|
|
129
|
-
`,[G("popover-arrow-wrapper",`
|
|
130
|
-
position: absolute;
|
|
131
|
-
overflow: hidden;
|
|
132
|
-
pointer-events: none;
|
|
133
|
-
`,[G("popover-arrow",`
|
|
134
|
-
transition: background-color .3s var(--n-bezier);
|
|
135
|
-
position: absolute;
|
|
136
|
-
display: block;
|
|
137
|
-
width: calc(${te});
|
|
138
|
-
height: calc(${te});
|
|
139
|
-
box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
|
|
140
|
-
transform: rotate(45deg);
|
|
141
|
-
background-color: var(--n-color);
|
|
142
|
-
pointer-events: all;
|
|
143
|
-
`)]),L("&.popover-transition-enter-from, &.popover-transition-leave-to",`
|
|
144
|
-
opacity: 0;
|
|
145
|
-
transform: scale(.85);
|
|
146
|
-
`),L("&.popover-transition-enter-to, &.popover-transition-leave-from",`
|
|
147
|
-
transform: scale(1);
|
|
148
|
-
opacity: 1;
|
|
149
|
-
`),L("&.popover-transition-enter-active",`
|
|
150
|
-
transition:
|
|
151
|
-
box-shadow .3s var(--n-bezier),
|
|
152
|
-
background-color .3s var(--n-bezier),
|
|
153
|
-
color .3s var(--n-bezier),
|
|
154
|
-
opacity .15s var(--n-bezier-ease-out),
|
|
155
|
-
transform .15s var(--n-bezier-ease-out);
|
|
156
|
-
`),L("&.popover-transition-leave-active",`
|
|
157
|
-
transition:
|
|
158
|
-
box-shadow .3s var(--n-bezier),
|
|
159
|
-
background-color .3s var(--n-bezier),
|
|
160
|
-
color .3s var(--n-bezier),
|
|
161
|
-
opacity .15s var(--n-bezier-ease-in),
|
|
162
|
-
transform .15s var(--n-bezier-ease-in);
|
|
163
|
-
`)]),ge("top-start",`
|
|
164
|
-
top: calc(${te} / -2);
|
|
165
|
-
left: calc(${ze("top-start")} - var(--v-offset-left));
|
|
166
|
-
`),ge("top",`
|
|
167
|
-
top: calc(${te} / -2);
|
|
168
|
-
transform: translateX(calc(${te} / -2)) rotate(45deg);
|
|
169
|
-
left: 50%;
|
|
170
|
-
`),ge("top-end",`
|
|
171
|
-
top: calc(${te} / -2);
|
|
172
|
-
right: calc(${ze("top-end")} + var(--v-offset-left));
|
|
173
|
-
`),ge("bottom-start",`
|
|
174
|
-
bottom: calc(${te} / -2);
|
|
175
|
-
left: calc(${ze("bottom-start")} - var(--v-offset-left));
|
|
176
|
-
`),ge("bottom",`
|
|
177
|
-
bottom: calc(${te} / -2);
|
|
178
|
-
transform: translateX(calc(${te} / -2)) rotate(45deg);
|
|
179
|
-
left: 50%;
|
|
180
|
-
`),ge("bottom-end",`
|
|
181
|
-
bottom: calc(${te} / -2);
|
|
182
|
-
right: calc(${ze("bottom-end")} + var(--v-offset-left));
|
|
183
|
-
`),ge("left-start",`
|
|
184
|
-
left: calc(${te} / -2);
|
|
185
|
-
top: calc(${ze("left-start")} - var(--v-offset-top));
|
|
186
|
-
`),ge("left",`
|
|
187
|
-
left: calc(${te} / -2);
|
|
188
|
-
transform: translateY(calc(${te} / -2)) rotate(45deg);
|
|
189
|
-
top: 50%;
|
|
190
|
-
`),ge("left-end",`
|
|
191
|
-
left: calc(${te} / -2);
|
|
192
|
-
bottom: calc(${ze("left-end")} + var(--v-offset-top));
|
|
193
|
-
`),ge("right-start",`
|
|
194
|
-
right: calc(${te} / -2);
|
|
195
|
-
top: calc(${ze("right-start")} - var(--v-offset-top));
|
|
196
|
-
`),ge("right",`
|
|
197
|
-
right: calc(${te} / -2);
|
|
198
|
-
transform: translateY(calc(${te} / -2)) rotate(45deg);
|
|
199
|
-
top: 50%;
|
|
200
|
-
`),ge("right-end",`
|
|
201
|
-
right: calc(${te} / -2);
|
|
202
|
-
bottom: calc(${ze("right-end")} + var(--v-offset-top));
|
|
203
|
-
`),...bv({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),r=n?"width":"height";return e.map(o=>{const i=o.split("-")[1]==="end",l=`calc((${`var(--v-target-${r}, 0px)`} - ${te}) / 2)`,s=ze(o);return L(`[v-placement="${o}"] >`,[G("popover-shared",[ye("center-arrow",[G("popover-arrow",`${t}: calc(max(${l}, ${s}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function ze(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function ge(e,t){const n=e.split("-")[0],r=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return L(`[v-placement="${e}"] >`,[G("popover-shared",`
|
|
204
|
-
margin-${Bn[n]}: var(--n-space);
|
|
205
|
-
`,[ye("show-arrow",`
|
|
206
|
-
margin-${Bn[n]}: var(--n-space-arrow);
|
|
207
|
-
`),ye("overlap",`
|
|
208
|
-
margin: 0;
|
|
209
|
-
`),ys("popover-arrow-wrapper",`
|
|
210
|
-
right: 0;
|
|
211
|
-
left: 0;
|
|
212
|
-
top: 0;
|
|
213
|
-
bottom: 0;
|
|
214
|
-
${n}: 100%;
|
|
215
|
-
${Bn[n]}: auto;
|
|
216
|
-
${r}
|
|
217
|
-
`,[G("popover-arrow",t)])])])}const Qi=Object.assign(Object.assign({},Pe.props),{to:ft.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number});function Yv({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:r,clsPrefix:o}){return w("div",{key:"__popover-arrow__",style:r,class:[`${o}-popover-arrow-wrapper`,n]},w("div",{class:[`${o}-popover-arrow`,e],style:t}))}const Zv=oe({name:"PopoverBody",inheritAttrs:!1,props:Qi,setup(e,{slots:t,attrs:n}){const{namespaceRef:r,mergedClsPrefixRef:o,inlineThemeDisabled:i}=gt(e),a=Pe("Popover","-popover",Xv,Ji,e,o),l=A(null),s=ne("NPopover"),u=A(null),c=A(e.show),v=A(!1);Ge(()=>{const{show:p}=e;p&&!Cs()&&!e.internalDeactivateImmediately&&(v.value=!0)});const h=F(()=>{const{trigger:p,onClickoutside:m}=e,O=[],{positionManuallyRef:{value:$}}=s;return $||(p==="click"&&!m&&O.push([Er,H,void 0,{capture:!0}]),p==="hover"&&O.push([dl,D])),m&&O.push([Er,H,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&v.value)&&O.push([Io,e.show]),O}),b=F(()=>{const{common:{cubicBezierEaseInOut:p,cubicBezierEaseIn:m,cubicBezierEaseOut:O},self:{space:$,spaceArrow:B,padding:R,fontSize:k,textColor:V,dividerColor:S,color:I,boxShadow:U,borderRadius:J,arrowHeight:ie,arrowOffset:Q,arrowOffsetVertical:fe}}=a.value;return{"--n-box-shadow":U,"--n-bezier":p,"--n-bezier-ease-in":m,"--n-bezier-ease-out":O,"--n-font-size":k,"--n-text-color":V,"--n-color":I,"--n-divider-color":S,"--n-border-radius":J,"--n-arrow-height":ie,"--n-arrow-offset":Q,"--n-arrow-offset-vertical":fe,"--n-padding":R,"--n-space":$,"--n-space-arrow":B}}),d=F(()=>{const p=e.width==="trigger"?void 0:Mn(e.width),m=[];p&&m.push({width:p});const{maxWidth:O,minWidth:$}=e;return O&&m.push({maxWidth:Mn(O)}),$&&m.push({maxWidth:Mn($)}),i||m.push(b.value),m}),y=i?ar("popover",void 0,b,e):void 0;s.setBodyInstance({syncPosition:g}),Oe(()=>{s.setBodyInstance(null)}),$e(me(e,"show"),p=>{e.animated||(p?c.value=!0:c.value=!1)});function g(){var p;(p=l.value)===null||p===void 0||p.syncPosition()}function f(p){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&s.handleMouseEnter(p)}function T(p){e.trigger==="hover"&&e.keepAliveOnHover&&s.handleMouseLeave(p)}function D(p){e.trigger==="hover"&&!W().contains(nn(p))&&s.handleMouseMoveOutside(p)}function H(p){(e.trigger==="click"&&!W().contains(nn(p))||e.onClickoutside)&&s.handleClickOutside(p)}function W(){return s.getTriggerElement()}Ye(Fo,u),Ye(Ho,null),Ye(Lo,null);function j(){if(y==null||y.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&v.value))return null;let m;const O=s.internalRenderBodyRef.value,{value:$}=o;if(O)m=O([`${$}-popover-shared`,y==null?void 0:y.themeClass.value,e.overlap&&`${$}-popover-shared--overlap`,e.showArrow&&`${$}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${$}-popover-shared--center-arrow`],u,d.value,f,T);else{const{value:B}=s.extraClassRef,{internalTrapFocus:R}=e,k=!Jr(t.header)||!Jr(t.footer),V=()=>{var S,I;const U=k?w(Ae,null,En(t.header,Q=>Q?w("div",{class:[`${$}-popover__header`,e.headerClass],style:e.headerStyle},Q):null),En(t.default,Q=>Q?w("div",{class:[`${$}-popover__content`,e.contentClass],style:e.contentStyle},t):null),En(t.footer,Q=>Q?w("div",{class:[`${$}-popover__footer`,e.footerClass],style:e.footerStyle},Q):null)):e.scrollable?(S=t.default)===null||S===void 0?void 0:S.call(t):w("div",{class:[`${$}-popover__content`,e.contentClass],style:e.contentStyle},t),J=e.scrollable?w(Wv,{contentClass:k?void 0:`${$}-popover__content ${(I=e.contentClass)!==null&&I!==void 0?I:""}`,contentStyle:k?void 0:e.contentStyle},{default:()=>U}):U,ie=e.showArrow?Yv({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:$}):null;return[J,ie]};m=w("div",Bo({class:[`${$}-popover`,`${$}-popover-shared`,y==null?void 0:y.themeClass.value,B.map(S=>`${$}-${S}`),{[`${$}-popover--scrollable`]:e.scrollable,[`${$}-popover--show-header-or-footer`]:k,[`${$}-popover--raw`]:e.raw,[`${$}-popover-shared--overlap`]:e.overlap,[`${$}-popover-shared--show-arrow`]:e.showArrow,[`${$}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:u,style:d.value,onKeydown:s.handleKeydown,onMouseenter:f,onMouseleave:T},n),R?w(hs,{active:e.show,autoFocus:!0},{default:V}):V())}return dt(m,h.value)}return{displayed:v,namespace:r,isMounted:s.isMountedRef,zIndex:s.zIndexRef,followerRef:l,adjustedTo:ft(e),followerEnabled:c,renderContentNode:j}},render(){return w(Nl,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===ft.tdkey},{default:()=>this.animated?w(st,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),qv=Object.keys(Qi),Gv={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function Kv(e,t,n){Gv[t].forEach(r=>{e.props?e.props=Object.assign({},e.props):e.props={};const o=e.props[r],i=n[r];o?e.props[r]=(...a)=>{o(...a),i(...a)}:e.props[r]=i})}const ea={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:ft.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},Jv=Object.assign(Object.assign(Object.assign({},Pe.props),ea),{internalOnAfterLeave:Function,internalRenderBody:Function}),Qv=oe({name:"Popover",inheritAttrs:!1,props:Jv,slots:Object,__popover__:!0,setup(e){const t=rr(),n=A(null),r=F(()=>e.show),o=A(e.defaultShow),i=Va(r,o),a=Pt(()=>e.disabled?!1:i.value),l=()=>{if(e.disabled)return!0;const{getDisabled:S}=e;return!!(S!=null&&S())},s=()=>l()?!1:i.value,u=Ua(e,["arrow","showArrow"]),c=F(()=>e.overlap?!1:u.value);let v=null;const h=A(null),b=A(null),d=Pt(()=>e.x!==void 0&&e.y!==void 0);function y(S){const{"onUpdate:show":I,onUpdateShow:U,onShow:J,onHide:ie}=e;o.value=S,I&&St(I,S),U&&St(U,S),S&&J&&St(J,!0),S&&ie&&St(ie,!1)}function g(){v&&v.syncPosition()}function f(){const{value:S}=h;S&&(window.clearTimeout(S),h.value=null)}function T(){const{value:S}=b;S&&(window.clearTimeout(S),b.value=null)}function D(){const S=l();if(e.trigger==="focus"&&!S){if(s())return;y(!0)}}function H(){const S=l();if(e.trigger==="focus"&&!S){if(!s())return;y(!1)}}function W(){const S=l();if(e.trigger==="hover"&&!S){if(T(),h.value!==null||s())return;const I=()=>{y(!0),h.value=null},{delay:U}=e;U===0?I():h.value=window.setTimeout(I,U)}}function j(){const S=l();if(e.trigger==="hover"&&!S){if(f(),b.value!==null||!s())return;const I=()=>{y(!1),b.value=null},{duration:U}=e;U===0?I():b.value=window.setTimeout(I,U)}}function p(){j()}function m(S){var I;s()&&(e.trigger==="click"&&(f(),T(),y(!1)),(I=e.onClickoutside)===null||I===void 0||I.call(e,S))}function O(){if(e.trigger==="click"&&!l()){f(),T();const S=!s();y(S)}}function $(S){e.internalTrapFocus&&S.key==="Escape"&&(f(),T(),y(!1))}function B(S){o.value=S}function R(){var S;return(S=n.value)===null||S===void 0?void 0:S.targetRef}function k(S){v=S}return Ye("NPopover",{getTriggerElement:R,handleKeydown:$,handleMouseEnter:W,handleMouseLeave:j,handleClickOutside:m,handleMouseMoveOutside:p,setBodyInstance:k,positionManuallyRef:d,isMountedRef:t,zIndexRef:me(e,"zIndex"),extraClassRef:me(e,"internalExtraClass"),internalRenderBodyRef:me(e,"internalRenderBody")}),Ge(()=>{i.value&&l()&&y(!1)}),{binderInstRef:n,positionManually:d,mergedShowConsideringDisabledProp:a,uncontrolledShow:o,mergedShowArrow:c,getMergedShow:s,setShow:B,handleClick:O,handleMouseEnter:W,handleMouseLeave:j,handleFocus:D,handleBlur:H,syncPosition:g}},render(){var e;const{positionManually:t,$slots:n}=this;let r,o=!1;if(!t&&(r=$s(n,"trigger"),r)){r=_a(r),r=r.type===Ra?w("span",[r]):r;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=r.type)===null||e===void 0)&&e.__popover__)o=!0,r.props||(r.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),r.props.internalSyncTargetWithParent=!0,r.props.internalInheritedEventHandlers?r.props.internalInheritedEventHandlers=[i,...r.props.internalInheritedEventHandlers]:r.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,l=[i,...a],s={onBlur:u=>{l.forEach(c=>{c.onBlur(u)})},onFocus:u=>{l.forEach(c=>{c.onFocus(u)})},onClick:u=>{l.forEach(c=>{c.onClick(u)})},onMouseenter:u=>{l.forEach(c=>{c.onMouseenter(u)})},onMouseleave:u=>{l.forEach(c=>{c.onMouseleave(u)})}};Kv(r,a?"nested":t?"manual":this.trigger,s)}}return w(ul,{ref:"binderInstRef",syncTarget:!o,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?dt(w("div",{style:{position:"fixed",top:0,right:0,bottom:0,left:0}}),[[or,{enabled:i,zIndex:this.zIndex}]]):null,t?null:w(cl,null,{default:()=>r}),w(Zv,Ts(this.$props,qv,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,l;return(l=(a=this.$slots).default)===null||l===void 0?void 0:l.call(a)},header:()=>{var a,l;return(l=(a=this.$slots).header)===null||l===void 0?void 0:l.call(a)},footer:()=>{var a,l;return(l=(a=this.$slots).footer)===null||l===void 0?void 0:l.call(a)}})]}})}}),ep={padding:"8px 14px"};function tp(e){const{borderRadius:t,boxShadow2:n,baseColor:r}=e;return Object.assign(Object.assign({},ep),{borderRadius:t,boxShadow:n,color:No(r,"rgba(0, 0, 0, .85)"),textColor:r})}const ta={name:"Tooltip",common:gn,peers:{Popover:Ji},self:tp},np=Object.assign(Object.assign({},ea),Pe.props),rp=oe({name:"Tooltip",props:np,slots:Object,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=gt(e),n=Pe("Tooltip","-tooltip",void 0,ta,e,t),r=A(null);return Object.assign(Object.assign({},{syncPosition(){r.value.syncPosition()},setShow(i){r.value.setShow(i)}}),{popoverRef:r,mergedTheme:n,popoverThemeOverrides:F(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return w(Qv,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}});function op(){return{toolbarIconColor:"rgba(255, 255, 255, .9)",toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}const ip={name:"Image",common:gn,peers:{Tooltip:ta},self:op};function ap(){return w("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w("path",{d:"M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z",fill:"currentColor"}))}function lp(){return w("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w("path",{d:"M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z",fill:"currentColor"}))}function sp(){return w("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w("path",{d:"M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z",fill:"currentColor"}))}const wr=Object.assign(Object.assign({},Pe.props),{onPreviewPrev:Function,onPreviewNext:Function,showToolbar:{type:Boolean,default:!0},showToolbarTooltip:Boolean,renderToolbar:Function}),na="n-image",up=L([L("body >",[G("image-container","position: fixed;")]),G("image-preview-container",`
|
|
218
|
-
position: fixed;
|
|
219
|
-
left: 0;
|
|
220
|
-
right: 0;
|
|
221
|
-
top: 0;
|
|
222
|
-
bottom: 0;
|
|
223
|
-
display: flex;
|
|
224
|
-
`),G("image-preview-overlay",`
|
|
225
|
-
z-index: -1;
|
|
226
|
-
position: absolute;
|
|
227
|
-
left: 0;
|
|
228
|
-
right: 0;
|
|
229
|
-
top: 0;
|
|
230
|
-
bottom: 0;
|
|
231
|
-
background: rgba(0, 0, 0, .3);
|
|
232
|
-
`,[Qn()]),G("image-preview-toolbar",`
|
|
233
|
-
z-index: 1;
|
|
234
|
-
position: absolute;
|
|
235
|
-
left: 50%;
|
|
236
|
-
transform: translateX(-50%);
|
|
237
|
-
border-radius: var(--n-toolbar-border-radius);
|
|
238
|
-
height: 48px;
|
|
239
|
-
bottom: 40px;
|
|
240
|
-
padding: 0 12px;
|
|
241
|
-
background: var(--n-toolbar-color);
|
|
242
|
-
box-shadow: var(--n-toolbar-box-shadow);
|
|
243
|
-
color: var(--n-toolbar-icon-color);
|
|
244
|
-
transition: color .3s var(--n-bezier);
|
|
245
|
-
display: flex;
|
|
246
|
-
align-items: center;
|
|
247
|
-
`,[G("base-icon",`
|
|
248
|
-
padding: 0 8px;
|
|
249
|
-
font-size: 28px;
|
|
250
|
-
cursor: pointer;
|
|
251
|
-
`),Qn()]),G("image-preview-wrapper",`
|
|
252
|
-
position: absolute;
|
|
253
|
-
left: 0;
|
|
254
|
-
right: 0;
|
|
255
|
-
top: 0;
|
|
256
|
-
bottom: 0;
|
|
257
|
-
display: flex;
|
|
258
|
-
pointer-events: none;
|
|
259
|
-
`,[Nv()]),G("image-preview",`
|
|
260
|
-
user-select: none;
|
|
261
|
-
-webkit-user-select: none;
|
|
262
|
-
pointer-events: all;
|
|
263
|
-
margin: auto;
|
|
264
|
-
max-height: calc(100vh - 32px);
|
|
265
|
-
max-width: calc(100vw - 32px);
|
|
266
|
-
transition: transform .3s var(--n-bezier);
|
|
267
|
-
`),G("image",`
|
|
268
|
-
display: inline-flex;
|
|
269
|
-
max-height: 100%;
|
|
270
|
-
max-width: 100%;
|
|
271
|
-
`,[en("preview-disabled",`
|
|
272
|
-
cursor: pointer;
|
|
273
|
-
`),L("img",`
|
|
274
|
-
border-radius: inherit;
|
|
275
|
-
`)])]),Kt=32,ra=oe({name:"ImagePreview",props:Object.assign(Object.assign({},wr),{onNext:Function,onPrev:Function,clsPrefix:{type:String,required:!0}}),setup(e){const t=Pe("Image","-image",up,ip,e,me(e,"clsPrefix"));let n=null;const r=A(null),o=A(null),i=A(void 0),a=A(!1),l=A(!1),{localeRef:s}=yv("Image");function u(){const{value:C}=o;if(!n||!C)return;const{style:z}=C,M=n.getBoundingClientRect(),N=M.left+M.width/2,X=M.top+M.height/2;z.transformOrigin=`${N}px ${X}px`}function c(C){var z,M;switch(C.key){case" ":C.preventDefault();break;case"ArrowLeft":(z=e.onPrev)===null||z===void 0||z.call(e);break;case"ArrowRight":(M=e.onNext)===null||M===void 0||M.call(e);break;case"Escape":xe();break}}$e(a,C=>{C?re("keydown",document,c):K("keydown",document,c)}),Oe(()=>{K("keydown",document,c)});let v=0,h=0,b=0,d=0,y=0,g=0,f=0,T=0,D=!1;function H(C){const{clientX:z,clientY:M}=C;b=z-v,d=M-h,Wo(he)}function W(C){const{mouseUpClientX:z,mouseUpClientY:M,mouseDownClientX:N,mouseDownClientY:X}=C,ae=N-z,ue=X-M,ve=`vertical${ue>0?"Top":"Bottom"}`,Ce=`horizontal${ae>0?"Left":"Right"}`;return{moveVerticalDirection:ve,moveHorizontalDirection:Ce,deltaHorizontal:ae,deltaVertical:ue}}function j(C){const{value:z}=r;if(!z)return{offsetX:0,offsetY:0};const M=z.getBoundingClientRect(),{moveVerticalDirection:N,moveHorizontalDirection:X,deltaHorizontal:ae,deltaVertical:ue}=C||{};let ve=0,Ce=0;return M.width<=window.innerWidth?ve=0:M.left>0?ve=(M.width-window.innerWidth)/2:M.right<window.innerWidth?ve=-(M.width-window.innerWidth)/2:X==="horizontalRight"?ve=Math.min((M.width-window.innerWidth)/2,y-(ae!=null?ae:0)):ve=Math.max(-((M.width-window.innerWidth)/2),y-(ae!=null?ae:0)),M.height<=window.innerHeight?Ce=0:M.top>0?Ce=(M.height-window.innerHeight)/2:M.bottom<window.innerHeight?Ce=-(M.height-window.innerHeight)/2:N==="verticalBottom"?Ce=Math.min((M.height-window.innerHeight)/2,g-(ue!=null?ue:0)):Ce=Math.max(-((M.height-window.innerHeight)/2),g-(ue!=null?ue:0)),{offsetX:ve,offsetY:Ce}}function p(C){K("mousemove",document,H),K("mouseup",document,p);const{clientX:z,clientY:M}=C;D=!1;const N=W({mouseUpClientX:z,mouseUpClientY:M,mouseDownClientX:f,mouseDownClientY:T}),X=j(N);b=X.offsetX,d=X.offsetY,he()}const m=ne(na,null);function O(C){var z,M;if((M=(z=m==null?void 0:m.previewedImgPropsRef.value)===null||z===void 0?void 0:z.onMousedown)===null||M===void 0||M.call(z,C),C.button!==0)return;const{clientX:N,clientY:X}=C;D=!0,v=N-b,h=X-d,y=b,g=d,f=N,T=X,he(),re("mousemove",document,H),re("mouseup",document,p)}const $=1.5;let B=0,R=1,k=0;function V(C){var z,M;(M=(z=m==null?void 0:m.previewedImgPropsRef.value)===null||z===void 0?void 0:z.onDblclick)===null||M===void 0||M.call(z,C);const N=fe();R=R===N?1:N,he()}function S(){R=1,B=0}function I(){var C;S(),k=0,(C=e.onPrev)===null||C===void 0||C.call(e)}function U(){var C;S(),k=0,(C=e.onNext)===null||C===void 0||C.call(e)}function J(){k-=90,he()}function ie(){k+=90,he()}function Q(){const{value:C}=r;if(!C)return 1;const{innerWidth:z,innerHeight:M}=window,N=Math.max(1,C.naturalHeight/(M-Kt)),X=Math.max(1,C.naturalWidth/(z-Kt));return Math.max(3,N*2,X*2)}function fe(){const{value:C}=r;if(!C)return 1;const{innerWidth:z,innerHeight:M}=window,N=C.naturalHeight/(M-Kt),X=C.naturalWidth/(z-Kt);return N<1&&X<1?1:Math.max(N,X)}function nt(){const C=Q();R<C&&(B+=1,R=Math.min(C,Math.pow($,B)),he())}function Dt(){if(R>.5){const C=R;B-=1,R=Math.max(.5,Math.pow($,B));const z=C-R;he(!1);const M=j();R+=z,he(!1),R-=z,b=M.offsetX,d=M.offsetY,he()}}function mn(){const C=i.value;C&&xs(C)}function he(C=!0){var z;const{value:M}=r;if(!M)return;const{style:N}=M,X=Ba((z=m==null?void 0:m.previewedImgPropsRef.value)===null||z===void 0?void 0:z.style);let ae="";if(typeof X=="string")ae=`${X};`;else for(const ve in X)ae+=`${wv(ve)}: ${X[ve]};`;const ue=`transform-origin: center; transform: translateX(${b}px) translateY(${d}px) rotate(${k}deg) scale(${R});`;D?N.cssText=`${ae}cursor: grabbing; transition: none;${ue}`:N.cssText=`${ae}cursor: grab;${ue}${C?"":"transition: none;"}`,C||M.offsetHeight}function xe(){a.value=!a.value,l.value=!0}function bn(){R=fe(),B=Math.ceil(Math.log(R)/Math.log($)),b=0,d=0,he()}const Ht={setPreviewSrc:C=>{i.value=C},setThumbnailEl:C=>{n=C},toggleShow:xe};function Lt(C,z){if(e.showToolbarTooltip){const{value:M}=t;return w(rp,{to:!1,theme:M.peers.Tooltip,themeOverrides:M.peerOverrides.Tooltip,keepAliveOnHover:!1},{default:()=>s.value[z],trigger:()=>C})}else return C}const Ft=F(()=>{const{common:{cubicBezierEaseInOut:C},self:{toolbarIconColor:z,toolbarBorderRadius:M,toolbarBoxShadow:N,toolbarColor:X}}=t.value;return{"--n-bezier":C,"--n-toolbar-icon-color":z,"--n-toolbar-color":X,"--n-toolbar-border-radius":M,"--n-toolbar-box-shadow":N}}),{inlineThemeDisabled:kt}=gt(),Ie=kt?ar("image-preview",void 0,Ft,e):void 0;return Object.assign({previewRef:r,previewWrapperRef:o,previewSrc:i,show:a,appear:rr(),displayed:l,previewedImgProps:m==null?void 0:m.previewedImgPropsRef,handleWheel(C){C.preventDefault()},handlePreviewMousedown:O,handlePreviewDblclick:V,syncTransformOrigin:u,handleAfterLeave:()=>{S(),k=0,l.value=!1},handleDragStart:C=>{var z,M;(M=(z=m==null?void 0:m.previewedImgPropsRef.value)===null||z===void 0?void 0:z.onDragstart)===null||M===void 0||M.call(z,C),C.preventDefault()},zoomIn:nt,zoomOut:Dt,handleDownloadClick:mn,rotateCounterclockwise:J,rotateClockwise:ie,handleSwitchPrev:I,handleSwitchNext:U,withTooltip:Lt,resizeToOrignalImageSize:bn,cssVars:kt?void 0:Ft,themeClass:Ie==null?void 0:Ie.themeClass,onRender:Ie==null?void 0:Ie.onRender},Ht)},render(){var e,t;const{clsPrefix:n,renderToolbar:r,withTooltip:o}=this,i=o(w(Ee,{clsPrefix:n,onClick:this.handleSwitchPrev},{default:ap}),"tipPrevious"),a=o(w(Ee,{clsPrefix:n,onClick:this.handleSwitchNext},{default:lp}),"tipNext"),l=o(w(Ee,{clsPrefix:n,onClick:this.rotateCounterclockwise},{default:()=>w(Av,null)}),"tipCounterclockwise"),s=o(w(Ee,{clsPrefix:n,onClick:this.rotateClockwise},{default:()=>w(zv,null)}),"tipClockwise"),u=o(w(Ee,{clsPrefix:n,onClick:this.resizeToOrignalImageSize},{default:()=>w(Ev,null)}),"tipOriginalSize"),c=o(w(Ee,{clsPrefix:n,onClick:this.zoomOut},{default:()=>w(Rv,null)}),"tipZoomOut"),v=o(w(Ee,{clsPrefix:n,onClick:this.handleDownloadClick},{default:()=>w(Pv,null)}),"tipDownload"),h=o(w(Ee,{clsPrefix:n,onClick:this.toggleShow},{default:sp}),"tipClose"),b=o(w(Ee,{clsPrefix:n,onClick:this.zoomIn},{default:()=>w(_v,null)}),"tipZoomIn");return w(Ae,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),w(Ko,{show:this.show},{default:()=>{var d;return this.show||this.displayed?((d=this.onRender)===null||d===void 0||d.call(this),dt(w("div",{class:[`${n}-image-preview-container`,this.themeClass],style:this.cssVars,onWheel:this.handleWheel},w(st,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?w("div",{class:`${n}-image-preview-overlay`,onClick:this.toggleShow}):null}),this.showToolbar?w(st,{name:"fade-in-transition",appear:this.appear},{default:()=>this.show?w("div",{class:`${n}-image-preview-toolbar`},r?r({nodes:{prev:i,next:a,rotateCounterclockwise:l,rotateClockwise:s,resizeToOriginalSize:u,zoomOut:c,zoomIn:b,download:v,close:h}}):w(Ae,null,this.onPrev?w(Ae,null,i,a):null,l,s,u,c,b,v,h)):null}):null,w(st,{name:"fade-in-scale-up-transition",onAfterLeave:this.handleAfterLeave,appear:this.appear,onEnter:this.syncTransformOrigin,onBeforeLeave:this.syncTransformOrigin},{default:()=>{const{previewedImgProps:y={}}=this;return dt(w("div",{class:`${n}-image-preview-wrapper`,ref:"previewWrapperRef"},w("img",Object.assign({},y,{draggable:!1,onMousedown:this.handlePreviewMousedown,onDblclick:this.handlePreviewDblclick,class:[`${n}-image-preview`,y.class],key:this.previewSrc,src:this.previewSrc,ref:"previewRef",onDragstart:this.handleDragStart}))),[[Io,this.show]])}})),[[or,{enabled:this.show}]])):null}}))}}),oa="n-image-group",cp=wr,mp=oe({name:"ImageGroup",props:cp,setup(e){let t;const{mergedClsPrefixRef:n}=gt(e),r=`c${Vo()}`,o=tr(),i=A(null),a=s=>{var u;t=s,(u=i.value)===null||u===void 0||u.setPreviewSrc(s)};function l(s){var u,c;if(!(o!=null&&o.proxy))return;const h=o.proxy.$el.parentElement.querySelectorAll(`[data-group-id=${r}]:not([data-error=true])`);if(!h.length)return;const b=Array.from(h).findIndex(d=>d.dataset.previewSrc===t);~b?a(h[(b+s+h.length)%h.length].dataset.previewSrc):a(h[0].dataset.previewSrc),s===1?(u=e.onPreviewNext)===null||u===void 0||u.call(e):(c=e.onPreviewPrev)===null||c===void 0||c.call(e)}return Ye(oa,{mergedClsPrefixRef:n,setPreviewSrc:a,setThumbnailEl:s=>{var u;(u=i.value)===null||u===void 0||u.setThumbnailEl(s)},toggleShow:()=>{var s;(s=i.value)===null||s===void 0||s.toggleShow()},groupId:r,renderToolbarRef:me(e,"renderToolbar")}),{mergedClsPrefix:n,previewInstRef:i,next:()=>{l(1)},prev:()=>{l(-1)}}},render(){return w(ra,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:this.mergedClsPrefix,ref:"previewInstRef",onPrev:this.prev,onNext:this.next,showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip,renderToolbar:this.renderToolbar},this.$slots)}});function dp(e={}){var t;const{root:n=null}=e;return{hash:`${e.rootMargin||"0px 0px 0px 0px"}-${Array.isArray(e.threshold)?e.threshold.join(","):(t=e.threshold)!==null&&t!==void 0?t:"0"}`,options:Object.assign(Object.assign({},e),{root:(typeof n=="string"?document.querySelector(n):n)||document.documentElement})}}const In=new WeakMap,Dn=new WeakMap,Hn=new WeakMap,fp=(e,t,n)=>{if(!e)return()=>{};const r=dp(t),{root:o}=r.options;let i;const a=In.get(o);a?i=a:(i=new Map,In.set(o,i));let l,s;i.has(r.hash)?(s=i.get(r.hash),s[1].has(e)||(l=s[0],s[1].add(e),l.observe(e))):(l=new IntersectionObserver(v=>{v.forEach(h=>{if(h.isIntersecting){const b=Dn.get(h.target),d=Hn.get(h.target);b&&b(),d&&(d.value=!0)}})},r.options),l.observe(e),s=[l,new Set([e])],i.set(r.hash,s));let u=!1;const c=()=>{u||(Dn.delete(e),Hn.delete(e),u=!0,s[1].has(e)&&(s[0].unobserve(e),s[1].delete(e)),s[1].size<=0&&i.delete(r.hash),i.size||In.delete(o))};return Dn.set(e,c),Hn.set(e,n),c},hp=Object.assign({alt:String,height:[String,Number],imgProps:Object,previewedImgProps:Object,lazy:Boolean,intersectionObserverOptions:Object,objectFit:{type:String,default:"fill"},previewSrc:String,fallbackSrc:String,width:[String,Number],src:String,previewDisabled:Boolean,loadDescription:String,onError:Function,onLoad:Function},wr),bp=oe({name:"Image",props:hp,slots:Object,inheritAttrs:!1,setup(e){const t=A(null),n=A(!1),r=A(null),o=ne(oa,null),{mergedClsPrefixRef:i}=o||gt(e),a={click:()=>{if(e.previewDisabled||n.value)return;const u=e.previewSrc||e.src;if(o){o.setPreviewSrc(u),o.setThumbnailEl(t.value),o.toggleShow();return}const{value:c}=r;c&&(c.setPreviewSrc(u),c.setThumbnailEl(t.value),c.toggleShow())}},l=A(!e.lazy);_e(()=>{var u;(u=t.value)===null||u===void 0||u.setAttribute("data-group-id",(o==null?void 0:o.groupId)||"")}),_e(()=>{if(e.lazy&&e.intersectionObserverOptions){let u;const c=Ge(()=>{u==null||u(),u=void 0,u=fp(t.value,e.intersectionObserverOptions,l)});Oe(()=>{c(),u==null||u()})}}),Ge(()=>{var u;e.src||((u=e.imgProps)===null||u===void 0||u.src),n.value=!1});const s=A(!1);return Ye(na,{previewedImgPropsRef:me(e,"previewedImgProps")}),Object.assign({mergedClsPrefix:i,groupId:o==null?void 0:o.groupId,previewInstRef:r,imageRef:t,showError:n,shouldStartLoading:l,loaded:s,mergedOnClick:u=>{var c,v;a.click(),(v=(c=e.imgProps)===null||c===void 0?void 0:c.onClick)===null||v===void 0||v.call(c,u)},mergedOnError:u=>{if(!l.value)return;n.value=!0;const{onError:c,imgProps:{onError:v}={}}=e;c==null||c(u),v==null||v(u)},mergedOnLoad:u=>{const{onLoad:c,imgProps:{onLoad:v}={}}=e;c==null||c(u),v==null||v(u),s.value=!0}},a)},render(){var e,t;const{mergedClsPrefix:n,imgProps:r={},loaded:o,$attrs:i,lazy:a}=this,l=Os(this.$slots.error,()=>[]),s=(t=(e=this.$slots).placeholder)===null||t===void 0?void 0:t.call(e),u=this.src||r.src,c=this.showError&&l.length?l:w("img",Object.assign(Object.assign({},r),{ref:"imageRef",width:this.width||r.width,height:this.height||r.height,src:this.showError?this.fallbackSrc:a&&this.intersectionObserverOptions?this.shouldStartLoading?u:void 0:u,alt:this.alt||r.alt,"aria-label":this.alt||r.alt,onClick:this.mergedOnClick,onError:this.mergedOnError,onLoad:this.mergedOnLoad,loading:Ov&&a&&!this.intersectionObserverOptions?"lazy":"eager",style:[r.style||"",s&&!o?{height:"0",width:"0",visibility:"hidden"}:"",{objectFit:this.objectFit}],"data-error":this.showError,"data-preview-src":this.previewSrc||this.src}));return w("div",Object.assign({},i,{role:"none",class:[i.class,`${n}-image`,(this.previewDisabled||this.showError)&&`${n}-image--preview-disabled`]}),this.groupId?c:w(ra,{theme:this.theme,themeOverrides:this.themeOverrides,clsPrefix:n,ref:"previewInstRef",showToolbar:this.showToolbar,showToolbarTooltip:this.showToolbarTooltip,renderToolbar:this.renderToolbar},{default:()=>c}),!o&&s)}});export{bp as NImage,mp as NImageGroup,cp as imageGroupProps,hp as imageProps};
|