@ozdao/prometheus-framework 0.2.87 → 0.2.88
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/auth.server.js +0 -16
- package/dist/auth.server.mjs +0 -16
- package/dist/community.server.js +0 -24
- package/dist/community.server.mjs +0 -24
- package/dist/events.server.js +0 -16
- package/dist/events.server.mjs +0 -16
- package/dist/files.server.js +0 -8
- package/dist/files.server.mjs +0 -8
- package/dist/gallery.server.js +0 -8
- package/dist/gallery.server.mjs +0 -8
- package/dist/main-Bw0PvTs-.mjs +13616 -0
- package/dist/main-D8gNZLSa.js +92 -0
- package/dist/main.css +1 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
- package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +180 -180
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.cjs +1 -1
- package/dist/node_modules/@googlemaps/js-api-loader/dist/index.js +5 -5
- package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
- package/dist/node_modules/@noble/hashes/esm/_u64.js +16 -61
- package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +1 -1
- package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +9 -10
- package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.cjs +1 -1
- package/dist/node_modules/vue-draggable-next/dist/vue-draggable-next.esm-bundler.js +1 -1
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.cjs +3 -3
- package/dist/node_modules/vue-qrcode-reader/dist/vue-qrcode-reader.js +9 -9
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
- package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +33 -33
- package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +1 -1
- package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +24 -24
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
- package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +30 -30
- package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +1 -1
- package/dist/node_modules/web3-validator/lib/esm/validation/string.js +9 -9
- package/dist/organizations.server.js +0 -32
- package/dist/organizations.server.mjs +0 -32
- package/dist/products.server.js +0 -20
- package/dist/products.server.mjs +0 -20
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
- package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +3046 -2899
- package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/axios.js +1 -2
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +1 -2
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +18 -19
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -2
- package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +66 -67
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +38 -39
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -1
- package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +1 -2
- package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/eachDayOfInterval.js +13 -16
- package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.cjs +1 -1
- package/dist/prometheus-framework/node_modules/date-fns/eachQuarterOfInterval.js +13 -16
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/ParseError.js +45 -51
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/PhoneNumber.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/PhoneNumber.js +56 -56
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.cjs +2 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/format.js +14 -14
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/checkNumberLength.js +8 -16
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/formatNationalNumberUsingFormat.js +4 -6
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByCallingCode.js +5 -9
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.cjs +2 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getCountryByNationalNumber.js +4 -4
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.cjs +2 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/helpers/getNumberType.js +35 -35
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/metadata.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/metadata.js +13 -13
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +2 -2
- package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +9 -16
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
- package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Block/Block.vue.js +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +1 -73
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +73 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue.js +1 -103
- package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Select/Select.vue2.js +103 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +1 -45
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +29 -29
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +31 -31
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +15 -14
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +0 -66
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
- package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/elements/ButtonCheck.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +10 -10
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/EditEventTickets.vue.js +15 -15
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.cjs +2 -2
- package/dist/prometheus-framework/src/modules/events/components/pages/Event.vue.js +6 -5
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +1 -13
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.cjs +1 -1
- package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue2.js +13 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/OrderCreateBackoffice.vue.js +20 -20
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormAddCustomer.vue.js +19 -19
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormCustomerDetails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormDelivery.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/orders/components/sections/FormPayment.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +4 -4
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +11 -11
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +20 -20
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/CategoryEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +2 -2
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +3 -3
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Payments.vue.js +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.cjs +1 -1
- package/dist/prometheus-framework/src/modules/wallet/views/components/pages/Wallet.vue.js +3 -3
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +1 -1
- package/dist/reports.server.js +0 -8
- package/dist/reports.server.mjs +0 -8
- package/dist/style.css +1 -1
- package/dist/users.server.js +0 -8
- package/dist/users.server.mjs +0 -8
- package/dist/wallet.server.js +0 -4
- package/dist/wallet.server.mjs +0 -4
- package/dist/web-CciQvENI.js +1 -0
- package/dist/web-nVxTNRH4.mjs +54 -0
- package/package.json +1 -1
@@ -5,11 +5,11 @@ function UA(A) {
|
|
5
5
|
function t() {
|
6
6
|
return A[e++] << 8 | A[e++];
|
7
7
|
}
|
8
|
-
let
|
9
|
-
for (let D = 1; D <
|
10
|
-
|
11
|
-
let
|
12
|
-
e +=
|
8
|
+
let n = t(), l = 1, o = [0, 1];
|
9
|
+
for (let D = 1; D < n; D++)
|
10
|
+
o.push(l += t());
|
11
|
+
let r = t(), w = e;
|
12
|
+
e += r;
|
13
13
|
let B = 0, Q = 0;
|
14
14
|
function C() {
|
15
15
|
return B == 0 && (Q = Q << 8 | A[e++], B = 8), Q >> --B & 1;
|
@@ -20,22 +20,22 @@ function UA(A) {
|
|
20
20
|
E = E << 1 | C();
|
21
21
|
let M = [], R = 0, S = c;
|
22
22
|
for (; ; ) {
|
23
|
-
let D = Math.floor(((E - R + 1) *
|
23
|
+
let D = Math.floor(((E - R + 1) * l - 1) / S), p = 0, b = n;
|
24
24
|
for (; b - p > 1; ) {
|
25
25
|
let T = p + b >>> 1;
|
26
|
-
D <
|
26
|
+
D < o[T] ? b = T : p = T;
|
27
27
|
}
|
28
28
|
if (p == 0)
|
29
29
|
break;
|
30
30
|
M.push(p);
|
31
|
-
let u = R + Math.floor(S *
|
31
|
+
let u = R + Math.floor(S * o[p] / l), h = R + Math.floor(S * o[p + 1] / l) - 1;
|
32
32
|
for (; !((u ^ h) & i); )
|
33
33
|
E = E << 1 & f | C(), u = u << 1 & f, h = h << 1 & f | 1;
|
34
34
|
for (; u & ~h & g; )
|
35
35
|
E = E & i | E << 1 & f >>> 1 | C(), u = u << 1 ^ i, h = (h ^ i) << 1 | i | 1;
|
36
36
|
R = u, S = 1 + h - u;
|
37
37
|
}
|
38
|
-
let P =
|
38
|
+
let P = n - 4;
|
39
39
|
return M.map((D) => {
|
40
40
|
switch (D - P) {
|
41
41
|
case 3:
|
@@ -53,36 +53,36 @@ function NA(A) {
|
|
53
53
|
let e = 0;
|
54
54
|
return () => A[e++];
|
55
55
|
}
|
56
|
-
function
|
56
|
+
function rA(A) {
|
57
57
|
return NA(UA(kA(A)));
|
58
58
|
}
|
59
59
|
function kA(A) {
|
60
60
|
let e = [];
|
61
|
-
[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((
|
62
|
-
let t = A.length,
|
63
|
-
for (let
|
64
|
-
w = w << 6 | e[A.charCodeAt(
|
65
|
-
return
|
61
|
+
[..."ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"].forEach((l, o) => e[l.charCodeAt(0)] = o);
|
62
|
+
let t = A.length, n = new Uint8Array(6 * t >> 3);
|
63
|
+
for (let l = 0, o = 0, r = 0, w = 0; l < t; l++)
|
64
|
+
w = w << 6 | e[A.charCodeAt(l)], r += 6, r >= 8 && (n[o++] = w >> (r -= 8));
|
65
|
+
return n;
|
66
66
|
}
|
67
67
|
function FA(A) {
|
68
68
|
return A & 1 ? ~A >> 1 : A >> 1;
|
69
69
|
}
|
70
70
|
function JA(A, e) {
|
71
71
|
let t = Array(A);
|
72
|
-
for (let
|
73
|
-
t[
|
72
|
+
for (let n = 0, l = 0; n < A; n++)
|
73
|
+
t[n] = l += FA(e());
|
74
74
|
return t;
|
75
75
|
}
|
76
76
|
function H(A, e = 0) {
|
77
77
|
let t = [];
|
78
78
|
for (; ; ) {
|
79
|
-
let
|
80
|
-
if (!
|
79
|
+
let n = A(), l = A();
|
80
|
+
if (!l)
|
81
81
|
break;
|
82
|
-
e +=
|
83
|
-
for (let
|
84
|
-
t.push(e +
|
85
|
-
e +=
|
82
|
+
e += n;
|
83
|
+
for (let o = 0; o < l; o++)
|
84
|
+
t.push(e + o);
|
85
|
+
e += l + 1;
|
86
86
|
}
|
87
87
|
return t;
|
88
88
|
}
|
@@ -120,42 +120,42 @@ function O(A) {
|
|
120
120
|
return e;
|
121
121
|
}
|
122
122
|
function sA(A, e, t) {
|
123
|
-
let
|
124
|
-
for (let
|
125
|
-
JA(A, t).forEach((
|
126
|
-
return
|
123
|
+
let n = Array(A).fill().map(() => []);
|
124
|
+
for (let l = 0; l < e; l++)
|
125
|
+
JA(A, t).forEach((o, r) => n[r].push(o));
|
126
|
+
return n;
|
127
127
|
}
|
128
128
|
function HA(A, e) {
|
129
|
-
let t = 1 + e(),
|
130
|
-
return sA(
|
131
|
-
let [B, ...Q] =
|
132
|
-
return Array(
|
133
|
-
let c = s *
|
129
|
+
let t = 1 + e(), n = e(), l = O(e);
|
130
|
+
return sA(l.length, 1 + A, e).flatMap((r, w) => {
|
131
|
+
let [B, ...Q] = r;
|
132
|
+
return Array(l[w]).fill().map((C, s) => {
|
133
|
+
let c = s * n;
|
134
134
|
return [B + s * t, Q.map((i) => i + c)];
|
135
135
|
});
|
136
136
|
});
|
137
137
|
}
|
138
138
|
function OA(A, e) {
|
139
139
|
let t = 1 + e();
|
140
|
-
return sA(t, 1 + A, e).map((
|
140
|
+
return sA(t, 1 + A, e).map((l) => [l[0], l.slice(1)]);
|
141
141
|
}
|
142
142
|
function GA(A) {
|
143
143
|
let e = [], t = H(A);
|
144
|
-
return n(
|
145
|
-
function
|
146
|
-
let
|
144
|
+
return l(n([]), []), e;
|
145
|
+
function n(o) {
|
146
|
+
let r = A(), w = O(() => {
|
147
147
|
let B = H(A).map((Q) => t[Q]);
|
148
148
|
if (B.length)
|
149
|
-
return
|
149
|
+
return n(B);
|
150
150
|
});
|
151
|
-
return { S:
|
151
|
+
return { S: r, B: w, Q: o };
|
152
152
|
}
|
153
|
-
function
|
154
|
-
if (!(
|
155
|
-
|
156
|
-
for (let Q of
|
153
|
+
function l({ S: o, B: r }, w, B) {
|
154
|
+
if (!(o & 4 && B === w[w.length - 1])) {
|
155
|
+
o & 2 && (B = w[w.length - 1]), o & 1 && e.push(w);
|
156
|
+
for (let Q of r)
|
157
157
|
for (let C of Q.Q)
|
158
|
-
|
158
|
+
l(Q, [...w, C], B);
|
159
159
|
}
|
160
160
|
}
|
161
161
|
}
|
@@ -167,9 +167,9 @@ function cA(A) {
|
|
167
167
|
}
|
168
168
|
function SA(A) {
|
169
169
|
let e = [];
|
170
|
-
for (let t = 0,
|
171
|
-
let
|
172
|
-
t +=
|
170
|
+
for (let t = 0, n = A.length; t < n; ) {
|
171
|
+
let l = A.codePointAt(t);
|
172
|
+
t += l < 65536 ? 1 : 2, e.push(l);
|
173
173
|
}
|
174
174
|
return e;
|
175
175
|
}
|
@@ -177,16 +177,16 @@ function N(A) {
|
|
177
177
|
let t = A.length;
|
178
178
|
if (t < 4096)
|
179
179
|
return String.fromCodePoint(...A);
|
180
|
-
let
|
181
|
-
for (let
|
182
|
-
|
183
|
-
return
|
180
|
+
let n = [];
|
181
|
+
for (let l = 0; l < t; )
|
182
|
+
n.push(String.fromCodePoint(...A.slice(l, l += 4096)));
|
183
|
+
return n.join("");
|
184
184
|
}
|
185
185
|
function PA(A, e) {
|
186
|
-
let t = A.length,
|
187
|
-
for (let
|
188
|
-
|
189
|
-
return
|
186
|
+
let t = A.length, n = t - e.length;
|
187
|
+
for (let l = 0; n == 0 && l < t; l++)
|
188
|
+
n = A[l] - e[l];
|
189
|
+
return n;
|
190
190
|
}
|
191
191
|
var VA = "AEUDTAHBCFQATQDRADAAcgAgADQAFAAsABQAHwAOACQADQARAAoAFwAHABIACAAPAAUACwAFAAwABAAQAAMABwAEAAoABQAIAAIACgABAAQAFAALAAIACwABAAIAAQAHAAMAAwAEAAsADAAMAAwACgANAA0AAwAKAAkABAAdAAYAZwDSAdsDJgC0CkMB8xhZAqfoC190UGcThgBurwf7PT09Pb09AjgJum8OjDllxHYUKXAPxzq6tABAxgK8ysUvWAgMPT09PT09PSs6LT2HcgWXWwFLoSMEEEl5RFVMKvO0XQ8ExDdJMnIgsj26PTQyy8FfEQ8AY8IPAGcEbwRwBHEEcgRzBHQEdQR2BHcEeAR6BHsEfAR+BIAEgfndBQoBYgULAWIFDAFiBNcE2ATZBRAFEQUvBdALFAsVDPcNBw13DYcOMA4xDjMB4BllHI0B2grbAMDpHLkQ7QHVAPRNQQFnGRUEg0yEB2uaJF8AJpIBpob5AERSMAKNoAXqaQLUBMCzEiACnwRZEkkVsS7tANAsBG0RuAQLEPABv9HICTUBXigPZwRBApMDOwAamhtaABqEAY8KvKx3LQ4ArAB8UhwEBA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SK9c4iDdNwJuZL2FKz/IK5VimcNWEqdXjSoxSgmF0UPlDoUlNrPcM7ftmA8Y9gKiqKEHuWN+AZRIwtVSxye2Kf8rM3lhJ5XcBXU9n4v0Oy1RU2M+4qM8AQPVwse8ErNSob5oFPWxuqZnVzo1qB/IBxkM3EVUKFUUlO3e51259GgNcJbCmlvrdjtoTW7rChm1wyCKzpCTwozUUEOIcWLneRLgMXh+SjGSFkAllzbGS5HK7LlfCMRNRDSvbQPjcXaenNYxCvu2Qyznz6StuxVj66SgI0T8B6/sfHAJYZaZ78thjOSIFumNWLQbeZixDCCC+v0YBtkxiBB3jefHqZ/dFHU+crbj6OvS1x/JDD7vlm7zOVPwpUC01nhxZuY/63E7g";
|
192
192
|
const G = 44032, L = 4352, K = 4449, x = 4519, BA = 19, iA = 21, k = 28, z = iA * k, LA = BA * z, KA = G + LA, xA = L + BA, zA = K + iA, YA = x + k;
|
@@ -198,12 +198,12 @@ function QA(A) {
|
|
198
198
|
}
|
199
199
|
let X, nA, v, V;
|
200
200
|
function ZA() {
|
201
|
-
let A =
|
202
|
-
X = new Map(wA(A).flatMap((e, t) => e.map((
|
201
|
+
let A = rA(VA);
|
202
|
+
X = new Map(wA(A).flatMap((e, t) => e.map((n) => [n, t + 1 << 24]))), nA = new Set(H(A)), v = /* @__PURE__ */ new Map(), V = /* @__PURE__ */ new Map();
|
203
203
|
for (let [e, t] of CA(A)) {
|
204
204
|
if (!nA.has(e) && t.length == 2) {
|
205
|
-
let [
|
206
|
-
|
205
|
+
let [n, l] = t, o = V.get(n);
|
206
|
+
o || (o = /* @__PURE__ */ new Map(), V.set(n, o)), o.set(l, e);
|
207
207
|
}
|
208
208
|
v.set(e, t.reverse());
|
209
209
|
}
|
@@ -223,59 +223,59 @@ function bA(A, e) {
|
|
223
223
|
}
|
224
224
|
function EA(A) {
|
225
225
|
X || ZA();
|
226
|
-
let e = [], t = [],
|
227
|
-
function
|
228
|
-
let
|
229
|
-
|
226
|
+
let e = [], t = [], n = !1;
|
227
|
+
function l(o) {
|
228
|
+
let r = X.get(o);
|
229
|
+
r && (n = !0, o |= r), e.push(o);
|
230
230
|
}
|
231
|
-
for (let
|
231
|
+
for (let o of A)
|
232
232
|
for (; ; ) {
|
233
|
-
if (
|
234
|
-
e.push(
|
235
|
-
else if (fA(
|
236
|
-
let
|
237
|
-
|
233
|
+
if (o < 128)
|
234
|
+
e.push(o);
|
235
|
+
else if (fA(o)) {
|
236
|
+
let r = o - G, w = r / z | 0, B = r % z / k | 0, Q = r % k;
|
237
|
+
l(L + w), l(K + B), Q > 0 && l(x + Q);
|
238
238
|
} else {
|
239
|
-
let
|
240
|
-
|
239
|
+
let r = v.get(o);
|
240
|
+
r ? t.push(...r) : l(o);
|
241
241
|
}
|
242
242
|
if (!t.length)
|
243
243
|
break;
|
244
|
-
|
244
|
+
o = t.pop();
|
245
245
|
}
|
246
|
-
if (
|
247
|
-
let
|
248
|
-
for (let
|
249
|
-
let w = F(e[
|
250
|
-
if (w == 0 ||
|
251
|
-
|
246
|
+
if (n && e.length > 1) {
|
247
|
+
let o = F(e[0]);
|
248
|
+
for (let r = 1; r < e.length; r++) {
|
249
|
+
let w = F(e[r]);
|
250
|
+
if (w == 0 || o <= w) {
|
251
|
+
o = w;
|
252
252
|
continue;
|
253
253
|
}
|
254
|
-
let B =
|
254
|
+
let B = r - 1;
|
255
255
|
for (; ; ) {
|
256
256
|
let Q = e[B + 1];
|
257
|
-
if (e[B + 1] = e[B], e[B] = Q, !B || (
|
257
|
+
if (e[B + 1] = e[B], e[B] = Q, !B || (o = F(e[--B]), o <= w))
|
258
258
|
break;
|
259
259
|
}
|
260
|
-
|
260
|
+
o = F(e[r]);
|
261
261
|
}
|
262
262
|
}
|
263
263
|
return e;
|
264
264
|
}
|
265
265
|
function TA(A) {
|
266
|
-
let e = [], t = [],
|
267
|
-
for (let
|
268
|
-
let
|
269
|
-
if (
|
270
|
-
|
271
|
-
else if (
|
272
|
-
|
266
|
+
let e = [], t = [], n = -1, l = 0;
|
267
|
+
for (let o of A) {
|
268
|
+
let r = F(o), w = QA(o);
|
269
|
+
if (n == -1)
|
270
|
+
r == 0 ? n = w : e.push(w);
|
271
|
+
else if (l > 0 && l >= r)
|
272
|
+
r == 0 ? (e.push(n, ...t), t.length = 0, n = w) : t.push(w), l = r;
|
273
273
|
else {
|
274
|
-
let B = bA(
|
275
|
-
B >= 0 ?
|
274
|
+
let B = bA(n, w);
|
275
|
+
B >= 0 ? n = B : l == 0 && r == 0 ? (e.push(n), n = w) : (t.push(w), l = r);
|
276
276
|
}
|
277
277
|
}
|
278
|
-
return
|
278
|
+
return n >= 0 && e.push(n, ...t), e;
|
279
279
|
}
|
280
280
|
function gA(A) {
|
281
281
|
return EA(A).map(QA);
|
@@ -293,24 +293,24 @@ class XA extends Array {
|
|
293
293
|
}
|
294
294
|
// free tagging system
|
295
295
|
}
|
296
|
-
let W, pA, I, q, hA, U, j, d, a,
|
296
|
+
let W, pA, I, q, hA, U, j, d, a, oA, y;
|
297
297
|
function _() {
|
298
298
|
if (W)
|
299
299
|
return;
|
300
|
-
let A =
|
301
|
-
const e = () => H(A), t = () => new Set(e()),
|
300
|
+
let A = rA(dA);
|
301
|
+
const e = () => H(A), t = () => new Set(e()), n = (C, s) => s.forEach((c) => C.add(c));
|
302
302
|
W = new Map(CA(A)), pA = t(), I = e(), q = new Set(e().map((C) => I[C])), I = new Set(I), hA = t(), t();
|
303
|
-
let
|
304
|
-
const
|
303
|
+
let l = wA(A), o = A();
|
304
|
+
const r = () => {
|
305
305
|
let C = /* @__PURE__ */ new Set();
|
306
|
-
return e().forEach((s) =>
|
306
|
+
return e().forEach((s) => n(C, l[s])), n(C, e()), C;
|
307
307
|
};
|
308
308
|
U = O((C) => {
|
309
309
|
let s = O(A).map((c) => c + 96);
|
310
310
|
if (s.length) {
|
311
|
-
let c = C >=
|
311
|
+
let c = C >= o;
|
312
312
|
s[0] -= 32, s = N(s), c && (s = `Restricted[${s}]`);
|
313
|
-
let i =
|
313
|
+
let i = r(), g = r(), f = !A();
|
314
314
|
return { N: s, P: i, Q: g, M: f, R: c };
|
315
315
|
}
|
316
316
|
}), j = t(), d = /* @__PURE__ */ new Map();
|
@@ -323,7 +323,7 @@ function _() {
|
|
323
323
|
let c = [];
|
324
324
|
for (let g of C) {
|
325
325
|
let f = U.filter((M) => m(M, g)), E = c.find(({ G: M }) => f.some((R) => M.has(R)));
|
326
|
-
E || (E = { G: /* @__PURE__ */ new Set(), V: [] }, c.push(E)), E.V.push(g),
|
326
|
+
E || (E = { G: /* @__PURE__ */ new Set(), V: [] }, c.push(E)), E.V.push(g), n(E.G, f);
|
327
327
|
}
|
328
328
|
let i = c.flatMap((g) => Y(g.G));
|
329
329
|
for (let { G: g, V: f } of c) {
|
@@ -343,8 +343,8 @@ function _() {
|
|
343
343
|
}
|
344
344
|
for (let C of a)
|
345
345
|
!d.has(C) && !B.has(C) && d.set(C, uA);
|
346
|
-
|
347
|
-
for (let C of
|
346
|
+
n(a, gA(a)), oA = GA(A).map((C) => XA.from(C)).sort(PA), y = /* @__PURE__ */ new Map();
|
347
|
+
for (let C of oA) {
|
348
348
|
let s = [y];
|
349
349
|
for (let c of C) {
|
350
350
|
let i = s.map((g) => {
|
@@ -376,28 +376,28 @@ function qA(A) {
|
|
376
376
|
let e = A[0], t = eA.get(e);
|
377
377
|
if (t)
|
378
378
|
throw J(`leading ${t}`);
|
379
|
-
let
|
380
|
-
for (let
|
381
|
-
e = A[
|
382
|
-
let
|
383
|
-
if (
|
384
|
-
if (
|
385
|
-
throw J(`${t} + ${
|
386
|
-
|
379
|
+
let n = A.length, l = -1;
|
380
|
+
for (let o = 1; o < n; o++) {
|
381
|
+
e = A[o];
|
382
|
+
let r = eA.get(e);
|
383
|
+
if (r) {
|
384
|
+
if (l == o)
|
385
|
+
throw J(`${t} + ${r}`);
|
386
|
+
l = o + 1, t = r;
|
387
387
|
}
|
388
388
|
}
|
389
|
-
if (
|
389
|
+
if (l == n)
|
390
390
|
throw J(`trailing ${t}`);
|
391
391
|
}
|
392
392
|
function Z(A, e = 1 / 0, t = cA) {
|
393
|
-
let
|
394
|
-
yA(A[0]) &&
|
395
|
-
let
|
396
|
-
for (let
|
397
|
-
let w = A[
|
398
|
-
aA(w) && (
|
393
|
+
let n = [];
|
394
|
+
yA(A[0]) && n.push("◌"), A.length > e && (e >>= 1, A = [...A.slice(0, e), 8230, ...A.slice(-e)]);
|
395
|
+
let l = 0, o = A.length;
|
396
|
+
for (let r = 0; r < o; r++) {
|
397
|
+
let w = A[r];
|
398
|
+
aA(w) && (n.push(N(A.slice(l, r))), n.push(t(w)), l = r + 1);
|
399
399
|
}
|
400
|
-
return
|
400
|
+
return n.push(N(A.slice(l, o))), n.join("");
|
401
401
|
}
|
402
402
|
function yA(A) {
|
403
403
|
return _(), I.has(A);
|
@@ -405,27 +405,27 @@ function yA(A) {
|
|
405
405
|
function aA(A) {
|
406
406
|
return _(), hA.has(A);
|
407
407
|
}
|
408
|
-
function
|
408
|
+
function re(A) {
|
409
409
|
return ee(_A(A, jA, le));
|
410
410
|
}
|
411
411
|
function _A(A, e, t) {
|
412
412
|
if (!A)
|
413
413
|
return [];
|
414
414
|
_();
|
415
|
-
let
|
416
|
-
return A.split(MA).map((
|
417
|
-
let
|
418
|
-
input:
|
419
|
-
offset:
|
415
|
+
let n = 0;
|
416
|
+
return A.split(MA).map((l) => {
|
417
|
+
let o = SA(l), r = {
|
418
|
+
input: o,
|
419
|
+
offset: n
|
420
420
|
// codepoint, not substring!
|
421
421
|
};
|
422
|
-
|
422
|
+
n += o.length + 1;
|
423
423
|
try {
|
424
|
-
let w =
|
424
|
+
let w = r.tokens = ne(o, e, t), B = w.length, Q;
|
425
425
|
if (!B)
|
426
426
|
throw new Error("empty label");
|
427
|
-
let C =
|
428
|
-
if (WA(C), !(
|
427
|
+
let C = r.output = w.flat();
|
428
|
+
if (WA(C), !(r.emoji = B > 1 || w[0].is_emoji) && C.every((c) => c < 128))
|
429
429
|
vA(C), Q = "ASCII";
|
430
430
|
else {
|
431
431
|
let c = w.flatMap((i) => i.is_emoji ? [] : i);
|
@@ -444,58 +444,58 @@ function _A(A, e, t) {
|
|
444
444
|
te(g, c), $A(g, i), Q = g.N;
|
445
445
|
}
|
446
446
|
}
|
447
|
-
|
447
|
+
r.type = Q;
|
448
448
|
} catch (w) {
|
449
|
-
|
449
|
+
r.error = w;
|
450
450
|
}
|
451
|
-
return
|
451
|
+
return r;
|
452
452
|
});
|
453
453
|
}
|
454
454
|
function $A(A, e) {
|
455
|
-
let t,
|
456
|
-
for (let
|
457
|
-
let
|
458
|
-
if (
|
455
|
+
let t, n = [];
|
456
|
+
for (let l of e) {
|
457
|
+
let o = d.get(l);
|
458
|
+
if (o === uA)
|
459
459
|
return;
|
460
|
-
if (
|
461
|
-
let
|
462
|
-
if (t = t ? t.filter((w) =>
|
460
|
+
if (o) {
|
461
|
+
let r = o.M.get(l);
|
462
|
+
if (t = t ? t.filter((w) => r.has(w)) : Y(r), !t.length)
|
463
463
|
return;
|
464
464
|
} else
|
465
|
-
|
465
|
+
n.push(l);
|
466
466
|
}
|
467
467
|
if (t) {
|
468
|
-
for (let
|
469
|
-
if (
|
470
|
-
throw new Error(`whole-script confusable: ${A.N}/${
|
468
|
+
for (let l of t)
|
469
|
+
if (n.every((o) => m(l, o)))
|
470
|
+
throw new Error(`whole-script confusable: ${A.N}/${l.N}`);
|
471
471
|
}
|
472
472
|
}
|
473
473
|
function Ae(A) {
|
474
474
|
let e = U;
|
475
475
|
for (let t of A) {
|
476
|
-
let
|
477
|
-
if (!
|
478
|
-
throw U.some((
|
479
|
-
if (e =
|
476
|
+
let n = e.filter((l) => m(l, t));
|
477
|
+
if (!n.length)
|
478
|
+
throw U.some((l) => m(l, t)) ? RA(e[0], t) : IA(t);
|
479
|
+
if (e = n, n.length == 1)
|
480
480
|
break;
|
481
481
|
}
|
482
482
|
return e;
|
483
483
|
}
|
484
484
|
function ee(A) {
|
485
|
-
return A.map(({ input: e, error: t, output:
|
485
|
+
return A.map(({ input: e, error: t, output: n }) => {
|
486
486
|
if (t) {
|
487
|
-
let
|
488
|
-
throw new Error(A.length == 1 ?
|
487
|
+
let l = t.message;
|
488
|
+
throw new Error(A.length == 1 ? l : `Invalid label ${AA(Z(e, 63))}: ${l}`);
|
489
489
|
}
|
490
|
-
return N(
|
490
|
+
return N(n);
|
491
491
|
}).join(MA);
|
492
492
|
}
|
493
493
|
function IA(A) {
|
494
494
|
return new Error(`disallowed character: ${$(A)}`);
|
495
495
|
}
|
496
496
|
function RA(A, e) {
|
497
|
-
let t = $(e),
|
498
|
-
return
|
497
|
+
let t = $(e), n = U.find((l) => l.P.has(e));
|
498
|
+
return n && (t = `${n.N} ${t}`), new Error(`illegal mixture: ${A.N} + ${t}`);
|
499
499
|
}
|
500
500
|
function J(A) {
|
501
501
|
return new Error(`illegal placement: ${A}`);
|
@@ -506,53 +506,53 @@ function te(A, e) {
|
|
506
506
|
throw RA(A, t);
|
507
507
|
if (A.M) {
|
508
508
|
let t = gA(e);
|
509
|
-
for (let
|
510
|
-
if (q.has(t[
|
511
|
-
let
|
512
|
-
for (let
|
513
|
-
for (let w =
|
514
|
-
if (t[w] ==
|
515
|
-
throw new Error(`duplicate non-spacing marks: ${$(
|
516
|
-
if (
|
517
|
-
throw new Error(`excessive non-spacing marks: ${AA(Z(t.slice(
|
518
|
-
|
509
|
+
for (let n = 1, l = t.length; n < l; n++)
|
510
|
+
if (q.has(t[n])) {
|
511
|
+
let o = n + 1;
|
512
|
+
for (let r; o < l && q.has(r = t[o]); o++)
|
513
|
+
for (let w = n; w < o; w++)
|
514
|
+
if (t[w] == r)
|
515
|
+
throw new Error(`duplicate non-spacing marks: ${$(r)}`);
|
516
|
+
if (o - n > tA)
|
517
|
+
throw new Error(`excessive non-spacing marks: ${AA(Z(t.slice(n - 1, o)))} (${o - n}/${tA})`);
|
518
|
+
n = o;
|
519
519
|
}
|
520
520
|
}
|
521
521
|
}
|
522
522
|
function ne(A, e, t) {
|
523
|
-
let
|
523
|
+
let n = [], l = [];
|
524
524
|
for (A = A.slice().reverse(); A.length; ) {
|
525
|
-
let
|
526
|
-
if (
|
527
|
-
|
525
|
+
let o = oe(A);
|
526
|
+
if (o)
|
527
|
+
l.length && (n.push(e(l)), l = []), n.push(t(o));
|
528
528
|
else {
|
529
|
-
let
|
530
|
-
if (a.has(
|
531
|
-
|
529
|
+
let r = A.pop();
|
530
|
+
if (a.has(r))
|
531
|
+
l.push(r);
|
532
532
|
else {
|
533
|
-
let w = W.get(
|
533
|
+
let w = W.get(r);
|
534
534
|
if (w)
|
535
|
-
|
536
|
-
else if (!pA.has(
|
537
|
-
throw IA(
|
535
|
+
l.push(...w);
|
536
|
+
else if (!pA.has(r))
|
537
|
+
throw IA(r);
|
538
538
|
}
|
539
539
|
}
|
540
540
|
}
|
541
|
-
return
|
541
|
+
return l.length && n.push(e(l)), n;
|
542
542
|
}
|
543
543
|
function le(A) {
|
544
544
|
return A.filter((e) => e != DA);
|
545
545
|
}
|
546
|
-
function
|
547
|
-
let t = y,
|
548
|
-
for (;
|
549
|
-
let { V:
|
550
|
-
|
546
|
+
function oe(A, e) {
|
547
|
+
let t = y, n, l = A.length;
|
548
|
+
for (; l && (t = t.get(A[--l]), !!t); ) {
|
549
|
+
let { V: o } = t;
|
550
|
+
o && (n = o, A.length = l);
|
551
551
|
}
|
552
|
-
return
|
552
|
+
return n;
|
553
553
|
}
|
554
554
|
export {
|
555
|
-
|
555
|
+
re as ens_normalize,
|
556
556
|
yA as is_combining_mark,
|
557
557
|
jA as nfc,
|
558
558
|
gA as nfd,
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(s,e,t,r){function o(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function l(a){try{c(r.next(a))}catch(h){n(h)}}function u(a){try{c(r.throw(a))}catch(h){n(h)}}function c(a){a.done?i(a.value):o(a.value).then(l,u)}c((r=r.apply(s,
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(s,e,t,r){function o(i){return i instanceof t?i:new t(function(n){n(i)})}return new(t||(t=Promise))(function(i,n){function l(a){try{c(r.next(a))}catch(h){n(h)}}function u(a){try{c(r.throw(a))}catch(h){n(h)}}function c(a){a.done?i(a.value):o(a.value).then(l,u)}c((r=r.apply(s,[])).next())})}function L(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var _=function s(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,o,i;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(o=r;o--!==0;)if(!s(e[o],t[o]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(o=r;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[o]))return!1;for(o=r;o--!==0;){var n=i[o];if(!s(e[n],t[n]))return!1}return!0}return e!==e&&t!==t},P=L(_);const I="__googleMapsScriptId";exports.LoaderStatus=void 0;(function(s){s[s.INITIALIZED=0]="INITIALIZED",s[s.LOADING=1]="LOADING",s[s.SUCCESS=2]="SUCCESS",s[s.FAILURE=3]="FAILURE"})(exports.LoaderStatus||(exports.LoaderStatus={}));class d{constructor({apiKey:e,authReferrerPolicy:t,channel:r,client:o,id:i=I,language:n,libraries:l=[],mapIds:u,nonce:c,region:a,retries:h=3,url:g="https://maps.googleapis.com/maps/api/js",version:p}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=r,this.client=o,this.id=i||I,this.language=n,this.libraries=l,this.mapIds=u,this.nonce=c,this.region=a,this.retries=h,this.url=g,this.version=p,d.instance){if(!P(this.options,d.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(d.instance.options)}`);return d.instance}d.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?exports.LoaderStatus.FAILURE:this.done?exports.LoaderStatus.SUCCESS:this.loading?exports.LoaderStatus.LOADING:exports.LoaderStatus.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`®ion=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>{this.loadCallback(r=>{r?t(r.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((t=(e=window==null?void 0:window.google)===null||e===void 0?void 0:e.maps)===null||t===void 0)&&t.importLibrary||(i=>{let n,l,u,c="The Google Maps JavaScript API",a="google",h="importLibrary",g="__ib__",p=document,f=window;f=f[a]||(f[a]={});const m=f.maps||(f.maps={}),E=new Set,y=new URLSearchParams,S=()=>n||(n=new Promise((v,b)=>k(this,void 0,void 0,function*(){var w;yield l=p.createElement("script"),l.id=this.id,y.set("libraries",[...E]+"");for(u in i)y.set(u.replace(/[A-Z]/g,O=>"_"+O[0].toLowerCase()),i[u]);y.set("callback",a+".maps."+g),l.src=this.url+"?"+y,m[g]=v,l.onerror=()=>n=b(Error(c+" could not load.")),l.nonce=this.nonce||((w=p.querySelector("script[nonce]"))===null||w===void 0?void 0:w.nonce)||"",p.head.append(l)})));m[h]?console.warn(c+" only loads once. Ignoring:",i):m[h]=(v,...b)=>E.add(v)&&S().then(()=>m[h](v,...b))})(r);const o=this.libraries.map(i=>this.importLibrary(i));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),i=>{const n=new ErrorEvent("error",{error:i});this.loadErrorCallback(n)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},t)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading||(this.loading=!0,this.setScript())}}}exports.DEFAULT_ID=I;exports.Loader=d;
|