@betterstore/react 0.7.3 → 0.7.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +482 -485
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -282,7 +282,7 @@ const bo = (t) => (e) => {
|
|
|
282
282
|
for (; s.obj === void 0 && o.length; )
|
|
283
283
|
l = `${o[o.length - 1]}.${l}`, o = o.slice(0, o.length - 1), s = Yn(t, o, Object), s?.obj && typeof s.obj[`${s.k}.${l}`] < "u" && (s.obj = void 0);
|
|
284
284
|
s.obj[`${s.k}.${l}`] = a;
|
|
285
|
-
},
|
|
285
|
+
}, Rp = (t, e, a, n) => {
|
|
286
286
|
const {
|
|
287
287
|
obj: r,
|
|
288
288
|
k: l
|
|
@@ -295,7 +295,7 @@ const bo = (t) => (e) => {
|
|
|
295
295
|
} = Yn(t, e);
|
|
296
296
|
if (a && Object.prototype.hasOwnProperty.call(a, n))
|
|
297
297
|
return a[n];
|
|
298
|
-
},
|
|
298
|
+
}, Ip = (t, e, a) => {
|
|
299
299
|
const n = ni(t, a);
|
|
300
300
|
return n !== void 0 ? n : ni(e, a);
|
|
301
301
|
}, qc = (t, e, a) => {
|
|
@@ -909,8 +909,8 @@ class Gp {
|
|
|
909
909
|
return r ? `${this.options.prepend}${n.ordinal ? `ordinal${this.options.prepend}` : ""}${r.select(a)}` : (this.logger.warn(`no plural rule found for: ${e}`), this.getSuffix("dev", a, n));
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
|
-
const
|
|
913
|
-
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l =
|
|
912
|
+
const R1 = function(t, e, a) {
|
|
913
|
+
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", r = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, l = Ip(t, e, a);
|
|
914
914
|
return !l && r && be(a) && (l = wo(t, a, n), l === void 0 && (l = wo(e, a, n))), l;
|
|
915
915
|
}, bl = (t) => t.replace(/\$/g, "$$$$");
|
|
916
916
|
class Wp {
|
|
@@ -955,7 +955,7 @@ class Wp {
|
|
|
955
955
|
let l, o, s;
|
|
956
956
|
const d = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, c = (m) => {
|
|
957
957
|
if (m.indexOf(this.formatSeparator) < 0) {
|
|
958
|
-
const $ =
|
|
958
|
+
const $ = R1(a, d, m, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
959
959
|
return this.alwaysFormat ? this.format($, void 0, n, {
|
|
960
960
|
...r,
|
|
961
961
|
...a,
|
|
@@ -963,7 +963,7 @@ class Wp {
|
|
|
963
963
|
}) : $;
|
|
964
964
|
}
|
|
965
965
|
const b = m.split(this.formatSeparator), v = b.shift().trim(), y = b.join(this.formatSeparator).trim();
|
|
966
|
-
return this.format(
|
|
966
|
+
return this.format(R1(a, d, v, this.options.keySeparator, this.options.ignoreJSONStructure), y, n, {
|
|
967
967
|
...r,
|
|
968
968
|
...a,
|
|
969
969
|
interpolationkey: v
|
|
@@ -1184,7 +1184,7 @@ class Yp extends Li {
|
|
|
1184
1184
|
}), this.state[e] = a ? -1 : 2, a && n && (this.state[e] = 0);
|
|
1185
1185
|
const s = {};
|
|
1186
1186
|
this.queue.forEach((d) => {
|
|
1187
|
-
|
|
1187
|
+
Rp(d.loaded, [l], o), Zp(d, e), a && d.errors.push(a), d.pendingCount === 0 && !d.done && (Object.keys(d.loaded).forEach((c) => {
|
|
1188
1188
|
s[c] || (s[c] = {});
|
|
1189
1189
|
const h = d.loaded[c];
|
|
1190
1190
|
h.length && h.forEach((u) => {
|
|
@@ -1286,7 +1286,7 @@ class Yp extends Li {
|
|
|
1286
1286
|
}
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
|
-
const
|
|
1289
|
+
const I1 = () => ({
|
|
1290
1290
|
debug: !1,
|
|
1291
1291
|
initAsync: !0,
|
|
1292
1292
|
ns: ["translation"],
|
|
@@ -1365,7 +1365,7 @@ class er extends Li {
|
|
|
1365
1365
|
var e = this;
|
|
1366
1366
|
let a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0;
|
|
1367
1367
|
this.isInitializing = !0, typeof a == "function" && (n = a, a = {}), a.defaultNS == null && a.ns && (be(a.ns) ? a.defaultNS = a.ns : a.ns.indexOf("translation") < 0 && (a.defaultNS = a.ns[0]));
|
|
1368
|
-
const r =
|
|
1368
|
+
const r = I1();
|
|
1369
1369
|
this.options = {
|
|
1370
1370
|
...r,
|
|
1371
1371
|
...this.options,
|
|
@@ -1549,7 +1549,7 @@ class er extends Li {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
dir(e) {
|
|
1551
1551
|
if (e || (e = this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language)), !e) return "rtl";
|
|
1552
|
-
const a = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], n = this.services?.languageUtils || new _1(
|
|
1552
|
+
const a = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], n = this.services?.languageUtils || new _1(I1());
|
|
1553
1553
|
return a.indexOf(n.getLanguagePartFromCode(e)) > -1 || e.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
|
|
1554
1554
|
}
|
|
1555
1555
|
static createInstance() {
|
|
@@ -1931,9 +1931,9 @@ const pm = (t, e, a, n) => {
|
|
|
1931
1931
|
}];
|
|
1932
1932
|
if (t?.services?.logger?.forward)
|
|
1933
1933
|
return t.services.logger.forward(r, "warn", "react-i18next::", !0);
|
|
1934
|
-
|
|
1934
|
+
Ia(r[0]) && (r[0] = `react-i18next:: ${r[0]}`), t?.services?.logger?.warn ? t.services.logger.warn(...r) : console?.warn && console.warn(...r);
|
|
1935
1935
|
}, V1 = {}, Eo = (t, e, a, n) => {
|
|
1936
|
-
|
|
1936
|
+
Ia(a) && V1[a] || (Ia(a) && (V1[a] = /* @__PURE__ */ new Date()), pm(t, e, a, n));
|
|
1937
1937
|
}, e0 = (t, e) => () => {
|
|
1938
1938
|
if (t.isInitialized)
|
|
1939
1939
|
e();
|
|
@@ -1948,7 +1948,7 @@ const pm = (t, e, a, n) => {
|
|
|
1948
1948
|
}, xo = (t, e, a) => {
|
|
1949
1949
|
t.loadNamespaces(e, e0(t, a));
|
|
1950
1950
|
}, U1 = (t, e, a, n) => {
|
|
1951
|
-
if (
|
|
1951
|
+
if (Ia(a) && (a = [a]), t.options.preload && t.options.preload.indexOf(e) > -1) return xo(t, a, n);
|
|
1952
1952
|
a.forEach((r) => {
|
|
1953
1953
|
t.options.ns.indexOf(r) < 0 && t.options.ns.push(r);
|
|
1954
1954
|
}), t.loadLanguages(e, e0(t, n));
|
|
@@ -1959,7 +1959,7 @@ const pm = (t, e, a, n) => {
|
|
|
1959
1959
|
precheck: (n, r) => {
|
|
1960
1960
|
if (a.bindI18n && a.bindI18n.indexOf("languageChanging") > -1 && n.services.backendConnector.backend && n.isLanguageChangingTo && !r(n.isLanguageChangingTo, t)) return !1;
|
|
1961
1961
|
}
|
|
1962
|
-
}),
|
|
1962
|
+
}), Ia = (t) => typeof t == "string", fm = (t) => typeof t == "object" && t !== null, vm = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, gm = {
|
|
1963
1963
|
"&": "&",
|
|
1964
1964
|
"&": "&",
|
|
1965
1965
|
"<": "<",
|
|
@@ -2033,7 +2033,7 @@ const Mm = (t, e) => {
|
|
|
2033
2033
|
} = wp(zm) || {}, l = a || n || $m();
|
|
2034
2034
|
if (l && !l.reportNamespaces && (l.reportNamespaces = new Sm()), !l) {
|
|
2035
2035
|
Eo(l, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
|
|
2036
|
-
const S = (M, F) =>
|
|
2036
|
+
const S = (M, F) => Ia(F) ? F : fm(F) && Ia(F.defaultValue) ? F.defaultValue : Array.isArray(M) ? M[M.length - 1] : M, x = [S, {}, !1];
|
|
2037
2037
|
return x.t = S, x.i18n = {}, x.ready = !1, x;
|
|
2038
2038
|
}
|
|
2039
2039
|
l.options.react?.wait && Eo(l, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
@@ -2046,7 +2046,7 @@ const Mm = (t, e) => {
|
|
|
2046
2046
|
keyPrefix: d
|
|
2047
2047
|
} = o;
|
|
2048
2048
|
let c = r || l.options?.defaultNS;
|
|
2049
|
-
c =
|
|
2049
|
+
c = Ia(c) ? [c] : c || ["translation"], l.reportNamespaces.addUsedNamespaces?.(c);
|
|
2050
2050
|
const h = (l.isInitialized || l.initializedStoreOnce) && c.every((S) => mm(S, l, o)), u = km(l, e.lng || null, o.nsMode === "fallback" ? c : c[0], d), p = () => u, m = () => a0(l, e.lng || null, o.nsMode === "fallback" ? c : c[0], d), [b, v] = Ne(p);
|
|
2051
2051
|
let y = c.join();
|
|
2052
2052
|
e.lng && (y = `${e.lng}${y}`);
|
|
@@ -2149,7 +2149,7 @@ const Mm = (t, e) => {
|
|
|
2149
2149
|
company: t.address?.company ?? null
|
|
2150
2150
|
}
|
|
2151
2151
|
};
|
|
2152
|
-
},
|
|
2152
|
+
}, Rm = async (t, e) => {
|
|
2153
2153
|
console.log("[Payment Debug] Generating new payment secret");
|
|
2154
2154
|
const { paymentSecret: a, publicKey: n, checkoutSession: r } = await t.checkout.generatePaymentSecret(e);
|
|
2155
2155
|
return console.log("[Payment Debug] New payment secret generated"), {
|
|
@@ -2158,7 +2158,7 @@ const Mm = (t, e) => {
|
|
|
2158
2158
|
checkoutSession: r
|
|
2159
2159
|
};
|
|
2160
2160
|
};
|
|
2161
|
-
var
|
|
2161
|
+
var Im = "https://v1.betterstore.io", Dm = class {
|
|
2162
2162
|
constructor(t) {
|
|
2163
2163
|
this.config = t, this.headers = {
|
|
2164
2164
|
"Content-Type": "application/json",
|
|
@@ -2253,12 +2253,6 @@ var Rm = "https://v1.betterstore.io", Dm = class {
|
|
|
2253
2253
|
t
|
|
2254
2254
|
);
|
|
2255
2255
|
}
|
|
2256
|
-
async update(t, e) {
|
|
2257
|
-
return this.client.post(
|
|
2258
|
-
`/api/client/customers/update/${t}`,
|
|
2259
|
-
e
|
|
2260
|
-
);
|
|
2261
|
-
}
|
|
2262
2256
|
}, Bm = class {
|
|
2263
2257
|
constructor(t) {
|
|
2264
2258
|
this.client = t;
|
|
@@ -2285,7 +2279,7 @@ var Rm = "https://v1.betterstore.io", Dm = class {
|
|
|
2285
2279
|
};
|
|
2286
2280
|
function r0(t, e) {
|
|
2287
2281
|
const a = new Dm({
|
|
2288
|
-
baseUrl: e?.proxy ||
|
|
2282
|
+
baseUrl: e?.proxy || Im,
|
|
2289
2283
|
secret: t
|
|
2290
2284
|
});
|
|
2291
2285
|
return {
|
|
@@ -2714,10 +2708,10 @@ const pt = new F4(), N4 = (t, e) => {
|
|
|
2714
2708
|
getToasts: O4
|
|
2715
2709
|
});
|
|
2716
2710
|
b4("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
|
|
2717
|
-
function
|
|
2711
|
+
function Rr(t) {
|
|
2718
2712
|
return t.label !== void 0;
|
|
2719
2713
|
}
|
|
2720
|
-
const
|
|
2714
|
+
const R4 = 3, I4 = "24px", D4 = "16px", K1 = 4e3, L4 = 356, H4 = 14, B4 = 45, j4 = 200;
|
|
2721
2715
|
function Bt(...t) {
|
|
2722
2716
|
return t.filter(Boolean).join(" ");
|
|
2723
2717
|
}
|
|
@@ -2727,7 +2721,7 @@ function V4(t) {
|
|
|
2727
2721
|
}
|
|
2728
2722
|
const U4 = (t) => {
|
|
2729
2723
|
var e, a, n, r, l, o, s, d, c;
|
|
2730
|
-
const { invert: h, toast: u, unstyled: p, interacting: m, setHeights: b, visibleToasts: v, heights: y, index: $, toasts: C, expanded: k, removeToast: S, defaultRichColors: x, closeButton: M, style: F, cancelButtonStyle: O, actionButtonStyle: D, className: Z = "", descriptionClassName: te = "", duration: V, position: G, gap: W, expandByDefault: Y, classNames: H, icons: j, closeButtonAriaLabel: B = "Close toast" } = t, [oe, P] = i.useState(null), [T, A] = i.useState(null), [N,
|
|
2724
|
+
const { invert: h, toast: u, unstyled: p, interacting: m, setHeights: b, visibleToasts: v, heights: y, index: $, toasts: C, expanded: k, removeToast: S, defaultRichColors: x, closeButton: M, style: F, cancelButtonStyle: O, actionButtonStyle: D, className: Z = "", descriptionClassName: te = "", duration: V, position: G, gap: W, expandByDefault: Y, classNames: H, icons: j, closeButtonAriaLabel: B = "Close toast" } = t, [oe, P] = i.useState(null), [T, A] = i.useState(null), [N, R] = i.useState(!1), [L, Q] = i.useState(!1), [q, ne] = i.useState(!1), [pe, ve] = i.useState(!1), [Ae, ae] = i.useState(!1), [Le, Lt] = i.useState(0), [Na, Ln] = i.useState(0), Pa = i.useRef(u.duration || V || K1), Fr = i.useRef(null), Ht = i.useRef(null), Nr = $ === 0, z = $ + 1 <= v, _ = u.type, I = u.dismissible !== !1, se = u.className || "", re = u.descriptionClassName || "", X = i.useMemo(() => y.findIndex((Ee) => Ee.toastId === u.id) || 0, [
|
|
2731
2725
|
y,
|
|
2732
2726
|
u.id
|
|
2733
2727
|
]), fe = i.useMemo(() => {
|
|
@@ -2751,7 +2745,7 @@ const U4 = (t) => {
|
|
|
2751
2745
|
}, [
|
|
2752
2746
|
ze
|
|
2753
2747
|
]), i.useEffect(() => {
|
|
2754
|
-
|
|
2748
|
+
R(!0);
|
|
2755
2749
|
}, []), i.useEffect(() => {
|
|
2756
2750
|
const Ee = Ht.current;
|
|
2757
2751
|
if (Ee) {
|
|
@@ -2862,7 +2856,7 @@ const U4 = (t) => {
|
|
|
2862
2856
|
"data-index": $,
|
|
2863
2857
|
"data-front": Nr,
|
|
2864
2858
|
"data-swiping": q,
|
|
2865
|
-
"data-dismissible":
|
|
2859
|
+
"data-dismissible": I,
|
|
2866
2860
|
"data-type": _,
|
|
2867
2861
|
"data-invert": Ar,
|
|
2868
2862
|
"data-swipe-out": pe,
|
|
@@ -2882,14 +2876,14 @@ const U4 = (t) => {
|
|
|
2882
2876
|
ne(!1), P(null), lt.current = null;
|
|
2883
2877
|
},
|
|
2884
2878
|
onPointerDown: (Ee) => {
|
|
2885
|
-
Ee.button !== 2 && (Bn || !
|
|
2879
|
+
Ee.button !== 2 && (Bn || !I || (Fr.current = /* @__PURE__ */ new Date(), Lt(We.current), Ee.target.setPointerCapture(Ee.pointerId), Ee.target.tagName !== "BUTTON" && (ne(!0), lt.current = {
|
|
2886
2880
|
x: Ee.clientX,
|
|
2887
2881
|
y: Ee.clientY
|
|
2888
2882
|
})));
|
|
2889
2883
|
},
|
|
2890
2884
|
onPointerUp: () => {
|
|
2891
2885
|
var Ee, Xe, nt;
|
|
2892
|
-
if (pe || !
|
|
2886
|
+
if (pe || !I) return;
|
|
2893
2887
|
lt.current = null;
|
|
2894
2888
|
const vt = Number(((Ee = Ht.current) == null ? void 0 : Ee.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), _r = Number(((Xe = Ht.current) == null ? void 0 : Xe.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Qe = (/* @__PURE__ */ new Date()).getTime() - ((nt = Fr.current) == null ? void 0 : nt.getTime()), $t = oe === "x" ? vt : _r, Or = Math.abs($t) / Qe;
|
|
2895
2889
|
if (Math.abs($t) >= B4 || Or > 0.11) {
|
|
@@ -2903,7 +2897,7 @@ const U4 = (t) => {
|
|
|
2903
2897
|
},
|
|
2904
2898
|
onPointerMove: (Ee) => {
|
|
2905
2899
|
var Xe, nt, vt;
|
|
2906
|
-
if (!lt.current || !
|
|
2900
|
+
if (!lt.current || !I || ((Xe = window.getSelection()) == null ? void 0 : Xe.toString().length) > 0) return;
|
|
2907
2901
|
const Qe = Ee.clientY - lt.current.y, $t = Ee.clientX - lt.current.x;
|
|
2908
2902
|
var Or;
|
|
2909
2903
|
const kt = (Or = t.swipeDirections) != null ? Or : V4(G);
|
|
@@ -2934,7 +2928,7 @@ const U4 = (t) => {
|
|
|
2934
2928
|
"aria-label": B,
|
|
2935
2929
|
"data-disabled": Bn,
|
|
2936
2930
|
"data-close-button": !0,
|
|
2937
|
-
onClick: Bn || !
|
|
2931
|
+
onClick: Bn || !I ? () => {
|
|
2938
2932
|
} : () => {
|
|
2939
2933
|
Mt(), u.onDismiss == null || u.onDismiss.call(u, u);
|
|
2940
2934
|
},
|
|
@@ -2951,20 +2945,20 @@ const U4 = (t) => {
|
|
|
2951
2945
|
}, u.jsx ? u.jsx : typeof u.title == "function" ? u.title() : u.title), u.description ? /* @__PURE__ */ i.createElement("div", {
|
|
2952
2946
|
"data-description": "",
|
|
2953
2947
|
className: Bt(te, re, H?.description, u == null || (s = u.classNames) == null ? void 0 : s.description)
|
|
2954
|
-
}, typeof u.description == "function" ? u.description() : u.description) : null), /* @__PURE__ */ i.isValidElement(u.cancel) ? u.cancel : u.cancel &&
|
|
2948
|
+
}, typeof u.description == "function" ? u.description() : u.description) : null), /* @__PURE__ */ i.isValidElement(u.cancel) ? u.cancel : u.cancel && Rr(u.cancel) ? /* @__PURE__ */ i.createElement("button", {
|
|
2955
2949
|
"data-button": !0,
|
|
2956
2950
|
"data-cancel": !0,
|
|
2957
2951
|
style: u.cancelButtonStyle || O,
|
|
2958
2952
|
onClick: (Ee) => {
|
|
2959
|
-
|
|
2953
|
+
Rr(u.cancel) && I && (u.cancel.onClick == null || u.cancel.onClick.call(u.cancel, Ee), Mt());
|
|
2960
2954
|
},
|
|
2961
2955
|
className: Bt(H?.cancelButton, u == null || (d = u.classNames) == null ? void 0 : d.cancelButton)
|
|
2962
|
-
}, u.cancel.label) : null, /* @__PURE__ */ i.isValidElement(u.action) ? u.action : u.action &&
|
|
2956
|
+
}, u.cancel.label) : null, /* @__PURE__ */ i.isValidElement(u.action) ? u.action : u.action && Rr(u.action) ? /* @__PURE__ */ i.createElement("button", {
|
|
2963
2957
|
"data-button": !0,
|
|
2964
2958
|
"data-action": !0,
|
|
2965
2959
|
style: u.actionButtonStyle || D,
|
|
2966
2960
|
onClick: (Ee) => {
|
|
2967
|
-
|
|
2961
|
+
Rr(u.action) && (u.action.onClick == null || u.action.onClick.call(u.action, Ee), !Ee.defaultPrevented && Mt());
|
|
2968
2962
|
},
|
|
2969
2963
|
className: Bt(H?.actionButton, u == null || (c = u.classNames) == null ? void 0 : c.actionButton)
|
|
2970
2964
|
}, u.action.label) : null);
|
|
@@ -2980,7 +2974,7 @@ function G4(t, e) {
|
|
|
2980
2974
|
t,
|
|
2981
2975
|
e
|
|
2982
2976
|
].forEach((n, r) => {
|
|
2983
|
-
const l = r === 1, o = l ? "--mobile-offset" : "--offset", s = l ? D4 :
|
|
2977
|
+
const l = r === 1, o = l ? "--mobile-offset" : "--offset", s = l ? D4 : I4;
|
|
2984
2978
|
function d(c) {
|
|
2985
2979
|
[
|
|
2986
2980
|
"top",
|
|
@@ -3005,7 +2999,7 @@ const W4 = /* @__PURE__ */ i.forwardRef(function(e, a) {
|
|
|
3005
2999
|
const { id: n, invert: r, position: l = "bottom-right", hotkey: o = [
|
|
3006
3000
|
"altKey",
|
|
3007
3001
|
"KeyT"
|
|
3008
|
-
], expand: s, closeButton: d, className: c, offset: h, mobileOffset: u, theme: p = "light", richColors: m, duration: b, style: v, visibleToasts: y =
|
|
3002
|
+
], expand: s, closeButton: d, className: c, offset: h, mobileOffset: u, theme: p = "light", richColors: m, duration: b, style: v, visibleToasts: y = R4, toastOptions: $, dir: C = q1(), gap: k = H4, icons: S, containerAriaLabel: x = "Notifications" } = e, [M, F] = i.useState([]), O = i.useMemo(() => n ? M.filter((N) => N.toasterId === n) : M.filter((N) => !N.toasterId), [
|
|
3009
3003
|
M,
|
|
3010
3004
|
n
|
|
3011
3005
|
]), D = i.useMemo(() => Array.from(new Set([
|
|
@@ -3014,15 +3008,15 @@ const W4 = /* @__PURE__ */ i.forwardRef(function(e, a) {
|
|
|
3014
3008
|
O,
|
|
3015
3009
|
l
|
|
3016
3010
|
]), [Z, te] = i.useState([]), [V, G] = i.useState(!1), [W, Y] = i.useState(!1), [H, j] = i.useState(p !== "system" ? p : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), B = i.useRef(null), oe = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = i.useRef(null), T = i.useRef(!1), A = i.useCallback((N) => {
|
|
3017
|
-
F((
|
|
3011
|
+
F((R) => {
|
|
3018
3012
|
var L;
|
|
3019
|
-
return (L =
|
|
3013
|
+
return (L = R.find((Q) => Q.id === N.id)) != null && L.delete || pt.dismiss(N.id), R.filter(({ id: Q }) => Q !== N.id);
|
|
3020
3014
|
});
|
|
3021
3015
|
}, []);
|
|
3022
3016
|
return i.useEffect(() => pt.subscribe((N) => {
|
|
3023
3017
|
if (N.dismiss) {
|
|
3024
3018
|
requestAnimationFrame(() => {
|
|
3025
|
-
F((
|
|
3019
|
+
F((R) => R.map((L) => L.id === N.id ? {
|
|
3026
3020
|
...L,
|
|
3027
3021
|
delete: !0
|
|
3028
3022
|
} : L));
|
|
@@ -3031,18 +3025,18 @@ const W4 = /* @__PURE__ */ i.forwardRef(function(e, a) {
|
|
|
3031
3025
|
}
|
|
3032
3026
|
setTimeout(() => {
|
|
3033
3027
|
Wc.flushSync(() => {
|
|
3034
|
-
F((
|
|
3035
|
-
const L =
|
|
3028
|
+
F((R) => {
|
|
3029
|
+
const L = R.findIndex((Q) => Q.id === N.id);
|
|
3036
3030
|
return L !== -1 ? [
|
|
3037
|
-
...
|
|
3031
|
+
...R.slice(0, L),
|
|
3038
3032
|
{
|
|
3039
|
-
...
|
|
3033
|
+
...R[L],
|
|
3040
3034
|
...N
|
|
3041
3035
|
},
|
|
3042
|
-
...
|
|
3036
|
+
...R.slice(L + 1)
|
|
3043
3037
|
] : [
|
|
3044
3038
|
N,
|
|
3045
|
-
...
|
|
3039
|
+
...R
|
|
3046
3040
|
];
|
|
3047
3041
|
});
|
|
3048
3042
|
});
|
|
@@ -3057,8 +3051,8 @@ const W4 = /* @__PURE__ */ i.forwardRef(function(e, a) {
|
|
|
3057
3051
|
if (p === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? j("dark") : j("light")), typeof window > "u") return;
|
|
3058
3052
|
const N = window.matchMedia("(prefers-color-scheme: dark)");
|
|
3059
3053
|
try {
|
|
3060
|
-
N.addEventListener("change", ({ matches:
|
|
3061
|
-
j(
|
|
3054
|
+
N.addEventListener("change", ({ matches: R }) => {
|
|
3055
|
+
j(R ? "dark" : "light");
|
|
3062
3056
|
});
|
|
3063
3057
|
} catch {
|
|
3064
3058
|
N.addListener(({ matches: L }) => {
|
|
@@ -3076,13 +3070,13 @@ const W4 = /* @__PURE__ */ i.forwardRef(function(e, a) {
|
|
|
3076
3070
|
}, [
|
|
3077
3071
|
M
|
|
3078
3072
|
]), i.useEffect(() => {
|
|
3079
|
-
const N = (
|
|
3073
|
+
const N = (R) => {
|
|
3080
3074
|
var L;
|
|
3081
|
-
if (o.every((ne) =>
|
|
3075
|
+
if (o.every((ne) => R[ne] || R.code === ne)) {
|
|
3082
3076
|
var q;
|
|
3083
3077
|
G(!0), (q = B.current) == null || q.focus();
|
|
3084
3078
|
}
|
|
3085
|
-
|
|
3079
|
+
R.code === "Escape" && (document.activeElement === B.current || (L = B.current) != null && L.contains(document.activeElement)) && G(!1);
|
|
3086
3080
|
};
|
|
3087
3081
|
return document.addEventListener("keydown", N), () => document.removeEventListener("keydown", N);
|
|
3088
3082
|
}, [
|
|
@@ -3105,7 +3099,7 @@ const W4 = /* @__PURE__ */ i.forwardRef(function(e, a) {
|
|
|
3105
3099
|
"aria-relevant": "additions text",
|
|
3106
3100
|
"aria-atomic": "false",
|
|
3107
3101
|
suppressHydrationWarning: !0
|
|
3108
|
-
}, D.map((N,
|
|
3102
|
+
}, D.map((N, R) => {
|
|
3109
3103
|
var L;
|
|
3110
3104
|
const [Q, q] = N.split("-");
|
|
3111
3105
|
return O.length ? /* @__PURE__ */ i.createElement("ol", {
|
|
@@ -3143,7 +3137,7 @@ const W4 = /* @__PURE__ */ i.forwardRef(function(e, a) {
|
|
|
3143
3137
|
ne.target instanceof HTMLElement && ne.target.dataset.dismissible === "false" || Y(!0);
|
|
3144
3138
|
},
|
|
3145
3139
|
onPointerUp: () => Y(!1)
|
|
3146
|
-
}, O.filter((ne) => !ne.position &&
|
|
3140
|
+
}, O.filter((ne) => !ne.position && R === 0 || ne.position === N).map((ne, pe) => {
|
|
3147
3141
|
var ve, Ae;
|
|
3148
3142
|
return /* @__PURE__ */ i.createElement(U4, {
|
|
3149
3143
|
key: ne.id,
|
|
@@ -3202,7 +3196,7 @@ const W4 = /* @__PURE__ */ i.forwardRef(function(e, a) {
|
|
|
3202
3196
|
}, Z1 = (t) => [t.line1, t.zipCode, t.country].filter(
|
|
3203
3197
|
Boolean
|
|
3204
3198
|
).join(", "), d0 = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "(?:[025-7]\\d|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:[19]|2[2-46-9]|3[3-9])|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|[67]\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[67]"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d)(\\d{7})", "$1 $2", ["(?:2|90)4|[67]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-8]\\d|90)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
|
|
3205
|
-
var
|
|
3199
|
+
var Ir = { exports: {} }, Dr = { exports: {} }, ke = {};
|
|
3206
3200
|
var Y1;
|
|
3207
3201
|
function q4() {
|
|
3208
3202
|
if (Y1) return ke;
|
|
@@ -3326,7 +3320,7 @@ function Z4() {
|
|
|
3326
3320
|
function N(ae) {
|
|
3327
3321
|
return typeof ae == "object" && ae !== null && ae.$$typeof === e;
|
|
3328
3322
|
}
|
|
3329
|
-
function
|
|
3323
|
+
function R(ae) {
|
|
3330
3324
|
return S(ae) === h;
|
|
3331
3325
|
}
|
|
3332
3326
|
function L(ae) {
|
|
@@ -3350,7 +3344,7 @@ function Z4() {
|
|
|
3350
3344
|
function Ae(ae) {
|
|
3351
3345
|
return S(ae) === u;
|
|
3352
3346
|
}
|
|
3353
|
-
Fe.AsyncMode = x, Fe.ConcurrentMode = M, Fe.ContextConsumer = F, Fe.ContextProvider = O, Fe.Element = D, Fe.ForwardRef = Z, Fe.Fragment = te, Fe.Lazy = V, Fe.Memo = G, Fe.Portal = W, Fe.Profiler = Y, Fe.StrictMode = H, Fe.Suspense = j, Fe.isAsyncMode = oe, Fe.isConcurrentMode = P, Fe.isContextConsumer = T, Fe.isContextProvider = A, Fe.isElement = N, Fe.isForwardRef =
|
|
3347
|
+
Fe.AsyncMode = x, Fe.ConcurrentMode = M, Fe.ContextConsumer = F, Fe.ContextProvider = O, Fe.Element = D, Fe.ForwardRef = Z, Fe.Fragment = te, Fe.Lazy = V, Fe.Memo = G, Fe.Portal = W, Fe.Profiler = Y, Fe.StrictMode = H, Fe.Suspense = j, Fe.isAsyncMode = oe, Fe.isConcurrentMode = P, Fe.isContextConsumer = T, Fe.isContextProvider = A, Fe.isElement = N, Fe.isForwardRef = R, Fe.isFragment = L, Fe.isLazy = Q, Fe.isMemo = q, Fe.isPortal = ne, Fe.isProfiler = pe, Fe.isStrictMode = ve, Fe.isSuspense = Ae, Fe.isValidElementType = k, Fe.typeOf = S;
|
|
3354
3348
|
})()), Fe;
|
|
3355
3349
|
}
|
|
3356
3350
|
var J1;
|
|
@@ -3535,16 +3529,16 @@ function J4() {
|
|
|
3535
3529
|
}
|
|
3536
3530
|
return Q[q] == null ? L ? Q[q] === null ? new v("The " + pe + " `" + ve + "` is marked as required " + ("in `" + ne + "`, but its value is `null`.")) : new v("The " + pe + " `" + ve + "` is marked as required in " + ("`" + ne + "`, but its value is `undefined`.")) : null : P(Q, q, ne, pe, ve);
|
|
3537
3531
|
}
|
|
3538
|
-
var
|
|
3539
|
-
return
|
|
3532
|
+
var R = N.bind(null, !1);
|
|
3533
|
+
return R.isRequired = N.bind(null, !0), R;
|
|
3540
3534
|
}
|
|
3541
3535
|
function $(P) {
|
|
3542
|
-
function T(A, N,
|
|
3536
|
+
function T(A, N, R, L, Q, q) {
|
|
3543
3537
|
var ne = A[N], pe = H(ne);
|
|
3544
3538
|
if (pe !== P) {
|
|
3545
3539
|
var ve = j(ne);
|
|
3546
3540
|
return new v(
|
|
3547
|
-
"Invalid " + L + " `" + Q + "` of type " + ("`" + ve + "` supplied to `" +
|
|
3541
|
+
"Invalid " + L + " `" + Q + "` of type " + ("`" + ve + "` supplied to `" + R + "`, expected ") + ("`" + P + "`."),
|
|
3548
3542
|
{ expectedType: P }
|
|
3549
3543
|
);
|
|
3550
3544
|
}
|
|
@@ -3556,16 +3550,16 @@ function J4() {
|
|
|
3556
3550
|
return y(o);
|
|
3557
3551
|
}
|
|
3558
3552
|
function k(P) {
|
|
3559
|
-
function T(A, N,
|
|
3553
|
+
function T(A, N, R, L, Q) {
|
|
3560
3554
|
if (typeof P != "function")
|
|
3561
|
-
return new v("Property `" + Q + "` of component `" +
|
|
3555
|
+
return new v("Property `" + Q + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
|
|
3562
3556
|
var q = A[N];
|
|
3563
3557
|
if (!Array.isArray(q)) {
|
|
3564
3558
|
var ne = H(q);
|
|
3565
|
-
return new v("Invalid " + L + " `" + Q + "` of type " + ("`" + ne + "` supplied to `" +
|
|
3559
|
+
return new v("Invalid " + L + " `" + Q + "` of type " + ("`" + ne + "` supplied to `" + R + "`, expected an array."));
|
|
3566
3560
|
}
|
|
3567
3561
|
for (var pe = 0; pe < q.length; pe++) {
|
|
3568
|
-
var ve = P(q, pe,
|
|
3562
|
+
var ve = P(q, pe, R, L, Q + "[" + pe + "]", a);
|
|
3569
3563
|
if (ve instanceof Error)
|
|
3570
3564
|
return ve;
|
|
3571
3565
|
}
|
|
@@ -3574,32 +3568,32 @@ function J4() {
|
|
|
3574
3568
|
return y(T);
|
|
3575
3569
|
}
|
|
3576
3570
|
function S() {
|
|
3577
|
-
function P(T, A, N,
|
|
3571
|
+
function P(T, A, N, R, L) {
|
|
3578
3572
|
var Q = T[A];
|
|
3579
3573
|
if (!s(Q)) {
|
|
3580
3574
|
var q = H(Q);
|
|
3581
|
-
return new v("Invalid " +
|
|
3575
|
+
return new v("Invalid " + R + " `" + L + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected a single ReactElement."));
|
|
3582
3576
|
}
|
|
3583
3577
|
return null;
|
|
3584
3578
|
}
|
|
3585
3579
|
return y(P);
|
|
3586
3580
|
}
|
|
3587
3581
|
function x() {
|
|
3588
|
-
function P(T, A, N,
|
|
3582
|
+
function P(T, A, N, R, L) {
|
|
3589
3583
|
var Q = T[A];
|
|
3590
3584
|
if (!t.isValidElementType(Q)) {
|
|
3591
3585
|
var q = H(Q);
|
|
3592
|
-
return new v("Invalid " +
|
|
3586
|
+
return new v("Invalid " + R + " `" + L + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected a single ReactElement type."));
|
|
3593
3587
|
}
|
|
3594
3588
|
return null;
|
|
3595
3589
|
}
|
|
3596
3590
|
return y(P);
|
|
3597
3591
|
}
|
|
3598
3592
|
function M(P) {
|
|
3599
|
-
function T(A, N,
|
|
3593
|
+
function T(A, N, R, L, Q) {
|
|
3600
3594
|
if (!(A[N] instanceof P)) {
|
|
3601
3595
|
var q = P.name || p, ne = oe(A[N]);
|
|
3602
|
-
return new v("Invalid " + L + " `" + Q + "` of type " + ("`" + ne + "` supplied to `" +
|
|
3596
|
+
return new v("Invalid " + L + " `" + Q + "` of type " + ("`" + ne + "` supplied to `" + R + "`, expected ") + ("instance of `" + q + "`."));
|
|
3603
3597
|
}
|
|
3604
3598
|
return null;
|
|
3605
3599
|
}
|
|
@@ -3610,7 +3604,7 @@ function J4() {
|
|
|
3610
3604
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? l(
|
|
3611
3605
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
3612
3606
|
) : l("Invalid argument supplied to oneOf, expected an array.")), o;
|
|
3613
|
-
function T(A, N,
|
|
3607
|
+
function T(A, N, R, L, Q) {
|
|
3614
3608
|
for (var q = A[N], ne = 0; ne < P.length; ne++)
|
|
3615
3609
|
if (b(q, P[ne]))
|
|
3616
3610
|
return null;
|
|
@@ -3618,20 +3612,20 @@ function J4() {
|
|
|
3618
3612
|
var Le = j(ae);
|
|
3619
3613
|
return Le === "symbol" ? String(ae) : ae;
|
|
3620
3614
|
});
|
|
3621
|
-
return new v("Invalid " + L + " `" + Q + "` of value `" + String(q) + "` " + ("supplied to `" +
|
|
3615
|
+
return new v("Invalid " + L + " `" + Q + "` of value `" + String(q) + "` " + ("supplied to `" + R + "`, expected one of " + pe + "."));
|
|
3622
3616
|
}
|
|
3623
3617
|
return y(T);
|
|
3624
3618
|
}
|
|
3625
3619
|
function O(P) {
|
|
3626
|
-
function T(A, N,
|
|
3620
|
+
function T(A, N, R, L, Q) {
|
|
3627
3621
|
if (typeof P != "function")
|
|
3628
|
-
return new v("Property `" + Q + "` of component `" +
|
|
3622
|
+
return new v("Property `" + Q + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
|
|
3629
3623
|
var q = A[N], ne = H(q);
|
|
3630
3624
|
if (ne !== "object")
|
|
3631
|
-
return new v("Invalid " + L + " `" + Q + "` of type " + ("`" + ne + "` supplied to `" +
|
|
3625
|
+
return new v("Invalid " + L + " `" + Q + "` of type " + ("`" + ne + "` supplied to `" + R + "`, expected an object."));
|
|
3632
3626
|
for (var pe in q)
|
|
3633
3627
|
if (n(q, pe)) {
|
|
3634
|
-
var ve = P(q, pe,
|
|
3628
|
+
var ve = P(q, pe, R, L, Q + "." + pe, a);
|
|
3635
3629
|
if (ve instanceof Error)
|
|
3636
3630
|
return ve;
|
|
3637
3631
|
}
|
|
@@ -3649,9 +3643,9 @@ function J4() {
|
|
|
3649
3643
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(A) + " at index " + T + "."
|
|
3650
3644
|
), o;
|
|
3651
3645
|
}
|
|
3652
|
-
function N(
|
|
3646
|
+
function N(R, L, Q, q, ne) {
|
|
3653
3647
|
for (var pe = [], ve = 0; ve < P.length; ve++) {
|
|
3654
|
-
var Ae = P[ve], ae = Ae(
|
|
3648
|
+
var Ae = P[ve], ae = Ae(R, L, Q, q, ne, a);
|
|
3655
3649
|
if (ae == null)
|
|
3656
3650
|
return null;
|
|
3657
3651
|
ae.data && n(ae.data, "expectedType") && pe.push(ae.data.expectedType);
|
|
@@ -3662,26 +3656,26 @@ function J4() {
|
|
|
3662
3656
|
return y(N);
|
|
3663
3657
|
}
|
|
3664
3658
|
function Z() {
|
|
3665
|
-
function P(T, A, N,
|
|
3666
|
-
return W(T[A]) ? null : new v("Invalid " +
|
|
3659
|
+
function P(T, A, N, R, L) {
|
|
3660
|
+
return W(T[A]) ? null : new v("Invalid " + R + " `" + L + "` supplied to " + ("`" + N + "`, expected a ReactNode."));
|
|
3667
3661
|
}
|
|
3668
3662
|
return y(P);
|
|
3669
3663
|
}
|
|
3670
|
-
function te(P, T, A, N,
|
|
3664
|
+
function te(P, T, A, N, R) {
|
|
3671
3665
|
return new v(
|
|
3672
|
-
(P || "React class") + ": " + T + " type `" + A + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
3666
|
+
(P || "React class") + ": " + T + " type `" + A + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
|
|
3673
3667
|
);
|
|
3674
3668
|
}
|
|
3675
3669
|
function V(P) {
|
|
3676
|
-
function T(A, N,
|
|
3670
|
+
function T(A, N, R, L, Q) {
|
|
3677
3671
|
var q = A[N], ne = H(q);
|
|
3678
3672
|
if (ne !== "object")
|
|
3679
|
-
return new v("Invalid " + L + " `" + Q + "` of type `" + ne + "` " + ("supplied to `" +
|
|
3673
|
+
return new v("Invalid " + L + " `" + Q + "` of type `" + ne + "` " + ("supplied to `" + R + "`, expected `object`."));
|
|
3680
3674
|
for (var pe in P) {
|
|
3681
3675
|
var ve = P[pe];
|
|
3682
3676
|
if (typeof ve != "function")
|
|
3683
|
-
return te(
|
|
3684
|
-
var Ae = ve(q, pe,
|
|
3677
|
+
return te(R, L, Q, pe, j(ve));
|
|
3678
|
+
var Ae = ve(q, pe, R, L, Q + "." + pe, a);
|
|
3685
3679
|
if (Ae)
|
|
3686
3680
|
return Ae;
|
|
3687
3681
|
}
|
|
@@ -3690,21 +3684,21 @@ function J4() {
|
|
|
3690
3684
|
return y(T);
|
|
3691
3685
|
}
|
|
3692
3686
|
function G(P) {
|
|
3693
|
-
function T(A, N,
|
|
3687
|
+
function T(A, N, R, L, Q) {
|
|
3694
3688
|
var q = A[N], ne = H(q);
|
|
3695
3689
|
if (ne !== "object")
|
|
3696
|
-
return new v("Invalid " + L + " `" + Q + "` of type `" + ne + "` " + ("supplied to `" +
|
|
3690
|
+
return new v("Invalid " + L + " `" + Q + "` of type `" + ne + "` " + ("supplied to `" + R + "`, expected `object`."));
|
|
3697
3691
|
var pe = e({}, A[N], P);
|
|
3698
3692
|
for (var ve in pe) {
|
|
3699
3693
|
var Ae = P[ve];
|
|
3700
3694
|
if (n(P, ve) && typeof Ae != "function")
|
|
3701
|
-
return te(
|
|
3695
|
+
return te(R, L, Q, ve, j(Ae));
|
|
3702
3696
|
if (!Ae)
|
|
3703
3697
|
return new v(
|
|
3704
|
-
"Invalid " + L + " `" + Q + "` key `" + ve + "` supplied to `" +
|
|
3698
|
+
"Invalid " + L + " `" + Q + "` key `" + ve + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify(A[N], null, " ") + `
|
|
3705
3699
|
Valid keys: ` + JSON.stringify(Object.keys(P), null, " ")
|
|
3706
3700
|
);
|
|
3707
|
-
var ae = Ae(q, ve,
|
|
3701
|
+
var ae = Ae(q, ve, R, L, Q + "." + ve, a);
|
|
3708
3702
|
if (ae)
|
|
3709
3703
|
return ae;
|
|
3710
3704
|
}
|
|
@@ -3734,8 +3728,8 @@ Valid keys: ` + JSON.stringify(Object.keys(P), null, " ")
|
|
|
3734
3728
|
return !1;
|
|
3735
3729
|
} else
|
|
3736
3730
|
for (; !(N = A.next()).done; ) {
|
|
3737
|
-
var
|
|
3738
|
-
if (
|
|
3731
|
+
var R = N.value;
|
|
3732
|
+
if (R && !W(R[1]))
|
|
3739
3733
|
return !1;
|
|
3740
3734
|
}
|
|
3741
3735
|
} else
|
|
@@ -3834,13 +3828,13 @@ function Q4() {
|
|
|
3834
3828
|
}
|
|
3835
3829
|
var id;
|
|
3836
3830
|
function ef() {
|
|
3837
|
-
if (id) return
|
|
3831
|
+
if (id) return Ir.exports;
|
|
3838
3832
|
if (id = 1, process.env.NODE_ENV !== "production") {
|
|
3839
3833
|
var t = c0(), e = !0;
|
|
3840
|
-
|
|
3834
|
+
Ir.exports = /* @__PURE__ */ J4()(t.isElement, e);
|
|
3841
3835
|
} else
|
|
3842
|
-
|
|
3843
|
-
return
|
|
3836
|
+
Ir.exports = /* @__PURE__ */ Q4()();
|
|
3837
|
+
return Ir.exports;
|
|
3844
3838
|
}
|
|
3845
3839
|
var tf = /* @__PURE__ */ ef();
|
|
3846
3840
|
const U = /* @__PURE__ */ Qc(tf);
|
|
@@ -4269,10 +4263,10 @@ function Bi(t, e, a) {
|
|
|
4269
4263
|
return e && Of(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
4270
4264
|
}
|
|
4271
4265
|
function Tf(t) {
|
|
4272
|
-
var e =
|
|
4266
|
+
var e = Rf(t, "string");
|
|
4273
4267
|
return yn(e) == "symbol" ? e : e + "";
|
|
4274
4268
|
}
|
|
4275
|
-
function
|
|
4269
|
+
function Rf(t, e) {
|
|
4276
4270
|
if (yn(t) != "object" || !t) return t;
|
|
4277
4271
|
var a = t[Symbol.toPrimitive];
|
|
4278
4272
|
if (a !== void 0) {
|
|
@@ -4282,7 +4276,7 @@ function If(t, e) {
|
|
|
4282
4276
|
}
|
|
4283
4277
|
return String(t);
|
|
4284
4278
|
}
|
|
4285
|
-
var
|
|
4279
|
+
var If = "1.2.0", Df = "1.7.35", md = " ext. ", Lf = /^\d+$/, Ge = /* @__PURE__ */ (function() {
|
|
4286
4280
|
function t(e) {
|
|
4287
4281
|
Hi(this, t), p0(e), this.metadata = e, f0.call(this, e);
|
|
4288
4282
|
}
|
|
@@ -4711,7 +4705,7 @@ function m0(t, e) {
|
|
|
4711
4705
|
}
|
|
4712
4706
|
function f0(t) {
|
|
4713
4707
|
var e = t.version;
|
|
4714
|
-
typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? pd(e,
|
|
4708
|
+
typeof e == "number" ? (this.v1 = e === 1, this.v2 = e === 2, this.v3 = e === 3, this.v4 = e === 4) : e ? pd(e, If) === -1 ? this.v2 = !0 : pd(e, Df) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
4715
4709
|
}
|
|
4716
4710
|
function ji(t, e, a) {
|
|
4717
4711
|
return Uf(t, e, void 0, a);
|
|
@@ -5328,10 +5322,10 @@ function Fo(t) {
|
|
|
5328
5322
|
function T5(t, e, a) {
|
|
5329
5323
|
return Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
5330
5324
|
}
|
|
5331
|
-
function
|
|
5325
|
+
function R5(t, e) {
|
|
5332
5326
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
5333
5327
|
}
|
|
5334
|
-
function
|
|
5328
|
+
function I5(t, e, a) {
|
|
5335
5329
|
return e = nr(e), D5(t, zs() ? Reflect.construct(e, a || [], nr(t).constructor) : e.apply(t, a));
|
|
5336
5330
|
}
|
|
5337
5331
|
function D5(t, e) {
|
|
@@ -5399,7 +5393,7 @@ function nr(t) {
|
|
|
5399
5393
|
var na = /* @__PURE__ */ (function(t) {
|
|
5400
5394
|
function e(a) {
|
|
5401
5395
|
var n;
|
|
5402
|
-
return
|
|
5396
|
+
return R5(this, e), n = I5(this, e, [a]), Object.setPrototypeOf(n, e.prototype), n.name = n.constructor.name, n;
|
|
5403
5397
|
}
|
|
5404
5398
|
return H5(e, t), T5(e);
|
|
5405
5399
|
})(/* @__PURE__ */ No(Error)), xd = new RegExp("(?:" + $0() + ")$", "i");
|
|
@@ -5977,17 +5971,17 @@ function sr(t) {
|
|
|
5977
5971
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
5978
5972
|
}, sr(t);
|
|
5979
5973
|
}
|
|
5980
|
-
function
|
|
5974
|
+
function R6(t, e) {
|
|
5981
5975
|
if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function");
|
|
5982
5976
|
}
|
|
5983
|
-
function
|
|
5977
|
+
function I6(t, e) {
|
|
5984
5978
|
for (var a = 0; a < e.length; a++) {
|
|
5985
5979
|
var n = e[a];
|
|
5986
5980
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, L6(n.key), n);
|
|
5987
5981
|
}
|
|
5988
5982
|
}
|
|
5989
5983
|
function D6(t, e, a) {
|
|
5990
|
-
return e &&
|
|
5984
|
+
return e && I6(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
5991
5985
|
}
|
|
5992
5986
|
function L6(t) {
|
|
5993
5987
|
var e = H6(t, "string");
|
|
@@ -6006,7 +6000,7 @@ function H6(t, e) {
|
|
|
6006
6000
|
var B6 = /* @__PURE__ */ (function() {
|
|
6007
6001
|
function t(e) {
|
|
6008
6002
|
var a = e.onCountryChange, n = e.onCallingCodeChange;
|
|
6009
|
-
|
|
6003
|
+
R6(this, t), this.onCountryChange = a, this.onCallingCodeChange = n;
|
|
6010
6004
|
}
|
|
6011
6005
|
return D6(t, [{
|
|
6012
6006
|
key: "reset",
|
|
@@ -6109,7 +6103,7 @@ function Jr(t, e) {
|
|
|
6109
6103
|
e & 1 && (a += t), e >>= 1, t += t;
|
|
6110
6104
|
return a + t;
|
|
6111
6105
|
}
|
|
6112
|
-
function
|
|
6106
|
+
function Rd(t, e) {
|
|
6113
6107
|
return t[e] === ")" && e++, U6(t.slice(0, e));
|
|
6114
6108
|
}
|
|
6115
6109
|
function U6(t) {
|
|
@@ -6147,7 +6141,7 @@ function K6(t, e, a) {
|
|
|
6147
6141
|
function q6(t, e, a) {
|
|
6148
6142
|
var n = a.metadata, r = a.shouldTryNationalPrefixFormattingRule, l = a.getSeparatorAfterNationalPrefix;
|
|
6149
6143
|
if (t.nationalSignificantNumber, t.international, t.nationalPrefix, t.carrierCode, r(e)) {
|
|
6150
|
-
var o =
|
|
6144
|
+
var o = Id(t, e, {
|
|
6151
6145
|
useNationalPrefixFormattingRule: !0,
|
|
6152
6146
|
getSeparatorAfterNationalPrefix: l,
|
|
6153
6147
|
metadata: n
|
|
@@ -6155,13 +6149,13 @@ function q6(t, e, a) {
|
|
|
6155
6149
|
if (o)
|
|
6156
6150
|
return o;
|
|
6157
6151
|
}
|
|
6158
|
-
return
|
|
6152
|
+
return Id(t, e, {
|
|
6159
6153
|
useNationalPrefixFormattingRule: !1,
|
|
6160
6154
|
getSeparatorAfterNationalPrefix: l,
|
|
6161
6155
|
metadata: n
|
|
6162
6156
|
});
|
|
6163
6157
|
}
|
|
6164
|
-
function
|
|
6158
|
+
function Id(t, e, a) {
|
|
6165
6159
|
var n = a.metadata, r = a.useNationalPrefixFormattingRule, l = a.getSeparatorAfterNationalPrefix, o = x0(t.nationalSignificantNumber, e, {
|
|
6166
6160
|
carrierCode: t.carrierCode,
|
|
6167
6161
|
useInternationalFormat: t.international,
|
|
@@ -6689,7 +6683,7 @@ var To = "9", y8 = 15, b8 = Jr(To, y8), w8 = /[- ]/, E8 = function() {
|
|
|
6689
6683
|
spacing: !1
|
|
6690
6684
|
}) : ""; r < l.length + a.getDigitsWithoutInternationalPrefix().length; )
|
|
6691
6685
|
n = this.template.indexOf(Pt, n + 1), r++;
|
|
6692
|
-
return
|
|
6686
|
+
return Rd(this.template, n + 1);
|
|
6693
6687
|
}
|
|
6694
6688
|
}
|
|
6695
6689
|
}, {
|
|
@@ -6735,7 +6729,7 @@ var To = "9", y8 = 15, b8 = Jr(To, y8), w8 = /[- ]/, E8 = function() {
|
|
|
6735
6729
|
this.resetFormat();
|
|
6736
6730
|
return;
|
|
6737
6731
|
}
|
|
6738
|
-
return this.populatedNationalNumberTemplate = n[0], this.populatedNationalNumberTemplatePosition = n[1],
|
|
6732
|
+
return this.populatedNationalNumberTemplate = n[0], this.populatedNationalNumberTemplatePosition = n[1], Rd(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
|
|
6739
6733
|
}
|
|
6740
6734
|
}, {
|
|
6741
6735
|
key: "shouldTryNationalPrefixFormattingRule",
|
|
@@ -6823,7 +6817,7 @@ function _8(t, e) {
|
|
|
6823
6817
|
}
|
|
6824
6818
|
return String(t);
|
|
6825
6819
|
}
|
|
6826
|
-
var O8 = "[" + Tt + ut + "]+", T8 = new RegExp("^" + O8 + "$", "i"),
|
|
6820
|
+
var O8 = "[" + Tt + ut + "]+", T8 = new RegExp("^" + O8 + "$", "i"), R8 = "(?:[" + Vi + "][" + Tt + ut + "]*|[" + Tt + ut + "]+)", I8 = new RegExp("[^" + Tt + ut + "]+.*$"), D8 = /[^\d\[\]]/, L8 = /* @__PURE__ */ (function() {
|
|
6827
6821
|
function t(e) {
|
|
6828
6822
|
var a = e.defaultCountry, n = e.defaultCallingCode, r = e.metadata, l = e.onNationalSignificantNumberChange;
|
|
6829
6823
|
F8(this, t), this.defaultCountry = a, this.defaultCallingCode = n, this.metadata = r, this.onNationalSignificantNumberChange = l;
|
|
@@ -6989,11 +6983,11 @@ var O8 = "[" + Tt + ut + "]+", T8 = new RegExp("^" + O8 + "$", "i"), I8 = "(?:["
|
|
|
6989
6983
|
}]);
|
|
6990
6984
|
})();
|
|
6991
6985
|
function H8(t) {
|
|
6992
|
-
var e = t.search(
|
|
6986
|
+
var e = t.search(R8);
|
|
6993
6987
|
if (!(e < 0)) {
|
|
6994
6988
|
t = t.slice(e);
|
|
6995
6989
|
var a;
|
|
6996
|
-
return t[0] === "+" && (a = !0, t = t.slice(1)), t = t.replace(
|
|
6990
|
+
return t[0] === "+" && (a = !0, t = t.slice(1)), t = t.replace(I8, ""), a && (t = "+" + t), t;
|
|
6997
6991
|
}
|
|
6998
6992
|
}
|
|
6999
6993
|
function B8(t) {
|
|
@@ -7368,7 +7362,7 @@ function A0(t) {
|
|
|
7368
7362
|
var e = t.inputFormat, a = t.country, n = t.metadata;
|
|
7369
7363
|
return e === "NATIONAL_PART_OF_INTERNATIONAL" ? "+".concat(ha(a, n)) : "";
|
|
7370
7364
|
}
|
|
7371
|
-
function
|
|
7365
|
+
function Ro(t, e) {
|
|
7372
7366
|
return e && (t = t.slice(e.length), t[0] === " " && (t = t.slice(1))), t;
|
|
7373
7367
|
}
|
|
7374
7368
|
function e7(t, e, a) {
|
|
@@ -7393,15 +7387,15 @@ function t7(t) {
|
|
|
7393
7387
|
return t.selectionStart;
|
|
7394
7388
|
}
|
|
7395
7389
|
var a7 = 8, n7 = "+", r7 = ["onKeyDown", "country", "inputFormat", "metadata", "international", "withCountryCallingCode"];
|
|
7396
|
-
function
|
|
7397
|
-
return
|
|
7390
|
+
function Io() {
|
|
7391
|
+
return Io = Object.assign ? Object.assign.bind() : function(t) {
|
|
7398
7392
|
for (var e = 1; e < arguments.length; e++) {
|
|
7399
7393
|
var a = arguments[e];
|
|
7400
7394
|
for (var n in a)
|
|
7401
7395
|
Object.prototype.hasOwnProperty.call(a, n) && (t[n] = a[n]);
|
|
7402
7396
|
}
|
|
7403
7397
|
return t;
|
|
7404
|
-
},
|
|
7398
|
+
}, Io.apply(this, arguments);
|
|
7405
7399
|
}
|
|
7406
7400
|
function i7(t, e) {
|
|
7407
7401
|
if (t == null) return {};
|
|
@@ -7430,7 +7424,7 @@ function o7(t) {
|
|
|
7430
7424
|
country: l,
|
|
7431
7425
|
metadata: d
|
|
7432
7426
|
}), v = m.input(b + p), y = m.getTemplate();
|
|
7433
|
-
return b && (v =
|
|
7427
|
+
return b && (v = Ro(v, b), y && (y = Ro(y, b))), {
|
|
7434
7428
|
text: v,
|
|
7435
7429
|
template: y
|
|
7436
7430
|
};
|
|
@@ -7438,7 +7432,7 @@ function o7(t) {
|
|
|
7438
7432
|
onKeyDown: r,
|
|
7439
7433
|
inputFormat: o
|
|
7440
7434
|
});
|
|
7441
|
-
return /* @__PURE__ */ i.createElement(si,
|
|
7435
|
+
return /* @__PURE__ */ i.createElement(si, Io({}, c, {
|
|
7442
7436
|
ref: n,
|
|
7443
7437
|
parse: e7,
|
|
7444
7438
|
format: h,
|
|
@@ -7588,7 +7582,7 @@ function h7(t) {
|
|
|
7588
7582
|
}
|
|
7589
7583
|
const p7 = h7();
|
|
7590
7584
|
function Wd(t, e, a, n) {
|
|
7591
|
-
return
|
|
7585
|
+
return Ro(Q8(t + e, a, n), t);
|
|
7592
7586
|
}
|
|
7593
7587
|
function m7(t) {
|
|
7594
7588
|
return Kd(t[0]) + Kd(t[1]);
|
|
@@ -7656,7 +7650,7 @@ function T0(t) {
|
|
|
7656
7650
|
a(c === "ZZ" ? void 0 : c);
|
|
7657
7651
|
}, [a]);
|
|
7658
7652
|
return vs(function() {
|
|
7659
|
-
return
|
|
7653
|
+
return I0(n, e);
|
|
7660
7654
|
}, [n, e]), /* @__PURE__ */ i.createElement("select", ui({}, o, {
|
|
7661
7655
|
disabled: r || l,
|
|
7662
7656
|
readOnly: l,
|
|
@@ -7702,11 +7696,11 @@ var w7 = {
|
|
|
7702
7696
|
backgroundColor: "currentColor",
|
|
7703
7697
|
color: "inherit"
|
|
7704
7698
|
};
|
|
7705
|
-
function
|
|
7699
|
+
function R0(t) {
|
|
7706
7700
|
var e = t.value, a = t.options, n = t.className, r = t.iconComponent;
|
|
7707
7701
|
t.getIconAspectRatio;
|
|
7708
7702
|
var l = t.arrowComponent, o = l === void 0 ? E7 : l, s = t.unicodeFlags, d = O0(t, v7), c = vs(function() {
|
|
7709
|
-
return
|
|
7703
|
+
return I0(a, e);
|
|
7710
7704
|
}, [a, e]);
|
|
7711
7705
|
return /* @__PURE__ */ i.createElement("div", {
|
|
7712
7706
|
className: "PhoneInputCountry"
|
|
@@ -7723,7 +7717,7 @@ function I0(t) {
|
|
|
7723
7717
|
aspectRatio: s ? 1 : void 0
|
|
7724
7718
|
})), /* @__PURE__ */ i.createElement(o, null));
|
|
7725
7719
|
}
|
|
7726
|
-
|
|
7720
|
+
R0.propTypes = {
|
|
7727
7721
|
// Country flag component.
|
|
7728
7722
|
iconComponent: U.elementType,
|
|
7729
7723
|
// Select arrow component.
|
|
@@ -7736,7 +7730,7 @@ function E7() {
|
|
|
7736
7730
|
className: "PhoneInputCountrySelectArrow"
|
|
7737
7731
|
});
|
|
7738
7732
|
}
|
|
7739
|
-
function
|
|
7733
|
+
function I0(t, e) {
|
|
7740
7734
|
for (var a = g7(t), n; !(n = a()).done; ) {
|
|
7741
7735
|
var r = n.value;
|
|
7742
7736
|
if (!r.divider && x7(r.value, e))
|
|
@@ -8014,9 +8008,9 @@ function Ho() {
|
|
|
8014
8008
|
return t;
|
|
8015
8009
|
}, Ho.apply(this, arguments);
|
|
8016
8010
|
}
|
|
8017
|
-
function
|
|
8011
|
+
function R7(t, e) {
|
|
8018
8012
|
if (t == null) return {};
|
|
8019
|
-
var a =
|
|
8013
|
+
var a = I7(t, e), n, r;
|
|
8020
8014
|
if (Object.getOwnPropertySymbols) {
|
|
8021
8015
|
var l = Object.getOwnPropertySymbols(t);
|
|
8022
8016
|
for (r = 0; r < l.length; r++)
|
|
@@ -8024,7 +8018,7 @@ function I7(t, e) {
|
|
|
8024
8018
|
}
|
|
8025
8019
|
return a;
|
|
8026
8020
|
}
|
|
8027
|
-
function
|
|
8021
|
+
function I7(t, e) {
|
|
8028
8022
|
if (t == null) return {};
|
|
8029
8023
|
var a = {}, n = Object.keys(t), r, l;
|
|
8030
8024
|
for (l = 0; l < n.length; l++)
|
|
@@ -8034,7 +8028,7 @@ function R7(t, e) {
|
|
|
8034
8028
|
function j0(t) {
|
|
8035
8029
|
var e = t.flags, a = t.flagUrl, n = t.flagComponent, r = t.internationalIcon;
|
|
8036
8030
|
function l(o) {
|
|
8037
|
-
var s = o.country, d = o.label, c = o.aspectRatio, h =
|
|
8031
|
+
var s = o.country, d = o.label, c = o.aspectRatio, h = R7(o, T7), u = r === Ui ? c : void 0;
|
|
8038
8032
|
return /* @__PURE__ */ i.createElement("div", Ho({}, h, {
|
|
8039
8033
|
className: oi("PhoneInputCountryIcon", {
|
|
8040
8034
|
"PhoneInputCountryIcon--square": u === 1,
|
|
@@ -9152,7 +9146,7 @@ var a2 = {
|
|
|
9152
9146
|
/**
|
|
9153
9147
|
* Country `<select/>` component.
|
|
9154
9148
|
*/
|
|
9155
|
-
countrySelectComponent:
|
|
9149
|
+
countrySelectComponent: R0,
|
|
9156
9150
|
/**
|
|
9157
9151
|
* Flag icon component.
|
|
9158
9152
|
*/
|
|
@@ -10117,7 +10111,7 @@ class Ce {
|
|
|
10117
10111
|
}
|
|
10118
10112
|
const C9 = /^c[^\s-]{8,}$/i, z9 = /^[0-9a-z]+$/, S9 = /^[0-9A-HJKMNP-TV-Z]{26}$/i, M9 = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, k9 = /^[a-z0-9_-]{21}$/i, F9 = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, N9 = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, P9 = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, A9 = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
|
|
10119
10113
|
let Pl;
|
|
10120
|
-
const _9 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, O9 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, T9 = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,
|
|
10114
|
+
const _9 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, O9 = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, T9 = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, R9 = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, I9 = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, D9 = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, au = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", L9 = new RegExp(`^${au}$`);
|
|
10121
10115
|
function nu(t) {
|
|
10122
10116
|
let e = "[0-5]\\d";
|
|
10123
10117
|
t.precision ? e = `${e}\\.\\d{${t.precision}}` : t.precision == null && (e = `${e}(\\.\\d+)?`);
|
|
@@ -10149,7 +10143,7 @@ function V9(t, e) {
|
|
|
10149
10143
|
}
|
|
10150
10144
|
}
|
|
10151
10145
|
function U9(t, e) {
|
|
10152
|
-
return !!((e === "v4" || !e) && O9.test(t) || (e === "v6" || !e) &&
|
|
10146
|
+
return !!((e === "v4" || !e) && O9.test(t) || (e === "v6" || !e) && R9.test(t));
|
|
10153
10147
|
}
|
|
10154
10148
|
class ra extends Ce {
|
|
10155
10149
|
_parse(e) {
|
|
@@ -10295,7 +10289,7 @@ class ra extends Ce {
|
|
|
10295
10289
|
validation: "cidr",
|
|
10296
10290
|
code: ee.invalid_string,
|
|
10297
10291
|
message: l.message
|
|
10298
|
-
}), n.dirty()) : l.kind === "base64" ?
|
|
10292
|
+
}), n.dirty()) : l.kind === "base64" ? I9.test(e.data) || (r = this._getOrReturnCtx(e, r), de(r, {
|
|
10299
10293
|
validation: "base64",
|
|
10300
10294
|
code: ee.invalid_string,
|
|
10301
10295
|
message: l.message
|
|
@@ -12181,7 +12175,7 @@ var ye;
|
|
|
12181
12175
|
(function(t) {
|
|
12182
12176
|
t.ZodString = "ZodString", t.ZodNumber = "ZodNumber", t.ZodNaN = "ZodNaN", t.ZodBigInt = "ZodBigInt", t.ZodBoolean = "ZodBoolean", t.ZodDate = "ZodDate", t.ZodSymbol = "ZodSymbol", t.ZodUndefined = "ZodUndefined", t.ZodNull = "ZodNull", t.ZodAny = "ZodAny", t.ZodUnknown = "ZodUnknown", t.ZodNever = "ZodNever", t.ZodVoid = "ZodVoid", t.ZodArray = "ZodArray", t.ZodObject = "ZodObject", t.ZodUnion = "ZodUnion", t.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", t.ZodIntersection = "ZodIntersection", t.ZodTuple = "ZodTuple", t.ZodRecord = "ZodRecord", t.ZodMap = "ZodMap", t.ZodSet = "ZodSet", t.ZodFunction = "ZodFunction", t.ZodLazy = "ZodLazy", t.ZodLiteral = "ZodLiteral", t.ZodEnum = "ZodEnum", t.ZodEffects = "ZodEffects", t.ZodNativeEnum = "ZodNativeEnum", t.ZodOptional = "ZodOptional", t.ZodNullable = "ZodNullable", t.ZodDefault = "ZodDefault", t.ZodCatch = "ZodCatch", t.ZodPromise = "ZodPromise", t.ZodBranded = "ZodBranded", t.ZodPipeline = "ZodPipeline", t.ZodReadonly = "ZodReadonly";
|
|
12183
12177
|
})(ye || (ye = {}));
|
|
12184
|
-
const
|
|
12178
|
+
const Re = ra.create, K9 = En.create, y2 = Uo.create;
|
|
12185
12179
|
xa.create;
|
|
12186
12180
|
Kt.create;
|
|
12187
12181
|
const wi = Be.create;
|
|
@@ -12193,47 +12187,47 @@ xn.create;
|
|
|
12193
12187
|
bi.create;
|
|
12194
12188
|
const Z9 = ba.create;
|
|
12195
12189
|
Cn.create;
|
|
12196
|
-
const Y9 =
|
|
12190
|
+
const Y9 = Re().min(1, "Phone number is required").refine((t) => t && tu(t), {
|
|
12197
12191
|
message: "Invalid phone number"
|
|
12198
12192
|
});
|
|
12199
|
-
|
|
12193
|
+
Re().optional().nullable().refine((t) => t && tu(t), {
|
|
12200
12194
|
message: "Invalid phone number"
|
|
12201
12195
|
});
|
|
12202
12196
|
const Fs = wi({
|
|
12203
|
-
email:
|
|
12204
|
-
firstName:
|
|
12205
|
-
lastName:
|
|
12197
|
+
email: Re().email("invalid_email"),
|
|
12198
|
+
firstName: Re().min(1, "required_error"),
|
|
12199
|
+
lastName: Re().min(1, "required_error"),
|
|
12206
12200
|
address: wi({
|
|
12207
|
-
line1:
|
|
12208
|
-
line2:
|
|
12209
|
-
city:
|
|
12210
|
-
province:
|
|
12211
|
-
provinceCode:
|
|
12212
|
-
zipCode:
|
|
12213
|
-
country:
|
|
12214
|
-
countryCode:
|
|
12215
|
-
company:
|
|
12201
|
+
line1: Re().min(1, "required_error"),
|
|
12202
|
+
line2: Re().nullable().optional(),
|
|
12203
|
+
city: Re().min(1, "required_error"),
|
|
12204
|
+
province: Re().nullable().optional(),
|
|
12205
|
+
provinceCode: Re().nullable().optional(),
|
|
12206
|
+
zipCode: Re().min(5, "invalid_zipCode"),
|
|
12207
|
+
country: Re().min(1, "required_error"),
|
|
12208
|
+
countryCode: Re().min(1, "required_error"),
|
|
12209
|
+
company: Re().nullable().optional()
|
|
12216
12210
|
}),
|
|
12217
12211
|
phone: Y9,
|
|
12218
12212
|
isSubscribedEmail: y2().optional(),
|
|
12219
12213
|
isSubscribedSMS: y2().optional()
|
|
12220
12214
|
}), X9 = wi({
|
|
12221
|
-
rateId:
|
|
12222
|
-
carrierId: Z9(
|
|
12215
|
+
rateId: Re().min(1, "required_error"),
|
|
12216
|
+
carrierId: Z9(Re()),
|
|
12223
12217
|
priceInCents: K9().min(1, "required_error"),
|
|
12224
|
-
pickupPointId:
|
|
12225
|
-
pickupPointDisplayName:
|
|
12218
|
+
pickupPointId: Re().optional(),
|
|
12219
|
+
pickupPointDisplayName: Re().optional(),
|
|
12226
12220
|
// Only for display purposes
|
|
12227
|
-
displayName:
|
|
12221
|
+
displayName: Re()
|
|
12228
12222
|
// Only for display purposes
|
|
12229
|
-
}), Ns = q9(
|
|
12223
|
+
}), Ns = q9(Re(), X9).refine((t) => Object.keys(t).length > 0, {
|
|
12230
12224
|
message: "at_least_one_shipping_method_required",
|
|
12231
12225
|
path: []
|
|
12232
12226
|
});
|
|
12233
12227
|
wi({
|
|
12234
12228
|
customer: Fs,
|
|
12235
12229
|
shipping: Ns,
|
|
12236
|
-
customerId:
|
|
12230
|
+
customerId: Re().optional()
|
|
12237
12231
|
});
|
|
12238
12232
|
function b2(t, e) {
|
|
12239
12233
|
if (typeof t == "function")
|
|
@@ -12608,12 +12602,12 @@ function mu(t, e) {
|
|
|
12608
12602
|
}
|
|
12609
12603
|
return a;
|
|
12610
12604
|
}
|
|
12611
|
-
var st = (t) => je(t) && !Object.keys(t).length,
|
|
12605
|
+
var st = (t) => je(t) && !Object.keys(t).length, Rs = (t) => t.type === "file", $i = (t) => {
|
|
12612
12606
|
if (!Ps)
|
|
12613
12607
|
return !1;
|
|
12614
12608
|
const e = t ? t.ownerDocument : 0;
|
|
12615
12609
|
return t instanceof (e && e.defaultView ? e.defaultView.HTMLElement : HTMLElement);
|
|
12616
|
-
}, fu = (t) => t.type === "select-multiple",
|
|
12610
|
+
}, fu = (t) => t.type === "select-multiple", Is = (t) => t.type === "radio", uv = (t) => Is(t) || Er(t), Al = (t) => $i(t) && t.isConnected;
|
|
12617
12611
|
function hv(t, e) {
|
|
12618
12612
|
const a = e.slice(0, -1).length;
|
|
12619
12613
|
let n = 0;
|
|
@@ -12687,7 +12681,7 @@ var bu = (t) => Array.isArray(t) ? t.reduce((e, a) => a && a.checked && !a.disab
|
|
|
12687
12681
|
} : e, $2) : $2;
|
|
12688
12682
|
function C2(t) {
|
|
12689
12683
|
const e = t.ref;
|
|
12690
|
-
return
|
|
12684
|
+
return Rs(e) ? e.files : Is(e) ? bu(t.refs).value : fu(e) ? [...e.selectedOptions].map(({ value: a }) => a) : Er(e) ? gu(t.refs).value : yu(Te(e.value) ? t.ref.value : e.value, t);
|
|
12691
12685
|
}
|
|
12692
12686
|
var fv = (t, e, a, n) => {
|
|
12693
12687
|
const r = {};
|
|
@@ -12780,7 +12774,7 @@ var tn = (t) => je(t) && !Ci(t) ? t : {
|
|
|
12780
12774
|
return {};
|
|
12781
12775
|
const k = s ? s[0] : o, S = (V) => {
|
|
12782
12776
|
r && k.reportValidity && (k.setCustomValidity(gt(V) ? "" : V || ""), k.reportValidity());
|
|
12783
|
-
}, x = {}, M =
|
|
12777
|
+
}, x = {}, M = Is(o), F = Er(o), O = M || F, D = (y || Rs(o)) && Te(o.value) && Te(C) || $i(o) && o.value === "" || C === "" || Array.isArray(C) && !C.length, Z = pu.bind(null, v, n, x), te = (V, G, W, Y = ta.maxLength, H = ta.minLength) => {
|
|
12784
12778
|
const j = V ? G : W;
|
|
12785
12779
|
x[v] = {
|
|
12786
12780
|
type: V ? Y : H,
|
|
@@ -12918,24 +12912,24 @@ function Cv(t = {}) {
|
|
|
12918
12912
|
});
|
|
12919
12913
|
}
|
|
12920
12914
|
}, $ = (z, _) => {
|
|
12921
|
-
!e.disabled && (u.isValidating || u.validatingFields || p.isValidating || p.validatingFields) && ((z || Array.from(s.mount)).forEach((
|
|
12922
|
-
|
|
12915
|
+
!e.disabled && (u.isValidating || u.validatingFields || p.isValidating || p.validatingFields) && ((z || Array.from(s.mount)).forEach((I) => {
|
|
12916
|
+
I && (_ ? _e(a.validatingFields, I, _) : He(a.validatingFields, I));
|
|
12923
12917
|
}), m.state.next({
|
|
12924
12918
|
validatingFields: a.validatingFields,
|
|
12925
12919
|
isValidating: !st(a.validatingFields)
|
|
12926
12920
|
}));
|
|
12927
|
-
}, C = (z, _ = [],
|
|
12928
|
-
if (se &&
|
|
12921
|
+
}, C = (z, _ = [], I, se, re = !0, X = !0) => {
|
|
12922
|
+
if (se && I && !e.disabled) {
|
|
12929
12923
|
if (o.action = !0, X && Array.isArray(ie(n, z))) {
|
|
12930
|
-
const fe =
|
|
12924
|
+
const fe = I(ie(n, z), se.argA, se.argB);
|
|
12931
12925
|
re && _e(n, z, fe);
|
|
12932
12926
|
}
|
|
12933
12927
|
if (X && Array.isArray(ie(a.errors, z))) {
|
|
12934
|
-
const fe =
|
|
12928
|
+
const fe = I(ie(a.errors, z), se.argA, se.argB);
|
|
12935
12929
|
re && _e(a.errors, z, fe), Ev(a.errors, z);
|
|
12936
12930
|
}
|
|
12937
12931
|
if ((u.touchedFields || p.touchedFields) && X && Array.isArray(ie(a.touchedFields, z))) {
|
|
12938
|
-
const fe =
|
|
12932
|
+
const fe = I(ie(a.touchedFields, z), se.argA, se.argB);
|
|
12939
12933
|
re && _e(a.touchedFields, z, fe);
|
|
12940
12934
|
}
|
|
12941
12935
|
(u.dirtyFields || p.dirtyFields) && (a.dirtyFields = dn(r, l)), m.state.next({
|
|
@@ -12956,33 +12950,33 @@ function Cv(t = {}) {
|
|
|
12956
12950
|
errors: a.errors,
|
|
12957
12951
|
isValid: !1
|
|
12958
12952
|
});
|
|
12959
|
-
}, x = (z, _,
|
|
12953
|
+
}, x = (z, _, I, se) => {
|
|
12960
12954
|
const re = ie(n, z);
|
|
12961
12955
|
if (re) {
|
|
12962
|
-
const X = ie(l, z, Te(
|
|
12956
|
+
const X = ie(l, z, Te(I) ? ie(r, z) : I);
|
|
12963
12957
|
Te(X) || se && se.defaultChecked || _ ? _e(l, z, _ ? X : C2(re._f)) : Y(z, X), o.mount && !o.action && y();
|
|
12964
12958
|
}
|
|
12965
|
-
}, M = (z, _,
|
|
12959
|
+
}, M = (z, _, I, se, re) => {
|
|
12966
12960
|
let X = !1, fe = !1;
|
|
12967
12961
|
const ze = {
|
|
12968
12962
|
name: z
|
|
12969
12963
|
};
|
|
12970
12964
|
if (!e.disabled) {
|
|
12971
|
-
if (!
|
|
12965
|
+
if (!I || se) {
|
|
12972
12966
|
(u.isDirty || p.isDirty) && (fe = a.isDirty, a.isDirty = ze.isDirty = V(), X = fe !== ze.isDirty);
|
|
12973
12967
|
const Me = Ot(ie(r, z), _);
|
|
12974
12968
|
fe = !!ie(a.dirtyFields, z), Me ? He(a.dirtyFields, z) : _e(a.dirtyFields, z, !0), ze.dirtyFields = a.dirtyFields, X = X || (u.dirtyFields || p.dirtyFields) && fe !== !Me;
|
|
12975
12969
|
}
|
|
12976
|
-
if (
|
|
12970
|
+
if (I) {
|
|
12977
12971
|
const Me = ie(a.touchedFields, z);
|
|
12978
|
-
Me || (_e(a.touchedFields, z,
|
|
12972
|
+
Me || (_e(a.touchedFields, z, I), ze.touchedFields = a.touchedFields, X = X || (u.touchedFields || p.touchedFields) && Me !== I);
|
|
12979
12973
|
}
|
|
12980
12974
|
X && re && m.state.next(ze);
|
|
12981
12975
|
}
|
|
12982
12976
|
return X ? ze : {};
|
|
12983
|
-
}, F = (z, _,
|
|
12977
|
+
}, F = (z, _, I, se) => {
|
|
12984
12978
|
const re = ie(a.errors, z), X = (u.isValid || p.isValid) && gt(_) && a.isValid !== _;
|
|
12985
|
-
if (e.delayError &&
|
|
12979
|
+
if (e.delayError && I ? (d = v(() => k(z, I)), d(e.delayError)) : (clearTimeout(c), d = null, I ? _e(a.errors, z, I) : He(a.errors, z)), (I ? !Ot(re, I) : re) || !st(se) || X) {
|
|
12986
12980
|
const fe = {
|
|
12987
12981
|
...se,
|
|
12988
12982
|
...X && gt(_) ? { isValid: _ } : {},
|
|
@@ -12997,14 +12991,14 @@ function Cv(t = {}) {
|
|
|
12997
12991
|
}, O = async (z) => ($(z, !0), await e.resolver(l, e.context, fv(z || s.mount, n, e.criteriaMode, e.shouldUseNativeValidation))), D = async (z) => {
|
|
12998
12992
|
const { errors: _ } = await O(z);
|
|
12999
12993
|
if ($(z), z)
|
|
13000
|
-
for (const
|
|
13001
|
-
const se = ie(_,
|
|
13002
|
-
se ? _e(a.errors,
|
|
12994
|
+
for (const I of z) {
|
|
12995
|
+
const se = ie(_, I);
|
|
12996
|
+
se ? _e(a.errors, I, se) : He(a.errors, I);
|
|
13003
12997
|
}
|
|
13004
12998
|
else
|
|
13005
12999
|
a.errors = _;
|
|
13006
13000
|
return _;
|
|
13007
|
-
}, Z = async (z, _,
|
|
13001
|
+
}, Z = async (z, _, I = {
|
|
13008
13002
|
valid: !0
|
|
13009
13003
|
}) => {
|
|
13010
13004
|
for (const se in z) {
|
|
@@ -13015,106 +13009,106 @@ function Cv(t = {}) {
|
|
|
13015
13009
|
const ze = s.array.has(X.name), Me = re._f && vv(re._f);
|
|
13016
13010
|
Me && u.validatingFields && $([X.name], !0);
|
|
13017
13011
|
const We = await N2(re, s.disabled, l, b, e.shouldUseNativeValidation && !_, ze);
|
|
13018
|
-
if (Me && u.validatingFields && $([X.name]), We[X.name] && (
|
|
13012
|
+
if (Me && u.validatingFields && $([X.name]), We[X.name] && (I.valid = !1, _))
|
|
13019
13013
|
break;
|
|
13020
13014
|
!_ && (ie(We, X.name) ? ze ? xv(a.errors, We, X.name) : _e(a.errors, X.name, We[X.name]) : He(a.errors, X.name));
|
|
13021
13015
|
}
|
|
13022
|
-
!st(fe) && await Z(fe, _,
|
|
13016
|
+
!st(fe) && await Z(fe, _, I);
|
|
13023
13017
|
}
|
|
13024
13018
|
}
|
|
13025
|
-
return
|
|
13019
|
+
return I.valid;
|
|
13026
13020
|
}, te = () => {
|
|
13027
13021
|
for (const z of s.unMount) {
|
|
13028
13022
|
const _ = ie(n, z);
|
|
13029
|
-
_ && (_._f.refs ? _._f.refs.every((
|
|
13023
|
+
_ && (_._f.refs ? _._f.refs.every((I) => !Al(I)) : !Al(_._f.ref)) && ne(z);
|
|
13030
13024
|
}
|
|
13031
13025
|
s.unMount = /* @__PURE__ */ new Set();
|
|
13032
|
-
}, V = (z, _) => !e.disabled && (z && _ && _e(l, z, _), !Ot(T(), r)), G = (z, _,
|
|
13026
|
+
}, V = (z, _) => !e.disabled && (z && _ && _e(l, z, _), !Ot(T(), r)), G = (z, _, I) => Zo(z, s, {
|
|
13033
13027
|
...o.mount ? l : Te(_) ? r : bt(z) ? { [z]: _ } : _
|
|
13034
|
-
},
|
|
13028
|
+
}, I, _), W = (z) => As(ie(o.mount ? l : r, z, e.shouldUnregister ? ie(r, z, []) : [])), Y = (z, _, I = {}) => {
|
|
13035
13029
|
const se = ie(n, z);
|
|
13036
13030
|
let re = _;
|
|
13037
13031
|
if (se) {
|
|
13038
13032
|
const X = se._f;
|
|
13039
13033
|
X && (!X.disabled && _e(l, z, yu(_, X)), re = $i(X.ref) && mt(_) ? "" : _, fu(X.ref) ? [...X.ref.options].forEach((fe) => fe.selected = re.includes(fe.value)) : X.refs ? Er(X.ref) ? X.refs.forEach((fe) => {
|
|
13040
13034
|
(!fe.defaultChecked || !fe.disabled) && (Array.isArray(re) ? fe.checked = !!re.find((ze) => ze === fe.value) : fe.checked = re === fe.value || !!re);
|
|
13041
|
-
}) : X.refs.forEach((fe) => fe.checked = fe.value === re) :
|
|
13035
|
+
}) : X.refs.forEach((fe) => fe.checked = fe.value === re) : Rs(X.ref) ? X.ref.value = "" : (X.ref.value = re, X.ref.type || m.state.next({
|
|
13042
13036
|
name: z,
|
|
13043
13037
|
values: qe(l)
|
|
13044
13038
|
})));
|
|
13045
13039
|
}
|
|
13046
|
-
(
|
|
13047
|
-
}, H = (z, _,
|
|
13040
|
+
(I.shouldDirty || I.shouldTouch) && M(z, re, I.shouldTouch, I.shouldDirty, !0), I.shouldValidate && P(z);
|
|
13041
|
+
}, H = (z, _, I) => {
|
|
13048
13042
|
for (const se in _) {
|
|
13049
13043
|
if (!_.hasOwnProperty(se))
|
|
13050
13044
|
return;
|
|
13051
13045
|
const re = _[se], X = z + "." + se, fe = ie(n, X);
|
|
13052
|
-
(s.array.has(z) || je(re) || fe && !fe._f) && !Ta(re) ? H(X, re,
|
|
13046
|
+
(s.array.has(z) || je(re) || fe && !fe._f) && !Ta(re) ? H(X, re, I) : Y(X, re, I);
|
|
13053
13047
|
}
|
|
13054
|
-
}, j = (z, _,
|
|
13048
|
+
}, j = (z, _, I = {}) => {
|
|
13055
13049
|
const se = ie(n, z), re = s.array.has(z), X = qe(_);
|
|
13056
13050
|
_e(l, z, X), re ? (m.array.next({
|
|
13057
13051
|
name: z,
|
|
13058
13052
|
values: qe(l)
|
|
13059
|
-
}), (u.isDirty || u.dirtyFields || p.isDirty || p.dirtyFields) &&
|
|
13053
|
+
}), (u.isDirty || u.dirtyFields || p.isDirty || p.dirtyFields) && I.shouldDirty && m.state.next({
|
|
13060
13054
|
name: z,
|
|
13061
13055
|
dirtyFields: dn(r, l),
|
|
13062
13056
|
isDirty: V(z, X)
|
|
13063
|
-
})) : se && !se._f && !mt(X) ? H(z, X,
|
|
13057
|
+
})) : se && !se._f && !mt(X) ? H(z, X, I) : Y(z, X, I), M2(z, s) && m.state.next({ ...a, name: z }), m.state.next({
|
|
13064
13058
|
name: o.mount ? z : void 0,
|
|
13065
13059
|
values: qe(l)
|
|
13066
13060
|
});
|
|
13067
13061
|
}, B = async (z) => {
|
|
13068
13062
|
o.mount = !0;
|
|
13069
13063
|
const _ = z.target;
|
|
13070
|
-
let
|
|
13071
|
-
const re = ie(n,
|
|
13072
|
-
se = Number.isNaN(Me) || Ta(Me) && isNaN(Me.getTime()) || Ot(Me, ie(l,
|
|
13064
|
+
let I = _.name, se = !0;
|
|
13065
|
+
const re = ie(n, I), X = (Me) => {
|
|
13066
|
+
se = Number.isNaN(Me) || Ta(Me) && isNaN(Me.getTime()) || Ot(Me, ie(l, I, Me));
|
|
13073
13067
|
}, fe = z2(e.mode), ze = z2(e.reValidateMode);
|
|
13074
13068
|
if (re) {
|
|
13075
13069
|
let Me, We;
|
|
13076
|
-
const Aa = _.type ? C2(re._f) : du(z), lt = z.type === xi.BLUR || z.type === xi.FOCUS_OUT, yl = !gv(re._f) && !e.resolver && !ie(a.errors,
|
|
13077
|
-
_e(l,
|
|
13078
|
-
const Ka = M(
|
|
13070
|
+
const Aa = _.type ? C2(re._f) : du(z), lt = z.type === xi.BLUR || z.type === xi.FOCUS_OUT, yl = !gv(re._f) && !e.resolver && !ie(a.errors, I) && !re._f.deps || wv(lt, ie(a.touchedFields, I), a.isSubmitted, ze, fe), Hn = M2(I, s, lt);
|
|
13071
|
+
_e(l, I, Aa), lt ? (!_ || !_.readOnly) && (re._f.onBlur && re._f.onBlur(z), d && d(0)) : re._f.onChange && re._f.onChange(z);
|
|
13072
|
+
const Ka = M(I, Aa, lt), Pr = !st(Ka) || Hn;
|
|
13079
13073
|
if (!lt && m.state.next({
|
|
13080
|
-
name:
|
|
13074
|
+
name: I,
|
|
13081
13075
|
type: z.type,
|
|
13082
13076
|
values: qe(l)
|
|
13083
13077
|
}), yl)
|
|
13084
|
-
return (u.isValid || p.isValid) && (e.mode === "onBlur" ? lt && y() : lt || y()), Pr && m.state.next({ name:
|
|
13078
|
+
return (u.isValid || p.isValid) && (e.mode === "onBlur" ? lt && y() : lt || y()), Pr && m.state.next({ name: I, ...Hn ? {} : Ka });
|
|
13085
13079
|
if (!lt && Hn && m.state.next({ ...a }), e.resolver) {
|
|
13086
|
-
const { errors: Ar } = await O([
|
|
13087
|
-
if ($([
|
|
13088
|
-
const Bn = k2(a.errors, n,
|
|
13089
|
-
Me = Mt.error,
|
|
13080
|
+
const { errors: Ar } = await O([I]);
|
|
13081
|
+
if ($([I]), X(Aa), se) {
|
|
13082
|
+
const Bn = k2(a.errors, n, I), Mt = k2(Ar, n, Bn.name || I);
|
|
13083
|
+
Me = Mt.error, I = Mt.name, We = st(Ar);
|
|
13090
13084
|
}
|
|
13091
13085
|
} else
|
|
13092
|
-
$([
|
|
13093
|
-
se && (re._f.deps && (!Array.isArray(re._f.deps) || re._f.deps.length > 0) && P(re._f.deps), F(
|
|
13086
|
+
$([I], !0), Me = (await N2(re, s.disabled, l, b, e.shouldUseNativeValidation))[I], $([I]), X(Aa), se && (Me ? We = !1 : (u.isValid || p.isValid) && (We = await Z(n, !0)));
|
|
13087
|
+
se && (re._f.deps && (!Array.isArray(re._f.deps) || re._f.deps.length > 0) && P(re._f.deps), F(I, We, Me, Ka));
|
|
13094
13088
|
}
|
|
13095
13089
|
}, oe = (z, _) => {
|
|
13096
13090
|
if (ie(a.errors, _) && z.focus)
|
|
13097
13091
|
return z.focus(), 1;
|
|
13098
13092
|
}, P = async (z, _ = {}) => {
|
|
13099
|
-
let
|
|
13093
|
+
let I, se;
|
|
13100
13094
|
const re = Xn(z);
|
|
13101
13095
|
if (e.resolver) {
|
|
13102
13096
|
const X = await D(Te(z) ? z : re);
|
|
13103
|
-
|
|
13097
|
+
I = st(X), se = z ? !re.some((fe) => ie(X, fe)) : I;
|
|
13104
13098
|
} else z ? (se = (await Promise.all(re.map(async (X) => {
|
|
13105
13099
|
const fe = ie(n, X);
|
|
13106
13100
|
return await Z(fe && fe._f ? { [X]: fe } : fe);
|
|
13107
|
-
}))).every(Boolean), !(!se && !a.isValid) && y()) : se =
|
|
13101
|
+
}))).every(Boolean), !(!se && !a.isValid) && y()) : se = I = await Z(n);
|
|
13108
13102
|
return m.state.next({
|
|
13109
|
-
...!bt(z) || (u.isValid || p.isValid) &&
|
|
13110
|
-
...e.resolver || !z ? { isValid:
|
|
13103
|
+
...!bt(z) || (u.isValid || p.isValid) && I !== a.isValid ? {} : { name: z },
|
|
13104
|
+
...e.resolver || !z ? { isValid: I } : {},
|
|
13111
13105
|
errors: a.errors
|
|
13112
13106
|
}), _.shouldFocus && !se && Jn(n, oe, z ? re : s.mount), se;
|
|
13113
13107
|
}, T = (z, _) => {
|
|
13114
|
-
let
|
|
13108
|
+
let I = {
|
|
13115
13109
|
...o.mount ? l : r
|
|
13116
13110
|
};
|
|
13117
|
-
return _ && (
|
|
13111
|
+
return _ && (I = mu(_.dirtyFields ? a.dirtyFields : a.touchedFields, I)), Te(z) ? I : bt(z) ? ie(I, z) : z.map((se) => ie(I, se));
|
|
13118
13112
|
}, A = (z, _) => ({
|
|
13119
13113
|
invalid: !!ie((_ || a).errors, z),
|
|
13120
13114
|
isDirty: !!ie((_ || a).dirtyFields, z),
|
|
@@ -13125,7 +13119,7 @@ function Cv(t = {}) {
|
|
|
13125
13119
|
z && Xn(z).forEach((_) => He(a.errors, _)), m.state.next({
|
|
13126
13120
|
errors: z ? a.errors : {}
|
|
13127
13121
|
});
|
|
13128
|
-
},
|
|
13122
|
+
}, R = (z, _, I) => {
|
|
13129
13123
|
const se = (ie(n, z, { _f: {} })._f || {}).ref, re = ie(a.errors, z) || {}, { ref: X, message: fe, type: ze, ...Me } = re;
|
|
13130
13124
|
_e(a.errors, z, {
|
|
13131
13125
|
...Me,
|
|
@@ -13135,9 +13129,9 @@ function Cv(t = {}) {
|
|
|
13135
13129
|
name: z,
|
|
13136
13130
|
errors: a.errors,
|
|
13137
13131
|
isValid: !1
|
|
13138
|
-
}),
|
|
13132
|
+
}), I && I.shouldFocus && se && se.focus && se.focus();
|
|
13139
13133
|
}, L = (z, _) => ct(z) ? m.state.subscribe({
|
|
13140
|
-
next: (
|
|
13134
|
+
next: (I) => "values" in I && z(G(void 0, _), I)
|
|
13141
13135
|
}) : G(z, _, !0), Q = (z) => m.state.subscribe({
|
|
13142
13136
|
next: (_) => {
|
|
13143
13137
|
bv(z.name, _.name, z.exact) && yv(_, z.formState || u, Fr, z.reRenderRoot) && z.callback({
|
|
@@ -13157,8 +13151,8 @@ function Cv(t = {}) {
|
|
|
13157
13151
|
...z.formState
|
|
13158
13152
|
}
|
|
13159
13153
|
})), ne = (z, _ = {}) => {
|
|
13160
|
-
for (const
|
|
13161
|
-
s.mount.delete(
|
|
13154
|
+
for (const I of z ? Xn(z) : s.mount)
|
|
13155
|
+
s.mount.delete(I), s.array.delete(I), _.keepValue || (He(n, I), He(l, I)), !_.keepError && He(a.errors, I), !_.keepDirty && He(a.dirtyFields, I), !_.keepTouched && He(a.touchedFields, I), !_.keepIsValidating && He(a.validatingFields, I), !e.shouldUnregister && !_.keepDefaultValue && He(r, I);
|
|
13162
13156
|
m.state.next({
|
|
13163
13157
|
values: qe(l)
|
|
13164
13158
|
}), m.state.next({
|
|
@@ -13168,17 +13162,17 @@ function Cv(t = {}) {
|
|
|
13168
13162
|
}, pe = ({ disabled: z, name: _ }) => {
|
|
13169
13163
|
(gt(z) && o.mount || z || s.disabled.has(_)) && (z ? s.disabled.add(_) : s.disabled.delete(_));
|
|
13170
13164
|
}, ve = (z, _ = {}) => {
|
|
13171
|
-
let
|
|
13165
|
+
let I = ie(n, z);
|
|
13172
13166
|
const se = gt(_.disabled) || gt(e.disabled);
|
|
13173
13167
|
return _e(n, z, {
|
|
13174
|
-
...
|
|
13168
|
+
...I || {},
|
|
13175
13169
|
_f: {
|
|
13176
|
-
...
|
|
13170
|
+
...I && I._f ? I._f : { ref: { name: z } },
|
|
13177
13171
|
name: z,
|
|
13178
13172
|
mount: !0,
|
|
13179
13173
|
..._
|
|
13180
13174
|
}
|
|
13181
|
-
}), s.mount.add(z),
|
|
13175
|
+
}), s.mount.add(z), I ? pe({
|
|
13182
13176
|
disabled: gt(_.disabled) ? _.disabled : e.disabled,
|
|
13183
13177
|
name: z
|
|
13184
13178
|
}) : x(z, !0, _.value), {
|
|
@@ -13196,13 +13190,13 @@ function Cv(t = {}) {
|
|
|
13196
13190
|
onBlur: B,
|
|
13197
13191
|
ref: (re) => {
|
|
13198
13192
|
if (re) {
|
|
13199
|
-
ve(z, _),
|
|
13200
|
-
const X = Te(re.value) && re.querySelectorAll && re.querySelectorAll("input,select,textarea")[0] || re, fe = uv(X), ze =
|
|
13201
|
-
if (fe ? ze.find((Me) => Me === X) : X ===
|
|
13193
|
+
ve(z, _), I = ie(n, z);
|
|
13194
|
+
const X = Te(re.value) && re.querySelectorAll && re.querySelectorAll("input,select,textarea")[0] || re, fe = uv(X), ze = I._f.refs || [];
|
|
13195
|
+
if (fe ? ze.find((Me) => Me === X) : X === I._f.ref)
|
|
13202
13196
|
return;
|
|
13203
13197
|
_e(n, z, {
|
|
13204
13198
|
_f: {
|
|
13205
|
-
...
|
|
13199
|
+
...I._f,
|
|
13206
13200
|
...fe ? {
|
|
13207
13201
|
refs: [
|
|
13208
13202
|
...ze.filter(Al),
|
|
@@ -13214,19 +13208,19 @@ function Cv(t = {}) {
|
|
|
13214
13208
|
}
|
|
13215
13209
|
}), x(z, !1, void 0, X);
|
|
13216
13210
|
} else
|
|
13217
|
-
|
|
13211
|
+
I = ie(n, z, {}), I._f && (I._f.mount = !1), (e.shouldUnregister || _.shouldUnregister) && !(cu(s.array, z) && o.action) && s.unMount.add(z);
|
|
13218
13212
|
}
|
|
13219
13213
|
};
|
|
13220
13214
|
}, Ae = () => e.shouldFocusError && Jn(n, oe, s.mount), ae = (z) => {
|
|
13221
|
-
gt(z) && (m.state.next({ disabled: z }), Jn(n, (_,
|
|
13222
|
-
const se = ie(n,
|
|
13215
|
+
gt(z) && (m.state.next({ disabled: z }), Jn(n, (_, I) => {
|
|
13216
|
+
const se = ie(n, I);
|
|
13223
13217
|
se && (_.disabled = se._f.disabled || z, Array.isArray(se._f.refs) && se._f.refs.forEach((re) => {
|
|
13224
13218
|
re.disabled = se._f.disabled || z;
|
|
13225
13219
|
}));
|
|
13226
13220
|
}, 0, !1));
|
|
13227
|
-
}, Le = (z, _) => async (
|
|
13221
|
+
}, Le = (z, _) => async (I) => {
|
|
13228
13222
|
let se;
|
|
13229
|
-
|
|
13223
|
+
I && (I.preventDefault && I.preventDefault(), I.persist && I.persist());
|
|
13230
13224
|
let re = qe(l);
|
|
13231
13225
|
if (m.state.next({
|
|
13232
13226
|
isSubmitting: !0
|
|
@@ -13243,12 +13237,12 @@ function Cv(t = {}) {
|
|
|
13243
13237
|
errors: {}
|
|
13244
13238
|
});
|
|
13245
13239
|
try {
|
|
13246
|
-
await z(re,
|
|
13240
|
+
await z(re, I);
|
|
13247
13241
|
} catch (X) {
|
|
13248
13242
|
se = X;
|
|
13249
13243
|
}
|
|
13250
13244
|
} else
|
|
13251
|
-
_ && await _({ ...a.errors },
|
|
13245
|
+
_ && await _({ ...a.errors }, I), Ae(), setTimeout(Ae);
|
|
13252
13246
|
if (m.state.next({
|
|
13253
13247
|
isSubmitted: !0,
|
|
13254
13248
|
isSubmitting: !1,
|
|
@@ -13260,8 +13254,8 @@ function Cv(t = {}) {
|
|
|
13260
13254
|
}, Lt = (z, _ = {}) => {
|
|
13261
13255
|
ie(n, z) && (Te(_.defaultValue) ? j(z, qe(ie(r, z))) : (j(z, _.defaultValue), _e(r, z, qe(_.defaultValue))), _.keepTouched || He(a.touchedFields, z), _.keepDirty || (He(a.dirtyFields, z), a.isDirty = _.defaultValue ? V(z, qe(ie(r, z))) : V()), _.keepError || (He(a.errors, z), u.isValid && y()), m.state.next({ ...a }));
|
|
13262
13256
|
}, Na = (z, _ = {}) => {
|
|
13263
|
-
const
|
|
13264
|
-
if (_.keepDefaultValues || (r =
|
|
13257
|
+
const I = z ? qe(z) : r, se = qe(I), re = st(z), X = re ? r : se;
|
|
13258
|
+
if (_.keepDefaultValues || (r = I), !_.keepValues) {
|
|
13265
13259
|
if (_.keepDirtyValues) {
|
|
13266
13260
|
const fe = /* @__PURE__ */ new Set([
|
|
13267
13261
|
...s.mount,
|
|
@@ -13316,7 +13310,7 @@ function Cv(t = {}) {
|
|
|
13316
13310
|
defaultValues: r
|
|
13317
13311
|
});
|
|
13318
13312
|
}, Ln = (z, _) => Na(ct(z) ? z(l) : z, { ...e.resetOptions, ..._ }), Pa = (z, _ = {}) => {
|
|
13319
|
-
const
|
|
13313
|
+
const I = ie(n, z), se = I && I._f;
|
|
13320
13314
|
if (se) {
|
|
13321
13315
|
const re = se.refs ? se.refs[0] : se.ref;
|
|
13322
13316
|
re.focus && setTimeout(() => {
|
|
@@ -13334,7 +13328,7 @@ function Cv(t = {}) {
|
|
|
13334
13328
|
unregister: ne,
|
|
13335
13329
|
getFieldState: A,
|
|
13336
13330
|
handleSubmit: Le,
|
|
13337
|
-
setError:
|
|
13331
|
+
setError: R,
|
|
13338
13332
|
_subscribe: Q,
|
|
13339
13333
|
_runSchema: O,
|
|
13340
13334
|
_updateIsValidating: $,
|
|
@@ -13401,7 +13395,7 @@ function Cv(t = {}) {
|
|
|
13401
13395
|
resetField: Lt,
|
|
13402
13396
|
clearErrors: N,
|
|
13403
13397
|
unregister: ne,
|
|
13404
|
-
setError:
|
|
13398
|
+
setError: R,
|
|
13405
13399
|
setFocus: Pa,
|
|
13406
13400
|
getFieldState: A
|
|
13407
13401
|
};
|
|
@@ -13577,7 +13571,7 @@ const zv = (t, e) => {
|
|
|
13577
13571
|
const n = t === "" ? e : Cu(e, t);
|
|
13578
13572
|
n.classGroupId = a;
|
|
13579
13573
|
}, Ov = (t, e, a, n) => {
|
|
13580
|
-
if (
|
|
13574
|
+
if (Rv(t)) {
|
|
13581
13575
|
Ds(t(n), e, a, n);
|
|
13582
13576
|
return;
|
|
13583
13577
|
}
|
|
@@ -13597,7 +13591,7 @@ const zv = (t, e) => {
|
|
|
13597
13591
|
s || (s = xu(), a.nextPart.set(o, s)), a = s;
|
|
13598
13592
|
}
|
|
13599
13593
|
return a;
|
|
13600
|
-
},
|
|
13594
|
+
}, Rv = (t) => "isThemeGetter" in t && t.isThemeGetter === !0, Iv = (t) => {
|
|
13601
13595
|
if (t < 1)
|
|
13602
13596
|
return {
|
|
13603
13597
|
get: () => {
|
|
@@ -13688,7 +13682,7 @@ const zv = (t, e) => {
|
|
|
13688
13682
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
13689
13683
|
};
|
|
13690
13684
|
}, Bv = (t) => ({
|
|
13691
|
-
cache:
|
|
13685
|
+
cache: Iv(t.cacheSize),
|
|
13692
13686
|
parseClassName: Lv(t),
|
|
13693
13687
|
sortModifiers: Hv(t),
|
|
13694
13688
|
...kv(t)
|
|
@@ -13810,7 +13804,7 @@ const zv = (t, e) => {
|
|
|
13810
13804
|
c,
|
|
13811
13805
|
ue,
|
|
13812
13806
|
ce
|
|
13813
|
-
],
|
|
13807
|
+
], R = () => ["", $e, Un, Oa], L = () => ["solid", "dashed", "dotted", "double"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], q = () => [$e, _l, T2, O2], ne = () => [
|
|
13814
13808
|
// Deprecated since Tailwind CSS v4.0.0
|
|
13815
13809
|
"",
|
|
13816
13810
|
"none",
|
|
@@ -14960,70 +14954,70 @@ const zv = (t, e) => {
|
|
|
14960
14954
|
* @see https://tailwindcss.com/docs/border-width
|
|
14961
14955
|
*/
|
|
14962
14956
|
"border-w": [{
|
|
14963
|
-
border:
|
|
14957
|
+
border: R()
|
|
14964
14958
|
}],
|
|
14965
14959
|
/**
|
|
14966
14960
|
* Border Width X
|
|
14967
14961
|
* @see https://tailwindcss.com/docs/border-width
|
|
14968
14962
|
*/
|
|
14969
14963
|
"border-w-x": [{
|
|
14970
|
-
"border-x":
|
|
14964
|
+
"border-x": R()
|
|
14971
14965
|
}],
|
|
14972
14966
|
/**
|
|
14973
14967
|
* Border Width Y
|
|
14974
14968
|
* @see https://tailwindcss.com/docs/border-width
|
|
14975
14969
|
*/
|
|
14976
14970
|
"border-w-y": [{
|
|
14977
|
-
"border-y":
|
|
14971
|
+
"border-y": R()
|
|
14978
14972
|
}],
|
|
14979
14973
|
/**
|
|
14980
14974
|
* Border Width Start
|
|
14981
14975
|
* @see https://tailwindcss.com/docs/border-width
|
|
14982
14976
|
*/
|
|
14983
14977
|
"border-w-s": [{
|
|
14984
|
-
"border-s":
|
|
14978
|
+
"border-s": R()
|
|
14985
14979
|
}],
|
|
14986
14980
|
/**
|
|
14987
14981
|
* Border Width End
|
|
14988
14982
|
* @see https://tailwindcss.com/docs/border-width
|
|
14989
14983
|
*/
|
|
14990
14984
|
"border-w-e": [{
|
|
14991
|
-
"border-e":
|
|
14985
|
+
"border-e": R()
|
|
14992
14986
|
}],
|
|
14993
14987
|
/**
|
|
14994
14988
|
* Border Width Top
|
|
14995
14989
|
* @see https://tailwindcss.com/docs/border-width
|
|
14996
14990
|
*/
|
|
14997
14991
|
"border-w-t": [{
|
|
14998
|
-
"border-t":
|
|
14992
|
+
"border-t": R()
|
|
14999
14993
|
}],
|
|
15000
14994
|
/**
|
|
15001
14995
|
* Border Width Right
|
|
15002
14996
|
* @see https://tailwindcss.com/docs/border-width
|
|
15003
14997
|
*/
|
|
15004
14998
|
"border-w-r": [{
|
|
15005
|
-
"border-r":
|
|
14999
|
+
"border-r": R()
|
|
15006
15000
|
}],
|
|
15007
15001
|
/**
|
|
15008
15002
|
* Border Width Bottom
|
|
15009
15003
|
* @see https://tailwindcss.com/docs/border-width
|
|
15010
15004
|
*/
|
|
15011
15005
|
"border-w-b": [{
|
|
15012
|
-
"border-b":
|
|
15006
|
+
"border-b": R()
|
|
15013
15007
|
}],
|
|
15014
15008
|
/**
|
|
15015
15009
|
* Border Width Left
|
|
15016
15010
|
* @see https://tailwindcss.com/docs/border-width
|
|
15017
15011
|
*/
|
|
15018
15012
|
"border-w-l": [{
|
|
15019
|
-
"border-l":
|
|
15013
|
+
"border-l": R()
|
|
15020
15014
|
}],
|
|
15021
15015
|
/**
|
|
15022
15016
|
* Divide Width X
|
|
15023
15017
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
15024
15018
|
*/
|
|
15025
15019
|
"divide-x": [{
|
|
15026
|
-
"divide-x":
|
|
15020
|
+
"divide-x": R()
|
|
15027
15021
|
}],
|
|
15028
15022
|
/**
|
|
15029
15023
|
* Divide Width X Reverse
|
|
@@ -15035,7 +15029,7 @@ const zv = (t, e) => {
|
|
|
15035
15029
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
15036
15030
|
*/
|
|
15037
15031
|
"divide-y": [{
|
|
15038
|
-
"divide-y":
|
|
15032
|
+
"divide-y": R()
|
|
15039
15033
|
}],
|
|
15040
15034
|
/**
|
|
15041
15035
|
* Divide Width Y Reverse
|
|
@@ -15197,7 +15191,7 @@ const zv = (t, e) => {
|
|
|
15197
15191
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
15198
15192
|
*/
|
|
15199
15193
|
"ring-w": [{
|
|
15200
|
-
ring:
|
|
15194
|
+
ring: R()
|
|
15201
15195
|
}],
|
|
15202
15196
|
/**
|
|
15203
15197
|
* Ring Width Inset
|
|
@@ -15236,7 +15230,7 @@ const zv = (t, e) => {
|
|
|
15236
15230
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
15237
15231
|
*/
|
|
15238
15232
|
"inset-ring-w": [{
|
|
15239
|
-
"inset-ring":
|
|
15233
|
+
"inset-ring": R()
|
|
15240
15234
|
}],
|
|
15241
15235
|
/**
|
|
15242
15236
|
* Inset Ring Color
|
|
@@ -16301,12 +16295,12 @@ function Tu({
|
|
|
16301
16295
|
}
|
|
16302
16296
|
);
|
|
16303
16297
|
}
|
|
16304
|
-
const
|
|
16298
|
+
const Ru = ov, Iu = g.createContext(
|
|
16305
16299
|
{}
|
|
16306
16300
|
), Ls = ({
|
|
16307
16301
|
...t
|
|
16308
|
-
}) => /* @__PURE__ */ f(
|
|
16309
|
-
const t = g.useContext(
|
|
16302
|
+
}) => /* @__PURE__ */ f(Iu.Provider, { value: { name: t.name }, children: /* @__PURE__ */ f(cv, { ...t }) }), Hs = () => {
|
|
16303
|
+
const t = g.useContext(Iu), e = g.useContext(Du), { getFieldState: a } = Ua(), n = hu({ name: t.name }), r = a(t.name, n);
|
|
16310
16304
|
if (!t)
|
|
16311
16305
|
throw new Error("useFormField should be used within <FormField>");
|
|
16312
16306
|
const { id: l } = e;
|
|
@@ -16428,13 +16422,13 @@ const xr = g.forwardRef(
|
|
|
16428
16422
|
}
|
|
16429
16423
|
);
|
|
16430
16424
|
xr.displayName = "FloatingLabel";
|
|
16431
|
-
const
|
|
16425
|
+
const R2 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, I2 = jt, gg = (t, e) => (a) => {
|
|
16432
16426
|
var n;
|
|
16433
|
-
if (e?.variants == null) return
|
|
16427
|
+
if (e?.variants == null) return I2(t, a?.class, a?.className);
|
|
16434
16428
|
const { variants: r, defaultVariants: l } = e, o = Object.keys(r).map((c) => {
|
|
16435
16429
|
const h = a?.[c], u = l?.[c];
|
|
16436
16430
|
if (h === null) return null;
|
|
16437
|
-
const p =
|
|
16431
|
+
const p = R2(h) || R2(u);
|
|
16438
16432
|
return r[c][p];
|
|
16439
16433
|
}), s = a && Object.entries(a).reduce((c, h) => {
|
|
16440
16434
|
let [u, p] = h;
|
|
@@ -16456,7 +16450,7 @@ const I2 = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, R2 = jt, g
|
|
|
16456
16450
|
p
|
|
16457
16451
|
] : c;
|
|
16458
16452
|
}, []);
|
|
16459
|
-
return
|
|
16453
|
+
return I2(t, o, d, a?.class, a?.className);
|
|
16460
16454
|
}, yg = gg(
|
|
16461
16455
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
16462
16456
|
{
|
|
@@ -16503,12 +16497,12 @@ function Ct({
|
|
|
16503
16497
|
}
|
|
16504
16498
|
);
|
|
16505
16499
|
}
|
|
16506
|
-
var D2 = 1, bg = 0.9, wg = 0.8, Eg = 0.17, Tl = 0.1,
|
|
16500
|
+
var D2 = 1, bg = 0.9, wg = 0.8, Eg = 0.17, Tl = 0.1, Rl = 0.999, xg = 0.9999, $g = 0.99, Cg = /[\\\/_+.#"@\[\(\{&]/, zg = /[\\\/_+.#"@\[\(\{&]/g, Sg = /[\s-]/, Lu = /[\s-]/g;
|
|
16507
16501
|
function Qo(t, e, a, n, r, l, o) {
|
|
16508
16502
|
if (l === e.length) return r === t.length ? D2 : $g;
|
|
16509
16503
|
var s = `${r},${l}`;
|
|
16510
16504
|
if (o[s] !== void 0) return o[s];
|
|
16511
|
-
for (var d = n.charAt(l), c = a.indexOf(d, r), h = 0, u, p, m, b; c >= 0; ) u = Qo(t, e, a, n, c + 1, l + 1, o), u > h && (c === r ? u *= D2 : Cg.test(t.charAt(c - 1)) ? (u *= wg, m = t.slice(r, c - 1).match(zg), m && r > 0 && (u *= Math.pow(
|
|
16505
|
+
for (var d = n.charAt(l), c = a.indexOf(d, r), h = 0, u, p, m, b; c >= 0; ) u = Qo(t, e, a, n, c + 1, l + 1, o), u > h && (c === r ? u *= D2 : Cg.test(t.charAt(c - 1)) ? (u *= wg, m = t.slice(r, c - 1).match(zg), m && r > 0 && (u *= Math.pow(Rl, m.length))) : Sg.test(t.charAt(c - 1)) ? (u *= bg, b = t.slice(r, c - 1).match(Lu), b && r > 0 && (u *= Math.pow(Rl, b.length))) : (u *= Eg, r > 0 && (u *= Math.pow(Rl, c - r))), t.charAt(c) !== e.charAt(l) && (u *= xg)), (u < Tl && a.charAt(c - 1) === n.charAt(l + 1) || n.charAt(l + 1) === n.charAt(l) && a.charAt(c - 1) !== n.charAt(l)) && (p = Qo(t, e, a, n, c + 1, l + 2, o), p * Tl > u && (u = p * Tl)), u > h && (h = u), c = a.indexOf(d, c + 1);
|
|
16512
16506
|
return o[s] = h, h;
|
|
16513
16507
|
}
|
|
16514
16508
|
function L2(t) {
|
|
@@ -16644,7 +16638,7 @@ function Og(t) {
|
|
|
16644
16638
|
// @__NO_SIDE_EFFECTS__
|
|
16645
16639
|
function Vs(t) {
|
|
16646
16640
|
const e = /* @__PURE__ */ Tg(t), a = g.forwardRef((n, r) => {
|
|
16647
|
-
const { children: l, ...o } = n, s = g.Children.toArray(l), d = s.find(
|
|
16641
|
+
const { children: l, ...o } = n, s = g.Children.toArray(l), d = s.find(Ig);
|
|
16648
16642
|
if (d) {
|
|
16649
16643
|
const c = d.props.children, h = s.map((u) => u === d ? g.Children.count(c) > 1 ? g.Children.only(null) : g.isValidElement(c) ? c.props.children : null : u);
|
|
16650
16644
|
return /* @__PURE__ */ f(e, { ...o, ref: r, children: g.isValidElement(c) ? g.cloneElement(c, void 0, h) : null });
|
|
@@ -16665,9 +16659,9 @@ function Tg(t) {
|
|
|
16665
16659
|
});
|
|
16666
16660
|
return e.displayName = `${t}.SlotClone`, e;
|
|
16667
16661
|
}
|
|
16668
|
-
var
|
|
16669
|
-
function
|
|
16670
|
-
return g.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId ===
|
|
16662
|
+
var Rg = /* @__PURE__ */ Symbol("radix.slottable");
|
|
16663
|
+
function Ig(t) {
|
|
16664
|
+
return g.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Rg;
|
|
16671
16665
|
}
|
|
16672
16666
|
function Dg(t, e) {
|
|
16673
16667
|
const a = { ...e };
|
|
@@ -16843,7 +16837,7 @@ function ju(t, e, a, { discrete: n }) {
|
|
|
16843
16837
|
const r = a.originalEvent.target, l = new CustomEvent(t, { bubbles: !1, cancelable: !0, detail: a });
|
|
16844
16838
|
e && r.addEventListener(t, e, { once: !0 }), n ? Bg(r, l) : r.dispatchEvent(l);
|
|
16845
16839
|
}
|
|
16846
|
-
var
|
|
16840
|
+
var Il = "focusScope.autoFocusOnMount", Dl = "focusScope.autoFocusOnUnmount", j2 = { bubbles: !1, cancelable: !0 }, Yg = "FocusScope", Gs = g.forwardRef((t, e) => {
|
|
16847
16841
|
const {
|
|
16848
16842
|
loop: a = !1,
|
|
16849
16843
|
trapped: n = !1,
|
|
@@ -16885,11 +16879,11 @@ var Rl = "focusScope.autoFocusOnMount", Dl = "focusScope.autoFocusOnUnmount", j2
|
|
|
16885
16879
|
U2.add(m);
|
|
16886
16880
|
const v = document.activeElement;
|
|
16887
16881
|
if (!s.contains(v)) {
|
|
16888
|
-
const $ = new CustomEvent(
|
|
16889
|
-
s.addEventListener(
|
|
16882
|
+
const $ = new CustomEvent(Il, j2);
|
|
16883
|
+
s.addEventListener(Il, c), s.dispatchEvent($), $.defaultPrevented || (Xg(ay(Vu(s)), { select: !0 }), document.activeElement === v && ga(s));
|
|
16890
16884
|
}
|
|
16891
16885
|
return () => {
|
|
16892
|
-
s.removeEventListener(
|
|
16886
|
+
s.removeEventListener(Il, c), setTimeout(() => {
|
|
16893
16887
|
const $ = new CustomEvent(Dl, j2);
|
|
16894
16888
|
s.addEventListener(Dl, h), s.dispatchEvent($), $.defaultPrevented || ga(v ?? document.body, { select: !0 }), s.removeEventListener(Dl, h), U2.remove(m);
|
|
16895
16889
|
}, 0);
|
|
@@ -17406,7 +17400,7 @@ var nn = ts ? { passive: !1 } : !1, Ny = function(t) {
|
|
|
17406
17400
|
return t === "v" ? _y(e) : Oy(e);
|
|
17407
17401
|
}, Ty = function(t, e) {
|
|
17408
17402
|
return t === "h" && e === "rtl" ? -1 : 1;
|
|
17409
|
-
},
|
|
17403
|
+
}, Ry = function(t, e, a, n, r) {
|
|
17410
17404
|
var l = Ty(t, window.getComputedStyle(e).direction), o = l * n, s = a.target, d = e.contains(s), c = !1, h = o > 0, u = 0, p = 0;
|
|
17411
17405
|
do {
|
|
17412
17406
|
if (!s)
|
|
@@ -17427,7 +17421,7 @@ var nn = ts ? { passive: !1 } : !1, Ny = function(t) {
|
|
|
17427
17421
|
return [t.deltaX, t.deltaY];
|
|
17428
17422
|
}, X2 = function(t) {
|
|
17429
17423
|
return t && "current" in t ? t.current : t;
|
|
17430
|
-
},
|
|
17424
|
+
}, Iy = function(t, e) {
|
|
17431
17425
|
return t[0] === e[0] && t[1] === e[1];
|
|
17432
17426
|
}, Dy = function(t) {
|
|
17433
17427
|
return `
|
|
@@ -17469,12 +17463,12 @@ function Hy(t) {
|
|
|
17469
17463
|
if (!n.current && "changedTouches" in v && (k || S) && (n.current = x), !x)
|
|
17470
17464
|
return !0;
|
|
17471
17465
|
var V = n.current || x;
|
|
17472
|
-
return
|
|
17466
|
+
return Ry(V, y, v, V === "h" ? k : S);
|
|
17473
17467
|
}, []), d = g.useCallback(function(v) {
|
|
17474
17468
|
var y = v;
|
|
17475
17469
|
if (!(!rn.length || rn[rn.length - 1] !== l)) {
|
|
17476
17470
|
var $ = "deltaY" in y ? Y2(y) : Ur(y), C = e.current.filter(function(x) {
|
|
17477
|
-
return x.name === y.type && (x.target === y.target || y.target === x.shadowParent) &&
|
|
17471
|
+
return x.name === y.type && (x.target === y.target || y.target === x.shadowParent) && Iy(x.delta, $);
|
|
17478
17472
|
})[0];
|
|
17479
17473
|
if (C && C.should) {
|
|
17480
17474
|
y.cancelable && y.preventDefault();
|
|
@@ -17812,7 +17806,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17812
17806
|
}, [h]), ja(() => {
|
|
17813
17807
|
M(6, G);
|
|
17814
17808
|
}, []);
|
|
17815
|
-
let F = g.useMemo(() => ({ subscribe: (A) => (o.current.add(A), () => o.current.delete(A)), snapshot: () => a.current, setState: (A, N,
|
|
17809
|
+
let F = g.useMemo(() => ({ subscribe: (A) => (o.current.add(A), () => o.current.delete(A)), snapshot: () => a.current, setState: (A, N, R) => {
|
|
17816
17810
|
var L, Q, q, ne;
|
|
17817
17811
|
if (!Object.is(a.current[A], N)) {
|
|
17818
17812
|
if (a.current[A] = N, A === "search") V(), Z(), M(1, te);
|
|
@@ -17824,7 +17818,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17824
17818
|
if (M(7, () => {
|
|
17825
17819
|
var pe;
|
|
17826
17820
|
a.current.selectedItemId = (pe = W()) == null ? void 0 : pe.id, F.emit();
|
|
17827
|
-
}),
|
|
17821
|
+
}), R || M(5, G), ((Q = s.current) == null ? void 0 : Q.value) !== void 0) {
|
|
17828
17822
|
let pe = N ?? "";
|
|
17829
17823
|
(ne = (q = s.current).onValueChange) == null || ne.call(q, pe);
|
|
17830
17824
|
return;
|
|
@@ -17834,25 +17828,25 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17834
17828
|
}
|
|
17835
17829
|
}, emit: () => {
|
|
17836
17830
|
o.current.forEach((A) => A());
|
|
17837
|
-
} }), []), O = g.useMemo(() => ({ value: (A, N,
|
|
17831
|
+
} }), []), O = g.useMemo(() => ({ value: (A, N, R) => {
|
|
17838
17832
|
var L;
|
|
17839
|
-
N !== ((L = l.current.get(A)) == null ? void 0 : L.value) && (l.current.set(A, { value: N, keywords:
|
|
17833
|
+
N !== ((L = l.current.get(A)) == null ? void 0 : L.value) && (l.current.set(A, { value: N, keywords: R }), a.current.filtered.items.set(A, D(N, R)), M(2, () => {
|
|
17840
17834
|
Z(), F.emit();
|
|
17841
17835
|
}));
|
|
17842
17836
|
}, item: (A, N) => (n.current.add(A), N && (r.current.has(N) ? r.current.get(N).add(A) : r.current.set(N, /* @__PURE__ */ new Set([A]))), M(3, () => {
|
|
17843
17837
|
V(), Z(), a.current.value || te(), F.emit();
|
|
17844
17838
|
}), () => {
|
|
17845
17839
|
l.current.delete(A), n.current.delete(A), a.current.filtered.items.delete(A);
|
|
17846
|
-
let
|
|
17840
|
+
let R = W();
|
|
17847
17841
|
M(4, () => {
|
|
17848
|
-
V(),
|
|
17842
|
+
V(), R?.getAttribute("id") === A && te(), F.emit();
|
|
17849
17843
|
});
|
|
17850
17844
|
}), group: (A) => (r.current.has(A) || r.current.set(A, /* @__PURE__ */ new Set()), () => {
|
|
17851
17845
|
l.current.delete(A), r.current.delete(A);
|
|
17852
17846
|
}), filter: () => s.current.shouldFilter, label: d || t["aria-label"], getDisablePointerSelection: () => s.current.disablePointerSelection, listId: C, inputId: S, labelId: k, listInnerRef: x }), []);
|
|
17853
17847
|
function D(A, N) {
|
|
17854
|
-
var
|
|
17855
|
-
let Q = (L = (
|
|
17848
|
+
var R, L;
|
|
17849
|
+
let Q = (L = (R = s.current) == null ? void 0 : R.filter) != null ? L : cb;
|
|
17856
17850
|
return A ? Q(A, a.current.search, N) : 0;
|
|
17857
17851
|
}
|
|
17858
17852
|
function Z() {
|
|
@@ -17865,14 +17859,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17865
17859
|
q = Math.max(pe, q);
|
|
17866
17860
|
}), N.push([L, q]);
|
|
17867
17861
|
});
|
|
17868
|
-
let
|
|
17862
|
+
let R = x.current;
|
|
17869
17863
|
Y().sort((L, Q) => {
|
|
17870
17864
|
var q, ne;
|
|
17871
17865
|
let pe = L.getAttribute("id"), ve = Q.getAttribute("id");
|
|
17872
17866
|
return ((q = A.get(ve)) != null ? q : 0) - ((ne = A.get(pe)) != null ? ne : 0);
|
|
17873
17867
|
}).forEach((L) => {
|
|
17874
17868
|
let Q = L.closest(Ul);
|
|
17875
|
-
Q ? Q.appendChild(L.parentElement === Q ? L : L.closest(`${Ul} > *`)) :
|
|
17869
|
+
Q ? Q.appendChild(L.parentElement === Q ? L : L.closest(`${Ul} > *`)) : R.appendChild(L.parentElement === R ? L : L.closest(`${Ul} > *`));
|
|
17876
17870
|
}), N.sort((L, Q) => Q[1] - L[1]).forEach((L) => {
|
|
17877
17871
|
var Q;
|
|
17878
17872
|
let q = (Q = x.current) == null ? void 0 : Q.querySelector(`${Gn}[${cn}="${encodeURIComponent(L[0])}"]`);
|
|
@@ -17880,11 +17874,11 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17880
17874
|
});
|
|
17881
17875
|
}
|
|
17882
17876
|
function te() {
|
|
17883
|
-
let A = Y().find((
|
|
17877
|
+
let A = Y().find((R) => R.getAttribute("aria-disabled") !== "true"), N = A?.getAttribute(cn);
|
|
17884
17878
|
F.setState("value", N || void 0);
|
|
17885
17879
|
}
|
|
17886
17880
|
function V() {
|
|
17887
|
-
var A, N,
|
|
17881
|
+
var A, N, R, L;
|
|
17888
17882
|
if (!a.current.search || s.current.shouldFilter === !1) {
|
|
17889
17883
|
a.current.filtered.count = n.current.size;
|
|
17890
17884
|
return;
|
|
@@ -17892,7 +17886,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17892
17886
|
a.current.filtered.groups = /* @__PURE__ */ new Set();
|
|
17893
17887
|
let Q = 0;
|
|
17894
17888
|
for (let q of n.current) {
|
|
17895
|
-
let ne = (N = (A = l.current.get(q)) == null ? void 0 : A.value) != null ? N : "", pe = (L = (
|
|
17889
|
+
let ne = (N = (A = l.current.get(q)) == null ? void 0 : A.value) != null ? N : "", pe = (L = (R = l.current.get(q)) == null ? void 0 : R.keywords) != null ? L : [], ve = D(ne, pe);
|
|
17896
17890
|
a.current.filtered.items.set(q, ve), ve > 0 && Q++;
|
|
17897
17891
|
}
|
|
17898
17892
|
for (let [q, ne] of r.current) for (let pe of ne) if (a.current.filtered.items.get(pe) > 0) {
|
|
@@ -17902,9 +17896,9 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17902
17896
|
a.current.filtered.count = Q;
|
|
17903
17897
|
}
|
|
17904
17898
|
function G() {
|
|
17905
|
-
var A, N,
|
|
17899
|
+
var A, N, R;
|
|
17906
17900
|
let L = W();
|
|
17907
|
-
L && (((A = L.parentElement) == null ? void 0 : A.firstChild) === L && ((
|
|
17901
|
+
L && (((A = L.parentElement) == null ? void 0 : A.firstChild) === L && ((R = (N = L.closest(Gn)) == null ? void 0 : N.querySelector(db)) == null || R.scrollIntoView({ block: "nearest" })), L.scrollIntoView({ block: "nearest" }));
|
|
17908
17902
|
}
|
|
17909
17903
|
function W() {
|
|
17910
17904
|
var A;
|
|
@@ -17920,12 +17914,12 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17920
17914
|
}
|
|
17921
17915
|
function j(A) {
|
|
17922
17916
|
var N;
|
|
17923
|
-
let
|
|
17917
|
+
let R = W(), L = Y(), Q = L.findIndex((ne) => ne === R), q = L[Q + A];
|
|
17924
17918
|
(N = s.current) != null && N.loop && (q = Q + A < 0 ? L[L.length - 1] : Q + A === L.length ? L[0] : L[Q + A]), q && F.setState("value", q.getAttribute(cn));
|
|
17925
17919
|
}
|
|
17926
17920
|
function B(A) {
|
|
17927
|
-
let N = W(),
|
|
17928
|
-
for (;
|
|
17921
|
+
let N = W(), R = N?.closest(Gn), L;
|
|
17922
|
+
for (; R && !L; ) R = A > 0 ? bb(R, Gn) : wb(R, Gn), L = R?.querySelector(J2);
|
|
17929
17923
|
L ? F.setState("value", L.getAttribute(cn)) : j(A);
|
|
17930
17924
|
}
|
|
17931
17925
|
let oe = () => H(Y().length - 1), P = (A) => {
|
|
@@ -17936,8 +17930,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do
|
|
|
17936
17930
|
return g.createElement(pa.div, { ref: e, tabIndex: -1, ...$, "cmdk-root": "", onKeyDown: (A) => {
|
|
17937
17931
|
var N;
|
|
17938
17932
|
(N = $.onKeyDown) == null || N.call($, A);
|
|
17939
|
-
let
|
|
17940
|
-
if (!(A.defaultPrevented ||
|
|
17933
|
+
let R = A.nativeEvent.isComposing || A.keyCode === 229;
|
|
17934
|
+
if (!(A.defaultPrevented || R)) switch (A.key) {
|
|
17941
17935
|
case "n":
|
|
17942
17936
|
case "j": {
|
|
17943
17937
|
y && A.ctrlKey && P(A);
|
|
@@ -18453,7 +18447,7 @@ async function gr(t, e) {
|
|
|
18453
18447
|
right: (x.right - $.right + b.right) / S.x
|
|
18454
18448
|
};
|
|
18455
18449
|
}
|
|
18456
|
-
const
|
|
18450
|
+
const Rb = (t) => ({
|
|
18457
18451
|
name: "arrow",
|
|
18458
18452
|
options: t,
|
|
18459
18453
|
async fn(e) {
|
|
@@ -18490,7 +18484,7 @@ const Ib = (t) => ({
|
|
|
18490
18484
|
reset: H
|
|
18491
18485
|
};
|
|
18492
18486
|
}
|
|
18493
|
-
}),
|
|
18487
|
+
}), Ib = function(t) {
|
|
18494
18488
|
return t === void 0 && (t = {}), {
|
|
18495
18489
|
name: "flip",
|
|
18496
18490
|
options: t,
|
|
@@ -18830,7 +18824,7 @@ function Qt(t) {
|
|
|
18830
18824
|
function M3(t) {
|
|
18831
18825
|
return Ji() ? t instanceof Node || t instanceof Et(t).Node : !1;
|
|
18832
18826
|
}
|
|
18833
|
-
function
|
|
18827
|
+
function Rt(t) {
|
|
18834
18828
|
return Ji() ? t instanceof Element || t instanceof Et(t).Element : !1;
|
|
18835
18829
|
}
|
|
18836
18830
|
function Xt(t) {
|
|
@@ -18846,7 +18840,7 @@ function Cr(t) {
|
|
|
18846
18840
|
overflowX: a,
|
|
18847
18841
|
overflowY: n,
|
|
18848
18842
|
display: r
|
|
18849
|
-
} =
|
|
18843
|
+
} = It(t);
|
|
18850
18844
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + a) && !Ub.has(r);
|
|
18851
18845
|
}
|
|
18852
18846
|
const Gb = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
@@ -18865,7 +18859,7 @@ function Qi(t) {
|
|
|
18865
18859
|
}
|
|
18866
18860
|
const qb = ["transform", "translate", "scale", "rotate", "perspective"], Zb = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Yb = ["paint", "layout", "strict", "content"];
|
|
18867
18861
|
function t1(t) {
|
|
18868
|
-
const e = a1(), a =
|
|
18862
|
+
const e = a1(), a = Rt(t) ? It(t) : t;
|
|
18869
18863
|
return qb.some((n) => a[n] ? a[n] !== "none" : !1) || (a.containerType ? a.containerType !== "normal" : !1) || !e && (a.backdropFilter ? a.backdropFilter !== "none" : !1) || !e && (a.filter ? a.filter !== "none" : !1) || Zb.some((n) => (a.willChange || "").includes(n)) || Yb.some((n) => (a.contain || "").includes(n));
|
|
18870
18864
|
}
|
|
18871
18865
|
function Xb(t) {
|
|
@@ -18886,11 +18880,11 @@ const Jb = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
|
18886
18880
|
function zn(t) {
|
|
18887
18881
|
return Jb.has(Tn(t));
|
|
18888
18882
|
}
|
|
18889
|
-
function
|
|
18883
|
+
function It(t) {
|
|
18890
18884
|
return Et(t).getComputedStyle(t);
|
|
18891
18885
|
}
|
|
18892
18886
|
function el(t) {
|
|
18893
|
-
return
|
|
18887
|
+
return Rt(t) ? {
|
|
18894
18888
|
scrollLeft: t.scrollLeft,
|
|
18895
18889
|
scrollTop: t.scrollTop
|
|
18896
18890
|
} : {
|
|
@@ -18928,7 +18922,7 @@ function is(t) {
|
|
|
18928
18922
|
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
18929
18923
|
}
|
|
18930
18924
|
function F3(t) {
|
|
18931
|
-
const e =
|
|
18925
|
+
const e = It(t);
|
|
18932
18926
|
let a = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
18933
18927
|
const r = Xt(t), l = r ? t.offsetWidth : a, o = r ? t.offsetHeight : n, s = Mi(a) !== l || Mi(n) !== o;
|
|
18934
18928
|
return s && (a = l, n = o), {
|
|
@@ -18938,7 +18932,7 @@ function F3(t) {
|
|
|
18938
18932
|
};
|
|
18939
18933
|
}
|
|
18940
18934
|
function n1(t) {
|
|
18941
|
-
return
|
|
18935
|
+
return Rt(t) ? t : t.contextElement;
|
|
18942
18936
|
}
|
|
18943
18937
|
function vn(t) {
|
|
18944
18938
|
const e = n1(t);
|
|
@@ -18970,14 +18964,14 @@ function Va(t, e, a, n) {
|
|
|
18970
18964
|
e === void 0 && (e = !1), a === void 0 && (a = !1);
|
|
18971
18965
|
const r = t.getBoundingClientRect(), l = n1(t);
|
|
18972
18966
|
let o = Zt(1);
|
|
18973
|
-
e && (n ?
|
|
18967
|
+
e && (n ? Rt(n) && (o = vn(n)) : o = vn(t));
|
|
18974
18968
|
const s = ew(l, a, n) ? N3(l) : Zt(0);
|
|
18975
18969
|
let d = (r.left + s.x) / o.x, c = (r.top + s.y) / o.y, h = r.width / o.x, u = r.height / o.y;
|
|
18976
18970
|
if (l) {
|
|
18977
|
-
const p = Et(l), m = n &&
|
|
18971
|
+
const p = Et(l), m = n && Rt(n) ? Et(n) : n;
|
|
18978
18972
|
let b = p, v = is(b);
|
|
18979
18973
|
for (; v && n && m !== b; ) {
|
|
18980
|
-
const y = vn(v), $ = v.getBoundingClientRect(), C =
|
|
18974
|
+
const y = vn(v), $ = v.getBoundingClientRect(), C = It(v), k = $.left + (v.clientLeft + parseFloat(C.paddingLeft)) * y.x, S = $.top + (v.clientTop + parseFloat(C.paddingTop)) * y.y;
|
|
18981
18975
|
d *= y.x, c *= y.y, h *= y.x, u *= y.y, d += k, c += S, b = Et(v), v = is(b);
|
|
18982
18976
|
}
|
|
18983
18977
|
}
|
|
@@ -19033,7 +19027,7 @@ function nw(t) {
|
|
|
19033
19027
|
const e = Qt(t), a = el(t), n = t.ownerDocument.body, r = yt(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), l = yt(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
19034
19028
|
let o = -a.scrollLeft + tl(t);
|
|
19035
19029
|
const s = -a.scrollTop;
|
|
19036
|
-
return
|
|
19030
|
+
return It(n).direction === "rtl" && (o += yt(e.clientWidth, n.clientWidth) - r), {
|
|
19037
19031
|
width: r,
|
|
19038
19032
|
height: l,
|
|
19039
19033
|
x: o,
|
|
@@ -19077,7 +19071,7 @@ function lc(t, e, a) {
|
|
|
19077
19071
|
n = rw(t, a);
|
|
19078
19072
|
else if (e === "document")
|
|
19079
19073
|
n = nw(Qt(t));
|
|
19080
|
-
else if (
|
|
19074
|
+
else if (Rt(e))
|
|
19081
19075
|
n = lw(e, a);
|
|
19082
19076
|
else {
|
|
19083
19077
|
const r = N3(t);
|
|
@@ -19092,17 +19086,17 @@ function lc(t, e, a) {
|
|
|
19092
19086
|
}
|
|
19093
19087
|
function A3(t, e) {
|
|
19094
19088
|
const a = Sa(t);
|
|
19095
|
-
return a === e || !
|
|
19089
|
+
return a === e || !Rt(a) || zn(a) ? !1 : It(a).position === "fixed" || A3(a, e);
|
|
19096
19090
|
}
|
|
19097
19091
|
function ow(t, e) {
|
|
19098
19092
|
const a = e.get(t);
|
|
19099
19093
|
if (a)
|
|
19100
19094
|
return a;
|
|
19101
|
-
let n = yr(t, [], !1).filter((s) =>
|
|
19102
|
-
const l =
|
|
19095
|
+
let n = yr(t, [], !1).filter((s) => Rt(s) && Tn(s) !== "body"), r = null;
|
|
19096
|
+
const l = It(t).position === "fixed";
|
|
19103
19097
|
let o = l ? Sa(t) : t;
|
|
19104
|
-
for (;
|
|
19105
|
-
const s =
|
|
19098
|
+
for (; Rt(o) && !zn(o); ) {
|
|
19099
|
+
const s = It(o), d = t1(o);
|
|
19106
19100
|
!d && s.position === "fixed" && (r = null), (l ? !d && !r : !d && s.position === "static" && !!r && iw.has(r.position) || Cr(o) && !d && A3(t, o)) ? n = n.filter((h) => h !== o) : r = s, o = Sa(o);
|
|
19107
19101
|
}
|
|
19108
19102
|
return e.set(t, n), n;
|
|
@@ -19160,10 +19154,10 @@ function cw(t, e, a) {
|
|
|
19160
19154
|
};
|
|
19161
19155
|
}
|
|
19162
19156
|
function Gl(t) {
|
|
19163
|
-
return
|
|
19157
|
+
return It(t).position === "static";
|
|
19164
19158
|
}
|
|
19165
19159
|
function oc(t, e) {
|
|
19166
|
-
if (!Xt(t) ||
|
|
19160
|
+
if (!Xt(t) || It(t).position === "fixed")
|
|
19167
19161
|
return null;
|
|
19168
19162
|
if (e)
|
|
19169
19163
|
return e(t);
|
|
@@ -19177,7 +19171,7 @@ function _3(t, e) {
|
|
|
19177
19171
|
if (!Xt(t)) {
|
|
19178
19172
|
let r = Sa(t);
|
|
19179
19173
|
for (; r && !zn(r); ) {
|
|
19180
|
-
if (
|
|
19174
|
+
if (Rt(r) && !Gl(r))
|
|
19181
19175
|
return r;
|
|
19182
19176
|
r = Sa(r);
|
|
19183
19177
|
}
|
|
@@ -19201,7 +19195,7 @@ const uw = async function(t) {
|
|
|
19201
19195
|
};
|
|
19202
19196
|
};
|
|
19203
19197
|
function hw(t) {
|
|
19204
|
-
return
|
|
19198
|
+
return It(t).direction === "rtl";
|
|
19205
19199
|
}
|
|
19206
19200
|
const pw = {
|
|
19207
19201
|
convertOffsetParentRelativeRectToViewportRelativeRect: tw,
|
|
@@ -19212,7 +19206,7 @@ const pw = {
|
|
|
19212
19206
|
getClientRects: aw,
|
|
19213
19207
|
getDimensions: dw,
|
|
19214
19208
|
getScale: vn,
|
|
19215
|
-
isElement:
|
|
19209
|
+
isElement: Rt,
|
|
19216
19210
|
isRTL: hw
|
|
19217
19211
|
};
|
|
19218
19212
|
function O3(t, e) {
|
|
@@ -19300,7 +19294,7 @@ function fw(t, e, a, n) {
|
|
|
19300
19294
|
}), u?.(), ($ = m) == null || $.disconnect(), m = null, d && cancelAnimationFrame(b);
|
|
19301
19295
|
};
|
|
19302
19296
|
}
|
|
19303
|
-
const vw = Hb, gw = Bb, yw =
|
|
19297
|
+
const vw = Hb, gw = Bb, yw = Ib, bw = Vb, ww = Db, sc = Rb, Ew = jb, xw = (t, e, a) => {
|
|
19304
19298
|
const n = /* @__PURE__ */ new Map(), r = {
|
|
19305
19299
|
platform: pw,
|
|
19306
19300
|
...a
|
|
@@ -19503,7 +19497,7 @@ const Sw = (t) => {
|
|
|
19503
19497
|
...Sw(t),
|
|
19504
19498
|
options: [t, e]
|
|
19505
19499
|
});
|
|
19506
|
-
var Ow = "Arrow",
|
|
19500
|
+
var Ow = "Arrow", R3 = g.forwardRef((t, e) => {
|
|
19507
19501
|
const { children: a, width: n = 10, height: r = 5, ...l } = t;
|
|
19508
19502
|
return /* @__PURE__ */ f(
|
|
19509
19503
|
Ze.svg,
|
|
@@ -19518,9 +19512,9 @@ var Ow = "Arrow", I3 = g.forwardRef((t, e) => {
|
|
|
19518
19512
|
}
|
|
19519
19513
|
);
|
|
19520
19514
|
});
|
|
19521
|
-
|
|
19522
|
-
var Tw =
|
|
19523
|
-
function
|
|
19515
|
+
R3.displayName = Ow;
|
|
19516
|
+
var Tw = R3;
|
|
19517
|
+
function Rw(t) {
|
|
19524
19518
|
const [e, a] = g.useState(void 0);
|
|
19525
19519
|
return da(() => {
|
|
19526
19520
|
if (t) {
|
|
@@ -19542,9 +19536,9 @@ function Iw(t) {
|
|
|
19542
19536
|
a(void 0);
|
|
19543
19537
|
}, [t]), e;
|
|
19544
19538
|
}
|
|
19545
|
-
var r1 = "Popper", [
|
|
19539
|
+
var r1 = "Popper", [I3, D3] = qi(r1), [Iw, L3] = I3(r1), H3 = (t) => {
|
|
19546
19540
|
const { __scopePopper: e, children: a } = t, [n, r] = g.useState(null);
|
|
19547
|
-
return /* @__PURE__ */ f(
|
|
19541
|
+
return /* @__PURE__ */ f(Iw, { scope: e, anchor: n, onAnchorChange: r, children: a });
|
|
19548
19542
|
};
|
|
19549
19543
|
H3.displayName = r1;
|
|
19550
19544
|
var B3 = "PopperAnchor", j3 = g.forwardRef(
|
|
@@ -19557,7 +19551,7 @@ var B3 = "PopperAnchor", j3 = g.forwardRef(
|
|
|
19557
19551
|
}
|
|
19558
19552
|
);
|
|
19559
19553
|
j3.displayName = B3;
|
|
19560
|
-
var i1 = "PopperContent", [Dw, Lw] =
|
|
19554
|
+
var i1 = "PopperContent", [Dw, Lw] = I3(i1), V3 = g.forwardRef(
|
|
19561
19555
|
(t, e) => {
|
|
19562
19556
|
const {
|
|
19563
19557
|
__scopePopper: a,
|
|
@@ -19574,7 +19568,7 @@ var i1 = "PopperContent", [Dw, Lw] = R3(i1), V3 = g.forwardRef(
|
|
|
19574
19568
|
updatePositionStrategy: m = "optimized",
|
|
19575
19569
|
onPlaced: b,
|
|
19576
19570
|
...v
|
|
19577
|
-
} = t, y = L3(i1, a), [$, C] = g.useState(null), k = at(e, (q) => C(q)), [S, x] = g.useState(null), M =
|
|
19571
|
+
} = t, y = L3(i1, a), [$, C] = g.useState(null), k = at(e, (q) => C(q)), [S, x] = g.useState(null), M = Rw(S), F = M?.width ?? 0, O = M?.height ?? 0, D = n + (l !== "center" ? "-" + l : ""), Z = typeof h == "number" ? h : { top: 0, right: 0, bottom: 0, left: 0, ...h }, te = Array.isArray(c) ? c : [c], V = te.length > 0, G = {
|
|
19578
19572
|
padding: Z,
|
|
19579
19573
|
boundary: te.filter(Bw),
|
|
19580
19574
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
@@ -19613,7 +19607,7 @@ var i1 = "PopperContent", [Dw, Lw] = R3(i1), V3 = g.forwardRef(
|
|
|
19613
19607
|
da(() => {
|
|
19614
19608
|
j && T?.();
|
|
19615
19609
|
}, [j, T]);
|
|
19616
|
-
const A = B.arrow?.x, N = B.arrow?.y,
|
|
19610
|
+
const A = B.arrow?.x, N = B.arrow?.y, R = B.arrow?.centerOffset !== 0, [L, Q] = g.useState();
|
|
19617
19611
|
return da(() => {
|
|
19618
19612
|
$ && Q(window.getComputedStyle($).zIndex);
|
|
19619
19613
|
}, [$]), /* @__PURE__ */ f(
|
|
@@ -19648,7 +19642,7 @@ var i1 = "PopperContent", [Dw, Lw] = R3(i1), V3 = g.forwardRef(
|
|
|
19648
19642
|
onArrowChange: x,
|
|
19649
19643
|
arrowX: A,
|
|
19650
19644
|
arrowY: N,
|
|
19651
|
-
shouldHideArrow:
|
|
19645
|
+
shouldHideArrow: R,
|
|
19652
19646
|
children: /* @__PURE__ */ f(
|
|
19653
19647
|
Ze.div,
|
|
19654
19648
|
{
|
|
@@ -20080,7 +20074,7 @@ function o1({ className: t, type: e, ...a }) {
|
|
|
20080
20074
|
}
|
|
20081
20075
|
);
|
|
20082
20076
|
}
|
|
20083
|
-
function
|
|
20077
|
+
function Ra({
|
|
20084
20078
|
name: t,
|
|
20085
20079
|
label: e,
|
|
20086
20080
|
className: a,
|
|
@@ -20298,7 +20292,7 @@ function bE({
|
|
|
20298
20292
|
),
|
|
20299
20293
|
/* @__PURE__ */ K("div", { className: "relative", children: [
|
|
20300
20294
|
/* @__PURE__ */ f(
|
|
20301
|
-
|
|
20295
|
+
Ra,
|
|
20302
20296
|
{
|
|
20303
20297
|
autoComplete: "address-line1",
|
|
20304
20298
|
name: "address.line1",
|
|
@@ -20388,7 +20382,7 @@ function bE({
|
|
|
20388
20382
|
!b && "-mt-4 h-0 max-h-0 w-0 max-w-0 opacity-0"
|
|
20389
20383
|
),
|
|
20390
20384
|
children: /* @__PURE__ */ f(
|
|
20391
|
-
|
|
20385
|
+
Ra,
|
|
20392
20386
|
{
|
|
20393
20387
|
autoComplete: "address-line2",
|
|
20394
20388
|
name: "address.line2",
|
|
@@ -20405,7 +20399,7 @@ function bE({
|
|
|
20405
20399
|
te ? "md:grid-cols-3" : "grid-cols-2"
|
|
20406
20400
|
),
|
|
20407
20401
|
children: [
|
|
20408
|
-
/* @__PURE__ */ f(
|
|
20402
|
+
/* @__PURE__ */ f(Ra, { name: "address.city", label: "City", required: !0 }),
|
|
20409
20403
|
te && /* @__PURE__ */ f(
|
|
20410
20404
|
oh,
|
|
20411
20405
|
{
|
|
@@ -20432,7 +20426,7 @@ function bE({
|
|
|
20432
20426
|
}
|
|
20433
20427
|
),
|
|
20434
20428
|
/* @__PURE__ */ f(
|
|
20435
|
-
|
|
20429
|
+
Ra,
|
|
20436
20430
|
{
|
|
20437
20431
|
autoComplete: "postal-code",
|
|
20438
20432
|
name: "address.zipCode",
|
|
@@ -20474,7 +20468,7 @@ function nl({
|
|
|
20474
20468
|
}
|
|
20475
20469
|
);
|
|
20476
20470
|
}
|
|
20477
|
-
var wE = ["title"], EE = ["title"], xE = ["title"], $E = ["title"], CE = ["title"], zE = ["title"], SE = ["title"], ME = ["title"], kE = ["title"], FE = ["title"], NE = ["title"], PE = ["title"], AE = ["title"], _E = ["title"], OE = ["title"], TE = ["title"],
|
|
20471
|
+
var wE = ["title"], EE = ["title"], xE = ["title"], $E = ["title"], CE = ["title"], zE = ["title"], SE = ["title"], ME = ["title"], kE = ["title"], FE = ["title"], NE = ["title"], PE = ["title"], AE = ["title"], _E = ["title"], OE = ["title"], TE = ["title"], RE = ["title"], IE = ["title"], DE = ["title"], LE = ["title"], HE = ["title"], BE = ["title"], jE = ["title"], VE = ["title"], UE = ["title"], GE = ["title"], WE = ["title"], KE = ["title"], qE = ["title"], ZE = ["title"], YE = ["title"], XE = ["title"], JE = ["title"], QE = ["title"], ex = ["title"], tx = ["title"], ax = ["title"], nx = ["title"], rx = ["title"], ix = ["title"], lx = ["title"], ox = ["title"], sx = ["title"], dx = ["title"], cx = ["title"], ux = ["title"], hx = ["title"], px = ["title"], mx = ["title"], fx = ["title"], vx = ["title"], gx = ["title"], yx = ["title"], bx = ["title"], wx = ["title"], Ex = ["title"], xx = ["title"], $x = ["title"], Cx = ["title"], zx = ["title"], Sx = ["title"], Mx = ["title"], kx = ["title"], Fx = ["title"], Nx = ["title"], Px = ["title"], Ax = ["title"], _x = ["title"], Ox = ["title"], Tx = ["title"], Rx = ["title"], Ix = ["title"], Dx = ["title"], Lx = ["title"], Hx = ["title"], Bx = ["title"], jx = ["title"], Vx = ["title"], Ux = ["title"], Gx = ["title"], Wx = ["title"], Kx = ["title"], qx = ["title"], Zx = ["title"], Yx = ["title"], Xx = ["title"], Jx = ["title"], Qx = ["title"], e$ = ["title"], t$ = ["title"], a$ = ["title"], n$ = ["title"], r$ = ["title"], i$ = ["title"], l$ = ["title"], o$ = ["title"], s$ = ["title"], d$ = ["title"], c$ = ["title"], u$ = ["title"], h$ = ["title"], p$ = ["title"], m$ = ["title"], f$ = ["title"], v$ = ["title"], g$ = ["title"], y$ = ["title"], b$ = ["title"], w$ = ["title"], E$ = ["title"], x$ = ["title"], $$ = ["title"], C$ = ["title"], z$ = ["title"], S$ = ["title"], M$ = ["title"], k$ = ["title"], F$ = ["title"], N$ = ["title"], P$ = ["title"], A$ = ["title"], _$ = ["title"], O$ = ["title"], T$ = ["title"], R$ = ["title"], I$ = ["title"], D$ = ["title"], L$ = ["title"], H$ = ["title"], B$ = ["title"], j$ = ["title"], V$ = ["title"], U$ = ["title"], G$ = ["title"], W$ = ["title"], K$ = ["title"], q$ = ["title"], Z$ = ["title"], Y$ = ["title"], X$ = ["title"], J$ = ["title"], Q$ = ["title"], eC = ["title"], tC = ["title"], aC = ["title"], nC = ["title"], rC = ["title"], iC = ["title"], lC = ["title"], oC = ["title"], sC = ["title"], dC = ["title"], cC = ["title"], uC = ["title"], hC = ["title"], pC = ["title"], mC = ["title"], fC = ["title"], vC = ["title"], gC = ["title"], yC = ["title"], bC = ["title"], wC = ["title"], EC = ["title"], xC = ["title"], $C = ["title"], CC = ["title"], zC = ["title"], SC = ["title"], MC = ["title"], kC = ["title"], FC = ["title"], NC = ["title"], PC = ["title"], AC = ["title"], _C = ["title"], OC = ["title"], TC = ["title"], RC = ["title"], IC = ["title"], DC = ["title"], LC = ["title"], HC = ["title"], BC = ["title"], jC = ["title"], VC = ["title"], UC = ["title"], GC = ["title"], WC = ["title"], KC = ["title"], qC = ["title"], ZC = ["title"], YC = ["title"], XC = ["title"], JC = ["title"], QC = ["title"], ez = ["title"], tz = ["title"], az = ["title"], nz = ["title"], rz = ["title"], iz = ["title"], lz = ["title"], oz = ["title"], sz = ["title"], dz = ["title"], cz = ["title"], uz = ["title"], hz = ["title"], pz = ["title"], mz = ["title"], fz = ["title"], vz = ["title"], gz = ["title"], yz = ["title"], bz = ["title"], wz = ["title"], Ez = ["title"], xz = ["title"], $z = ["title"], Cz = ["title"], zz = ["title"], Sz = ["title"], Mz = ["title"], kz = ["title"], Fz = ["title"], Nz = ["title"], Pz = ["title"], Az = ["title"], _z = ["title"], Oz = ["title"], Tz = ["title"], Rz = ["title"], Iz = ["title"], Dz = ["title"], Lz = ["title"], Hz = ["title"], Bz = ["title"], jz = ["title"], Vz = ["title"], Uz = ["title"], Gz = ["title"], Wz = ["title"], Kz = ["title"], qz = ["title"], Zz = ["title"], Yz = ["title"], Xz = ["title"], Jz = ["title"], Qz = ["title"], eS = ["title"], tS = ["title"], aS = ["title"], nS = ["title"], rS = ["title"], iS = ["title"], lS = ["title"], oS = ["title"], sS = ["title"], dS = ["title"], cS = ["title"], uS = ["title"], hS = ["title"], pS = ["title"], mS = ["title"];
|
|
20478
20472
|
function w() {
|
|
20479
20473
|
return w = Object.assign || function(t) {
|
|
20480
20474
|
for (var e = 1; e < arguments.length; e++) {
|
|
@@ -20944,7 +20938,7 @@ var vS = function(e) {
|
|
|
20944
20938
|
d: "M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"
|
|
20945
20939
|
}));
|
|
20946
20940
|
}, AS = function(e) {
|
|
20947
|
-
var a = e.title, n = E(e,
|
|
20941
|
+
var a = e.title, n = E(e, RE);
|
|
20948
20942
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
20949
20943
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20950
20944
|
viewBox: "0 0 513 342"
|
|
@@ -20965,7 +20959,7 @@ var vS = function(e) {
|
|
|
20965
20959
|
d: "m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"
|
|
20966
20960
|
})));
|
|
20967
20961
|
}, _S = function(e) {
|
|
20968
|
-
var a = e.title, n = E(e,
|
|
20962
|
+
var a = e.title, n = E(e, IE);
|
|
20969
20963
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
20970
20964
|
xmlns: "http://www.w3.org/2000/svg",
|
|
20971
20965
|
viewBox: "0 0 513 342"
|
|
@@ -21024,7 +21018,7 @@ var vS = function(e) {
|
|
|
21024
21018
|
cy: 256.5,
|
|
21025
21019
|
r: 115
|
|
21026
21020
|
}));
|
|
21027
|
-
},
|
|
21021
|
+
}, RS = function(e) {
|
|
21028
21022
|
var a = e.title, n = E(e, HE);
|
|
21029
21023
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
21030
21024
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -21038,7 +21032,7 @@ var vS = function(e) {
|
|
|
21038
21032
|
fill: "#ef3340",
|
|
21039
21033
|
d: "M342 0h171v342H342z"
|
|
21040
21034
|
}));
|
|
21041
|
-
},
|
|
21035
|
+
}, IS = function(e) {
|
|
21042
21036
|
var a = e.title, n = E(e, BE);
|
|
21043
21037
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
21044
21038
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -22020,7 +22014,7 @@ var vS = function(e) {
|
|
|
22020
22014
|
d: "m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"
|
|
22021
22015
|
})));
|
|
22022
22016
|
}, AM = function(e) {
|
|
22023
|
-
var a = e.title, n = E(e,
|
|
22017
|
+
var a = e.title, n = E(e, Rx);
|
|
22024
22018
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
22025
22019
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22026
22020
|
viewBox: "0 0 513 342"
|
|
@@ -22067,7 +22061,7 @@ var vS = function(e) {
|
|
|
22067
22061
|
r: 17.5
|
|
22068
22062
|
})));
|
|
22069
22063
|
}, _M = function(e) {
|
|
22070
|
-
var a = e.title, n = E(e,
|
|
22064
|
+
var a = e.title, n = E(e, Ix);
|
|
22071
22065
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
22072
22066
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22073
22067
|
width: 810,
|
|
@@ -22133,7 +22127,7 @@ var vS = function(e) {
|
|
|
22133
22127
|
d: "m8.7 3.9 1.1 1.6m4-1.7-1 1.6m-1.5 4.7V12M8.9 8.3 7.1 9m8.4 0-1.8-.7",
|
|
22134
22128
|
strokeWidth: 0.25
|
|
22135
22129
|
})));
|
|
22136
|
-
},
|
|
22130
|
+
}, RM = function(e) {
|
|
22137
22131
|
var a = e.title, n = E(e, Hx);
|
|
22138
22132
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
22139
22133
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -22145,7 +22139,7 @@ var vS = function(e) {
|
|
|
22145
22139
|
fill: "#FC0",
|
|
22146
22140
|
d: "m404.951 59.865 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-90 24 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-66 66 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-24 89.999 6.735 20.719h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm24 90.001 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm66 66 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm180-312 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm66 66 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm24 90 6.735 20.718h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm-24 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm-156 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm90-24.001 6.735 20.719h21.894l-17.633 12.812 6.639 20.74-17.635-12.812-17.633 12.812 6.735-20.73-17.633-12.811h21.797z"
|
|
22147
22141
|
}));
|
|
22148
|
-
},
|
|
22142
|
+
}, IM = function(e) {
|
|
22149
22143
|
var a = e.title, n = E(e, Bx);
|
|
22150
22144
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
22151
22145
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -23227,7 +23221,7 @@ var vS = function(e) {
|
|
|
23227
23221
|
d: "m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"
|
|
23228
23222
|
}));
|
|
23229
23223
|
}, Ak = function(e) {
|
|
23230
|
-
var a = e.title, n = E(e,
|
|
23224
|
+
var a = e.title, n = E(e, R$);
|
|
23231
23225
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
23232
23226
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23233
23227
|
viewBox: "0 0 513 342"
|
|
@@ -23241,7 +23235,7 @@ var vS = function(e) {
|
|
|
23241
23235
|
r: 96
|
|
23242
23236
|
}));
|
|
23243
23237
|
}, _k = function(e) {
|
|
23244
|
-
var a = e.title, n = E(e,
|
|
23238
|
+
var a = e.title, n = E(e, I$);
|
|
23245
23239
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
23246
23240
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23247
23241
|
viewBox: "0 0 513 342"
|
|
@@ -23308,7 +23302,7 @@ var vS = function(e) {
|
|
|
23308
23302
|
fill: "#FFF",
|
|
23309
23303
|
d: "M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"
|
|
23310
23304
|
}));
|
|
23311
|
-
},
|
|
23305
|
+
}, Rk = function(e) {
|
|
23312
23306
|
var a = e.title, n = E(e, H$);
|
|
23313
23307
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
23314
23308
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -23336,7 +23330,7 @@ var vS = function(e) {
|
|
|
23336
23330
|
fill: "#FCD116",
|
|
23337
23331
|
d: "m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"
|
|
23338
23332
|
}));
|
|
23339
|
-
},
|
|
23333
|
+
}, Ik = function(e) {
|
|
23340
23334
|
var a = e.title, n = E(e, B$);
|
|
23341
23335
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
23342
23336
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -24355,7 +24349,7 @@ var vS = function(e) {
|
|
|
24355
24349
|
d: "M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"
|
|
24356
24350
|
}));
|
|
24357
24351
|
}, AF = function(e) {
|
|
24358
|
-
var a = e.title, n = E(e,
|
|
24352
|
+
var a = e.title, n = E(e, RC);
|
|
24359
24353
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
24360
24354
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24361
24355
|
viewBox: "0 85.333 512 341.333"
|
|
@@ -24376,7 +24370,7 @@ var vS = function(e) {
|
|
|
24376
24370
|
d: "M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"
|
|
24377
24371
|
})));
|
|
24378
24372
|
}, _F = function(e) {
|
|
24379
|
-
var a = e.title, n = E(e,
|
|
24373
|
+
var a = e.title, n = E(e, IC);
|
|
24380
24374
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
24381
24375
|
xmlns: "http://www.w3.org/2000/svg",
|
|
24382
24376
|
viewBox: "0 85.333 512 341.333"
|
|
@@ -24485,7 +24479,7 @@ var vS = function(e) {
|
|
|
24485
24479
|
d: "M100.174 140.983 0 85.33v15.738l71.847 39.915zm83.98 0L256 101.068V85.33l-100.174 55.653z",
|
|
24486
24480
|
fill: "#D80027"
|
|
24487
24481
|
}));
|
|
24488
|
-
},
|
|
24482
|
+
}, RF = function(e) {
|
|
24489
24483
|
var a = e.title, n = E(e, HC);
|
|
24490
24484
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
24491
24485
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -24509,7 +24503,7 @@ var vS = function(e) {
|
|
|
24509
24503
|
}), /* @__PURE__ */ i.createElement("path", {
|
|
24510
24504
|
d: "M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8m17.1-30.1h37.9M70.7 35.2v30.1"
|
|
24511
24505
|
})));
|
|
24512
|
-
},
|
|
24506
|
+
}, IF = function(e) {
|
|
24513
24507
|
var a = e.title, n = E(e, BC);
|
|
24514
24508
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
24515
24509
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -25537,7 +25531,7 @@ var vS = function(e) {
|
|
|
25537
25531
|
fill: "#FFDA44"
|
|
25538
25532
|
}));
|
|
25539
25533
|
}, AN = function(e) {
|
|
25540
|
-
var a = e.title, n = E(e,
|
|
25534
|
+
var a = e.title, n = E(e, Rz);
|
|
25541
25535
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
25542
25536
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25543
25537
|
viewBox: "0 85.333 512 341.333"
|
|
@@ -25554,7 +25548,7 @@ var vS = function(e) {
|
|
|
25554
25548
|
d: "m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"
|
|
25555
25549
|
}));
|
|
25556
25550
|
}, _N = function(e) {
|
|
25557
|
-
var a = e.title, n = E(e,
|
|
25551
|
+
var a = e.title, n = E(e, Iz);
|
|
25558
25552
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
25559
25553
|
xmlns: "http://www.w3.org/2000/svg",
|
|
25560
25554
|
viewBox: "0 85.333 512 341.333"
|
|
@@ -25633,7 +25627,7 @@ var vS = function(e) {
|
|
|
25633
25627
|
fill: "#D80027",
|
|
25634
25628
|
d: "M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"
|
|
25635
25629
|
}));
|
|
25636
|
-
},
|
|
25630
|
+
}, RN = function(e) {
|
|
25637
25631
|
var a = e.title, n = E(e, Hz);
|
|
25638
25632
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
25639
25633
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -25645,7 +25639,7 @@ var vS = function(e) {
|
|
|
25645
25639
|
fill: "#FFF",
|
|
25646
25640
|
d: "M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c5.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"
|
|
25647
25641
|
}));
|
|
25648
|
-
},
|
|
25642
|
+
}, IN = function(e) {
|
|
25649
25643
|
var a = e.title, n = E(e, Bz);
|
|
25650
25644
|
return /* @__PURE__ */ i.createElement("svg", w({
|
|
25651
25645
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -26307,8 +26301,8 @@ const uP = {
|
|
|
26307
26301
|
BA: _S,
|
|
26308
26302
|
BB: OS,
|
|
26309
26303
|
BD: TS,
|
|
26310
|
-
BE:
|
|
26311
|
-
BF:
|
|
26304
|
+
BE: RS,
|
|
26305
|
+
BF: IS,
|
|
26312
26306
|
BG: DS,
|
|
26313
26307
|
BH: LS,
|
|
26314
26308
|
BI: HS,
|
|
@@ -26361,8 +26355,8 @@ const uP = {
|
|
|
26361
26355
|
ES_CT: _M,
|
|
26362
26356
|
ES: OM,
|
|
26363
26357
|
ET: TM,
|
|
26364
|
-
EU:
|
|
26365
|
-
FI:
|
|
26358
|
+
EU: RM,
|
|
26359
|
+
FI: IM,
|
|
26366
26360
|
FJ: DM,
|
|
26367
26361
|
FK: LM,
|
|
26368
26362
|
FM: HM,
|
|
@@ -26415,8 +26409,8 @@ const uP = {
|
|
|
26415
26409
|
KE: _k,
|
|
26416
26410
|
KG: Ok,
|
|
26417
26411
|
KH: Tk,
|
|
26418
|
-
KI:
|
|
26419
|
-
KM:
|
|
26412
|
+
KI: Rk,
|
|
26413
|
+
KM: Ik,
|
|
26420
26414
|
KN: Dk,
|
|
26421
26415
|
KP: Lk,
|
|
26422
26416
|
KR: Hk,
|
|
@@ -26469,8 +26463,8 @@ const uP = {
|
|
|
26469
26463
|
NR: _F,
|
|
26470
26464
|
NU: OF,
|
|
26471
26465
|
NZ: TF,
|
|
26472
|
-
OM:
|
|
26473
|
-
PA:
|
|
26466
|
+
OM: RF,
|
|
26467
|
+
PA: IF,
|
|
26474
26468
|
PE: DF,
|
|
26475
26469
|
PF: LF,
|
|
26476
26470
|
PG: HF,
|
|
@@ -26523,8 +26517,8 @@ const uP = {
|
|
|
26523
26517
|
TM: _N,
|
|
26524
26518
|
TN: ON,
|
|
26525
26519
|
TO: TN,
|
|
26526
|
-
TR:
|
|
26527
|
-
TT:
|
|
26520
|
+
TR: RN,
|
|
26521
|
+
TT: IN,
|
|
26528
26522
|
TV: DN,
|
|
26529
26523
|
TW: LN,
|
|
26530
26524
|
TZ: HN,
|
|
@@ -27331,7 +27325,7 @@ const uc = (t, e, a) => {
|
|
|
27331
27325
|
function hc(t) {
|
|
27332
27326
|
return t.replace(/\]|\[/g, "");
|
|
27333
27327
|
}
|
|
27334
|
-
function
|
|
27328
|
+
function RP(t, e) {
|
|
27335
27329
|
for (var a = {}; t.length; ) {
|
|
27336
27330
|
var n = t[0], r = n.code, l = n.message, o = n.path.join(".");
|
|
27337
27331
|
if (!a[o]) if ("unionErrors" in n) {
|
|
@@ -27365,7 +27359,7 @@ function Mh(t, e, a) {
|
|
|
27365
27359
|
})(0, function(o) {
|
|
27366
27360
|
if ((function(s) {
|
|
27367
27361
|
return Array.isArray(s?.errors);
|
|
27368
|
-
})(o)) return { values: {}, errors: OP(
|
|
27362
|
+
})(o)) return { values: {}, errors: OP(RP(o.errors, !l.shouldUseNativeValidation && l.criteriaMode === "all"), l) };
|
|
27369
27363
|
throw o;
|
|
27370
27364
|
}));
|
|
27371
27365
|
} catch (o) {
|
|
@@ -27373,7 +27367,7 @@ function Mh(t, e, a) {
|
|
|
27373
27367
|
}
|
|
27374
27368
|
};
|
|
27375
27369
|
}
|
|
27376
|
-
function
|
|
27370
|
+
function IP({
|
|
27377
27371
|
form: t,
|
|
27378
27372
|
api: e,
|
|
27379
27373
|
location: a,
|
|
@@ -27397,7 +27391,7 @@ function RP({
|
|
|
27397
27391
|
phone: ""
|
|
27398
27392
|
}
|
|
27399
27393
|
});
|
|
27400
|
-
return /* @__PURE__ */ f(
|
|
27394
|
+
return /* @__PURE__ */ f(Ru, { ...l, children: /* @__PURE__ */ K(
|
|
27401
27395
|
"form",
|
|
27402
27396
|
{
|
|
27403
27397
|
onSubmit: l.handleSubmit(t.onSubmit),
|
|
@@ -27405,7 +27399,7 @@ function RP({
|
|
|
27405
27399
|
children: [
|
|
27406
27400
|
/* @__PURE__ */ f("div", { className: "md:col-span-2", children: /* @__PURE__ */ f("h2", { children: r("CheckoutEmbed.CustomerForm.title") }) }),
|
|
27407
27401
|
/* @__PURE__ */ f(
|
|
27408
|
-
|
|
27402
|
+
Ra,
|
|
27409
27403
|
{
|
|
27410
27404
|
className: "md:col-span-2",
|
|
27411
27405
|
name: "email",
|
|
@@ -27415,7 +27409,7 @@ function RP({
|
|
|
27415
27409
|
}
|
|
27416
27410
|
),
|
|
27417
27411
|
/* @__PURE__ */ f(
|
|
27418
|
-
|
|
27412
|
+
Ra,
|
|
27419
27413
|
{
|
|
27420
27414
|
name: "firstName",
|
|
27421
27415
|
label: r("CheckoutEmbed.CustomerForm.firstName"),
|
|
@@ -27423,7 +27417,7 @@ function RP({
|
|
|
27423
27417
|
}
|
|
27424
27418
|
),
|
|
27425
27419
|
/* @__PURE__ */ f(
|
|
27426
|
-
|
|
27420
|
+
Ra,
|
|
27427
27421
|
{
|
|
27428
27422
|
name: "lastName",
|
|
27429
27423
|
label: r("CheckoutEmbed.CustomerForm.lastName"),
|
|
@@ -27718,7 +27712,7 @@ var ss = function(e) {
|
|
|
27718
27712
|
return a ? XP(a, e) : Ah(n, e);
|
|
27719
27713
|
}, QP = ["mode"], eA = function(e) {
|
|
27720
27714
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
27721
|
-
},
|
|
27715
|
+
}, Ie = function(e, a) {
|
|
27722
27716
|
var n = "".concat(eA(e), "Element"), r = function(d) {
|
|
27723
27717
|
var c = d.id, h = d.className, u = d.options, p = u === void 0 ? {} : u, m = d.onBlur, b = d.onFocus, v = d.onReady, y = d.onChange, $ = d.onEscape, C = d.onClick, k = d.onLoadError, S = d.onLoaderStart, x = d.onNetworksChange, M = d.onConfirm, F = d.onCancel, O = d.onShippingAddressChange, D = d.onShippingRateChange, Z = d.onSavedPaymentMethodRemove, te = d.onSavedPaymentMethodUpdate, V = ss("mounts <".concat(n, ">")), G = "elements" in V ? V.elements : null, W = "checkoutSdk" in V ? V.checkoutSdk : null, Y = i.useState(null), H = Fh(Y, 2), j = H[0], B = H[1], oe = i.useRef(null), P = i.useRef(null);
|
|
27724
27718
|
ot(j, "blur", m), ot(j, "focus", b), ot(j, "escape", $), ot(j, "click", C), ot(j, "loaderror", k), ot(j, "loaderstart", S), ot(j, "networkschange", x), ot(j, "confirm", M), ot(j, "cancel", F), ot(j, "shippingaddresschange", O), ot(j, "shippingratechange", D), ot(j, "savedpaymentmethodremove", Z), ot(j, "savedpaymentmethodupdate", te), ot(j, "change", y);
|
|
@@ -27735,10 +27729,10 @@ var ss = function(e) {
|
|
|
27735
27729
|
break;
|
|
27736
27730
|
case "address":
|
|
27737
27731
|
if ("mode" in p) {
|
|
27738
|
-
var
|
|
27739
|
-
if (
|
|
27732
|
+
var R = p.mode, L = LP(p, QP);
|
|
27733
|
+
if (R === "shipping")
|
|
27740
27734
|
N = W.createShippingAddressElement(L);
|
|
27741
|
-
else if (
|
|
27735
|
+
else if (R === "billing")
|
|
27742
27736
|
N = W.createBillingAddressElement(L);
|
|
27743
27737
|
else
|
|
27744
27738
|
throw new Error("Invalid options.mode. mode must be 'billing' or 'shipping'.");
|
|
@@ -27814,27 +27808,27 @@ var aA = function() {
|
|
|
27814
27808
|
var e = ss("calls useStripe()"), a = e.stripe;
|
|
27815
27809
|
return a;
|
|
27816
27810
|
};
|
|
27817
|
-
|
|
27818
|
-
|
|
27819
|
-
|
|
27820
|
-
|
|
27821
|
-
|
|
27822
|
-
|
|
27823
|
-
|
|
27824
|
-
|
|
27825
|
-
|
|
27826
|
-
|
|
27827
|
-
var nA =
|
|
27828
|
-
|
|
27829
|
-
|
|
27830
|
-
|
|
27831
|
-
|
|
27832
|
-
|
|
27833
|
-
|
|
27834
|
-
|
|
27835
|
-
|
|
27836
|
-
|
|
27837
|
-
|
|
27811
|
+
Ie("auBankAccount", De);
|
|
27812
|
+
Ie("card", De);
|
|
27813
|
+
Ie("cardNumber", De);
|
|
27814
|
+
Ie("cardExpiry", De);
|
|
27815
|
+
Ie("cardCvc", De);
|
|
27816
|
+
Ie("fpxBank", De);
|
|
27817
|
+
Ie("iban", De);
|
|
27818
|
+
Ie("idealBank", De);
|
|
27819
|
+
Ie("p24Bank", De);
|
|
27820
|
+
Ie("epsBank", De);
|
|
27821
|
+
var nA = Ie("payment", De);
|
|
27822
|
+
Ie("expressCheckout", De);
|
|
27823
|
+
Ie("currencySelector", De);
|
|
27824
|
+
Ie("paymentRequestButton", De);
|
|
27825
|
+
Ie("linkAuthentication", De);
|
|
27826
|
+
Ie("address", De);
|
|
27827
|
+
Ie("shippingAddress", De);
|
|
27828
|
+
Ie("paymentMethodMessaging", De);
|
|
27829
|
+
Ie("affirmMessage", De);
|
|
27830
|
+
Ie("afterpayClearpayMessage", De);
|
|
27831
|
+
Ie("taxId", De);
|
|
27838
27832
|
var rA = "v3", iA = function(e) {
|
|
27839
27833
|
return e === 3 ? "v3" : e;
|
|
27840
27834
|
}, Th = "https://js.stripe.com", lA = "".concat(Th, "/v3"), oA = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/, sA = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
|
|
@@ -27905,22 +27899,22 @@ var dA = function(e) {
|
|
|
27905
27899
|
l && o !== s && console.warn("Stripe.js@".concat(o, " was loaded on the page, but @stripe/stripe-js@").concat("5.10.0", " expected Stripe.js@").concat(s, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
|
|
27906
27900
|
var d = e.apply(void 0, a);
|
|
27907
27901
|
return uA(d, n), d;
|
|
27908
|
-
}, Kn,
|
|
27902
|
+
}, Kn, Rh = !1, Ih = function() {
|
|
27909
27903
|
return Kn || (Kn = mA(null).catch(function(e) {
|
|
27910
27904
|
return Kn = null, Promise.reject(e);
|
|
27911
27905
|
}), Kn);
|
|
27912
27906
|
};
|
|
27913
27907
|
Promise.resolve().then(function() {
|
|
27914
|
-
return
|
|
27908
|
+
return Ih();
|
|
27915
27909
|
}).catch(function(t) {
|
|
27916
|
-
|
|
27910
|
+
Rh || console.warn(t);
|
|
27917
27911
|
});
|
|
27918
27912
|
var vA = function() {
|
|
27919
27913
|
for (var e = arguments.length, a = new Array(e), n = 0; n < e; n++)
|
|
27920
27914
|
a[n] = arguments[n];
|
|
27921
|
-
|
|
27915
|
+
Rh = !0;
|
|
27922
27916
|
var r = Date.now();
|
|
27923
|
-
return
|
|
27917
|
+
return Ih().then(function(l) {
|
|
27924
27918
|
return fA(l, a, r);
|
|
27925
27919
|
});
|
|
27926
27920
|
};
|
|
@@ -28358,11 +28352,11 @@ function Oi(t) {
|
|
|
28358
28352
|
e += t[ge++];
|
|
28359
28353
|
return e;
|
|
28360
28354
|
}
|
|
28361
|
-
function
|
|
28355
|
+
function RA(t) {
|
|
28362
28356
|
let e = Oi(t);
|
|
28363
28357
|
return t[ge] === "(" ? (ge++, { type: J.Function, value: e }) : e === "none" ? { type: J.None, value: void 0 } : { type: J.Ident, value: e };
|
|
28364
28358
|
}
|
|
28365
|
-
function
|
|
28359
|
+
function IA(t = "") {
|
|
28366
28360
|
let e = t.trim(), a = [], n;
|
|
28367
28361
|
for (ge = 0; ge < e.length; ) {
|
|
28368
28362
|
if (n = e[ge++], n === `
|
|
@@ -28426,7 +28420,7 @@ function RA(t = "") {
|
|
|
28426
28420
|
continue;
|
|
28427
28421
|
}
|
|
28428
28422
|
if (ds.test(n)) {
|
|
28429
|
-
ge--, a.push(
|
|
28423
|
+
ge--, a.push(RA(e));
|
|
28430
28424
|
continue;
|
|
28431
28425
|
}
|
|
28432
28426
|
return;
|
|
@@ -28485,7 +28479,7 @@ function LA(t, e) {
|
|
|
28485
28479
|
const Uh = (t) => {
|
|
28486
28480
|
if (typeof t != "string")
|
|
28487
28481
|
return;
|
|
28488
|
-
const e =
|
|
28482
|
+
const e = IA(t), a = e ? LA(e, !0) : void 0;
|
|
28489
28483
|
let n, r = 0, l = _i.length;
|
|
28490
28484
|
for (; r < l; )
|
|
28491
28485
|
if ((n = _i[r++](t, a)) !== void 0)
|
|
@@ -28521,7 +28515,7 @@ const BA = (t) => t === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha:
|
|
|
28521
28515
|
}, le = UA(jA), Ye = (t) => {
|
|
28522
28516
|
let e = !1, a = t.map((n) => n !== void 0 ? (e = !0, n) : 1);
|
|
28523
28517
|
return e ? a : t;
|
|
28524
|
-
},
|
|
28518
|
+
}, Rn = {
|
|
28525
28519
|
mode: "rgb",
|
|
28526
28520
|
channels: ["r", "g", "b", "alpha"],
|
|
28527
28521
|
parse: [
|
|
@@ -28568,7 +28562,7 @@ const BA = (t) => t === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha:
|
|
|
28568
28562
|
}, Zl = (t = 0) => {
|
|
28569
28563
|
const e = Math.abs(t);
|
|
28570
28564
|
return e <= 0.04045 ? t / 12.92 : (Math.sign(t) || 1) * Math.pow((e + 0.055) / 1.055, 2.4);
|
|
28571
|
-
},
|
|
28565
|
+
}, In = ({ r: t, g: e, b: a, alpha: n }) => {
|
|
28572
28566
|
let r = {
|
|
28573
28567
|
mode: "lrgb",
|
|
28574
28568
|
r: Zl(t),
|
|
@@ -28577,7 +28571,7 @@ const BA = (t) => t === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha:
|
|
|
28577
28571
|
};
|
|
28578
28572
|
return n !== void 0 && (r.alpha = n), r;
|
|
28579
28573
|
}, Ga = (t) => {
|
|
28580
|
-
let { r: e, g: a, b: n, alpha: r } =
|
|
28574
|
+
let { r: e, g: a, b: n, alpha: r } = In(t), l = {
|
|
28581
28575
|
mode: "xyz65",
|
|
28582
28576
|
x: 0.4123907992659593 * e + 0.357584339383878 * a + 0.1804807884018343 * n,
|
|
28583
28577
|
y: 0.2126390058715102 * e + 0.715168678767756 * a + 0.0721923153607337 * n,
|
|
@@ -28604,7 +28598,7 @@ const BA = (t) => t === "transparent" ? { mode: "rgb", r: 0, g: 0, b: 0, alpha:
|
|
|
28604
28598
|
});
|
|
28605
28599
|
return n !== void 0 && (r.alpha = n), r;
|
|
28606
28600
|
}, GA = {
|
|
28607
|
-
...
|
|
28601
|
+
...Rn,
|
|
28608
28602
|
mode: "a98",
|
|
28609
28603
|
parse: ["a98-rgb"],
|
|
28610
28604
|
serialize: "a98-rgb",
|
|
@@ -28741,16 +28735,16 @@ const Kh = ({ l: t, a: e, b: a, alpha: n }) => {
|
|
|
28741
28735
|
}, cl = (t) => {
|
|
28742
28736
|
let e = qh(Ga(t));
|
|
28743
28737
|
return t.r === t.b && t.b === t.g && (e.a = e.b = 0), e;
|
|
28744
|
-
}, Ti = 1, Zh = 1, br = 26 / 180 * Math.PI,
|
|
28738
|
+
}, Ti = 1, Zh = 1, br = 26 / 180 * Math.PI, Ri = Math.cos(br), Ii = Math.sin(br), Yh = 100 / Math.log(139 / 100), us = ({ l: t, c: e, h: a, alpha: n }) => {
|
|
28745
28739
|
t === void 0 && (t = 0), e === void 0 && (e = 0), a === void 0 && (a = 0);
|
|
28746
28740
|
let r = {
|
|
28747
28741
|
mode: "lab65",
|
|
28748
28742
|
l: (Math.exp(t * Ti / Yh) - 1) / 39e-4
|
|
28749
28743
|
}, l = (Math.exp(0.0435 * e * Zh * Ti) - 1) / 0.075, o = l * Math.cos(a / 180 * Math.PI - br), s = l * Math.sin(a / 180 * Math.PI - br);
|
|
28750
|
-
return r.a = o *
|
|
28744
|
+
return r.a = o * Ri - s / 0.83 * Ii, r.b = o * Ii + s / 0.83 * Ri, n !== void 0 && (r.alpha = n), r;
|
|
28751
28745
|
}, hs = ({ l: t, a: e, b: a, alpha: n }) => {
|
|
28752
28746
|
t === void 0 && (t = 0), e === void 0 && (e = 0), a === void 0 && (a = 0);
|
|
28753
|
-
let r = e *
|
|
28747
|
+
let r = e * Ri + a * Ii, l = 0.83 * (a * Ri - e * Ii), o = Math.sqrt(r * r + l * l), s = {
|
|
28754
28748
|
mode: "dlch",
|
|
28755
28749
|
l: Yh / Ti * Math.log(1 + 39e-4 * t),
|
|
28756
28750
|
c: Math.log(1 + 0.075 * o) / (0.0435 * Zh * Ti)
|
|
@@ -29349,7 +29343,7 @@ const f1 = ({ l: t, a: e, b: a, alpha: n }) => {
|
|
|
29349
29343
|
});
|
|
29350
29344
|
return n !== void 0 && (r.alpha = n), r;
|
|
29351
29345
|
}, op = (t) => Sr(f1(t)), Mr = (t) => {
|
|
29352
|
-
let { r: e, g: a, b: n, alpha: r } =
|
|
29346
|
+
let { r: e, g: a, b: n, alpha: r } = In(t), l = {
|
|
29353
29347
|
mode: "xyz50",
|
|
29354
29348
|
x: 0.436065742824811 * e + 0.3851514688337912 * a + 0.14307845442264197 * n,
|
|
29355
29349
|
y: 0.22249319175623702 * e + 0.7168870538238823 * a + 0.06061979053616537 * n,
|
|
@@ -29563,13 +29557,13 @@ const y1 = {
|
|
|
29563
29557
|
h: fa
|
|
29564
29558
|
}
|
|
29565
29559
|
}, O_ = {
|
|
29566
|
-
...
|
|
29560
|
+
...Rn,
|
|
29567
29561
|
mode: "lrgb",
|
|
29568
29562
|
toMode: {
|
|
29569
29563
|
rgb: Dn
|
|
29570
29564
|
},
|
|
29571
29565
|
fromMode: {
|
|
29572
|
-
rgb:
|
|
29566
|
+
rgb: In
|
|
29573
29567
|
},
|
|
29574
29568
|
parse: ["srgb-linear"],
|
|
29575
29569
|
serialize: "srgb-linear"
|
|
@@ -29613,7 +29607,7 @@ const y1 = {
|
|
|
29613
29607
|
};
|
|
29614
29608
|
return n !== void 0 && (s.alpha = n), s;
|
|
29615
29609
|
}, vl = (t) => {
|
|
29616
|
-
let e = pp(
|
|
29610
|
+
let e = pp(In(t));
|
|
29617
29611
|
return t.r === t.b && t.b === t.g && (e.a = e.b = 0), e;
|
|
29618
29612
|
}, kr = ({ l: t, a: e, b: a, alpha: n }) => {
|
|
29619
29613
|
t === void 0 && (t = 0), e === void 0 && (e = 0), a === void 0 && (a = 0);
|
|
@@ -29632,7 +29626,7 @@ function fs(t) {
|
|
|
29632
29626
|
function Di(t) {
|
|
29633
29627
|
return (t * t + 0.206 * t) / (1.170873786407767 * (t + 0.03));
|
|
29634
29628
|
}
|
|
29635
|
-
function
|
|
29629
|
+
function R_(t, e) {
|
|
29636
29630
|
let a, n, r, l, o, s, d, c;
|
|
29637
29631
|
-1.88170328 * t - 0.80936493 * e > 1 ? (a = 1.19086277, n = 1.76576728, r = 0.59662641, l = 0.75515197, o = 0.56771245, s = 4.0767416621, d = -3.3077115913, c = 0.2309699292) : 1.81444104 * t - 1.19445276 * e > 1 ? (a = 0.73956515, n = -0.45954404, r = 0.08285427, l = 0.1254107, o = 0.14503204, s = -1.2684380046, d = 2.6097574011, c = -0.3413193965) : (a = 1.35733652, n = -915799e-8, r = -1.1513021, l = -0.50559606, o = 692167e-8, s = -0.0041960863, d = -0.7034186147, c = 1.707614701);
|
|
29638
29632
|
let h = a + n * t + r * e + l * t * t + o * t * e, u = 0.3963377774 * t + 0.2158037573 * e, p = -0.1055613458 * t - 0.0638541728 * e, m = -0.0894841775 * t - 1.291485548 * e;
|
|
@@ -29643,10 +29637,10 @@ function I_(t, e) {
|
|
|
29643
29637
|
return h;
|
|
29644
29638
|
}
|
|
29645
29639
|
function b1(t, e) {
|
|
29646
|
-
let a =
|
|
29640
|
+
let a = R_(t, e), n = kr({ l: 1, a: a * t, b: a * e }), r = Math.cbrt(1 / Math.max(n.r, n.g, n.b)), l = r * a;
|
|
29647
29641
|
return [r, l];
|
|
29648
29642
|
}
|
|
29649
|
-
function
|
|
29643
|
+
function I_(t, e, a, n, r, l = null) {
|
|
29650
29644
|
l || (l = b1(t, e));
|
|
29651
29645
|
let o;
|
|
29652
29646
|
if ((a - r) * l[1] - (l[0] - r) * n <= 0)
|
|
@@ -29656,7 +29650,7 @@ function R_(t, e, a, n, r, l = null) {
|
|
|
29656
29650
|
{
|
|
29657
29651
|
let s = a - r, d = n, c = 0.3963377774 * t + 0.2158037573 * e, h = -0.1055613458 * t - 0.0638541728 * e, u = -0.0894841775 * t - 1.291485548 * e, p = s + d * c, m = s + d * h, b = s + d * u;
|
|
29658
29652
|
{
|
|
29659
|
-
let v = r * (1 - o) + o * a, y = o * n, $ = v + y * c, C = v + y * h, k = v + y * u, S = $ * $ * $, x = C * C * C, M = k * k * k, F = 3 * p * $ * $, O = 3 * m * C * C, D = 3 * b * k * k, Z = 6 * p * p * $, te = 6 * m * m * C, V = 6 * b * b * k, G = 4.0767416621 * S - 3.3077115913 * x + 0.2309699292 * M - 1, W = 4.0767416621 * F - 3.3077115913 * O + 0.2309699292 * D, Y = 4.0767416621 * Z - 3.3077115913 * te + 0.2309699292 * V, H = W / (W * W - 0.5 * G * Y), j = -G * H, B = -1.2684380046 * S + 2.6097574011 * x - 0.3413193965 * M - 1, oe = -1.2684380046 * F + 2.6097574011 * O - 0.3413193965 * D, P = -1.2684380046 * Z + 2.6097574011 * te - 0.3413193965 * V, T = oe / (oe * oe - 0.5 * B * P), A = -B * T, N = -0.0041960863 * S - 0.7034186147 * x + 1.707614701 * M - 1,
|
|
29653
|
+
let v = r * (1 - o) + o * a, y = o * n, $ = v + y * c, C = v + y * h, k = v + y * u, S = $ * $ * $, x = C * C * C, M = k * k * k, F = 3 * p * $ * $, O = 3 * m * C * C, D = 3 * b * k * k, Z = 6 * p * p * $, te = 6 * m * m * C, V = 6 * b * b * k, G = 4.0767416621 * S - 3.3077115913 * x + 0.2309699292 * M - 1, W = 4.0767416621 * F - 3.3077115913 * O + 0.2309699292 * D, Y = 4.0767416621 * Z - 3.3077115913 * te + 0.2309699292 * V, H = W / (W * W - 0.5 * G * Y), j = -G * H, B = -1.2684380046 * S + 2.6097574011 * x - 0.3413193965 * M - 1, oe = -1.2684380046 * F + 2.6097574011 * O - 0.3413193965 * D, P = -1.2684380046 * Z + 2.6097574011 * te - 0.3413193965 * V, T = oe / (oe * oe - 0.5 * B * P), A = -B * T, N = -0.0041960863 * S - 0.7034186147 * x + 1.707614701 * M - 1, R = -0.0041960863 * F - 0.7034186147 * O + 1.707614701 * D, L = -0.0041960863 * Z - 0.7034186147 * te + 1.707614701 * V, Q = R / (R * R - 0.5 * N * L), q = -N * Q;
|
|
29660
29654
|
j = H >= 0 ? j : 1e6, A = T >= 0 ? A : 1e6, q = Q >= 0 ? q : 1e6, o += Math.min(j, Math.min(A, q));
|
|
29661
29655
|
}
|
|
29662
29656
|
}
|
|
@@ -29669,7 +29663,7 @@ function w1(t, e, a = null) {
|
|
|
29669
29663
|
return [r / n, r / (1 - n)];
|
|
29670
29664
|
}
|
|
29671
29665
|
function mp(t, e, a) {
|
|
29672
|
-
let n = b1(e, a), r =
|
|
29666
|
+
let n = b1(e, a), r = I_(e, a, t, 1, t, n), l = w1(e, a, n), o = 0.11516993 + 1 / (7.4477897 + 4.1590124 * a + e * (-2.19557347 + 1.75198401 * a + e * (-2.13704948 - 10.02301043 * a + e * (-4.24894561 + 5.38770819 * a + 4.69891013 * e)))), s = 0.11239642 + 1 / (1.6132032 - 0.68124379 * a + e * (0.40370612 + 0.90148123 * a + e * (-0.27087943 + 0.6122399 * a + e * (299215e-8 - 0.45399568 * a - 0.14661872 * e)))), d = r / Math.min(t * l[0], (1 - t) * l[1]), c = t * o, h = (1 - t) * s, u = 0.9 * d * Math.sqrt(
|
|
29673
29667
|
Math.sqrt(
|
|
29674
29668
|
1 / (1 / (c * c * c * c) + 1 / (h * h * h * h))
|
|
29675
29669
|
)
|
|
@@ -29838,14 +29832,14 @@ const V_ = {
|
|
|
29838
29832
|
h: [0, 360]
|
|
29839
29833
|
}
|
|
29840
29834
|
}, Tc = (t) => {
|
|
29841
|
-
let { r: e, g: a, b: n, alpha: r } =
|
|
29835
|
+
let { r: e, g: a, b: n, alpha: r } = In(t), l = {
|
|
29842
29836
|
mode: "xyz65",
|
|
29843
29837
|
x: 0.486570948648216 * e + 0.265667693169093 * a + 0.1982172852343625 * n,
|
|
29844
29838
|
y: 0.2289745640697487 * e + 0.6917385218365062 * a + 0.079286914093745 * n,
|
|
29845
29839
|
z: 0 * e + 0.0451133818589026 * a + 1.043944368900976 * n
|
|
29846
29840
|
};
|
|
29847
29841
|
return r !== void 0 && (l.alpha = r), l;
|
|
29848
|
-
},
|
|
29842
|
+
}, Rc = ({ x: t, y: e, z: a, alpha: n }) => {
|
|
29849
29843
|
t === void 0 && (t = 0), e === void 0 && (e = 0), a === void 0 && (a = 0);
|
|
29850
29844
|
let r = Dn(
|
|
29851
29845
|
{
|
|
@@ -29857,13 +29851,13 @@ const V_ = {
|
|
|
29857
29851
|
);
|
|
29858
29852
|
return n !== void 0 && (r.alpha = n), r;
|
|
29859
29853
|
}, U_ = {
|
|
29860
|
-
...
|
|
29854
|
+
...Rn,
|
|
29861
29855
|
mode: "p3",
|
|
29862
29856
|
parse: ["display-p3"],
|
|
29863
29857
|
serialize: "display-p3",
|
|
29864
29858
|
fromMode: {
|
|
29865
|
-
rgb: (t) =>
|
|
29866
|
-
xyz65:
|
|
29859
|
+
rgb: (t) => Rc(Ga(t)),
|
|
29860
|
+
xyz65: Rc
|
|
29867
29861
|
},
|
|
29868
29862
|
toMode: {
|
|
29869
29863
|
rgb: (t) => Wa(Tc(t)),
|
|
@@ -29872,7 +29866,7 @@ const V_ = {
|
|
|
29872
29866
|
}, co = (t) => {
|
|
29873
29867
|
let e = Math.abs(t);
|
|
29874
29868
|
return e >= 1 / 512 ? Math.sign(t) * Math.pow(e, 1 / 1.8) : 16 * t;
|
|
29875
|
-
},
|
|
29869
|
+
}, Ic = ({ x: t, y: e, z: a, alpha: n }) => {
|
|
29876
29870
|
t === void 0 && (t = 0), e === void 0 && (e = 0), a === void 0 && (a = 0);
|
|
29877
29871
|
let r = {
|
|
29878
29872
|
mode: "prophoto",
|
|
@@ -29897,13 +29891,13 @@ const V_ = {
|
|
|
29897
29891
|
};
|
|
29898
29892
|
return t.alpha !== void 0 && (r.alpha = t.alpha), r;
|
|
29899
29893
|
}, G_ = {
|
|
29900
|
-
...
|
|
29894
|
+
...Rn,
|
|
29901
29895
|
mode: "prophoto",
|
|
29902
29896
|
parse: ["prophoto-rgb"],
|
|
29903
29897
|
serialize: "prophoto-rgb",
|
|
29904
29898
|
fromMode: {
|
|
29905
|
-
xyz50:
|
|
29906
|
-
rgb: (t) =>
|
|
29899
|
+
xyz50: Ic,
|
|
29900
|
+
rgb: (t) => Ic(Mr(t))
|
|
29907
29901
|
},
|
|
29908
29902
|
toMode: {
|
|
29909
29903
|
xyz50: Dc,
|
|
@@ -29939,7 +29933,7 @@ const V_ = {
|
|
|
29939
29933
|
};
|
|
29940
29934
|
return t.alpha !== void 0 && (r.alpha = t.alpha), r;
|
|
29941
29935
|
}, q_ = {
|
|
29942
|
-
...
|
|
29936
|
+
...Rn,
|
|
29943
29937
|
mode: "rec2020",
|
|
29944
29938
|
fromMode: {
|
|
29945
29939
|
xyz65: Hc,
|
|
@@ -29952,7 +29946,7 @@ const V_ = {
|
|
|
29952
29946
|
parse: ["rec2020"],
|
|
29953
29947
|
serialize: "rec2020"
|
|
29954
29948
|
}, La = 0.0037930732552754493, fp = Math.cbrt(La), mo = (t) => Math.cbrt(t) - fp, Z_ = (t) => {
|
|
29955
|
-
const { r: e, g: a, b: n, alpha: r } =
|
|
29949
|
+
const { r: e, g: a, b: n, alpha: r } = In(t), l = mo(0.3 * e + 0.622 * a + 0.078 * n + La), o = mo(0.23 * e + 0.692 * a + 0.078 * n + La), s = mo(
|
|
29956
29950
|
0.2434226892454782 * e + 0.2047674442449682 * a + 0.5518098665095535 * n + La
|
|
29957
29951
|
), d = {
|
|
29958
29952
|
mode: "xyb",
|
|
@@ -30132,7 +30126,7 @@ Pe(V_);
|
|
|
30132
30126
|
Pe(U_);
|
|
30133
30127
|
Pe(G_);
|
|
30134
30128
|
Pe(q_);
|
|
30135
|
-
Pe(
|
|
30129
|
+
Pe(Rn);
|
|
30136
30130
|
Pe(X_);
|
|
30137
30131
|
Pe(J_);
|
|
30138
30132
|
Pe(tO);
|
|
@@ -30545,8 +30539,8 @@ function gO({
|
|
|
30545
30539
|
const { t: o } = xt(), s = wu({
|
|
30546
30540
|
resolver: Mh(Ns),
|
|
30547
30541
|
defaultValues: t.initialData || Object.fromEntries(
|
|
30548
|
-
e.shipments.map((
|
|
30549
|
-
|
|
30542
|
+
e.shipments.map((p) => [
|
|
30543
|
+
p.id,
|
|
30550
30544
|
{
|
|
30551
30545
|
rateId: "",
|
|
30552
30546
|
carrierId: "",
|
|
@@ -30558,8 +30552,9 @@ function gO({
|
|
|
30558
30552
|
])
|
|
30559
30553
|
)
|
|
30560
30554
|
}), d = Object.values(s.getValues()).every(
|
|
30561
|
-
(
|
|
30562
|
-
), c = e.rates === void 0
|
|
30555
|
+
(p) => p.rateId?.length > 0
|
|
30556
|
+
), c = e.rates === void 0, h = e.rates && Object.keys(e.rates).length > 0 && // eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
30557
|
+
Object.entries(e.rates).some(([p, m]) => m.length > 0), u = !c && !h;
|
|
30563
30558
|
return /* @__PURE__ */ K("div", { className: "space-y-6", children: [
|
|
30564
30559
|
/* @__PURE__ */ f("h2", { children: o("CheckoutEmbed.Shipping.title") }),
|
|
30565
30560
|
/* @__PURE__ */ K("div", { className: "space-y-2 pb-2", children: [
|
|
@@ -30580,28 +30575,28 @@ function gO({
|
|
|
30580
30575
|
/* @__PURE__ */ f(Ct, { variant: "link", size: "link", onClick: t.onBack, children: o("CheckoutEmbed.Shipping.change") })
|
|
30581
30576
|
] })
|
|
30582
30577
|
] }),
|
|
30583
|
-
/* @__PURE__ */ f(
|
|
30578
|
+
/* @__PURE__ */ f(Ru, { ...s, children: /* @__PURE__ */ K(
|
|
30584
30579
|
"form",
|
|
30585
30580
|
{
|
|
30586
30581
|
onSubmit: s.handleSubmit(t.onSubmit),
|
|
30587
30582
|
className: "space-y-4",
|
|
30588
30583
|
children: [
|
|
30589
|
-
!
|
|
30590
|
-
|
|
30584
|
+
!u && /* @__PURE__ */ f("p", { className: "text-destructive py-2 text-base font-medium", children: o("CheckoutEmbed.Shipping.errorNoShippingRates") }),
|
|
30585
|
+
u && e.shipments.map((p, m) => /* @__PURE__ */ f(
|
|
30591
30586
|
yO,
|
|
30592
30587
|
{
|
|
30593
|
-
shipment:
|
|
30594
|
-
shippingRates: e.rates?.[
|
|
30588
|
+
shipment: p,
|
|
30589
|
+
shippingRates: e.rates?.[p.id] ?? [],
|
|
30595
30590
|
form: s,
|
|
30596
30591
|
currency: n.code,
|
|
30597
30592
|
exchangeRate: n.exchangeRate,
|
|
30598
30593
|
locale: r,
|
|
30599
30594
|
countryCode: a.countryCode,
|
|
30600
30595
|
multipleShipments: e.shipments.length > 1,
|
|
30601
|
-
index:
|
|
30596
|
+
index: m,
|
|
30602
30597
|
onShippingDataChange: l
|
|
30603
30598
|
},
|
|
30604
|
-
|
|
30599
|
+
p.id
|
|
30605
30600
|
)),
|
|
30606
30601
|
/* @__PURE__ */ f(Ki, { children: s.formState.errors.root?.message }),
|
|
30607
30602
|
/* @__PURE__ */ K("div", { className: "flex items-center justify-between pt-4", children: [
|
|
@@ -30804,23 +30799,7 @@ function wO({
|
|
|
30804
30799
|
customer: P
|
|
30805
30800
|
});
|
|
30806
30801
|
let T = M.customerId;
|
|
30807
|
-
if (T)
|
|
30808
|
-
await t.customers.update(T, {
|
|
30809
|
-
email: P.email,
|
|
30810
|
-
phone: P.phone,
|
|
30811
|
-
firstName: P.firstName,
|
|
30812
|
-
lastName: P.lastName,
|
|
30813
|
-
address: {
|
|
30814
|
-
...P.address,
|
|
30815
|
-
company: P.address.company ?? null,
|
|
30816
|
-
line2: P.address.line2 ?? null,
|
|
30817
|
-
province: P.address.province ?? null,
|
|
30818
|
-
provinceCode: P.address.provinceCode ?? null,
|
|
30819
|
-
phone: P.phone,
|
|
30820
|
-
name: P.firstName + " " + P.lastName
|
|
30821
|
-
}
|
|
30822
|
-
});
|
|
30823
|
-
else {
|
|
30802
|
+
if (!T) {
|
|
30824
30803
|
const N = await t.customers.upsert({
|
|
30825
30804
|
email: P.email
|
|
30826
30805
|
});
|
|
@@ -30843,6 +30822,24 @@ function wO({
|
|
|
30843
30822
|
customerId: N.id
|
|
30844
30823
|
}), T = N.id;
|
|
30845
30824
|
}
|
|
30825
|
+
await t.checkout.update(e, {
|
|
30826
|
+
customerData: {
|
|
30827
|
+
email: P.email,
|
|
30828
|
+
phone: P.phone,
|
|
30829
|
+
firstName: P.firstName,
|
|
30830
|
+
lastName: P.lastName,
|
|
30831
|
+
address: {
|
|
30832
|
+
...P.address,
|
|
30833
|
+
company: P.address.company ?? null,
|
|
30834
|
+
line2: P.address.line2 ?? null,
|
|
30835
|
+
province: P.address.province ?? null,
|
|
30836
|
+
provinceCode: P.address.provinceCode ?? null,
|
|
30837
|
+
phone: P.phone,
|
|
30838
|
+
name: P.firstName + " " + P.lastName
|
|
30839
|
+
}
|
|
30840
|
+
},
|
|
30841
|
+
customerId: T
|
|
30842
|
+
});
|
|
30846
30843
|
const A = await t.checkout.getShippingRates(e);
|
|
30847
30844
|
G(A), F({
|
|
30848
30845
|
...M,
|
|
@@ -30856,13 +30853,13 @@ function wO({
|
|
|
30856
30853
|
};
|
|
30857
30854
|
F(T);
|
|
30858
30855
|
const A = Object.entries(P).map(
|
|
30859
|
-
([N,
|
|
30856
|
+
([N, R]) => ({
|
|
30860
30857
|
id: N,
|
|
30861
30858
|
shipmentData: {
|
|
30862
|
-
rateId:
|
|
30863
|
-
carrierId:
|
|
30864
|
-
priceInCents:
|
|
30865
|
-
pickupPointId:
|
|
30859
|
+
rateId: R.rateId,
|
|
30860
|
+
carrierId: R.carrierId ?? null,
|
|
30861
|
+
priceInCents: R.priceInCents,
|
|
30862
|
+
pickupPointId: R.pickupPointId ?? null,
|
|
30866
30863
|
trackingId: null,
|
|
30867
30864
|
trackingUrl: null
|
|
30868
30865
|
}
|
|
@@ -30872,7 +30869,7 @@ function wO({
|
|
|
30872
30869
|
shipments: A
|
|
30873
30870
|
}), p(
|
|
30874
30871
|
A.reduce(
|
|
30875
|
-
(N,
|
|
30872
|
+
(N, R) => N + R.shipmentData.priceInCents,
|
|
30876
30873
|
0
|
|
30877
30874
|
)
|
|
30878
30875
|
), D("payment");
|
|
@@ -30940,7 +30937,7 @@ function wO({
|
|
|
30940
30937
|
}
|
|
30941
30938
|
}
|
|
30942
30939
|
) : /* @__PURE__ */ f(
|
|
30943
|
-
|
|
30940
|
+
IP,
|
|
30944
30941
|
{
|
|
30945
30942
|
form: {
|
|
30946
30943
|
initialData: M.customer,
|
|
@@ -31371,7 +31368,7 @@ function MO({ checkoutId: t, config: e }) {
|
|
|
31371
31368
|
if (!C && !S)
|
|
31372
31369
|
throw new Error("Checkout not found");
|
|
31373
31370
|
async function j() {
|
|
31374
|
-
const T = await
|
|
31371
|
+
const T = await Rm(d, t);
|
|
31375
31372
|
m(T.paymentSecret), v(T.publicKey), k(T.checkoutSession);
|
|
31376
31373
|
}
|
|
31377
31374
|
it(() => {
|
|
@@ -31389,13 +31386,13 @@ function MO({ checkoutId: t, config: e }) {
|
|
|
31389
31386
|
code: T
|
|
31390
31387
|
});
|
|
31391
31388
|
if (k(A), h === "payment") {
|
|
31392
|
-
const N = Ja(A, V),
|
|
31389
|
+
const N = Ja(A, V), R = Ja(C, V);
|
|
31393
31390
|
console.log(
|
|
31394
31391
|
"[Payment Debug] Discount applied - New total:",
|
|
31395
31392
|
N,
|
|
31396
31393
|
"Current total:",
|
|
31397
|
-
|
|
31398
|
-
), N !==
|
|
31394
|
+
R
|
|
31395
|
+
), N !== R ? (console.log(
|
|
31399
31396
|
"[Payment Debug] Total changed, regenerating payment secret"
|
|
31400
31397
|
), await j(), $((L) => L + 1)) : console.log(
|
|
31401
31398
|
"[Payment Debug] Total unchanged, skipping payment secret regeneration"
|
|
@@ -31411,7 +31408,7 @@ function MO({ checkoutId: t, config: e }) {
|
|
|
31411
31408
|
N
|
|
31412
31409
|
), A !== N ? (console.log(
|
|
31413
31410
|
"[Payment Debug] Total changed, regenerating payment secret"
|
|
31414
|
-
), await j(), $((
|
|
31411
|
+
), await j(), $((R) => R + 1)) : console.log(
|
|
31415
31412
|
"[Payment Debug] Total unchanged, skipping payment secret regeneration"
|
|
31416
31413
|
), k(T);
|
|
31417
31414
|
} else {
|
|
@@ -31425,13 +31422,13 @@ function MO({ checkoutId: t, config: e }) {
|
|
|
31425
31422
|
T
|
|
31426
31423
|
);
|
|
31427
31424
|
if (k(A), h === "payment") {
|
|
31428
|
-
const N = Ja(A, V),
|
|
31425
|
+
const N = Ja(A, V), R = Ja(C, V);
|
|
31429
31426
|
console.log(
|
|
31430
31427
|
"[Payment Debug] Discount removed - New total:",
|
|
31431
31428
|
N,
|
|
31432
31429
|
"Current total:",
|
|
31433
|
-
|
|
31434
|
-
), N !==
|
|
31430
|
+
R
|
|
31431
|
+
), N !== R ? (console.log(
|
|
31435
31432
|
"[Payment Debug] Total changed, regenerating payment secret"
|
|
31436
31433
|
), await j(), $((L) => L + 1)) : console.log(
|
|
31437
31434
|
"[Payment Debug] Total unchanged, skipping payment secret regeneration"
|