@huyooo/ui 0.4.4 → 0.4.7

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.
Files changed (167) hide show
  1. package/dist/AuthkitAppSetting-CufEYL2W.js +1815 -0
  2. package/dist/AuthkitAuthorize-DnvypjyO.js +250 -0
  3. package/dist/CollapseItem-Cw1vcdLu.js +57 -0
  4. package/dist/CustomTable-Cd6RiAPX.js +1337 -0
  5. package/dist/FeedbackFeedBackItem-DYUIzqYg.js +526 -0
  6. package/dist/FeedbackFeedBackModal-DKgZZ8OR.js +1731 -0
  7. package/dist/LandingPageToc-BkL7mxo7.js +1555 -0
  8. package/dist/Menu-2SePYCYT.js +115 -0
  9. package/dist/MessageHandle-C9nSNw5A.js +867 -0
  10. package/dist/MessageMenu-x26lfAeK.js +114 -0
  11. package/dist/PaySubscriptions-CFKM4gyf.js +278 -0
  12. package/dist/ReferrerReferees-q8H-v-Hq.js +185 -0
  13. package/dist/Upload.vue_vue_type_script_setup_true_lang-DqfW_OJJ.js +96 -0
  14. package/dist/UserPanel-azycBFZP.js +511 -0
  15. package/dist/WidthContainer-D795bWdT.js +128 -0
  16. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  17. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
  18. package/dist/authkit.d.ts +32 -0
  19. package/dist/authkit.js +36 -0
  20. package/dist/common.d.ts +24 -0
  21. package/dist/common.js +39 -0
  22. package/dist/components/Authkit/Auth/AuthkitAuthorize.vue.d.ts +104 -0
  23. package/dist/components/Feedback/FeedbackFeedBack.vue.d.ts +53 -0
  24. package/dist/components/Feedback/FeedbackFeedBackItem.vue.d.ts +32 -0
  25. package/dist/components/Feedback/FeedbackFloatButton.vue.d.ts +42 -0
  26. package/dist/components/Gradientbackground.vue.d.ts +1 -1
  27. package/dist/components/LandingPage/LandingPageAbout.vue.d.ts +2 -0
  28. package/dist/components/LandingPage/LandingPageAside.vue.d.ts +2 -0
  29. package/dist/components/LandingPage/LandingPageBlockHeader.vue.d.ts +18 -0
  30. package/dist/components/LandingPage/LandingPageBlockLayout.vue.d.ts +41 -0
  31. package/dist/components/LandingPage/LandingPageBrandInfo.vue.d.ts +47 -0
  32. package/dist/components/LandingPage/LandingPageButton.vue.d.ts +20 -0
  33. package/dist/components/LandingPage/LandingPageContact.vue.d.ts +29 -0
  34. package/dist/components/LandingPage/LandingPageContactForm.vue.d.ts +2 -0
  35. package/dist/components/LandingPage/LandingPageContainer.vue.d.ts +17 -0
  36. package/dist/components/LandingPage/LandingPageCta.vue.d.ts +25 -0
  37. package/dist/components/LandingPage/LandingPageDescription.vue.d.ts +17 -0
  38. package/dist/components/LandingPage/LandingPageDivider.vue.d.ts +2 -0
  39. package/dist/components/LandingPage/LandingPageFAQ.vue.d.ts +13 -0
  40. package/dist/components/LandingPage/LandingPageFeatures.vue.d.ts +16 -0
  41. package/dist/components/LandingPage/LandingPageFeatures2.vue.d.ts +13 -0
  42. package/dist/components/LandingPage/LandingPageFooter.vue.d.ts +2 -0
  43. package/dist/components/LandingPage/LandingPageFooterLayout.vue.d.ts +19 -0
  44. package/dist/components/LandingPage/LandingPageHero.vue.d.ts +49 -0
  45. package/dist/components/LandingPage/LandingPageLink.vue.d.ts +17 -0
  46. package/dist/components/LandingPage/LandingPageLinkGroup.vue.d.ts +22 -0
  47. package/dist/components/LandingPage/LandingPageListItem.vue.d.ts +7 -0
  48. package/dist/components/LandingPage/LandingPageLogo.vue.d.ts +53 -0
  49. package/dist/components/LandingPage/LandingPageLogos.vue.d.ts +14 -0
  50. package/dist/components/LandingPage/LandingPageMission.vue.d.ts +10 -0
  51. package/dist/components/LandingPage/LandingPagePageContent.vue.d.ts +31 -0
  52. package/dist/components/LandingPage/LandingPagePriceGroup.vue.d.ts +17 -0
  53. package/dist/components/LandingPage/LandingPagePricingGrid.vue.d.ts +17 -0
  54. package/dist/components/LandingPage/LandingPageSections.vue.d.ts +23 -0
  55. package/dist/components/LandingPage/LandingPageShowcase.vue.d.ts +26 -0
  56. package/dist/components/LandingPage/LandingPageStats.vue.d.ts +16 -0
  57. package/dist/components/LandingPage/LandingPageSteps.vue.d.ts +33 -0
  58. package/dist/components/LandingPage/LandingPageSubTitle.vue.d.ts +17 -0
  59. package/dist/components/LandingPage/LandingPageTabs.vue.d.ts +32 -0
  60. package/dist/components/LandingPage/LandingPageTeamInfo.vue.d.ts +6 -0
  61. package/dist/components/LandingPage/LandingPageTeamList.vue.d.ts +9 -0
  62. package/dist/components/LandingPage/LandingPageTestimonial.vue.d.ts +13 -0
  63. package/dist/components/LandingPage/LandingPageTips.vue.d.ts +23 -0
  64. package/dist/components/LandingPage/LandingPageTitle.vue.d.ts +17 -0
  65. package/dist/components/LandingPage/LandingPageToc.vue.d.ts +2 -0
  66. package/dist/components/Message/MessageCustomTabs.vue.d.ts +44 -0
  67. package/dist/components/{MessageCenter/MessageCenterHandle.vue.d.ts → Message/MessageHandle.vue.d.ts} +5 -5
  68. package/dist/components/Message/MessageMenu.vue.d.ts +27 -0
  69. package/dist/components/Message/MessageMenuItem.vue.d.ts +44 -0
  70. package/dist/components/Upload/Upload.vue.d.ts +80 -0
  71. package/dist/components/User/UserBasicInformation.vue.d.ts +1 -1
  72. package/dist/components/User/UserPanel.vue.d.ts +23 -23
  73. package/dist/composables/Authkit/{useAppsAuthPageInfo.d.ts → useAuthkitAppsAuthPageInfo.d.ts} +1 -1
  74. package/dist/composables/Authkit/{useAuth.d.ts → useAuthkitAuth.d.ts} +1 -1
  75. package/dist/composables/Authkit/{useAuthModal.d.ts → useAuthkitAuthModal.d.ts} +1 -1
  76. package/dist/composables/Authkit/{useCreateAndUpdate.d.ts → useAuthkitCreateAndUpdate.d.ts} +1 -1
  77. package/dist/composables/Authkit/{useOAuth.d.ts → useAuthkitOAuth.d.ts} +1 -1
  78. package/dist/composables/Authkit/useAuthkitProps.d.ts +7 -0
  79. package/dist/composables/Authkit/{useUsersProfile.d.ts → useAuthkitUsersProfile.d.ts} +2 -2
  80. package/dist/composables/Upload/{useCos.d.ts → useUploadCos.d.ts} +1 -1
  81. package/dist/composables.d.ts +12 -0
  82. package/dist/composables.js +21 -0
  83. package/dist/feedback.d.ts +14 -0
  84. package/dist/feedback.js +17 -0
  85. package/dist/index-Cr5RQSnA.js +73 -0
  86. package/dist/index.js +153 -98959
  87. package/dist/landingPage.d.ts +42 -0
  88. package/dist/landingPage.js +45 -0
  89. package/dist/main.d.ts +13 -42
  90. package/dist/message.d.ts +17 -0
  91. package/dist/message.js +22 -0
  92. package/dist/pay.d.ts +1 -0
  93. package/dist/pay.js +4 -0
  94. package/dist/plugin-vue_export-helper-LjDO2Zua.js +19 -0
  95. package/dist/referrer.d.ts +1 -0
  96. package/dist/referrer.js +4 -0
  97. package/dist/style.css +1 -1
  98. package/dist/styles.d.ts +1 -0
  99. package/dist/styles.js +4 -0
  100. package/dist/upload.d.ts +2 -0
  101. package/dist/upload.js +6 -0
  102. package/dist/useActiveDoc-BWHkOJhJ.js +39 -0
  103. package/dist/useAuthkitCreateAndUpdate-BpPW409v.js +25 -0
  104. package/dist/useAuthkitProps-ZAjekGnM.js +287 -0
  105. package/dist/useMessageNotifications-lmP0vJDM.js +105 -0
  106. package/dist/useTableHandle-DKUIdSSh.js +69 -0
  107. package/dist/useUploadCos-DpOqkozy.js +7395 -0
  108. package/dist/useUserPanelProps-Dt9zkMJw.js +14 -0
  109. package/dist/user.d.ts +7 -0
  110. package/dist/user.js +10 -0
  111. package/package.json +75 -23
  112. package/dist/composables/Authkit/useProps.d.ts +0 -7
  113. package/dist/api/{MessageCenter → Message}/ChangelogNotifications.d.ts +0 -0
  114. package/dist/api/{MessageCenter → Message}/EventNotifications.d.ts +0 -0
  115. package/dist/api/{MessageCenter → Message}/MessageNotifications.d.ts +0 -0
  116. package/dist/api/{MessageCenter → Message}/NoticeNotifications.d.ts +0 -0
  117. package/dist/components/Authkit/AppSetting/{EmailBinding.vue.d.ts → AuthkitEmailBinding.vue.d.ts} +0 -0
  118. package/dist/components/Authkit/AppSetting/{EmailVerify.vue.d.ts → AuthkitEmailVerify.vue.d.ts} +0 -0
  119. package/dist/components/Authkit/AppSetting/{GithubBinding.vue.d.ts → AuthkitGithubBinding.vue.d.ts} +0 -0
  120. package/dist/components/Authkit/AppSetting/{PasswordUpdate.vue.d.ts → AuthkitPasswordUpdate.vue.d.ts} +0 -0
  121. package/dist/components/Authkit/AppSetting/{PersonalInformation.vue.d.ts → AuthkitPersonalInformation.vue.d.ts} +0 -0
  122. package/dist/components/Authkit/AppSetting/{SetPassword.vue.d.ts → AuthkitSetPassword.vue.d.ts} +0 -0
  123. package/dist/components/Authkit/Auth/{AuthContainer.vue.d.ts → AuthkitAuthContainer.vue.d.ts} +0 -0
  124. package/dist/components/Authkit/Auth/{Title.vue.d.ts → AuthkitAuthTitle.vue.d.ts} +0 -0
  125. package/dist/components/Authkit/Auth/{EmailUpdate.vue.d.ts → AuthkitEmailUpdate.vue.d.ts} +0 -0
  126. package/dist/components/Authkit/Auth/{OAuthItem.vue.d.ts → AuthkitOAuthItem.vue.d.ts} +1 -1
  127. package/dist/components/Authkit/Auth/{OAuthList.vue.d.ts → AuthkitOAuthList.vue.d.ts} +1 -1
  128. package/dist/components/Authkit/Auth/{PasswordAuth.vue.d.ts → AuthkitPasswordAuth.vue.d.ts} +0 -0
  129. package/dist/components/Authkit/Auth/{PasswordUpdateAndVerify.vue.d.ts → AuthkitPasswordUpdateAndVerify.vue.d.ts} +2 -2
  130. package/dist/components/Authkit/Auth/{ResetPassword.vue.d.ts → AuthkitResetPassword.vue.d.ts} +0 -0
  131. package/dist/components/Authkit/Auth/{ServiceAgreementAndPrivacyProtection.vue.d.ts → AuthkitServiceAgreementAndPrivacyProtection.vue.d.ts} +0 -0
  132. package/dist/components/Authkit/Auth/{SignIn.vue.d.ts → AuthkitSignIn.vue.d.ts} +0 -0
  133. package/dist/components/Authkit/Auth/{SignUp.vue.d.ts → AuthkitSignUp.vue.d.ts} +0 -0
  134. package/dist/components/Authkit/Auth/{SwitchSignIn.vue.d.ts → AuthkitSwitchSignIn.vue.d.ts} +0 -0
  135. package/dist/components/Authkit/Auth/{SwitchSignUpOrResetPassword.vue.d.ts → AuthkitSwitchSignUpOrResetPassword.vue.d.ts} +0 -0
  136. package/dist/components/Authkit/{AppSetting.vue.d.ts → AuthkitAppSetting.vue.d.ts} +2 -2
  137. package/dist/components/Authkit/{Auth.vue.d.ts → AuthkitAuth.vue.d.ts} +0 -0
  138. package/dist/components/Authkit/{AuthModal.vue.d.ts → AuthkitAuthModal.vue.d.ts} +4 -4
  139. package/dist/components/Authkit/{SendVerifyCode.vue.d.ts → AuthkitSendVerifyCode.vue.d.ts} +0 -0
  140. package/dist/components/Feedback/{BubbleEnd.vue.d.ts → FeedbackBubbleEnd.vue.d.ts} +0 -0
  141. package/dist/components/Feedback/{BubbleStart.vue.d.ts → FeedbackBubbleStart.vue.d.ts} +0 -0
  142. package/dist/components/Feedback/{Clipboard.vue.d.ts → FeedbackClipboard.vue.d.ts} +0 -0
  143. package/dist/components/{MessageCenter/CustomTabs.vue.d.ts → Feedback/FeedbackCustomTabs.vue.d.ts} +0 -0
  144. package/dist/components/Feedback/{FeedBackDetails.vue.d.ts → FeedbackFeedBackDetails.vue.d.ts} +0 -0
  145. package/dist/components/Feedback/{FeedBackFrom.vue.d.ts → FeedbackFeedBackFrom.vue.d.ts} +0 -0
  146. package/dist/components/Feedback/{FeedBackList.vue.d.ts → FeedbackFeedBackList.vue.d.ts} +0 -0
  147. package/dist/components/Feedback/{FeedBackModal.vue.d.ts → FeedbackFeedBackModal.vue.d.ts} +2 -2
  148. package/dist/components/Feedback/{Refresh.vue.d.ts → FeedbackRefresh.vue.d.ts} +0 -0
  149. package/dist/components/Feedback/{Screenshots.vue.d.ts → FeedbackScreenshots.vue.d.ts} +0 -0
  150. package/dist/components/{Pay/PricingGrid.vue.d.ts → LandingPage/LandingPageCard.vue.d.ts} +0 -0
  151. package/dist/components/{FooterContact.vue.d.ts → LandingPage/LandingPageFooterContact.vue.d.ts} +0 -0
  152. package/dist/components/{Pay/PricingCard.vue.d.ts → LandingPage/LandingPagePricingCard.vue.d.ts} +0 -0
  153. package/dist/components/{MessageCenter/AppMessage.vue.d.ts → Message/MessageAppMessage.vue.d.ts} +2 -2
  154. package/dist/components/{MessageCenter/ChangelogNotifications.vue.d.ts → Message/MessageChangelogNotifications.vue.d.ts} +0 -0
  155. package/dist/components/{MessageCenter/ChangelogNotificationsDetails.vue.d.ts → Message/MessageChangelogNotificationsDetails.vue.d.ts} +0 -0
  156. package/dist/components/{MessageCenter/Details.vue.d.ts → Message/MessageDetails.vue.d.ts} +0 -0
  157. package/dist/components/{MessageCenter/EventNotifications.vue.d.ts → Message/MessageEventNotifications.vue.d.ts} +0 -0
  158. package/dist/components/{MessageCenter/EventNotificationsDetails.vue.d.ts → Message/MessageEventNotificationsDetails.vue.d.ts} +0 -0
  159. package/dist/components/{MessageCenter/InfiniteLoading.vue.d.ts → Message/MessageInfiniteLoading.vue.d.ts} +0 -0
  160. package/dist/components/{MessageCenter → Message}/MessageList.vue.d.ts +0 -0
  161. package/dist/components/{MessageCenter/MessageNotifications.vue.d.ts → Message/MessageNoticeNotifications.vue.d.ts} +0 -0
  162. package/dist/components/{MessageCenter/NoticeNotificationsDetails.vue.d.ts → Message/MessageNoticeNotificationsDetails.vue.d.ts} +0 -0
  163. package/dist/components/{MessageCenter/NoticeNotifications.vue.d.ts → Message/MessageNotifications.vue.d.ts} +0 -0
  164. package/dist/components/{MessageCenter → Message}/MessageTabs.vue.d.ts +0 -0
  165. package/dist/components/Pay/{Subscriptions.vue.d.ts → PaySubscriptions.vue.d.ts} +2 -2
  166. /package/dist/components/Referrer/{Referees.vue.d.ts → ReferrerReferees.vue.d.ts} +0 -0
  167. /package/dist/components/User/{SubscriptionBaseInformation.vue.d.ts → UserSubscriptionBaseInformation.vue.d.ts} +0 -0
@@ -0,0 +1,1337 @@
1
+ /* empty css */
2
+ /* empty css */
3
+ /* empty css */
4
+ /* empty css */
5
+ /* empty css */
6
+ /* empty css */
7
+ import { defineComponent as Re, ref as Ie, computed as Ve, onMounted as Ye, onBeforeUnmount as Je, createElementBlock as de, openBlock as ce, normalizeStyle as be, renderSlot as Fe, createVNode as Le, unref as me, withCtx as Ee, createElementVNode as ye, createCommentVNode as Se, Fragment as $e, renderList as Me, normalizeClass as Be, toDisplayString as De, createBlock as Ce, createTextVNode as Xe, useSlots as Ze } from "vue";
8
+ import { Spin as Qe, Tooltip as Ke, Empty as et, Pagination as tt } from "@arco-design/web-vue";
9
+ import { c as Ue } from "./_commonjsHelpers-DaMA6jEr.js";
10
+ import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ var rt = { exports: {} };
12
+ (function(N, I) {
13
+ (function(P, v) {
14
+ N.exports = v();
15
+ })(Ue, function() {
16
+ var P = 1e3, v = 6e4, H = 36e5, F = "millisecond", k = "second", _ = "minute", X = "hour", $ = "day", L = "week", U = "month", R = "quarter", M = "year", Y = "date", m = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, W = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, x = {
17
+ name: "en",
18
+ weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
19
+ months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
20
+ ordinal: function(O) {
21
+ var g = ["th", "st", "nd", "rd"], d = O % 100;
22
+ return "[" + O + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
23
+ }
24
+ }, ie = function(O, g, d) {
25
+ var y = String(O);
26
+ return !y || y.length >= g ? O : "" + Array(g + 1 - y.length).join(d) + O;
27
+ }, he = {
28
+ s: ie,
29
+ z: function(O) {
30
+ var g = -O.utcOffset(), d = Math.abs(g), y = Math.floor(d / 60), w = d % 60;
31
+ return (g <= 0 ? "+" : "-") + ie(y, 2, "0") + ":" + ie(w, 2, "0");
32
+ },
33
+ m: function O(g, d) {
34
+ if (g.date() < d.date()) return -O(d, g);
35
+ var y = 12 * (d.year() - g.year()) + (d.month() - g.month()), w = g.clone().add(y, U), T = d - w < 0, D = g.clone().add(y + (T ? -1 : 1), U);
36
+ return +(-(y + (d - w) / (T ? w - D : D - w)) || 0);
37
+ },
38
+ a: function(O) {
39
+ return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
40
+ },
41
+ p: function(O) {
42
+ return {
43
+ M: U,
44
+ y: M,
45
+ w: L,
46
+ d: $,
47
+ D: Y,
48
+ h: X,
49
+ m: _,
50
+ s: k,
51
+ ms: F,
52
+ Q: R
53
+ }[O] || String(O || "").toLowerCase().replace(/s$/, "");
54
+ },
55
+ u: function(O) {
56
+ return O === void 0;
57
+ }
58
+ }, ee = "en", S = {};
59
+ S[ee] = x;
60
+ var B = "$isDayjsObject", Z = function(O) {
61
+ return O instanceof G || !(!O || !O[B]);
62
+ }, Q = function O(g, d, y) {
63
+ var w;
64
+ if (!g) return ee;
65
+ if (typeof g == "string") {
66
+ var T = g.toLowerCase();
67
+ S[T] && (w = T), d && (S[T] = d, w = T);
68
+ var D = g.split("-");
69
+ if (!w && D.length > 1) return O(D[0]);
70
+ } else {
71
+ var q = g.name;
72
+ S[q] = g, w = q;
73
+ }
74
+ return !y && w && (ee = w), w || !y && ee;
75
+ }, p = function(O, g) {
76
+ if (Z(O)) return O.clone();
77
+ var d = typeof g == "object" ? g : {};
78
+ return d.date = O, d.args = arguments, new G(d);
79
+ }, b = he;
80
+ b.l = Q, b.i = Z, b.w = function(O, g) {
81
+ return p(O, {
82
+ locale: g.$L,
83
+ utc: g.$u,
84
+ x: g.$x,
85
+ $offset: g.$offset
86
+ });
87
+ };
88
+ var G = function() {
89
+ function O(d) {
90
+ this.$L = Q(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[B] = !0;
91
+ }
92
+ var g = O.prototype;
93
+ return g.parse = function(d) {
94
+ this.$d = function(y) {
95
+ var w = y.date, T = y.utc;
96
+ if (w === null) return /* @__PURE__ */ new Date(NaN);
97
+ if (b.u(w)) return /* @__PURE__ */ new Date();
98
+ if (w instanceof Date) return new Date(w);
99
+ if (typeof w == "string" && !/Z$/i.test(w)) {
100
+ var D = w.match(C);
101
+ if (D) {
102
+ var q = D[2] - 1 || 0, V = (D[7] || "0").substring(0, 3);
103
+ return T ? new Date(Date.UTC(D[1], q, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, V)) : new Date(D[1], q, D[3] || 1, D[4] || 0, D[5] || 0, D[6] || 0, V);
104
+ }
105
+ }
106
+ return new Date(w);
107
+ }(d), this.init();
108
+ }, g.init = function() {
109
+ var d = this.$d;
110
+ this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
111
+ }, g.$utils = function() {
112
+ return b;
113
+ }, g.isValid = function() {
114
+ return this.$d.toString() !== m;
115
+ }, g.isSame = function(d, y) {
116
+ var w = p(d);
117
+ return this.startOf(y) <= w && w <= this.endOf(y);
118
+ }, g.isAfter = function(d, y) {
119
+ return p(d) < this.startOf(y);
120
+ }, g.isBefore = function(d, y) {
121
+ return this.endOf(y) < p(d);
122
+ }, g.$g = function(d, y, w) {
123
+ return b.u(d) ? this[y] : this.set(w, d);
124
+ }, g.unix = function() {
125
+ return Math.floor(this.valueOf() / 1e3);
126
+ }, g.valueOf = function() {
127
+ return this.$d.getTime();
128
+ }, g.startOf = function(d, y) {
129
+ var w = this, T = !!b.u(y) || y, D = b.p(d), q = function(ue, e) {
130
+ var t = b.w(w.$u ? Date.UTC(w.$y, e, ue) : new Date(w.$y, e, ue), w);
131
+ return T ? t : t.endOf($);
132
+ }, V = function(ue, e) {
133
+ return b.w(w.toDate()[ue].apply(w.toDate("s"), (T ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), w);
134
+ }, te = this.$W, h = this.$M, fe = this.$D, ve = "set" + (this.$u ? "UTC" : "");
135
+ switch (D) {
136
+ case M:
137
+ return T ? q(1, 0) : q(31, 11);
138
+ case U:
139
+ return T ? q(1, h) : q(0, h + 1);
140
+ case L:
141
+ var ge = this.$locale().weekStart || 0, oe = (te < ge ? te + 7 : te) - ge;
142
+ return q(T ? fe - oe : fe + (6 - oe), h);
143
+ case $:
144
+ case Y:
145
+ return V(ve + "Hours", 0);
146
+ case X:
147
+ return V(ve + "Minutes", 1);
148
+ case _:
149
+ return V(ve + "Seconds", 2);
150
+ case k:
151
+ return V(ve + "Milliseconds", 3);
152
+ default:
153
+ return this.clone();
154
+ }
155
+ }, g.endOf = function(d) {
156
+ return this.startOf(d, !1);
157
+ }, g.$set = function(d, y) {
158
+ var w, T = b.p(d), D = "set" + (this.$u ? "UTC" : ""), q = (w = {}, w[$] = D + "Date", w[Y] = D + "Date", w[U] = D + "Month", w[M] = D + "FullYear", w[X] = D + "Hours", w[_] = D + "Minutes", w[k] = D + "Seconds", w[F] = D + "Milliseconds", w)[T], V = T === $ ? this.$D + (y - this.$W) : y;
159
+ if (T === U || T === M) {
160
+ var te = this.clone().set(Y, 1);
161
+ te.$d[q](V), te.init(), this.$d = te.set(Y, Math.min(this.$D, te.daysInMonth())).$d;
162
+ } else q && this.$d[q](V);
163
+ return this.init(), this;
164
+ }, g.set = function(d, y) {
165
+ return this.clone().$set(d, y);
166
+ }, g.get = function(d) {
167
+ return this[b.p(d)]();
168
+ }, g.add = function(d, y) {
169
+ var w, T = this;
170
+ d = Number(d);
171
+ var D = b.p(y), q = function(h) {
172
+ var fe = p(T);
173
+ return b.w(fe.date(fe.date() + Math.round(h * d)), T);
174
+ };
175
+ if (D === U) return this.set(U, this.$M + d);
176
+ if (D === M) return this.set(M, this.$y + d);
177
+ if (D === $) return q(1);
178
+ if (D === L) return q(7);
179
+ var V = (w = {}, w[_] = v, w[X] = H, w[k] = P, w)[D] || 1, te = this.$d.getTime() + d * V;
180
+ return b.w(te, this);
181
+ }, g.subtract = function(d, y) {
182
+ return this.add(-1 * d, y);
183
+ }, g.format = function(d) {
184
+ var y = this, w = this.$locale();
185
+ if (!this.isValid()) return w.invalidDate || m;
186
+ var T = d || "YYYY-MM-DDTHH:mm:ssZ", D = b.z(this), q = this.$H, V = this.$m, te = this.$M, h = w.weekdays, fe = w.months, ve = w.meridiem, ge = function(e, t, r, u) {
187
+ return e && (e[t] || e(y, T)) || r[t].slice(0, u);
188
+ }, oe = function(e) {
189
+ return b.s(q % 12 || 12, e, "0");
190
+ }, ue = ve || function(e, t, r) {
191
+ var u = e < 12 ? "AM" : "PM";
192
+ return r ? u.toLowerCase() : u;
193
+ };
194
+ return T.replace(W, function(e, t) {
195
+ return t || function(r) {
196
+ switch (r) {
197
+ case "YY":
198
+ return String(y.$y).slice(-2);
199
+ case "YYYY":
200
+ return b.s(y.$y, 4, "0");
201
+ case "M":
202
+ return te + 1;
203
+ case "MM":
204
+ return b.s(te + 1, 2, "0");
205
+ case "MMM":
206
+ return ge(w.monthsShort, te, fe, 3);
207
+ case "MMMM":
208
+ return ge(fe, te);
209
+ case "D":
210
+ return y.$D;
211
+ case "DD":
212
+ return b.s(y.$D, 2, "0");
213
+ case "d":
214
+ return String(y.$W);
215
+ case "dd":
216
+ return ge(w.weekdaysMin, y.$W, h, 2);
217
+ case "ddd":
218
+ return ge(w.weekdaysShort, y.$W, h, 3);
219
+ case "dddd":
220
+ return h[y.$W];
221
+ case "H":
222
+ return String(q);
223
+ case "HH":
224
+ return b.s(q, 2, "0");
225
+ case "h":
226
+ return oe(1);
227
+ case "hh":
228
+ return oe(2);
229
+ case "a":
230
+ return ue(q, V, !0);
231
+ case "A":
232
+ return ue(q, V, !1);
233
+ case "m":
234
+ return String(V);
235
+ case "mm":
236
+ return b.s(V, 2, "0");
237
+ case "s":
238
+ return String(y.$s);
239
+ case "ss":
240
+ return b.s(y.$s, 2, "0");
241
+ case "SSS":
242
+ return b.s(y.$ms, 3, "0");
243
+ case "Z":
244
+ return D;
245
+ }
246
+ return null;
247
+ }(e) || D.replace(":", "");
248
+ });
249
+ }, g.utcOffset = function() {
250
+ return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
251
+ }, g.diff = function(d, y, w) {
252
+ var T, D = this, q = b.p(y), V = p(d), te = (V.utcOffset() - this.utcOffset()) * v, h = this - V, fe = function() {
253
+ return b.m(D, V);
254
+ };
255
+ switch (q) {
256
+ case M:
257
+ T = fe() / 12;
258
+ break;
259
+ case U:
260
+ T = fe();
261
+ break;
262
+ case R:
263
+ T = fe() / 3;
264
+ break;
265
+ case L:
266
+ T = (h - te) / 6048e5;
267
+ break;
268
+ case $:
269
+ T = (h - te) / 864e5;
270
+ break;
271
+ case X:
272
+ T = h / H;
273
+ break;
274
+ case _:
275
+ T = h / v;
276
+ break;
277
+ case k:
278
+ T = h / P;
279
+ break;
280
+ default:
281
+ T = h;
282
+ }
283
+ return w ? T : b.a(T);
284
+ }, g.daysInMonth = function() {
285
+ return this.endOf(U).$D;
286
+ }, g.$locale = function() {
287
+ return S[this.$L];
288
+ }, g.locale = function(d, y) {
289
+ if (!d) return this.$L;
290
+ var w = this.clone(), T = Q(d, y, !0);
291
+ return T && (w.$L = T), w;
292
+ }, g.clone = function() {
293
+ return b.w(this.$d, this);
294
+ }, g.toDate = function() {
295
+ return new Date(this.valueOf());
296
+ }, g.toJSON = function() {
297
+ return this.isValid() ? this.toISOString() : null;
298
+ }, g.toISOString = function() {
299
+ return this.$d.toISOString();
300
+ }, g.toString = function() {
301
+ return this.$d.toUTCString();
302
+ }, O;
303
+ }(), K = G.prototype;
304
+ return p.prototype = K, [["$ms", F], ["$s", k], ["$m", _], ["$H", X], ["$W", $], ["$M", U], ["$y", M], ["$D", Y]].forEach(function(O) {
305
+ K[O[1]] = function(g) {
306
+ return this.$g(g, O[0], O[1]);
307
+ };
308
+ }), p.extend = function(O, g) {
309
+ return O.$i || (O(g, G, p), O.$i = !0), p;
310
+ }, p.locale = Q, p.isDayjs = Z, p.unix = function(O) {
311
+ return p(1e3 * O);
312
+ }, p.en = S[ee], p.Ls = S, p.p = {}, p;
313
+ });
314
+ })(rt);
315
+ var Te = { exports: {} }, ze = { exports: {} }, We = { exports: {} };
316
+ (function(N) {
317
+ (function(I) {
318
+ var P, v = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, H = Math.ceil, F = Math.floor, k = "[BigNumber Error] ", _ = k + "Number primitive has more than 15 significant digits: ", X = 1e14, $ = 14, L = 9007199254740991, U = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], R = 1e7, M = 1e9;
319
+ function Y(S) {
320
+ var B, Z, Q, p = h.prototype = {
321
+ constructor: h,
322
+ toString: null,
323
+ valueOf: null
324
+ }, b = new h(1), G = 20, K = 4, O = -7, g = 21, d = -1e7, y = 1e7, w = !1, T = 1, D = 0, q = {
325
+ prefix: "",
326
+ groupSize: 3,
327
+ secondaryGroupSize: 0,
328
+ groupSeparator: ",",
329
+ decimalSeparator: ".",
330
+ fractionGroupSize: 0,
331
+ fractionGroupSeparator: " ",
332
+ // non-breaking space
333
+ suffix: ""
334
+ }, V = "0123456789abcdefghijklmnopqrstuvwxyz", te = !0;
335
+ function h(e, t) {
336
+ var r, u, i, o, l, n, s, a, f = this;
337
+ if (!(f instanceof h)) return new h(e, t);
338
+ if (t == null) {
339
+ if (e && e._isBigNumber === !0) {
340
+ f.s = e.s, !e.c || e.e > y ? f.c = f.e = null : e.e < d ? f.c = [f.e = 0] : (f.e = e.e, f.c = e.c.slice());
341
+ return;
342
+ }
343
+ if ((n = typeof e == "number") && e * 0 == 0) {
344
+ if (f.s = 1 / e < 0 ? (e = -e, -1) : 1, e === ~~e) {
345
+ for (o = 0, l = e; l >= 10; l /= 10, o++) ;
346
+ o > y ? f.c = f.e = null : (f.e = o, f.c = [e]);
347
+ return;
348
+ }
349
+ a = String(e);
350
+ } else {
351
+ if (!v.test(a = String(e))) return Q(f, a, n);
352
+ f.s = a.charCodeAt(0) == 45 ? (a = a.slice(1), -1) : 1;
353
+ }
354
+ (o = a.indexOf(".")) > -1 && (a = a.replace(".", "")), (l = a.search(/e/i)) > 0 ? (o < 0 && (o = l), o += +a.slice(l + 1), a = a.substring(0, l)) : o < 0 && (o = a.length);
355
+ } else {
356
+ if (x(t, 2, V.length, "Base"), t == 10 && te)
357
+ return f = new h(e), oe(f, G + f.e + 1, K);
358
+ if (a = String(e), n = typeof e == "number") {
359
+ if (e * 0 != 0) return Q(f, a, n, t);
360
+ if (f.s = 1 / e < 0 ? (a = a.slice(1), -1) : 1, h.DEBUG && a.replace(/^0\.0*|\./, "").length > 15)
361
+ throw Error(_ + e);
362
+ } else
363
+ f.s = a.charCodeAt(0) === 45 ? (a = a.slice(1), -1) : 1;
364
+ for (r = V.slice(0, t), o = l = 0, s = a.length; l < s; l++)
365
+ if (r.indexOf(u = a.charAt(l)) < 0) {
366
+ if (u == ".") {
367
+ if (l > o) {
368
+ o = s;
369
+ continue;
370
+ }
371
+ } else if (!i && (a == a.toUpperCase() && (a = a.toLowerCase()) || a == a.toLowerCase() && (a = a.toUpperCase()))) {
372
+ i = !0, l = -1, o = 0;
373
+ continue;
374
+ }
375
+ return Q(f, String(e), n, t);
376
+ }
377
+ n = !1, a = Z(a, t, 10, f.s), (o = a.indexOf(".")) > -1 ? a = a.replace(".", "") : o = a.length;
378
+ }
379
+ for (l = 0; a.charCodeAt(l) === 48; l++) ;
380
+ for (s = a.length; a.charCodeAt(--s) === 48; ) ;
381
+ if (a = a.slice(l, ++s)) {
382
+ if (s -= l, n && h.DEBUG && s > 15 && (e > L || e !== F(e)))
383
+ throw Error(_ + f.s * e);
384
+ if ((o = o - l - 1) > y)
385
+ f.c = f.e = null;
386
+ else if (o < d)
387
+ f.c = [f.e = 0];
388
+ else {
389
+ if (f.e = o, f.c = [], l = (o + 1) % $, o < 0 && (l += $), l < s) {
390
+ for (l && f.c.push(+a.slice(0, l)), s -= $; l < s; )
391
+ f.c.push(+a.slice(l, l += $));
392
+ l = $ - (a = a.slice(l)).length;
393
+ } else
394
+ l -= s;
395
+ for (; l--; a += "0") ;
396
+ f.c.push(+a);
397
+ }
398
+ } else
399
+ f.c = [f.e = 0];
400
+ }
401
+ h.clone = Y, h.ROUND_UP = 0, h.ROUND_DOWN = 1, h.ROUND_CEIL = 2, h.ROUND_FLOOR = 3, h.ROUND_HALF_UP = 4, h.ROUND_HALF_DOWN = 5, h.ROUND_HALF_EVEN = 6, h.ROUND_HALF_CEIL = 7, h.ROUND_HALF_FLOOR = 8, h.EUCLID = 9, h.config = h.set = function(e) {
402
+ var t, r;
403
+ if (e != null)
404
+ if (typeof e == "object") {
405
+ if (e.hasOwnProperty(t = "DECIMAL_PLACES") && (r = e[t], x(r, 0, M, t), G = r), e.hasOwnProperty(t = "ROUNDING_MODE") && (r = e[t], x(r, 0, 8, t), K = r), e.hasOwnProperty(t = "EXPONENTIAL_AT") && (r = e[t], r && r.pop ? (x(r[0], -M, 0, t), x(r[1], 0, M, t), O = r[0], g = r[1]) : (x(r, -M, M, t), O = -(g = r < 0 ? -r : r))), e.hasOwnProperty(t = "RANGE"))
406
+ if (r = e[t], r && r.pop)
407
+ x(r[0], -M, -1, t), x(r[1], 1, M, t), d = r[0], y = r[1];
408
+ else if (x(r, -M, M, t), r)
409
+ d = -(y = r < 0 ? -r : r);
410
+ else
411
+ throw Error(k + t + " cannot be zero: " + r);
412
+ if (e.hasOwnProperty(t = "CRYPTO"))
413
+ if (r = e[t], r === !!r)
414
+ if (r)
415
+ if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
416
+ w = r;
417
+ else
418
+ throw w = !r, Error(k + "crypto unavailable");
419
+ else
420
+ w = r;
421
+ else
422
+ throw Error(k + t + " not true or false: " + r);
423
+ if (e.hasOwnProperty(t = "MODULO_MODE") && (r = e[t], x(r, 0, 9, t), T = r), e.hasOwnProperty(t = "POW_PRECISION") && (r = e[t], x(r, 0, M, t), D = r), e.hasOwnProperty(t = "FORMAT"))
424
+ if (r = e[t], typeof r == "object") q = r;
425
+ else throw Error(k + t + " not an object: " + r);
426
+ if (e.hasOwnProperty(t = "ALPHABET"))
427
+ if (r = e[t], typeof r == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(r))
428
+ te = r.slice(0, 10) == "0123456789", V = r;
429
+ else
430
+ throw Error(k + t + " invalid: " + r);
431
+ } else
432
+ throw Error(k + "Object expected: " + e);
433
+ return {
434
+ DECIMAL_PLACES: G,
435
+ ROUNDING_MODE: K,
436
+ EXPONENTIAL_AT: [O, g],
437
+ RANGE: [d, y],
438
+ CRYPTO: w,
439
+ MODULO_MODE: T,
440
+ POW_PRECISION: D,
441
+ FORMAT: q,
442
+ ALPHABET: V
443
+ };
444
+ }, h.isBigNumber = function(e) {
445
+ if (!e || e._isBigNumber !== !0) return !1;
446
+ if (!h.DEBUG) return !0;
447
+ var t, r, u = e.c, i = e.e, o = e.s;
448
+ e: if ({}.toString.call(u) == "[object Array]") {
449
+ if ((o === 1 || o === -1) && i >= -M && i <= M && i === F(i)) {
450
+ if (u[0] === 0) {
451
+ if (i === 0 && u.length === 1) return !0;
452
+ break e;
453
+ }
454
+ if (t = (i + 1) % $, t < 1 && (t += $), String(u[0]).length == t) {
455
+ for (t = 0; t < u.length; t++)
456
+ if (r = u[t], r < 0 || r >= X || r !== F(r)) break e;
457
+ if (r !== 0) return !0;
458
+ }
459
+ }
460
+ } else if (u === null && i === null && (o === null || o === 1 || o === -1))
461
+ return !0;
462
+ throw Error(k + "Invalid BigNumber: " + e);
463
+ }, h.maximum = h.max = function() {
464
+ return ve(arguments, -1);
465
+ }, h.minimum = h.min = function() {
466
+ return ve(arguments, 1);
467
+ }, h.random = function() {
468
+ var e = 9007199254740992, t = Math.random() * e & 2097151 ? function() {
469
+ return F(Math.random() * e);
470
+ } : function() {
471
+ return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
472
+ };
473
+ return function(r) {
474
+ var u, i, o, l, n, s = 0, a = [], f = new h(b);
475
+ if (r == null ? r = G : x(r, 0, M), l = H(r / $), w)
476
+ if (crypto.getRandomValues) {
477
+ for (u = crypto.getRandomValues(new Uint32Array(l *= 2)); s < l; )
478
+ n = u[s] * 131072 + (u[s + 1] >>> 11), n >= 9e15 ? (i = crypto.getRandomValues(new Uint32Array(2)), u[s] = i[0], u[s + 1] = i[1]) : (a.push(n % 1e14), s += 2);
479
+ s = l / 2;
480
+ } else if (crypto.randomBytes) {
481
+ for (u = crypto.randomBytes(l *= 7); s < l; )
482
+ n = (u[s] & 31) * 281474976710656 + u[s + 1] * 1099511627776 + u[s + 2] * 4294967296 + u[s + 3] * 16777216 + (u[s + 4] << 16) + (u[s + 5] << 8) + u[s + 6], n >= 9e15 ? crypto.randomBytes(7).copy(u, s) : (a.push(n % 1e14), s += 7);
483
+ s = l / 7;
484
+ } else
485
+ throw w = !1, Error(k + "crypto unavailable");
486
+ if (!w)
487
+ for (; s < l; )
488
+ n = t(), n < 9e15 && (a[s++] = n % 1e14);
489
+ for (l = a[--s], r %= $, l && r && (n = U[$ - r], a[s] = F(l / n) * n); a[s] === 0; a.pop(), s--) ;
490
+ if (s < 0)
491
+ a = [o = 0];
492
+ else {
493
+ for (o = -1; a[0] === 0; a.splice(0, 1), o -= $) ;
494
+ for (s = 1, n = a[0]; n >= 10; n /= 10, s++) ;
495
+ s < $ && (o -= $ - s);
496
+ }
497
+ return f.e = o, f.c = a, f;
498
+ };
499
+ }(), h.sum = function() {
500
+ for (var e = 1, t = arguments, r = new h(t[0]); e < t.length; ) r = r.plus(t[e++]);
501
+ return r;
502
+ }, Z = /* @__PURE__ */ function() {
503
+ var e = "0123456789";
504
+ function t(r, u, i, o) {
505
+ for (var l, n = [0], s, a = 0, f = r.length; a < f; ) {
506
+ for (s = n.length; s--; n[s] *= u) ;
507
+ for (n[0] += o.indexOf(r.charAt(a++)), l = 0; l < n.length; l++)
508
+ n[l] > i - 1 && (n[l + 1] == null && (n[l + 1] = 0), n[l + 1] += n[l] / i | 0, n[l] %= i);
509
+ }
510
+ return n.reverse();
511
+ }
512
+ return function(r, u, i, o, l) {
513
+ var n, s, a, f, c, A, E, z, re = r.indexOf("."), se = G, j = K;
514
+ for (re >= 0 && (f = D, D = 0, r = r.replace(".", ""), z = new h(u), A = z.pow(r.length - re), D = f, z.c = t(ee(C(A.c), A.e, "0"), 10, i, e), z.e = z.c.length), E = t(r, u, i, l ? (n = V, e) : (n = e, V)), a = f = E.length; E[--f] == 0; E.pop()) ;
515
+ if (!E[0]) return n.charAt(0);
516
+ if (re < 0 ? --a : (A.c = E, A.e = a, A.s = o, A = B(A, z, se, j, i), E = A.c, c = A.r, a = A.e), s = a + se + 1, re = E[s], f = i / 2, c = c || s < 0 || E[s + 1] != null, c = j < 4 ? (re != null || c) && (j == 0 || j == (A.s < 0 ? 3 : 2)) : re > f || re == f && (j == 4 || c || j == 6 && E[s - 1] & 1 || j == (A.s < 0 ? 8 : 7)), s < 1 || !E[0])
517
+ r = c ? ee(n.charAt(1), -se, n.charAt(0)) : n.charAt(0);
518
+ else {
519
+ if (E.length = s, c)
520
+ for (--i; ++E[--s] > i; )
521
+ E[s] = 0, s || (++a, E = [1].concat(E));
522
+ for (f = E.length; !E[--f]; ) ;
523
+ for (re = 0, r = ""; re <= f; r += n.charAt(E[re++])) ;
524
+ r = ee(r, a, n.charAt(0));
525
+ }
526
+ return r;
527
+ };
528
+ }(), B = /* @__PURE__ */ function() {
529
+ function e(u, i, o) {
530
+ var l, n, s, a, f = 0, c = u.length, A = i % R, E = i / R | 0;
531
+ for (u = u.slice(); c--; )
532
+ s = u[c] % R, a = u[c] / R | 0, l = E * s + a * A, n = A * s + l % R * R + f, f = (n / o | 0) + (l / R | 0) + E * a, u[c] = n % o;
533
+ return f && (u = [f].concat(u)), u;
534
+ }
535
+ function t(u, i, o, l) {
536
+ var n, s;
537
+ if (o != l)
538
+ s = o > l ? 1 : -1;
539
+ else
540
+ for (n = s = 0; n < o; n++)
541
+ if (u[n] != i[n]) {
542
+ s = u[n] > i[n] ? 1 : -1;
543
+ break;
544
+ }
545
+ return s;
546
+ }
547
+ function r(u, i, o, l) {
548
+ for (var n = 0; o--; )
549
+ u[o] -= n, n = u[o] < i[o] ? 1 : 0, u[o] = n * l + u[o] - i[o];
550
+ for (; !u[0] && u.length > 1; u.splice(0, 1)) ;
551
+ }
552
+ return function(u, i, o, l, n) {
553
+ var s, a, f, c, A, E, z, re, se, j, J, ae, Ne, Ae, _e, we, Oe, pe = u.s == i.s ? 1 : -1, le = u.c, ne = i.c;
554
+ if (!le || !le[0] || !ne || !ne[0])
555
+ return new h(
556
+ // Return NaN if either NaN, or both Infinity or 0.
557
+ !u.s || !i.s || (le ? ne && le[0] == ne[0] : !ne) ? NaN : (
558
+ // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
559
+ le && le[0] == 0 || !ne ? pe * 0 : pe / 0
560
+ )
561
+ );
562
+ for (re = new h(pe), se = re.c = [], a = u.e - i.e, pe = o + a + 1, n || (n = X, a = m(u.e / $) - m(i.e / $), pe = pe / $ | 0), f = 0; ne[f] == (le[f] || 0); f++) ;
563
+ if (ne[f] > (le[f] || 0) && a--, pe < 0)
564
+ se.push(1), c = !0;
565
+ else {
566
+ for (Ae = le.length, we = ne.length, f = 0, pe += 2, A = F(n / (ne[0] + 1)), A > 1 && (ne = e(ne, A, n), le = e(le, A, n), we = ne.length, Ae = le.length), Ne = we, j = le.slice(0, we), J = j.length; J < we; j[J++] = 0) ;
567
+ Oe = ne.slice(), Oe = [0].concat(Oe), _e = ne[0], ne[1] >= n / 2 && _e++;
568
+ do {
569
+ if (A = 0, s = t(ne, j, we, J), s < 0) {
570
+ if (ae = j[0], we != J && (ae = ae * n + (j[1] || 0)), A = F(ae / _e), A > 1)
571
+ for (A >= n && (A = n - 1), E = e(ne, A, n), z = E.length, J = j.length; t(E, j, z, J) == 1; )
572
+ A--, r(E, we < z ? Oe : ne, z, n), z = E.length, s = 1;
573
+ else
574
+ A == 0 && (s = A = 1), E = ne.slice(), z = E.length;
575
+ if (z < J && (E = [0].concat(E)), r(j, E, J, n), J = j.length, s == -1)
576
+ for (; t(ne, j, we, J) < 1; )
577
+ A++, r(j, we < J ? Oe : ne, J, n), J = j.length;
578
+ } else s === 0 && (A++, j = [0]);
579
+ se[f++] = A, j[0] ? j[J++] = le[Ne] || 0 : (j = [le[Ne]], J = 1);
580
+ } while ((Ne++ < Ae || j[0] != null) && pe--);
581
+ c = j[0] != null, se[0] || se.splice(0, 1);
582
+ }
583
+ if (n == X) {
584
+ for (f = 1, pe = se[0]; pe >= 10; pe /= 10, f++) ;
585
+ oe(re, o + (re.e = f + a * $ - 1) + 1, l, c);
586
+ } else
587
+ re.e = a, re.r = +c;
588
+ return re;
589
+ };
590
+ }();
591
+ function fe(e, t, r, u) {
592
+ var i, o, l, n, s;
593
+ if (r == null ? r = K : x(r, 0, 8), !e.c) return e.toString();
594
+ if (i = e.c[0], l = e.e, t == null)
595
+ s = C(e.c), s = u == 1 || u == 2 && (l <= O || l >= g) ? he(s, l) : ee(s, l, "0");
596
+ else if (e = oe(new h(e), t, r), o = e.e, s = C(e.c), n = s.length, u == 1 || u == 2 && (t <= o || o <= O)) {
597
+ for (; n < t; s += "0", n++) ;
598
+ s = he(s, o);
599
+ } else if (t -= l, s = ee(s, o, "0"), o + 1 > n) {
600
+ if (--t > 0) for (s += "."; t--; s += "0") ;
601
+ } else if (t += o - n, t > 0)
602
+ for (o + 1 == n && (s += "."); t--; s += "0") ;
603
+ return e.s < 0 && i ? "-" + s : s;
604
+ }
605
+ function ve(e, t) {
606
+ for (var r, u, i = 1, o = new h(e[0]); i < e.length; i++)
607
+ u = new h(e[i]), (!u.s || (r = W(o, u)) === t || r === 0 && o.s === t) && (o = u);
608
+ return o;
609
+ }
610
+ function ge(e, t, r) {
611
+ for (var u = 1, i = t.length; !t[--i]; t.pop()) ;
612
+ for (i = t[0]; i >= 10; i /= 10, u++) ;
613
+ return (r = u + r * $ - 1) > y ? e.c = e.e = null : r < d ? e.c = [e.e = 0] : (e.e = r, e.c = t), e;
614
+ }
615
+ Q = /* @__PURE__ */ function() {
616
+ var e = /^(-?)0([xbo])(?=\w[\w.]*$)/i, t = /^([^.]+)\.$/, r = /^\.([^.]+)$/, u = /^-?(Infinity|NaN)$/, i = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
617
+ return function(o, l, n, s) {
618
+ var a, f = n ? l : l.replace(i, "");
619
+ if (u.test(f))
620
+ o.s = isNaN(f) ? null : f < 0 ? -1 : 1;
621
+ else {
622
+ if (!n && (f = f.replace(e, function(c, A, E) {
623
+ return a = (E = E.toLowerCase()) == "x" ? 16 : E == "b" ? 2 : 8, !s || s == a ? A : c;
624
+ }), s && (a = s, f = f.replace(t, "$1").replace(r, "0.$1")), l != f))
625
+ return new h(f, a);
626
+ if (h.DEBUG)
627
+ throw Error(k + "Not a" + (s ? " base " + s : "") + " number: " + l);
628
+ o.s = null;
629
+ }
630
+ o.c = o.e = null;
631
+ };
632
+ }();
633
+ function oe(e, t, r, u) {
634
+ var i, o, l, n, s, a, f, c = e.c, A = U;
635
+ if (c) {
636
+ e: {
637
+ for (i = 1, n = c[0]; n >= 10; n /= 10, i++) ;
638
+ if (o = t - i, o < 0)
639
+ o += $, l = t, s = c[a = 0], f = F(s / A[i - l - 1] % 10);
640
+ else if (a = H((o + 1) / $), a >= c.length)
641
+ if (u) {
642
+ for (; c.length <= a; c.push(0)) ;
643
+ s = f = 0, i = 1, o %= $, l = o - $ + 1;
644
+ } else
645
+ break e;
646
+ else {
647
+ for (s = n = c[a], i = 1; n >= 10; n /= 10, i++) ;
648
+ o %= $, l = o - $ + i, f = l < 0 ? 0 : F(s / A[i - l - 1] % 10);
649
+ }
650
+ if (u = u || t < 0 || // Are there any non-zero digits after the rounding digit?
651
+ // The expression n % pows10[d - j - 1] returns all digits of n to the right
652
+ // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
653
+ c[a + 1] != null || (l < 0 ? s : s % A[i - l - 1]), u = r < 4 ? (f || u) && (r == 0 || r == (e.s < 0 ? 3 : 2)) : f > 5 || f == 5 && (r == 4 || u || r == 6 && // Check whether the digit to the left of the rounding digit is odd.
654
+ (o > 0 ? l > 0 ? s / A[i - l] : 0 : c[a - 1]) % 10 & 1 || r == (e.s < 0 ? 8 : 7)), t < 1 || !c[0])
655
+ return c.length = 0, u ? (t -= e.e + 1, c[0] = A[($ - t % $) % $], e.e = -t || 0) : c[0] = e.e = 0, e;
656
+ if (o == 0 ? (c.length = a, n = 1, a--) : (c.length = a + 1, n = A[$ - o], c[a] = l > 0 ? F(s / A[i - l] % A[l]) * n : 0), u)
657
+ for (; ; )
658
+ if (a == 0) {
659
+ for (o = 1, l = c[0]; l >= 10; l /= 10, o++) ;
660
+ for (l = c[0] += n, n = 1; l >= 10; l /= 10, n++) ;
661
+ o != n && (e.e++, c[0] == X && (c[0] = 1));
662
+ break;
663
+ } else {
664
+ if (c[a] += n, c[a] != X) break;
665
+ c[a--] = 0, n = 1;
666
+ }
667
+ for (o = c.length; c[--o] === 0; c.pop()) ;
668
+ }
669
+ e.e > y ? e.c = e.e = null : e.e < d && (e.c = [e.e = 0]);
670
+ }
671
+ return e;
672
+ }
673
+ function ue(e) {
674
+ var t, r = e.e;
675
+ return r === null ? e.toString() : (t = C(e.c), t = r <= O || r >= g ? he(t, r) : ee(t, r, "0"), e.s < 0 ? "-" + t : t);
676
+ }
677
+ return p.absoluteValue = p.abs = function() {
678
+ var e = new h(this);
679
+ return e.s < 0 && (e.s = 1), e;
680
+ }, p.comparedTo = function(e, t) {
681
+ return W(this, new h(e, t));
682
+ }, p.decimalPlaces = p.dp = function(e, t) {
683
+ var r, u, i, o = this;
684
+ if (e != null)
685
+ return x(e, 0, M), t == null ? t = K : x(t, 0, 8), oe(new h(o), e + o.e + 1, t);
686
+ if (!(r = o.c)) return null;
687
+ if (u = ((i = r.length - 1) - m(this.e / $)) * $, i = r[i]) for (; i % 10 == 0; i /= 10, u--) ;
688
+ return u < 0 && (u = 0), u;
689
+ }, p.dividedBy = p.div = function(e, t) {
690
+ return B(this, new h(e, t), G, K);
691
+ }, p.dividedToIntegerBy = p.idiv = function(e, t) {
692
+ return B(this, new h(e, t), 0, 1);
693
+ }, p.exponentiatedBy = p.pow = function(e, t) {
694
+ var r, u, i, o, l, n, s, a, f, c = this;
695
+ if (e = new h(e), e.c && !e.isInteger())
696
+ throw Error(k + "Exponent not an integer: " + ue(e));
697
+ if (t != null && (t = new h(t)), n = e.e > 14, !c.c || !c.c[0] || c.c[0] == 1 && !c.e && c.c.length == 1 || !e.c || !e.c[0])
698
+ return f = new h(Math.pow(+ue(c), n ? e.s * (2 - ie(e)) : +ue(e))), t ? f.mod(t) : f;
699
+ if (s = e.s < 0, t) {
700
+ if (t.c ? !t.c[0] : !t.s) return new h(NaN);
701
+ u = !s && c.isInteger() && t.isInteger(), u && (c = c.mod(t));
702
+ } else {
703
+ if (e.e > 9 && (c.e > 0 || c.e < -1 || (c.e == 0 ? c.c[0] > 1 || n && c.c[1] >= 24e7 : c.c[0] < 8e13 || n && c.c[0] <= 9999975e7)))
704
+ return o = c.s < 0 && ie(e) ? -0 : 0, c.e > -1 && (o = 1 / o), new h(s ? 1 / o : o);
705
+ D && (o = H(D / $ + 2));
706
+ }
707
+ for (n ? (r = new h(0.5), s && (e.s = 1), a = ie(e)) : (i = Math.abs(+ue(e)), a = i % 2), f = new h(b); ; ) {
708
+ if (a) {
709
+ if (f = f.times(c), !f.c) break;
710
+ o ? f.c.length > o && (f.c.length = o) : u && (f = f.mod(t));
711
+ }
712
+ if (i) {
713
+ if (i = F(i / 2), i === 0) break;
714
+ a = i % 2;
715
+ } else if (e = e.times(r), oe(e, e.e + 1, 1), e.e > 14)
716
+ a = ie(e);
717
+ else {
718
+ if (i = +ue(e), i === 0) break;
719
+ a = i % 2;
720
+ }
721
+ c = c.times(c), o ? c.c && c.c.length > o && (c.c.length = o) : u && (c = c.mod(t));
722
+ }
723
+ return u ? f : (s && (f = b.div(f)), t ? f.mod(t) : o ? oe(f, D, K, l) : f);
724
+ }, p.integerValue = function(e) {
725
+ var t = new h(this);
726
+ return e == null ? e = K : x(e, 0, 8), oe(t, t.e + 1, e);
727
+ }, p.isEqualTo = p.eq = function(e, t) {
728
+ return W(this, new h(e, t)) === 0;
729
+ }, p.isFinite = function() {
730
+ return !!this.c;
731
+ }, p.isGreaterThan = p.gt = function(e, t) {
732
+ return W(this, new h(e, t)) > 0;
733
+ }, p.isGreaterThanOrEqualTo = p.gte = function(e, t) {
734
+ return (t = W(this, new h(e, t))) === 1 || t === 0;
735
+ }, p.isInteger = function() {
736
+ return !!this.c && m(this.e / $) > this.c.length - 2;
737
+ }, p.isLessThan = p.lt = function(e, t) {
738
+ return W(this, new h(e, t)) < 0;
739
+ }, p.isLessThanOrEqualTo = p.lte = function(e, t) {
740
+ return (t = W(this, new h(e, t))) === -1 || t === 0;
741
+ }, p.isNaN = function() {
742
+ return !this.s;
743
+ }, p.isNegative = function() {
744
+ return this.s < 0;
745
+ }, p.isPositive = function() {
746
+ return this.s > 0;
747
+ }, p.isZero = function() {
748
+ return !!this.c && this.c[0] == 0;
749
+ }, p.minus = function(e, t) {
750
+ var r, u, i, o, l = this, n = l.s;
751
+ if (e = new h(e, t), t = e.s, !n || !t) return new h(NaN);
752
+ if (n != t)
753
+ return e.s = -t, l.plus(e);
754
+ var s = l.e / $, a = e.e / $, f = l.c, c = e.c;
755
+ if (!s || !a) {
756
+ if (!f || !c) return f ? (e.s = -t, e) : new h(c ? l : NaN);
757
+ if (!f[0] || !c[0])
758
+ return c[0] ? (e.s = -t, e) : new h(f[0] ? l : (
759
+ // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
760
+ K == 3 ? -0 : 0
761
+ ));
762
+ }
763
+ if (s = m(s), a = m(a), f = f.slice(), n = s - a) {
764
+ for ((o = n < 0) ? (n = -n, i = f) : (a = s, i = c), i.reverse(), t = n; t--; i.push(0)) ;
765
+ i.reverse();
766
+ } else
767
+ for (u = (o = (n = f.length) < (t = c.length)) ? n : t, n = t = 0; t < u; t++)
768
+ if (f[t] != c[t]) {
769
+ o = f[t] < c[t];
770
+ break;
771
+ }
772
+ if (o && (i = f, f = c, c = i, e.s = -e.s), t = (u = c.length) - (r = f.length), t > 0) for (; t--; f[r++] = 0) ;
773
+ for (t = X - 1; u > n; ) {
774
+ if (f[--u] < c[u]) {
775
+ for (r = u; r && !f[--r]; f[r] = t) ;
776
+ --f[r], f[u] += X;
777
+ }
778
+ f[u] -= c[u];
779
+ }
780
+ for (; f[0] == 0; f.splice(0, 1), --a) ;
781
+ return f[0] ? ge(e, f, a) : (e.s = K == 3 ? -1 : 1, e.c = [e.e = 0], e);
782
+ }, p.modulo = p.mod = function(e, t) {
783
+ var r, u, i = this;
784
+ return e = new h(e, t), !i.c || !e.s || e.c && !e.c[0] ? new h(NaN) : !e.c || i.c && !i.c[0] ? new h(i) : (T == 9 ? (u = e.s, e.s = 1, r = B(i, e, 0, 3), e.s = u, r.s *= u) : r = B(i, e, 0, T), e = i.minus(r.times(e)), !e.c[0] && T == 1 && (e.s = i.s), e);
785
+ }, p.multipliedBy = p.times = function(e, t) {
786
+ var r, u, i, o, l, n, s, a, f, c, A, E, z, re, se, j = this, J = j.c, ae = (e = new h(e, t)).c;
787
+ if (!J || !ae || !J[0] || !ae[0])
788
+ return !j.s || !e.s || J && !J[0] && !ae || ae && !ae[0] && !J ? e.c = e.e = e.s = null : (e.s *= j.s, !J || !ae ? e.c = e.e = null : (e.c = [0], e.e = 0)), e;
789
+ for (u = m(j.e / $) + m(e.e / $), e.s *= j.s, s = J.length, c = ae.length, s < c && (z = J, J = ae, ae = z, i = s, s = c, c = i), i = s + c, z = []; i--; z.push(0)) ;
790
+ for (re = X, se = R, i = c; --i >= 0; ) {
791
+ for (r = 0, A = ae[i] % se, E = ae[i] / se | 0, l = s, o = i + l; o > i; )
792
+ a = J[--l] % se, f = J[l] / se | 0, n = E * a + f * A, a = A * a + n % se * se + z[o] + r, r = (a / re | 0) + (n / se | 0) + E * f, z[o--] = a % re;
793
+ z[o] = r;
794
+ }
795
+ return r ? ++u : z.splice(0, 1), ge(e, z, u);
796
+ }, p.negated = function() {
797
+ var e = new h(this);
798
+ return e.s = -e.s || null, e;
799
+ }, p.plus = function(e, t) {
800
+ var r, u = this, i = u.s;
801
+ if (e = new h(e, t), t = e.s, !i || !t) return new h(NaN);
802
+ if (i != t)
803
+ return e.s = -t, u.minus(e);
804
+ var o = u.e / $, l = e.e / $, n = u.c, s = e.c;
805
+ if (!o || !l) {
806
+ if (!n || !s) return new h(i / 0);
807
+ if (!n[0] || !s[0]) return s[0] ? e : new h(n[0] ? u : i * 0);
808
+ }
809
+ if (o = m(o), l = m(l), n = n.slice(), i = o - l) {
810
+ for (i > 0 ? (l = o, r = s) : (i = -i, r = n), r.reverse(); i--; r.push(0)) ;
811
+ r.reverse();
812
+ }
813
+ for (i = n.length, t = s.length, i - t < 0 && (r = s, s = n, n = r, t = i), i = 0; t; )
814
+ i = (n[--t] = n[t] + s[t] + i) / X | 0, n[t] = X === n[t] ? 0 : n[t] % X;
815
+ return i && (n = [i].concat(n), ++l), ge(e, n, l);
816
+ }, p.precision = p.sd = function(e, t) {
817
+ var r, u, i, o = this;
818
+ if (e != null && e !== !!e)
819
+ return x(e, 1, M), t == null ? t = K : x(t, 0, 8), oe(new h(o), e, t);
820
+ if (!(r = o.c)) return null;
821
+ if (i = r.length - 1, u = i * $ + 1, i = r[i]) {
822
+ for (; i % 10 == 0; i /= 10, u--) ;
823
+ for (i = r[0]; i >= 10; i /= 10, u++) ;
824
+ }
825
+ return e && o.e + 1 > u && (u = o.e + 1), u;
826
+ }, p.shiftedBy = function(e) {
827
+ return x(e, -L, L), this.times("1e" + e);
828
+ }, p.squareRoot = p.sqrt = function() {
829
+ var e, t, r, u, i, o = this, l = o.c, n = o.s, s = o.e, a = G + 4, f = new h("0.5");
830
+ if (n !== 1 || !l || !l[0])
831
+ return new h(!n || n < 0 && (!l || l[0]) ? NaN : l ? o : 1 / 0);
832
+ if (n = Math.sqrt(+ue(o)), n == 0 || n == 1 / 0 ? (t = C(l), (t.length + s) % 2 == 0 && (t += "0"), n = Math.sqrt(+t), s = m((s + 1) / 2) - (s < 0 || s % 2), n == 1 / 0 ? t = "5e" + s : (t = n.toExponential(), t = t.slice(0, t.indexOf("e") + 1) + s), r = new h(t)) : r = new h(n + ""), r.c[0]) {
833
+ for (s = r.e, n = s + a, n < 3 && (n = 0); ; )
834
+ if (i = r, r = f.times(i.plus(B(o, i, a, 1))), C(i.c).slice(0, n) === (t = C(r.c)).slice(0, n))
835
+ if (r.e < s && --n, t = t.slice(n - 3, n + 1), t == "9999" || !u && t == "4999") {
836
+ if (!u && (oe(i, i.e + G + 2, 0), i.times(i).eq(o))) {
837
+ r = i;
838
+ break;
839
+ }
840
+ a += 4, n += 4, u = 1;
841
+ } else {
842
+ (!+t || !+t.slice(1) && t.charAt(0) == "5") && (oe(r, r.e + G + 2, 1), e = !r.times(r).eq(o));
843
+ break;
844
+ }
845
+ }
846
+ return oe(r, r.e + G + 1, K, e);
847
+ }, p.toExponential = function(e, t) {
848
+ return e != null && (x(e, 0, M), e++), fe(this, e, t, 1);
849
+ }, p.toFixed = function(e, t) {
850
+ return e != null && (x(e, 0, M), e = e + this.e + 1), fe(this, e, t);
851
+ }, p.toFormat = function(e, t, r) {
852
+ var u, i = this;
853
+ if (r == null)
854
+ e != null && t && typeof t == "object" ? (r = t, t = null) : e && typeof e == "object" ? (r = e, e = t = null) : r = q;
855
+ else if (typeof r != "object")
856
+ throw Error(k + "Argument not an object: " + r);
857
+ if (u = i.toFixed(e, t), i.c) {
858
+ var o, l = u.split("."), n = +r.groupSize, s = +r.secondaryGroupSize, a = r.groupSeparator || "", f = l[0], c = l[1], A = i.s < 0, E = A ? f.slice(1) : f, z = E.length;
859
+ if (s && (o = n, n = s, s = o, z -= o), n > 0 && z > 0) {
860
+ for (o = z % n || n, f = E.substr(0, o); o < z; o += n) f += a + E.substr(o, n);
861
+ s > 0 && (f += a + E.slice(o)), A && (f = "-" + f);
862
+ }
863
+ u = c ? f + (r.decimalSeparator || "") + ((s = +r.fractionGroupSize) ? c.replace(new RegExp("\\d{" + s + "}\\B", "g"), "$&" + (r.fractionGroupSeparator || "")) : c) : f;
864
+ }
865
+ return (r.prefix || "") + u + (r.suffix || "");
866
+ }, p.toFraction = function(e) {
867
+ var t, r, u, i, o, l, n, s, a, f, c, A, E = this, z = E.c;
868
+ if (e != null && (n = new h(e), !n.isInteger() && (n.c || n.s !== 1) || n.lt(b)))
869
+ throw Error(k + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + ue(n));
870
+ if (!z) return new h(E);
871
+ for (t = new h(b), a = r = new h(b), u = s = new h(b), A = C(z), o = t.e = A.length - E.e - 1, t.c[0] = U[(l = o % $) < 0 ? $ + l : l], e = !e || n.comparedTo(t) > 0 ? o > 0 ? t : a : n, l = y, y = 1 / 0, n = new h(A), s.c[0] = 0; f = B(n, t, 0, 1), i = r.plus(f.times(u)), i.comparedTo(e) != 1; )
872
+ r = u, u = i, a = s.plus(f.times(i = a)), s = i, t = n.minus(f.times(i = t)), n = i;
873
+ return i = B(e.minus(r), u, 0, 1), s = s.plus(i.times(a)), r = r.plus(i.times(u)), s.s = a.s = E.s, o = o * 2, c = B(a, u, o, K).minus(E).abs().comparedTo(B(s, r, o, K).minus(E).abs()) < 1 ? [a, u] : [s, r], y = l, c;
874
+ }, p.toNumber = function() {
875
+ return +ue(this);
876
+ }, p.toPrecision = function(e, t) {
877
+ return e != null && x(e, 1, M), fe(this, e, t, 2);
878
+ }, p.toString = function(e) {
879
+ var t, r = this, u = r.s, i = r.e;
880
+ return i === null ? u ? (t = "Infinity", u < 0 && (t = "-" + t)) : t = "NaN" : (e == null ? t = i <= O || i >= g ? he(C(r.c), i) : ee(C(r.c), i, "0") : e === 10 && te ? (r = oe(new h(r), G + i + 1, K), t = ee(C(r.c), r.e, "0")) : (x(e, 2, V.length, "Base"), t = Z(ee(C(r.c), i, "0"), 10, e, u, !0)), u < 0 && r.c[0] && (t = "-" + t)), t;
881
+ }, p.valueOf = p.toJSON = function() {
882
+ return ue(this);
883
+ }, p._isBigNumber = !0, S != null && h.set(S), h;
884
+ }
885
+ function m(S) {
886
+ var B = S | 0;
887
+ return S > 0 || S === B ? B : B - 1;
888
+ }
889
+ function C(S) {
890
+ for (var B, Z, Q = 1, p = S.length, b = S[0] + ""; Q < p; ) {
891
+ for (B = S[Q++] + "", Z = $ - B.length; Z--; B = "0" + B) ;
892
+ b += B;
893
+ }
894
+ for (p = b.length; b.charCodeAt(--p) === 48; ) ;
895
+ return b.slice(0, p + 1 || 1);
896
+ }
897
+ function W(S, B) {
898
+ var Z, Q, p = S.c, b = B.c, G = S.s, K = B.s, O = S.e, g = B.e;
899
+ if (!G || !K) return null;
900
+ if (Z = p && !p[0], Q = b && !b[0], Z || Q) return Z ? Q ? 0 : -K : G;
901
+ if (G != K) return G;
902
+ if (Z = G < 0, Q = O == g, !p || !b) return Q ? 0 : !p ^ Z ? 1 : -1;
903
+ if (!Q) return O > g ^ Z ? 1 : -1;
904
+ for (K = (O = p.length) < (g = b.length) ? O : g, G = 0; G < K; G++) if (p[G] != b[G]) return p[G] > b[G] ^ Z ? 1 : -1;
905
+ return O == g ? 0 : O > g ^ Z ? 1 : -1;
906
+ }
907
+ function x(S, B, Z, Q) {
908
+ if (S < B || S > Z || S !== F(S))
909
+ throw Error(k + (Q || "Argument") + (typeof S == "number" ? S < B || S > Z ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(S));
910
+ }
911
+ function ie(S) {
912
+ var B = S.c.length - 1;
913
+ return m(S.e / $) == B && S.c[B] % 2 != 0;
914
+ }
915
+ function he(S, B) {
916
+ return (S.length > 1 ? S.charAt(0) + "." + S.slice(1) : S) + (B < 0 ? "e" : "e+") + B;
917
+ }
918
+ function ee(S, B, Z) {
919
+ var Q, p;
920
+ if (B < 0) {
921
+ for (p = Z + "."; ++B; p += Z) ;
922
+ S = p + S;
923
+ } else if (Q = S.length, ++B > Q) {
924
+ for (p = Z, B -= Q; --B; p += Z) ;
925
+ S += p;
926
+ } else B < Q && (S = S.slice(0, B) + "." + S.slice(B));
927
+ return S;
928
+ }
929
+ P = Y(), P.default = P.BigNumber = P, N.exports ? N.exports = P : (I || (I = typeof self < "u" && self ? self : window), I.BigNumber = P);
930
+ })(Ue);
931
+ })(We);
932
+ var qe = We.exports;
933
+ (function(N) {
934
+ var I = qe, P = N.exports;
935
+ (function() {
936
+ var v = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, H, F, k = {
937
+ // table of character substitutions
938
+ "\b": "\\b",
939
+ " ": "\\t",
940
+ "\n": "\\n",
941
+ "\f": "\\f",
942
+ "\r": "\\r",
943
+ '"': '\\"',
944
+ "\\": "\\\\"
945
+ }, _;
946
+ function X(L) {
947
+ return v.lastIndex = 0, v.test(L) ? '"' + L.replace(v, function(U) {
948
+ var R = k[U];
949
+ return typeof R == "string" ? R : "\\u" + ("0000" + U.charCodeAt(0).toString(16)).slice(-4);
950
+ }) + '"' : '"' + L + '"';
951
+ }
952
+ function $(L, U) {
953
+ var R, M, Y, m, C = H, W, x = U[L], ie = x != null && (x instanceof I || I.isBigNumber(x));
954
+ switch (x && typeof x == "object" && typeof x.toJSON == "function" && (x = x.toJSON(L)), typeof _ == "function" && (x = _.call(U, L, x)), typeof x) {
955
+ case "string":
956
+ return ie ? x : X(x);
957
+ case "number":
958
+ return isFinite(x) ? String(x) : "null";
959
+ case "boolean":
960
+ case "null":
961
+ case "bigint":
962
+ return String(x);
963
+ case "object":
964
+ if (!x)
965
+ return "null";
966
+ if (H += F, W = [], Object.prototype.toString.apply(x) === "[object Array]") {
967
+ for (m = x.length, R = 0; R < m; R += 1)
968
+ W[R] = $(R, x) || "null";
969
+ return Y = W.length === 0 ? "[]" : H ? `[
970
+ ` + H + W.join(`,
971
+ ` + H) + `
972
+ ` + C + "]" : "[" + W.join(",") + "]", H = C, Y;
973
+ }
974
+ if (_ && typeof _ == "object")
975
+ for (m = _.length, R = 0; R < m; R += 1)
976
+ typeof _[R] == "string" && (M = _[R], Y = $(M, x), Y && W.push(X(M) + (H ? ": " : ":") + Y));
977
+ else
978
+ Object.keys(x).forEach(function(he) {
979
+ var ee = $(he, x);
980
+ ee && W.push(X(he) + (H ? ": " : ":") + ee);
981
+ });
982
+ return Y = W.length === 0 ? "{}" : H ? `{
983
+ ` + H + W.join(`,
984
+ ` + H) + `
985
+ ` + C + "}" : "{" + W.join(",") + "}", H = C, Y;
986
+ }
987
+ }
988
+ typeof P.stringify != "function" && (P.stringify = function(L, U, R) {
989
+ var M;
990
+ if (H = "", F = "", typeof R == "number")
991
+ for (M = 0; M < R; M += 1)
992
+ F += " ";
993
+ else typeof R == "string" && (F = R);
994
+ if (_ = U, U && typeof U != "function" && (typeof U != "object" || typeof U.length != "number"))
995
+ throw new Error("JSON.stringify");
996
+ return $("", {
997
+ "": L
998
+ });
999
+ });
1000
+ })();
1001
+ })(ze);
1002
+ var nt = ze.exports, xe = null;
1003
+ const it = /(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/, st = /(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/;
1004
+ var ot = function(N) {
1005
+ var I = {
1006
+ strict: !1,
1007
+ // not being strict means do not generate syntax errors for "duplicate key"
1008
+ storeAsString: !1,
1009
+ // toggles whether the values should be stored as BigNumber (default) or a string
1010
+ alwaysParseAsBig: !1,
1011
+ // toggles whether all numbers should be Big
1012
+ useNativeBigInt: !1,
1013
+ // toggles whether to use native BigInt instead of bignumber.js
1014
+ protoAction: "error",
1015
+ constructorAction: "error"
1016
+ };
1017
+ if (N != null) {
1018
+ if (N.strict === !0 && (I.strict = !0), N.storeAsString === !0 && (I.storeAsString = !0), I.alwaysParseAsBig = N.alwaysParseAsBig === !0 ? N.alwaysParseAsBig : !1, I.useNativeBigInt = N.useNativeBigInt === !0 ? N.useNativeBigInt : !1, typeof N.constructorAction < "u")
1019
+ if (N.constructorAction === "error" || N.constructorAction === "ignore" || N.constructorAction === "preserve")
1020
+ I.constructorAction = N.constructorAction;
1021
+ else
1022
+ throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${N.constructorAction}`);
1023
+ if (typeof N.protoAction < "u")
1024
+ if (N.protoAction === "error" || N.protoAction === "ignore" || N.protoAction === "preserve")
1025
+ I.protoAction = N.protoAction;
1026
+ else
1027
+ throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${N.protoAction}`);
1028
+ }
1029
+ var P, v, H = {
1030
+ '"': '"',
1031
+ "\\": "\\",
1032
+ "/": "/",
1033
+ b: "\b",
1034
+ f: "\f",
1035
+ n: `
1036
+ `,
1037
+ r: "\r",
1038
+ t: " "
1039
+ }, F, k = function(m) {
1040
+ throw {
1041
+ name: "SyntaxError",
1042
+ message: m,
1043
+ at: P,
1044
+ text: F
1045
+ };
1046
+ }, _ = function(m) {
1047
+ return m && m !== v && k("Expected '" + m + "' instead of '" + v + "'"), v = F.charAt(P), P += 1, v;
1048
+ }, X = function() {
1049
+ var m, C = "";
1050
+ for (v === "-" && (C = "-", _("-")); v >= "0" && v <= "9"; )
1051
+ C += v, _();
1052
+ if (v === ".")
1053
+ for (C += "."; _() && v >= "0" && v <= "9"; )
1054
+ C += v;
1055
+ if (v === "e" || v === "E")
1056
+ for (C += v, _(), (v === "-" || v === "+") && (C += v, _()); v >= "0" && v <= "9"; )
1057
+ C += v, _();
1058
+ if (m = +C, !isFinite(m))
1059
+ k("Bad number");
1060
+ else
1061
+ return xe == null && (xe = qe), C.length > 15 ? I.storeAsString ? C : I.useNativeBigInt ? BigInt(C) : new xe(C) : I.alwaysParseAsBig ? I.useNativeBigInt ? BigInt(m) : new xe(m) : m;
1062
+ }, $ = function() {
1063
+ var m, C, W = "", x;
1064
+ if (v === '"')
1065
+ for (var ie = P; _(); ) {
1066
+ if (v === '"')
1067
+ return P - 1 > ie && (W += F.substring(ie, P - 1)), _(), W;
1068
+ if (v === "\\") {
1069
+ if (P - 1 > ie && (W += F.substring(ie, P - 1)), _(), v === "u") {
1070
+ for (x = 0, C = 0; C < 4 && (m = parseInt(_(), 16), !!isFinite(m)); C += 1)
1071
+ x = x * 16 + m;
1072
+ W += String.fromCharCode(x);
1073
+ } else if (typeof H[v] == "string")
1074
+ W += H[v];
1075
+ else
1076
+ break;
1077
+ ie = P;
1078
+ }
1079
+ }
1080
+ k("Bad string");
1081
+ }, L = function() {
1082
+ for (; v && v <= " "; )
1083
+ _();
1084
+ }, U = function() {
1085
+ switch (v) {
1086
+ case "t":
1087
+ return _("t"), _("r"), _("u"), _("e"), !0;
1088
+ case "f":
1089
+ return _("f"), _("a"), _("l"), _("s"), _("e"), !1;
1090
+ case "n":
1091
+ return _("n"), _("u"), _("l"), _("l"), null;
1092
+ }
1093
+ k("Unexpected '" + v + "'");
1094
+ }, R, M = function() {
1095
+ var m = [];
1096
+ if (v === "[") {
1097
+ if (_("["), L(), v === "]")
1098
+ return _("]"), m;
1099
+ for (; v; ) {
1100
+ if (m.push(R()), L(), v === "]")
1101
+ return _("]"), m;
1102
+ _(","), L();
1103
+ }
1104
+ }
1105
+ k("Bad array");
1106
+ }, Y = function() {
1107
+ var m, C = /* @__PURE__ */ Object.create(null);
1108
+ if (v === "{") {
1109
+ if (_("{"), L(), v === "}")
1110
+ return _("}"), C;
1111
+ for (; v; ) {
1112
+ if (m = $(), L(), _(":"), I.strict === !0 && Object.hasOwnProperty.call(C, m) && k('Duplicate key "' + m + '"'), it.test(m) === !0 ? I.protoAction === "error" ? k("Object contains forbidden prototype property") : I.protoAction === "ignore" ? R() : C[m] = R() : st.test(m) === !0 ? I.constructorAction === "error" ? k("Object contains forbidden constructor property") : I.constructorAction === "ignore" ? R() : C[m] = R() : C[m] = R(), L(), v === "}")
1113
+ return _("}"), C;
1114
+ _(","), L();
1115
+ }
1116
+ }
1117
+ k("Bad object");
1118
+ };
1119
+ return R = function() {
1120
+ switch (L(), v) {
1121
+ case "{":
1122
+ return Y();
1123
+ case "[":
1124
+ return M();
1125
+ case '"':
1126
+ return $();
1127
+ case "-":
1128
+ return X();
1129
+ default:
1130
+ return v >= "0" && v <= "9" ? X() : U();
1131
+ }
1132
+ }, function(m, C) {
1133
+ var W;
1134
+ return F = m + "", P = 0, v = " ", W = R(), L(), v && k("Syntax error"), typeof C == "function" ? function x(ie, he) {
1135
+ var ee, S = ie[he];
1136
+ return S && typeof S == "object" && Object.keys(S).forEach(function(B) {
1137
+ ee = x(S, B), ee !== void 0 ? S[B] = ee : delete S[B];
1138
+ }), C.call(ie, he, S);
1139
+ }({
1140
+ "": W
1141
+ }, "") : W;
1142
+ };
1143
+ }, ut = ot, He = nt.stringify, Ge = ut;
1144
+ Te.exports = function(N) {
1145
+ return {
1146
+ parse: Ge(N),
1147
+ stringify: He
1148
+ };
1149
+ };
1150
+ var ft = Te.exports.parse = Ge(), at = Te.exports.stringify = He;
1151
+ function Dt(N, I) {
1152
+ return N.find((P) => P.key === I);
1153
+ }
1154
+ function lt(N) {
1155
+ try {
1156
+ const I = typeof N == "string" ? ft(N) : N;
1157
+ return at(I, null, 2);
1158
+ } catch (I) {
1159
+ return console.error("Invalid JSON data:", I), N;
1160
+ }
1161
+ }
1162
+ function Pe(N) {
1163
+ return N ? typeof N == "object" && N !== null ? lt(N) : typeof N == "boolean" || typeof N == "number" || N != null ? N.toString() : "-" : "-";
1164
+ }
1165
+ function ke(N, I) {
1166
+ return I.split(".").reduce((P, v) => P == null ? void 0 : P[v], N);
1167
+ }
1168
+ const ct = /* @__PURE__ */ Re({
1169
+ __name: "Ellipsis",
1170
+ props: {
1171
+ open: {
1172
+ type: Boolean,
1173
+ required: !1,
1174
+ default: () => !0
1175
+ }
1176
+ },
1177
+ setup(N) {
1178
+ const I = N, P = Ie(null), v = Ve(() => I.open ? P.value ? {
1179
+ width: `${P.value.clientWidth}px`,
1180
+ whiteSpace: "nowrap",
1181
+ overflow: "hidden",
1182
+ textOverflow: "ellipsis"
1183
+ } : {} : {}), H = () => {
1184
+ if (I.open && P.value) {
1185
+ const F = P.value.clientWidth;
1186
+ P.value.style.width = `${F}px`;
1187
+ }
1188
+ };
1189
+ return Ye(() => {
1190
+ I.open && (H(), window.addEventListener("resize", H));
1191
+ }), Je(() => {
1192
+ I.open && window.removeEventListener("resize", H);
1193
+ }), (F, k) => (ce(), de("div", {
1194
+ ref_key: "ellipsisContainer",
1195
+ ref: P,
1196
+ style: be(v.value)
1197
+ }, [Fe(F.$slots, "default", {}, void 0, !0)], 4));
1198
+ }
1199
+ }), ht = /* @__PURE__ */ je(ct, [["__scopeId", "data-v-4f6d3d7a"]]), pt = {
1200
+ class: "CubeTableCom"
1201
+ }, dt = {
1202
+ class: "tableContain"
1203
+ }, gt = {
1204
+ class: "tableRow"
1205
+ }, wt = ["onMouseenter", "onMouseleave"], vt = {
1206
+ key: 0,
1207
+ class: "contain"
1208
+ }, mt = {
1209
+ class: "pagination"
1210
+ }, yt = /* @__PURE__ */ Re({
1211
+ __name: "CustomTable",
1212
+ props: {
1213
+ loading: {
1214
+ type: Boolean,
1215
+ required: !1,
1216
+ default: () => !1
1217
+ },
1218
+ bordered: {
1219
+ type: Boolean,
1220
+ required: !1,
1221
+ default: () => !0
1222
+ },
1223
+ data: {
1224
+ type: Array,
1225
+ required: !0,
1226
+ default: () => []
1227
+ },
1228
+ pagination: {
1229
+ type: Object,
1230
+ required: !1,
1231
+ default: () => null
1232
+ },
1233
+ columns: {
1234
+ type: Array,
1235
+ required: !0,
1236
+ default: () => []
1237
+ }
1238
+ },
1239
+ emits: ["mouseenter", "mouseleave", "pageChange", "pageSizeChange"],
1240
+ setup(N, {
1241
+ emit: I
1242
+ }) {
1243
+ const P = Ie(-1), v = I, H = (L) => {
1244
+ console.log(L, "currentPage"), v("pageChange", L);
1245
+ }, F = (L) => {
1246
+ console.log(L, "pageSize"), v("pageSizeChange", L);
1247
+ }, k = N;
1248
+ function _(L) {
1249
+ const U = Ze();
1250
+ return L ? !!U[L] : !1;
1251
+ }
1252
+ function X(L) {
1253
+ P.value = L, v("mouseenter", L);
1254
+ }
1255
+ function $(L) {
1256
+ P.value = -1, v("mouseleave", L);
1257
+ }
1258
+ return (L, U) => (ce(), de("div", pt, [Le(me(Qe), {
1259
+ loading: k.loading,
1260
+ tip: "数据加载中"
1261
+ }, {
1262
+ default: Ee(() => {
1263
+ var R;
1264
+ return [ye("div", dt, [ye("table", null, [ye("thead", null, [ye("tr", gt, [(ce(!0), de($e, null, Me(k.columns, (M, Y) => (ce(), de("th", {
1265
+ key: Y,
1266
+ class: Be({
1267
+ fixed: M.fixed,
1268
+ fixedBackground: M.fixed,
1269
+ lastBorder: Y === k.columns.length - 1
1270
+ }),
1271
+ style: be({
1272
+ minWidth: `${M.minWidth}px`,
1273
+ width: `${M.width}px`
1274
+ })
1275
+ }, De(M.title), 7))), 128))])]), ye("tbody", null, [(ce(!0), de($e, null, Me(k.data, (M, Y) => (ce(), de("tr", {
1276
+ key: Y,
1277
+ class: Be(["tableRow", {
1278
+ trListHover: Y === P.value
1279
+ }]),
1280
+ onMouseenter: (m) => X(Y),
1281
+ onMouseleave: (m) => $(Y)
1282
+ }, [(ce(!0), de($e, null, Me(k.columns, (m, C) => (ce(), de("td", {
1283
+ key: C,
1284
+ class: Be({
1285
+ fixed: m.fixed,
1286
+ trListHover: Y === P.value,
1287
+ lastBorder: C === k.columns.length - 1
1288
+ }),
1289
+ style: be({
1290
+ minWidth: `${m.minWidth}px`,
1291
+ width: `${m.width}px`
1292
+ })
1293
+ }, [Le(ht, {
1294
+ open: m.ellipsis
1295
+ }, {
1296
+ default: Ee(() => [_(m.slotName) ? Fe(L.$slots, m.slotName, {
1297
+ key: 0,
1298
+ record: M
1299
+ }, void 0, !0) : (ce(), de($e, {
1300
+ key: 1
1301
+ }, [m.dataIndex ? (ce(), de($e, {
1302
+ key: 0
1303
+ }, [m.tooltip ? (ce(), Ce(me(Ke), {
1304
+ key: 0,
1305
+ content: me(Pe)(me(ke)(M, m.dataIndex)),
1306
+ position: "bottom"
1307
+ }, {
1308
+ default: Ee(() => [ye("span", null, De(me(ke)(M, m.dataIndex)), 1)]),
1309
+ _: 2
1310
+ }, 1032, ["content"])) : (ce(), de($e, {
1311
+ key: 1
1312
+ }, [Xe(De(me(Pe)(me(ke)(M, m.dataIndex))), 1)], 64))], 64)) : Se("", !0)], 64))]),
1313
+ _: 2
1314
+ }, 1032, ["open"])], 6))), 128))], 42, wt))), 128))])]), k.data.length === 0 ? (ce(), de("div", vt, [k.data.length === 0 ? (ce(), Ce(me(et), {
1315
+ key: 0
1316
+ })) : Se("", !0)])) : Se("", !0)]), ye("div", mt, [k.pagination ? (ce(), Ce(me(tt), {
1317
+ key: 0,
1318
+ modelValue: k.pagination.current,
1319
+ "onUpdate:modelValue": U[0] || (U[0] = (M) => k.pagination.current = M),
1320
+ total: ((R = k.pagination) == null ? void 0 : R.total) || 0,
1321
+ "page-size": N.pagination.pageSize,
1322
+ "show-total": N.pagination.showTotal,
1323
+ "show-jumper": N.pagination.showJumper,
1324
+ "show-page-size": N.pagination.showPageSize,
1325
+ onChange: H,
1326
+ onPageSizeChange: F
1327
+ }, null, 8, ["modelValue", "total", "page-size", "show-total", "show-jumper", "show-page-size"])) : Se("", !0)])];
1328
+ }),
1329
+ _: 3
1330
+ }, 8, ["loading"])]));
1331
+ }
1332
+ }), Ct = /* @__PURE__ */ je(yt, [["__scopeId", "data-v-a797607a"]]);
1333
+ export {
1334
+ Ct as C,
1335
+ ht as E,
1336
+ Dt as f
1337
+ };