@rpcbase/ui 0.115.0 → 0.116.0
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/components/I18nField/index.d.ts.map +1 -1
- package/dist/index.js +613 -601
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as Et from "@radix-ui/react-dialog";
|
|
|
5
5
|
import { XIcon as xl, Plus as Do, X as ys, Maximize2 as Al, Loader2 as Sl } from "lucide-react";
|
|
6
6
|
import { unstable_batchedUpdates as nr, createPortal as qi } from "react-dom";
|
|
7
7
|
import { Link as El } from "react-router";
|
|
8
|
-
const
|
|
8
|
+
const d3 = () => typeof navigator > "u" ? !1 : /Android|iPhone|iPad|iPod/i.test(navigator.userAgent);
|
|
9
9
|
function Nl(e, t) {
|
|
10
10
|
e.src = t;
|
|
11
11
|
}
|
|
@@ -165,11 +165,11 @@ function Wl() {
|
|
|
165
165
|
}
|
|
166
166
|
if (P) {
|
|
167
167
|
P = console;
|
|
168
|
-
var T = P.error,
|
|
168
|
+
var T = P.error, _ = typeof Symbol == "function" && Symbol.toStringTag && $[Symbol.toStringTag] || $.constructor.name || "Object";
|
|
169
169
|
return T.call(
|
|
170
170
|
P,
|
|
171
171
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
172
|
-
|
|
172
|
+
_
|
|
173
173
|
), t($);
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -212,18 +212,18 @@ function Wl() {
|
|
|
212
212
|
}
|
|
213
213
|
function s() {
|
|
214
214
|
var $ = e(this.type);
|
|
215
|
-
return
|
|
215
|
+
return j[$] || (j[$] = !0, console.error(
|
|
216
216
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
217
217
|
)), $ = this.props.ref, $ !== void 0 ? $ : null;
|
|
218
218
|
}
|
|
219
|
-
function l($, P, T,
|
|
219
|
+
function l($, P, T, _, H, ee) {
|
|
220
220
|
var q = T.ref;
|
|
221
221
|
return $ = {
|
|
222
222
|
$$typeof: h,
|
|
223
223
|
type: $,
|
|
224
224
|
key: P,
|
|
225
225
|
props: T,
|
|
226
|
-
_owner:
|
|
226
|
+
_owner: _
|
|
227
227
|
}, (q !== void 0 ? q : null) !== null ? Object.defineProperty($, "ref", {
|
|
228
228
|
enumerable: !1,
|
|
229
229
|
get: s
|
|
@@ -249,13 +249,13 @@ function Wl() {
|
|
|
249
249
|
value: ee
|
|
250
250
|
}), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
|
|
251
251
|
}
|
|
252
|
-
function d($, P, T,
|
|
252
|
+
function d($, P, T, _, H, ee) {
|
|
253
253
|
var q = P.children;
|
|
254
254
|
if (q !== void 0)
|
|
255
|
-
if (
|
|
255
|
+
if (_)
|
|
256
256
|
if (R(q)) {
|
|
257
|
-
for (
|
|
258
|
-
c(q[
|
|
257
|
+
for (_ = 0; _ < q.length; _++)
|
|
258
|
+
c(q[_]);
|
|
259
259
|
Object.freeze && Object.freeze(q);
|
|
260
260
|
} else
|
|
261
261
|
console.error(
|
|
@@ -267,18 +267,18 @@ function Wl() {
|
|
|
267
267
|
var ie = Object.keys(P).filter(function(ne) {
|
|
268
268
|
return ne !== "key";
|
|
269
269
|
});
|
|
270
|
-
|
|
270
|
+
_ = 0 < ie.length ? "{key: someKey, " + ie.join(": ..., ") + ": ...}" : "{key: someKey}", U[q + _] || (ie = 0 < ie.length ? "{" + ie.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
271
271
|
`A props object containing a "key" prop is being spread into JSX:
|
|
272
272
|
let props = %s;
|
|
273
273
|
<%s {...props} />
|
|
274
274
|
React keys must be passed directly to JSX without using spread:
|
|
275
275
|
let props = %s;
|
|
276
276
|
<%s key={someKey} {...props} />`,
|
|
277
|
-
|
|
277
|
+
_,
|
|
278
278
|
q,
|
|
279
279
|
ie,
|
|
280
280
|
q
|
|
281
|
-
), U[q +
|
|
281
|
+
), U[q + _] = !0);
|
|
282
282
|
}
|
|
283
283
|
if (q = null, T !== void 0 && (n(T), q = "" + T), a(P) && (n(P.key), q = "" + P.key), "key" in P) {
|
|
284
284
|
T = {};
|
|
@@ -311,38 +311,38 @@ React keys must be passed directly to JSX without using spread:
|
|
|
311
311
|
return $();
|
|
312
312
|
}
|
|
313
313
|
};
|
|
314
|
-
var D,
|
|
314
|
+
var D, j = {}, O = g.react_stack_bottom_frame.bind(
|
|
315
315
|
g,
|
|
316
316
|
o
|
|
317
317
|
)(), M = k(r(o)), U = {};
|
|
318
318
|
mn.Fragment = b, mn.jsx = function($, P, T) {
|
|
319
|
-
var
|
|
319
|
+
var _ = 1e4 > X.recentlyCreatedOwnerStacks++;
|
|
320
320
|
return d(
|
|
321
321
|
$,
|
|
322
322
|
P,
|
|
323
323
|
T,
|
|
324
324
|
!1,
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
_ ? Error("react-stack-top-frame") : O,
|
|
326
|
+
_ ? k(r($)) : M
|
|
327
327
|
);
|
|
328
328
|
}, mn.jsxs = function($, P, T) {
|
|
329
|
-
var
|
|
329
|
+
var _ = 1e4 > X.recentlyCreatedOwnerStacks++;
|
|
330
330
|
return d(
|
|
331
331
|
$,
|
|
332
332
|
P,
|
|
333
333
|
T,
|
|
334
334
|
!0,
|
|
335
|
-
|
|
336
|
-
|
|
335
|
+
_ ? Error("react-stack-top-frame") : O,
|
|
336
|
+
_ ? k(r($)) : M
|
|
337
337
|
);
|
|
338
338
|
};
|
|
339
339
|
})()), mn;
|
|
340
340
|
}
|
|
341
341
|
var Lo;
|
|
342
|
-
function
|
|
342
|
+
function jl() {
|
|
343
343
|
return Lo || (Lo = 1, process.env.NODE_ENV === "production" ? ir.exports = Xl() : ir.exports = Wl()), ir.exports;
|
|
344
344
|
}
|
|
345
|
-
var x =
|
|
345
|
+
var x = jl();
|
|
346
346
|
function Re(...e) {
|
|
347
347
|
return Il(e);
|
|
348
348
|
}
|
|
@@ -361,7 +361,7 @@ function Is(e) {
|
|
|
361
361
|
);
|
|
362
362
|
}
|
|
363
363
|
Is.displayName = "Input";
|
|
364
|
-
const
|
|
364
|
+
const _l = /* @__PURE__ */ new Set([
|
|
365
365
|
"street_address",
|
|
366
366
|
"route",
|
|
367
367
|
"premise",
|
|
@@ -416,7 +416,7 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
416
416
|
}, Jl = (e, t) => e.filter((n) => Zl(n, t)), Ul = (e) => e.sort((t, n) => {
|
|
417
417
|
const r = t.distanceMeters ?? Number.POSITIVE_INFINITY, i = n.distanceMeters ?? Number.POSITIVE_INFINITY;
|
|
418
418
|
return r - i;
|
|
419
|
-
}), Ql = (e, t) => Ul(Jl(zl(e), t)), Kl = (e, t) => to(e).toLowerCase() === t.trim().toLowerCase(),
|
|
419
|
+
}), Ql = (e, t) => Ul(Jl(zl(e), t)), Kl = (e, t) => to(e).toLowerCase() === t.trim().toLowerCase(), c3 = ({
|
|
420
420
|
id: e,
|
|
421
421
|
label: t,
|
|
422
422
|
placeholder: n,
|
|
@@ -432,7 +432,7 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
432
432
|
}) => {
|
|
433
433
|
const [f, g] = ae(r ?? ""), [h, p] = ae([]), [b, m] = ae(!1), [y, C] = ae(-1), S = J(null), v = J(null), E = J(!1), A = J(!1), N = J(null), L = J([]), G = J("smooth"), V = kl("places", l), X = se(() => {
|
|
434
434
|
if (!c)
|
|
435
|
-
return
|
|
435
|
+
return _l;
|
|
436
436
|
const O = /* @__PURE__ */ new Set();
|
|
437
437
|
for (const M of c)
|
|
438
438
|
O.add(M);
|
|
@@ -466,17 +466,17 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
466
466
|
locationRestriction: d,
|
|
467
467
|
includedRegionCodes: ["fr"]
|
|
468
468
|
};
|
|
469
|
-
$.fetchAutocompleteSuggestions(T).then((
|
|
469
|
+
$.fetchAutocompleteSuggestions(T).then((_) => {
|
|
470
470
|
if (!O)
|
|
471
471
|
return;
|
|
472
|
-
const H =
|
|
472
|
+
const H = _.suggestions.map((re) => re.placePrediction).filter((re) => !!re), ee = Ql(H, X), q = ee[0], ie = q && ee.length === 1 && Kl(q, f);
|
|
473
473
|
if (!A.current && ie) {
|
|
474
474
|
p(ee), m(!1);
|
|
475
475
|
return;
|
|
476
476
|
}
|
|
477
477
|
ee.length > 0 ? (p(ee), A.current && m(!0), C(-1)) : (p([]), m(!1));
|
|
478
|
-
}).catch((
|
|
479
|
-
O && (console.error("AddressAutocompleteInput: suggestion fetch failed",
|
|
478
|
+
}).catch((_) => {
|
|
479
|
+
O && (console.error("AddressAutocompleteInput: suggestion fetch failed", _), p([]), m(!1));
|
|
480
480
|
});
|
|
481
481
|
}, 300);
|
|
482
482
|
return () => {
|
|
@@ -504,7 +504,7 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
504
504
|
O.key === "ArrowDown" ? (G.current = O.repeat ? "auto" : "smooth", O.preventDefault(), C((M) => h.length === 0 ? -1 : M < 0 ? 0 : (M + 1) % h.length)) : O.key === "ArrowUp" ? (G.current = O.repeat ? "auto" : "smooth", O.preventDefault(), C((M) => h.length === 0 ? -1 : M <= 0 ? h.length - 1 : (M - 1) % h.length)) : O.key === "Enter" ? (O.preventDefault(), y > -1 && h[y] ? K(h[y]) : (i(f), m(!1), N.current = null)) : O.key === "Escape" && m(!1);
|
|
505
505
|
}, D = () => {
|
|
506
506
|
m(!1), r !== f && i(f), N.current = null;
|
|
507
|
-
},
|
|
507
|
+
}, j = s ?? (a ? `${a}_shim` : void 0);
|
|
508
508
|
return te(() => {
|
|
509
509
|
if (!b || y < 0) {
|
|
510
510
|
G.current = "smooth";
|
|
@@ -517,18 +517,18 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
517
517
|
}
|
|
518
518
|
const U = G.current;
|
|
519
519
|
G.current = "smooth";
|
|
520
|
-
const $ = O.offsetTop, P = $ + O.offsetHeight, T = M.scrollTop,
|
|
521
|
-
$ >= T && P <=
|
|
520
|
+
const $ = O.offsetTop, P = $ + O.offsetHeight, T = M.scrollTop, _ = T + M.clientHeight;
|
|
521
|
+
$ >= T && P <= _ || O.scrollIntoView({
|
|
522
522
|
block: "nearest",
|
|
523
523
|
behavior: U
|
|
524
524
|
});
|
|
525
525
|
}, [y, b]), L.current.length = h.length, /* @__PURE__ */ x.jsxs("div", { className: "relative", children: [
|
|
526
|
-
|
|
526
|
+
j && /* @__PURE__ */ x.jsx(
|
|
527
527
|
"input",
|
|
528
528
|
{
|
|
529
529
|
tabIndex: -1,
|
|
530
530
|
autoComplete: "street-address",
|
|
531
|
-
name:
|
|
531
|
+
name: j,
|
|
532
532
|
"aria-hidden": "true",
|
|
533
533
|
className: "pointer-events-none absolute left-0 top-0 h-0 w-0 opacity-0"
|
|
534
534
|
}
|
|
@@ -581,7 +581,7 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
581
581
|
}
|
|
582
582
|
)
|
|
583
583
|
] });
|
|
584
|
-
},
|
|
584
|
+
}, f3 = ({
|
|
585
585
|
className: e,
|
|
586
586
|
onClick: t,
|
|
587
587
|
children: n,
|
|
@@ -604,7 +604,7 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
604
604
|
), ql = {
|
|
605
605
|
red: "checked:border-red-700 checked:bg-red-700 indeterminate:border-red-700 indeterminate:bg-red-700 focus-visible:outline-red-700",
|
|
606
606
|
sky: "checked:border-sky-600 checked:bg-sky-600 indeterminate:border-sky-600 indeterminate:bg-sky-600 focus-visible:outline-sky-600"
|
|
607
|
-
},
|
|
607
|
+
}, g3 = ({
|
|
608
608
|
id: e,
|
|
609
609
|
name: t,
|
|
610
610
|
defaultValue: n,
|
|
@@ -662,12 +662,12 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
662
662
|
)
|
|
663
663
|
] }) });
|
|
664
664
|
};
|
|
665
|
-
function
|
|
665
|
+
function p3({
|
|
666
666
|
...e
|
|
667
667
|
}) {
|
|
668
668
|
return /* @__PURE__ */ x.jsx(Et.Root, { "data-slot": "dialog", ...e });
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function b3({
|
|
671
671
|
...e
|
|
672
672
|
}) {
|
|
673
673
|
return /* @__PURE__ */ x.jsx(Et.Trigger, { "data-slot": "dialog-trigger", ...e });
|
|
@@ -677,7 +677,7 @@ function ed({
|
|
|
677
677
|
}) {
|
|
678
678
|
return /* @__PURE__ */ x.jsx(Et.Portal, { "data-slot": "dialog-portal", ...e });
|
|
679
679
|
}
|
|
680
|
-
function
|
|
680
|
+
function h3({
|
|
681
681
|
...e
|
|
682
682
|
}) {
|
|
683
683
|
return /* @__PURE__ */ x.jsx(Et.Close, { "data-slot": "dialog-close", ...e });
|
|
@@ -728,7 +728,7 @@ const nd = I.forwardRef(({ className: e, children: t, showCloseButton: n = !0, s
|
|
|
728
728
|
}
|
|
729
729
|
) }) }));
|
|
730
730
|
nd.displayName = Et.Content.displayName;
|
|
731
|
-
function
|
|
731
|
+
function m3({ className: e, ...t }) {
|
|
732
732
|
return /* @__PURE__ */ x.jsx(
|
|
733
733
|
"div",
|
|
734
734
|
{
|
|
@@ -738,7 +738,7 @@ function h3({ className: e, ...t }) {
|
|
|
738
738
|
}
|
|
739
739
|
);
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function v3({ className: e, ...t }) {
|
|
742
742
|
return /* @__PURE__ */ x.jsx(
|
|
743
743
|
"div",
|
|
744
744
|
{
|
|
@@ -748,7 +748,7 @@ function m3({ className: e, ...t }) {
|
|
|
748
748
|
}
|
|
749
749
|
);
|
|
750
750
|
}
|
|
751
|
-
function
|
|
751
|
+
function $3({
|
|
752
752
|
className: e,
|
|
753
753
|
...t
|
|
754
754
|
}) {
|
|
@@ -761,7 +761,7 @@ function v3({
|
|
|
761
761
|
}
|
|
762
762
|
);
|
|
763
763
|
}
|
|
764
|
-
function
|
|
764
|
+
function y3({
|
|
765
765
|
className: e,
|
|
766
766
|
...t
|
|
767
767
|
}) {
|
|
@@ -823,7 +823,7 @@ var rd = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D",
|
|
|
823
823
|
}
|
|
824
824
|
return d;
|
|
825
825
|
}, ld = ud;
|
|
826
|
-
const
|
|
826
|
+
const C3 = ({
|
|
827
827
|
src: e,
|
|
828
828
|
hash: t,
|
|
829
829
|
alt: n = "",
|
|
@@ -925,14 +925,14 @@ function ro(e) {
|
|
|
925
925
|
} = qe(e);
|
|
926
926
|
return e instanceof t;
|
|
927
927
|
}
|
|
928
|
-
function
|
|
928
|
+
function _n(e) {
|
|
929
929
|
return sn(e) ? !1 : e instanceof qe(e).HTMLElement;
|
|
930
930
|
}
|
|
931
931
|
function xs(e) {
|
|
932
932
|
return e instanceof qe(e).SVGElement;
|
|
933
933
|
}
|
|
934
934
|
function un(e) {
|
|
935
|
-
return e ? sn(e) ? e.document : no(e) ? ro(e) ? e :
|
|
935
|
+
return e ? sn(e) ? e.document : no(e) ? ro(e) ? e : _n(e) || xs(e) ? e.ownerDocument : document : document : document;
|
|
936
936
|
}
|
|
937
937
|
const mt = Lr ? $s : te;
|
|
938
938
|
function Vr(e) {
|
|
@@ -1374,7 +1374,7 @@ function ws(e, t) {
|
|
|
1374
1374
|
const [n] = e;
|
|
1375
1375
|
return n[t];
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function jo(e, t, n) {
|
|
1378
1378
|
return t === void 0 && (t = e.left), n === void 0 && (n = e.top), {
|
|
1379
1379
|
x: t + e.width * 0.5,
|
|
1380
1380
|
y: n + e.height * 0.5
|
|
@@ -1386,13 +1386,13 @@ const Nd = (e) => {
|
|
|
1386
1386
|
droppableRects: n,
|
|
1387
1387
|
droppableContainers: r
|
|
1388
1388
|
} = e;
|
|
1389
|
-
const i =
|
|
1389
|
+
const i = jo(t, t.left, t.top), o = [];
|
|
1390
1390
|
for (const a of r) {
|
|
1391
1391
|
const {
|
|
1392
1392
|
id: u
|
|
1393
1393
|
} = a, s = n.get(u);
|
|
1394
1394
|
if (s) {
|
|
1395
|
-
const l = Es(
|
|
1395
|
+
const l = Es(jo(s), i);
|
|
1396
1396
|
o.push({
|
|
1397
1397
|
id: u,
|
|
1398
1398
|
data: {
|
|
@@ -1557,7 +1557,7 @@ function ln(e, t) {
|
|
|
1557
1557
|
right: s
|
|
1558
1558
|
};
|
|
1559
1559
|
}
|
|
1560
|
-
function
|
|
1560
|
+
function _o(e) {
|
|
1561
1561
|
return ln(e, {
|
|
1562
1562
|
ignoreTransform: !0
|
|
1563
1563
|
});
|
|
@@ -1591,7 +1591,7 @@ function Xr(e, t) {
|
|
|
1591
1591
|
return n;
|
|
1592
1592
|
if (ro(i) && i.scrollingElement != null && !n.includes(i.scrollingElement))
|
|
1593
1593
|
return n.push(i.scrollingElement), n;
|
|
1594
|
-
if (!
|
|
1594
|
+
if (!_n(i) || xs(i) || n.includes(i))
|
|
1595
1595
|
return n;
|
|
1596
1596
|
const o = qe(e).getComputedStyle(i);
|
|
1597
1597
|
return i !== e && Ld(i, o) && n.push(i), Bd(i, o) ? n : r(i.parentNode);
|
|
@@ -1603,7 +1603,7 @@ function Ts(e) {
|
|
|
1603
1603
|
return t ?? null;
|
|
1604
1604
|
}
|
|
1605
1605
|
function ii(e) {
|
|
1606
|
-
return !Lr || !e ? null : sn(e) ? e : no(e) ? ro(e) || e === un(e).scrollingElement ? window :
|
|
1606
|
+
return !Lr || !e ? null : sn(e) ? e : no(e) ? ro(e) || e === un(e).scrollingElement ? window : _n(e) ? e : null : null;
|
|
1607
1607
|
}
|
|
1608
1608
|
function Fs(e) {
|
|
1609
1609
|
return sn(e) ? e.scrollX : e.scrollLeft;
|
|
@@ -1715,7 +1715,7 @@ function Ms(e) {
|
|
|
1715
1715
|
function Wd(e) {
|
|
1716
1716
|
return e.reduce((t, n) => t + Fs(n), 0);
|
|
1717
1717
|
}
|
|
1718
|
-
function
|
|
1718
|
+
function jd(e) {
|
|
1719
1719
|
return e.reduce((t, n) => t + Os(n), 0);
|
|
1720
1720
|
}
|
|
1721
1721
|
function Bs(e, t) {
|
|
@@ -1732,7 +1732,7 @@ function Bs(e, t) {
|
|
|
1732
1732
|
inline: "center"
|
|
1733
1733
|
});
|
|
1734
1734
|
}
|
|
1735
|
-
const
|
|
1735
|
+
const _d = [["x", ["left", "right"], Wd], ["y", ["top", "bottom"], jd]];
|
|
1736
1736
|
class io {
|
|
1737
1737
|
constructor(t, n) {
|
|
1738
1738
|
this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
|
|
@@ -1740,7 +1740,7 @@ class io {
|
|
|
1740
1740
|
this.rect = {
|
|
1741
1741
|
...t
|
|
1742
1742
|
}, this.width = t.width, this.height = t.height;
|
|
1743
|
-
for (const [o, a, u] of
|
|
1743
|
+
for (const [o, a, u] of _d)
|
|
1744
1744
|
for (const s of a)
|
|
1745
1745
|
Object.defineProperty(this, s, {
|
|
1746
1746
|
get: () => {
|
|
@@ -2623,7 +2623,7 @@ function ks(e) {
|
|
|
2623
2623
|
if (e.children.length > 1)
|
|
2624
2624
|
return e;
|
|
2625
2625
|
const t = e.children[0];
|
|
2626
|
-
return
|
|
2626
|
+
return _n(t) ? t : e;
|
|
2627
2627
|
}
|
|
2628
2628
|
function gc(e) {
|
|
2629
2629
|
let {
|
|
@@ -2633,7 +2633,7 @@ function gc(e) {
|
|
|
2633
2633
|
for (const {
|
|
2634
2634
|
target: d
|
|
2635
2635
|
} of l)
|
|
2636
|
-
if (
|
|
2636
|
+
if (_n(d)) {
|
|
2637
2637
|
r((c) => {
|
|
2638
2638
|
const f = t(d);
|
|
2639
2639
|
return c ? {
|
|
@@ -2666,10 +2666,10 @@ const pc = [{
|
|
|
2666
2666
|
current: {}
|
|
2667
2667
|
}, hr = {
|
|
2668
2668
|
draggable: {
|
|
2669
|
-
measure:
|
|
2669
|
+
measure: _o
|
|
2670
2670
|
},
|
|
2671
2671
|
droppable: {
|
|
2672
|
-
measure:
|
|
2672
|
+
measure: _o,
|
|
2673
2673
|
strategy: Nn.WhileDragging,
|
|
2674
2674
|
frequency: Ri.Optimized
|
|
2675
2675
|
},
|
|
@@ -2883,7 +2883,7 @@ function $c(e) {
|
|
|
2883
2883
|
}
|
|
2884
2884
|
}, [r, t, i, a, o]), null;
|
|
2885
2885
|
}
|
|
2886
|
-
function
|
|
2886
|
+
function js(e, t) {
|
|
2887
2887
|
let {
|
|
2888
2888
|
transform: n,
|
|
2889
2889
|
...r
|
|
@@ -2947,7 +2947,7 @@ function Cc(e) {
|
|
|
2947
2947
|
}
|
|
2948
2948
|
}, [t, a, u, r, n]);
|
|
2949
2949
|
}
|
|
2950
|
-
const
|
|
2950
|
+
const jr = /* @__PURE__ */ an({
|
|
2951
2951
|
...vt,
|
|
2952
2952
|
scaleX: 1,
|
|
2953
2953
|
scaleY: 1
|
|
@@ -2989,15 +2989,15 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
2989
2989
|
data: (Fe = V?.data) != null ? Fe : bc,
|
|
2990
2990
|
rect: X
|
|
2991
2991
|
} : null;
|
|
2992
|
-
}, [A, V]), R = J(null), [k, D] = ae(null), [
|
|
2992
|
+
}, [A, V]), R = J(null), [k, D] = ae(null), [j, O] = ae(null), M = Sn(h, Object.values(h)), U = Zn("DndDescribedBy", a), $ = se(() => G.getEnabled(), [G]), P = yc(f), {
|
|
2993
2993
|
droppableRects: T,
|
|
2994
|
-
measureDroppableContainers:
|
|
2994
|
+
measureDroppableContainers: _,
|
|
2995
2995
|
measuringScheduled: H
|
|
2996
2996
|
} = rc($, {
|
|
2997
2997
|
dragging: E,
|
|
2998
2998
|
dependencies: [L.x, L.y],
|
|
2999
2999
|
config: P.droppable
|
|
3000
|
-
}), ee = tc(N, A), q = se(() =>
|
|
3000
|
+
}), ee = tc(N, A), q = se(() => j ? Ar(j) : null, [j]), ie = Qn(), re = ic(ee, P.draggable.measure);
|
|
3001
3001
|
Cc({
|
|
3002
3002
|
activeNode: A != null ? N.get(A) : null,
|
|
3003
3003
|
config: ie.layoutShiftCompensation,
|
|
@@ -3020,14 +3020,14 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3020
3020
|
scrollAdjustedTranslate: null
|
|
3021
3021
|
}), me = G.getNodeFor((n = F.current.over) == null ? void 0 : n.id), ve = gc({
|
|
3022
3022
|
measure: P.dragOverlay.measure
|
|
3023
|
-
}), Pe = (r = ve.nodeRef.current) != null ? r : ee, Xe = E ? (i = ve.rect) != null ? i : ne : null, nt = !!(ve.nodeRef.current && ve.rect), Te = sc(nt ? null : ne), $t = Vs(Pe ? qe(Pe) : null), Ie = uc(E ? me ?? ee : null), ot = fc(Ie), Mt =
|
|
3023
|
+
}), Pe = (r = ve.nodeRef.current) != null ? r : ee, Xe = E ? (i = ve.rect) != null ? i : ne : null, nt = !!(ve.nodeRef.current && ve.rect), Te = sc(nt ? null : ne), $t = Vs(Pe ? qe(Pe) : null), Ie = uc(E ? me ?? ee : null), ot = fc(Ie), Mt = js(g, {
|
|
3024
3024
|
transform: {
|
|
3025
3025
|
x: L.x - Te.x,
|
|
3026
3026
|
y: L.y - Te.y,
|
|
3027
3027
|
scaleX: 1,
|
|
3028
3028
|
scaleY: 1
|
|
3029
3029
|
},
|
|
3030
|
-
activatorEvent:
|
|
3030
|
+
activatorEvent: j,
|
|
3031
3031
|
active: K,
|
|
3032
3032
|
activeNodeRect: ne,
|
|
3033
3033
|
containerNodeRect: ye,
|
|
@@ -3044,11 +3044,11 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3044
3044
|
droppableContainers: $,
|
|
3045
3045
|
pointerCoordinates: Xt
|
|
3046
3046
|
}) : null, $e = ws(ue, "id"), [Ne, at] = ae(null), Ze = nt ? Mt : en(Mt, Wt), wt = Td(Ze, (o = Ne?.rect) != null ? o : null, ne), Bt = J(null), Un = fe(
|
|
3047
|
-
(Fe,
|
|
3047
|
+
(Fe, je) => {
|
|
3048
3048
|
let {
|
|
3049
3049
|
sensor: Ye,
|
|
3050
3050
|
options: st
|
|
3051
|
-
} =
|
|
3051
|
+
} = je;
|
|
3052
3052
|
if (R.current == null)
|
|
3053
3053
|
return;
|
|
3054
3054
|
const ze = N.get(R.current);
|
|
@@ -3079,14 +3079,14 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3079
3079
|
if (!N.get(Oe))
|
|
3080
3080
|
return;
|
|
3081
3081
|
const {
|
|
3082
|
-
onDragPending:
|
|
3082
|
+
onDragPending: _t
|
|
3083
3083
|
} = M.current, pt = {
|
|
3084
3084
|
id: Oe,
|
|
3085
3085
|
constraint: ft,
|
|
3086
3086
|
initialCoordinates: ut,
|
|
3087
3087
|
offset: gt
|
|
3088
3088
|
};
|
|
3089
|
-
|
|
3089
|
+
_t?.(pt), y({
|
|
3090
3090
|
type: "onDragPending",
|
|
3091
3091
|
event: pt
|
|
3092
3092
|
});
|
|
@@ -3100,7 +3100,7 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3100
3100
|
return;
|
|
3101
3101
|
const {
|
|
3102
3102
|
onDragStart: gt
|
|
3103
|
-
} = M.current,
|
|
3103
|
+
} = M.current, jt = {
|
|
3104
3104
|
activatorEvent: Je,
|
|
3105
3105
|
active: {
|
|
3106
3106
|
id: ft,
|
|
@@ -3109,13 +3109,13 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3109
3109
|
}
|
|
3110
3110
|
};
|
|
3111
3111
|
nr(() => {
|
|
3112
|
-
gt?.(
|
|
3112
|
+
gt?.(jt), v(Vt.Initializing), m({
|
|
3113
3113
|
type: Ve.DragStart,
|
|
3114
3114
|
initialCoordinates: Oe,
|
|
3115
3115
|
active: ft
|
|
3116
3116
|
}), y({
|
|
3117
3117
|
type: "onDragStart",
|
|
3118
|
-
event:
|
|
3118
|
+
event: jt
|
|
3119
3119
|
}), D(Bt.current), O(Je);
|
|
3120
3120
|
});
|
|
3121
3121
|
},
|
|
@@ -3134,11 +3134,11 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3134
3134
|
const {
|
|
3135
3135
|
active: ut,
|
|
3136
3136
|
collisions: gt,
|
|
3137
|
-
over:
|
|
3138
|
-
scrollAdjustedTranslate:
|
|
3137
|
+
over: jt,
|
|
3138
|
+
scrollAdjustedTranslate: _t
|
|
3139
3139
|
} = F.current;
|
|
3140
3140
|
let pt = null;
|
|
3141
|
-
if (ut &&
|
|
3141
|
+
if (ut && _t) {
|
|
3142
3142
|
const {
|
|
3143
3143
|
cancelDrop: w
|
|
3144
3144
|
} = M.current;
|
|
@@ -3146,8 +3146,8 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3146
3146
|
activatorEvent: Je,
|
|
3147
3147
|
active: ut,
|
|
3148
3148
|
collisions: gt,
|
|
3149
|
-
delta:
|
|
3150
|
-
over:
|
|
3149
|
+
delta: _t,
|
|
3150
|
+
over: jt
|
|
3151
3151
|
}, Oe === Ve.DragEnd && typeof w == "function" && await Promise.resolve(w(pt)) && (Oe = Ve.DragCancel);
|
|
3152
3152
|
}
|
|
3153
3153
|
R.current = null, nr(() => {
|
|
@@ -3168,7 +3168,7 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3168
3168
|
},
|
|
3169
3169
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3170
3170
|
[N]
|
|
3171
|
-
), fn = fe((Fe,
|
|
3171
|
+
), fn = fe((Fe, je) => (Ye, st) => {
|
|
3172
3172
|
const ze = Ye.nativeEvent, Je = N.get(st);
|
|
3173
3173
|
if (
|
|
3174
3174
|
// Another sensor is already instantiating
|
|
@@ -3180,9 +3180,9 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3180
3180
|
const rt = {
|
|
3181
3181
|
active: Je
|
|
3182
3182
|
};
|
|
3183
|
-
Fe(Ye,
|
|
3184
|
-
capturedBy:
|
|
3185
|
-
}, R.current = st, Un(Ye,
|
|
3183
|
+
Fe(Ye, je.options, rt) === !0 && (ze.dndKit = {
|
|
3184
|
+
capturedBy: je.sensor
|
|
3185
|
+
}, R.current = st, Un(Ye, je));
|
|
3186
3186
|
}, [N, Un]), xe = nc(d, fn);
|
|
3187
3187
|
dc(d), mt(() => {
|
|
3188
3188
|
ne && S === Vt.Initializing && v(Vt.Initialized);
|
|
@@ -3191,15 +3191,15 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3191
3191
|
const {
|
|
3192
3192
|
onDragMove: Fe
|
|
3193
3193
|
} = M.current, {
|
|
3194
|
-
active:
|
|
3194
|
+
active: je,
|
|
3195
3195
|
activatorEvent: Ye,
|
|
3196
3196
|
collisions: st,
|
|
3197
3197
|
over: ze
|
|
3198
3198
|
} = F.current;
|
|
3199
|
-
if (!
|
|
3199
|
+
if (!je || !Ye)
|
|
3200
3200
|
return;
|
|
3201
3201
|
const Je = {
|
|
3202
|
-
active:
|
|
3202
|
+
active: je,
|
|
3203
3203
|
activatorEvent: Ye,
|
|
3204
3204
|
collisions: st,
|
|
3205
3205
|
delta: {
|
|
@@ -3221,12 +3221,12 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3221
3221
|
() => {
|
|
3222
3222
|
const {
|
|
3223
3223
|
active: Fe,
|
|
3224
|
-
activatorEvent:
|
|
3224
|
+
activatorEvent: je,
|
|
3225
3225
|
collisions: Ye,
|
|
3226
3226
|
droppableContainers: st,
|
|
3227
3227
|
scrollAdjustedTranslate: ze
|
|
3228
3228
|
} = F.current;
|
|
3229
|
-
if (!Fe || R.current == null || !
|
|
3229
|
+
if (!Fe || R.current == null || !je || !ze)
|
|
3230
3230
|
return;
|
|
3231
3231
|
const {
|
|
3232
3232
|
onDragOver: Je
|
|
@@ -3237,7 +3237,7 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3237
3237
|
disabled: rt.disabled
|
|
3238
3238
|
} : null, Oe = {
|
|
3239
3239
|
active: Fe,
|
|
3240
|
-
activatorEvent:
|
|
3240
|
+
activatorEvent: je,
|
|
3241
3241
|
collisions: Ye,
|
|
3242
3242
|
delta: {
|
|
3243
3243
|
x: ze.x,
|
|
@@ -3256,7 +3256,7 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3256
3256
|
[$e]
|
|
3257
3257
|
), mt(() => {
|
|
3258
3258
|
F.current = {
|
|
3259
|
-
activatorEvent:
|
|
3259
|
+
activatorEvent: j,
|
|
3260
3260
|
active: K,
|
|
3261
3261
|
activeNode: ee,
|
|
3262
3262
|
collisionRect: B,
|
|
@@ -3285,7 +3285,7 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3285
3285
|
active: K,
|
|
3286
3286
|
activeNode: ee,
|
|
3287
3287
|
activeNodeRect: ne,
|
|
3288
|
-
activatorEvent:
|
|
3288
|
+
activatorEvent: j,
|
|
3289
3289
|
collisions: ue,
|
|
3290
3290
|
containerNodeRect: ye,
|
|
3291
3291
|
dragOverlay: ve,
|
|
@@ -3293,14 +3293,14 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3293
3293
|
droppableContainers: G,
|
|
3294
3294
|
droppableRects: T,
|
|
3295
3295
|
over: Ne,
|
|
3296
|
-
measureDroppableContainers:
|
|
3296
|
+
measureDroppableContainers: _,
|
|
3297
3297
|
scrollableAncestors: Ie,
|
|
3298
3298
|
scrollableAncestorRects: ot,
|
|
3299
3299
|
measuringConfiguration: P,
|
|
3300
3300
|
measuringScheduled: H,
|
|
3301
3301
|
windowRect: $t
|
|
3302
|
-
}), [K, ee, ne,
|
|
3303
|
-
activatorEvent:
|
|
3302
|
+
}), [K, ee, ne, j, ue, ye, ve, N, G, T, Ne, _, Ie, ot, P, H, $t]), zt = se(() => ({
|
|
3303
|
+
activatorEvent: j,
|
|
3304
3304
|
activators: xe,
|
|
3305
3305
|
active: K,
|
|
3306
3306
|
activeNodeRect: ne,
|
|
@@ -3310,15 +3310,15 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3310
3310
|
dispatch: m,
|
|
3311
3311
|
draggableNodes: N,
|
|
3312
3312
|
over: Ne,
|
|
3313
|
-
measureDroppableContainers:
|
|
3314
|
-
}), [
|
|
3313
|
+
measureDroppableContainers: _
|
|
3314
|
+
}), [j, xe, K, ne, m, U, N, Ne, _]);
|
|
3315
3315
|
return Se.createElement(Ss.Provider, {
|
|
3316
3316
|
value: C
|
|
3317
3317
|
}, Se.createElement(Yn.Provider, {
|
|
3318
3318
|
value: zt
|
|
3319
3319
|
}, Se.createElement(Ws.Provider, {
|
|
3320
3320
|
value: yt
|
|
3321
|
-
}, Se.createElement(
|
|
3321
|
+
}, Se.createElement(jr.Provider, {
|
|
3322
3322
|
value: wt
|
|
3323
3323
|
}, l)), Se.createElement($c, {
|
|
3324
3324
|
disabled: u?.restoreFocus === !1
|
|
@@ -3327,7 +3327,7 @@ const Ic = /* @__PURE__ */ vl(function(t) {
|
|
|
3327
3327
|
hiddenTextDescribedById: U
|
|
3328
3328
|
}));
|
|
3329
3329
|
function Qn() {
|
|
3330
|
-
const Fe = k?.autoScrollEnabled === !1,
|
|
3330
|
+
const Fe = k?.autoScrollEnabled === !1, je = typeof s == "object" ? s.enabled === !1 : s === !1, Ye = E && !Fe && !je;
|
|
3331
3331
|
return typeof s == "object" ? {
|
|
3332
3332
|
...s,
|
|
3333
3333
|
enabled: Ye
|
|
@@ -3355,7 +3355,7 @@ function Sc(e) {
|
|
|
3355
3355
|
role: g = qo,
|
|
3356
3356
|
roleDescription: h = "draggable",
|
|
3357
3357
|
tabIndex: p = 0
|
|
3358
|
-
} = i ?? {}, b = s?.id === t, m = St(b ?
|
|
3358
|
+
} = i ?? {}, b = s?.id === t, m = St(b ? jr : xc), [y, C] = Ir(), [S, v] = Ir(), E = cc(a, t), A = Sn(n);
|
|
3359
3359
|
mt(
|
|
3360
3360
|
() => (c.set(t, {
|
|
3361
3361
|
id: t,
|
|
@@ -3392,7 +3392,7 @@ function Sc(e) {
|
|
|
3392
3392
|
transform: m
|
|
3393
3393
|
};
|
|
3394
3394
|
}
|
|
3395
|
-
function
|
|
3395
|
+
function _s() {
|
|
3396
3396
|
return St(Ws);
|
|
3397
3397
|
}
|
|
3398
3398
|
const Ec = "Droppable", Nc = {
|
|
@@ -3506,7 +3506,7 @@ function Tc(e) {
|
|
|
3506
3506
|
} = e;
|
|
3507
3507
|
return Se.createElement(Yn.Provider, {
|
|
3508
3508
|
value: Xs
|
|
3509
|
-
}, Se.createElement(
|
|
3509
|
+
}, Se.createElement(jr.Provider, {
|
|
3510
3510
|
value: Rc
|
|
3511
3511
|
}, t));
|
|
3512
3512
|
}
|
|
@@ -3722,7 +3722,7 @@ const Xc = /* @__PURE__ */ Se.memo((e) => {
|
|
|
3722
3722
|
scrollableAncestors: C,
|
|
3723
3723
|
scrollableAncestorRects: S,
|
|
3724
3724
|
windowRect: v
|
|
3725
|
-
} =
|
|
3725
|
+
} = _s(), E = St(jr), A = kc(c?.id), N = js(a, {
|
|
3726
3726
|
activatorEvent: d,
|
|
3727
3727
|
active: c,
|
|
3728
3728
|
activeNodeRect: f,
|
|
@@ -3772,7 +3772,7 @@ function Wc(e, t) {
|
|
|
3772
3772
|
function or(e) {
|
|
3773
3773
|
return e !== null && e >= 0;
|
|
3774
3774
|
}
|
|
3775
|
-
function
|
|
3775
|
+
function jc(e, t) {
|
|
3776
3776
|
if (e === t)
|
|
3777
3777
|
return !0;
|
|
3778
3778
|
if (e.length !== t.length)
|
|
@@ -3782,7 +3782,7 @@ function _c(e, t) {
|
|
|
3782
3782
|
return !1;
|
|
3783
3783
|
return !0;
|
|
3784
3784
|
}
|
|
3785
|
-
function
|
|
3785
|
+
function _c(e) {
|
|
3786
3786
|
return typeof e == "boolean" ? {
|
|
3787
3787
|
draggable: e,
|
|
3788
3788
|
droppable: e
|
|
@@ -3830,7 +3830,7 @@ function Hc(e) {
|
|
|
3830
3830
|
droppableRects: s,
|
|
3831
3831
|
over: l,
|
|
3832
3832
|
measureDroppableContainers: d
|
|
3833
|
-
} =
|
|
3833
|
+
} = _s(), c = Zn(Hs, n), f = u.rect !== null, g = se(() => r.map((E) => typeof E == "object" && "id" in E ? E.id : E), [r]), h = a != null, p = a ? g.indexOf(a.id) : -1, b = l ? g.indexOf(l.id) : -1, m = J(g), y = !jc(g, m.current), C = b !== -1 && p === -1 || y, S = _c(o);
|
|
3834
3834
|
mt(() => {
|
|
3835
3835
|
y && h && d(g);
|
|
3836
3836
|
}, [y, g, h, d]), te(() => {
|
|
@@ -3963,7 +3963,7 @@ function Kc(e) {
|
|
|
3963
3963
|
attributes: R,
|
|
3964
3964
|
setNodeRef: k,
|
|
3965
3965
|
listeners: D,
|
|
3966
|
-
isDragging:
|
|
3966
|
+
isDragging: j,
|
|
3967
3967
|
over: O,
|
|
3968
3968
|
setActivatorNodeRef: M,
|
|
3969
3969
|
transform: U
|
|
@@ -3975,7 +3975,7 @@ function Kc(e) {
|
|
|
3975
3975
|
...n
|
|
3976
3976
|
},
|
|
3977
3977
|
disabled: C.draggable
|
|
3978
|
-
}), $ = dd(G, k), P = !!V, T = P && !h && or(f) && or(b),
|
|
3978
|
+
}), $ = dd(G, k), P = !!V, T = P && !h && or(f) && or(b), _ = !m && j, H = _ && T ? U : null, q = T ? H ?? (u ?? y)({
|
|
3979
3979
|
rects: p,
|
|
3980
3980
|
activeNodeRect: K,
|
|
3981
3981
|
activeIndex: f,
|
|
@@ -3994,7 +3994,7 @@ function Kc(e) {
|
|
|
3994
3994
|
}), ye = d !== ne.current.items, F = t({
|
|
3995
3995
|
active: V,
|
|
3996
3996
|
containerId: c,
|
|
3997
|
-
isDragging:
|
|
3997
|
+
isDragging: j,
|
|
3998
3998
|
isSorting: P,
|
|
3999
3999
|
id: a,
|
|
4000
4000
|
index: S,
|
|
@@ -4034,7 +4034,7 @@ function Kc(e) {
|
|
|
4034
4034
|
items: d,
|
|
4035
4035
|
isOver: L,
|
|
4036
4036
|
isSorting: P,
|
|
4037
|
-
isDragging:
|
|
4037
|
+
isDragging: j,
|
|
4038
4038
|
listeners: D,
|
|
4039
4039
|
node: N,
|
|
4040
4040
|
overIndex: b,
|
|
@@ -4053,7 +4053,7 @@ function Kc(e) {
|
|
|
4053
4053
|
ye && ne.current.newIndex === S
|
|
4054
4054
|
)
|
|
4055
4055
|
return Jc;
|
|
4056
|
-
if (!(
|
|
4056
|
+
if (!(_ && !kr(X) || !l) && (P || F))
|
|
4057
4057
|
return kt.Transition.toString({
|
|
4058
4058
|
...l,
|
|
4059
4059
|
property: Ys
|
|
@@ -4245,7 +4245,7 @@ const i0 = (e, t) => new Promise((n) => {
|
|
|
4245
4245
|
function o0(e) {
|
|
4246
4246
|
return URL.createObjectURL(e);
|
|
4247
4247
|
}
|
|
4248
|
-
function
|
|
4248
|
+
function I3({
|
|
4249
4249
|
initialImages: e = [],
|
|
4250
4250
|
onChange: t,
|
|
4251
4251
|
upload: n = i0,
|
|
@@ -4300,29 +4300,29 @@ function C3({
|
|
|
4300
4300
|
}, [l, o.length]);
|
|
4301
4301
|
const y = async (R) => {
|
|
4302
4302
|
if (r) return;
|
|
4303
|
-
const D = Array.from(R).map((
|
|
4304
|
-
const O = o0(
|
|
4303
|
+
const D = Array.from(R).map((j) => {
|
|
4304
|
+
const O = o0(j), M = crypto.randomUUID(), U = {
|
|
4305
4305
|
id: M,
|
|
4306
4306
|
url: O,
|
|
4307
4307
|
previewUrl: O,
|
|
4308
|
-
alt:
|
|
4308
|
+
alt: j.name,
|
|
4309
4309
|
status: "uploading",
|
|
4310
4310
|
progress: 0,
|
|
4311
|
-
fileName:
|
|
4311
|
+
fileName: j.name
|
|
4312
4312
|
};
|
|
4313
4313
|
a((T) => [...T, U]);
|
|
4314
4314
|
const $ = (T) => {
|
|
4315
4315
|
a(
|
|
4316
|
-
(
|
|
4316
|
+
(_) => _.map(
|
|
4317
4317
|
(H) => H.id === M ? { ...H, progress: T, status: T >= 100 ? "uploaded" : H.status } : H
|
|
4318
4318
|
)
|
|
4319
4319
|
);
|
|
4320
4320
|
};
|
|
4321
4321
|
return (async () => {
|
|
4322
4322
|
try {
|
|
4323
|
-
const T = await n(
|
|
4323
|
+
const T = await n(j, $);
|
|
4324
4324
|
a(
|
|
4325
|
-
(
|
|
4325
|
+
(_) => _.map(
|
|
4326
4326
|
(H) => H.id === M ? {
|
|
4327
4327
|
...H,
|
|
4328
4328
|
...T,
|
|
@@ -4334,7 +4334,7 @@ function C3({
|
|
|
4334
4334
|
)
|
|
4335
4335
|
);
|
|
4336
4336
|
} catch (T) {
|
|
4337
|
-
console.error("Upload failed", T), a((
|
|
4337
|
+
console.error("Upload failed", T), a((_) => _.map((H) => H.id === M ? { ...H, status: "error" } : H));
|
|
4338
4338
|
}
|
|
4339
4339
|
})();
|
|
4340
4340
|
});
|
|
@@ -4356,9 +4356,9 @@ function C3({
|
|
|
4356
4356
|
h(null);
|
|
4357
4357
|
return;
|
|
4358
4358
|
}
|
|
4359
|
-
const
|
|
4360
|
-
|
|
4361
|
-
const U = M.findIndex((P) => P.id ===
|
|
4359
|
+
const j = String(k.id), O = String(D.id);
|
|
4360
|
+
j !== O && a((M) => {
|
|
4361
|
+
const U = M.findIndex((P) => P.id === j), $ = M.findIndex((P) => P.id === O);
|
|
4362
4362
|
return U === -1 || $ === -1 ? M : lo(M, U, $);
|
|
4363
4363
|
}), h(null);
|
|
4364
4364
|
}, L = () => {
|
|
@@ -4420,7 +4420,7 @@ function C3({
|
|
|
4420
4420
|
},
|
|
4421
4421
|
onHoverLeave: () => {
|
|
4422
4422
|
G(), p.current = window.setTimeout(() => {
|
|
4423
|
-
f((
|
|
4423
|
+
f((j) => j === R.id ? null : j), p.current = null;
|
|
4424
4424
|
}, 120);
|
|
4425
4425
|
},
|
|
4426
4426
|
onRemove: v,
|
|
@@ -4650,7 +4650,7 @@ function f0(e) {
|
|
|
4650
4650
|
typeof f == "function" && f(), E(!0);
|
|
4651
4651
|
}, [f]), R = fe(function() {
|
|
4652
4652
|
typeof c == "function" && c(), E(!1);
|
|
4653
|
-
}, [c]), k = u !== void 0 ? u : m, D = s !== void 0 ? s : v,
|
|
4653
|
+
}, [c]), k = u !== void 0 ? u : m, D = s !== void 0 ? s : v, j = g !== void 0 ? g : L;
|
|
4654
4654
|
return Y(Y({}, h), {}, {
|
|
4655
4655
|
inputValue: k,
|
|
4656
4656
|
menuIsOpen: D,
|
|
@@ -4658,7 +4658,7 @@ function f0(e) {
|
|
|
4658
4658
|
onInputChange: X,
|
|
4659
4659
|
onMenuClose: R,
|
|
4660
4660
|
onMenuOpen: K,
|
|
4661
|
-
value:
|
|
4661
|
+
value: j
|
|
4662
4662
|
});
|
|
4663
4663
|
}
|
|
4664
4664
|
function z() {
|
|
@@ -4789,7 +4789,7 @@ var A0 = /* @__PURE__ */ (function() {
|
|
|
4789
4789
|
return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
|
|
4790
4790
|
}), this.tags = [], this.ctr = 0;
|
|
4791
4791
|
}, e;
|
|
4792
|
-
})(),
|
|
4792
|
+
})(), _e = "-ms-", Pr = "-moz-", de = "-webkit-", Ks = "comm", go = "rule", po = "decl", S0 = "@import", qs = "@keyframes", E0 = "@layer", N0 = Math.abs, _r = String.fromCharCode, w0 = Object.assign;
|
|
4793
4793
|
function P0(e, t) {
|
|
4794
4794
|
return We(e, 0) ^ 45 ? (((t << 2 ^ We(e, 0)) << 2 ^ We(e, 1)) << 2 ^ We(e, 2)) << 2 ^ We(e, 3) : 0;
|
|
4795
4795
|
}
|
|
@@ -4931,7 +4931,7 @@ function M0(e, t) {
|
|
|
4931
4931
|
for (; it() && e + De !== 57; )
|
|
4932
4932
|
if (e + De === 84 && At() === 47)
|
|
4933
4933
|
break;
|
|
4934
|
-
return "/*" + zn(t, tt - 1) + "*" +
|
|
4934
|
+
return "/*" + zn(t, tt - 1) + "*" + _r(e === 47 ? e : it());
|
|
4935
4935
|
}
|
|
4936
4936
|
function B0(e) {
|
|
4937
4937
|
for (; !Pn(At()); )
|
|
@@ -5027,7 +5027,7 @@ function $r(e, t, n, r, i, o, a, u, s) {
|
|
|
5027
5027
|
else if (y == 125 && p++ == 0 && O0() == 125)
|
|
5028
5028
|
continue;
|
|
5029
5029
|
}
|
|
5030
|
-
switch (A +=
|
|
5030
|
+
switch (A += _r(y), y * p) {
|
|
5031
5031
|
// &
|
|
5032
5032
|
case 38:
|
|
5033
5033
|
m = d > 0 ? 1 : (A += "\f", -1);
|
|
@@ -5054,7 +5054,7 @@ function ra(e, t, n, r, i, o, a, u, s, l, d) {
|
|
|
5054
5054
|
return Zr(e, t, n, i === 0 ? go : u, s, l, d);
|
|
5055
5055
|
}
|
|
5056
5056
|
function V0(e, t, n) {
|
|
5057
|
-
return Zr(e, t, n, Ks,
|
|
5057
|
+
return Zr(e, t, n, Ks, _r(F0()), wn(e, 2, -2), 0);
|
|
5058
5058
|
}
|
|
5059
5059
|
function ia(e, t, n, r) {
|
|
5060
5060
|
return Zr(e, t, n, po, wn(e, 0, r), wn(e, r + 1, -1), r);
|
|
@@ -5093,13 +5093,13 @@ function W0(e) {
|
|
|
5093
5093
|
t.root || (t = t.return) && e(t);
|
|
5094
5094
|
};
|
|
5095
5095
|
}
|
|
5096
|
-
function
|
|
5096
|
+
function j0(e) {
|
|
5097
5097
|
var t = /* @__PURE__ */ Object.create(null);
|
|
5098
5098
|
return function(n) {
|
|
5099
5099
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
5100
5100
|
};
|
|
5101
5101
|
}
|
|
5102
|
-
var
|
|
5102
|
+
var _0 = function(t, n, r) {
|
|
5103
5103
|
for (var i = 0, o = 0; i = o, o = At(), i === 38 && o === 12 && (n[r] = 1), !Pn(o); )
|
|
5104
5104
|
it();
|
|
5105
5105
|
return zn(t, tt);
|
|
@@ -5108,7 +5108,7 @@ var j0 = function(t, n, r) {
|
|
|
5108
5108
|
do
|
|
5109
5109
|
switch (Pn(i)) {
|
|
5110
5110
|
case 0:
|
|
5111
|
-
i === 38 && At() === 12 && (n[r] = 1), t[r] +=
|
|
5111
|
+
i === 38 && At() === 12 && (n[r] = 1), t[r] += _0(tt - 1, n, r);
|
|
5112
5112
|
break;
|
|
5113
5113
|
case 2:
|
|
5114
5114
|
t[r] += vr(i);
|
|
@@ -5120,7 +5120,7 @@ var j0 = function(t, n, r) {
|
|
|
5120
5120
|
}
|
|
5121
5121
|
// fallthrough
|
|
5122
5122
|
default:
|
|
5123
|
-
t[r] +=
|
|
5123
|
+
t[r] += _r(i);
|
|
5124
5124
|
}
|
|
5125
5125
|
while (i = it());
|
|
5126
5126
|
return t;
|
|
@@ -5188,32 +5188,32 @@ function iu(e, t) {
|
|
|
5188
5188
|
case 4810:
|
|
5189
5189
|
case 6968:
|
|
5190
5190
|
case 2756:
|
|
5191
|
-
return de + e + Pr + e +
|
|
5191
|
+
return de + e + Pr + e + _e + e + e;
|
|
5192
5192
|
// flex, flex-direction
|
|
5193
5193
|
case 6828:
|
|
5194
5194
|
case 4268:
|
|
5195
|
-
return de + e +
|
|
5195
|
+
return de + e + _e + e + e;
|
|
5196
5196
|
// order
|
|
5197
5197
|
case 6165:
|
|
5198
|
-
return de + e +
|
|
5198
|
+
return de + e + _e + "flex-" + e + e;
|
|
5199
5199
|
// align-items
|
|
5200
5200
|
case 5187:
|
|
5201
|
-
return de + e + ce(e, /(\w+).+(:[^]+)/, de + "box-$1$2" +
|
|
5201
|
+
return de + e + ce(e, /(\w+).+(:[^]+)/, de + "box-$1$2" + _e + "flex-$1$2") + e;
|
|
5202
5202
|
// align-self
|
|
5203
5203
|
case 5443:
|
|
5204
|
-
return de + e +
|
|
5204
|
+
return de + e + _e + "flex-item-" + ce(e, /flex-|-self/, "") + e;
|
|
5205
5205
|
// align-content
|
|
5206
5206
|
case 4675:
|
|
5207
|
-
return de + e +
|
|
5207
|
+
return de + e + _e + "flex-line-pack" + ce(e, /align-content|flex-|-self/, "") + e;
|
|
5208
5208
|
// flex-shrink
|
|
5209
5209
|
case 5548:
|
|
5210
|
-
return de + e +
|
|
5210
|
+
return de + e + _e + ce(e, "shrink", "negative") + e;
|
|
5211
5211
|
// flex-basis
|
|
5212
5212
|
case 5292:
|
|
5213
|
-
return de + e +
|
|
5213
|
+
return de + e + _e + ce(e, "basis", "preferred-size") + e;
|
|
5214
5214
|
// flex-grow
|
|
5215
5215
|
case 6060:
|
|
5216
|
-
return de + "box-" + ce(e, "-grow", "") + de + e +
|
|
5216
|
+
return de + "box-" + ce(e, "-grow", "") + de + e + _e + ce(e, "grow", "positive") + e;
|
|
5217
5217
|
// transition
|
|
5218
5218
|
case 4554:
|
|
5219
5219
|
return de + ce(e, /([^-])(transform)/g, "$1" + de + "$2") + e;
|
|
@@ -5226,7 +5226,7 @@ function iu(e, t) {
|
|
|
5226
5226
|
return ce(e, /(image-set\([^]*)/, de + "$1$`$1");
|
|
5227
5227
|
// justify-content
|
|
5228
5228
|
case 4968:
|
|
5229
|
-
return ce(ce(e, /(.+:)(flex-)?(.*)/, de + "box-pack:$3" +
|
|
5229
|
+
return ce(ce(e, /(.+:)(flex-)?(.*)/, de + "box-pack:$3" + _e + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + de + e + e;
|
|
5230
5230
|
// (margin|padding)-inline-(start|end)
|
|
5231
5231
|
case 4095:
|
|
5232
5232
|
case 3583:
|
|
@@ -5269,7 +5269,7 @@ function iu(e, t) {
|
|
|
5269
5269
|
return ce(e, ":", ":" + de) + e;
|
|
5270
5270
|
// (inline-)?fl(e)x
|
|
5271
5271
|
case 101:
|
|
5272
|
-
return ce(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + de + (We(e, 14) === 45 ? "inline-" : "") + "box$3$1" + de + "$2$3$1" +
|
|
5272
|
+
return ce(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + de + (We(e, 14) === 45 ? "inline-" : "") + "box$3$1" + de + "$2$3$1" + _e + "$2box$3") + e;
|
|
5273
5273
|
}
|
|
5274
5274
|
break;
|
|
5275
5275
|
// writing-mode
|
|
@@ -5277,15 +5277,15 @@ function iu(e, t) {
|
|
|
5277
5277
|
switch (We(e, t + 11)) {
|
|
5278
5278
|
// vertical-l(r)
|
|
5279
5279
|
case 114:
|
|
5280
|
-
return de + e +
|
|
5280
|
+
return de + e + _e + ce(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
5281
5281
|
// vertical-r(l)
|
|
5282
5282
|
case 108:
|
|
5283
|
-
return de + e +
|
|
5283
|
+
return de + e + _e + ce(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
5284
5284
|
// horizontal(-)tb
|
|
5285
5285
|
case 45:
|
|
5286
|
-
return de + e +
|
|
5286
|
+
return de + e + _e + ce(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
5287
5287
|
}
|
|
5288
|
-
return de + e +
|
|
5288
|
+
return de + e + _e + e + e;
|
|
5289
5289
|
}
|
|
5290
5290
|
return e;
|
|
5291
5291
|
}
|
|
@@ -5314,7 +5314,7 @@ var J0 = function(t, n, r, i) {
|
|
|
5314
5314
|
}), vn(t, {
|
|
5315
5315
|
props: [ce(o, /:(plac\w+)/, ":" + Pr + "$1")]
|
|
5316
5316
|
}), vn(t, {
|
|
5317
|
-
props: [ce(o, /:(plac\w+)/,
|
|
5317
|
+
props: [ce(o, /:(plac\w+)/, _e + "input-$1")]
|
|
5318
5318
|
})], i);
|
|
5319
5319
|
}
|
|
5320
5320
|
return "";
|
|
@@ -5475,7 +5475,7 @@ function q0() {
|
|
|
5475
5475
|
}
|
|
5476
5476
|
}
|
|
5477
5477
|
}
|
|
5478
|
-
var v = s, E = l, A = u, N = a, L = t, G = d, V = r, X = h, K = g, R = n, k = o, D = i,
|
|
5478
|
+
var v = s, E = l, A = u, N = a, L = t, G = d, V = r, X = h, K = g, R = n, k = o, D = i, j = c, O = !1;
|
|
5479
5479
|
function M(F) {
|
|
5480
5480
|
return O || (O = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), U(F) || S(F) === s;
|
|
5481
5481
|
}
|
|
@@ -5491,7 +5491,7 @@ function q0() {
|
|
|
5491
5491
|
function T(F) {
|
|
5492
5492
|
return typeof F == "object" && F !== null && F.$$typeof === t;
|
|
5493
5493
|
}
|
|
5494
|
-
function
|
|
5494
|
+
function _(F) {
|
|
5495
5495
|
return S(F) === d;
|
|
5496
5496
|
}
|
|
5497
5497
|
function H(F) {
|
|
@@ -5515,7 +5515,7 @@ function q0() {
|
|
|
5515
5515
|
function ye(F) {
|
|
5516
5516
|
return S(F) === c;
|
|
5517
5517
|
}
|
|
5518
|
-
he.AsyncMode = v, he.ConcurrentMode = E, he.ContextConsumer = A, he.ContextProvider = N, he.Element = L, he.ForwardRef = G, he.Fragment = V, he.Lazy = X, he.Memo = K, he.Portal = R, he.Profiler = k, he.StrictMode = D, he.Suspense =
|
|
5518
|
+
he.AsyncMode = v, he.ConcurrentMode = E, he.ContextConsumer = A, he.ContextProvider = N, he.Element = L, he.ForwardRef = G, he.Fragment = V, he.Lazy = X, he.Memo = K, he.Portal = R, he.Profiler = k, he.StrictMode = D, he.Suspense = j, he.isAsyncMode = M, he.isConcurrentMode = U, he.isContextConsumer = $, he.isContextProvider = P, he.isElement = T, he.isForwardRef = _, he.isFragment = H, he.isLazy = ee, he.isMemo = q, he.isPortal = ie, he.isProfiler = re, he.isStrictMode = ne, he.isSuspense = ye, he.isValidElementType = C, he.typeOf = S;
|
|
5519
5519
|
})()), he;
|
|
5520
5520
|
}
|
|
5521
5521
|
var ua;
|
|
@@ -5690,7 +5690,7 @@ var sf = {
|
|
|
5690
5690
|
return t.charCodeAt(1) === 45;
|
|
5691
5691
|
}, da = function(t) {
|
|
5692
5692
|
return t != null && typeof t != "boolean";
|
|
5693
|
-
}, ui = /* @__PURE__ */
|
|
5693
|
+
}, ui = /* @__PURE__ */ j0(function(e) {
|
|
5694
5694
|
return au(e) ? e : e.replace(uf, "-$&").toLowerCase();
|
|
5695
5695
|
}), ca = function(t, n) {
|
|
5696
5696
|
switch (t) {
|
|
@@ -6202,7 +6202,7 @@ function ma(e, t) {
|
|
|
6202
6202
|
var n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), i = t.offsetHeight / 3;
|
|
6203
6203
|
r.bottom + i > n.bottom ? Dr(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + i, e.scrollHeight)) : r.top - i < n.top && Dr(e, Math.max(t.offsetTop - i, 0));
|
|
6204
6204
|
}
|
|
6205
|
-
function
|
|
6205
|
+
function jf(e) {
|
|
6206
6206
|
var t = e.getBoundingClientRect();
|
|
6207
6207
|
return {
|
|
6208
6208
|
bottom: t.bottom,
|
|
@@ -6220,7 +6220,7 @@ function va() {
|
|
|
6220
6220
|
return !1;
|
|
6221
6221
|
}
|
|
6222
6222
|
}
|
|
6223
|
-
function
|
|
6223
|
+
function _f() {
|
|
6224
6224
|
try {
|
|
6225
6225
|
return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
6226
6226
|
} catch {
|
|
@@ -6435,7 +6435,7 @@ var vu = function(t) {
|
|
|
6435
6435
|
};
|
|
6436
6436
|
}, []), p = ae(null), b = Ft(p, 2), m = b[0], y = b[1], C = fe(function() {
|
|
6437
6437
|
if (i) {
|
|
6438
|
-
var A =
|
|
6438
|
+
var A = jf(i), N = u === "fixed" ? 0 : window.pageYOffset, L = A[f] + N;
|
|
6439
6439
|
(L !== m?.offset || A.left !== m?.rect.left || A.width !== m?.rect.width) && y({
|
|
6440
6440
|
offset: L,
|
|
6441
6441
|
rect: A
|
|
@@ -6749,7 +6749,7 @@ var C1 = process.env.NODE_ENV === "production" ? {
|
|
|
6749
6749
|
visibility: "hidden",
|
|
6750
6750
|
whiteSpace: "pre"
|
|
6751
6751
|
}, Au)
|
|
6752
|
-
},
|
|
6752
|
+
}, j1 = function(t) {
|
|
6753
6753
|
return Y({
|
|
6754
6754
|
label: "input",
|
|
6755
6755
|
color: "inherit",
|
|
@@ -6757,7 +6757,7 @@ var C1 = process.env.NODE_ENV === "production" ? {
|
|
|
6757
6757
|
opacity: t ? 0 : 1,
|
|
6758
6758
|
width: "100%"
|
|
6759
6759
|
}, Au);
|
|
6760
|
-
},
|
|
6760
|
+
}, _1 = function(t) {
|
|
6761
6761
|
var n = t.cx, r = t.value, i = bu(t), o = i.innerRef, a = i.isDisabled, u = i.isHidden, s = i.inputClassName, l = Gt(i, k1);
|
|
6762
6762
|
return Z("div", z({}, we(t, "input", {
|
|
6763
6763
|
"input-container": !0
|
|
@@ -6768,10 +6768,10 @@ var C1 = process.env.NODE_ENV === "production" ? {
|
|
|
6768
6768
|
input: !0
|
|
6769
6769
|
}, s),
|
|
6770
6770
|
ref: o,
|
|
6771
|
-
style:
|
|
6771
|
+
style: j1(u),
|
|
6772
6772
|
disabled: a
|
|
6773
6773
|
}, l)));
|
|
6774
|
-
}, H1 =
|
|
6774
|
+
}, H1 = _1, Z1 = function(t, n) {
|
|
6775
6775
|
var r = t.theme, i = r.spacing, o = r.borderRadius, a = r.colors;
|
|
6776
6776
|
return Y({
|
|
6777
6777
|
label: "multiValue",
|
|
@@ -7040,9 +7040,9 @@ var p2 = process.env.NODE_ENV === "production" ? {
|
|
|
7040
7040
|
}, [c]), L = se(function() {
|
|
7041
7041
|
var k = "";
|
|
7042
7042
|
if (n && N.onChange) {
|
|
7043
|
-
var D = n.option,
|
|
7043
|
+
var D = n.option, j = n.options, O = n.removedValue, M = n.removedValues, U = n.value, $ = function(ie) {
|
|
7044
7044
|
return Array.isArray(ie) ? null : ie;
|
|
7045
|
-
}, P = O || D || $(U), T = P ? f(P) : "",
|
|
7045
|
+
}, P = O || D || $(U), T = P ? f(P) : "", _ = j || M || void 0, H = _ ? _.map(f) : [], ee = Y({
|
|
7046
7046
|
// multiSelected items are usually items that have already been selected
|
|
7047
7047
|
// or set by the user as a default value so we assume they are not disabled
|
|
7048
7048
|
isDisabled: P && p(P, u),
|
|
@@ -7053,13 +7053,13 @@ var p2 = process.env.NODE_ENV === "production" ? {
|
|
|
7053
7053
|
}
|
|
7054
7054
|
return k;
|
|
7055
7055
|
}, [n, N, p, u, f]), G = se(function() {
|
|
7056
|
-
var k = "", D = r || i,
|
|
7056
|
+
var k = "", D = r || i, j = !!(r && u && u.includes(r));
|
|
7057
7057
|
if (D && N.onFocus) {
|
|
7058
7058
|
var O = {
|
|
7059
7059
|
focused: D,
|
|
7060
7060
|
label: f(D),
|
|
7061
7061
|
isDisabled: p(D, u),
|
|
7062
|
-
isSelected:
|
|
7062
|
+
isSelected: j,
|
|
7063
7063
|
options: o,
|
|
7064
7064
|
context: D === r ? "menu" : "value",
|
|
7065
7065
|
selectValue: u,
|
|
@@ -7599,9 +7599,9 @@ var k2 = function(t) {
|
|
|
7599
7599
|
return t.label;
|
|
7600
7600
|
}, W2 = function(t) {
|
|
7601
7601
|
return t.value;
|
|
7602
|
-
},
|
|
7602
|
+
}, j2 = function(t) {
|
|
7603
7603
|
return !!t.isDisabled;
|
|
7604
|
-
},
|
|
7604
|
+
}, _2 = {
|
|
7605
7605
|
clearIndicator: A1,
|
|
7606
7606
|
container: f1,
|
|
7607
7607
|
control: T1,
|
|
@@ -7670,7 +7670,7 @@ var k2 = function(t) {
|
|
|
7670
7670
|
isMulti: !1,
|
|
7671
7671
|
isRtl: !1,
|
|
7672
7672
|
isSearchable: !0,
|
|
7673
|
-
isOptionDisabled:
|
|
7673
|
+
isOptionDisabled: j2,
|
|
7674
7674
|
loadingMessage: function() {
|
|
7675
7675
|
return "Loading...";
|
|
7676
7676
|
},
|
|
@@ -7680,7 +7680,7 @@ var k2 = function(t) {
|
|
|
7680
7680
|
menuPlacement: "bottom",
|
|
7681
7681
|
menuPosition: "absolute",
|
|
7682
7682
|
menuShouldBlockScroll: !1,
|
|
7683
|
-
menuShouldScrollIntoView: !
|
|
7683
|
+
menuShouldScrollIntoView: !_f(),
|
|
7684
7684
|
noOptionsMessage: function() {
|
|
7685
7685
|
return "No options";
|
|
7686
7686
|
},
|
|
@@ -7900,7 +7900,7 @@ var Mu = function(t) {
|
|
|
7900
7900
|
}, i.getOptionValue = function(s) {
|
|
7901
7901
|
return Gr(i.props, s);
|
|
7902
7902
|
}, i.getStyles = function(s, l) {
|
|
7903
|
-
var d = i.props.unstyled, c =
|
|
7903
|
+
var d = i.props.unstyled, c = _2[s](l, d);
|
|
7904
7904
|
c.boxSizing = "border-box";
|
|
7905
7905
|
var f = i.props.styles[s];
|
|
7906
7906
|
return f ? f(c, l) : c;
|
|
@@ -8491,12 +8491,12 @@ var Mu = function(t) {
|
|
|
8491
8491
|
value: function() {
|
|
8492
8492
|
var i = this, o = this.getComponents(), a = o.Group, u = o.GroupHeading, s = o.Menu, l = o.MenuList, d = o.MenuPortal, c = o.LoadingMessage, f = o.NoOptionsMessage, g = o.Option, h = this.commonProps, p = this.state.focusedOption, b = this.props, m = b.captureMenuScroll, y = b.inputValue, C = b.isLoading, S = b.loadingMessage, v = b.minMenuHeight, E = b.maxMenuHeight, A = b.menuIsOpen, N = b.menuPlacement, L = b.menuPosition, G = b.menuPortalTarget, V = b.menuShouldBlockScroll, X = b.menuShouldScrollIntoView, K = b.noOptionsMessage, R = b.onMenuScrollToTop, k = b.onMenuScrollToBottom;
|
|
8493
8493
|
if (!A) return null;
|
|
8494
|
-
var D = function(T,
|
|
8494
|
+
var D = function(T, _) {
|
|
8495
8495
|
var H = T.type, ee = T.data, q = T.isDisabled, ie = T.isSelected, re = T.label, ne = T.value, ye = p === ee, F = q ? void 0 : function() {
|
|
8496
8496
|
return i.onOptionHover(ee);
|
|
8497
8497
|
}, me = q ? void 0 : function() {
|
|
8498
8498
|
return i.selectOption(ee);
|
|
8499
|
-
}, ve = "".concat(i.getElementId("option"), "-").concat(
|
|
8499
|
+
}, ve = "".concat(i.getElementId("option"), "-").concat(_), Pe = {
|
|
8500
8500
|
id: ve,
|
|
8501
8501
|
onClick: me,
|
|
8502
8502
|
onMouseMove: F,
|
|
@@ -8518,15 +8518,15 @@ var Mu = function(t) {
|
|
|
8518
8518
|
isFocused: ye,
|
|
8519
8519
|
innerRef: ye ? i.getFocusedOptionRef : void 0
|
|
8520
8520
|
}), i.formatOptionLabel(T.data, "menu"));
|
|
8521
|
-
},
|
|
8521
|
+
}, j;
|
|
8522
8522
|
if (this.hasOptions())
|
|
8523
|
-
|
|
8523
|
+
j = this.getCategorizedOptions().map(function(P) {
|
|
8524
8524
|
if (P.type === "group") {
|
|
8525
|
-
var T = P.data,
|
|
8525
|
+
var T = P.data, _ = P.options, H = P.index, ee = "".concat(i.getElementId("group"), "-").concat(H), q = "".concat(ee, "-heading");
|
|
8526
8526
|
return /* @__PURE__ */ I.createElement(a, z({}, h, {
|
|
8527
8527
|
key: ee,
|
|
8528
8528
|
data: T,
|
|
8529
|
-
options:
|
|
8529
|
+
options: _,
|
|
8530
8530
|
Heading: u,
|
|
8531
8531
|
headingProps: {
|
|
8532
8532
|
id: q,
|
|
@@ -8544,13 +8544,13 @@ var Mu = function(t) {
|
|
|
8544
8544
|
inputValue: y
|
|
8545
8545
|
});
|
|
8546
8546
|
if (O === null) return null;
|
|
8547
|
-
|
|
8547
|
+
j = /* @__PURE__ */ I.createElement(c, h, O);
|
|
8548
8548
|
} else {
|
|
8549
8549
|
var M = K({
|
|
8550
8550
|
inputValue: y
|
|
8551
8551
|
});
|
|
8552
8552
|
if (M === null) return null;
|
|
8553
|
-
|
|
8553
|
+
j = /* @__PURE__ */ I.createElement(f, h, M);
|
|
8554
8554
|
}
|
|
8555
8555
|
var U = {
|
|
8556
8556
|
minMenuHeight: v,
|
|
@@ -8559,7 +8559,7 @@ var Mu = function(t) {
|
|
|
8559
8559
|
menuPosition: L,
|
|
8560
8560
|
menuShouldScrollIntoView: X
|
|
8561
8561
|
}, $ = /* @__PURE__ */ I.createElement(t1, z({}, h, U), function(P) {
|
|
8562
|
-
var T = P.ref,
|
|
8562
|
+
var T = P.ref, _ = P.placerProps, H = _.placement, ee = _.maxHeight;
|
|
8563
8563
|
return /* @__PURE__ */ I.createElement(s, z({}, h, U, {
|
|
8564
8564
|
innerRef: T,
|
|
8565
8565
|
innerProps: {
|
|
@@ -8586,7 +8586,7 @@ var Mu = function(t) {
|
|
|
8586
8586
|
isLoading: C,
|
|
8587
8587
|
maxHeight: ee,
|
|
8588
8588
|
focusedOption: p
|
|
8589
|
-
}),
|
|
8589
|
+
}), j);
|
|
8590
8590
|
}));
|
|
8591
8591
|
});
|
|
8592
8592
|
return G || L === "fixed" ? /* @__PURE__ */ I.createElement(d, z({}, h, {
|
|
@@ -8721,7 +8721,7 @@ var tg = /* @__PURE__ */ Qi(function(e, t) {
|
|
|
8721
8721
|
}, n));
|
|
8722
8722
|
}), Lu = tg;
|
|
8723
8723
|
const Vu = I.createContext(null);
|
|
8724
|
-
function
|
|
8724
|
+
function x3({ children: e, value: t, defaultValue: n, onChange: r }) {
|
|
8725
8725
|
const i = t !== void 0, [o, a] = I.useState(n ?? Vi), u = t ?? o, s = I.useCallback(
|
|
8726
8726
|
(d) => {
|
|
8727
8727
|
i || a(d), r?.(d);
|
|
@@ -8747,6 +8747,18 @@ function rg(e) {
|
|
|
8747
8747
|
function ki(e) {
|
|
8748
8748
|
return rg(e).toLowerCase();
|
|
8749
8749
|
}
|
|
8750
|
+
function ig(e, t) {
|
|
8751
|
+
if (Object.prototype.hasOwnProperty.call(e, t))
|
|
8752
|
+
return e[t] ?? "";
|
|
8753
|
+
const n = t.split("-").filter(Boolean);
|
|
8754
|
+
for (; n.length > 1; ) {
|
|
8755
|
+
n.pop();
|
|
8756
|
+
const r = n.join("-");
|
|
8757
|
+
if (Object.prototype.hasOwnProperty.call(e, r))
|
|
8758
|
+
return e[r] ?? "";
|
|
8759
|
+
}
|
|
8760
|
+
return "";
|
|
8761
|
+
}
|
|
8750
8762
|
function Oa(e, t) {
|
|
8751
8763
|
if (typeof Intl > "u" || typeof Intl.DisplayNames > "u") return null;
|
|
8752
8764
|
try {
|
|
@@ -8764,7 +8776,7 @@ function bi(e, t) {
|
|
|
8764
8776
|
return;
|
|
8765
8777
|
}
|
|
8766
8778
|
}
|
|
8767
|
-
function
|
|
8779
|
+
function og(e, t) {
|
|
8768
8780
|
const n = Oa(e, "language"), r = Oa("en", "language");
|
|
8769
8781
|
return (t ?? []).filter((o) => typeof o == "string" && o.length > 0).map((o) => {
|
|
8770
8782
|
const a = bi(n, o) ?? bi(r, o) ?? o;
|
|
@@ -8783,7 +8795,7 @@ function ig(e, t) {
|
|
|
8783
8795
|
};
|
|
8784
8796
|
}).sort((o, a) => o.name.localeCompare(a.name));
|
|
8785
8797
|
}
|
|
8786
|
-
const
|
|
8798
|
+
const ag = {
|
|
8787
8799
|
control: () => ({
|
|
8788
8800
|
display: "none"
|
|
8789
8801
|
}),
|
|
@@ -8816,8 +8828,8 @@ const og = {
|
|
|
8816
8828
|
fontSize: "0.875rem",
|
|
8817
8829
|
color: "hsl(var(--muted-foreground))"
|
|
8818
8830
|
})
|
|
8819
|
-
},
|
|
8820
|
-
function
|
|
8831
|
+
}, sg = () => /* @__PURE__ */ x.jsx("div", { style: { display: "none" } }), fr = () => null;
|
|
8832
|
+
function ug(e) {
|
|
8821
8833
|
const { data: t, innerRef: n, innerProps: r, isFocused: i, isSelected: o } = e;
|
|
8822
8834
|
return /* @__PURE__ */ x.jsxs(
|
|
8823
8835
|
"div",
|
|
@@ -8835,7 +8847,7 @@ function sg(e) {
|
|
|
8835
8847
|
}
|
|
8836
8848
|
);
|
|
8837
8849
|
}
|
|
8838
|
-
const
|
|
8850
|
+
const lg = I.forwardRef(
|
|
8839
8851
|
function(t, n) {
|
|
8840
8852
|
const {
|
|
8841
8853
|
value: r,
|
|
@@ -8854,7 +8866,7 @@ const ug = I.forwardRef(
|
|
|
8854
8866
|
...b
|
|
8855
8867
|
} = t, { rows: m, ...y } = b, C = I.useMemo(() => r ?? i ?? {}, [i, r]), [S, v] = I.useState(C), E = r !== void 0, A = E ? r ?? {} : S, [N, L] = I.useState(""), G = I.useContext(Vu), V = I.useMemo(() => {
|
|
8856
8868
|
const B = Array.from(/* @__PURE__ */ new Set([...l ?? [], ...Object.keys(A)]));
|
|
8857
|
-
return
|
|
8869
|
+
return og(void 0, B);
|
|
8858
8870
|
}, [A, l]), X = I.useMemo(() => o ?? G?.locale ?? a ?? Object.keys(A)[0] ?? V[0]?.value ?? Vi, [A, a, G?.locale, V, o]), [K, R] = I.useState(X), k = o ?? G?.locale ?? K;
|
|
8859
8871
|
I.useEffect(() => {
|
|
8860
8872
|
E || v(C);
|
|
@@ -8863,7 +8875,7 @@ const ug = I.forwardRef(
|
|
|
8863
8875
|
}, [K, o]), I.useEffect(() => {
|
|
8864
8876
|
!o && G?.locale && G.locale !== K && R(G.locale);
|
|
8865
8877
|
}, [K, G?.locale, o]);
|
|
8866
|
-
const D = V.find((B) => B.value === k) ?? V.find((B) => B.value === Vi) ?? V[0] ?? null, [
|
|
8878
|
+
const D = V.find((B) => B.value === k) ?? V.find((B) => B.value === Vi) ?? V[0] ?? null, [j, O] = I.useState(!1), M = I.useRef(null), U = I.useRef(null), $ = I.useRef(null), P = I.useRef(null), T = I.useRef(null), _ = I.useRef(null), H = I.useRef(null), [ee, q] = I.useState({ left: 0, top: 0 });
|
|
8867
8879
|
I.useImperativeHandle(n, () => U.current, []);
|
|
8868
8880
|
const ie = (B) => {
|
|
8869
8881
|
if (!B) return;
|
|
@@ -8875,7 +8887,7 @@ const ug = I.forwardRef(
|
|
|
8875
8887
|
[k]: B.target.value
|
|
8876
8888
|
};
|
|
8877
8889
|
E || v(ue), u?.(ue);
|
|
8878
|
-
}, ne = A
|
|
8890
|
+
}, ne = ig(A, k), ye = I.useCallback(
|
|
8879
8891
|
(B) => {
|
|
8880
8892
|
if (!N) return !0;
|
|
8881
8893
|
const ue = ki(N);
|
|
@@ -8898,8 +8910,8 @@ const ug = I.forwardRef(
|
|
|
8898
8910
|
ue && ue.start != null && ue.end != null && B.setSelectionRange(ue.start, ue.end);
|
|
8899
8911
|
}, []);
|
|
8900
8912
|
I.useEffect(() => {
|
|
8901
|
-
if (!
|
|
8902
|
-
const B =
|
|
8913
|
+
if (!j) return;
|
|
8914
|
+
const B = _.current;
|
|
8903
8915
|
B && requestAnimationFrame(() => {
|
|
8904
8916
|
if (document.activeElement === B) return;
|
|
8905
8917
|
B.focus();
|
|
@@ -8909,7 +8921,7 @@ const ug = I.forwardRef(
|
|
|
8909
8921
|
} catch {
|
|
8910
8922
|
}
|
|
8911
8923
|
});
|
|
8912
|
-
}, [
|
|
8924
|
+
}, [j, N]);
|
|
8913
8925
|
const nt = I.useCallback(
|
|
8914
8926
|
(B = !0) => {
|
|
8915
8927
|
O(!1), L(""), B && requestAnimationFrame(() => {
|
|
@@ -8935,7 +8947,7 @@ const ug = I.forwardRef(
|
|
|
8935
8947
|
});
|
|
8936
8948
|
}, [ye, V, N]), cn = I.useMemo(
|
|
8937
8949
|
() => ({
|
|
8938
|
-
Control:
|
|
8950
|
+
Control: sg,
|
|
8939
8951
|
IndicatorsContainer: fr,
|
|
8940
8952
|
DropdownIndicator: fr,
|
|
8941
8953
|
IndicatorSeparator: fr,
|
|
@@ -8946,7 +8958,7 @@ const ug = I.forwardRef(
|
|
|
8946
8958
|
/* @__PURE__ */ x.jsx("div", { className: "border-b border-muted px-2 pb-2 pt-2", children: /* @__PURE__ */ x.jsx(
|
|
8947
8959
|
"input",
|
|
8948
8960
|
{
|
|
8949
|
-
ref:
|
|
8961
|
+
ref: _,
|
|
8950
8962
|
value: N,
|
|
8951
8963
|
onChange: ($e) => L($e.target.value),
|
|
8952
8964
|
onKeyDown: ($e) => {
|
|
@@ -8971,22 +8983,22 @@ const ug = I.forwardRef(
|
|
|
8971
8983
|
] });
|
|
8972
8984
|
},
|
|
8973
8985
|
...Te ?? {},
|
|
8974
|
-
Option:
|
|
8986
|
+
Option: ug
|
|
8975
8987
|
}),
|
|
8976
8988
|
[nt, ye, Nt, ie, V, N, h, Te]
|
|
8977
8989
|
), Wt = I.useMemo(
|
|
8978
8990
|
() => ({
|
|
8979
|
-
...
|
|
8991
|
+
...ag,
|
|
8980
8992
|
...$t ?? {}
|
|
8981
8993
|
}),
|
|
8982
8994
|
[$t]
|
|
8983
8995
|
);
|
|
8984
8996
|
I.useLayoutEffect(() => {
|
|
8985
|
-
if (!
|
|
8997
|
+
if (!j) return;
|
|
8986
8998
|
ve();
|
|
8987
8999
|
const B = () => ve();
|
|
8988
9000
|
return window.addEventListener("resize", B), () => window.removeEventListener("resize", B);
|
|
8989
|
-
}, [
|
|
9001
|
+
}, [j, ve]);
|
|
8990
9002
|
const ct = {
|
|
8991
9003
|
...y,
|
|
8992
9004
|
ref: U,
|
|
@@ -8994,7 +9006,7 @@ const ug = I.forwardRef(
|
|
|
8994
9006
|
value: ne,
|
|
8995
9007
|
onChange: re,
|
|
8996
9008
|
onFocus: (B) => {
|
|
8997
|
-
|
|
9009
|
+
j && nt(!1), y.onFocus?.(B);
|
|
8998
9010
|
},
|
|
8999
9011
|
onBlur: (B) => {
|
|
9000
9012
|
Pe(B.relatedTarget) || nt(!1), y.onBlur?.(B);
|
|
@@ -9037,7 +9049,7 @@ const ug = I.forwardRef(
|
|
|
9037
9049
|
start: B.selectionStart,
|
|
9038
9050
|
end: B.selectionEnd
|
|
9039
9051
|
}), L(""), O(!0), requestAnimationFrame(() => {
|
|
9040
|
-
|
|
9052
|
+
_.current ? (_.current.focus(), _.current.select()) : T.current?.focus();
|
|
9041
9053
|
});
|
|
9042
9054
|
},
|
|
9043
9055
|
disabled: p,
|
|
@@ -9051,7 +9063,7 @@ const ug = I.forwardRef(
|
|
|
9051
9063
|
{
|
|
9052
9064
|
className: "absolute left-0 top-full z-30 mt-1",
|
|
9053
9065
|
style: {
|
|
9054
|
-
pointerEvents:
|
|
9066
|
+
pointerEvents: j ? "auto" : "none",
|
|
9055
9067
|
width: "min(260px, 100%)",
|
|
9056
9068
|
left: ee.left,
|
|
9057
9069
|
top: ee.top
|
|
@@ -9060,7 +9072,7 @@ const ug = I.forwardRef(
|
|
|
9060
9072
|
Lu,
|
|
9061
9073
|
{
|
|
9062
9074
|
...Xt,
|
|
9063
|
-
menuIsOpen:
|
|
9075
|
+
menuIsOpen: j,
|
|
9064
9076
|
options: Nt,
|
|
9065
9077
|
value: null,
|
|
9066
9078
|
onChange: ie,
|
|
@@ -9086,7 +9098,7 @@ const ug = I.forwardRef(
|
|
|
9086
9098
|
);
|
|
9087
9099
|
}
|
|
9088
9100
|
);
|
|
9089
|
-
|
|
9101
|
+
lg.displayName = "I18nField";
|
|
9090
9102
|
const ku = { 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", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[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-2]|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}"]]] } };
|
|
9091
9103
|
function xo(e, t) {
|
|
9092
9104
|
var n = Array.prototype.slice.call(t);
|
|
@@ -9103,9 +9115,9 @@ function Da(e, t) {
|
|
|
9103
9115
|
}
|
|
9104
9116
|
return e[1] && t[1] ? e[1] > t[1] ? 1 : e[1] < t[1] ? -1 : 0 : !e[1] && t[1] ? 1 : e[1] && !t[1] ? -1 : 0;
|
|
9105
9117
|
}
|
|
9106
|
-
var
|
|
9118
|
+
var dg = {}.constructor;
|
|
9107
9119
|
function Zt(e) {
|
|
9108
|
-
return e != null && e.constructor ===
|
|
9120
|
+
return e != null && e.constructor === dg;
|
|
9109
9121
|
}
|
|
9110
9122
|
function rn(e) {
|
|
9111
9123
|
"@babel/helpers - typeof";
|
|
@@ -9118,20 +9130,20 @@ function rn(e) {
|
|
|
9118
9130
|
function Jr(e, t) {
|
|
9119
9131
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
9120
9132
|
}
|
|
9121
|
-
function
|
|
9133
|
+
function cg(e, t) {
|
|
9122
9134
|
for (var n = 0; n < t.length; n++) {
|
|
9123
9135
|
var r = t[n];
|
|
9124
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
9136
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, fg(r.key), r);
|
|
9125
9137
|
}
|
|
9126
9138
|
}
|
|
9127
9139
|
function Ur(e, t, n) {
|
|
9128
|
-
return t &&
|
|
9140
|
+
return t && cg(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
9129
9141
|
}
|
|
9130
|
-
function
|
|
9131
|
-
var t =
|
|
9142
|
+
function fg(e) {
|
|
9143
|
+
var t = gg(e, "string");
|
|
9132
9144
|
return rn(t) == "symbol" ? t : t + "";
|
|
9133
9145
|
}
|
|
9134
|
-
function
|
|
9146
|
+
function gg(e, t) {
|
|
9135
9147
|
if (rn(e) != "object" || !e) return e;
|
|
9136
9148
|
var n = e[Symbol.toPrimitive];
|
|
9137
9149
|
if (n !== void 0) {
|
|
@@ -9141,7 +9153,7 @@ function fg(e, t) {
|
|
|
9141
9153
|
}
|
|
9142
9154
|
return String(e);
|
|
9143
9155
|
}
|
|
9144
|
-
var
|
|
9156
|
+
var pg = "1.2.0", bg = "1.7.35", Ga = " ext. ", hg = /^\d+$/, Ge = /* @__PURE__ */ (function() {
|
|
9145
9157
|
function e(t) {
|
|
9146
9158
|
Jr(this, e), Xu(t), this.metadata = t, Wu.call(this, t);
|
|
9147
9159
|
}
|
|
@@ -9196,7 +9208,7 @@ var gg = "1.2.0", pg = "1.7.35", Ga = " ext. ", bg = /^\d+$/, Ge = /* @__PURE__
|
|
|
9196
9208
|
}, {
|
|
9197
9209
|
key: "selectNumberingPlan",
|
|
9198
9210
|
value: function(n, r) {
|
|
9199
|
-
if (n &&
|
|
9211
|
+
if (n && hg.test(n) && (r = n, n = null), n && n !== "001") {
|
|
9200
9212
|
if (!this.hasCountry(n))
|
|
9201
9213
|
throw new Error("Unknown country: ".concat(n));
|
|
9202
9214
|
this.numberingPlan = new Ma(this.getCountryMetadata(n), this);
|
|
@@ -9386,7 +9398,7 @@ var gg = "1.2.0", pg = "1.7.35", Ga = " ext. ", bg = /^\d+$/, Ge = /* @__PURE__
|
|
|
9386
9398
|
value: function() {
|
|
9387
9399
|
var n = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
9388
9400
|
return r.map(function(i) {
|
|
9389
|
-
return new
|
|
9401
|
+
return new mg(i, n);
|
|
9390
9402
|
});
|
|
9391
9403
|
}
|
|
9392
9404
|
}, {
|
|
@@ -9455,7 +9467,7 @@ var gg = "1.2.0", pg = "1.7.35", Ga = " ext. ", bg = /^\d+$/, Ge = /* @__PURE__
|
|
|
9455
9467
|
key: "type",
|
|
9456
9468
|
value: function(n) {
|
|
9457
9469
|
if (this.hasTypes() && Ba(this.types(), n))
|
|
9458
|
-
return new
|
|
9470
|
+
return new $g(Ba(this.types(), n), this);
|
|
9459
9471
|
}
|
|
9460
9472
|
}, {
|
|
9461
9473
|
key: "ext",
|
|
@@ -9463,7 +9475,7 @@ var gg = "1.2.0", pg = "1.7.35", Ga = " ext. ", bg = /^\d+$/, Ge = /* @__PURE__
|
|
|
9463
9475
|
return this.v1 || this.v2 ? Ga : this.metadata[13] || Ga;
|
|
9464
9476
|
}
|
|
9465
9477
|
}]);
|
|
9466
|
-
})(),
|
|
9478
|
+
})(), mg = /* @__PURE__ */ (function() {
|
|
9467
9479
|
function e(t, n) {
|
|
9468
9480
|
Jr(this, e), this._format = t, this.metadata = n;
|
|
9469
9481
|
}
|
|
@@ -9502,7 +9514,7 @@ var gg = "1.2.0", pg = "1.7.35", Ga = " ext. ", bg = /^\d+$/, Ge = /* @__PURE__
|
|
|
9502
9514
|
key: "usesNationalPrefix",
|
|
9503
9515
|
value: function() {
|
|
9504
9516
|
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
9505
|
-
!
|
|
9517
|
+
!vg.test(this.nationalPrefixFormattingRule()));
|
|
9506
9518
|
}
|
|
9507
9519
|
}, {
|
|
9508
9520
|
key: "internationalFormat",
|
|
@@ -9510,7 +9522,7 @@ var gg = "1.2.0", pg = "1.7.35", Ga = " ext. ", bg = /^\d+$/, Ge = /* @__PURE__
|
|
|
9510
9522
|
return this._format[5] || this.format();
|
|
9511
9523
|
}
|
|
9512
9524
|
}]);
|
|
9513
|
-
})(),
|
|
9525
|
+
})(), vg = /^\(?\$1\)?$/, $g = /* @__PURE__ */ (function() {
|
|
9514
9526
|
function e(t, n) {
|
|
9515
9527
|
Jr(this, e), this.type = t, this.metadata = n;
|
|
9516
9528
|
}
|
|
@@ -9555,9 +9567,9 @@ function Xu(e) {
|
|
|
9555
9567
|
if (!e)
|
|
9556
9568
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
9557
9569
|
if (!Zt(e) || !Zt(e.countries))
|
|
9558
|
-
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Zt(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " +
|
|
9570
|
+
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Zt(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + yg(e) + ": " + e, "."));
|
|
9559
9571
|
}
|
|
9560
|
-
var
|
|
9572
|
+
var yg = function(t) {
|
|
9561
9573
|
return rn(t);
|
|
9562
9574
|
};
|
|
9563
9575
|
function Qr(e, t) {
|
|
@@ -9567,12 +9579,12 @@ function Qr(e, t) {
|
|
|
9567
9579
|
}
|
|
9568
9580
|
function Wu(e) {
|
|
9569
9581
|
var t = e.version;
|
|
9570
|
-
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? Da(t,
|
|
9582
|
+
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? Da(t, pg) === -1 ? this.v2 = !0 : Da(t, bg) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
9571
9583
|
}
|
|
9572
9584
|
function Jn(e, t, n) {
|
|
9573
|
-
return
|
|
9585
|
+
return Cg(e, t, void 0, n);
|
|
9574
9586
|
}
|
|
9575
|
-
function
|
|
9587
|
+
function Cg(e, t, n, r) {
|
|
9576
9588
|
t && (r = new Ge(r.metadata), r.selectNumberingPlan(t));
|
|
9577
9589
|
var i = r.type(n), o = i && i.possibleLengths() || r.possibleLengths();
|
|
9578
9590
|
if (!o)
|
|
@@ -9580,7 +9592,7 @@ function yg(e, t, n, r) {
|
|
|
9580
9592
|
var a = e.length, u = o[0];
|
|
9581
9593
|
return u === a ? "IS_POSSIBLE" : u > a ? "TOO_SHORT" : o[o.length - 1] < a ? "TOO_LONG" : o.indexOf(a, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
|
|
9582
9594
|
}
|
|
9583
|
-
function
|
|
9595
|
+
function Ig(e, t, n) {
|
|
9584
9596
|
if (t === void 0 && (t = {}), n = new Ge(n), t.v2) {
|
|
9585
9597
|
if (!e.countryCallingCode)
|
|
9586
9598
|
throw new Error("Invalid phone number object passed");
|
|
@@ -9599,12 +9611,12 @@ function Cg(e, t, n) {
|
|
|
9599
9611
|
}
|
|
9600
9612
|
}
|
|
9601
9613
|
if (n.possibleLengths())
|
|
9602
|
-
return
|
|
9614
|
+
return ju(e.phone || e.nationalNumber, e.country, n);
|
|
9603
9615
|
if (e.countryCallingCode && n.isNonGeographicCallingCode(e.countryCallingCode))
|
|
9604
9616
|
return !0;
|
|
9605
9617
|
throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
|
|
9606
9618
|
}
|
|
9607
|
-
function
|
|
9619
|
+
function ju(e, t, n) {
|
|
9608
9620
|
switch (Jn(e, t, n)) {
|
|
9609
9621
|
case "IS_POSSIBLE":
|
|
9610
9622
|
return !0;
|
|
@@ -9619,10 +9631,10 @@ function _u(e, t, n) {
|
|
|
9619
9631
|
function Dt(e, t) {
|
|
9620
9632
|
return e = e || "", new RegExp("^(?:" + t + ")$").test(e);
|
|
9621
9633
|
}
|
|
9622
|
-
function
|
|
9634
|
+
function xg(e, t) {
|
|
9623
9635
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
9624
9636
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
9625
|
-
if (Array.isArray(e) || (n =
|
|
9637
|
+
if (Array.isArray(e) || (n = Ag(e)) || t) {
|
|
9626
9638
|
n && (e = n);
|
|
9627
9639
|
var r = 0;
|
|
9628
9640
|
return function() {
|
|
@@ -9632,7 +9644,7 @@ function Ig(e, t) {
|
|
|
9632
9644
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
9633
9645
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
9634
9646
|
}
|
|
9635
|
-
function
|
|
9647
|
+
function Ag(e, t) {
|
|
9636
9648
|
if (e) {
|
|
9637
9649
|
if (typeof e == "string") return La(e, t);
|
|
9638
9650
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -9644,7 +9656,7 @@ function La(e, t) {
|
|
|
9644
9656
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
9645
9657
|
return r;
|
|
9646
9658
|
}
|
|
9647
|
-
var
|
|
9659
|
+
var Sg = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
|
|
9648
9660
|
function Ao(e, t, n) {
|
|
9649
9661
|
if (t = t || {}, !(!e.country && !e.countryCallingCode)) {
|
|
9650
9662
|
n = new Ge(n), n.selectNumberingPlan(e.country, e.countryCallingCode);
|
|
@@ -9652,7 +9664,7 @@ function Ao(e, t, n) {
|
|
|
9652
9664
|
if (Dt(r, n.nationalNumberPattern())) {
|
|
9653
9665
|
if (hi(r, "FIXED_LINE", n))
|
|
9654
9666
|
return n.type("MOBILE") && n.type("MOBILE").pattern() === "" || !n.type("MOBILE") || hi(r, "MOBILE", n) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
|
|
9655
|
-
for (var i =
|
|
9667
|
+
for (var i = xg(Sg), o; !(o = i()).done; ) {
|
|
9656
9668
|
var a = o.value;
|
|
9657
9669
|
if (hi(r, a, n))
|
|
9658
9670
|
return a;
|
|
@@ -9663,31 +9675,31 @@ function Ao(e, t, n) {
|
|
|
9663
9675
|
function hi(e, t, n) {
|
|
9664
9676
|
return t = n.type(t), !t || !t.pattern() || t.possibleLengths() && t.possibleLengths().indexOf(e.length) < 0 ? !1 : Dt(e, t.pattern());
|
|
9665
9677
|
}
|
|
9666
|
-
function
|
|
9678
|
+
function Eg(e, t, n) {
|
|
9667
9679
|
if (t = t || {}, n = new Ge(n), n.selectNumberingPlan(e.country, e.countryCallingCode), n.hasTypes())
|
|
9668
9680
|
return Ao(e, t, n.metadata) !== void 0;
|
|
9669
9681
|
var r = t.v2 ? e.nationalNumber : e.phone;
|
|
9670
9682
|
return Dt(r, n.nationalNumberPattern());
|
|
9671
9683
|
}
|
|
9672
|
-
function
|
|
9684
|
+
function Ng(e, t, n) {
|
|
9673
9685
|
var r = new Ge(n), i = r.getCountryCodesForCallingCode(e);
|
|
9674
9686
|
return i ? i.filter(function(o) {
|
|
9675
|
-
return
|
|
9687
|
+
return wg(t, o, n);
|
|
9676
9688
|
}) : [];
|
|
9677
9689
|
}
|
|
9678
|
-
function
|
|
9690
|
+
function wg(e, t, n) {
|
|
9679
9691
|
var r = new Ge(n);
|
|
9680
9692
|
return r.selectNumberingPlan(t), r.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
|
|
9681
9693
|
}
|
|
9682
|
-
var So = 2,
|
|
9683
|
-
function
|
|
9694
|
+
var So = 2, Pg = 17, Rg = 3, Ke = "0-90-9٠-٩۰-۹", Tg = "-‐-―−ー-", Fg = "//", Og = "..", Dg = " ", Gg = "()()[]\\[\\]", Mg = "~⁓∼~", ht = "".concat(Tg).concat(Fg).concat(Og).concat(Dg).concat(Gg).concat(Mg), Kr = "++", Bg = new RegExp("([" + Ke + "])");
|
|
9695
|
+
function _u(e, t, n, r) {
|
|
9684
9696
|
if (t) {
|
|
9685
9697
|
var i = new Ge(r);
|
|
9686
9698
|
i.selectNumberingPlan(t, n);
|
|
9687
9699
|
var o = new RegExp(i.IDDPrefix());
|
|
9688
9700
|
if (e.search(o) === 0) {
|
|
9689
9701
|
e = e.slice(e.match(o)[0].length);
|
|
9690
|
-
var a = e.match(
|
|
9702
|
+
var a = e.match(Bg);
|
|
9691
9703
|
if (!(a && a[1] != null && a[1].length > 0 && a[1] === "0"))
|
|
9692
9704
|
return e;
|
|
9693
9705
|
}
|
|
@@ -9721,10 +9733,10 @@ function Xi(e, t) {
|
|
|
9721
9733
|
nationalNumber: e
|
|
9722
9734
|
};
|
|
9723
9735
|
}
|
|
9724
|
-
function
|
|
9736
|
+
function Lg(e, t) {
|
|
9725
9737
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
9726
9738
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
9727
|
-
if (Array.isArray(e) || (n =
|
|
9739
|
+
if (Array.isArray(e) || (n = Vg(e)) || t) {
|
|
9728
9740
|
n && (e = n);
|
|
9729
9741
|
var r = 0;
|
|
9730
9742
|
return function() {
|
|
@@ -9734,7 +9746,7 @@ function Bg(e, t) {
|
|
|
9734
9746
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
9735
9747
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
9736
9748
|
}
|
|
9737
|
-
function
|
|
9749
|
+
function Vg(e, t) {
|
|
9738
9750
|
if (e) {
|
|
9739
9751
|
if (typeof e == "string") return Va(e, t);
|
|
9740
9752
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -9749,7 +9761,7 @@ function Va(e, t) {
|
|
|
9749
9761
|
function Hu(e, t) {
|
|
9750
9762
|
var n = t.countries, r = t.metadata;
|
|
9751
9763
|
r = new Ge(r);
|
|
9752
|
-
for (var i =
|
|
9764
|
+
for (var i = Lg(n), o; !(o = i()).done; ) {
|
|
9753
9765
|
var a = o.value;
|
|
9754
9766
|
if (r.selectNumberingPlan(a), r.leadingDigits()) {
|
|
9755
9767
|
if (e && e.search(r.leadingDigits()) === 0)
|
|
@@ -9772,14 +9784,14 @@ function Eo(e, t) {
|
|
|
9772
9784
|
function Wi(e, t, n) {
|
|
9773
9785
|
var r = Xi(e, n), i = r.carrierCode, o = r.nationalNumber;
|
|
9774
9786
|
if (o !== e) {
|
|
9775
|
-
if (!
|
|
9787
|
+
if (!kg(e, o, n))
|
|
9776
9788
|
return {
|
|
9777
9789
|
nationalNumber: e
|
|
9778
9790
|
};
|
|
9779
9791
|
if (n.numberingPlan.possibleLengths() && (t || (t = Eo(n.numberingPlan.callingCode(), {
|
|
9780
9792
|
nationalNumber: o,
|
|
9781
9793
|
metadata: n
|
|
9782
|
-
})), !
|
|
9794
|
+
})), !Xg(o, t, n)))
|
|
9783
9795
|
return {
|
|
9784
9796
|
nationalNumber: e
|
|
9785
9797
|
};
|
|
@@ -9789,10 +9801,10 @@ function Wi(e, t, n) {
|
|
|
9789
9801
|
carrierCode: i
|
|
9790
9802
|
};
|
|
9791
9803
|
}
|
|
9792
|
-
function
|
|
9804
|
+
function kg(e, t, n) {
|
|
9793
9805
|
return !(Dt(e, n.nationalNumberPattern()) && !Dt(t, n.nationalNumberPattern()));
|
|
9794
9806
|
}
|
|
9795
|
-
function
|
|
9807
|
+
function Xg(e, t, n) {
|
|
9796
9808
|
switch (Jn(e, t, n)) {
|
|
9797
9809
|
case "TOO_SHORT":
|
|
9798
9810
|
case "INVALID_LENGTH":
|
|
@@ -9821,7 +9833,7 @@ function No(e, t, n, r, i) {
|
|
|
9821
9833
|
return {};
|
|
9822
9834
|
var o;
|
|
9823
9835
|
if (e[0] !== "+") {
|
|
9824
|
-
var a =
|
|
9836
|
+
var a = _u(e, t || n, r, i);
|
|
9825
9837
|
if (a && a !== e)
|
|
9826
9838
|
o = !0, e = "+" + a;
|
|
9827
9839
|
else {
|
|
@@ -9844,7 +9856,7 @@ function No(e, t, n, r, i) {
|
|
|
9844
9856
|
if (e[1] === "0")
|
|
9845
9857
|
return {};
|
|
9846
9858
|
i = new Ge(i);
|
|
9847
|
-
for (var d = 2; d - 1 <=
|
|
9859
|
+
for (var d = 2; d - 1 <= Rg && d <= e.length; ) {
|
|
9848
9860
|
var c = e.slice(1, d);
|
|
9849
9861
|
if (i.hasCallingCode(c))
|
|
9850
9862
|
return i.selectNumberingPlan(c), {
|
|
@@ -9881,12 +9893,12 @@ function Ju(e, t, n) {
|
|
|
9881
9893
|
));
|
|
9882
9894
|
return r ? Yu(o) : o;
|
|
9883
9895
|
}
|
|
9884
|
-
var
|
|
9885
|
-
function
|
|
9896
|
+
var Wg = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
|
|
9897
|
+
function jg(e, t, n) {
|
|
9886
9898
|
var r = new Ge(n);
|
|
9887
9899
|
if (r.selectNumberingPlan(e, t), r.defaultIDDPrefix())
|
|
9888
9900
|
return r.defaultIDDPrefix();
|
|
9889
|
-
if (
|
|
9901
|
+
if (Wg.test(r.IDDPrefix()))
|
|
9890
9902
|
return r.IDDPrefix();
|
|
9891
9903
|
}
|
|
9892
9904
|
var _g = ";ext=", Kt = function(t) {
|
|
@@ -9896,19 +9908,19 @@ function Uu(e) {
|
|
|
9896
9908
|
var t = "20", n = "15", r = "9", i = "6", o = "[ \\t,]*", a = "[:\\..]?[ \\t,-]*", u = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", d = "[- ]+", c = "[ \\t]*", f = "(?:,{2}|;)", g = _g + Kt(t), h = o + s + a + Kt(t) + u, p = o + l + a + Kt(r) + u, b = d + Kt(i) + "#", m = c + f + a + Kt(n) + u, y = c + "(?:,)+" + a + Kt(r) + u;
|
|
9897
9909
|
return g + "|" + h + "|" + p + "|" + b + "|" + m + "|" + y;
|
|
9898
9910
|
}
|
|
9899
|
-
var
|
|
9900
|
-
"(?:" + Uu() + ")?",
|
|
9911
|
+
var Hg = "[" + Ke + "]{" + So + "}", Zg = "[" + Kr + "]{0,1}(?:[" + ht + "]*[" + Ke + "]){3,}[" + ht + Ke + "]*", Yg = new RegExp("^[" + Kr + "]{0,1}(?:[" + ht + "]*[" + Ke + "]){1,2}$", "i"), zg = Zg + // Phone number extensions
|
|
9912
|
+
"(?:" + Uu() + ")?", Jg = new RegExp(
|
|
9901
9913
|
// Either a short two-digit-only phone number
|
|
9902
|
-
"^" +
|
|
9914
|
+
"^" + Hg + "$|^" + zg + "$",
|
|
9903
9915
|
"i"
|
|
9904
9916
|
);
|
|
9905
|
-
function Jg(e) {
|
|
9906
|
-
return e.length >= So && zg.test(e);
|
|
9907
|
-
}
|
|
9908
9917
|
function Ug(e) {
|
|
9909
|
-
return
|
|
9918
|
+
return e.length >= So && Jg.test(e);
|
|
9910
9919
|
}
|
|
9911
9920
|
function Qg(e) {
|
|
9921
|
+
return Yg.test(e);
|
|
9922
|
+
}
|
|
9923
|
+
function Kg(e) {
|
|
9912
9924
|
var t = e.number, n = e.ext;
|
|
9913
9925
|
if (!t)
|
|
9914
9926
|
return "";
|
|
@@ -9921,8 +9933,8 @@ var ka = {
|
|
|
9921
9933
|
return "".concat(t).concat(r.ext()).concat(n);
|
|
9922
9934
|
}
|
|
9923
9935
|
};
|
|
9924
|
-
function
|
|
9925
|
-
if (n ? n =
|
|
9936
|
+
function qg(e, t, n, r) {
|
|
9937
|
+
if (n ? n = np({}, ka, n) : n = ka, r = new Ge(r), e.country && e.country !== "001") {
|
|
9926
9938
|
if (!r.hasCountry(e.country))
|
|
9927
9939
|
throw new Error("Unknown country: ".concat(e.country));
|
|
9928
9940
|
r.selectNumberingPlan(e.country);
|
|
@@ -9938,7 +9950,7 @@ function Kg(e, t, n, r) {
|
|
|
9938
9950
|
case "E.164":
|
|
9939
9951
|
return "+".concat(i).concat(o);
|
|
9940
9952
|
case "RFC3966":
|
|
9941
|
-
return
|
|
9953
|
+
return Kg({
|
|
9942
9954
|
number: "+".concat(i).concat(o),
|
|
9943
9955
|
ext: e.ext
|
|
9944
9956
|
});
|
|
@@ -9949,14 +9961,14 @@ function Kg(e, t, n, r) {
|
|
|
9949
9961
|
case "IDD":
|
|
9950
9962
|
if (!n.fromCountry)
|
|
9951
9963
|
return;
|
|
9952
|
-
var u =
|
|
9964
|
+
var u = tp(o, e.carrierCode, i, n.fromCountry, r);
|
|
9953
9965
|
return mi(u, e.ext, r, n.formatExtension);
|
|
9954
9966
|
default:
|
|
9955
9967
|
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
|
|
9956
9968
|
}
|
|
9957
9969
|
}
|
|
9958
9970
|
function Mr(e, t, n, r, i) {
|
|
9959
|
-
var o =
|
|
9971
|
+
var o = ep(r.formats(), e);
|
|
9960
9972
|
return o ? Ju(e, o, {
|
|
9961
9973
|
useInternationalFormat: n === "INTERNATIONAL",
|
|
9962
9974
|
withNationalPrefix: !(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && i && i.nationalPrefix === !1),
|
|
@@ -9964,8 +9976,8 @@ function Mr(e, t, n, r, i) {
|
|
|
9964
9976
|
metadata: r
|
|
9965
9977
|
}) : e;
|
|
9966
9978
|
}
|
|
9967
|
-
function
|
|
9968
|
-
return
|
|
9979
|
+
function ep(e, t) {
|
|
9980
|
+
return rp(e, function(n) {
|
|
9969
9981
|
if (n.leadingDigitsPatterns().length > 0) {
|
|
9970
9982
|
var r = n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length - 1];
|
|
9971
9983
|
if (t.search(r) !== 0)
|
|
@@ -9977,17 +9989,17 @@ function qg(e, t) {
|
|
|
9977
9989
|
function mi(e, t, n, r) {
|
|
9978
9990
|
return t ? r(e, t, n) : e;
|
|
9979
9991
|
}
|
|
9980
|
-
function
|
|
9992
|
+
function tp(e, t, n, r, i) {
|
|
9981
9993
|
var o = Qr(r, i.metadata);
|
|
9982
9994
|
if (o === n) {
|
|
9983
9995
|
var a = Mr(e, t, "NATIONAL", i);
|
|
9984
9996
|
return n === "1" ? n + " " + a : a;
|
|
9985
9997
|
}
|
|
9986
|
-
var u =
|
|
9998
|
+
var u = jg(r, void 0, i.metadata);
|
|
9987
9999
|
if (u)
|
|
9988
10000
|
return "".concat(u, " ").concat(n, " ").concat(Mr(e, null, "INTERNATIONAL", i));
|
|
9989
10001
|
}
|
|
9990
|
-
function
|
|
10002
|
+
function np() {
|
|
9991
10003
|
for (var e = 1, t = arguments.length, n = new Array(t), r = 0; r < t; r++)
|
|
9992
10004
|
n[r] = arguments[r];
|
|
9993
10005
|
for (; e < n.length; ) {
|
|
@@ -9998,7 +10010,7 @@ function tp() {
|
|
|
9998
10010
|
}
|
|
9999
10011
|
return n[0];
|
|
10000
10012
|
}
|
|
10001
|
-
function
|
|
10013
|
+
function rp(e, t) {
|
|
10002
10014
|
for (var n = 0; n < e.length; ) {
|
|
10003
10015
|
if (t(e[n]))
|
|
10004
10016
|
return e[n];
|
|
@@ -10027,33 +10039,33 @@ function Wa(e) {
|
|
|
10027
10039
|
for (var t = 1; t < arguments.length; t++) {
|
|
10028
10040
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
10029
10041
|
t % 2 ? Xa(Object(n), !0).forEach(function(r) {
|
|
10030
|
-
|
|
10042
|
+
ip(e, r, n[r]);
|
|
10031
10043
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xa(Object(n)).forEach(function(r) {
|
|
10032
10044
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
10033
10045
|
});
|
|
10034
10046
|
}
|
|
10035
10047
|
return e;
|
|
10036
10048
|
}
|
|
10037
|
-
function
|
|
10049
|
+
function ip(e, t, n) {
|
|
10038
10050
|
return (t = Qu(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
10039
10051
|
}
|
|
10040
|
-
function
|
|
10052
|
+
function op(e, t) {
|
|
10041
10053
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
10042
10054
|
}
|
|
10043
|
-
function
|
|
10055
|
+
function ap(e, t) {
|
|
10044
10056
|
for (var n = 0; n < t.length; n++) {
|
|
10045
10057
|
var r = t[n];
|
|
10046
10058
|
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Qu(r.key), r);
|
|
10047
10059
|
}
|
|
10048
10060
|
}
|
|
10049
|
-
function
|
|
10050
|
-
return t &&
|
|
10061
|
+
function sp(e, t, n) {
|
|
10062
|
+
return t && ap(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
10051
10063
|
}
|
|
10052
10064
|
function Qu(e) {
|
|
10053
|
-
var t =
|
|
10065
|
+
var t = up(e, "string");
|
|
10054
10066
|
return Tn(t) == "symbol" ? t : t + "";
|
|
10055
10067
|
}
|
|
10056
|
-
function
|
|
10068
|
+
function up(e, t) {
|
|
10057
10069
|
if (Tn(e) != "object" || !e) return e;
|
|
10058
10070
|
var n = e[Symbol.toPrimitive];
|
|
10059
10071
|
if (n !== void 0) {
|
|
@@ -10065,7 +10077,7 @@ function sp(e, t) {
|
|
|
10065
10077
|
}
|
|
10066
10078
|
var Ku = /* @__PURE__ */ (function() {
|
|
10067
10079
|
function e(t, n, r) {
|
|
10068
|
-
if (
|
|
10080
|
+
if (op(this, e), !t)
|
|
10069
10081
|
throw new TypeError("First argument is required");
|
|
10070
10082
|
if (typeof t != "string")
|
|
10071
10083
|
throw new TypeError("First argument must be a string");
|
|
@@ -10074,7 +10086,7 @@ var Ku = /* @__PURE__ */ (function() {
|
|
|
10074
10086
|
if (Zt(n) && Zt(n.countries)) {
|
|
10075
10087
|
r = n;
|
|
10076
10088
|
var i = t;
|
|
10077
|
-
if (!
|
|
10089
|
+
if (!cp.test(i))
|
|
10078
10090
|
throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
|
|
10079
10091
|
var o = No(i, void 0, void 0, void 0, r), a = o.countryCallingCode, u = o.number;
|
|
10080
10092
|
if (n = u, t = a, !n)
|
|
@@ -10085,12 +10097,12 @@ var Ku = /* @__PURE__ */ (function() {
|
|
|
10085
10097
|
if (typeof n != "string")
|
|
10086
10098
|
throw new TypeError("`nationalNumber` argument must be a string");
|
|
10087
10099
|
Xu(r);
|
|
10088
|
-
var s =
|
|
10100
|
+
var s = dp(t, r), l = s.country, d = s.countryCallingCode;
|
|
10089
10101
|
this.country = l, this.countryCallingCode = d, this.nationalNumber = n, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
|
|
10090
10102
|
return r;
|
|
10091
10103
|
};
|
|
10092
10104
|
}
|
|
10093
|
-
return
|
|
10105
|
+
return sp(e, [{
|
|
10094
10106
|
key: "setExt",
|
|
10095
10107
|
value: function(n) {
|
|
10096
10108
|
this.ext = n;
|
|
@@ -10098,19 +10110,19 @@ var Ku = /* @__PURE__ */ (function() {
|
|
|
10098
10110
|
}, {
|
|
10099
10111
|
key: "getPossibleCountries",
|
|
10100
10112
|
value: function() {
|
|
10101
|
-
return this.country ? [this.country] :
|
|
10113
|
+
return this.country ? [this.country] : Ng(this.countryCallingCode, this.nationalNumber, this.getMetadata());
|
|
10102
10114
|
}
|
|
10103
10115
|
}, {
|
|
10104
10116
|
key: "isPossible",
|
|
10105
10117
|
value: function() {
|
|
10106
|
-
return
|
|
10118
|
+
return Ig(this, {
|
|
10107
10119
|
v2: !0
|
|
10108
10120
|
}, this.getMetadata());
|
|
10109
10121
|
}
|
|
10110
10122
|
}, {
|
|
10111
10123
|
key: "isValid",
|
|
10112
10124
|
value: function() {
|
|
10113
|
-
return
|
|
10125
|
+
return Eg(this, {
|
|
10114
10126
|
v2: !0
|
|
10115
10127
|
}, this.getMetadata());
|
|
10116
10128
|
}
|
|
@@ -10149,7 +10161,7 @@ var Ku = /* @__PURE__ */ (function() {
|
|
|
10149
10161
|
}, {
|
|
10150
10162
|
key: "format",
|
|
10151
10163
|
value: function(n, r) {
|
|
10152
|
-
return
|
|
10164
|
+
return qg(this, n, r ? Wa(Wa({}, r), {}, {
|
|
10153
10165
|
v2: !0
|
|
10154
10166
|
}) : {
|
|
10155
10167
|
v2: !0
|
|
@@ -10171,63 +10183,63 @@ var Ku = /* @__PURE__ */ (function() {
|
|
|
10171
10183
|
return this.format("RFC3966", n);
|
|
10172
10184
|
}
|
|
10173
10185
|
}]);
|
|
10174
|
-
})(),
|
|
10186
|
+
})(), lp = function(t) {
|
|
10175
10187
|
return /^[A-Z]{2}$/.test(t);
|
|
10176
10188
|
};
|
|
10177
|
-
function
|
|
10189
|
+
function dp(e, t) {
|
|
10178
10190
|
var n, r, i = new Ge(t);
|
|
10179
|
-
return
|
|
10191
|
+
return lp(e) ? (n = e, i.selectNumberingPlan(n), r = i.countryCallingCode()) : r = e, {
|
|
10180
10192
|
country: n,
|
|
10181
10193
|
countryCallingCode: r
|
|
10182
10194
|
};
|
|
10183
10195
|
}
|
|
10184
|
-
var
|
|
10185
|
-
function
|
|
10196
|
+
var cp = /^\+\d+$/;
|
|
10197
|
+
function ji(e) {
|
|
10186
10198
|
"@babel/helpers - typeof";
|
|
10187
|
-
return
|
|
10199
|
+
return ji = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
10188
10200
|
return typeof t;
|
|
10189
10201
|
} : function(t) {
|
|
10190
10202
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
10191
|
-
},
|
|
10203
|
+
}, ji(e);
|
|
10192
10204
|
}
|
|
10193
|
-
function
|
|
10205
|
+
function fp(e, t, n) {
|
|
10194
10206
|
return Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
10195
10207
|
}
|
|
10196
|
-
function
|
|
10208
|
+
function gp(e, t) {
|
|
10197
10209
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
10198
10210
|
}
|
|
10199
|
-
function
|
|
10200
|
-
return t = On(t),
|
|
10211
|
+
function pp(e, t, n) {
|
|
10212
|
+
return t = On(t), bp(e, wo() ? Reflect.construct(t, n || [], On(e).constructor) : t.apply(e, n));
|
|
10201
10213
|
}
|
|
10202
|
-
function
|
|
10203
|
-
if (t && (
|
|
10214
|
+
function bp(e, t) {
|
|
10215
|
+
if (t && (ji(t) == "object" || typeof t == "function")) return t;
|
|
10204
10216
|
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
10205
|
-
return
|
|
10217
|
+
return hp(e);
|
|
10206
10218
|
}
|
|
10207
|
-
function
|
|
10219
|
+
function hp(e) {
|
|
10208
10220
|
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
10209
10221
|
return e;
|
|
10210
10222
|
}
|
|
10211
|
-
function
|
|
10223
|
+
function mp(e, t) {
|
|
10212
10224
|
if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
|
|
10213
10225
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Fn(e, t);
|
|
10214
10226
|
}
|
|
10215
|
-
function
|
|
10227
|
+
function _i(e) {
|
|
10216
10228
|
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
10217
|
-
return
|
|
10218
|
-
if (r === null ||
|
|
10229
|
+
return _i = function(r) {
|
|
10230
|
+
if (r === null || !$p(r)) return r;
|
|
10219
10231
|
if (typeof r != "function") throw new TypeError("Super expression must either be null or a function");
|
|
10220
10232
|
if (t !== void 0) {
|
|
10221
10233
|
if (t.has(r)) return t.get(r);
|
|
10222
10234
|
t.set(r, i);
|
|
10223
10235
|
}
|
|
10224
10236
|
function i() {
|
|
10225
|
-
return
|
|
10237
|
+
return vp(r, arguments, On(this).constructor);
|
|
10226
10238
|
}
|
|
10227
10239
|
return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), Fn(i, r);
|
|
10228
|
-
},
|
|
10240
|
+
}, _i(e);
|
|
10229
10241
|
}
|
|
10230
|
-
function
|
|
10242
|
+
function vp(e, t, n) {
|
|
10231
10243
|
if (wo()) return Reflect.construct.apply(null, arguments);
|
|
10232
10244
|
var r = [null];
|
|
10233
10245
|
r.push.apply(r, t);
|
|
@@ -10244,7 +10256,7 @@ function wo() {
|
|
|
10244
10256
|
return !!e;
|
|
10245
10257
|
})();
|
|
10246
10258
|
}
|
|
10247
|
-
function
|
|
10259
|
+
function $p(e) {
|
|
10248
10260
|
try {
|
|
10249
10261
|
return Function.toString.call(e).indexOf("[native code]") !== -1;
|
|
10250
10262
|
} catch {
|
|
@@ -10264,15 +10276,15 @@ function On(e) {
|
|
|
10264
10276
|
var Tt = /* @__PURE__ */ (function(e) {
|
|
10265
10277
|
function t(n) {
|
|
10266
10278
|
var r;
|
|
10267
|
-
return
|
|
10279
|
+
return gp(this, t), r = pp(this, t, [n]), Object.setPrototypeOf(r, t.prototype), r.name = r.constructor.name, r;
|
|
10268
10280
|
}
|
|
10269
|
-
return
|
|
10270
|
-
})(/* @__PURE__ */
|
|
10271
|
-
function
|
|
10272
|
-
var t = e.search(
|
|
10281
|
+
return mp(t, e), fp(t);
|
|
10282
|
+
})(/* @__PURE__ */ _i(Error)), ja = new RegExp("(?:" + Uu() + ")$", "i");
|
|
10283
|
+
function yp(e) {
|
|
10284
|
+
var t = e.search(ja);
|
|
10273
10285
|
if (t < 0)
|
|
10274
10286
|
return {};
|
|
10275
|
-
for (var n = e.slice(0, t), r = e.match(
|
|
10287
|
+
for (var n = e.slice(0, t), r = e.match(ja), i = 1; i < r.length; ) {
|
|
10276
10288
|
if (r[i])
|
|
10277
10289
|
return {
|
|
10278
10290
|
number: n,
|
|
@@ -10281,10 +10293,10 @@ function $p(e) {
|
|
|
10281
10293
|
i++;
|
|
10282
10294
|
}
|
|
10283
10295
|
}
|
|
10284
|
-
function
|
|
10296
|
+
function Cp(e, t) {
|
|
10285
10297
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
10286
10298
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
10287
|
-
if (Array.isArray(e) || (n =
|
|
10299
|
+
if (Array.isArray(e) || (n = Ip(e)) || t) {
|
|
10288
10300
|
n && (e = n);
|
|
10289
10301
|
var r = 0;
|
|
10290
10302
|
return function() {
|
|
@@ -10294,19 +10306,19 @@ function yp(e, t) {
|
|
|
10294
10306
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
10295
10307
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
10296
10308
|
}
|
|
10297
|
-
function
|
|
10309
|
+
function Ip(e, t) {
|
|
10298
10310
|
if (e) {
|
|
10299
|
-
if (typeof e == "string") return
|
|
10311
|
+
if (typeof e == "string") return _a(e, t);
|
|
10300
10312
|
var n = {}.toString.call(e).slice(8, -1);
|
|
10301
|
-
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ?
|
|
10313
|
+
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? _a(e, t) : void 0;
|
|
10302
10314
|
}
|
|
10303
10315
|
}
|
|
10304
|
-
function
|
|
10316
|
+
function _a(e, t) {
|
|
10305
10317
|
(t == null || t > e.length) && (t = e.length);
|
|
10306
10318
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
10307
10319
|
return r;
|
|
10308
10320
|
}
|
|
10309
|
-
var
|
|
10321
|
+
var xp = {
|
|
10310
10322
|
0: "0",
|
|
10311
10323
|
1: "1",
|
|
10312
10324
|
2: "2",
|
|
@@ -10379,19 +10391,19 @@ var Ip = {
|
|
|
10379
10391
|
// Eastern-Arabic digit 9
|
|
10380
10392
|
};
|
|
10381
10393
|
function qu(e) {
|
|
10382
|
-
return
|
|
10394
|
+
return xp[e];
|
|
10383
10395
|
}
|
|
10384
10396
|
function Br(e) {
|
|
10385
|
-
for (var t = "", n =
|
|
10397
|
+
for (var t = "", n = Cp(e.split("")), r; !(r = n()).done; ) {
|
|
10386
10398
|
var i = r.value, o = qu(i);
|
|
10387
10399
|
o && (t += o);
|
|
10388
10400
|
}
|
|
10389
10401
|
return t;
|
|
10390
10402
|
}
|
|
10391
|
-
function
|
|
10403
|
+
function Ap(e, t) {
|
|
10392
10404
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
10393
10405
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
10394
|
-
if (Array.isArray(e) || (n =
|
|
10406
|
+
if (Array.isArray(e) || (n = Sp(e)) || t) {
|
|
10395
10407
|
n && (e = n);
|
|
10396
10408
|
var r = 0;
|
|
10397
10409
|
return function() {
|
|
@@ -10401,7 +10413,7 @@ function xp(e, t) {
|
|
|
10401
10413
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
10402
10414
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
10403
10415
|
}
|
|
10404
|
-
function
|
|
10416
|
+
function Sp(e, t) {
|
|
10405
10417
|
if (e) {
|
|
10406
10418
|
if (typeof e == "string") return Ha(e, t);
|
|
10407
10419
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -10414,17 +10426,17 @@ function Ha(e, t) {
|
|
|
10414
10426
|
return r;
|
|
10415
10427
|
}
|
|
10416
10428
|
function Za(e) {
|
|
10417
|
-
for (var t = "", n =
|
|
10429
|
+
for (var t = "", n = Ap(e.split("")), r; !(r = n()).done; ) {
|
|
10418
10430
|
var i = r.value;
|
|
10419
|
-
t +=
|
|
10431
|
+
t += Ep(i, t) || "";
|
|
10420
10432
|
}
|
|
10421
10433
|
return t;
|
|
10422
10434
|
}
|
|
10423
|
-
function
|
|
10435
|
+
function Ep(e, t, n) {
|
|
10424
10436
|
return e === "+" ? t ? void 0 : "+" : qu(e);
|
|
10425
10437
|
}
|
|
10426
|
-
var el = "+",
|
|
10427
|
-
function
|
|
10438
|
+
var el = "+", Np = "[\\-\\.\\(\\)]?", Ya = "([" + Ke + "]|" + Np + ")", wp = "^\\" + el + Ya + "*[" + Ke + "]" + Ya + "*$", Pp = new RegExp(wp, "g"), Hi = Ke, Rp = "[" + Hi + "]+((\\-)*[" + Hi + "])*", Tp = "a-zA-Z", Fp = "[" + Tp + "]+((\\-)*[" + Hi + "])*", Op = "^(" + Rp + "\\.)*" + Fp + "\\.?$", Dp = new RegExp(Op, "g"), za = "tel:", Zi = ";phone-context=", Gp = ";isub=";
|
|
10439
|
+
function Mp(e) {
|
|
10428
10440
|
var t = e.indexOf(Zi);
|
|
10429
10441
|
if (t < 0)
|
|
10430
10442
|
return null;
|
|
@@ -10434,12 +10446,12 @@ function Gp(e) {
|
|
|
10434
10446
|
var r = e.indexOf(";", n);
|
|
10435
10447
|
return r >= 0 ? e.substring(n, r) : e.substring(n);
|
|
10436
10448
|
}
|
|
10437
|
-
function
|
|
10438
|
-
return e === null ? !0 : e.length === 0 ? !1 :
|
|
10449
|
+
function Bp(e) {
|
|
10450
|
+
return e === null ? !0 : e.length === 0 ? !1 : Pp.test(e) || Dp.test(e);
|
|
10439
10451
|
}
|
|
10440
|
-
function
|
|
10441
|
-
var n = t.extractFormattedPhoneNumber, r =
|
|
10442
|
-
if (!
|
|
10452
|
+
function Lp(e, t) {
|
|
10453
|
+
var n = t.extractFormattedPhoneNumber, r = Mp(e);
|
|
10454
|
+
if (!Bp(r))
|
|
10443
10455
|
throw new Tt("NOT_A_NUMBER");
|
|
10444
10456
|
var i;
|
|
10445
10457
|
if (r === null)
|
|
@@ -10451,12 +10463,12 @@ function Bp(e, t) {
|
|
|
10451
10463
|
var u = e.indexOf(Zi);
|
|
10452
10464
|
i += e.substring(a, u);
|
|
10453
10465
|
}
|
|
10454
|
-
var s = i.indexOf(
|
|
10466
|
+
var s = i.indexOf(Gp);
|
|
10455
10467
|
if (s > 0 && (i = i.substring(0, s)), i !== "")
|
|
10456
10468
|
return i;
|
|
10457
10469
|
}
|
|
10458
|
-
var
|
|
10459
|
-
function
|
|
10470
|
+
var Vp = 250, kp = new RegExp("[" + Kr + Ke + "]"), Xp = new RegExp("[^" + Ke + "#]+$");
|
|
10471
|
+
function Wp(e, t, n) {
|
|
10460
10472
|
if (t = t || {}, n = new Ge(n), t.defaultCountry && !n.hasCountry(t.defaultCountry))
|
|
10461
10473
|
throw t.v2 ? new Tt("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
|
|
10462
10474
|
var r = _p(e, t.v2, t.extract), i = r.number, o = r.ext, a = r.error;
|
|
@@ -10465,7 +10477,7 @@ function Xp(e, t, n) {
|
|
|
10465
10477
|
throw a === "TOO_SHORT" ? new Tt("TOO_SHORT") : new Tt("NOT_A_NUMBER");
|
|
10466
10478
|
return {};
|
|
10467
10479
|
}
|
|
10468
|
-
var u =
|
|
10480
|
+
var u = Zp(i, t.defaultCountry, t.defaultCallingCode, n), s = u.country, l = u.nationalNumber, d = u.countryCallingCode, c = u.countryCallingCodeSource, f = u.carrierCode;
|
|
10469
10481
|
if (!n.hasSelectedNumberingPlan()) {
|
|
10470
10482
|
if (t.v2)
|
|
10471
10483
|
throw new Tt("INVALID_COUNTRY");
|
|
@@ -10476,7 +10488,7 @@ function Xp(e, t, n) {
|
|
|
10476
10488
|
throw new Tt("TOO_SHORT");
|
|
10477
10489
|
return {};
|
|
10478
10490
|
}
|
|
10479
|
-
if (l.length >
|
|
10491
|
+
if (l.length > Pg) {
|
|
10480
10492
|
if (t.v2)
|
|
10481
10493
|
throw new Tt("TOO_LONG");
|
|
10482
10494
|
return {};
|
|
@@ -10491,50 +10503,50 @@ function Xp(e, t, n) {
|
|
|
10491
10503
|
countryCallingCode: d,
|
|
10492
10504
|
carrierCode: f,
|
|
10493
10505
|
valid: h,
|
|
10494
|
-
possible: h ? !0 : !!(t.extended === !0 && n.possibleLengths() &&
|
|
10506
|
+
possible: h ? !0 : !!(t.extended === !0 && n.possibleLengths() && ju(l, s, n)),
|
|
10495
10507
|
phone: l,
|
|
10496
10508
|
ext: o
|
|
10497
|
-
} : h ?
|
|
10509
|
+
} : h ? Hp(s, l, o) : {};
|
|
10498
10510
|
}
|
|
10499
|
-
function
|
|
10511
|
+
function jp(e, t, n) {
|
|
10500
10512
|
if (e) {
|
|
10501
|
-
if (e.length >
|
|
10513
|
+
if (e.length > Vp) {
|
|
10502
10514
|
if (n)
|
|
10503
10515
|
throw new Tt("TOO_LONG");
|
|
10504
10516
|
return;
|
|
10505
10517
|
}
|
|
10506
10518
|
if (t === !1)
|
|
10507
10519
|
return e;
|
|
10508
|
-
var r = e.search(
|
|
10520
|
+
var r = e.search(kp);
|
|
10509
10521
|
if (!(r < 0))
|
|
10510
|
-
return e.slice(r).replace(
|
|
10522
|
+
return e.slice(r).replace(Xp, "");
|
|
10511
10523
|
}
|
|
10512
10524
|
}
|
|
10513
10525
|
function _p(e, t, n) {
|
|
10514
|
-
var r =
|
|
10526
|
+
var r = Lp(e, {
|
|
10515
10527
|
extractFormattedPhoneNumber: function(a) {
|
|
10516
|
-
return
|
|
10528
|
+
return jp(a, n, t);
|
|
10517
10529
|
}
|
|
10518
10530
|
});
|
|
10519
10531
|
if (!r)
|
|
10520
10532
|
return {};
|
|
10521
|
-
if (!
|
|
10522
|
-
return
|
|
10533
|
+
if (!Ug(r))
|
|
10534
|
+
return Qg(r) ? {
|
|
10523
10535
|
error: "TOO_SHORT"
|
|
10524
10536
|
} : {};
|
|
10525
|
-
var i =
|
|
10537
|
+
var i = yp(r);
|
|
10526
10538
|
return i.ext ? i : {
|
|
10527
10539
|
number: r
|
|
10528
10540
|
};
|
|
10529
10541
|
}
|
|
10530
|
-
function
|
|
10542
|
+
function Hp(e, t, n) {
|
|
10531
10543
|
var r = {
|
|
10532
10544
|
country: e,
|
|
10533
10545
|
phone: t
|
|
10534
10546
|
};
|
|
10535
10547
|
return n && (r.ext = n), r;
|
|
10536
10548
|
}
|
|
10537
|
-
function
|
|
10549
|
+
function Zp(e, t, n, r) {
|
|
10538
10550
|
var i = No(Za(e), void 0, t, n, r.metadata), o = i.countryCallingCodeSource, a = i.countryCallingCode, u = i.number, s;
|
|
10539
10551
|
if (a)
|
|
10540
10552
|
r.selectNumberingPlan(a);
|
|
@@ -10580,21 +10592,21 @@ function Ua(e) {
|
|
|
10580
10592
|
for (var t = 1; t < arguments.length; t++) {
|
|
10581
10593
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
10582
10594
|
t % 2 ? Ja(Object(n), !0).forEach(function(r) {
|
|
10583
|
-
|
|
10595
|
+
Yp(e, r, n[r]);
|
|
10584
10596
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ja(Object(n)).forEach(function(r) {
|
|
10585
10597
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
10586
10598
|
});
|
|
10587
10599
|
}
|
|
10588
10600
|
return e;
|
|
10589
10601
|
}
|
|
10590
|
-
function
|
|
10591
|
-
return (t =
|
|
10602
|
+
function Yp(e, t, n) {
|
|
10603
|
+
return (t = zp(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
10592
10604
|
}
|
|
10593
|
-
function
|
|
10594
|
-
var t =
|
|
10605
|
+
function zp(e) {
|
|
10606
|
+
var t = Jp(e, "string");
|
|
10595
10607
|
return Dn(t) == "symbol" ? t : t + "";
|
|
10596
10608
|
}
|
|
10597
|
-
function
|
|
10609
|
+
function Jp(e, t) {
|
|
10598
10610
|
if (Dn(e) != "object" || !e) return e;
|
|
10599
10611
|
var n = e[Symbol.toPrimitive];
|
|
10600
10612
|
if (n !== void 0) {
|
|
@@ -10604,8 +10616,8 @@ function zp(e, t) {
|
|
|
10604
10616
|
}
|
|
10605
10617
|
return (t === "string" ? String : Number)(e);
|
|
10606
10618
|
}
|
|
10607
|
-
function
|
|
10608
|
-
return
|
|
10619
|
+
function Up(e, t, n) {
|
|
10620
|
+
return Wp(e, Ua(Ua({}, t), {}, {
|
|
10609
10621
|
v2: !0
|
|
10610
10622
|
}), n);
|
|
10611
10623
|
}
|
|
@@ -10627,25 +10639,25 @@ function Qa(e, t) {
|
|
|
10627
10639
|
}
|
|
10628
10640
|
return n;
|
|
10629
10641
|
}
|
|
10630
|
-
function
|
|
10642
|
+
function Qp(e) {
|
|
10631
10643
|
for (var t = 1; t < arguments.length; t++) {
|
|
10632
10644
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
10633
10645
|
t % 2 ? Qa(Object(n), !0).forEach(function(r) {
|
|
10634
|
-
|
|
10646
|
+
Kp(e, r, n[r]);
|
|
10635
10647
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Qa(Object(n)).forEach(function(r) {
|
|
10636
10648
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
10637
10649
|
});
|
|
10638
10650
|
}
|
|
10639
10651
|
return e;
|
|
10640
10652
|
}
|
|
10641
|
-
function
|
|
10642
|
-
return (t =
|
|
10653
|
+
function Kp(e, t, n) {
|
|
10654
|
+
return (t = qp(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
10643
10655
|
}
|
|
10644
|
-
function
|
|
10645
|
-
var t =
|
|
10656
|
+
function qp(e) {
|
|
10657
|
+
var t = eb(e, "string");
|
|
10646
10658
|
return Gn(t) == "symbol" ? t : t + "";
|
|
10647
10659
|
}
|
|
10648
|
-
function
|
|
10660
|
+
function eb(e, t) {
|
|
10649
10661
|
if (Gn(e) != "object" || !e) return e;
|
|
10650
10662
|
var n = e[Symbol.toPrimitive];
|
|
10651
10663
|
if (n !== void 0) {
|
|
@@ -10655,14 +10667,14 @@ function qp(e, t) {
|
|
|
10655
10667
|
}
|
|
10656
10668
|
return (t === "string" ? String : Number)(e);
|
|
10657
10669
|
}
|
|
10658
|
-
function
|
|
10659
|
-
return
|
|
10670
|
+
function tb(e, t) {
|
|
10671
|
+
return ob(e) || ib(e, t) || rb(e, t) || nb();
|
|
10660
10672
|
}
|
|
10661
|
-
function
|
|
10673
|
+
function nb() {
|
|
10662
10674
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
10663
10675
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
10664
10676
|
}
|
|
10665
|
-
function
|
|
10677
|
+
function rb(e, t) {
|
|
10666
10678
|
if (e) {
|
|
10667
10679
|
if (typeof e == "string") return Ka(e, t);
|
|
10668
10680
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -10674,7 +10686,7 @@ function Ka(e, t) {
|
|
|
10674
10686
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
10675
10687
|
return r;
|
|
10676
10688
|
}
|
|
10677
|
-
function
|
|
10689
|
+
function ib(e, t) {
|
|
10678
10690
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
10679
10691
|
if (n != null) {
|
|
10680
10692
|
var r, i, o, a, u = [], s = !0, l = !1;
|
|
@@ -10692,16 +10704,16 @@ function rb(e, t) {
|
|
|
10692
10704
|
return u;
|
|
10693
10705
|
}
|
|
10694
10706
|
}
|
|
10695
|
-
function
|
|
10707
|
+
function ob(e) {
|
|
10696
10708
|
if (Array.isArray(e)) return e;
|
|
10697
10709
|
}
|
|
10698
|
-
function
|
|
10699
|
-
var t = Array.prototype.slice.call(e), n =
|
|
10710
|
+
function ab(e) {
|
|
10711
|
+
var t = Array.prototype.slice.call(e), n = tb(t, 4), r = n[0], i = n[1], o = n[2], a = n[3], u, s, l;
|
|
10700
10712
|
if (typeof r == "string")
|
|
10701
10713
|
u = r;
|
|
10702
10714
|
else throw new TypeError("A text for parsing must be a string.");
|
|
10703
10715
|
if (!i || typeof i == "string")
|
|
10704
|
-
a ? (s = o, l = a) : (s = void 0, l = o), i && (s =
|
|
10716
|
+
a ? (s = o, l = a) : (s = void 0, l = o), i && (s = Qp({
|
|
10705
10717
|
defaultCountry: i
|
|
10706
10718
|
}, s));
|
|
10707
10719
|
else if (Zt(i))
|
|
@@ -10735,21 +10747,21 @@ function es(e) {
|
|
|
10735
10747
|
for (var t = 1; t < arguments.length; t++) {
|
|
10736
10748
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
10737
10749
|
t % 2 ? qa(Object(n), !0).forEach(function(r) {
|
|
10738
|
-
|
|
10750
|
+
sb(e, r, n[r]);
|
|
10739
10751
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : qa(Object(n)).forEach(function(r) {
|
|
10740
10752
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
10741
10753
|
});
|
|
10742
10754
|
}
|
|
10743
10755
|
return e;
|
|
10744
10756
|
}
|
|
10745
|
-
function
|
|
10746
|
-
return (t =
|
|
10757
|
+
function sb(e, t, n) {
|
|
10758
|
+
return (t = ub(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
10747
10759
|
}
|
|
10748
|
-
function
|
|
10749
|
-
var t =
|
|
10760
|
+
function ub(e) {
|
|
10761
|
+
var t = lb(e, "string");
|
|
10750
10762
|
return Mn(t) == "symbol" ? t : t + "";
|
|
10751
10763
|
}
|
|
10752
|
-
function
|
|
10764
|
+
function lb(e, t) {
|
|
10753
10765
|
if (Mn(e) != "object" || !e) return e;
|
|
10754
10766
|
var n = e[Symbol.toPrimitive];
|
|
10755
10767
|
if (n !== void 0) {
|
|
@@ -10759,13 +10771,13 @@ function ub(e, t) {
|
|
|
10759
10771
|
}
|
|
10760
10772
|
return (t === "string" ? String : Number)(e);
|
|
10761
10773
|
}
|
|
10762
|
-
function
|
|
10763
|
-
var e =
|
|
10774
|
+
function db() {
|
|
10775
|
+
var e = ab(arguments), t = e.text, n = e.options, r = e.metadata;
|
|
10764
10776
|
n = es(es({}, n), {}, {
|
|
10765
10777
|
extract: !1
|
|
10766
10778
|
});
|
|
10767
10779
|
try {
|
|
10768
|
-
var i =
|
|
10780
|
+
var i = Up(t, n, r);
|
|
10769
10781
|
r = new Ge(r), r.selectNumberingPlan(i.countryCallingCode);
|
|
10770
10782
|
var o = Jn(i.nationalNumber, i.country, r);
|
|
10771
10783
|
if (o !== "IS_POSSIBLE")
|
|
@@ -10784,23 +10796,23 @@ function Bn(e) {
|
|
|
10784
10796
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
10785
10797
|
}, Bn(e);
|
|
10786
10798
|
}
|
|
10787
|
-
function
|
|
10799
|
+
function cb(e, t) {
|
|
10788
10800
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
10789
10801
|
}
|
|
10790
|
-
function
|
|
10802
|
+
function fb(e, t) {
|
|
10791
10803
|
for (var n = 0; n < t.length; n++) {
|
|
10792
10804
|
var r = t[n];
|
|
10793
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
10805
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, pb(r.key), r);
|
|
10794
10806
|
}
|
|
10795
10807
|
}
|
|
10796
|
-
function
|
|
10797
|
-
return t &&
|
|
10808
|
+
function gb(e, t, n) {
|
|
10809
|
+
return t && fb(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
10798
10810
|
}
|
|
10799
|
-
function
|
|
10800
|
-
var t =
|
|
10811
|
+
function pb(e) {
|
|
10812
|
+
var t = bb(e, "string");
|
|
10801
10813
|
return Bn(t) == "symbol" ? t : t + "";
|
|
10802
10814
|
}
|
|
10803
|
-
function
|
|
10815
|
+
function bb(e, t) {
|
|
10804
10816
|
if (Bn(e) != "object" || !e) return e;
|
|
10805
10817
|
var n = e[Symbol.toPrimitive];
|
|
10806
10818
|
if (n !== void 0) {
|
|
@@ -10810,12 +10822,12 @@ function pb(e, t) {
|
|
|
10810
10822
|
}
|
|
10811
10823
|
return String(e);
|
|
10812
10824
|
}
|
|
10813
|
-
var
|
|
10825
|
+
var hb = /* @__PURE__ */ (function() {
|
|
10814
10826
|
function e(t) {
|
|
10815
10827
|
var n = t.onCountryChange, r = t.onCallingCodeChange;
|
|
10816
|
-
|
|
10828
|
+
cb(this, e), this.onCountryChange = n, this.onCallingCodeChange = r;
|
|
10817
10829
|
}
|
|
10818
|
-
return
|
|
10830
|
+
return gb(e, [{
|
|
10819
10831
|
key: "reset",
|
|
10820
10832
|
value: function(n) {
|
|
10821
10833
|
var r = n.country, i = n.callingCode;
|
|
@@ -10883,10 +10895,10 @@ var bb = /* @__PURE__ */ (function() {
|
|
|
10883
10895
|
}
|
|
10884
10896
|
}]);
|
|
10885
10897
|
})();
|
|
10886
|
-
function
|
|
10898
|
+
function mb(e, t) {
|
|
10887
10899
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
10888
10900
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
10889
|
-
if (Array.isArray(e) || (n =
|
|
10901
|
+
if (Array.isArray(e) || (n = vb(e)) || t) {
|
|
10890
10902
|
n && (e = n);
|
|
10891
10903
|
var r = 0;
|
|
10892
10904
|
return function() {
|
|
@@ -10896,7 +10908,7 @@ function hb(e, t) {
|
|
|
10896
10908
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
10897
10909
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
10898
10910
|
}
|
|
10899
|
-
function
|
|
10911
|
+
function vb(e, t) {
|
|
10900
10912
|
if (e) {
|
|
10901
10913
|
if (typeof e == "string") return ts(e, t);
|
|
10902
10914
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -10917,9 +10929,9 @@ function Cr(e, t) {
|
|
|
10917
10929
|
return n + e;
|
|
10918
10930
|
}
|
|
10919
10931
|
function ns(e, t) {
|
|
10920
|
-
return e[t] === ")" && t++,
|
|
10932
|
+
return e[t] === ")" && t++, $b(e.slice(0, t));
|
|
10921
10933
|
}
|
|
10922
|
-
function
|
|
10934
|
+
function $b(e) {
|
|
10923
10935
|
for (var t = [], n = 0; n < e.length; )
|
|
10924
10936
|
e[n] === "(" ? t.push(n) : e[n] === ")" && t.pop(), n++;
|
|
10925
10937
|
var r = 0, i = "";
|
|
@@ -10930,8 +10942,8 @@ function vb(e) {
|
|
|
10930
10942
|
}
|
|
10931
10943
|
return i;
|
|
10932
10944
|
}
|
|
10933
|
-
function
|
|
10934
|
-
for (var r =
|
|
10945
|
+
function yb(e, t, n) {
|
|
10946
|
+
for (var r = mb(n.split("")), i; !(i = r()).done; ) {
|
|
10935
10947
|
var o = i.value;
|
|
10936
10948
|
if (e.slice(t + 1).search(vi) < 0)
|
|
10937
10949
|
return;
|
|
@@ -10939,19 +10951,19 @@ function $b(e, t, n) {
|
|
|
10939
10951
|
}
|
|
10940
10952
|
return [e, t];
|
|
10941
10953
|
}
|
|
10942
|
-
function
|
|
10954
|
+
function Cb(e, t, n) {
|
|
10943
10955
|
var r = n.metadata, i = n.shouldTryNationalPrefixFormattingRule, o = n.getSeparatorAfterNationalPrefix, a = new RegExp("^(?:".concat(t.pattern(), ")$"));
|
|
10944
10956
|
if (a.test(e.nationalSignificantNumber))
|
|
10945
|
-
return
|
|
10957
|
+
return xb(e, t, {
|
|
10946
10958
|
metadata: r,
|
|
10947
10959
|
shouldTryNationalPrefixFormattingRule: i,
|
|
10948
10960
|
getSeparatorAfterNationalPrefix: o
|
|
10949
10961
|
});
|
|
10950
10962
|
}
|
|
10951
|
-
function
|
|
10963
|
+
function Ib(e, t, n) {
|
|
10952
10964
|
return Jn(e, t, n) === "IS_POSSIBLE";
|
|
10953
10965
|
}
|
|
10954
|
-
function
|
|
10966
|
+
function xb(e, t, n) {
|
|
10955
10967
|
var r = n.metadata, i = n.shouldTryNationalPrefixFormattingRule, o = n.getSeparatorAfterNationalPrefix;
|
|
10956
10968
|
if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, i(t)) {
|
|
10957
10969
|
var a = rs(e, t, {
|
|
@@ -10975,10 +10987,10 @@ function rs(e, t, n) {
|
|
|
10975
10987
|
withNationalPrefix: i,
|
|
10976
10988
|
metadata: r
|
|
10977
10989
|
});
|
|
10978
|
-
if (i || (e.nationalPrefix ? a = e.nationalPrefix + o(t) + a : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (a = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + a)),
|
|
10990
|
+
if (i || (e.nationalPrefix ? a = e.nationalPrefix + o(t) + a : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (a = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + a)), Ab(a, e))
|
|
10979
10991
|
return a;
|
|
10980
10992
|
}
|
|
10981
|
-
function
|
|
10993
|
+
function Ab(e, t) {
|
|
10982
10994
|
return Br(e) === t.getNationalDigits();
|
|
10983
10995
|
}
|
|
10984
10996
|
function Ln(e) {
|
|
@@ -10989,23 +11001,23 @@ function Ln(e) {
|
|
|
10989
11001
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
10990
11002
|
}, Ln(e);
|
|
10991
11003
|
}
|
|
10992
|
-
function
|
|
11004
|
+
function Sb(e, t) {
|
|
10993
11005
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
10994
11006
|
}
|
|
10995
|
-
function
|
|
11007
|
+
function Eb(e, t) {
|
|
10996
11008
|
for (var n = 0; n < t.length; n++) {
|
|
10997
11009
|
var r = t[n];
|
|
10998
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
11010
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, wb(r.key), r);
|
|
10999
11011
|
}
|
|
11000
11012
|
}
|
|
11001
|
-
function
|
|
11002
|
-
return t &&
|
|
11013
|
+
function Nb(e, t, n) {
|
|
11014
|
+
return t && Eb(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
11003
11015
|
}
|
|
11004
|
-
function
|
|
11005
|
-
var t =
|
|
11016
|
+
function wb(e) {
|
|
11017
|
+
var t = Pb(e, "string");
|
|
11006
11018
|
return Ln(t) == "symbol" ? t : t + "";
|
|
11007
11019
|
}
|
|
11008
|
-
function
|
|
11020
|
+
function Pb(e, t) {
|
|
11009
11021
|
if (Ln(e) != "object" || !e) return e;
|
|
11010
11022
|
var n = e[Symbol.toPrimitive];
|
|
11011
11023
|
if (n !== void 0) {
|
|
@@ -11015,11 +11027,11 @@ function wb(e, t) {
|
|
|
11015
11027
|
}
|
|
11016
11028
|
return String(e);
|
|
11017
11029
|
}
|
|
11018
|
-
var
|
|
11030
|
+
var Rb = /* @__PURE__ */ (function() {
|
|
11019
11031
|
function e() {
|
|
11020
|
-
|
|
11032
|
+
Sb(this, e);
|
|
11021
11033
|
}
|
|
11022
|
-
return
|
|
11034
|
+
return Nb(e, [{
|
|
11023
11035
|
key: "parse",
|
|
11024
11036
|
value: function(n) {
|
|
11025
11037
|
if (this.context = [{
|
|
@@ -11057,9 +11069,9 @@ var Pb = /* @__PURE__ */ (function() {
|
|
|
11057
11069
|
value: function(n) {
|
|
11058
11070
|
if (!n)
|
|
11059
11071
|
throw new Error("Pattern is required");
|
|
11060
|
-
var r = n.match(
|
|
11072
|
+
var r = n.match(Ob);
|
|
11061
11073
|
if (!r) {
|
|
11062
|
-
if (
|
|
11074
|
+
if (Fb.test(n))
|
|
11063
11075
|
throw new Error("Illegal characters found in a pattern: ".concat(n));
|
|
11064
11076
|
this.getContext().instructions = this.getContext().instructions.concat(n.split(""));
|
|
11065
11077
|
return;
|
|
@@ -11104,7 +11116,7 @@ var Pb = /* @__PURE__ */ (function() {
|
|
|
11104
11116
|
throw new Error('"]" operator must be preceded by "[" operator');
|
|
11105
11117
|
this.endContext(), this.getContext().instructions.push({
|
|
11106
11118
|
op: "[]",
|
|
11107
|
-
args:
|
|
11119
|
+
args: Tb(o)
|
|
11108
11120
|
});
|
|
11109
11121
|
break;
|
|
11110
11122
|
/* istanbul ignore next */
|
|
@@ -11115,7 +11127,7 @@ var Pb = /* @__PURE__ */ (function() {
|
|
|
11115
11127
|
}
|
|
11116
11128
|
}]);
|
|
11117
11129
|
})();
|
|
11118
|
-
function
|
|
11130
|
+
function Tb(e) {
|
|
11119
11131
|
for (var t = [], n = 0; n < e.length; ) {
|
|
11120
11132
|
if (e[n] === "-") {
|
|
11121
11133
|
if (n === 0 || n === e.length - 1)
|
|
@@ -11128,7 +11140,7 @@ function Rb(e) {
|
|
|
11128
11140
|
}
|
|
11129
11141
|
return t;
|
|
11130
11142
|
}
|
|
11131
|
-
var
|
|
11143
|
+
var Fb = /[\(\)\[\]\?\:\|]/, Ob = new RegExp(
|
|
11132
11144
|
// any of:
|
|
11133
11145
|
"(\\||\\(\\?\\:|\\)|\\[|\\])"
|
|
11134
11146
|
);
|
|
@@ -11138,7 +11150,7 @@ function $i(e) {
|
|
|
11138
11150
|
function is(e, t) {
|
|
11139
11151
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
11140
11152
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
11141
|
-
if (Array.isArray(e) || (n =
|
|
11153
|
+
if (Array.isArray(e) || (n = Db(e)) || t) {
|
|
11142
11154
|
n && (e = n);
|
|
11143
11155
|
var r = 0;
|
|
11144
11156
|
return function() {
|
|
@@ -11148,7 +11160,7 @@ function is(e, t) {
|
|
|
11148
11160
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
11149
11161
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
11150
11162
|
}
|
|
11151
|
-
function
|
|
11163
|
+
function Db(e, t) {
|
|
11152
11164
|
if (e) {
|
|
11153
11165
|
if (typeof e == "string") return os(e, t);
|
|
11154
11166
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -11168,23 +11180,23 @@ function Vn(e) {
|
|
|
11168
11180
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
11169
11181
|
}, Vn(e);
|
|
11170
11182
|
}
|
|
11171
|
-
function
|
|
11183
|
+
function Gb(e, t) {
|
|
11172
11184
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
11173
11185
|
}
|
|
11174
|
-
function
|
|
11186
|
+
function Mb(e, t) {
|
|
11175
11187
|
for (var n = 0; n < t.length; n++) {
|
|
11176
11188
|
var r = t[n];
|
|
11177
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
11189
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Lb(r.key), r);
|
|
11178
11190
|
}
|
|
11179
11191
|
}
|
|
11180
|
-
function
|
|
11181
|
-
return t &&
|
|
11192
|
+
function Bb(e, t, n) {
|
|
11193
|
+
return t && Mb(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
11182
11194
|
}
|
|
11183
|
-
function
|
|
11184
|
-
var t =
|
|
11195
|
+
function Lb(e) {
|
|
11196
|
+
var t = Vb(e, "string");
|
|
11185
11197
|
return Vn(t) == "symbol" ? t : t + "";
|
|
11186
11198
|
}
|
|
11187
|
-
function
|
|
11199
|
+
function Vb(e, t) {
|
|
11188
11200
|
if (Vn(e) != "object" || !e) return e;
|
|
11189
11201
|
var n = e[Symbol.toPrimitive];
|
|
11190
11202
|
if (n !== void 0) {
|
|
@@ -11194,11 +11206,11 @@ function Lb(e, t) {
|
|
|
11194
11206
|
}
|
|
11195
11207
|
return String(e);
|
|
11196
11208
|
}
|
|
11197
|
-
var
|
|
11209
|
+
var kb = /* @__PURE__ */ (function() {
|
|
11198
11210
|
function e(t) {
|
|
11199
|
-
|
|
11211
|
+
Gb(this, e), this.matchTree = new Rb().parse(t);
|
|
11200
11212
|
}
|
|
11201
|
-
return
|
|
11213
|
+
return Bb(e, [{
|
|
11202
11214
|
key: "match",
|
|
11203
11215
|
value: function(n) {
|
|
11204
11216
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = r.allowOverflow;
|
|
@@ -11314,7 +11326,7 @@ function kn(e) {
|
|
|
11314
11326
|
function as(e, t) {
|
|
11315
11327
|
var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
11316
11328
|
if (n) return (n = n.call(e)).next.bind(n);
|
|
11317
|
-
if (Array.isArray(e) || (n =
|
|
11329
|
+
if (Array.isArray(e) || (n = Xb(e)) || t) {
|
|
11318
11330
|
n && (e = n);
|
|
11319
11331
|
var r = 0;
|
|
11320
11332
|
return function() {
|
|
@@ -11324,7 +11336,7 @@ function as(e, t) {
|
|
|
11324
11336
|
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
11325
11337
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
11326
11338
|
}
|
|
11327
|
-
function
|
|
11339
|
+
function Xb(e, t) {
|
|
11328
11340
|
if (e) {
|
|
11329
11341
|
if (typeof e == "string") return ss(e, t);
|
|
11330
11342
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -11336,23 +11348,23 @@ function ss(e, t) {
|
|
|
11336
11348
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
11337
11349
|
return r;
|
|
11338
11350
|
}
|
|
11339
|
-
function
|
|
11351
|
+
function Wb(e, t) {
|
|
11340
11352
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
11341
11353
|
}
|
|
11342
|
-
function
|
|
11354
|
+
function jb(e, t) {
|
|
11343
11355
|
for (var n = 0; n < t.length; n++) {
|
|
11344
11356
|
var r = t[n];
|
|
11345
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
11357
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Hb(r.key), r);
|
|
11346
11358
|
}
|
|
11347
11359
|
}
|
|
11348
11360
|
function _b(e, t, n) {
|
|
11349
|
-
return t &&
|
|
11361
|
+
return t && jb(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
11350
11362
|
}
|
|
11351
|
-
function
|
|
11352
|
-
var t =
|
|
11363
|
+
function Hb(e) {
|
|
11364
|
+
var t = Zb(e, "string");
|
|
11353
11365
|
return kn(t) == "symbol" ? t : t + "";
|
|
11354
11366
|
}
|
|
11355
|
-
function
|
|
11367
|
+
function Zb(e, t) {
|
|
11356
11368
|
if (kn(e) != "object" || !e) return e;
|
|
11357
11369
|
var n = e[Symbol.toPrimitive];
|
|
11358
11370
|
if (n !== void 0) {
|
|
@@ -11362,15 +11374,15 @@ function Hb(e, t) {
|
|
|
11362
11374
|
}
|
|
11363
11375
|
return String(e);
|
|
11364
11376
|
}
|
|
11365
|
-
var zi = "9",
|
|
11377
|
+
var zi = "9", Yb = 15, zb = Cr(zi, Yb), Jb = /[- ]/, Ub = function() {
|
|
11366
11378
|
return /\[([^\[\]])*\]/g;
|
|
11367
|
-
},
|
|
11379
|
+
}, Qb = function() {
|
|
11368
11380
|
return /\d(?=[^,}][^,}])/g;
|
|
11369
|
-
},
|
|
11381
|
+
}, Kb = new RegExp("[" + ht + "]*\\$1[" + ht + "]*(\\$\\d[" + ht + "]*)*$"), us = 3, qb = /* @__PURE__ */ (function() {
|
|
11370
11382
|
function e(t) {
|
|
11371
11383
|
t.state;
|
|
11372
11384
|
var n = t.metadata;
|
|
11373
|
-
|
|
11385
|
+
Wb(this, e), this.metadata = n, this.resetFormat();
|
|
11374
11386
|
}
|
|
11375
11387
|
return _b(e, [{
|
|
11376
11388
|
key: "resetFormat",
|
|
@@ -11392,9 +11404,9 @@ var zi = "9", Zb = 15, Yb = Cr(zi, Zb), zb = /[- ]/, Jb = function() {
|
|
|
11392
11404
|
key: "format",
|
|
11393
11405
|
value: function(n, r) {
|
|
11394
11406
|
var i = this;
|
|
11395
|
-
if (
|
|
11407
|
+
if (Ib(r.nationalSignificantNumber, r.country, this.metadata))
|
|
11396
11408
|
for (var o = as(this.matchingFormats), a; !(a = o()).done; ) {
|
|
11397
|
-
var u = a.value, s =
|
|
11409
|
+
var u = a.value, s = Cb(r, u, {
|
|
11398
11410
|
metadata: this.metadata,
|
|
11399
11411
|
shouldTryNationalPrefixFormattingRule: function(d) {
|
|
11400
11412
|
return i.shouldTryNationalPrefixFormattingRule(d, {
|
|
@@ -11443,7 +11455,7 @@ var zi = "9", Zb = 15, Yb = Cr(zi, Zb), zb = /[- ]/, Jb = function() {
|
|
|
11443
11455
|
var a = n.leadingDigitsPatterns()[i];
|
|
11444
11456
|
if (r.length < us)
|
|
11445
11457
|
try {
|
|
11446
|
-
return new
|
|
11458
|
+
return new kb(a).match(r, {
|
|
11447
11459
|
allowOverflow: !0
|
|
11448
11460
|
}) !== void 0;
|
|
11449
11461
|
} catch (u) {
|
|
@@ -11461,7 +11473,7 @@ var zi = "9", Zb = 15, Yb = Cr(zi, Zb), zb = /[- ]/, Jb = function() {
|
|
|
11461
11473
|
value: function(n) {
|
|
11462
11474
|
for (var r = this, i = function() {
|
|
11463
11475
|
var l = u.value;
|
|
11464
|
-
return r.chosenFormat === l ? 0 :
|
|
11476
|
+
return r.chosenFormat === l ? 0 : Kb.test(r.getFormatFormat(l, n.international)) ? r.createTemplateForFormat(l, n) ? (r.chosenFormat = l, 0) : (r.matchingFormats = r.matchingFormats.filter(function(d) {
|
|
11465
11477
|
return d !== l;
|
|
11466
11478
|
}), 1) : 1;
|
|
11467
11479
|
}, o, a = as(this.matchingFormats.slice()), u; !(u = a()).done && (o = i(), o !== 0); )
|
|
@@ -11480,7 +11492,7 @@ var zi = "9", Zb = 15, Yb = Cr(zi, Zb), zb = /[- ]/, Jb = function() {
|
|
|
11480
11492
|
}, {
|
|
11481
11493
|
key: "getSeparatorAfterNationalPrefix",
|
|
11482
11494
|
value: function(n) {
|
|
11483
|
-
return this.isNANP || n && n.nationalPrefixFormattingRule() &&
|
|
11495
|
+
return this.isNANP || n && n.nationalPrefixFormattingRule() && Jb.test(n.nationalPrefixFormattingRule()) ? " " : "";
|
|
11484
11496
|
}
|
|
11485
11497
|
}, {
|
|
11486
11498
|
key: "getInternationalPrefixBeforeCountryCallingCode",
|
|
@@ -11515,8 +11527,8 @@ var zi = "9", Zb = 15, Yb = Cr(zi, Zb), zb = /[- ]/, Jb = function() {
|
|
|
11515
11527
|
key: "getTemplateForFormat",
|
|
11516
11528
|
value: function(n, r) {
|
|
11517
11529
|
var i = r.nationalSignificantNumber, o = r.international, a = r.nationalPrefix, u = r.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix, s = n.pattern();
|
|
11518
|
-
s = s.replace(
|
|
11519
|
-
var l =
|
|
11530
|
+
s = s.replace(Ub(), "\\d").replace(Qb(), "\\d");
|
|
11531
|
+
var l = zb.match(s)[0];
|
|
11520
11532
|
if (!(i.length > l.length)) {
|
|
11521
11533
|
var d = new RegExp("^" + s + "$"), c = i.replace(/\d/g, zi);
|
|
11522
11534
|
d.test(c) && (l = c);
|
|
@@ -11537,7 +11549,7 @@ var zi = "9", Zb = 15, Yb = Cr(zi, Zb), zb = /[- ]/, Jb = function() {
|
|
|
11537
11549
|
}, {
|
|
11538
11550
|
key: "formatNextNationalNumberDigits",
|
|
11539
11551
|
value: function(n) {
|
|
11540
|
-
var r =
|
|
11552
|
+
var r = yb(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, n);
|
|
11541
11553
|
if (!r) {
|
|
11542
11554
|
this.resetFormat();
|
|
11543
11555
|
return;
|
|
@@ -11565,13 +11577,13 @@ function Xn(e) {
|
|
|
11565
11577
|
}, Xn(e);
|
|
11566
11578
|
}
|
|
11567
11579
|
function tl(e, t) {
|
|
11568
|
-
return
|
|
11580
|
+
return rh(e) || nh(e, t) || th(e, t) || eh();
|
|
11569
11581
|
}
|
|
11570
|
-
function
|
|
11582
|
+
function eh() {
|
|
11571
11583
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
11572
11584
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
11573
11585
|
}
|
|
11574
|
-
function
|
|
11586
|
+
function th(e, t) {
|
|
11575
11587
|
if (e) {
|
|
11576
11588
|
if (typeof e == "string") return ls(e, t);
|
|
11577
11589
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -11583,7 +11595,7 @@ function ls(e, t) {
|
|
|
11583
11595
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
11584
11596
|
return r;
|
|
11585
11597
|
}
|
|
11586
|
-
function
|
|
11598
|
+
function nh(e, t) {
|
|
11587
11599
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
11588
11600
|
if (n != null) {
|
|
11589
11601
|
var r, i, o, a, u = [], s = !0, l = !1;
|
|
@@ -11601,26 +11613,26 @@ function th(e, t) {
|
|
|
11601
11613
|
return u;
|
|
11602
11614
|
}
|
|
11603
11615
|
}
|
|
11604
|
-
function
|
|
11616
|
+
function rh(e) {
|
|
11605
11617
|
if (Array.isArray(e)) return e;
|
|
11606
11618
|
}
|
|
11607
|
-
function
|
|
11619
|
+
function ih(e, t) {
|
|
11608
11620
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
11609
11621
|
}
|
|
11610
|
-
function
|
|
11622
|
+
function oh(e, t) {
|
|
11611
11623
|
for (var n = 0; n < t.length; n++) {
|
|
11612
11624
|
var r = t[n];
|
|
11613
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
11625
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, sh(r.key), r);
|
|
11614
11626
|
}
|
|
11615
11627
|
}
|
|
11616
|
-
function
|
|
11617
|
-
return t &&
|
|
11628
|
+
function ah(e, t, n) {
|
|
11629
|
+
return t && oh(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
11618
11630
|
}
|
|
11619
|
-
function
|
|
11620
|
-
var t =
|
|
11631
|
+
function sh(e) {
|
|
11632
|
+
var t = uh(e, "string");
|
|
11621
11633
|
return Xn(t) == "symbol" ? t : t + "";
|
|
11622
11634
|
}
|
|
11623
|
-
function
|
|
11635
|
+
function uh(e, t) {
|
|
11624
11636
|
if (Xn(e) != "object" || !e) return e;
|
|
11625
11637
|
var n = e[Symbol.toPrimitive];
|
|
11626
11638
|
if (n !== void 0) {
|
|
@@ -11630,15 +11642,15 @@ function sh(e, t) {
|
|
|
11630
11642
|
}
|
|
11631
11643
|
return String(e);
|
|
11632
11644
|
}
|
|
11633
|
-
var
|
|
11645
|
+
var lh = "[" + ht + Ke + "]+", dh = new RegExp("^" + lh + "$", "i"), ch = "(?:[" + Kr + "][" + ht + Ke + "]*|[" + ht + Ke + "]+)", fh = new RegExp("[^" + ht + Ke + "]+.*$"), gh = /[^\d\[\]]/, ph = /* @__PURE__ */ (function() {
|
|
11634
11646
|
function e(t) {
|
|
11635
11647
|
var n = t.defaultCountry, r = t.defaultCallingCode, i = t.metadata, o = t.onNationalSignificantNumberChange;
|
|
11636
|
-
|
|
11648
|
+
ih(this, e), this.defaultCountry = n, this.defaultCallingCode = r, this.metadata = i, this.onNationalSignificantNumberChange = o;
|
|
11637
11649
|
}
|
|
11638
|
-
return
|
|
11650
|
+
return ah(e, [{
|
|
11639
11651
|
key: "input",
|
|
11640
11652
|
value: function(n, r) {
|
|
11641
|
-
var i =
|
|
11653
|
+
var i = mh(n), o = tl(i, 2), a = o[0], u = o[1], s = Br(a), l;
|
|
11642
11654
|
return u && (r.digits || (r.startInternationalNumber(void 0, void 0), s || (l = !0))), s && this.inputDigits(s, r), {
|
|
11643
11655
|
digits: s,
|
|
11644
11656
|
justLeadingPlus: l
|
|
@@ -11685,7 +11697,7 @@ var uh = "[" + ht + Ke + "]+", lh = new RegExp("^" + uh + "$", "i"), dh = "(?:["
|
|
|
11685
11697
|
if (n) {
|
|
11686
11698
|
this.hasSelectedNumberingPlan = !0;
|
|
11687
11699
|
var r = n._nationalPrefixForParsing();
|
|
11688
|
-
this.couldPossiblyExtractAnotherNationalSignificantNumber = r &&
|
|
11700
|
+
this.couldPossiblyExtractAnotherNationalSignificantNumber = r && gh.test(r);
|
|
11689
11701
|
} else
|
|
11690
11702
|
this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
|
|
11691
11703
|
}
|
|
@@ -11756,7 +11768,7 @@ var uh = "[" + ht + Ke + "]+", lh = new RegExp("^" + uh + "$", "i"), dh = "(?:["
|
|
|
11756
11768
|
value: function(n) {
|
|
11757
11769
|
var r = n.international, i = n.IDDPrefix, o = n.digits;
|
|
11758
11770
|
if (n.nationalSignificantNumber, !(r || i)) {
|
|
11759
|
-
var a =
|
|
11771
|
+
var a = _u(o, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
|
|
11760
11772
|
if (a !== void 0 && a !== o)
|
|
11761
11773
|
return n.update({
|
|
11762
11774
|
IDDPrefix: o.slice(0, o.length - a.length)
|
|
@@ -11795,21 +11807,21 @@ var uh = "[" + ht + Ke + "]+", lh = new RegExp("^" + uh + "$", "i"), dh = "(?:["
|
|
|
11795
11807
|
}
|
|
11796
11808
|
}]);
|
|
11797
11809
|
})();
|
|
11798
|
-
function
|
|
11799
|
-
var t = e.search(
|
|
11810
|
+
function bh(e) {
|
|
11811
|
+
var t = e.search(ch);
|
|
11800
11812
|
if (!(t < 0)) {
|
|
11801
11813
|
e = e.slice(t);
|
|
11802
11814
|
var n;
|
|
11803
|
-
return e[0] === "+" && (n = !0, e = e.slice(1)), e = e.replace(
|
|
11815
|
+
return e[0] === "+" && (n = !0, e = e.slice(1)), e = e.replace(fh, ""), n && (e = "+" + e), e;
|
|
11804
11816
|
}
|
|
11805
11817
|
}
|
|
11806
|
-
function
|
|
11807
|
-
var t =
|
|
11818
|
+
function hh(e) {
|
|
11819
|
+
var t = bh(e) || "";
|
|
11808
11820
|
return t[0] === "+" ? [t.slice(1), !0] : [t];
|
|
11809
11821
|
}
|
|
11810
|
-
function
|
|
11811
|
-
var t =
|
|
11812
|
-
return
|
|
11822
|
+
function mh(e) {
|
|
11823
|
+
var t = hh(e), n = tl(t, 2), r = n[0], i = n[1];
|
|
11824
|
+
return dh.test(r) || (r = ""), [r, i];
|
|
11813
11825
|
}
|
|
11814
11826
|
function Wn(e) {
|
|
11815
11827
|
"@babel/helpers - typeof";
|
|
@@ -11819,14 +11831,14 @@ function Wn(e) {
|
|
|
11819
11831
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
11820
11832
|
}, Wn(e);
|
|
11821
11833
|
}
|
|
11822
|
-
function
|
|
11823
|
-
return
|
|
11834
|
+
function vh(e, t) {
|
|
11835
|
+
return Ih(e) || Ch(e, t) || yh(e, t) || $h();
|
|
11824
11836
|
}
|
|
11825
|
-
function
|
|
11837
|
+
function $h() {
|
|
11826
11838
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
11827
11839
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
11828
11840
|
}
|
|
11829
|
-
function
|
|
11841
|
+
function yh(e, t) {
|
|
11830
11842
|
if (e) {
|
|
11831
11843
|
if (typeof e == "string") return ds(e, t);
|
|
11832
11844
|
var n = {}.toString.call(e).slice(8, -1);
|
|
@@ -11838,7 +11850,7 @@ function ds(e, t) {
|
|
|
11838
11850
|
for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
|
|
11839
11851
|
return r;
|
|
11840
11852
|
}
|
|
11841
|
-
function
|
|
11853
|
+
function Ch(e, t) {
|
|
11842
11854
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
11843
11855
|
if (n != null) {
|
|
11844
11856
|
var r, i, o, a, u = [], s = !0, l = !1;
|
|
@@ -11856,26 +11868,26 @@ function yh(e, t) {
|
|
|
11856
11868
|
return u;
|
|
11857
11869
|
}
|
|
11858
11870
|
}
|
|
11859
|
-
function
|
|
11871
|
+
function Ih(e) {
|
|
11860
11872
|
if (Array.isArray(e)) return e;
|
|
11861
11873
|
}
|
|
11862
|
-
function
|
|
11874
|
+
function xh(e, t) {
|
|
11863
11875
|
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
11864
11876
|
}
|
|
11865
|
-
function
|
|
11877
|
+
function Ah(e, t) {
|
|
11866
11878
|
for (var n = 0; n < t.length; n++) {
|
|
11867
11879
|
var r = t[n];
|
|
11868
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
11880
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Eh(r.key), r);
|
|
11869
11881
|
}
|
|
11870
11882
|
}
|
|
11871
|
-
function
|
|
11872
|
-
return t &&
|
|
11883
|
+
function Sh(e, t, n) {
|
|
11884
|
+
return t && Ah(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
11873
11885
|
}
|
|
11874
|
-
function
|
|
11875
|
-
var t =
|
|
11886
|
+
function Eh(e) {
|
|
11887
|
+
var t = Nh(e, "string");
|
|
11876
11888
|
return Wn(t) == "symbol" ? t : t + "";
|
|
11877
11889
|
}
|
|
11878
|
-
function
|
|
11890
|
+
function Nh(e, t) {
|
|
11879
11891
|
if (Wn(e) != "object" || !e) return e;
|
|
11880
11892
|
var n = e[Symbol.toPrimitive];
|
|
11881
11893
|
if (n !== void 0) {
|
|
@@ -11887,11 +11899,11 @@ function Eh(e, t) {
|
|
|
11887
11899
|
}
|
|
11888
11900
|
var nl = /* @__PURE__ */ (function() {
|
|
11889
11901
|
function e(t, n) {
|
|
11890
|
-
|
|
11891
|
-
var r = this.getCountryAndCallingCode(t), i =
|
|
11902
|
+
xh(this, e), this.metadata = new Ge(n);
|
|
11903
|
+
var r = this.getCountryAndCallingCode(t), i = vh(r, 2), o = i[0], a = i[1];
|
|
11892
11904
|
this.defaultCountry = o, this.defaultCallingCode = a, this.reset();
|
|
11893
11905
|
}
|
|
11894
|
-
return
|
|
11906
|
+
return Sh(e, [{
|
|
11895
11907
|
key: "getCountryAndCallingCode",
|
|
11896
11908
|
value: function(n) {
|
|
11897
11909
|
var r, i;
|
|
@@ -11924,17 +11936,17 @@ var nl = /* @__PURE__ */ (function() {
|
|
|
11924
11936
|
key: "reset",
|
|
11925
11937
|
value: function() {
|
|
11926
11938
|
var n = this;
|
|
11927
|
-
return this.state = new
|
|
11939
|
+
return this.state = new hb({
|
|
11928
11940
|
onCountryChange: function(i) {
|
|
11929
11941
|
n.country = i;
|
|
11930
11942
|
},
|
|
11931
11943
|
onCallingCodeChange: function(i, o) {
|
|
11932
11944
|
n.metadata.selectNumberingPlan(o, i), n.formatter.reset(n.metadata.numberingPlan, n.state), n.parser.reset(n.metadata.numberingPlan);
|
|
11933
11945
|
}
|
|
11934
|
-
}), this.formatter = new
|
|
11946
|
+
}), this.formatter = new qb({
|
|
11935
11947
|
state: this.state,
|
|
11936
11948
|
metadata: this.metadata
|
|
11937
|
-
}), this.parser = new
|
|
11949
|
+
}), this.parser = new ph({
|
|
11938
11950
|
defaultCountry: this.defaultCountry,
|
|
11939
11951
|
defaultCallingCode: this.defaultCallingCode,
|
|
11940
11952
|
metadata: this.metadata,
|
|
@@ -12165,19 +12177,19 @@ var nl = /* @__PURE__ */ (function() {
|
|
|
12165
12177
|
}
|
|
12166
12178
|
}]);
|
|
12167
12179
|
})();
|
|
12168
|
-
function
|
|
12180
|
+
function wh(e) {
|
|
12169
12181
|
return new Ge(e).getCountries();
|
|
12170
12182
|
}
|
|
12171
|
-
function
|
|
12172
|
-
return xo(
|
|
12183
|
+
function Ph() {
|
|
12184
|
+
return xo(db, arguments);
|
|
12173
12185
|
}
|
|
12174
|
-
function
|
|
12186
|
+
function jn(e) {
|
|
12175
12187
|
return nl.call(this, e, ku);
|
|
12176
12188
|
}
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
function
|
|
12180
|
-
return xo(
|
|
12189
|
+
jn.prototype = Object.create(nl.prototype, {});
|
|
12190
|
+
jn.prototype.constructor = jn;
|
|
12191
|
+
function Rh() {
|
|
12192
|
+
return xo(wh, arguments);
|
|
12181
12193
|
}
|
|
12182
12194
|
function Le() {
|
|
12183
12195
|
return xo(Qr, arguments);
|
|
@@ -12196,24 +12208,24 @@ const yi = {
|
|
|
12196
12208
|
selectedCountryLabel: (e) => e ? `${e} flag` : "Selected country"
|
|
12197
12209
|
}
|
|
12198
12210
|
};
|
|
12199
|
-
function
|
|
12211
|
+
function Th(e, t) {
|
|
12200
12212
|
const r = (Array.isArray(e) ? e : e ? [e] : []).map((o) => o.split("-")[0]?.toLowerCase()).find((o) => o && yi[o]);
|
|
12201
12213
|
return {
|
|
12202
12214
|
...yi[r ?? "en"] ?? yi.en,
|
|
12203
12215
|
...t ?? {}
|
|
12204
12216
|
};
|
|
12205
12217
|
}
|
|
12206
|
-
const
|
|
12207
|
-
function
|
|
12208
|
-
return
|
|
12218
|
+
const Fh = ["IM", "GG", "JE"], Oh = new Set(Fh), Dh = Rh().filter((e) => !Oh.has(e));
|
|
12219
|
+
function Gh() {
|
|
12220
|
+
return Dh;
|
|
12209
12221
|
}
|
|
12210
|
-
const on = "US", Po =
|
|
12222
|
+
const on = "US", Po = Gh(), cs = /* @__PURE__ */ new Map(), rl = "__default_locale__", il = Array.from(
|
|
12211
12223
|
new Set(Po.map((e) => Le(e)))
|
|
12212
12224
|
).sort((e, t) => t.length - e.length), ol = il.reduce(
|
|
12213
12225
|
(e, t) => Math.max(e, t.length),
|
|
12214
12226
|
0
|
|
12215
12227
|
), al = ["0011", "001", "011", "00", "810"];
|
|
12216
|
-
function
|
|
12228
|
+
function Mh(e) {
|
|
12217
12229
|
return e && Po.includes(e) ? e : on;
|
|
12218
12230
|
}
|
|
12219
12231
|
function fs(e) {
|
|
@@ -12226,10 +12238,10 @@ function fs(e) {
|
|
|
12226
12238
|
return null;
|
|
12227
12239
|
}
|
|
12228
12240
|
}
|
|
12229
|
-
function
|
|
12241
|
+
function Bh(e) {
|
|
12230
12242
|
const t = fs(e), n = fs("en");
|
|
12231
12243
|
return Po.map((r) => {
|
|
12232
|
-
const i = Le(r), o = t?.of(r) ?? n?.of(r) ?? r, a = n?.of(r) ?? o, u =
|
|
12244
|
+
const i = Le(r), o = t?.of(r) ?? n?.of(r) ?? r, a = n?.of(r) ?? o, u = Hh(r), s = Array.from(
|
|
12233
12245
|
new Set(
|
|
12234
12246
|
[o, a, r.toUpperCase(), r.toLowerCase(), ...u].filter(
|
|
12235
12247
|
Boolean
|
|
@@ -12253,10 +12265,10 @@ function Mh(e) {
|
|
|
12253
12265
|
function gs(e) {
|
|
12254
12266
|
return e === "US" ? 0 : e === "CA" ? 1 : Le(e) === "1" ? 2 : 3;
|
|
12255
12267
|
}
|
|
12256
|
-
function
|
|
12268
|
+
function Lh(e) {
|
|
12257
12269
|
return e ? Array.isArray(e) ? e.join("\0") : e : rl;
|
|
12258
12270
|
}
|
|
12259
|
-
function
|
|
12271
|
+
function Vh(e) {
|
|
12260
12272
|
if (e !== rl) {
|
|
12261
12273
|
if (e.includes("\0")) {
|
|
12262
12274
|
const t = e.split("\0").filter(Boolean);
|
|
@@ -12265,14 +12277,14 @@ function Lh(e) {
|
|
|
12265
12277
|
return e;
|
|
12266
12278
|
}
|
|
12267
12279
|
}
|
|
12268
|
-
function
|
|
12280
|
+
function kh(e, t) {
|
|
12269
12281
|
const n = cs.get(t);
|
|
12270
12282
|
if (n)
|
|
12271
12283
|
return n;
|
|
12272
|
-
const r =
|
|
12284
|
+
const r = Bh(e);
|
|
12273
12285
|
return cs.set(t, r), r;
|
|
12274
12286
|
}
|
|
12275
|
-
function
|
|
12287
|
+
function Xh(e) {
|
|
12276
12288
|
return {
|
|
12277
12289
|
code: e.value,
|
|
12278
12290
|
name: e.name,
|
|
@@ -12280,7 +12292,7 @@ function kh(e) {
|
|
|
12280
12292
|
flag: e.flag
|
|
12281
12293
|
};
|
|
12282
12294
|
}
|
|
12283
|
-
function
|
|
12295
|
+
function Wh(e) {
|
|
12284
12296
|
return {
|
|
12285
12297
|
code: e,
|
|
12286
12298
|
name: e,
|
|
@@ -12298,9 +12310,9 @@ function sl(e) {
|
|
|
12298
12310
|
t.charCodeAt(1) + n
|
|
12299
12311
|
);
|
|
12300
12312
|
}
|
|
12301
|
-
const
|
|
12313
|
+
const jh = /[\u0300-\u036f]/g;
|
|
12302
12314
|
function _h(e) {
|
|
12303
|
-
return e.normalize("NFD").replace(
|
|
12315
|
+
return e.normalize("NFD").replace(jh, "");
|
|
12304
12316
|
}
|
|
12305
12317
|
function ul(e) {
|
|
12306
12318
|
return _h(e).toLowerCase();
|
|
@@ -12313,7 +12325,7 @@ function ps(e, t) {
|
|
|
12313
12325
|
}
|
|
12314
12326
|
return n === Number.MAX_SAFE_INTEGER ? Number.MAX_SAFE_INTEGER : n;
|
|
12315
12327
|
}
|
|
12316
|
-
function
|
|
12328
|
+
function Hh(e) {
|
|
12317
12329
|
switch (e) {
|
|
12318
12330
|
case "US":
|
|
12319
12331
|
return ["USA", "United States", "America", "United States of America"];
|
|
@@ -12338,12 +12350,12 @@ function jh(e) {
|
|
|
12338
12350
|
function He(e) {
|
|
12339
12351
|
return e.replace(/\D/g, "");
|
|
12340
12352
|
}
|
|
12341
|
-
function
|
|
12353
|
+
function Zh(e) {
|
|
12342
12354
|
return e ? e.length > ol ? !1 : il.some((t) => t.startsWith(e)) : !0;
|
|
12343
12355
|
}
|
|
12344
|
-
const
|
|
12345
|
-
function
|
|
12346
|
-
return e.replace(
|
|
12356
|
+
const Yh = /[\u061C\u200B-\u200F\u202A-\u202E\u2066-\u2069\uFEFF]/g;
|
|
12357
|
+
function zh(e) {
|
|
12358
|
+
return e.replace(Yh, "");
|
|
12347
12359
|
}
|
|
12348
12360
|
function Ci(e, t, n = {}) {
|
|
12349
12361
|
const { force: r = !1 } = n, i = `+${t}`;
|
|
@@ -12357,16 +12369,16 @@ function Ci(e, t, n = {}) {
|
|
|
12357
12369
|
const [u, ...s] = o.split(" "), l = `0${u ?? ""}`, d = s.length > 0 ? ` ${s.join(" ")}` : "";
|
|
12358
12370
|
return `${i} ${l}${d}`.replace(/\s\s+/g, " ").trimEnd();
|
|
12359
12371
|
}
|
|
12360
|
-
const
|
|
12372
|
+
const Jh = {
|
|
12361
12373
|
GG: "GB",
|
|
12362
12374
|
JE: "GB",
|
|
12363
12375
|
IM: "GB"
|
|
12364
12376
|
};
|
|
12365
12377
|
function Ji(e) {
|
|
12366
12378
|
if (e)
|
|
12367
|
-
return
|
|
12379
|
+
return Jh[e] ?? e;
|
|
12368
12380
|
}
|
|
12369
|
-
function
|
|
12381
|
+
function Uh(e, t, n) {
|
|
12370
12382
|
if (!e || !n || (e.nationalNumber ?? "").length < 4)
|
|
12371
12383
|
return;
|
|
12372
12384
|
const i = e.countryCallingCode;
|
|
@@ -12400,7 +12412,7 @@ function bs(e) {
|
|
|
12400
12412
|
return e;
|
|
12401
12413
|
}
|
|
12402
12414
|
function Ii(e, t, n = {}) {
|
|
12403
|
-
const { allowJustPlus: r = !1, removeNationalPrefix: i = !0, previousValue: o } = n, u =
|
|
12415
|
+
const { allowJustPlus: r = !1, removeNationalPrefix: i = !0, previousValue: o } = n, u = zh(e).trim();
|
|
12404
12416
|
if (!u)
|
|
12405
12417
|
return "";
|
|
12406
12418
|
if (u === "+")
|
|
@@ -12449,10 +12461,10 @@ function gr(e, t) {
|
|
|
12449
12461
|
inferredCountry: void 0,
|
|
12450
12462
|
hasExplicitInternationalPrefix: !0
|
|
12451
12463
|
};
|
|
12452
|
-
const n = /^\s*\+/.test(e), r = t ? new
|
|
12464
|
+
const n = /^\s*\+/.test(e), r = t ? new jn(t) : new jn(), i = r.input(e), o = r.getNumber(), a = He(e), u = Ji(
|
|
12453
12465
|
o?.country ?? r.country ?? void 0
|
|
12454
12466
|
), s = u ?? !o ? void 0 : Ji(
|
|
12455
|
-
|
|
12467
|
+
Uh(o, t, a)
|
|
12456
12468
|
), l = o?.formatInternational() ?? i, d = o?.formatNational() ?? He(l);
|
|
12457
12469
|
return {
|
|
12458
12470
|
international: l,
|
|
@@ -12471,7 +12483,7 @@ function xi(e, t) {
|
|
|
12471
12483
|
if (!t || !e)
|
|
12472
12484
|
return null;
|
|
12473
12485
|
try {
|
|
12474
|
-
return
|
|
12486
|
+
return Ph(e, t) === "TOO_LONG" ? "TOO_LONG" : null;
|
|
12475
12487
|
} catch {
|
|
12476
12488
|
return null;
|
|
12477
12489
|
}
|
|
@@ -12492,7 +12504,7 @@ function Ai(e, t, n, r = {}) {
|
|
|
12492
12504
|
if (i)
|
|
12493
12505
|
return { shouldSuggest: !1, query: "" };
|
|
12494
12506
|
if (a && !o)
|
|
12495
|
-
return
|
|
12507
|
+
return Zh(u) ? { shouldSuggest: !0, query: u } : { shouldSuggest: !1, query: "" };
|
|
12496
12508
|
let s = n?.countryCallingCode ?? null;
|
|
12497
12509
|
if (!s) {
|
|
12498
12510
|
const d = Le(t);
|
|
@@ -12541,7 +12553,7 @@ function vs(e, t) {
|
|
|
12541
12553
|
}
|
|
12542
12554
|
return n;
|
|
12543
12555
|
}
|
|
12544
|
-
function
|
|
12556
|
+
function Qh(e, t) {
|
|
12545
12557
|
let n = t;
|
|
12546
12558
|
for (; n < e.length; ) {
|
|
12547
12559
|
const r = e[n] ?? "";
|
|
@@ -12551,7 +12563,7 @@ function Uh(e, t) {
|
|
|
12551
12563
|
}
|
|
12552
12564
|
return n;
|
|
12553
12565
|
}
|
|
12554
|
-
function
|
|
12566
|
+
function Kh(e) {
|
|
12555
12567
|
const { value: t } = e, n = e.selectionStart ?? t.length, r = e.selectionEnd ?? n, i = n <= 1 && t.startsWith("+"), o = r <= 1 && t.startsWith("+");
|
|
12556
12568
|
return {
|
|
12557
12569
|
selectionStart: n,
|
|
@@ -12579,7 +12591,7 @@ function pr(e, t) {
|
|
|
12579
12591
|
const a = Math.min(Math.max(i, 0), t.length), u = Math.min(Math.max(o, 0), t.length);
|
|
12580
12592
|
return a > u ? { start: u, end: u } : { start: a, end: u };
|
|
12581
12593
|
}
|
|
12582
|
-
const dl = I.createContext(null),
|
|
12594
|
+
const dl = I.createContext(null), qh = (e) => {
|
|
12583
12595
|
const t = I.useContext(dl), n = t?.highlightedValue === e.data.value, { onMouseMove: r, className: i, ...o } = e.innerProps, a = t?.renderOptionLabel ?? ((c) => cl(c)), u = I.useRef(null), { innerRef: s } = e, l = I.useCallback(
|
|
12584
12596
|
(c) => {
|
|
12585
12597
|
u.current = c, typeof s == "function" ? s(c) : s && typeof s == "object" && (s.current = c);
|
|
@@ -12618,7 +12630,7 @@ const dl = I.createContext(null), Kh = (e) => {
|
|
|
12618
12630
|
children: a(e.data)
|
|
12619
12631
|
}
|
|
12620
12632
|
);
|
|
12621
|
-
},
|
|
12633
|
+
}, e3 = {
|
|
12622
12634
|
control: () => ({
|
|
12623
12635
|
display: "none"
|
|
12624
12636
|
}),
|
|
@@ -12648,7 +12660,7 @@ const dl = I.createContext(null), Kh = (e) => {
|
|
|
12648
12660
|
fontSize: "0.875rem",
|
|
12649
12661
|
color: "hsl(var(--muted-foreground))"
|
|
12650
12662
|
})
|
|
12651
|
-
},
|
|
12663
|
+
}, t3 = (e) => /* @__PURE__ */ x.jsx("div", { style: { display: "none" }, children: e.children }), br = () => null;
|
|
12652
12664
|
function cl(e) {
|
|
12653
12665
|
return /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
12654
12666
|
/* @__PURE__ */ x.jsxs("span", { className: "flex min-w-0 items-center gap-2", children: [
|
|
@@ -12661,7 +12673,7 @@ function cl(e) {
|
|
|
12661
12673
|
] })
|
|
12662
12674
|
] });
|
|
12663
12675
|
}
|
|
12664
|
-
const
|
|
12676
|
+
const n3 = I.forwardRef(
|
|
12665
12677
|
function(t, n) {
|
|
12666
12678
|
const {
|
|
12667
12679
|
value: r,
|
|
@@ -12685,23 +12697,23 @@ const t3 = I.forwardRef(
|
|
|
12685
12697
|
name: S,
|
|
12686
12698
|
autoComplete: v,
|
|
12687
12699
|
...E
|
|
12688
|
-
} = b, A =
|
|
12689
|
-
() =>
|
|
12700
|
+
} = b, A = Lh(a), N = I.useMemo(
|
|
12701
|
+
() => Vh(A),
|
|
12690
12702
|
[A]
|
|
12691
12703
|
), L = I.useMemo(
|
|
12692
|
-
() =>
|
|
12704
|
+
() => Th(N, p),
|
|
12693
12705
|
[N, p]
|
|
12694
12706
|
), G = I.useMemo(
|
|
12695
|
-
() =>
|
|
12707
|
+
() => kh(N, A),
|
|
12696
12708
|
[A, N]
|
|
12697
12709
|
), V = I.useCallback(
|
|
12698
12710
|
(w) => {
|
|
12699
12711
|
const W = G.find((ge) => ge.value === w);
|
|
12700
|
-
return W ?
|
|
12712
|
+
return W ? Xh(W) : Wh(w);
|
|
12701
12713
|
},
|
|
12702
12714
|
[G]
|
|
12703
12715
|
), X = I.useMemo(() => {
|
|
12704
|
-
const w =
|
|
12716
|
+
const w = Mh(i ?? o ?? on);
|
|
12705
12717
|
return G.some((W) => W.value === w) ? w : G[0]?.value ?? on;
|
|
12706
12718
|
}, [G, o, i]), K = I.useRef(null), R = I.useRef("");
|
|
12707
12719
|
if (!K.current)
|
|
@@ -12765,7 +12777,7 @@ const t3 = I.forwardRef(
|
|
|
12765
12777
|
}, R.current = w;
|
|
12766
12778
|
}
|
|
12767
12779
|
}
|
|
12768
|
-
const k = K.current, [D,
|
|
12780
|
+
const k = K.current, [D, j] = I.useState(k.country), [O, M] = I.useState(k.inputValue), [U, $] = I.useState(""), [P, T] = I.useState(!1), [_, H] = I.useState(-1), [ee, q] = I.useState(!1), [ie, re] = I.useState(null), [ne, ye] = I.useState(
|
|
12769
12781
|
k.hasExplicitCountrySelection
|
|
12770
12782
|
), F = I.useRef(null), me = I.useRef(""), ve = I.useRef(null), Pe = I.useRef("smooth"), Xe = I.useRef(null), nt = I.useCallback(() => {
|
|
12771
12783
|
const w = Pe.current;
|
|
@@ -12789,13 +12801,13 @@ const t3 = I.forwardRef(
|
|
|
12789
12801
|
...ct
|
|
12790
12802
|
} = Mt, { noOptionsMessage: B, ...ue } = ct, $e = I.useMemo(
|
|
12791
12803
|
() => ({
|
|
12792
|
-
...
|
|
12804
|
+
...e3,
|
|
12793
12805
|
...Xt ?? {}
|
|
12794
12806
|
}),
|
|
12795
12807
|
[Xt]
|
|
12796
12808
|
), Ne = I.useMemo(() => {
|
|
12797
12809
|
const w = {
|
|
12798
|
-
Control:
|
|
12810
|
+
Control: t3,
|
|
12799
12811
|
IndicatorsContainer: br,
|
|
12800
12812
|
DropdownIndicator: br,
|
|
12801
12813
|
IndicatorSeparator: br,
|
|
@@ -12807,7 +12819,7 @@ const t3 = I.forwardRef(
|
|
|
12807
12819
|
} : {
|
|
12808
12820
|
...w,
|
|
12809
12821
|
...W,
|
|
12810
|
-
Option:
|
|
12822
|
+
Option: qh
|
|
12811
12823
|
};
|
|
12812
12824
|
}, [Nt]), at = I.useRef(!1), Ze = I.useCallback(
|
|
12813
12825
|
(w) => {
|
|
@@ -12827,7 +12839,7 @@ const t3 = I.forwardRef(
|
|
|
12827
12839
|
previousValue: w
|
|
12828
12840
|
});
|
|
12829
12841
|
if (R.current = W, me.current = "", !W) {
|
|
12830
|
-
M(""), T(!1), $(""), re(null), F.current = null, ye(!1), !Te && D !== X && (
|
|
12842
|
+
M(""), T(!1), $(""), re(null), F.current = null, ye(!1), !Te && D !== X && (j(X), Ze(X));
|
|
12831
12843
|
return;
|
|
12832
12844
|
}
|
|
12833
12845
|
if (W === "0") {
|
|
@@ -12835,7 +12847,7 @@ const t3 = I.forwardRef(
|
|
|
12835
12847
|
return;
|
|
12836
12848
|
}
|
|
12837
12849
|
if (W === "+") {
|
|
12838
|
-
M("+"), T(!0), $(""), re(null), F.current = null, ye(!1), !Te && D !== X && (
|
|
12850
|
+
M("+"), T(!0), $(""), re(null), F.current = null, ye(!1), !Te && D !== X && (j(X), Ze(X));
|
|
12839
12851
|
return;
|
|
12840
12852
|
}
|
|
12841
12853
|
const {
|
|
@@ -12861,7 +12873,7 @@ const t3 = I.forwardRef(
|
|
|
12861
12873
|
hasExplicitInternationalPrefix: le
|
|
12862
12874
|
}
|
|
12863
12875
|
), Ht = !lt.shouldSuggest && !Q ? Ae : void 0, Ct = Ht ?? pe;
|
|
12864
|
-
!Te && Ct !== D && (
|
|
12876
|
+
!Te && Ct !== D && (j(Ct), Ze(Ct)), pe = Ct, F.current && F.current !== pe && (F.current = null);
|
|
12865
12877
|
const Jt = Le(pe), gn = Ht ? qt(
|
|
12866
12878
|
Ee,
|
|
12867
12879
|
Ue,
|
|
@@ -12887,7 +12899,7 @@ const t3 = I.forwardRef(
|
|
|
12887
12899
|
const w = $t ?? X;
|
|
12888
12900
|
w && Ze(w);
|
|
12889
12901
|
}, [X, Ze, $t]), I.useEffect(() => {
|
|
12890
|
-
Te && o && o !== D &&
|
|
12902
|
+
Te && o && o !== D && j(o);
|
|
12891
12903
|
}, [o, Te, D]);
|
|
12892
12904
|
const wt = I.useCallback(
|
|
12893
12905
|
(w) => {
|
|
@@ -12904,7 +12916,7 @@ const t3 = I.forwardRef(
|
|
|
12904
12916
|
}, 800));
|
|
12905
12917
|
}, []), Un = I.useCallback(
|
|
12906
12918
|
(w) => {
|
|
12907
|
-
const W = w.target, ge =
|
|
12919
|
+
const W = w.target, ge = Kh(W), Me = W.value;
|
|
12908
12920
|
me.current = "";
|
|
12909
12921
|
const Ce = Ie, Ae = Le(Ce), le = He(Me), Q = Me.trim().startsWith("+"), pe = Ae ? le.startsWith(Ae) : !1, Ee = le.startsWith("0"), Ue = !al.some((Be) => le.startsWith(Be)) && (pe && le.slice(Ae.length).startsWith("0") || !Q && Ee && le.length > 1 || Q && Ee && le.length > 1 && !pe), Lt = R.current, Qe = Ii(Me, Ce, {
|
|
12910
12922
|
allowJustPlus: !0,
|
|
@@ -12914,7 +12926,7 @@ const t3 = I.forwardRef(
|
|
|
12914
12926
|
if (R.current = Qe, !Qe) {
|
|
12915
12927
|
M(""), T(!1), $(""), H(-1), re(null), F.current = null, ye(!1), Xe.current = pr(ge, "");
|
|
12916
12928
|
const Be = X;
|
|
12917
|
-
!Te && D !== Be && (
|
|
12929
|
+
!Te && D !== Be && (j(Be), Ze(Be));
|
|
12918
12930
|
const bn = Le(Be);
|
|
12919
12931
|
wt({
|
|
12920
12932
|
formattedInternational: "",
|
|
@@ -12931,7 +12943,7 @@ const t3 = I.forwardRef(
|
|
|
12931
12943
|
if (Qe === "0") {
|
|
12932
12944
|
M("0"), T(!1), $(""), H(-1), re(null), F.current = null, ye(!1), Xe.current = pr(ge, "0");
|
|
12933
12945
|
const Be = X;
|
|
12934
|
-
!Te && D !== Be && (
|
|
12946
|
+
!Te && D !== Be && (j(Be), Ze(Be));
|
|
12935
12947
|
const bn = Le(Be);
|
|
12936
12948
|
wt({
|
|
12937
12949
|
formattedInternational: "0",
|
|
@@ -12948,7 +12960,7 @@ const t3 = I.forwardRef(
|
|
|
12948
12960
|
if (Qe === "+") {
|
|
12949
12961
|
M("+"), T(!0), $(""), H(0), re(null), F.current = null, ye(!1), Xe.current = pr(ge, "+");
|
|
12950
12962
|
const Be = X;
|
|
12951
|
-
!Te && D !== Be && (
|
|
12963
|
+
!Te && D !== Be && (j(Be), Ze(Be));
|
|
12952
12964
|
const bn = Le(Be);
|
|
12953
12965
|
wt({
|
|
12954
12966
|
formattedInternational: "+",
|
|
@@ -12986,7 +12998,7 @@ const t3 = I.forwardRef(
|
|
|
12986
12998
|
hasExplicitInternationalPrefix: Kn
|
|
12987
12999
|
}
|
|
12988
13000
|
), Fo = !pn.shouldSuggest && !Ut ? gn : void 0, er = Fo ?? Rt;
|
|
12989
|
-
!Te && er !== D && (
|
|
13001
|
+
!Te && er !== D && (j(er), Ze(er)), Rt = er, F.current && F.current !== Rt && (F.current = null);
|
|
12990
13002
|
const tr = Le(Rt), gl = He(Qe), pl = Ui(gl, tr), bl = Fo ? qt(
|
|
12991
13003
|
le,
|
|
12992
13004
|
qn,
|
|
@@ -13035,7 +13047,7 @@ const t3 = I.forwardRef(
|
|
|
13035
13047
|
F.current = Ee, M(le), Xe.current = {
|
|
13036
13048
|
start: le.length,
|
|
13037
13049
|
end: le.length
|
|
13038
|
-
}, T(!1), $(""), H(-1), re(xi(Ae, Ee)), !Te && Ee !== D &&
|
|
13050
|
+
}, T(!1), $(""), H(-1), re(xi(Ae, Ee)), !Te && Ee !== D && j(Ee), Ze(Ee);
|
|
13039
13051
|
const et = He(Ae), Ue = pe?.countryCallingCode ?? w.dialCode, Lt = Ui(et, Ue);
|
|
13040
13052
|
ye(!0), wt({
|
|
13041
13053
|
formattedInternational: le,
|
|
@@ -13080,10 +13092,10 @@ const t3 = I.forwardRef(
|
|
|
13080
13092
|
}
|
|
13081
13093
|
H((w) => w < 0 || w >= xe.length ? 0 : w);
|
|
13082
13094
|
}, [xe, yt]);
|
|
13083
|
-
const zt =
|
|
13095
|
+
const zt = _ >= 0 ? xe[_] ?? null : null;
|
|
13084
13096
|
I.useEffect(() => {
|
|
13085
|
-
|
|
13086
|
-
}, [
|
|
13097
|
+
_ < 0 && (Pe.current = "smooth");
|
|
13098
|
+
}, [_]);
|
|
13087
13099
|
const Qn = I.useCallback(
|
|
13088
13100
|
(w) => {
|
|
13089
13101
|
const W = xe.findIndex((ge) => ge.value === w.value);
|
|
@@ -13093,7 +13105,7 @@ const t3 = I.forwardRef(
|
|
|
13093
13105
|
), Fe = I.useCallback(
|
|
13094
13106
|
(w, W) => Wt ? Wt(w, W) : cl(w),
|
|
13095
13107
|
[Wt]
|
|
13096
|
-
),
|
|
13108
|
+
), je = I.useCallback(
|
|
13097
13109
|
(w) => Fe(w, {
|
|
13098
13110
|
context: "menu",
|
|
13099
13111
|
inputValue: U,
|
|
@@ -13104,10 +13116,10 @@ const t3 = I.forwardRef(
|
|
|
13104
13116
|
() => ({
|
|
13105
13117
|
highlightedValue: zt?.value ?? null,
|
|
13106
13118
|
setHighlightedOption: Qn,
|
|
13107
|
-
renderOptionLabel:
|
|
13119
|
+
renderOptionLabel: je,
|
|
13108
13120
|
consumeScrollBehavior: nt
|
|
13109
13121
|
}),
|
|
13110
|
-
[nt, zt,
|
|
13122
|
+
[nt, zt, je, Qn]
|
|
13111
13123
|
), st = G.find((w) => w.value === Ie), ze = st?.flag ?? "", Je = ne ? L.selectedCountryLabel(st?.name ?? Ie ?? null) : L.selectCountryLabel, rt = ne && !!ze, Pt = ie === "TOO_LONG" ? L.lengthTooLong(st?.name ?? Ie ?? null) : null, Oe = I.useCallback(
|
|
13112
13124
|
(w) => {
|
|
13113
13125
|
me.current = `${me.current}${w}`.slice(-12), $(me.current), T(!0), Bt();
|
|
@@ -13134,7 +13146,7 @@ const t3 = I.forwardRef(
|
|
|
13134
13146
|
return;
|
|
13135
13147
|
}
|
|
13136
13148
|
} else if (W === "ArrowRight" && le) {
|
|
13137
|
-
const Q =
|
|
13149
|
+
const Q = Qh(Me, Ae);
|
|
13138
13150
|
if (Q !== Ae) {
|
|
13139
13151
|
w.preventDefault(), ge.setSelectionRange(Q, Q);
|
|
13140
13152
|
return;
|
|
@@ -13192,12 +13204,12 @@ const t3 = I.forwardRef(
|
|
|
13192
13204
|
q(!0), m?.(w);
|
|
13193
13205
|
},
|
|
13194
13206
|
[m]
|
|
13195
|
-
),
|
|
13207
|
+
), jt = I.useCallback(
|
|
13196
13208
|
(w) => {
|
|
13197
13209
|
q(!1), T(!1), me.current = "", $(""), y?.(w);
|
|
13198
13210
|
},
|
|
13199
13211
|
[y]
|
|
13200
|
-
),
|
|
13212
|
+
), _t = I.useCallback(() => {
|
|
13201
13213
|
c || f || (me.current = "", $(""), T(!0), H((w) => w < 0 ? 0 : w), requestAnimationFrame(() => {
|
|
13202
13214
|
ot.current?.focus();
|
|
13203
13215
|
}));
|
|
@@ -13219,7 +13231,7 @@ const t3 = I.forwardRef(
|
|
|
13219
13231
|
value: O,
|
|
13220
13232
|
onChange: Un,
|
|
13221
13233
|
onFocus: gt,
|
|
13222
|
-
onBlur:
|
|
13234
|
+
onBlur: jt,
|
|
13223
13235
|
onKeyDown: ut,
|
|
13224
13236
|
disabled: c,
|
|
13225
13237
|
readOnly: f,
|
|
@@ -13237,7 +13249,7 @@ const t3 = I.forwardRef(
|
|
|
13237
13249
|
),
|
|
13238
13250
|
"aria-label": Je,
|
|
13239
13251
|
onMouseDown: (w) => w.preventDefault(),
|
|
13240
|
-
onClick:
|
|
13252
|
+
onClick: _t,
|
|
13241
13253
|
tabIndex: -1,
|
|
13242
13254
|
disabled: c,
|
|
13243
13255
|
children: /* @__PURE__ */ x.jsx("span", { "aria-hidden": "true", children: rt ? ze : "?" })
|
|
@@ -13290,8 +13302,8 @@ const t3 = I.forwardRef(
|
|
|
13290
13302
|
] });
|
|
13291
13303
|
}
|
|
13292
13304
|
);
|
|
13293
|
-
|
|
13294
|
-
const
|
|
13305
|
+
n3.displayName = "PhoneNumberInput";
|
|
13306
|
+
const r3 = ({
|
|
13295
13307
|
href: e,
|
|
13296
13308
|
labelClassName: t,
|
|
13297
13309
|
labelActiveClassName: n,
|
|
@@ -13351,30 +13363,30 @@ const n3 = ({
|
|
|
13351
13363
|
]
|
|
13352
13364
|
}
|
|
13353
13365
|
);
|
|
13354
|
-
},
|
|
13355
|
-
MenuPopover:
|
|
13366
|
+
}, A3 = {
|
|
13367
|
+
MenuPopover: r3
|
|
13356
13368
|
};
|
|
13357
13369
|
export {
|
|
13358
|
-
|
|
13359
|
-
|
|
13360
|
-
|
|
13361
|
-
|
|
13362
|
-
|
|
13370
|
+
c3 as AddressAutocompleteInput,
|
|
13371
|
+
f3 as ApplePayButton,
|
|
13372
|
+
g3 as Checkbox,
|
|
13373
|
+
p3 as Dialog,
|
|
13374
|
+
h3 as DialogClose,
|
|
13363
13375
|
nd as DialogContent,
|
|
13364
|
-
|
|
13365
|
-
|
|
13366
|
-
|
|
13376
|
+
y3 as DialogDescription,
|
|
13377
|
+
v3 as DialogFooter,
|
|
13378
|
+
m3 as DialogHeader,
|
|
13367
13379
|
td as DialogOverlay,
|
|
13368
13380
|
ed as DialogPortal,
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
|
|
13373
|
-
|
|
13374
|
-
|
|
13375
|
-
|
|
13381
|
+
$3 as DialogTitle,
|
|
13382
|
+
b3 as DialogTrigger,
|
|
13383
|
+
A3 as Header,
|
|
13384
|
+
lg as I18nField,
|
|
13385
|
+
x3 as I18nFieldLocaleProvider,
|
|
13386
|
+
C3 as Image,
|
|
13387
|
+
I3 as ImagesField,
|
|
13376
13388
|
Is as Input,
|
|
13377
|
-
|
|
13378
|
-
|
|
13389
|
+
n3 as PhoneNumberInput,
|
|
13390
|
+
d3 as isMobileDevice,
|
|
13379
13391
|
kl as useMapsLibrary
|
|
13380
13392
|
};
|