@arkyn/shared 3.0.1-beta.120 → 3.0.1-beta.122

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/bundle.js CHANGED
@@ -1,15 +1,15 @@
1
- class I {
2
- isLeapYear(_) {
3
- return _ % 4 === 0 && _ % 100 !== 0 || _ % 400 === 0;
1
+ class v1 {
2
+ isLeapYear(t) {
3
+ return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
4
4
  }
5
- getDaysInMonth(_, s) {
5
+ getDaysInMonth(t, e) {
6
6
  const n = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
7
- return _ === 2 && this.isLeapYear(s) ? 29 : n[_ - 1];
7
+ return t === 2 && this.isLeapYear(e) ? 29 : n[t - 1];
8
8
  }
9
- validateDayInMonth(_, s, n) {
10
- const e = this.getDaysInMonth(s, n);
11
- if (_ > e) {
12
- const c = `Day ${_} is not valid for ${[
9
+ validateDayInMonth(t, e, n) {
10
+ const r = this.getDaysInMonth(e, n);
11
+ if (t > r) {
12
+ const o = `Day ${t} is not valid for ${[
13
13
  "January",
14
14
  "February",
15
15
  "March",
@@ -22,8 +22,8 @@ class I {
22
22
  "October",
23
23
  "November",
24
24
  "December"
25
- ][s - 1]}`, i = `Day ${_} is not valid for February ${n} (non-leap year)`;
26
- throw s === 2 && _ === 29 ? new Error(i) : new Error(c);
25
+ ][e - 1]}`, $ = `Day ${t} is not valid for February ${n} (non-leap year)`;
26
+ throw e === 2 && t === 29 ? new Error($) : new Error(o);
27
27
  }
28
28
  }
29
29
  /**
@@ -46,16 +46,16 @@ class I {
46
46
  * service.validateDateParts(2024, 4, 31); // Throws error - April has only 30 days
47
47
  * ```
48
48
  */
49
- validateDateParts(_, s, n) {
50
- const e = {
49
+ validateDateParts(t, e, n) {
50
+ const r = {
51
51
  year: "Year should be four digits",
52
52
  month: "Month should be between 1 and 12",
53
53
  day: "Day should be between 1 and 31"
54
54
  };
55
- if (`${_}`.length !== 4) throw new Error(e.year);
56
- if (s < 1 || s > 12) throw new Error(e.month);
57
- if (n < 1 || n > 31) throw new Error(e.day);
58
- this.validateDayInMonth(n, s, _);
55
+ if (`${t}`.length !== 4) throw new Error(r.year);
56
+ if (e < 1 || e > 12) throw new Error(r.month);
57
+ if (n < 1 || n > 31) throw new Error(r.day);
58
+ this.validateDayInMonth(n, e, t);
59
59
  }
60
60
  /**
61
61
  * Validates that a given format string is supported.
@@ -79,115 +79,114 @@ class I {
79
79
  * service.validateInputFormat("customFormat"); // Throws error
80
80
  * ```
81
81
  */
82
- validateInputFormat(_) {
83
- if (!["brazilianDate", "isoDate", "timestamp"].includes(_))
84
- throw new Error(`Invalid input format: ${_}`);
85
- }
86
- }
87
- function P(a, _) {
88
- const s = (e) => e.toString().padStart(2, "0"), n = {
89
- YYYY: a.getUTCFullYear().toString(),
90
- YY: a.getUTCFullYear().toString().slice(-2),
91
- MM: s(a.getUTCMonth() + 1),
92
- DD: s(a.getUTCDate()),
93
- hh: s(a.getUTCHours()),
94
- mm: s(a.getUTCMinutes()),
95
- ss: s(a.getUTCSeconds())
82
+ validateInputFormat(t) {
83
+ if (!["brazilianDate", "isoDate", "timestamp"].includes(t))
84
+ throw new Error(`Invalid input format: ${t}`);
85
+ }
86
+ }
87
+ function D1(d, t) {
88
+ const e = (r) => r.toString().padStart(2, "0"), n = {
89
+ YYYY: d.getUTCFullYear().toString(),
90
+ YY: d.getUTCFullYear().toString().slice(-2),
91
+ MM: e(d.getUTCMonth() + 1),
92
+ DD: e(d.getUTCDate()),
93
+ hh: e(d.getUTCHours()),
94
+ mm: e(d.getUTCMinutes()),
95
+ ss: e(d.getUTCSeconds())
96
96
  };
97
- return _.replace(
97
+ return t.replace(
98
98
  /YYYY|YY|MM|DD|hh|mm|ss/g,
99
- (e) => n[e]
99
+ (r) => n[r]
100
100
  );
101
101
  }
102
- function Z([a, _ = "00:00:00"], s, n, e = 0) {
103
- const t = new I();
104
- t.validateInputFormat(s);
105
- const c = a.split(/[-/]/).map(Number), i = _.split(".")[0].split(":").map(Number);
106
- let o, r, g;
107
- const [h = 0, C = 0, m = 0] = i;
108
- switch (s) {
102
+ function ee([d, t = "00:00:00"], e, n, r = 0) {
103
+ const a = new v1();
104
+ a.validateInputFormat(e);
105
+ const o = d.split(/[-/]/).map(Number), $ = t.split(".")[0].split(":").map(Number);
106
+ let s, i, c;
107
+ const [u = 0, m = 0, g = 0] = $;
108
+ switch (e) {
109
109
  case "brazilianDate":
110
- [o, r, g] = c, t.validateDateParts(g, r, o);
110
+ [s, i, c] = o, a.validateDateParts(c, i, s);
111
111
  break;
112
112
  case "isoDate":
113
- [r, o, g] = c, t.validateDateParts(g, r, o);
113
+ [i, s, c] = o, a.validateDateParts(c, i, s);
114
114
  break;
115
115
  case "timestamp":
116
- [g, r, o] = c, t.validateDateParts(g, r, o);
116
+ [c, i, s] = o, a.validateDateParts(c, i, s);
117
117
  break;
118
118
  }
119
- const d = new Date(
120
- Date.UTC(g, r - 1, o, h, C, m)
119
+ const h = new Date(
120
+ Date.UTC(c, i - 1, s, u, m, g)
121
121
  );
122
- if (isNaN(d.getTime())) throw new Error("Invalid date");
123
- return d.setUTCHours(d.getUTCHours() + e), P(d, n);
122
+ if (isNaN(h.getTime())) throw new Error("Invalid date");
123
+ return h.setUTCHours(h.getUTCHours() + r), D1(h, n);
124
124
  }
125
- const y = (a, _) => {
126
- const s = " ".repeat(_);
125
+ const A = (d, t) => {
126
+ const e = " ".repeat(t);
127
127
  let n = "";
128
- if (typeof a == "object" && a !== null)
129
- if (Array.isArray(a))
130
- a.length === 0 ? n += "[]" : (n += `[
131
- `, a.forEach((e, t) => {
132
- n += s + " " + y(e, _ + 1), t < a.length - 1 && (n += ","), n += `
128
+ if (typeof d == "object" && d !== null)
129
+ if (Array.isArray(d))
130
+ d.length === 0 ? n += "[]" : (n += `[
131
+ `, d.forEach((r, a) => {
132
+ n += e + " " + A(r, t + 1), a < d.length - 1 && (n += ","), n += `
133
133
  `;
134
- }), n += s + "]");
134
+ }), n += e + "]");
135
135
  else {
136
- const e = Object.keys(a);
137
- e.length === 0 ? n += "{}" : (n += `{
138
- `, e.forEach((t, c) => {
139
- n += s + ' "' + t + '": ' + y(a[t], _ + 1), c < e.length - 1 && (n += ","), n += `
136
+ const r = Object.keys(d);
137
+ r.length === 0 ? n += "{}" : (n += `{
138
+ `, r.forEach((a, o) => {
139
+ n += e + ' "' + a + '": ' + A(d[a], t + 1), o < r.length - 1 && (n += ","), n += `
140
140
  `;
141
- }), n += s + "}");
141
+ }), n += e + "}");
142
142
  }
143
- else if (typeof a == "string")
143
+ else if (typeof d == "string")
144
144
  try {
145
- const e = JSON.parse(a);
146
- n += y(e, _);
145
+ const r = JSON.parse(d);
146
+ n += A(r, t);
147
147
  } catch {
148
- n += '"' + a + '"';
148
+ n += '"' + d + '"';
149
149
  }
150
150
  else
151
- n += a;
151
+ n += d;
152
152
  return n;
153
- }, q = (a) => {
153
+ }, ne = (d) => {
154
154
  try {
155
- const _ = JSON.parse(a);
156
- return y(_, 0);
157
- } catch (_) {
155
+ const t = JSON.parse(d);
156
+ return A(t, 0);
157
+ } catch (t) {
158
158
  throw new Error(`Invalid JSON string
159
- ${_}`);
159
+ ${t}`);
160
160
  }
161
161
  };
162
- function j(a) {
163
- return a.split(" ").map((n) => {
164
- const e = n.charAt(0).toUpperCase(), t = n.slice(1).toLowerCase();
165
- return e + t;
162
+ function re(d) {
163
+ return d.split(" ").map((n) => {
164
+ const r = n.charAt(0).toUpperCase(), a = n.slice(1).toLowerCase();
165
+ return r + a;
166
166
  }).join(" ");
167
167
  }
168
- function k(a) {
169
- return a.replace(/[^0-9]/g, "");
168
+ function M(d) {
169
+ return d.replace(/[^0-9]/g, "");
170
170
  }
171
- function Q(a) {
172
- const s = k(a).match(/^(\d{5})(\d{3})$/), n = `CEP must be contain 8 numeric digits: ${a}`;
173
- if (!s) throw new Error(n);
174
- return `${s[1]}-${s[2]}`;
171
+ function ae(d) {
172
+ const e = M(d).match(/^(\d{5})(\d{3})$/), n = `CEP must be contain 8 numeric digits: ${d}`;
173
+ if (!e) throw new Error(n);
174
+ return `${e[1]}-${e[2]}`;
175
175
  }
176
- function X(a) {
177
- const s = k(a).match(/^(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})$/), n = `CNPJ must be contain 14 numeric digits: ${a}`;
178
- if (!s) throw new Error(n);
179
- return `${s[1]}.${s[2]}.${s[3]}/${s[4]}-${s[5]}`;
176
+ function oe(d) {
177
+ const e = M(d).match(/^(\d{2})(\d{3})(\d{3})(\d{4})(\d{2})$/), n = `CNPJ must be contain 14 numeric digits: ${d}`;
178
+ if (!e) throw new Error(n);
179
+ return `${e[1]}.${e[2]}.${e[3]}/${e[4]}-${e[5]}`;
180
180
  }
181
- function aa(a) {
182
- const s = k(a).match(/^(\d{3})(\d{3})(\d{3})(\d{2})$/), n = `CPF must be contain 11 numeric digits: ${a}`;
183
- if (!s) throw new Error(n);
184
- return `${s[1]}.${s[2]}.${s[3]}-${s[4]}`;
181
+ function se(d) {
182
+ const e = M(d).match(/^(\d{3})(\d{3})(\d{3})(\d{2})$/), n = `CPF must be contain 11 numeric digits: ${d}`;
183
+ if (!e) throw new Error(n);
184
+ return `${e[1]}.${e[2]}.${e[3]}-${e[4]}`;
185
185
  }
186
- const N = [
186
+ const L1 = [
187
187
  {
188
188
  name: "Afghanistan",
189
189
  code: "+93",
190
- prefix: null,
191
190
  iso: "AF",
192
191
  flag: "https://cdn.kcak11.com/CountryFlags/countries/af.svg",
193
192
  mask: "__-___-____"
@@ -195,7 +194,6 @@ const N = [
195
194
  {
196
195
  name: "Aland Islands",
197
196
  code: "+358",
198
- prefix: null,
199
197
  iso: "AX",
200
198
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ax.svg",
201
199
  mask: "(___) ___-__-__"
@@ -203,7 +201,6 @@ const N = [
203
201
  {
204
202
  name: "Albania",
205
203
  code: "+355",
206
- prefix: null,
207
204
  iso: "AL",
208
205
  flag: "https://cdn.kcak11.com/CountryFlags/countries/al.svg",
209
206
  mask: "(___) ___-___"
@@ -211,7 +208,6 @@ const N = [
211
208
  {
212
209
  name: "Algeria",
213
210
  code: "+213",
214
- prefix: null,
215
211
  iso: "DZ",
216
212
  flag: "https://cdn.kcak11.com/CountryFlags/countries/dz.svg",
217
213
  mask: "__-___-____"
@@ -219,15 +215,13 @@ const N = [
219
215
  {
220
216
  name: "American Samoa",
221
217
  code: "+1",
222
- prefix: "684",
223
218
  iso: "AS",
224
219
  flag: "https://cdn.kcak11.com/CountryFlags/countries/as.svg",
225
- mask: "(684) ___-____"
220
+ mask: "(___) ___-____"
226
221
  },
227
222
  {
228
223
  name: "Andorra",
229
224
  code: "+376",
230
- prefix: null,
231
225
  iso: "AD",
232
226
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ad.svg",
233
227
  mask: "___-___"
@@ -235,7 +229,6 @@ const N = [
235
229
  {
236
230
  name: "Angola",
237
231
  code: "+244",
238
- prefix: null,
239
232
  iso: "AO",
240
233
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ao.svg",
241
234
  mask: "(___) ___-___"
@@ -243,31 +236,27 @@ const N = [
243
236
  {
244
237
  name: "Anguilla",
245
238
  code: "+1",
246
- prefix: "264",
247
239
  iso: "AI",
248
240
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ai.svg",
249
- mask: "(264) ___-____"
241
+ mask: "(___) ___-____"
250
242
  },
251
243
  {
252
244
  name: "Antarctica",
253
245
  code: "+672",
254
- prefix: "1",
255
246
  iso: "AQ",
256
247
  flag: "https://cdn.kcak11.com/CountryFlags/countries/aq.svg",
257
- mask: "1__-___"
248
+ mask: "___-___"
258
249
  },
259
250
  {
260
251
  name: "Antigua and Barbuda",
261
252
  code: "+1",
262
- prefix: "268",
263
253
  iso: "AG",
264
254
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ag.svg",
265
- mask: "(268) ___-____"
255
+ mask: "(___) ___-____"
266
256
  },
267
257
  {
268
258
  name: "Argentina",
269
259
  code: "+54",
270
- prefix: null,
271
260
  iso: "AR",
272
261
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ar.svg",
273
262
  mask: "(___) ___-____"
@@ -275,7 +264,6 @@ const N = [
275
264
  {
276
265
  name: "Armenia",
277
266
  code: "+374",
278
- prefix: null,
279
267
  iso: "AM",
280
268
  flag: "https://cdn.kcak11.com/CountryFlags/countries/am.svg",
281
269
  mask: "__-___-___"
@@ -283,7 +271,6 @@ const N = [
283
271
  {
284
272
  name: "Aruba",
285
273
  code: "+297",
286
- prefix: null,
287
274
  iso: "AW",
288
275
  flag: "https://cdn.kcak11.com/CountryFlags/countries/aw.svg",
289
276
  mask: "___-____"
@@ -291,7 +278,6 @@ const N = [
291
278
  {
292
279
  name: "Ascension Island",
293
280
  code: "+247",
294
- prefix: null,
295
281
  iso: "AC",
296
282
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sh.svg",
297
283
  mask: "____"
@@ -299,7 +285,6 @@ const N = [
299
285
  {
300
286
  name: "Australia",
301
287
  code: "+61",
302
- prefix: null,
303
288
  iso: "AU",
304
289
  flag: "https://cdn.kcak11.com/CountryFlags/countries/au.svg",
305
290
  mask: "_-____-____"
@@ -307,7 +292,6 @@ const N = [
307
292
  {
308
293
  name: "Austria",
309
294
  code: "+43",
310
- prefix: null,
311
295
  iso: "AT",
312
296
  flag: "https://cdn.kcak11.com/CountryFlags/countries/at.svg",
313
297
  mask: "(___) ___-____"
@@ -315,7 +299,6 @@ const N = [
315
299
  {
316
300
  name: "Azerbaijan",
317
301
  code: "+994",
318
- prefix: null,
319
302
  iso: "AZ",
320
303
  flag: "https://cdn.kcak11.com/CountryFlags/countries/az.svg",
321
304
  mask: "__-___-__-__"
@@ -323,15 +306,13 @@ const N = [
323
306
  {
324
307
  name: "Bahamas",
325
308
  code: "+1",
326
- prefix: "242",
327
309
  iso: "BS",
328
310
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bs.svg",
329
- mask: "(242) ___-____"
311
+ mask: "(___) ___-____"
330
312
  },
331
313
  {
332
314
  name: "Bahrain",
333
315
  code: "+973",
334
- prefix: null,
335
316
  iso: "BH",
336
317
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bh.svg",
337
318
  mask: "____-____"
@@ -339,23 +320,20 @@ const N = [
339
320
  {
340
321
  name: "Bangladesh",
341
322
  code: "+880",
342
- prefix: "1",
343
323
  iso: "BD",
344
324
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bd.svg",
345
- mask: "1___-______"
325
+ mask: "____-______"
346
326
  },
347
327
  {
348
328
  name: "Barbados",
349
329
  code: "+1",
350
- prefix: "246",
351
330
  iso: "BB",
352
331
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bb.svg",
353
- mask: "(246) ___-____"
332
+ mask: "(___) ___-____"
354
333
  },
355
334
  {
356
335
  name: "Belarus",
357
336
  code: "+375",
358
- prefix: null,
359
337
  iso: "BY",
360
338
  flag: "https://cdn.kcak11.com/CountryFlags/countries/by.svg",
361
339
  mask: "(__) ___-__-__"
@@ -363,7 +341,6 @@ const N = [
363
341
  {
364
342
  name: "Belgium",
365
343
  code: "+32",
366
- prefix: null,
367
344
  iso: "BE",
368
345
  flag: "https://cdn.kcak11.com/CountryFlags/countries/be.svg",
369
346
  mask: "(___) ___-___"
@@ -371,7 +348,6 @@ const N = [
371
348
  {
372
349
  name: "Belize",
373
350
  code: "+501",
374
- prefix: null,
375
351
  iso: "BZ",
376
352
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bz.svg",
377
353
  mask: "___-____"
@@ -379,7 +355,6 @@ const N = [
379
355
  {
380
356
  name: "Benin",
381
357
  code: "+229",
382
- prefix: null,
383
358
  iso: "BJ",
384
359
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bj.svg",
385
360
  mask: "__-__-____"
@@ -387,15 +362,13 @@ const N = [
387
362
  {
388
363
  name: "Bermuda",
389
364
  code: "+1",
390
- prefix: "441",
391
365
  iso: "BM",
392
366
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bm.svg",
393
- mask: "(441) ___-____"
367
+ mask: "(___) ___-____"
394
368
  },
395
369
  {
396
370
  name: "Bhutan",
397
371
  code: "+975",
398
- prefix: null,
399
372
  iso: "BT",
400
373
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bt.svg",
401
374
  mask: "_-___-___"
@@ -403,7 +376,6 @@ const N = [
403
376
  {
404
377
  name: "Bolivia",
405
378
  code: "+591",
406
- prefix: null,
407
379
  iso: "BO",
408
380
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bo.svg",
409
381
  mask: "_-___-____"
@@ -411,7 +383,6 @@ const N = [
411
383
  {
412
384
  name: "Bosnia and Herzegovina",
413
385
  code: "+387",
414
- prefix: null,
415
386
  iso: "BA",
416
387
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ba.svg",
417
388
  mask: "__-_____"
@@ -419,7 +390,6 @@ const N = [
419
390
  {
420
391
  name: "Botswana",
421
392
  code: "+267",
422
- prefix: null,
423
393
  iso: "BW",
424
394
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bw.svg",
425
395
  mask: "__-___-___"
@@ -427,15 +397,13 @@ const N = [
427
397
  {
428
398
  name: "Brasil",
429
399
  code: "+55",
430
- prefix: null,
431
400
  iso: "BR",
432
401
  flag: "https://cdn.kcak11.com/CountryFlags/countries/br.svg",
433
- mask: "(__) _____-____"
402
+ mask: ["(__) _____-____", "(__) ____-____"]
434
403
  },
435
404
  {
436
405
  name: "British Indian Ocean Territory",
437
406
  code: "+246",
438
- prefix: null,
439
407
  iso: "IO",
440
408
  flag: "https://cdn.kcak11.com/CountryFlags/countries/io.svg",
441
409
  mask: "___-____"
@@ -443,7 +411,6 @@ const N = [
443
411
  {
444
412
  name: "Brunei Darussalam",
445
413
  code: "+673",
446
- prefix: null,
447
414
  iso: "BN",
448
415
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bn.svg",
449
416
  mask: "___-____"
@@ -451,7 +418,6 @@ const N = [
451
418
  {
452
419
  name: "Bulgaria",
453
420
  code: "+359",
454
- prefix: null,
455
421
  iso: "BG",
456
422
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bg.svg",
457
423
  mask: "(___) ___-___"
@@ -459,7 +425,6 @@ const N = [
459
425
  {
460
426
  name: "Burkina Faso",
461
427
  code: "+226",
462
- prefix: null,
463
428
  iso: "BF",
464
429
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bf.svg",
465
430
  mask: "__-__-____"
@@ -467,7 +432,6 @@ const N = [
467
432
  {
468
433
  name: "Burundi",
469
434
  code: "+257",
470
- prefix: null,
471
435
  iso: "BI",
472
436
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bi.svg",
473
437
  mask: "__-__-____"
@@ -475,7 +439,6 @@ const N = [
475
439
  {
476
440
  name: "Cambodia",
477
441
  code: "+855",
478
- prefix: null,
479
442
  iso: "KH",
480
443
  flag: "https://cdn.kcak11.com/CountryFlags/countries/kh.svg",
481
444
  mask: "__-___-___"
@@ -483,7 +446,6 @@ const N = [
483
446
  {
484
447
  name: "Cameroon",
485
448
  code: "+237",
486
- prefix: null,
487
449
  iso: "CM",
488
450
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cm.svg",
489
451
  mask: "____-____"
@@ -491,7 +453,6 @@ const N = [
491
453
  {
492
454
  name: "Canada",
493
455
  code: "+1",
494
- prefix: null,
495
456
  iso: "CA",
496
457
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ca.svg",
497
458
  mask: "(___) ___-____"
@@ -499,7 +460,6 @@ const N = [
499
460
  {
500
461
  name: "Cape Verde",
501
462
  code: "+238",
502
- prefix: null,
503
463
  iso: "CV",
504
464
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cv.svg",
505
465
  mask: "(___) __-__"
@@ -507,15 +467,13 @@ const N = [
507
467
  {
508
468
  name: "Cayman Islands",
509
469
  code: "+1",
510
- prefix: "345",
511
470
  iso: "KY",
512
471
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ky.svg",
513
- mask: "(345) ___-____"
472
+ mask: "(___) ___-____"
514
473
  },
515
474
  {
516
475
  name: "Central African Republic",
517
476
  code: "+236",
518
- prefix: null,
519
477
  iso: "CF",
520
478
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cf.svg",
521
479
  mask: "__-__-____"
@@ -523,7 +481,6 @@ const N = [
523
481
  {
524
482
  name: "Chad",
525
483
  code: "+235",
526
- prefix: null,
527
484
  iso: "TD",
528
485
  flag: "https://cdn.kcak11.com/CountryFlags/countries/td.svg",
529
486
  mask: "__-__-__-__"
@@ -531,7 +488,6 @@ const N = [
531
488
  {
532
489
  name: "Chile",
533
490
  code: "+56",
534
- prefix: null,
535
491
  iso: "CL",
536
492
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cl.svg",
537
493
  mask: "_-____-____"
@@ -539,7 +495,6 @@ const N = [
539
495
  {
540
496
  name: "China",
541
497
  code: "+86",
542
- prefix: null,
543
498
  iso: "CN",
544
499
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cn.svg",
545
500
  mask: "__-_____-_____"
@@ -547,7 +502,6 @@ const N = [
547
502
  {
548
503
  name: "Christmas Island",
549
504
  code: "+61",
550
- prefix: null,
551
505
  iso: "CX",
552
506
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cx.svg",
553
507
  mask: "_-____-____"
@@ -555,7 +509,6 @@ const N = [
555
509
  {
556
510
  name: "Cocos (Keeling) Islands",
557
511
  code: "+61",
558
- prefix: null,
559
512
  iso: "CC",
560
513
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cc.svg",
561
514
  mask: "_-____-____"
@@ -563,7 +516,6 @@ const N = [
563
516
  {
564
517
  name: "Colombia",
565
518
  code: "+57",
566
- prefix: null,
567
519
  iso: "CO",
568
520
  flag: "https://cdn.kcak11.com/CountryFlags/countries/co.svg",
569
521
  mask: "(___) ___-____"
@@ -571,7 +523,6 @@ const N = [
571
523
  {
572
524
  name: "Comoros",
573
525
  code: "+269",
574
- prefix: null,
575
526
  iso: "KM",
576
527
  flag: "https://cdn.kcak11.com/CountryFlags/countries/km.svg",
577
528
  mask: "__-_____"
@@ -579,7 +530,6 @@ const N = [
579
530
  {
580
531
  name: "Congo",
581
532
  code: "+242",
582
- prefix: null,
583
533
  iso: "CG",
584
534
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cg.svg",
585
535
  mask: "__-_____"
@@ -587,7 +537,6 @@ const N = [
587
537
  {
588
538
  name: "Cook Islands",
589
539
  code: "+682",
590
- prefix: null,
591
540
  iso: "CK",
592
541
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ck.svg",
593
542
  mask: "__-___"
@@ -595,7 +544,6 @@ const N = [
595
544
  {
596
545
  name: "Costa Rica",
597
546
  code: "+506",
598
- prefix: null,
599
547
  iso: "CR",
600
548
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cr.svg",
601
549
  mask: "____-____"
@@ -603,7 +551,6 @@ const N = [
603
551
  {
604
552
  name: "Croatia",
605
553
  code: "+385",
606
- prefix: null,
607
554
  iso: "HR",
608
555
  flag: "https://cdn.kcak11.com/CountryFlags/countries/hr.svg",
609
556
  mask: "__-___-___"
@@ -611,7 +558,6 @@ const N = [
611
558
  {
612
559
  name: "Cuba",
613
560
  code: "+53",
614
- prefix: null,
615
561
  iso: "CU",
616
562
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cu.svg",
617
563
  mask: "_-___-____"
@@ -619,7 +565,6 @@ const N = [
619
565
  {
620
566
  name: "Cyprus",
621
567
  code: "+357",
622
- prefix: null,
623
568
  iso: "CY",
624
569
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cy.svg",
625
570
  mask: "__-___-___"
@@ -627,7 +572,6 @@ const N = [
627
572
  {
628
573
  name: "Czech Republic",
629
574
  code: "+420",
630
- prefix: null,
631
575
  iso: "CZ",
632
576
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cz.svg",
633
577
  mask: "(___) ___-___"
@@ -635,7 +579,6 @@ const N = [
635
579
  {
636
580
  name: "Democratic Republic of the Congo",
637
581
  code: "+243",
638
- prefix: null,
639
582
  iso: "CD",
640
583
  flag: "https://cdn.kcak11.com/CountryFlags/countries/cd.svg",
641
584
  mask: "(___) ___-___"
@@ -643,7 +586,6 @@ const N = [
643
586
  {
644
587
  name: "Denmark",
645
588
  code: "+45",
646
- prefix: null,
647
589
  iso: "DK",
648
590
  flag: "https://cdn.kcak11.com/CountryFlags/countries/dk.svg",
649
591
  mask: "__-__-__-__"
@@ -651,7 +593,6 @@ const N = [
651
593
  {
652
594
  name: "Djibouti",
653
595
  code: "+253",
654
- prefix: null,
655
596
  iso: "DJ",
656
597
  flag: "https://cdn.kcak11.com/CountryFlags/countries/dj.svg",
657
598
  mask: "__-__-__-__"
@@ -659,23 +600,20 @@ const N = [
659
600
  {
660
601
  name: "Dominica",
661
602
  code: "+1",
662
- prefix: "767",
663
603
  iso: "DM",
664
604
  flag: "https://cdn.kcak11.com/CountryFlags/countries/dm.svg",
665
- mask: "(767) ___-____"
605
+ mask: "(___) ___-____"
666
606
  },
667
607
  {
668
608
  name: "Dominican Republic",
669
609
  code: "+1",
670
- prefix: "849",
671
610
  iso: "DO",
672
611
  flag: "https://cdn.kcak11.com/CountryFlags/countries/do.svg",
673
- mask: "(894) ___-____"
612
+ mask: "(___) ___-____"
674
613
  },
675
614
  {
676
615
  name: "Ecuador",
677
616
  code: "+593",
678
- prefix: null,
679
617
  iso: "EC",
680
618
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ec.svg",
681
619
  mask: "__-___-____"
@@ -683,7 +621,6 @@ const N = [
683
621
  {
684
622
  name: "Egypt",
685
623
  code: "+20",
686
- prefix: null,
687
624
  iso: "EG",
688
625
  flag: "https://cdn.kcak11.com/CountryFlags/countries/eg.svg",
689
626
  mask: "(___) ___-____"
@@ -691,7 +628,6 @@ const N = [
691
628
  {
692
629
  name: "El Salvador",
693
630
  code: "+503",
694
- prefix: null,
695
631
  iso: "SV",
696
632
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sv.svg",
697
633
  mask: "__-__-____"
@@ -699,7 +635,6 @@ const N = [
699
635
  {
700
636
  name: "Equatorial Guinea",
701
637
  code: "+240",
702
- prefix: null,
703
638
  iso: "GQ",
704
639
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gq.svg",
705
640
  mask: "__-___-____"
@@ -707,7 +642,6 @@ const N = [
707
642
  {
708
643
  name: "Eritrea",
709
644
  code: "+291",
710
- prefix: null,
711
645
  iso: "ER",
712
646
  flag: "https://cdn.kcak11.com/CountryFlags/countries/er.svg",
713
647
  mask: "_-___-___"
@@ -715,7 +649,6 @@ const N = [
715
649
  {
716
650
  name: "Estonia",
717
651
  code: "+372",
718
- prefix: null,
719
652
  iso: "EE",
720
653
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ee.svg",
721
654
  mask: "____-____"
@@ -723,7 +656,6 @@ const N = [
723
656
  {
724
657
  name: "Eswatini",
725
658
  code: "+268",
726
- prefix: null,
727
659
  iso: "SZ",
728
660
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sz.svg",
729
661
  mask: "__-__-____"
@@ -731,7 +663,6 @@ const N = [
731
663
  {
732
664
  name: "Ethiopia",
733
665
  code: "+251",
734
- prefix: null,
735
666
  iso: "ET",
736
667
  flag: "https://cdn.kcak11.com/CountryFlags/countries/et.svg",
737
668
  mask: "__-___-____"
@@ -739,7 +670,6 @@ const N = [
739
670
  {
740
671
  name: "Falkland Islands (Malvinas)",
741
672
  code: "+500",
742
- prefix: null,
743
673
  iso: "FK",
744
674
  flag: "https://cdn.kcak11.com/CountryFlags/countries/fk.svg",
745
675
  mask: "_____"
@@ -747,7 +677,6 @@ const N = [
747
677
  {
748
678
  name: "Faroe Islands",
749
679
  code: "+298",
750
- prefix: null,
751
680
  iso: "FO",
752
681
  flag: "https://cdn.kcak11.com/CountryFlags/countries/fo.svg",
753
682
  mask: "__ __ __"
@@ -755,7 +684,6 @@ const N = [
755
684
  {
756
685
  name: "Fiji",
757
686
  code: "+679",
758
- prefix: null,
759
687
  iso: "FJ",
760
688
  flag: "https://cdn.kcak11.com/CountryFlags/countries/fj.svg",
761
689
  mask: "__-_____"
@@ -763,7 +691,6 @@ const N = [
763
691
  {
764
692
  name: "Finland",
765
693
  code: "+358",
766
- prefix: null,
767
694
  iso: "FI",
768
695
  flag: "https://cdn.kcak11.com/CountryFlags/countries/fi.svg",
769
696
  mask: "__ ___ ____"
@@ -771,7 +698,6 @@ const N = [
771
698
  {
772
699
  name: "France",
773
700
  code: "+33",
774
- prefix: null,
775
701
  iso: "FR",
776
702
  flag: "https://cdn.kcak11.com/CountryFlags/countries/fr.svg",
777
703
  mask: "_ __ __ __ __"
@@ -779,7 +705,6 @@ const N = [
779
705
  {
780
706
  name: "French Guiana",
781
707
  code: "+594",
782
- prefix: null,
783
708
  iso: "GF",
784
709
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gf.svg",
785
710
  mask: "___ __ __ __"
@@ -787,7 +712,6 @@ const N = [
787
712
  {
788
713
  name: "French Polynesia",
789
714
  code: "+689",
790
- prefix: null,
791
715
  iso: "PF",
792
716
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pf.svg",
793
717
  mask: "__ __ __ __"
@@ -795,7 +719,6 @@ const N = [
795
719
  {
796
720
  name: "Gabon",
797
721
  code: "+241",
798
- prefix: null,
799
722
  iso: "GA",
800
723
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ga.svg",
801
724
  mask: "_ __ __ __"
@@ -803,7 +726,6 @@ const N = [
803
726
  {
804
727
  name: "Gambia",
805
728
  code: "+220",
806
- prefix: null,
807
729
  iso: "GM",
808
730
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gm.svg",
809
731
  mask: "___ ____"
@@ -811,7 +733,6 @@ const N = [
811
733
  {
812
734
  name: "Georgia",
813
735
  code: "+995",
814
- prefix: null,
815
736
  iso: "GE",
816
737
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ge.svg",
817
738
  mask: "(___) ___-___"
@@ -819,23 +740,20 @@ const N = [
819
740
  {
820
741
  name: "Germany",
821
742
  code: "+49",
822
- prefix: "3",
823
743
  iso: "DE",
824
744
  flag: "https://cdn.kcak11.com/CountryFlags/countries/de.svg",
825
- mask: "(3____) __-____"
745
+ mask: "(_____) __-____"
826
746
  },
827
747
  {
828
748
  name: "Ghana",
829
749
  code: "+233",
830
- prefix: "03",
831
750
  iso: "GH",
832
751
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gh.svg",
833
- mask: "03_ ___ ____"
752
+ mask: "___ ___ ____"
834
753
  },
835
754
  {
836
755
  name: "Gibraltar",
837
756
  code: "+350",
838
- prefix: null,
839
757
  iso: "GI",
840
758
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gi.svg",
841
759
  mask: "___-_____"
@@ -843,7 +761,6 @@ const N = [
843
761
  {
844
762
  name: "Greece",
845
763
  code: "+30",
846
- prefix: null,
847
764
  iso: "GR",
848
765
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gr.svg",
849
766
  mask: "(___) ___-____"
@@ -851,7 +768,6 @@ const N = [
851
768
  {
852
769
  name: "Greenland",
853
770
  code: "+299",
854
- prefix: null,
855
771
  iso: "GL",
856
772
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gl.svg",
857
773
  mask: "__-__-__"
@@ -859,15 +775,13 @@ const N = [
859
775
  {
860
776
  name: "Grenada",
861
777
  code: "+1",
862
- prefix: "473",
863
778
  iso: "GD",
864
779
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gd.svg",
865
- mask: "(473) ___-____"
780
+ mask: "(___) ___-____"
866
781
  },
867
782
  {
868
783
  name: "Guadeloupe",
869
784
  code: "+590",
870
- prefix: null,
871
785
  iso: "GP",
872
786
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gp.svg",
873
787
  mask: "___ __ __ __"
@@ -875,15 +789,13 @@ const N = [
875
789
  {
876
790
  name: "Guam",
877
791
  code: "+1",
878
- prefix: "671",
879
792
  iso: "GU",
880
793
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gu.svg",
881
- mask: "671 ___ ____"
794
+ mask: "___ ___ ____"
882
795
  },
883
796
  {
884
797
  name: "Guatemala",
885
798
  code: "+502",
886
- prefix: null,
887
799
  iso: "GT",
888
800
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gt.svg",
889
801
  mask: "_-___-____"
@@ -891,7 +803,6 @@ const N = [
891
803
  {
892
804
  name: "Guernsey",
893
805
  code: "+44",
894
- prefix: null,
895
806
  iso: "GG",
896
807
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gg.svg",
897
808
  mask: "(____) ______"
@@ -899,7 +810,6 @@ const N = [
899
810
  {
900
811
  name: "Guinea",
901
812
  code: "+224",
902
- prefix: null,
903
813
  iso: "GN",
904
814
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gn.svg",
905
815
  mask: "__-___-___"
@@ -907,7 +817,6 @@ const N = [
907
817
  {
908
818
  name: "Guinea-Bissau",
909
819
  code: "+245",
910
- prefix: null,
911
820
  iso: "GW",
912
821
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gw.svg",
913
822
  mask: "_-______"
@@ -915,7 +824,6 @@ const N = [
915
824
  {
916
825
  name: "Guyana",
917
826
  code: "+592",
918
- prefix: null,
919
827
  iso: "GY",
920
828
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gy.svg",
921
829
  mask: "___-____"
@@ -923,7 +831,6 @@ const N = [
923
831
  {
924
832
  name: "Haiti",
925
833
  code: "+509",
926
- prefix: null,
927
834
  iso: "HT",
928
835
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ht.svg",
929
836
  mask: "__-__-____"
@@ -931,15 +838,13 @@ const N = [
931
838
  {
932
839
  name: "Holy See (Vatican City State)",
933
840
  code: "+39",
934
- prefix: "06698",
935
841
  iso: "VA",
936
842
  flag: "https://cdn.kcak11.com/CountryFlags/countries/va.svg",
937
- mask: "06 698_____"
843
+ mask: "__ ________"
938
844
  },
939
845
  {
940
846
  name: "Honduras",
941
847
  code: "+504",
942
- prefix: null,
943
848
  iso: "HN",
944
849
  flag: "https://cdn.kcak11.com/CountryFlags/countries/hn.svg",
945
850
  mask: "____-____"
@@ -947,7 +852,6 @@ const N = [
947
852
  {
948
853
  name: "Hong Kong",
949
854
  code: "+852",
950
- prefix: null,
951
855
  iso: "HK",
952
856
  flag: "https://cdn.kcak11.com/CountryFlags/countries/hk.svg",
953
857
  mask: "____-____"
@@ -955,7 +859,6 @@ const N = [
955
859
  {
956
860
  name: "Hungary",
957
861
  code: "+36",
958
- prefix: null,
959
862
  iso: "HU",
960
863
  flag: "https://cdn.kcak11.com/CountryFlags/countries/hu.svg",
961
864
  mask: "__ ___ ____"
@@ -963,7 +866,6 @@ const N = [
963
866
  {
964
867
  name: "Iceland",
965
868
  code: "+354",
966
- prefix: null,
967
869
  iso: "IS",
968
870
  flag: "https://cdn.kcak11.com/CountryFlags/countries/is.svg",
969
871
  mask: "___-____"
@@ -971,7 +873,6 @@ const N = [
971
873
  {
972
874
  name: "India",
973
875
  code: "+91",
974
- prefix: null,
975
876
  iso: "IN",
976
877
  flag: "https://cdn.kcak11.com/CountryFlags/countries/in.svg",
977
878
  mask: "(____) ___-___"
@@ -979,15 +880,13 @@ const N = [
979
880
  {
980
881
  name: "Indonesia",
981
882
  code: "+62",
982
- prefix: "8",
983
883
  iso: "ID",
984
884
  flag: "https://cdn.kcak11.com/CountryFlags/countries/id.svg",
985
- mask: "(8__) ___-__-___"
885
+ mask: "(___) ___-__-___"
986
886
  },
987
887
  {
988
888
  name: "Iran",
989
889
  code: "+98",
990
- prefix: null,
991
890
  iso: "IR",
992
891
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ir.svg",
993
892
  mask: "(___) ___-____"
@@ -995,7 +894,6 @@ const N = [
995
894
  {
996
895
  name: "Iraq",
997
896
  code: "+964",
998
- prefix: null,
999
897
  iso: "IQ",
1000
898
  flag: "https://cdn.kcak11.com/CountryFlags/countries/iq.svg",
1001
899
  mask: "(___) ___-____"
@@ -1003,7 +901,6 @@ const N = [
1003
901
  {
1004
902
  name: "Ireland",
1005
903
  code: "+353",
1006
- prefix: null,
1007
904
  iso: "IE",
1008
905
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ie.svg",
1009
906
  mask: "(___) ___-___"
@@ -1011,7 +908,6 @@ const N = [
1011
908
  {
1012
909
  name: "Isle of Man",
1013
910
  code: "+44",
1014
- prefix: null,
1015
911
  iso: "IM",
1016
912
  flag: "https://cdn.kcak11.com/CountryFlags/countries/im.svg",
1017
913
  mask: "(____) ______"
@@ -1019,7 +915,6 @@ const N = [
1019
915
  {
1020
916
  name: "Israel",
1021
917
  code: "+972",
1022
- prefix: "5",
1023
918
  iso: "IL",
1024
919
  flag: "https://cdn.kcak11.com/CountryFlags/countries/il.svg",
1025
920
  mask: "__-___-____"
@@ -1027,7 +922,6 @@ const N = [
1027
922
  {
1028
923
  name: "Italy",
1029
924
  code: "+39",
1030
- prefix: null,
1031
925
  iso: "IT",
1032
926
  flag: "https://cdn.kcak11.com/CountryFlags/countries/it.svg",
1033
927
  mask: "(___) ____-___"
@@ -1035,7 +929,6 @@ const N = [
1035
929
  {
1036
930
  name: "Ivory Coast / Cote d'Ivoire",
1037
931
  code: "+225",
1038
- prefix: null,
1039
932
  iso: "CI",
1040
933
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ci.svg",
1041
934
  mask: "__-___-___"
@@ -1043,15 +936,13 @@ const N = [
1043
936
  {
1044
937
  name: "Jamaica",
1045
938
  code: "+1",
1046
- prefix: "876",
1047
939
  iso: "JM",
1048
940
  flag: "https://cdn.kcak11.com/CountryFlags/countries/jm.svg",
1049
- mask: "(876) ___-____"
941
+ mask: "(___) ___-____"
1050
942
  },
1051
943
  {
1052
944
  name: "Japan",
1053
945
  code: "+81",
1054
- prefix: null,
1055
946
  iso: "JP",
1056
947
  flag: "https://cdn.kcak11.com/CountryFlags/countries/jp.svg",
1057
948
  mask: "__-____-____"
@@ -1059,7 +950,6 @@ const N = [
1059
950
  {
1060
951
  name: "Jersey",
1061
952
  code: "+44",
1062
- prefix: null,
1063
953
  iso: "JE",
1064
954
  flag: "https://cdn.kcak11.com/CountryFlags/countries/je.svg",
1065
955
  mask: "(____) ____-______"
@@ -1067,7 +957,6 @@ const N = [
1067
957
  {
1068
958
  name: "Jordan",
1069
959
  code: "+962",
1070
- prefix: null,
1071
960
  iso: "JO",
1072
961
  flag: "https://cdn.kcak11.com/CountryFlags/countries/jo.svg",
1073
962
  mask: "_-____-____"
@@ -1075,7 +964,6 @@ const N = [
1075
964
  {
1076
965
  name: "Kazakhstan",
1077
966
  code: "+77",
1078
- prefix: null,
1079
967
  iso: "KZ",
1080
968
  flag: "https://cdn.kcak11.com/CountryFlags/countries/kz.svg",
1081
969
  mask: "(_____) _ __ __"
@@ -1083,7 +971,6 @@ const N = [
1083
971
  {
1084
972
  name: "Kenya",
1085
973
  code: "+254",
1086
- prefix: null,
1087
974
  iso: "KE",
1088
975
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ke.svg",
1089
976
  mask: "___-______"
@@ -1091,7 +978,6 @@ const N = [
1091
978
  {
1092
979
  name: "Kiribati",
1093
980
  code: "+686",
1094
- prefix: null,
1095
981
  iso: "KI",
1096
982
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ki.svg",
1097
983
  mask: "__-___"
@@ -1099,7 +985,6 @@ const N = [
1099
985
  {
1100
986
  name: "Korea, Democratic People's Republic of Korea",
1101
987
  code: "+850",
1102
- prefix: null,
1103
988
  iso: "KP",
1104
989
  flag: "https://cdn.kcak11.com/CountryFlags/countries/kp.svg",
1105
990
  mask: "____-_____________"
@@ -1107,7 +992,6 @@ const N = [
1107
992
  {
1108
993
  name: "Korea, Republic of South Korea",
1109
994
  code: "+82",
1110
- prefix: null,
1111
995
  iso: "KR",
1112
996
  flag: "https://cdn.kcak11.com/CountryFlags/countries/kr.svg",
1113
997
  mask: "__-___-____"
@@ -1115,7 +999,6 @@ const N = [
1115
999
  {
1116
1000
  name: "Kosovo",
1117
1001
  code: "+383",
1118
- prefix: null,
1119
1002
  iso: "XK",
1120
1003
  flag: "https://cdn.kcak11.com/CountryFlags/countries/xk.svg",
1121
1004
  mask: "___-___-___"
@@ -1123,7 +1006,6 @@ const N = [
1123
1006
  {
1124
1007
  name: "Kuwait",
1125
1008
  code: "+965",
1126
- prefix: null,
1127
1009
  iso: "KW",
1128
1010
  flag: "https://cdn.kcak11.com/CountryFlags/countries/kw.svg",
1129
1011
  mask: "____-____"
@@ -1131,7 +1013,6 @@ const N = [
1131
1013
  {
1132
1014
  name: "Kyrgyzstan",
1133
1015
  code: "+996",
1134
- prefix: null,
1135
1016
  iso: "KG",
1136
1017
  flag: "https://cdn.kcak11.com/CountryFlags/countries/kg.svg",
1137
1018
  mask: "(___) ___-___"
@@ -1139,15 +1020,13 @@ const N = [
1139
1020
  {
1140
1021
  name: "Laos",
1141
1022
  code: "+856",
1142
- prefix: "20",
1143
1023
  iso: "LA",
1144
1024
  flag: "https://cdn.kcak11.com/CountryFlags/countries/la.svg",
1145
- mask: "(20__) ___-___"
1025
+ mask: "(____) ___-___"
1146
1026
  },
1147
1027
  {
1148
1028
  name: "Latvia",
1149
1029
  code: "+371",
1150
- prefix: null,
1151
1030
  iso: "LV",
1152
1031
  flag: "https://cdn.kcak11.com/CountryFlags/countries/lv.svg",
1153
1032
  mask: "__-___-___"
@@ -1155,7 +1034,6 @@ const N = [
1155
1034
  {
1156
1035
  name: "Lebanon",
1157
1036
  code: "+961",
1158
- prefix: null,
1159
1037
  iso: "LB",
1160
1038
  flag: "https://cdn.kcak11.com/CountryFlags/countries/lb.svg",
1161
1039
  mask: "__-___-___"
@@ -1163,7 +1041,6 @@ const N = [
1163
1041
  {
1164
1042
  name: "Lesotho",
1165
1043
  code: "+266",
1166
- prefix: null,
1167
1044
  iso: "LS",
1168
1045
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ls.svg",
1169
1046
  mask: "_-___-____"
@@ -1171,7 +1048,6 @@ const N = [
1171
1048
  {
1172
1049
  name: "Liberia",
1173
1050
  code: "+231",
1174
- prefix: null,
1175
1051
  iso: "LR",
1176
1052
  flag: "https://cdn.kcak11.com/CountryFlags/countries/lr.svg",
1177
1053
  mask: "__-___-___"
@@ -1179,15 +1055,13 @@ const N = [
1179
1055
  {
1180
1056
  name: "Libya",
1181
1057
  code: "+218",
1182
- prefix: "21",
1183
1058
  iso: "LY",
1184
1059
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ly.svg",
1185
- mask: "21-___-____"
1060
+ mask: "__-___-____"
1186
1061
  },
1187
1062
  {
1188
1063
  name: "Liechtenstein",
1189
1064
  code: "+423",
1190
- prefix: null,
1191
1065
  iso: "LI",
1192
1066
  flag: "https://cdn.kcak11.com/CountryFlags/countries/li.svg",
1193
1067
  mask: "(___) ___-____"
@@ -1195,7 +1069,6 @@ const N = [
1195
1069
  {
1196
1070
  name: "Lithuania",
1197
1071
  code: "+370",
1198
- prefix: null,
1199
1072
  iso: "LT",
1200
1073
  flag: "https://cdn.kcak11.com/CountryFlags/countries/lt.svg",
1201
1074
  mask: "(___) __-___"
@@ -1203,7 +1076,6 @@ const N = [
1203
1076
  {
1204
1077
  name: "Luxembourg",
1205
1078
  code: "+352",
1206
- prefix: null,
1207
1079
  iso: "LU",
1208
1080
  flag: "https://cdn.kcak11.com/CountryFlags/countries/lu.svg",
1209
1081
  mask: "(___) ___-___"
@@ -1211,7 +1083,6 @@ const N = [
1211
1083
  {
1212
1084
  name: "Macau",
1213
1085
  code: "+853",
1214
- prefix: null,
1215
1086
  iso: "MO",
1216
1087
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mo.svg",
1217
1088
  mask: "____-____"
@@ -1219,7 +1090,6 @@ const N = [
1219
1090
  {
1220
1091
  name: "Madagascar",
1221
1092
  code: "+261",
1222
- prefix: null,
1223
1093
  iso: "MG",
1224
1094
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mg.svg",
1225
1095
  mask: "__-__-_____"
@@ -1227,7 +1097,6 @@ const N = [
1227
1097
  {
1228
1098
  name: "Malawi",
1229
1099
  code: "+265",
1230
- prefix: null,
1231
1100
  iso: "MW",
1232
1101
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mw.svg",
1233
1102
  mask: "_-____-____"
@@ -1235,7 +1104,6 @@ const N = [
1235
1104
  {
1236
1105
  name: "Malaysia",
1237
1106
  code: "+60",
1238
- prefix: null,
1239
1107
  iso: "MY",
1240
1108
  flag: "https://cdn.kcak11.com/CountryFlags/countries/my.svg",
1241
1109
  mask: "__-___-____"
@@ -1243,7 +1111,6 @@ const N = [
1243
1111
  {
1244
1112
  name: "Maldives",
1245
1113
  code: "+960",
1246
- prefix: null,
1247
1114
  iso: "MV",
1248
1115
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mv.svg",
1249
1116
  mask: "___-____"
@@ -1251,7 +1118,6 @@ const N = [
1251
1118
  {
1252
1119
  name: "Mali",
1253
1120
  code: "+223",
1254
- prefix: null,
1255
1121
  iso: "ML",
1256
1122
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ml.svg",
1257
1123
  mask: "__-__-____"
@@ -1259,7 +1125,6 @@ const N = [
1259
1125
  {
1260
1126
  name: "Malta",
1261
1127
  code: "+356",
1262
- prefix: null,
1263
1128
  iso: "MT",
1264
1129
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mt.svg",
1265
1130
  mask: "____-____"
@@ -1267,7 +1132,6 @@ const N = [
1267
1132
  {
1268
1133
  name: "Marshall Islands",
1269
1134
  code: "+692",
1270
- prefix: null,
1271
1135
  iso: "MH",
1272
1136
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mh.svg",
1273
1137
  mask: "___-____"
@@ -1275,7 +1139,6 @@ const N = [
1275
1139
  {
1276
1140
  name: "Martinique",
1277
1141
  code: "+596",
1278
- prefix: null,
1279
1142
  iso: "MQ",
1280
1143
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mq.svg",
1281
1144
  mask: "(___) __-__-__"
@@ -1283,7 +1146,6 @@ const N = [
1283
1146
  {
1284
1147
  name: "Mauritania",
1285
1148
  code: "+222",
1286
- prefix: null,
1287
1149
  iso: "MR",
1288
1150
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mr.svg",
1289
1151
  mask: "__-__-____"
@@ -1291,7 +1153,6 @@ const N = [
1291
1153
  {
1292
1154
  name: "Mauritius",
1293
1155
  code: "+230",
1294
- prefix: null,
1295
1156
  iso: "MU",
1296
1157
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mu.svg",
1297
1158
  mask: "___-____"
@@ -1299,7 +1160,6 @@ const N = [
1299
1160
  {
1300
1161
  name: "Mayotte",
1301
1162
  code: "+262",
1302
- prefix: null,
1303
1163
  iso: "YT",
1304
1164
  flag: "https://cdn.kcak11.com/CountryFlags/countries/yt.svg",
1305
1165
  mask: "_____-____"
@@ -1307,7 +1167,6 @@ const N = [
1307
1167
  {
1308
1168
  name: "Mexico",
1309
1169
  code: "+52",
1310
- prefix: null,
1311
1170
  iso: "MX",
1312
1171
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mx.svg",
1313
1172
  mask: "(___) ___-____"
@@ -1315,7 +1174,6 @@ const N = [
1315
1174
  {
1316
1175
  name: "Micronesia, Federated States of Micronesia",
1317
1176
  code: "+691",
1318
- prefix: null,
1319
1177
  iso: "FM",
1320
1178
  flag: "https://cdn.kcak11.com/CountryFlags/countries/fm.svg",
1321
1179
  mask: "___-____"
@@ -1323,7 +1181,6 @@ const N = [
1323
1181
  {
1324
1182
  name: "Moldova",
1325
1183
  code: "+373",
1326
- prefix: null,
1327
1184
  iso: "MD",
1328
1185
  flag: "https://cdn.kcak11.com/CountryFlags/countries/md.svg",
1329
1186
  mask: "____-____"
@@ -1331,7 +1188,6 @@ const N = [
1331
1188
  {
1332
1189
  name: "Monaco",
1333
1190
  code: "+377",
1334
- prefix: null,
1335
1191
  iso: "MC",
1336
1192
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mc.svg",
1337
1193
  mask: "(___) ___-___"
@@ -1339,7 +1195,6 @@ const N = [
1339
1195
  {
1340
1196
  name: "Mongolia",
1341
1197
  code: "+976",
1342
- prefix: null,
1343
1198
  iso: "MN",
1344
1199
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mn.svg",
1345
1200
  mask: "__-__-____"
@@ -1347,7 +1202,6 @@ const N = [
1347
1202
  {
1348
1203
  name: "Montenegro",
1349
1204
  code: "+382",
1350
- prefix: null,
1351
1205
  iso: "ME",
1352
1206
  flag: "https://cdn.kcak11.com/CountryFlags/countries/me.svg",
1353
1207
  mask: "__-___-___"
@@ -1355,15 +1209,13 @@ const N = [
1355
1209
  {
1356
1210
  name: "Montserrat",
1357
1211
  code: "+1",
1358
- prefix: "664",
1359
1212
  iso: "MS",
1360
1213
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ms.svg",
1361
- mask: "(664) ___-____"
1214
+ mask: "(___) ___-____"
1362
1215
  },
1363
1216
  {
1364
1217
  name: "Morocco",
1365
1218
  code: "+212",
1366
- prefix: null,
1367
1219
  iso: "MA",
1368
1220
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ma.svg",
1369
1221
  mask: "__-____-___"
@@ -1371,7 +1223,6 @@ const N = [
1371
1223
  {
1372
1224
  name: "Mozambique",
1373
1225
  code: "+258",
1374
- prefix: null,
1375
1226
  iso: "MZ",
1376
1227
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mz.svg",
1377
1228
  mask: "__-___-___"
@@ -1379,7 +1230,6 @@ const N = [
1379
1230
  {
1380
1231
  name: "Myanmar",
1381
1232
  code: "+95",
1382
- prefix: null,
1383
1233
  iso: "MM",
1384
1234
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mm.svg",
1385
1235
  mask: "__-___-___"
@@ -1387,7 +1237,6 @@ const N = [
1387
1237
  {
1388
1238
  name: "Namibia",
1389
1239
  code: "+264",
1390
- prefix: null,
1391
1240
  iso: "NA",
1392
1241
  flag: "https://cdn.kcak11.com/CountryFlags/countries/na.svg",
1393
1242
  mask: "__-___-____"
@@ -1395,7 +1244,6 @@ const N = [
1395
1244
  {
1396
1245
  name: "Nauru",
1397
1246
  code: "+674",
1398
- prefix: null,
1399
1247
  iso: "NR",
1400
1248
  flag: "https://cdn.kcak11.com/CountryFlags/countries/nr.svg",
1401
1249
  mask: "___-____"
@@ -1403,7 +1251,6 @@ const N = [
1403
1251
  {
1404
1252
  name: "Nepal",
1405
1253
  code: "+977",
1406
- prefix: null,
1407
1254
  iso: "NP",
1408
1255
  flag: "https://cdn.kcak11.com/CountryFlags/countries/np.svg",
1409
1256
  mask: "__-___-___"
@@ -1411,7 +1258,6 @@ const N = [
1411
1258
  {
1412
1259
  name: "Netherlands",
1413
1260
  code: "+31",
1414
- prefix: null,
1415
1261
  iso: "NL",
1416
1262
  flag: "https://cdn.kcak11.com/CountryFlags/countries/nl.svg",
1417
1263
  mask: "__-___-____"
@@ -1419,7 +1265,6 @@ const N = [
1419
1265
  {
1420
1266
  name: "New Caledonia",
1421
1267
  code: "+687",
1422
- prefix: null,
1423
1268
  iso: "NC",
1424
1269
  flag: "https://cdn.kcak11.com/CountryFlags/countries/nc.svg",
1425
1270
  mask: "__-____"
@@ -1427,7 +1272,6 @@ const N = [
1427
1272
  {
1428
1273
  name: "New Zealand",
1429
1274
  code: "+64",
1430
- prefix: null,
1431
1275
  iso: "NZ",
1432
1276
  flag: "https://cdn.kcak11.com/CountryFlags/countries/nz.svg",
1433
1277
  mask: "(___) ___-____"
@@ -1435,7 +1279,6 @@ const N = [
1435
1279
  {
1436
1280
  name: "Nicaragua",
1437
1281
  code: "+505",
1438
- prefix: null,
1439
1282
  iso: "NI",
1440
1283
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ni.svg",
1441
1284
  mask: "____-____"
@@ -1443,7 +1286,6 @@ const N = [
1443
1286
  {
1444
1287
  name: "Niger",
1445
1288
  code: "+227",
1446
- prefix: null,
1447
1289
  iso: "NE",
1448
1290
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ne.svg",
1449
1291
  mask: "__-__-____"
@@ -1451,7 +1293,6 @@ const N = [
1451
1293
  {
1452
1294
  name: "Nigeria",
1453
1295
  code: "+234",
1454
- prefix: null,
1455
1296
  iso: "NG",
1456
1297
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ng.svg",
1457
1298
  mask: "(___) ___-____"
@@ -1459,7 +1300,6 @@ const N = [
1459
1300
  {
1460
1301
  name: "Niue",
1461
1302
  code: "+683",
1462
- prefix: null,
1463
1303
  iso: "NU",
1464
1304
  flag: "https://cdn.kcak11.com/CountryFlags/countries/nu.svg",
1465
1305
  mask: "____"
@@ -1467,15 +1307,13 @@ const N = [
1467
1307
  {
1468
1308
  name: "Norfolk Island",
1469
1309
  code: "+672",
1470
- prefix: "3",
1471
1310
  iso: "NF",
1472
1311
  flag: "https://cdn.kcak11.com/CountryFlags/countries/nf.svg",
1473
- mask: "3__-___"
1312
+ mask: "___-___"
1474
1313
  },
1475
1314
  {
1476
1315
  name: "North Macedonia",
1477
1316
  code: "+389",
1478
- prefix: null,
1479
1317
  iso: "MK",
1480
1318
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mk.svg",
1481
1319
  mask: "__-___-___"
@@ -1483,15 +1321,13 @@ const N = [
1483
1321
  {
1484
1322
  name: "Northern Mariana Islands",
1485
1323
  code: "+1",
1486
- prefix: "670",
1487
1324
  iso: "MP",
1488
1325
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mp.svg",
1489
- mask: "(670) ___-____"
1326
+ mask: "(___) ___-____"
1490
1327
  },
1491
1328
  {
1492
1329
  name: "Norway",
1493
1330
  code: "+47",
1494
- prefix: null,
1495
1331
  iso: "NO",
1496
1332
  flag: "https://cdn.kcak11.com/CountryFlags/countries/no.svg",
1497
1333
  mask: "(___) __-___"
@@ -1499,7 +1335,6 @@ const N = [
1499
1335
  {
1500
1336
  name: "Oman",
1501
1337
  code: "+968",
1502
- prefix: null,
1503
1338
  iso: "OM",
1504
1339
  flag: "https://cdn.kcak11.com/CountryFlags/countries/om.svg",
1505
1340
  mask: "__-___-___"
@@ -1507,7 +1342,6 @@ const N = [
1507
1342
  {
1508
1343
  name: "Pakistan",
1509
1344
  code: "+92",
1510
- prefix: null,
1511
1345
  iso: "PK",
1512
1346
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pk.svg",
1513
1347
  mask: "(___) ___-____"
@@ -1515,7 +1349,6 @@ const N = [
1515
1349
  {
1516
1350
  name: "Palau",
1517
1351
  code: "+680",
1518
- prefix: null,
1519
1352
  iso: "PW",
1520
1353
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pw.svg",
1521
1354
  mask: "___-____"
@@ -1523,7 +1356,6 @@ const N = [
1523
1356
  {
1524
1357
  name: "Palestine",
1525
1358
  code: "+970",
1526
- prefix: null,
1527
1359
  iso: "PS",
1528
1360
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ps.svg",
1529
1361
  mask: "__-___-____"
@@ -1531,7 +1363,6 @@ const N = [
1531
1363
  {
1532
1364
  name: "Panama",
1533
1365
  code: "+507",
1534
- prefix: null,
1535
1366
  iso: "PA",
1536
1367
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pa.svg",
1537
1368
  mask: "___-____"
@@ -1539,7 +1370,6 @@ const N = [
1539
1370
  {
1540
1371
  name: "Papua New Guinea",
1541
1372
  code: "+675",
1542
- prefix: null,
1543
1373
  iso: "PG",
1544
1374
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pg.svg",
1545
1375
  mask: "(___) __-___"
@@ -1547,7 +1377,6 @@ const N = [
1547
1377
  {
1548
1378
  name: "Paraguay",
1549
1379
  code: "+595",
1550
- prefix: null,
1551
1380
  iso: "PY",
1552
1381
  flag: "https://cdn.kcak11.com/CountryFlags/countries/py.svg",
1553
1382
  mask: "(___) ___-___"
@@ -1555,7 +1384,6 @@ const N = [
1555
1384
  {
1556
1385
  name: "Peru",
1557
1386
  code: "+51",
1558
- prefix: null,
1559
1387
  iso: "PE",
1560
1388
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pe.svg",
1561
1389
  mask: "(___) ___-___"
@@ -1563,7 +1391,6 @@ const N = [
1563
1391
  {
1564
1392
  name: "Philippines",
1565
1393
  code: "+63",
1566
- prefix: null,
1567
1394
  iso: "PH",
1568
1395
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ph.svg",
1569
1396
  mask: "(___) ___-____"
@@ -1571,7 +1398,6 @@ const N = [
1571
1398
  {
1572
1399
  name: "Pitcairn",
1573
1400
  code: "+870",
1574
- prefix: null,
1575
1401
  iso: "PN",
1576
1402
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pn.svg",
1577
1403
  mask: "___-___-___"
@@ -1579,7 +1405,6 @@ const N = [
1579
1405
  {
1580
1406
  name: "Poland",
1581
1407
  code: "+48",
1582
- prefix: null,
1583
1408
  iso: "PL",
1584
1409
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pl.svg",
1585
1410
  mask: "(___) ___-___"
@@ -1587,7 +1412,6 @@ const N = [
1587
1412
  {
1588
1413
  name: "Portugal",
1589
1414
  code: "+351",
1590
- prefix: null,
1591
1415
  iso: "PT",
1592
1416
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pt.svg",
1593
1417
  mask: "__-___-____"
@@ -1595,7 +1419,6 @@ const N = [
1595
1419
  {
1596
1420
  name: "Puerto Rico",
1597
1421
  code: "+1",
1598
- prefix: null,
1599
1422
  iso: "PR",
1600
1423
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pr.svg",
1601
1424
  mask: "(___) ___ ____"
@@ -1603,7 +1426,6 @@ const N = [
1603
1426
  {
1604
1427
  name: "Qatar",
1605
1428
  code: "+974",
1606
- prefix: null,
1607
1429
  iso: "QA",
1608
1430
  flag: "https://cdn.kcak11.com/CountryFlags/countries/qa.svg",
1609
1431
  mask: "____-____"
@@ -1611,7 +1433,6 @@ const N = [
1611
1433
  {
1612
1434
  name: "Reunion",
1613
1435
  code: "+262",
1614
- prefix: null,
1615
1436
  iso: "RE",
1616
1437
  flag: "https://cdn.kcak11.com/CountryFlags/countries/re.svg",
1617
1438
  mask: "_____-____"
@@ -1619,7 +1440,6 @@ const N = [
1619
1440
  {
1620
1441
  name: "Romania",
1621
1442
  code: "+40",
1622
- prefix: null,
1623
1443
  iso: "RO",
1624
1444
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ro.svg",
1625
1445
  mask: "__-___-____"
@@ -1627,7 +1447,6 @@ const N = [
1627
1447
  {
1628
1448
  name: "Russia",
1629
1449
  code: "+7",
1630
- prefix: null,
1631
1450
  iso: "RU",
1632
1451
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ru.svg",
1633
1452
  mask: "(___) ___-__-__"
@@ -1635,7 +1454,6 @@ const N = [
1635
1454
  {
1636
1455
  name: "Rwanda",
1637
1456
  code: "+250",
1638
- prefix: null,
1639
1457
  iso: "RW",
1640
1458
  flag: "https://cdn.kcak11.com/CountryFlags/countries/rw.svg",
1641
1459
  mask: "(___) ___-___"
@@ -1643,7 +1461,6 @@ const N = [
1643
1461
  {
1644
1462
  name: "Saint Barthelemy",
1645
1463
  code: "+590",
1646
- prefix: null,
1647
1464
  iso: "BL",
1648
1465
  flag: "https://cdn.kcak11.com/CountryFlags/countries/bl.svg",
1649
1466
  mask: "___-__-__-__"
@@ -1651,7 +1468,6 @@ const N = [
1651
1468
  {
1652
1469
  name: "Saint Helena, Ascension and Tristan Da Cunha",
1653
1470
  code: "+290",
1654
- prefix: null,
1655
1471
  iso: "SH",
1656
1472
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sh.svg",
1657
1473
  mask: "____"
@@ -1659,23 +1475,20 @@ const N = [
1659
1475
  {
1660
1476
  name: "Saint Kitts and Nevis",
1661
1477
  code: "+1",
1662
- prefix: null,
1663
1478
  iso: "KN",
1664
1479
  flag: "https://cdn.kcak11.com/CountryFlags/countries/kn.svg",
1665
- mask: "(869) ___-____"
1480
+ mask: "(___) ___-____"
1666
1481
  },
1667
1482
  {
1668
1483
  name: "Saint Lucia",
1669
1484
  code: "+1",
1670
- prefix: "758",
1671
1485
  iso: "LC",
1672
1486
  flag: "https://cdn.kcak11.com/CountryFlags/countries/lc.svg",
1673
- mask: "(758) ___-____"
1487
+ mask: "(___) ___-____"
1674
1488
  },
1675
1489
  {
1676
1490
  name: "Saint Martin",
1677
1491
  code: "+590",
1678
- prefix: null,
1679
1492
  iso: "MF",
1680
1493
  flag: "https://cdn.kcak11.com/CountryFlags/countries/mf.svg",
1681
1494
  mask: "(___) ___-___"
@@ -1683,7 +1496,6 @@ const N = [
1683
1496
  {
1684
1497
  name: "Saint Pierre and Miquelon",
1685
1498
  code: "+508",
1686
- prefix: null,
1687
1499
  iso: "PM",
1688
1500
  flag: "https://cdn.kcak11.com/CountryFlags/countries/pm.svg",
1689
1501
  mask: "__-____"
@@ -1691,15 +1503,13 @@ const N = [
1691
1503
  {
1692
1504
  name: "Saint Vincent and the Grenadines",
1693
1505
  code: "+1",
1694
- prefix: "784",
1695
1506
  iso: "VC",
1696
1507
  flag: "https://cdn.kcak11.com/CountryFlags/countries/vc.svg",
1697
- mask: "(784) ___-____"
1508
+ mask: "(___) ___-____"
1698
1509
  },
1699
1510
  {
1700
1511
  name: "Samoa",
1701
1512
  code: "+685",
1702
- prefix: null,
1703
1513
  iso: "WS",
1704
1514
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ws.svg",
1705
1515
  mask: "__-____"
@@ -1707,7 +1517,6 @@ const N = [
1707
1517
  {
1708
1518
  name: "San Marino",
1709
1519
  code: "+378",
1710
- prefix: null,
1711
1520
  iso: "SM",
1712
1521
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sm.svg",
1713
1522
  mask: "____-______"
@@ -1715,7 +1524,6 @@ const N = [
1715
1524
  {
1716
1525
  name: "Sao Tome and Principe",
1717
1526
  code: "+239",
1718
- prefix: null,
1719
1527
  iso: "ST",
1720
1528
  flag: "https://cdn.kcak11.com/CountryFlags/countries/st.svg",
1721
1529
  mask: "__-_____"
@@ -1723,7 +1531,6 @@ const N = [
1723
1531
  {
1724
1532
  name: "Saudi Arabia",
1725
1533
  code: "+966",
1726
- prefix: null,
1727
1534
  iso: "SA",
1728
1535
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sa.svg",
1729
1536
  mask: "_-____-____"
@@ -1731,7 +1538,6 @@ const N = [
1731
1538
  {
1732
1539
  name: "Senegal",
1733
1540
  code: "+221",
1734
- prefix: null,
1735
1541
  iso: "SN",
1736
1542
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sn.svg",
1737
1543
  mask: "__-___-____"
@@ -1739,7 +1545,6 @@ const N = [
1739
1545
  {
1740
1546
  name: "Serbia",
1741
1547
  code: "+381",
1742
- prefix: null,
1743
1548
  iso: "RS",
1744
1549
  flag: "https://cdn.kcak11.com/CountryFlags/countries/rs.svg",
1745
1550
  mask: "__-___-____"
@@ -1747,7 +1552,6 @@ const N = [
1747
1552
  {
1748
1553
  name: "Seychelles",
1749
1554
  code: "+248",
1750
- prefix: null,
1751
1555
  iso: "SC",
1752
1556
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sc.svg",
1753
1557
  mask: "_-___-___"
@@ -1755,7 +1559,6 @@ const N = [
1755
1559
  {
1756
1560
  name: "Sierra Leone",
1757
1561
  code: "+232",
1758
- prefix: null,
1759
1562
  iso: "SL",
1760
1563
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sl.svg",
1761
1564
  mask: "__-______"
@@ -1763,7 +1566,6 @@ const N = [
1763
1566
  {
1764
1567
  name: "Singapore",
1765
1568
  code: "+65",
1766
- prefix: null,
1767
1569
  iso: "SG",
1768
1570
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sg.svg",
1769
1571
  mask: "____-____"
@@ -1771,15 +1573,13 @@ const N = [
1771
1573
  {
1772
1574
  name: "Sint Maarten",
1773
1575
  code: "+1",
1774
- prefix: "721",
1775
1576
  iso: "SX",
1776
1577
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sx.svg",
1777
- mask: "(721) ___-____"
1578
+ mask: "(___) ___-____"
1778
1579
  },
1779
1580
  {
1780
1581
  name: "Slovakia",
1781
1582
  code: "+421",
1782
- prefix: null,
1783
1583
  iso: "SK",
1784
1584
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sk.svg",
1785
1585
  mask: "(___) ___-___"
@@ -1787,7 +1587,6 @@ const N = [
1787
1587
  {
1788
1588
  name: "Slovenia",
1789
1589
  code: "+386",
1790
- prefix: null,
1791
1590
  iso: "SI",
1792
1591
  flag: "https://cdn.kcak11.com/CountryFlags/countries/si.svg",
1793
1592
  mask: "__-___-___"
@@ -1795,7 +1594,6 @@ const N = [
1795
1594
  {
1796
1595
  name: "Solomon Islands",
1797
1596
  code: "+677",
1798
- prefix: null,
1799
1597
  iso: "SB",
1800
1598
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sb.svg",
1801
1599
  mask: "___-____"
@@ -1803,7 +1601,6 @@ const N = [
1803
1601
  {
1804
1602
  name: "Somalia",
1805
1603
  code: "+252",
1806
- prefix: null,
1807
1604
  iso: "SO",
1808
1605
  flag: "https://cdn.kcak11.com/CountryFlags/countries/so.svg",
1809
1606
  mask: "__-___-___"
@@ -1811,7 +1608,6 @@ const N = [
1811
1608
  {
1812
1609
  name: "South Africa",
1813
1610
  code: "+27",
1814
- prefix: null,
1815
1611
  iso: "ZA",
1816
1612
  flag: "https://cdn.kcak11.com/CountryFlags/countries/za.svg",
1817
1613
  mask: "__-___-____"
@@ -1819,7 +1615,6 @@ const N = [
1819
1615
  {
1820
1616
  name: "South Georgia and the South Sandwich Islands",
1821
1617
  code: "+500",
1822
- prefix: null,
1823
1618
  iso: "GS",
1824
1619
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gs.svg",
1825
1620
  mask: "_____"
@@ -1827,7 +1622,6 @@ const N = [
1827
1622
  {
1828
1623
  name: "South Sudan",
1829
1624
  code: "+211",
1830
- prefix: null,
1831
1625
  iso: "SS",
1832
1626
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ss.svg",
1833
1627
  mask: "__-___-____"
@@ -1835,7 +1629,6 @@ const N = [
1835
1629
  {
1836
1630
  name: "Spain",
1837
1631
  code: "+34",
1838
- prefix: null,
1839
1632
  iso: "ES",
1840
1633
  flag: "https://cdn.kcak11.com/CountryFlags/countries/es.svg",
1841
1634
  mask: "(___) ___-___"
@@ -1843,7 +1636,6 @@ const N = [
1843
1636
  {
1844
1637
  name: "Sri Lanka",
1845
1638
  code: "+94",
1846
- prefix: null,
1847
1639
  iso: "LK",
1848
1640
  flag: "https://cdn.kcak11.com/CountryFlags/countries/lk.svg",
1849
1641
  mask: "__-___-____"
@@ -1851,7 +1643,6 @@ const N = [
1851
1643
  {
1852
1644
  name: "Sudan",
1853
1645
  code: "+249",
1854
- prefix: null,
1855
1646
  iso: "SD",
1856
1647
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sd.svg",
1857
1648
  mask: "__-___-____"
@@ -1859,7 +1650,6 @@ const N = [
1859
1650
  {
1860
1651
  name: "Suriname",
1861
1652
  code: "+597",
1862
- prefix: null,
1863
1653
  iso: "SR",
1864
1654
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sr.svg",
1865
1655
  mask: "___-____"
@@ -1867,7 +1657,6 @@ const N = [
1867
1657
  {
1868
1658
  name: "Svalbard and Jan Mayen",
1869
1659
  code: "+47",
1870
- prefix: null,
1871
1660
  iso: "SJ",
1872
1661
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sj.svg",
1873
1662
  mask: "(___) __-___"
@@ -1875,7 +1664,6 @@ const N = [
1875
1664
  {
1876
1665
  name: "Sweden",
1877
1666
  code: "+46",
1878
- prefix: null,
1879
1667
  iso: "SE",
1880
1668
  flag: "https://cdn.kcak11.com/CountryFlags/countries/se.svg",
1881
1669
  mask: "__-___-____"
@@ -1883,7 +1671,6 @@ const N = [
1883
1671
  {
1884
1672
  name: "Switzerland",
1885
1673
  code: "+41",
1886
- prefix: null,
1887
1674
  iso: "CH",
1888
1675
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ch.svg",
1889
1676
  mask: "__-___-____"
@@ -1891,7 +1678,6 @@ const N = [
1891
1678
  {
1892
1679
  name: "Syrian Arab Republic",
1893
1680
  code: "+963",
1894
- prefix: null,
1895
1681
  iso: "SY",
1896
1682
  flag: "https://cdn.kcak11.com/CountryFlags/countries/sy.svg",
1897
1683
  mask: "__-____-___"
@@ -1899,7 +1685,6 @@ const N = [
1899
1685
  {
1900
1686
  name: "Taiwan",
1901
1687
  code: "+886",
1902
- prefix: null,
1903
1688
  iso: "TW",
1904
1689
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tw.svg",
1905
1690
  mask: "_-____-____"
@@ -1907,7 +1692,6 @@ const N = [
1907
1692
  {
1908
1693
  name: "Tajikistan",
1909
1694
  code: "+992",
1910
- prefix: null,
1911
1695
  iso: "TJ",
1912
1696
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tj.svg",
1913
1697
  mask: "__-___-____"
@@ -1915,7 +1699,6 @@ const N = [
1915
1699
  {
1916
1700
  name: "United Republic of Tanzania",
1917
1701
  code: "+255",
1918
- prefix: null,
1919
1702
  iso: "TZ",
1920
1703
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tz.svg",
1921
1704
  mask: "__-___-____"
@@ -1923,7 +1706,6 @@ const N = [
1923
1706
  {
1924
1707
  name: "Thailand",
1925
1708
  code: "+66",
1926
- prefix: null,
1927
1709
  iso: "TH",
1928
1710
  flag: "https://cdn.kcak11.com/CountryFlags/countries/th.svg",
1929
1711
  mask: "__-___-____"
@@ -1931,7 +1713,6 @@ const N = [
1931
1713
  {
1932
1714
  name: "Timor-Leste",
1933
1715
  code: "+670",
1934
- prefix: null,
1935
1716
  iso: "TL",
1936
1717
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tl.svg",
1937
1718
  mask: "___-_____"
@@ -1939,7 +1720,6 @@ const N = [
1939
1720
  {
1940
1721
  name: "Togo",
1941
1722
  code: "+228",
1942
- prefix: null,
1943
1723
  iso: "TG",
1944
1724
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tg.svg",
1945
1725
  mask: "__-___-___"
@@ -1947,7 +1727,6 @@ const N = [
1947
1727
  {
1948
1728
  name: "Tokelau",
1949
1729
  code: "+690",
1950
- prefix: null,
1951
1730
  iso: "TK",
1952
1731
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tk.svg",
1953
1732
  mask: "____"
@@ -1955,7 +1734,6 @@ const N = [
1955
1734
  {
1956
1735
  name: "Tonga",
1957
1736
  code: "+676",
1958
- prefix: null,
1959
1737
  iso: "TO",
1960
1738
  flag: "https://cdn.kcak11.com/CountryFlags/countries/to.svg",
1961
1739
  mask: "_____"
@@ -1963,15 +1741,13 @@ const N = [
1963
1741
  {
1964
1742
  name: "Trinidad and Tobago",
1965
1743
  code: "+1",
1966
- prefix: "868",
1967
1744
  iso: "TT",
1968
1745
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tt.svg",
1969
- mask: "(868) ___-____"
1746
+ mask: "(___) ___-____"
1970
1747
  },
1971
1748
  {
1972
1749
  name: "Tunisia",
1973
1750
  code: "+216",
1974
- prefix: null,
1975
1751
  iso: "TN",
1976
1752
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tn.svg",
1977
1753
  mask: "__-___-___"
@@ -1979,7 +1755,6 @@ const N = [
1979
1755
  {
1980
1756
  name: "Turkey",
1981
1757
  code: "+90",
1982
- prefix: null,
1983
1758
  iso: "TR",
1984
1759
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tr.svg",
1985
1760
  mask: "(___) ___-____"
@@ -1987,7 +1762,6 @@ const N = [
1987
1762
  {
1988
1763
  name: "Turkmenistan",
1989
1764
  code: "+993",
1990
- prefix: null,
1991
1765
  iso: "TM",
1992
1766
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tm.svg",
1993
1767
  mask: "_-___-____"
@@ -1995,15 +1769,13 @@ const N = [
1995
1769
  {
1996
1770
  name: "Turks and Caicos Islands",
1997
1771
  code: "+1",
1998
- prefix: "249",
1999
1772
  iso: "TC",
2000
1773
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tc.svg",
2001
- mask: "(249) ___-___"
1774
+ mask: "(___) ___-___"
2002
1775
  },
2003
1776
  {
2004
1777
  name: "Tuvalu",
2005
1778
  code: "+688",
2006
- prefix: null,
2007
1779
  iso: "TV",
2008
1780
  flag: "https://cdn.kcak11.com/CountryFlags/countries/tv.svg",
2009
1781
  mask: "______"
@@ -2011,7 +1783,6 @@ const N = [
2011
1783
  {
2012
1784
  name: "Uganda",
2013
1785
  code: "+256",
2014
- prefix: null,
2015
1786
  iso: "UG",
2016
1787
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ug.svg",
2017
1788
  mask: "(___) ___-___"
@@ -2019,7 +1790,6 @@ const N = [
2019
1790
  {
2020
1791
  name: "Ukraine",
2021
1792
  code: "+380",
2022
- prefix: null,
2023
1793
  iso: "UA",
2024
1794
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ua.svg",
2025
1795
  mask: "(__) ___-__-__"
@@ -2027,7 +1797,6 @@ const N = [
2027
1797
  {
2028
1798
  name: "United Arab Emirates",
2029
1799
  code: "+971",
2030
- prefix: null,
2031
1800
  iso: "AE",
2032
1801
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ae.svg",
2033
1802
  mask: "_-___-____"
@@ -2035,7 +1804,6 @@ const N = [
2035
1804
  {
2036
1805
  name: "United Kingdom",
2037
1806
  code: "+44",
2038
- prefix: null,
2039
1807
  iso: "GB",
2040
1808
  flag: "https://cdn.kcak11.com/CountryFlags/countries/gb.svg",
2041
1809
  mask: "__-____-____"
@@ -2043,15 +1811,13 @@ const N = [
2043
1811
  {
2044
1812
  name: "United States",
2045
1813
  code: "+1",
2046
- prefix: "408",
2047
1814
  iso: "US",
2048
1815
  flag: "https://cdn.kcak11.com/CountryFlags/countries/us.svg",
2049
- mask: "(408) ___-____"
1816
+ mask: "(___) ___-____"
2050
1817
  },
2051
1818
  {
2052
1819
  name: "Uruguay",
2053
1820
  code: "+598",
2054
- prefix: null,
2055
1821
  iso: "UY",
2056
1822
  flag: "https://cdn.kcak11.com/CountryFlags/countries/uy.svg",
2057
1823
  mask: "_-___-__-__"
@@ -2059,7 +1825,6 @@ const N = [
2059
1825
  {
2060
1826
  name: "Uzbekistan",
2061
1827
  code: "+998",
2062
- prefix: null,
2063
1828
  iso: "UZ",
2064
1829
  flag: "https://cdn.kcak11.com/CountryFlags/countries/uz.svg",
2065
1830
  mask: "__-___-____"
@@ -2067,7 +1832,6 @@ const N = [
2067
1832
  {
2068
1833
  name: "Vanuatu",
2069
1834
  code: "+678",
2070
- prefix: null,
2071
1835
  iso: "VU",
2072
1836
  flag: "https://cdn.kcak11.com/CountryFlags/countries/vu.svg",
2073
1837
  mask: "__-_____"
@@ -2075,7 +1839,6 @@ const N = [
2075
1839
  {
2076
1840
  name: "Venezuela, Bolivarian Republic of Venezuela",
2077
1841
  code: "+58",
2078
- prefix: null,
2079
1842
  iso: "VE",
2080
1843
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ve.svg",
2081
1844
  mask: "(___) ___-____"
@@ -2083,7 +1846,6 @@ const N = [
2083
1846
  {
2084
1847
  name: "Vietnam",
2085
1848
  code: "+84",
2086
- prefix: null,
2087
1849
  iso: "VN",
2088
1850
  flag: "https://cdn.kcak11.com/CountryFlags/countries/vn.svg",
2089
1851
  mask: "(___) ____-___"
@@ -2091,23 +1853,20 @@ const N = [
2091
1853
  {
2092
1854
  name: "Virgin Islands, British",
2093
1855
  code: "+1",
2094
- prefix: "284",
2095
1856
  iso: "VG",
2096
1857
  flag: "https://cdn.kcak11.com/CountryFlags/countries/vg.svg",
2097
- mask: "(284) ___-____"
1858
+ mask: "(___) ___-____"
2098
1859
  },
2099
1860
  {
2100
1861
  name: "Virgin Islands, U.S.",
2101
1862
  code: "+1",
2102
- prefix: "340",
2103
1863
  iso: "VI",
2104
1864
  flag: "https://cdn.kcak11.com/CountryFlags/countries/vi.svg",
2105
- mask: "(340) ___-____"
1865
+ mask: "(___) ___-____"
2106
1866
  },
2107
1867
  {
2108
1868
  name: "Wallis and Futuna",
2109
1869
  code: "+681",
2110
- prefix: null,
2111
1870
  iso: "WF",
2112
1871
  flag: "https://cdn.kcak11.com/CountryFlags/countries/wf.svg",
2113
1872
  mask: "__-____"
@@ -2115,7 +1874,6 @@ const N = [
2115
1874
  {
2116
1875
  name: "Yemen",
2117
1876
  code: "+967",
2118
- prefix: null,
2119
1877
  iso: "YE",
2120
1878
  flag: "https://cdn.kcak11.com/CountryFlags/countries/ye.svg",
2121
1879
  mask: "___-___-___"
@@ -2123,7 +1881,6 @@ const N = [
2123
1881
  {
2124
1882
  name: "Zambia",
2125
1883
  code: "+260",
2126
- prefix: null,
2127
1884
  iso: "ZM",
2128
1885
  flag: "https://cdn.kcak11.com/CountryFlags/countries/zm.svg",
2129
1886
  mask: "__-___-____"
@@ -2131,12 +1888,11 @@ const N = [
2131
1888
  {
2132
1889
  name: "Zimbabwe",
2133
1890
  code: "+263",
2134
- prefix: null,
2135
1891
  iso: "ZW",
2136
1892
  flag: "https://cdn.kcak11.com/CountryFlags/countries/zw.svg",
2137
1893
  mask: "_-______"
2138
1894
  }
2139
- ], f = {
1895
+ ], I = {
2140
1896
  USD: { countryLanguage: "en-US", countryCurrency: "USD" },
2141
1897
  EUR: { countryLanguage: "de-DE", countryCurrency: "EUR" },
2142
1898
  JPY: { countryLanguage: "ja-JP", countryCurrency: "JPY" },
@@ -2160,280 +1916,1834 @@ const N = [
2160
1916
  IDR: { countryLanguage: "id-ID", countryCurrency: "IDR" },
2161
1917
  THB: { countryLanguage: "th-TH", countryCurrency: "THB" }
2162
1918
  };
2163
- function L(a) {
2164
- return a.replace(new RegExp("(?:R\\$|\\p{Sc}|[$€¥£])", "gu"), "").trim();
1919
+ function G1(d) {
1920
+ return d.replace(new RegExp("(?:R\\$|\\p{Sc}|[$€¥£])", "gu"), "").trim();
2165
1921
  }
2166
- function _a(a, _, s) {
2167
- if (!(f != null && f[_]))
1922
+ function $e(d, t, e) {
1923
+ if (!(I != null && I[t]))
2168
1924
  throw new Error("Unsupported currency code");
2169
- const n = (s == null ? void 0 : s.showPrefix) ?? !0, { countryCurrency: e, countryLanguage: t } = f[_], c = new Intl.NumberFormat(t, {
1925
+ const n = (e == null ? void 0 : e.showPrefix) ?? !0, { countryCurrency: r, countryLanguage: a } = I[t], o = new Intl.NumberFormat(a, {
2170
1926
  style: "currency",
2171
- currency: e
2172
- }).format(a);
2173
- return n ? c.replace(/\s/g, " ") : L(c).replace(/\s/g, " ");
2174
- }
2175
- function na(a, _) {
2176
- if (a.length > _) {
2177
- let s = a.substring(0, _);
2178
- const n = s.lastIndexOf(" ");
2179
- return n > 0 && (s = s.substring(0, n)), s = s.replace(/[\s.,!?;:]+$/, ""), s.trim().length === 0 || /^[.,!?;:\s]+$/.test(s) ? "..." : `${s}...`;
2180
- }
2181
- return a;
2182
- }
2183
- const R = /^\d$/, G = (a) => {
2184
- let _ = 0;
2185
- const s = a.split("").map((n) => R.test(n) ? { character: n, kind: "digit", digit: ++_ } : { character: n, kind: "other" });
2186
- return { digits: _, children: s, kind: "root" };
2187
- }, U = (a, _) => Array.isArray(a) ? a : a >= 0 ? [0, a] : [_ + 1 - Math.abs(a), _], B = (a, _) => _ >= a[0] && _ <= a[1];
2188
- function sa(a, _) {
2189
- const s = G(a), n = U((_ == null ? void 0 : _.range) ?? 3, s.digits);
2190
- return s.children.map((t) => t.kind === "digit" && B(n, t.digit) ? (_ == null ? void 0 : _.hider) ?? "*" : t.character).join("");
2191
- }
2192
- function H(a) {
2193
- return a.length > 10 ? "NINE" : "EIGHT";
2194
- }
2195
- const D = {
2196
- EIGHT: "(99) 9999-9999",
2197
- NINE: "(99) 99999-9999"
2198
- }, K = k(D.NINE).length;
2199
- function O(a, _) {
2200
- let s = "", n = 0;
2201
- for (let e = 0; e < _.length; e++)
2202
- if (_[e] === "9")
2203
- if (n < a.length)
2204
- s += a[n], n++;
2205
- else
2206
- break;
2207
- else if (n < a.length)
2208
- s += _[e];
2209
- else
2210
- break;
2211
- return s;
1927
+ currency: r
1928
+ }).format(d);
1929
+ return n ? o.replace(/\s/g, " ") : G1(o).replace(/\s/g, " ");
1930
+ }
1931
+ function ie(d, t) {
1932
+ if (d.length > t) {
1933
+ let e = d.substring(0, t);
1934
+ const n = e.lastIndexOf(" ");
1935
+ return n > 0 && (e = e.substring(0, n)), e = e.replace(/[\s.,!?;:]+$/, ""), e.trim().length === 0 || /^[.,!?;:\s]+$/.test(e) ? "..." : `${e}...`;
1936
+ }
1937
+ return d;
1938
+ }
1939
+ const B1 = /^\d$/, U1 = (d) => {
1940
+ let t = 0;
1941
+ const e = d.split("").map((n) => B1.test(n) ? { character: n, kind: "digit", digit: ++t } : { character: n, kind: "other" });
1942
+ return { digits: t, children: e, kind: "root" };
1943
+ }, H1 = (d, t) => Array.isArray(d) ? d : d >= 0 ? [0, d] : [t + 1 - Math.abs(d), t], K1 = (d, t) => t >= d[0] && t <= d[1];
1944
+ function ce(d, t) {
1945
+ const e = U1(d), n = H1((t == null ? void 0 : t.range) ?? 3, e.digits);
1946
+ return e.children.map((a) => a.kind === "digit" && K1(n, a.digit) ? (t == null ? void 0 : t.hider) ?? "*" : a.character).join("");
1947
+ }
1948
+ const j1 = { 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]|3[23]|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", "8776\\d{4}|(?:[27]\\d|61)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-8]"]]]], 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, 0, [["528[89]\\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}"]]], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1[2-9])", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "8\\d{13}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "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", ["20"]], ["(\\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]"]], ["(\\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", ["20"]]], 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{4})(\\d{5})", "$1-$2", ["892"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8(?:0[0-7]|9)"], "0$1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[5-8]"], "0$1"]], "0", 0, 0, 0, 0, "[5-8]"], 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", "[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,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", ["3[289]|4[246-8]|61|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, "[3489]", 0, "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, [["(?:274[27]|(?: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-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]], 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}"]]] } };
1949
+ function V1(d, t) {
1950
+ var e = Array.prototype.slice.call(t);
1951
+ return e.push(j1), d.apply(this, e);
2212
1952
  }
2213
- function x(a, _) {
2214
- if (_.code === "+55") {
2215
- let e = k(a);
2216
- const t = H(e);
2217
- return e.length > K || (e = O(e, D[t])), e;
1953
+ function X(d, t) {
1954
+ d = d.split("-"), t = t.split("-");
1955
+ for (var e = d[0].split("."), n = t[0].split("."), r = 0; r < 3; r++) {
1956
+ var a = Number(e[r]), o = Number(n[r]);
1957
+ if (a > o) return 1;
1958
+ if (o > a) return -1;
1959
+ if (!isNaN(a) && isNaN(o)) return 1;
1960
+ if (isNaN(a) && !isNaN(o)) return -1;
2218
1961
  }
2219
- let n = _.mask;
2220
- if (_.prefix) {
2221
- const e = /\$+/g;
2222
- n = n.replace(e, _.prefix);
1962
+ return d[1] && t[1] ? d[1] > t[1] ? 1 : d[1] < t[1] ? -1 : 0 : !d[1] && t[1] ? 1 : d[1] && !t[1] ? -1 : 0;
1963
+ }
1964
+ var W1 = {}.constructor;
1965
+ function C(d) {
1966
+ return d != null && d.constructor === W1;
1967
+ }
1968
+ function F(d) {
1969
+ "@babel/helpers - typeof";
1970
+ return F = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
1971
+ return typeof t;
1972
+ } : function(t) {
1973
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1974
+ }, F(d);
1975
+ }
1976
+ function R(d, t) {
1977
+ if (!(d instanceof t)) throw new TypeError("Cannot call a class as a function");
1978
+ }
1979
+ function Y1(d, t) {
1980
+ for (var e = 0; e < t.length; e++) {
1981
+ var n = t[e];
1982
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, J1(n.key), n);
2223
1983
  }
2224
- for (let e = 0, t = 0; e < n.length && t < a.length; e++)
2225
- n[e] === "_" && (n = n.substring(0, e) + a[t] + n.substring(e + 1), t++);
1984
+ }
1985
+ function x(d, t, e) {
1986
+ return t && Y1(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
1987
+ }
1988
+ function J1(d) {
1989
+ var t = Z1(d, "string");
1990
+ return F(t) == "symbol" ? t : t + "";
1991
+ }
1992
+ function Z1(d, t) {
1993
+ if (F(d) != "object" || !d) return d;
1994
+ var e = d[Symbol.toPrimitive];
1995
+ if (e !== void 0) {
1996
+ var n = e.call(d, t);
1997
+ if (F(n) != "object") return n;
1998
+ throw new TypeError("@@toPrimitive must return a primitive value.");
1999
+ }
2000
+ return String(d);
2001
+ }
2002
+ var z1 = "1.2.0", X1 = "1.7.35", q = " ext. ", q1 = /^\d+$/, l = /* @__PURE__ */ function() {
2003
+ function d(t) {
2004
+ R(this, d), p1(t), this.metadata = t, C1.call(this, t);
2005
+ }
2006
+ return x(d, [{
2007
+ key: "getCountries",
2008
+ value: function() {
2009
+ return Object.keys(this.metadata.countries).filter(function(e) {
2010
+ return e !== "001";
2011
+ });
2012
+ }
2013
+ }, {
2014
+ key: "getCountryMetadata",
2015
+ value: function(e) {
2016
+ return this.metadata.countries[e];
2017
+ }
2018
+ }, {
2019
+ key: "nonGeographic",
2020
+ value: function() {
2021
+ if (!(this.v1 || this.v2 || this.v3))
2022
+ return this.metadata.nonGeographic || this.metadata.nonGeographical;
2023
+ }
2024
+ }, {
2025
+ key: "hasCountry",
2026
+ value: function(e) {
2027
+ return this.getCountryMetadata(e) !== void 0;
2028
+ }
2029
+ }, {
2030
+ key: "hasCallingCode",
2031
+ value: function(e) {
2032
+ if (this.getCountryCodesForCallingCode(e))
2033
+ return !0;
2034
+ if (this.nonGeographic()) {
2035
+ if (this.nonGeographic()[e])
2036
+ return !0;
2037
+ } else {
2038
+ var n = this.countryCallingCodes()[e];
2039
+ if (n && n.length === 1 && n[0] === "001")
2040
+ return !0;
2041
+ }
2042
+ }
2043
+ }, {
2044
+ key: "isNonGeographicCallingCode",
2045
+ value: function(e) {
2046
+ return this.nonGeographic() ? !!this.nonGeographic()[e] : !this.getCountryCodesForCallingCode(e);
2047
+ }
2048
+ // Deprecated.
2049
+ }, {
2050
+ key: "country",
2051
+ value: function(e) {
2052
+ return this.selectNumberingPlan(e);
2053
+ }
2054
+ }, {
2055
+ key: "selectNumberingPlan",
2056
+ value: function(e, n) {
2057
+ if (e && q1.test(e) && (n = e, e = null), e && e !== "001") {
2058
+ if (!this.hasCountry(e))
2059
+ throw new Error("Unknown country: ".concat(e));
2060
+ this.numberingPlan = new Q(this.getCountryMetadata(e), this);
2061
+ } else if (n) {
2062
+ if (!this.hasCallingCode(n))
2063
+ throw new Error("Unknown calling code: ".concat(n));
2064
+ this.numberingPlan = new Q(this.getNumberingPlanMetadata(n), this);
2065
+ } else
2066
+ this.numberingPlan = void 0;
2067
+ return this;
2068
+ }
2069
+ }, {
2070
+ key: "getCountryCodesForCallingCode",
2071
+ value: function(e) {
2072
+ var n = this.countryCallingCodes()[e];
2073
+ if (n)
2074
+ return n.length === 1 && n[0].length === 3 ? void 0 : n;
2075
+ }
2076
+ }, {
2077
+ key: "getCountryCodeForCallingCode",
2078
+ value: function(e) {
2079
+ var n = this.getCountryCodesForCallingCode(e);
2080
+ if (n)
2081
+ return n[0];
2082
+ }
2083
+ }, {
2084
+ key: "getNumberingPlanMetadata",
2085
+ value: function(e) {
2086
+ var n = this.getCountryCodeForCallingCode(e);
2087
+ if (n)
2088
+ return this.getCountryMetadata(n);
2089
+ if (this.nonGeographic()) {
2090
+ var r = this.nonGeographic()[e];
2091
+ if (r)
2092
+ return r;
2093
+ } else {
2094
+ var a = this.countryCallingCodes()[e];
2095
+ if (a && a.length === 1 && a[0] === "001")
2096
+ return this.metadata.countries["001"];
2097
+ }
2098
+ }
2099
+ // Deprecated.
2100
+ }, {
2101
+ key: "countryCallingCode",
2102
+ value: function() {
2103
+ return this.numberingPlan.callingCode();
2104
+ }
2105
+ // Deprecated.
2106
+ }, {
2107
+ key: "IDDPrefix",
2108
+ value: function() {
2109
+ return this.numberingPlan.IDDPrefix();
2110
+ }
2111
+ // Deprecated.
2112
+ }, {
2113
+ key: "defaultIDDPrefix",
2114
+ value: function() {
2115
+ return this.numberingPlan.defaultIDDPrefix();
2116
+ }
2117
+ // Deprecated.
2118
+ }, {
2119
+ key: "nationalNumberPattern",
2120
+ value: function() {
2121
+ return this.numberingPlan.nationalNumberPattern();
2122
+ }
2123
+ // Deprecated.
2124
+ }, {
2125
+ key: "possibleLengths",
2126
+ value: function() {
2127
+ return this.numberingPlan.possibleLengths();
2128
+ }
2129
+ // Deprecated.
2130
+ }, {
2131
+ key: "formats",
2132
+ value: function() {
2133
+ return this.numberingPlan.formats();
2134
+ }
2135
+ // Deprecated.
2136
+ }, {
2137
+ key: "nationalPrefixForParsing",
2138
+ value: function() {
2139
+ return this.numberingPlan.nationalPrefixForParsing();
2140
+ }
2141
+ // Deprecated.
2142
+ }, {
2143
+ key: "nationalPrefixTransformRule",
2144
+ value: function() {
2145
+ return this.numberingPlan.nationalPrefixTransformRule();
2146
+ }
2147
+ // Deprecated.
2148
+ }, {
2149
+ key: "leadingDigits",
2150
+ value: function() {
2151
+ return this.numberingPlan.leadingDigits();
2152
+ }
2153
+ // Deprecated.
2154
+ }, {
2155
+ key: "hasTypes",
2156
+ value: function() {
2157
+ return this.numberingPlan.hasTypes();
2158
+ }
2159
+ // Deprecated.
2160
+ }, {
2161
+ key: "type",
2162
+ value: function(e) {
2163
+ return this.numberingPlan.type(e);
2164
+ }
2165
+ // Deprecated.
2166
+ }, {
2167
+ key: "ext",
2168
+ value: function() {
2169
+ return this.numberingPlan.ext();
2170
+ }
2171
+ }, {
2172
+ key: "countryCallingCodes",
2173
+ value: function() {
2174
+ return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
2175
+ }
2176
+ // Deprecated.
2177
+ }, {
2178
+ key: "chooseCountryByCountryCallingCode",
2179
+ value: function(e) {
2180
+ return this.selectNumberingPlan(e);
2181
+ }
2182
+ }, {
2183
+ key: "hasSelectedNumberingPlan",
2184
+ value: function() {
2185
+ return this.numberingPlan !== void 0;
2186
+ }
2187
+ }]);
2188
+ }(), Q = /* @__PURE__ */ function() {
2189
+ function d(t, e) {
2190
+ R(this, d), this.globalMetadataObject = e, this.metadata = t, C1.call(this, e.metadata);
2191
+ }
2192
+ return x(d, [{
2193
+ key: "callingCode",
2194
+ value: function() {
2195
+ return this.metadata[0];
2196
+ }
2197
+ // Formatting information for regions which share
2198
+ // a country calling code is contained by only one region
2199
+ // for performance reasons. For example, for NANPA region
2200
+ // ("North American Numbering Plan Administration",
2201
+ // which includes USA, Canada, Cayman Islands, Bahamas, etc)
2202
+ // it will be contained in the metadata for `US`.
2203
+ }, {
2204
+ key: "getDefaultCountryMetadataForRegion",
2205
+ value: function() {
2206
+ return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
2207
+ }
2208
+ // Is always present.
2209
+ }, {
2210
+ key: "IDDPrefix",
2211
+ value: function() {
2212
+ if (!(this.v1 || this.v2))
2213
+ return this.metadata[1];
2214
+ }
2215
+ // Is only present when a country supports multiple IDD prefixes.
2216
+ }, {
2217
+ key: "defaultIDDPrefix",
2218
+ value: function() {
2219
+ if (!(this.v1 || this.v2))
2220
+ return this.metadata[12];
2221
+ }
2222
+ }, {
2223
+ key: "nationalNumberPattern",
2224
+ value: function() {
2225
+ return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
2226
+ }
2227
+ // "possible length" data is always present in Google's metadata.
2228
+ }, {
2229
+ key: "possibleLengths",
2230
+ value: function() {
2231
+ if (!this.v1)
2232
+ return this.metadata[this.v2 ? 2 : 3];
2233
+ }
2234
+ }, {
2235
+ key: "_getFormats",
2236
+ value: function(e) {
2237
+ return e[this.v1 ? 2 : this.v2 ? 3 : 4];
2238
+ }
2239
+ // For countries of the same region (e.g. NANPA)
2240
+ // formats are all stored in the "main" country for that region.
2241
+ // E.g. "RU" and "KZ", "US" and "CA".
2242
+ }, {
2243
+ key: "formats",
2244
+ value: function() {
2245
+ var e = this, n = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
2246
+ return n.map(function(r) {
2247
+ return new Q1(r, e);
2248
+ });
2249
+ }
2250
+ }, {
2251
+ key: "nationalPrefix",
2252
+ value: function() {
2253
+ return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
2254
+ }
2255
+ }, {
2256
+ key: "_getNationalPrefixFormattingRule",
2257
+ value: function(e) {
2258
+ return e[this.v1 ? 4 : this.v2 ? 5 : 6];
2259
+ }
2260
+ // For countries of the same region (e.g. NANPA)
2261
+ // national prefix formatting rule is stored in the "main" country for that region.
2262
+ // E.g. "RU" and "KZ", "US" and "CA".
2263
+ }, {
2264
+ key: "nationalPrefixFormattingRule",
2265
+ value: function() {
2266
+ return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
2267
+ }
2268
+ }, {
2269
+ key: "_nationalPrefixForParsing",
2270
+ value: function() {
2271
+ return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
2272
+ }
2273
+ }, {
2274
+ key: "nationalPrefixForParsing",
2275
+ value: function() {
2276
+ return this._nationalPrefixForParsing() || this.nationalPrefix();
2277
+ }
2278
+ }, {
2279
+ key: "nationalPrefixTransformRule",
2280
+ value: function() {
2281
+ return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
2282
+ }
2283
+ }, {
2284
+ key: "_getNationalPrefixIsOptionalWhenFormatting",
2285
+ value: function() {
2286
+ return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
2287
+ }
2288
+ // For countries of the same region (e.g. NANPA)
2289
+ // "national prefix is optional when formatting" flag is
2290
+ // stored in the "main" country for that region.
2291
+ // E.g. "RU" and "KZ", "US" and "CA".
2292
+ }, {
2293
+ key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
2294
+ value: function() {
2295
+ return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
2296
+ }
2297
+ }, {
2298
+ key: "leadingDigits",
2299
+ value: function() {
2300
+ return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
2301
+ }
2302
+ }, {
2303
+ key: "types",
2304
+ value: function() {
2305
+ return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
2306
+ }
2307
+ }, {
2308
+ key: "hasTypes",
2309
+ value: function() {
2310
+ return this.types() && this.types().length === 0 ? !1 : !!this.types();
2311
+ }
2312
+ }, {
2313
+ key: "type",
2314
+ value: function(e) {
2315
+ if (this.hasTypes() && d1(this.types(), e))
2316
+ return new td(d1(this.types(), e), this);
2317
+ }
2318
+ }, {
2319
+ key: "ext",
2320
+ value: function() {
2321
+ return this.v1 || this.v2 ? q : this.metadata[13] || q;
2322
+ }
2323
+ }]);
2324
+ }(), Q1 = /* @__PURE__ */ function() {
2325
+ function d(t, e) {
2326
+ R(this, d), this._format = t, this.metadata = e;
2327
+ }
2328
+ return x(d, [{
2329
+ key: "pattern",
2330
+ value: function() {
2331
+ return this._format[0];
2332
+ }
2333
+ }, {
2334
+ key: "format",
2335
+ value: function() {
2336
+ return this._format[1];
2337
+ }
2338
+ }, {
2339
+ key: "leadingDigitsPatterns",
2340
+ value: function() {
2341
+ return this._format[2] || [];
2342
+ }
2343
+ }, {
2344
+ key: "nationalPrefixFormattingRule",
2345
+ value: function() {
2346
+ return this._format[3] || this.metadata.nationalPrefixFormattingRule();
2347
+ }
2348
+ }, {
2349
+ key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
2350
+ value: function() {
2351
+ return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
2352
+ }
2353
+ }, {
2354
+ key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
2355
+ value: function() {
2356
+ return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
2357
+ }
2358
+ // Checks whether national prefix formatting rule contains national prefix.
2359
+ }, {
2360
+ key: "usesNationalPrefix",
2361
+ value: function() {
2362
+ return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
2363
+ !dd.test(this.nationalPrefixFormattingRule()));
2364
+ }
2365
+ }, {
2366
+ key: "internationalFormat",
2367
+ value: function() {
2368
+ return this._format[5] || this.format();
2369
+ }
2370
+ }]);
2371
+ }(), dd = /^\(?\$1\)?$/, td = /* @__PURE__ */ function() {
2372
+ function d(t, e) {
2373
+ R(this, d), this.type = t, this.metadata = e;
2374
+ }
2375
+ return x(d, [{
2376
+ key: "pattern",
2377
+ value: function() {
2378
+ return this.metadata.v1 ? this.type : this.type[0];
2379
+ }
2380
+ }, {
2381
+ key: "possibleLengths",
2382
+ value: function() {
2383
+ if (!this.metadata.v1)
2384
+ return this.type[1] || this.metadata.possibleLengths();
2385
+ }
2386
+ }]);
2387
+ }();
2388
+ function d1(d, t) {
2389
+ switch (t) {
2390
+ case "FIXED_LINE":
2391
+ return d[0];
2392
+ case "MOBILE":
2393
+ return d[1];
2394
+ case "TOLL_FREE":
2395
+ return d[2];
2396
+ case "PREMIUM_RATE":
2397
+ return d[3];
2398
+ case "PERSONAL_NUMBER":
2399
+ return d[4];
2400
+ case "VOICEMAIL":
2401
+ return d[5];
2402
+ case "UAN":
2403
+ return d[6];
2404
+ case "PAGER":
2405
+ return d[7];
2406
+ case "VOIP":
2407
+ return d[8];
2408
+ case "SHARED_COST":
2409
+ return d[9];
2410
+ }
2411
+ }
2412
+ function p1(d) {
2413
+ if (!d)
2414
+ throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
2415
+ if (!C(d) || !C(d.countries))
2416
+ 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(C(d) ? "an object of shape: { " + Object.keys(d).join(", ") + " }" : "a " + ed(d) + ": " + d, "."));
2417
+ }
2418
+ var ed = function(t) {
2419
+ return F(t);
2420
+ };
2421
+ function V(d, t) {
2422
+ if (t = new l(t), t.hasCountry(d))
2423
+ return t.selectNumberingPlan(d).countryCallingCode();
2424
+ throw new Error("Unknown country: ".concat(d));
2425
+ }
2426
+ function C1(d) {
2427
+ var t = d.version;
2428
+ typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? X(t, z1) === -1 ? this.v2 = !0 : X(t, X1) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
2429
+ }
2430
+ function W(d, t, e) {
2431
+ return nd(d, t, void 0, e);
2432
+ }
2433
+ function nd(d, t, e, n) {
2434
+ t && (n = new l(n.metadata), n.selectNumberingPlan(t));
2435
+ var r = n.type(e), a = r && r.possibleLengths() || n.possibleLengths();
2436
+ if (!a)
2437
+ return "IS_POSSIBLE";
2438
+ var o = d.length, $ = a[0];
2439
+ return $ === o ? "IS_POSSIBLE" : $ > o ? "TOO_SHORT" : a[a.length - 1] < o ? "TOO_LONG" : a.indexOf(o, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
2440
+ }
2441
+ function rd(d, t, e) {
2442
+ if (t === void 0 && (t = {}), e = new l(e), t.v2) {
2443
+ if (!d.countryCallingCode)
2444
+ throw new Error("Invalid phone number object passed");
2445
+ e.selectNumberingPlan(d.countryCallingCode);
2446
+ } else {
2447
+ if (!d.phone)
2448
+ return !1;
2449
+ if (d.country) {
2450
+ if (!e.hasCountry(d.country))
2451
+ throw new Error("Unknown country: ".concat(d.country));
2452
+ e.selectNumberingPlan(d.country);
2453
+ } else {
2454
+ if (!d.countryCallingCode)
2455
+ throw new Error("Invalid phone number object passed");
2456
+ e.selectNumberingPlan(d.countryCallingCode);
2457
+ }
2458
+ }
2459
+ if (e.possibleLengths())
2460
+ return F1(d.phone || d.nationalNumber, d.country, e);
2461
+ if (d.countryCallingCode && e.isNonGeographicCallingCode(d.countryCallingCode))
2462
+ return !0;
2463
+ throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
2464
+ }
2465
+ function F1(d, t, e) {
2466
+ switch (W(d, t, e)) {
2467
+ case "IS_POSSIBLE":
2468
+ return !0;
2469
+ default:
2470
+ return !1;
2471
+ }
2472
+ }
2473
+ function k(d, t) {
2474
+ return d = d || "", new RegExp("^(?:" + t + ")$").test(d);
2475
+ }
2476
+ function ad(d, t) {
2477
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
2478
+ if (e) return (e = e.call(d)).next.bind(e);
2479
+ if (Array.isArray(d) || (e = od(d)) || t) {
2480
+ e && (d = e);
2481
+ var n = 0;
2482
+ return function() {
2483
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
2484
+ };
2485
+ }
2486
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2487
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2488
+ }
2489
+ function od(d, t) {
2490
+ if (d) {
2491
+ if (typeof d == "string") return t1(d, t);
2492
+ var e = {}.toString.call(d).slice(8, -1);
2493
+ return e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set" ? Array.from(d) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? t1(d, t) : void 0;
2494
+ }
2495
+ }
2496
+ function t1(d, t) {
2497
+ (t == null || t > d.length) && (t = d.length);
2498
+ for (var e = 0, n = Array(t); e < t; e++) n[e] = d[e];
2226
2499
  return n;
2227
2500
  }
2228
- function z(a, _) {
2229
- const s = N.find(
2230
- (n) => n.code === a && n.prefix === _
2231
- );
2232
- if (!s) throw new Error("Invalid country code or prefix");
2233
- if (s.prefix !== _)
2234
- throw new Error("Invalid country code or prefix");
2235
- if (!s.prefix)
2236
- throw new Error("Invalid country code or prefix");
2237
- return s;
2238
- }
2239
- function Y(a) {
2240
- const _ = N.find((s) => s.code === a);
2241
- if (!_) throw new Error("Invalid country code");
2242
- if (_.prefix) throw new Error("Invalid country code");
2243
- return _;
2244
- }
2245
- const ea = (a) => {
2246
- if (!/^\+\d{1,4}(-\d{1,4})? \d+$/.test(a))
2247
- throw new Error(
2248
- "Invalid phone number format. Expected format: +<countryCode>-<optionalPrefix> <phoneNumber>"
2249
- );
2250
- const s = a.split(" ")[0].split("-")[0], n = a.split(" ")[0].split("-")[1], e = a.split(" ")[1];
2251
- if (!s || !e)
2252
- throw new Error("Invalid phone number format");
2253
- if (n) {
2254
- const c = z(s, n);
2255
- return x(e, c);
2256
- }
2257
- const t = Y(s);
2258
- return x(e, t);
2501
+ var sd = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
2502
+ function Y(d, t, e) {
2503
+ if (t = t || {}, !(!d.country && !d.countryCallingCode)) {
2504
+ e = new l(e), e.selectNumberingPlan(d.country, d.countryCallingCode);
2505
+ var n = t.v2 ? d.nationalNumber : d.phone;
2506
+ if (k(n, e.nationalNumberPattern())) {
2507
+ if (D(n, "FIXED_LINE", e))
2508
+ return e.type("MOBILE") && e.type("MOBILE").pattern() === "" || !e.type("MOBILE") || D(n, "MOBILE", e) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
2509
+ for (var r = ad(sd), a; !(a = r()).done; ) {
2510
+ var o = a.value;
2511
+ if (D(n, o, e))
2512
+ return o;
2513
+ }
2514
+ }
2515
+ }
2516
+ }
2517
+ function D(d, t, e) {
2518
+ var n = e.type(t);
2519
+ return !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(d.length) < 0 ? !1 : k(d, n.pattern());
2520
+ }
2521
+ function $d(d, t, e) {
2522
+ if (t = t || {}, e = new l(e), e.selectNumberingPlan(d.country, d.countryCallingCode), e.hasTypes())
2523
+ return Y(d, t, e.metadata) !== void 0;
2524
+ var n = t.v2 ? d.nationalNumber : d.phone;
2525
+ return k(n, e.nationalNumberPattern());
2526
+ }
2527
+ function id(d, t, e) {
2528
+ var n = new l(e), r = n.getCountryCodesForCallingCode(d);
2529
+ return r ? r.filter(function(a) {
2530
+ return cd(t, a, e);
2531
+ }) : [];
2532
+ }
2533
+ function cd(d, t, e) {
2534
+ var n = new l(e);
2535
+ return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(d.length) >= 0;
2536
+ }
2537
+ var J = 2, _d = 17, ud = 3, y = "0-90-9٠-٩۰-۹", ld = "-‐-―−ー-", gd = "//", md = "..", fd = "  ­​⁠ ", yd = "()()[]\\[\\]", hd = "~⁓∼~", w = "".concat(ld).concat(gd).concat(md).concat(fd).concat(yd).concat(hd), Z = "++", kd = new RegExp("([" + y + "])");
2538
+ function vd(d, t, e, n) {
2539
+ if (t) {
2540
+ var r = new l(n);
2541
+ r.selectNumberingPlan(t, e);
2542
+ var a = new RegExp(r.IDDPrefix());
2543
+ if (d.search(a) === 0) {
2544
+ d = d.slice(d.match(a)[0].length);
2545
+ var o = d.match(kd);
2546
+ if (!(o && o[1] != null && o[1].length > 0 && o[1] === "0"))
2547
+ return d;
2548
+ }
2549
+ }
2550
+ }
2551
+ function pd(d, t) {
2552
+ if (d && t.numberingPlan.nationalPrefixForParsing()) {
2553
+ var e = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), n = e.exec(d);
2554
+ if (n) {
2555
+ var r, a, o = n.length - 1, $ = o > 0 && n[o];
2556
+ if (t.nationalPrefixTransformRule() && $)
2557
+ r = d.replace(e, t.nationalPrefixTransformRule()), o > 1 && (a = n[1]);
2558
+ else {
2559
+ var s = n[0];
2560
+ r = d.slice(s.length), $ && (a = n[1]);
2561
+ }
2562
+ var i;
2563
+ if ($) {
2564
+ var c = d.indexOf(n[1]), u = d.slice(0, c);
2565
+ u === t.numberingPlan.nationalPrefix() && (i = t.numberingPlan.nationalPrefix());
2566
+ } else
2567
+ i = n[0];
2568
+ return {
2569
+ nationalNumber: r,
2570
+ nationalPrefix: i,
2571
+ carrierCode: a
2572
+ };
2573
+ }
2574
+ }
2575
+ return {
2576
+ nationalNumber: d
2577
+ };
2578
+ }
2579
+ function Cd(d, t) {
2580
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
2581
+ if (e) return (e = e.call(d)).next.bind(e);
2582
+ if (Array.isArray(d) || (e = Fd(d)) || t) {
2583
+ e && (d = e);
2584
+ var n = 0;
2585
+ return function() {
2586
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
2587
+ };
2588
+ }
2589
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2590
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2591
+ }
2592
+ function Fd(d, t) {
2593
+ if (d) {
2594
+ if (typeof d == "string") return e1(d, t);
2595
+ var e = {}.toString.call(d).slice(8, -1);
2596
+ return e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set" ? Array.from(d) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? e1(d, t) : void 0;
2597
+ }
2598
+ }
2599
+ function e1(d, t) {
2600
+ (t == null || t > d.length) && (t = d.length);
2601
+ for (var e = 0, n = Array(t); e < t; e++) n[e] = d[e];
2602
+ return n;
2603
+ }
2604
+ function bd(d, t) {
2605
+ var e = t.countries, n = t.metadata;
2606
+ n = new l(n);
2607
+ for (var r = Cd(e), a; !(a = r()).done; ) {
2608
+ var o = a.value;
2609
+ if (n.selectNumberingPlan(o), n.leadingDigits()) {
2610
+ if (d && d.search(n.leadingDigits()) === 0)
2611
+ return o;
2612
+ } else if (Y({
2613
+ phone: d,
2614
+ country: o
2615
+ }, void 0, n.metadata))
2616
+ return o;
2617
+ }
2618
+ }
2619
+ function b1(d, t) {
2620
+ var e = t.nationalNumber, n = t.metadata, r = n.getCountryCodesForCallingCode(d);
2621
+ if (r)
2622
+ return r.length === 1 ? r[0] : bd(e, {
2623
+ countries: r,
2624
+ metadata: n.metadata
2625
+ });
2626
+ }
2627
+ function B(d, t, e) {
2628
+ var n = pd(d, e), r = n.carrierCode, a = n.nationalNumber;
2629
+ if (a !== d) {
2630
+ if (!Pd(d, a, e))
2631
+ return {
2632
+ nationalNumber: d
2633
+ };
2634
+ if (e.numberingPlan.possibleLengths() && (t || (t = b1(e.numberingPlan.callingCode(), {
2635
+ nationalNumber: a,
2636
+ metadata: e
2637
+ })), !Nd(a, t, e)))
2638
+ return {
2639
+ nationalNumber: d
2640
+ };
2641
+ }
2642
+ return {
2643
+ nationalNumber: a,
2644
+ carrierCode: r
2645
+ };
2646
+ }
2647
+ function Pd(d, t, e) {
2648
+ return !(k(d, e.nationalNumberPattern()) && !k(t, e.nationalNumberPattern()));
2649
+ }
2650
+ function Nd(d, t, e) {
2651
+ switch (W(d, t, e)) {
2652
+ case "TOO_SHORT":
2653
+ case "INVALID_LENGTH":
2654
+ return !1;
2655
+ default:
2656
+ return !0;
2657
+ }
2658
+ }
2659
+ function Ed(d, t, e, n, r) {
2660
+ var a = e ? V(e, r) : n;
2661
+ if (d.indexOf(a) === 0) {
2662
+ r = new l(r), r.selectNumberingPlan(e, a);
2663
+ var o = d.slice(a.length), $ = B(o, t, r), s = $.nationalNumber, i = B(d, t, r), c = i.nationalNumber;
2664
+ if (!k(c, r.nationalNumberPattern()) && k(s, r.nationalNumberPattern()) || W(c, t, r) === "TOO_LONG")
2665
+ return {
2666
+ countryCallingCode: a,
2667
+ number: o
2668
+ };
2669
+ }
2670
+ return {
2671
+ number: d
2672
+ };
2673
+ }
2674
+ function P1(d, t, e, n, r) {
2675
+ if (!d)
2676
+ return {};
2677
+ var a;
2678
+ if (d[0] !== "+") {
2679
+ var o = vd(d, e, n, r);
2680
+ if (o && o !== d)
2681
+ a = !0, d = "+" + o;
2682
+ else {
2683
+ if (e || n) {
2684
+ var $ = Ed(d, t, e, n, r), s = $.countryCallingCode, i = $.number;
2685
+ if (s)
2686
+ return {
2687
+ countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
2688
+ countryCallingCode: s,
2689
+ number: i
2690
+ };
2691
+ }
2692
+ return {
2693
+ // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
2694
+ // countryCallingCodeSource: 'UNSPECIFIED',
2695
+ number: d
2696
+ };
2697
+ }
2698
+ }
2699
+ if (d[1] === "0")
2700
+ return {};
2701
+ r = new l(r);
2702
+ for (var c = 2; c - 1 <= ud && c <= d.length; ) {
2703
+ var u = d.slice(1, c);
2704
+ if (r.hasCallingCode(u))
2705
+ return r.selectNumberingPlan(u), {
2706
+ countryCallingCodeSource: a ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
2707
+ countryCallingCode: u,
2708
+ number: d.slice(c)
2709
+ };
2710
+ c++;
2711
+ }
2712
+ return {};
2713
+ }
2714
+ function Sd(d) {
2715
+ return d.replace(new RegExp("[".concat(w, "]+"), "g"), " ").trim();
2716
+ }
2717
+ var Id = /(\$\d)/;
2718
+ function Td(d, t, e) {
2719
+ var n = e.useInternationalFormat, r = e.withNationalPrefix, a = d.replace(new RegExp(t.pattern()), n ? t.internationalFormat() : (
2720
+ // This library doesn't use `domestic_carrier_code_formatting_rule`,
2721
+ // because that one is only used when formatting phone numbers
2722
+ // for dialing from a mobile phone, and this is not a dialing library.
2723
+ // carrierCode && format.domesticCarrierCodeFormattingRule()
2724
+ // // First, replace the $CC in the formatting rule with the desired carrier code.
2725
+ // // Then, replace the $FG in the formatting rule with the first group
2726
+ // // and the carrier code combined in the appropriate way.
2727
+ // ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
2728
+ // : (
2729
+ // withNationalPrefix && format.nationalPrefixFormattingRule()
2730
+ // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
2731
+ // : format.format()
2732
+ // )
2733
+ r && t.nationalPrefixFormattingRule() ? t.format().replace(Id, t.nationalPrefixFormattingRule()) : t.format()
2734
+ ));
2735
+ return n ? Sd(a) : a;
2736
+ }
2737
+ var Ad = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
2738
+ function wd(d, t, e) {
2739
+ var n = new l(e);
2740
+ if (n.selectNumberingPlan(d, t), n.defaultIDDPrefix())
2741
+ return n.defaultIDDPrefix();
2742
+ if (Ad.test(n.IDDPrefix()))
2743
+ return n.IDDPrefix();
2744
+ }
2745
+ var Od = ";ext=", p = function(t) {
2746
+ return "([".concat(y, "]{1,").concat(t, "})");
2259
2747
  };
2260
- function ta(a) {
2261
- for (var _ = 0, s = 0; s < a.length; s++)
2262
- _ = a.charCodeAt(s) + ((_ << 5) - _);
2263
- var n = (_ & 16711680) >> 16, e = (_ & 65280) >> 8, t = _ & 255, c = n.toString(16).padStart(2, "0"), i = e.toString(16).padStart(2, "0"), o = t.toString(16).padStart(2, "0");
2264
- return "#" + c + i + o;
2265
- }
2266
- var l = [];
2267
- for (var v = 0; v < 256; ++v)
2268
- l.push((v + 256).toString(16).slice(1));
2269
- function T(a, _ = 0) {
2270
- return (l[a[_ + 0]] + l[a[_ + 1]] + l[a[_ + 2]] + l[a[_ + 3]] + "-" + l[a[_ + 4]] + l[a[_ + 5]] + "-" + l[a[_ + 6]] + l[a[_ + 7]] + "-" + l[a[_ + 8]] + l[a[_ + 9]] + "-" + l[a[_ + 10]] + l[a[_ + 11]] + l[a[_ + 12]] + l[a[_ + 13]] + l[a[_ + 14]] + l[a[_ + 15]]).toLowerCase();
2271
- }
2272
- var p, J = new Uint8Array(16);
2273
- function A() {
2274
- if (!p && (p = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !p))
2748
+ function N1(d) {
2749
+ var t = "20", e = "15", n = "9", r = "6", a = "[  \\t,]*", o = "[:\\..]?[  \\t,-]*", $ = "#?", s = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", i = "(?:[xx##~~]|int|int)", c = "[- ]+", u = "[  \\t]*", m = "(?:,{2}|;)", g = Od + p(t), h = a + s + o + p(t) + $, O1 = a + i + o + p(n) + $, M1 = c + p(r) + "#", R1 = u + m + o + p(e) + $, x1 = u + "(?:,)+" + o + p(n) + $;
2750
+ return g + "|" + h + "|" + O1 + "|" + M1 + "|" + R1 + "|" + x1;
2751
+ }
2752
+ var Md = "[" + y + "]{" + J + "}", Rd = "[" + Z + "]{0,1}(?:[" + w + "]*[" + y + "]){3,}[" + w + y + "]*", xd = new RegExp("^[" + Z + "]{0,1}(?:[" + w + "]*[" + y + "]){1,2}$", "i"), Dd = Rd + // Phone number extensions
2753
+ "(?:" + N1() + ")?", Ld = new RegExp(
2754
+ // Either a short two-digit-only phone number
2755
+ "^" + Md + "$|^" + Dd + "$",
2756
+ "i"
2757
+ );
2758
+ function Gd(d) {
2759
+ return d.length >= J && Ld.test(d);
2760
+ }
2761
+ function Bd(d) {
2762
+ return xd.test(d);
2763
+ }
2764
+ function Ud(d) {
2765
+ var t = d.number, e = d.ext;
2766
+ if (!t)
2767
+ return "";
2768
+ if (t[0] !== "+")
2769
+ throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
2770
+ return "tel:".concat(t).concat(e ? ";ext=" + e : "");
2771
+ }
2772
+ var n1 = {
2773
+ formatExtension: function(t, e, n) {
2774
+ return "".concat(t).concat(n.ext()).concat(e);
2775
+ }
2776
+ };
2777
+ function Hd(d, t, e, n) {
2778
+ if (e ? e = Vd({}, n1, e) : e = n1, n = new l(n), d.country && d.country !== "001") {
2779
+ if (!n.hasCountry(d.country))
2780
+ throw new Error("Unknown country: ".concat(d.country));
2781
+ n.selectNumberingPlan(d.country);
2782
+ } else if (d.countryCallingCode)
2783
+ n.selectNumberingPlan(d.countryCallingCode);
2784
+ else return d.phone || "";
2785
+ var r = n.countryCallingCode(), a = e.v2 ? d.nationalNumber : d.phone, o;
2786
+ switch (t) {
2787
+ case "NATIONAL":
2788
+ return a ? (o = O(a, d.carrierCode, "NATIONAL", n, e), L(o, d.ext, n, e.formatExtension)) : "";
2789
+ case "INTERNATIONAL":
2790
+ return a ? (o = O(a, null, "INTERNATIONAL", n, e), o = "+".concat(r, " ").concat(o), L(o, d.ext, n, e.formatExtension)) : "+".concat(r);
2791
+ case "E.164":
2792
+ return "+".concat(r).concat(a);
2793
+ case "RFC3966":
2794
+ return Ud({
2795
+ number: "+".concat(r).concat(a),
2796
+ ext: d.ext
2797
+ });
2798
+ case "IDD":
2799
+ if (!e.fromCountry)
2800
+ return;
2801
+ var $ = jd(a, d.carrierCode, r, e.fromCountry, n);
2802
+ return $ ? L($, d.ext, n, e.formatExtension) : void 0;
2803
+ default:
2804
+ throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
2805
+ }
2806
+ }
2807
+ function O(d, t, e, n, r) {
2808
+ var a = Kd(n.formats(), d);
2809
+ return a ? Td(d, a, {
2810
+ useInternationalFormat: e === "INTERNATIONAL",
2811
+ withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && r && r.nationalPrefix === !1)
2812
+ }) : d;
2813
+ }
2814
+ function Kd(d, t) {
2815
+ return Wd(d, function(e) {
2816
+ if (e.leadingDigitsPatterns().length > 0) {
2817
+ var n = e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length - 1];
2818
+ if (t.search(n) !== 0)
2819
+ return !1;
2820
+ }
2821
+ return k(t, e.pattern());
2822
+ });
2823
+ }
2824
+ function L(d, t, e, n) {
2825
+ return t ? n(d, t, e) : d;
2826
+ }
2827
+ function jd(d, t, e, n, r) {
2828
+ var a = V(n, r.metadata);
2829
+ if (a === e) {
2830
+ var o = O(d, t, "NATIONAL", r);
2831
+ return e === "1" ? e + " " + o : o;
2832
+ }
2833
+ var $ = wd(n, void 0, r.metadata);
2834
+ if ($)
2835
+ return "".concat($, " ").concat(e, " ").concat(O(d, null, "INTERNATIONAL", r));
2836
+ }
2837
+ function Vd() {
2838
+ for (var d = 1, t = arguments.length, e = new Array(t), n = 0; n < t; n++)
2839
+ e[n] = arguments[n];
2840
+ for (; d < e.length; ) {
2841
+ if (e[d])
2842
+ for (var r in e[d])
2843
+ e[0][r] = e[d][r];
2844
+ d++;
2845
+ }
2846
+ return e[0];
2847
+ }
2848
+ function Wd(d, t) {
2849
+ for (var e = 0; e < d.length; ) {
2850
+ if (t(d[e]))
2851
+ return d[e];
2852
+ e++;
2853
+ }
2854
+ }
2855
+ function b(d) {
2856
+ "@babel/helpers - typeof";
2857
+ return b = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
2858
+ return typeof t;
2859
+ } : function(t) {
2860
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
2861
+ }, b(d);
2862
+ }
2863
+ function r1(d, t) {
2864
+ var e = Object.keys(d);
2865
+ if (Object.getOwnPropertySymbols) {
2866
+ var n = Object.getOwnPropertySymbols(d);
2867
+ t && (n = n.filter(function(r) {
2868
+ return Object.getOwnPropertyDescriptor(d, r).enumerable;
2869
+ })), e.push.apply(e, n);
2870
+ }
2871
+ return e;
2872
+ }
2873
+ function a1(d) {
2874
+ for (var t = 1; t < arguments.length; t++) {
2875
+ var e = arguments[t] != null ? arguments[t] : {};
2876
+ t % 2 ? r1(Object(e), !0).forEach(function(n) {
2877
+ Yd(d, n, e[n]);
2878
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(e)) : r1(Object(e)).forEach(function(n) {
2879
+ Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(e, n));
2880
+ });
2881
+ }
2882
+ return d;
2883
+ }
2884
+ function Yd(d, t, e) {
2885
+ return (t = E1(t)) in d ? Object.defineProperty(d, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = e, d;
2886
+ }
2887
+ function Jd(d, t) {
2888
+ if (!(d instanceof t)) throw new TypeError("Cannot call a class as a function");
2889
+ }
2890
+ function Zd(d, t) {
2891
+ for (var e = 0; e < t.length; e++) {
2892
+ var n = t[e];
2893
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(d, E1(n.key), n);
2894
+ }
2895
+ }
2896
+ function zd(d, t, e) {
2897
+ return t && Zd(d.prototype, t), Object.defineProperty(d, "prototype", { writable: !1 }), d;
2898
+ }
2899
+ function E1(d) {
2900
+ var t = Xd(d, "string");
2901
+ return b(t) == "symbol" ? t : t + "";
2902
+ }
2903
+ function Xd(d, t) {
2904
+ if (b(d) != "object" || !d) return d;
2905
+ var e = d[Symbol.toPrimitive];
2906
+ if (e !== void 0) {
2907
+ var n = e.call(d, t);
2908
+ if (b(n) != "object") return n;
2909
+ throw new TypeError("@@toPrimitive must return a primitive value.");
2910
+ }
2911
+ return String(d);
2912
+ }
2913
+ var qd = /* @__PURE__ */ function() {
2914
+ function d(t, e, n) {
2915
+ if (Jd(this, d), !t)
2916
+ throw new TypeError("First argument is required");
2917
+ if (typeof t != "string")
2918
+ throw new TypeError("First argument must be a string");
2919
+ if (t[0] === "+" && !e)
2920
+ throw new TypeError("`metadata` argument not passed");
2921
+ if (C(e) && C(e.countries)) {
2922
+ n = e;
2923
+ var r = t;
2924
+ if (!tt.test(r))
2925
+ throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
2926
+ var a = P1(r, void 0, void 0, void 0, n), o = a.countryCallingCode, $ = a.number;
2927
+ if (e = $, t = o, !e)
2928
+ throw new Error("Invalid `number` argument passed: too short");
2929
+ }
2930
+ if (!e)
2931
+ throw new TypeError("`nationalNumber` argument is required");
2932
+ if (typeof e != "string")
2933
+ throw new TypeError("`nationalNumber` argument must be a string");
2934
+ p1(n);
2935
+ var s = dt(t, n), i = s.country, c = s.countryCallingCode;
2936
+ this.country = i, this.countryCallingCode = c, this.nationalNumber = e, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
2937
+ return n;
2938
+ };
2939
+ }
2940
+ return zd(d, [{
2941
+ key: "setExt",
2942
+ value: function(e) {
2943
+ this.ext = e;
2944
+ }
2945
+ }, {
2946
+ key: "getPossibleCountries",
2947
+ value: function() {
2948
+ return this.country ? [this.country] : id(this.countryCallingCode, this.nationalNumber, this.getMetadata());
2949
+ }
2950
+ }, {
2951
+ key: "isPossible",
2952
+ value: function() {
2953
+ return rd(this, {
2954
+ v2: !0
2955
+ }, this.getMetadata());
2956
+ }
2957
+ }, {
2958
+ key: "isValid",
2959
+ value: function() {
2960
+ return $d(this, {
2961
+ v2: !0
2962
+ }, this.getMetadata());
2963
+ }
2964
+ }, {
2965
+ key: "isNonGeographic",
2966
+ value: function() {
2967
+ var e = new l(this.getMetadata());
2968
+ return e.isNonGeographicCallingCode(this.countryCallingCode);
2969
+ }
2970
+ }, {
2971
+ key: "isEqual",
2972
+ value: function(e) {
2973
+ return this.number === e.number && this.ext === e.ext;
2974
+ }
2975
+ // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
2976
+ // but later it was found out that it doesn't include the possible `TOO_SHORT` result
2977
+ // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
2978
+ // so eventually I simply commented out this method from the `PhoneNumber` class
2979
+ // and just left the `validatePhoneNumberLength()` function, even though that one would require
2980
+ // and additional step to also validate the actual country / calling code of the phone number.
2981
+ // validateLength() {
2982
+ // const metadata = new Metadata(this.getMetadata())
2983
+ // metadata.selectNumberingPlan(this.countryCallingCode)
2984
+ // const result = checkNumberLength(this.nationalNumber, metadata)
2985
+ // if (result !== 'IS_POSSIBLE') {
2986
+ // return result
2987
+ // }
2988
+ // }
2989
+ }, {
2990
+ key: "getType",
2991
+ value: function() {
2992
+ return Y(this, {
2993
+ v2: !0
2994
+ }, this.getMetadata());
2995
+ }
2996
+ }, {
2997
+ key: "format",
2998
+ value: function(e, n) {
2999
+ return Hd(this, e, n ? a1(a1({}, n), {}, {
3000
+ v2: !0
3001
+ }) : {
3002
+ v2: !0
3003
+ }, this.getMetadata());
3004
+ }
3005
+ }, {
3006
+ key: "formatNational",
3007
+ value: function(e) {
3008
+ return this.format("NATIONAL", e);
3009
+ }
3010
+ }, {
3011
+ key: "formatInternational",
3012
+ value: function(e) {
3013
+ return this.format("INTERNATIONAL", e);
3014
+ }
3015
+ }, {
3016
+ key: "getURI",
3017
+ value: function(e) {
3018
+ return this.format("RFC3966", e);
3019
+ }
3020
+ }]);
3021
+ }(), Qd = function(t) {
3022
+ return /^[A-Z]{2}$/.test(t);
3023
+ };
3024
+ function dt(d, t) {
3025
+ var e, n, r = new l(t);
3026
+ return Qd(d) ? (e = d, r.selectNumberingPlan(e), n = r.countryCallingCode()) : n = d, {
3027
+ country: e,
3028
+ countryCallingCode: n
3029
+ };
3030
+ }
3031
+ var tt = /^\+\d+$/;
3032
+ function U(d) {
3033
+ "@babel/helpers - typeof";
3034
+ return U = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3035
+ return typeof t;
3036
+ } : function(t) {
3037
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3038
+ }, U(d);
3039
+ }
3040
+ function et(d, t, e) {
3041
+ return Object.defineProperty(d, "prototype", { writable: !1 }), d;
3042
+ }
3043
+ function nt(d, t) {
3044
+ if (!(d instanceof t)) throw new TypeError("Cannot call a class as a function");
3045
+ }
3046
+ function rt(d, t, e) {
3047
+ return t = N(t), at(d, z() ? Reflect.construct(t, e || [], N(d).constructor) : t.apply(d, e));
3048
+ }
3049
+ function at(d, t) {
3050
+ if (t && (U(t) == "object" || typeof t == "function")) return t;
3051
+ if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
3052
+ return ot(d);
3053
+ }
3054
+ function ot(d) {
3055
+ if (d === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3056
+ return d;
3057
+ }
3058
+ function st(d, t) {
3059
+ if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
3060
+ d.prototype = Object.create(t && t.prototype, { constructor: { value: d, writable: !0, configurable: !0 } }), Object.defineProperty(d, "prototype", { writable: !1 }), t && P(d, t);
3061
+ }
3062
+ function H(d) {
3063
+ var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
3064
+ return H = function(n) {
3065
+ if (n === null || !it(n)) return n;
3066
+ if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
3067
+ if (t !== void 0) {
3068
+ if (t.has(n)) return t.get(n);
3069
+ t.set(n, r);
3070
+ }
3071
+ function r() {
3072
+ return $t(n, arguments, N(this).constructor);
3073
+ }
3074
+ return r.prototype = Object.create(n.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } }), P(r, n);
3075
+ }, H(d);
3076
+ }
3077
+ function $t(d, t, e) {
3078
+ if (z()) return Reflect.construct.apply(null, arguments);
3079
+ var n = [null];
3080
+ n.push.apply(n, t);
3081
+ var r = new (d.bind.apply(d, n))();
3082
+ return e && P(r, e.prototype), r;
3083
+ }
3084
+ function z() {
3085
+ try {
3086
+ var d = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
3087
+ }));
3088
+ } catch {
3089
+ }
3090
+ return (z = function() {
3091
+ return !!d;
3092
+ })();
3093
+ }
3094
+ function it(d) {
3095
+ try {
3096
+ return Function.toString.call(d).indexOf("[native code]") !== -1;
3097
+ } catch {
3098
+ return typeof d == "function";
3099
+ }
3100
+ }
3101
+ function P(d, t) {
3102
+ return P = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(e, n) {
3103
+ return e.__proto__ = n, e;
3104
+ }, P(d, t);
3105
+ }
3106
+ function N(d) {
3107
+ return N = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
3108
+ return t.__proto__ || Object.getPrototypeOf(t);
3109
+ }, N(d);
3110
+ }
3111
+ var v = /* @__PURE__ */ function(d) {
3112
+ function t(e) {
3113
+ var n;
3114
+ return nt(this, t), n = rt(this, t, [e]), Object.setPrototypeOf(n, t.prototype), n.name = n.constructor.name, n;
3115
+ }
3116
+ return st(t, d), et(t);
3117
+ }(/* @__PURE__ */ H(Error)), o1 = new RegExp("(?:" + N1() + ")$", "i");
3118
+ function ct(d) {
3119
+ var t = d.search(o1);
3120
+ if (t < 0)
3121
+ return {};
3122
+ for (var e = d.slice(0, t), n = d.match(o1), r = 1; r < n.length; ) {
3123
+ if (n[r])
3124
+ return {
3125
+ number: e,
3126
+ ext: n[r]
3127
+ };
3128
+ r++;
3129
+ }
3130
+ }
3131
+ var _t = {
3132
+ 0: "0",
3133
+ 1: "1",
3134
+ 2: "2",
3135
+ 3: "3",
3136
+ 4: "4",
3137
+ 5: "5",
3138
+ 6: "6",
3139
+ 7: "7",
3140
+ 8: "8",
3141
+ 9: "9",
3142
+ "0": "0",
3143
+ // Fullwidth digit 0
3144
+ "1": "1",
3145
+ // Fullwidth digit 1
3146
+ "2": "2",
3147
+ // Fullwidth digit 2
3148
+ "3": "3",
3149
+ // Fullwidth digit 3
3150
+ "4": "4",
3151
+ // Fullwidth digit 4
3152
+ "5": "5",
3153
+ // Fullwidth digit 5
3154
+ "6": "6",
3155
+ // Fullwidth digit 6
3156
+ "7": "7",
3157
+ // Fullwidth digit 7
3158
+ "8": "8",
3159
+ // Fullwidth digit 8
3160
+ "9": "9",
3161
+ // Fullwidth digit 9
3162
+ "٠": "0",
3163
+ // Arabic-indic digit 0
3164
+ "١": "1",
3165
+ // Arabic-indic digit 1
3166
+ "٢": "2",
3167
+ // Arabic-indic digit 2
3168
+ "٣": "3",
3169
+ // Arabic-indic digit 3
3170
+ "٤": "4",
3171
+ // Arabic-indic digit 4
3172
+ "٥": "5",
3173
+ // Arabic-indic digit 5
3174
+ "٦": "6",
3175
+ // Arabic-indic digit 6
3176
+ "٧": "7",
3177
+ // Arabic-indic digit 7
3178
+ "٨": "8",
3179
+ // Arabic-indic digit 8
3180
+ "٩": "9",
3181
+ // Arabic-indic digit 9
3182
+ "۰": "0",
3183
+ // Eastern-Arabic digit 0
3184
+ "۱": "1",
3185
+ // Eastern-Arabic digit 1
3186
+ "۲": "2",
3187
+ // Eastern-Arabic digit 2
3188
+ "۳": "3",
3189
+ // Eastern-Arabic digit 3
3190
+ "۴": "4",
3191
+ // Eastern-Arabic digit 4
3192
+ "۵": "5",
3193
+ // Eastern-Arabic digit 5
3194
+ "۶": "6",
3195
+ // Eastern-Arabic digit 6
3196
+ "۷": "7",
3197
+ // Eastern-Arabic digit 7
3198
+ "۸": "8",
3199
+ // Eastern-Arabic digit 8
3200
+ "۹": "9"
3201
+ // Eastern-Arabic digit 9
3202
+ };
3203
+ function ut(d) {
3204
+ return _t[d];
3205
+ }
3206
+ function lt(d, t) {
3207
+ var e = typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
3208
+ if (e) return (e = e.call(d)).next.bind(e);
3209
+ if (Array.isArray(d) || (e = gt(d)) || t) {
3210
+ e && (d = e);
3211
+ var n = 0;
3212
+ return function() {
3213
+ return n >= d.length ? { done: !0 } : { done: !1, value: d[n++] };
3214
+ };
3215
+ }
3216
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3217
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3218
+ }
3219
+ function gt(d, t) {
3220
+ if (d) {
3221
+ if (typeof d == "string") return s1(d, t);
3222
+ var e = {}.toString.call(d).slice(8, -1);
3223
+ return e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set" ? Array.from(d) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? s1(d, t) : void 0;
3224
+ }
3225
+ }
3226
+ function s1(d, t) {
3227
+ (t == null || t > d.length) && (t = d.length);
3228
+ for (var e = 0, n = Array(t); e < t; e++) n[e] = d[e];
3229
+ return n;
3230
+ }
3231
+ function $1(d) {
3232
+ for (var t = "", e = lt(d.split("")), n; !(n = e()).done; ) {
3233
+ var r = n.value;
3234
+ t += mt(r, t) || "";
3235
+ }
3236
+ return t;
3237
+ }
3238
+ function mt(d, t, e) {
3239
+ return d === "+" ? t ? void 0 : "+" : ut(d);
3240
+ }
3241
+ var S1 = "+", ft = "[\\-\\.\\(\\)]?", i1 = "([" + y + "]|" + ft + ")", yt = "^\\" + S1 + i1 + "*[" + y + "]" + i1 + "*$", ht = new RegExp(yt, "g"), K = y, kt = "[" + K + "]+((\\-)*[" + K + "])*", vt = "a-zA-Z", pt = "[" + vt + "]+((\\-)*[" + K + "])*", Ct = "^(" + kt + "\\.)*" + pt + "\\.?$", Ft = new RegExp(Ct, "g"), c1 = "tel:", j = ";phone-context=", bt = ";isub=";
3242
+ function Pt(d) {
3243
+ var t = d.indexOf(j);
3244
+ if (t < 0)
3245
+ return null;
3246
+ var e = t + j.length;
3247
+ if (e >= d.length)
3248
+ return "";
3249
+ var n = d.indexOf(";", e);
3250
+ return n >= 0 ? d.substring(e, n) : d.substring(e);
3251
+ }
3252
+ function Nt(d) {
3253
+ return d === null ? !0 : d.length === 0 ? !1 : ht.test(d) || Ft.test(d);
3254
+ }
3255
+ function Et(d, t) {
3256
+ var e = t.extractFormattedPhoneNumber, n = Pt(d);
3257
+ if (!Nt(n))
3258
+ throw new v("NOT_A_NUMBER");
3259
+ var r;
3260
+ if (n === null)
3261
+ r = e(d) || "";
3262
+ else {
3263
+ r = "", n.charAt(0) === S1 && (r += n);
3264
+ var a = d.indexOf(c1), o;
3265
+ a >= 0 ? o = a + c1.length : o = 0;
3266
+ var $ = d.indexOf(j);
3267
+ r += d.substring(o, $);
3268
+ }
3269
+ var s = r.indexOf(bt);
3270
+ if (s > 0 && (r = r.substring(0, s)), r !== "")
3271
+ return r;
3272
+ }
3273
+ var St = 250, It = new RegExp("[" + Z + y + "]"), Tt = new RegExp("[^" + y + "#]+$");
3274
+ function At(d, t, e) {
3275
+ if (t = t || {}, e = new l(e), t.defaultCountry && !e.hasCountry(t.defaultCountry))
3276
+ throw t.v2 ? new v("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
3277
+ var n = Ot(d, t.v2, t.extract), r = n.number, a = n.ext, o = n.error;
3278
+ if (!r) {
3279
+ if (t.v2)
3280
+ throw o === "TOO_SHORT" ? new v("TOO_SHORT") : new v("NOT_A_NUMBER");
3281
+ return {};
3282
+ }
3283
+ var $ = Rt(r, t.defaultCountry, t.defaultCallingCode, e), s = $.country, i = $.nationalNumber, c = $.countryCallingCode, u = $.countryCallingCodeSource, m = $.carrierCode;
3284
+ if (!e.hasSelectedNumberingPlan()) {
3285
+ if (t.v2)
3286
+ throw new v("INVALID_COUNTRY");
3287
+ return {};
3288
+ }
3289
+ if (!i || i.length < J) {
3290
+ if (t.v2)
3291
+ throw new v("TOO_SHORT");
3292
+ return {};
3293
+ }
3294
+ if (i.length > _d) {
3295
+ if (t.v2)
3296
+ throw new v("TOO_LONG");
3297
+ return {};
3298
+ }
3299
+ if (t.v2) {
3300
+ var g = new qd(c, i, e.metadata);
3301
+ return s && (g.country = s), m && (g.carrierCode = m), a && (g.ext = a), g.__countryCallingCodeSource = u, g;
3302
+ }
3303
+ var h = (t.extended ? e.hasSelectedNumberingPlan() : s) ? k(i, e.nationalNumberPattern()) : !1;
3304
+ return t.extended ? {
3305
+ country: s,
3306
+ countryCallingCode: c,
3307
+ carrierCode: m,
3308
+ valid: h,
3309
+ possible: h ? !0 : !!(t.extended === !0 && e.possibleLengths() && F1(i, s, e)),
3310
+ phone: i,
3311
+ ext: a
3312
+ } : h ? Mt(s, i, a) : {};
3313
+ }
3314
+ function wt(d, t, e) {
3315
+ if (d) {
3316
+ if (d.length > St) {
3317
+ if (e)
3318
+ throw new v("TOO_LONG");
3319
+ return;
3320
+ }
3321
+ if (t === !1)
3322
+ return d;
3323
+ var n = d.search(It);
3324
+ if (!(n < 0))
3325
+ return d.slice(n).replace(Tt, "");
3326
+ }
3327
+ }
3328
+ function Ot(d, t, e) {
3329
+ var n = Et(d, {
3330
+ extractFormattedPhoneNumber: function(o) {
3331
+ return wt(o, e, t);
3332
+ }
3333
+ });
3334
+ if (!n)
3335
+ return {};
3336
+ if (!Gd(n))
3337
+ return Bd(n) ? {
3338
+ error: "TOO_SHORT"
3339
+ } : {};
3340
+ var r = ct(n);
3341
+ return r.ext ? r : {
3342
+ number: n
3343
+ };
3344
+ }
3345
+ function Mt(d, t, e) {
3346
+ var n = {
3347
+ country: d,
3348
+ phone: t
3349
+ };
3350
+ return e && (n.ext = e), n;
3351
+ }
3352
+ function Rt(d, t, e, n) {
3353
+ var r = P1($1(d), void 0, t, e, n.metadata), a = r.countryCallingCodeSource, o = r.countryCallingCode, $ = r.number, s;
3354
+ if (o)
3355
+ n.selectNumberingPlan(o);
3356
+ else if ($ && (t || e))
3357
+ n.selectNumberingPlan(t, e), t && (s = t), o = e || V(t, n.metadata);
3358
+ else return {};
3359
+ if (!$)
3360
+ return {
3361
+ countryCallingCodeSource: a,
3362
+ countryCallingCode: o
3363
+ };
3364
+ var i = B($1($), s, n), c = i.nationalNumber, u = i.carrierCode, m = b1(o, {
3365
+ nationalNumber: c,
3366
+ metadata: n
3367
+ });
3368
+ return m && (s = m, m === "001" || n.selectNumberingPlan(s)), {
3369
+ country: s,
3370
+ countryCallingCode: o,
3371
+ countryCallingCodeSource: a,
3372
+ nationalNumber: c,
3373
+ carrierCode: u
3374
+ };
3375
+ }
3376
+ function E(d) {
3377
+ "@babel/helpers - typeof";
3378
+ return E = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3379
+ return typeof t;
3380
+ } : function(t) {
3381
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3382
+ }, E(d);
3383
+ }
3384
+ function _1(d, t) {
3385
+ var e = Object.keys(d);
3386
+ if (Object.getOwnPropertySymbols) {
3387
+ var n = Object.getOwnPropertySymbols(d);
3388
+ t && (n = n.filter(function(r) {
3389
+ return Object.getOwnPropertyDescriptor(d, r).enumerable;
3390
+ })), e.push.apply(e, n);
3391
+ }
3392
+ return e;
3393
+ }
3394
+ function u1(d) {
3395
+ for (var t = 1; t < arguments.length; t++) {
3396
+ var e = arguments[t] != null ? arguments[t] : {};
3397
+ t % 2 ? _1(Object(e), !0).forEach(function(n) {
3398
+ xt(d, n, e[n]);
3399
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(e)) : _1(Object(e)).forEach(function(n) {
3400
+ Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(e, n));
3401
+ });
3402
+ }
3403
+ return d;
3404
+ }
3405
+ function xt(d, t, e) {
3406
+ return (t = Dt(t)) in d ? Object.defineProperty(d, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = e, d;
3407
+ }
3408
+ function Dt(d) {
3409
+ var t = Lt(d, "string");
3410
+ return E(t) == "symbol" ? t : t + "";
3411
+ }
3412
+ function Lt(d, t) {
3413
+ if (E(d) != "object" || !d) return d;
3414
+ var e = d[Symbol.toPrimitive];
3415
+ if (e !== void 0) {
3416
+ var n = e.call(d, t);
3417
+ if (E(n) != "object") return n;
3418
+ throw new TypeError("@@toPrimitive must return a primitive value.");
3419
+ }
3420
+ return (t === "string" ? String : Number)(d);
3421
+ }
3422
+ function Gt(d, t, e) {
3423
+ return At(d, u1(u1({}, t), {}, {
3424
+ v2: !0
3425
+ }), e);
3426
+ }
3427
+ function S(d) {
3428
+ "@babel/helpers - typeof";
3429
+ return S = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
3430
+ return typeof t;
3431
+ } : function(t) {
3432
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3433
+ }, S(d);
3434
+ }
3435
+ function l1(d, t) {
3436
+ var e = Object.keys(d);
3437
+ if (Object.getOwnPropertySymbols) {
3438
+ var n = Object.getOwnPropertySymbols(d);
3439
+ t && (n = n.filter(function(r) {
3440
+ return Object.getOwnPropertyDescriptor(d, r).enumerable;
3441
+ })), e.push.apply(e, n);
3442
+ }
3443
+ return e;
3444
+ }
3445
+ function Bt(d) {
3446
+ for (var t = 1; t < arguments.length; t++) {
3447
+ var e = arguments[t] != null ? arguments[t] : {};
3448
+ t % 2 ? l1(Object(e), !0).forEach(function(n) {
3449
+ Ut(d, n, e[n]);
3450
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(d, Object.getOwnPropertyDescriptors(e)) : l1(Object(e)).forEach(function(n) {
3451
+ Object.defineProperty(d, n, Object.getOwnPropertyDescriptor(e, n));
3452
+ });
3453
+ }
3454
+ return d;
3455
+ }
3456
+ function Ut(d, t, e) {
3457
+ return (t = Ht(t)) in d ? Object.defineProperty(d, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : d[t] = e, d;
3458
+ }
3459
+ function Ht(d) {
3460
+ var t = Kt(d, "string");
3461
+ return S(t) == "symbol" ? t : t + "";
3462
+ }
3463
+ function Kt(d, t) {
3464
+ if (S(d) != "object" || !d) return d;
3465
+ var e = d[Symbol.toPrimitive];
3466
+ if (e !== void 0) {
3467
+ var n = e.call(d, t);
3468
+ if (S(n) != "object") return n;
3469
+ throw new TypeError("@@toPrimitive must return a primitive value.");
3470
+ }
3471
+ return (t === "string" ? String : Number)(d);
3472
+ }
3473
+ function jt(d, t) {
3474
+ return Jt(d) || Yt(d, t) || Wt(d, t) || Vt();
3475
+ }
3476
+ function Vt() {
3477
+ throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3478
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
3479
+ }
3480
+ function Wt(d, t) {
3481
+ if (d) {
3482
+ if (typeof d == "string") return g1(d, t);
3483
+ var e = {}.toString.call(d).slice(8, -1);
3484
+ return e === "Object" && d.constructor && (e = d.constructor.name), e === "Map" || e === "Set" ? Array.from(d) : e === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e) ? g1(d, t) : void 0;
3485
+ }
3486
+ }
3487
+ function g1(d, t) {
3488
+ (t == null || t > d.length) && (t = d.length);
3489
+ for (var e = 0, n = Array(t); e < t; e++) n[e] = d[e];
3490
+ return n;
3491
+ }
3492
+ function Yt(d, t) {
3493
+ var e = d == null ? null : typeof Symbol < "u" && d[Symbol.iterator] || d["@@iterator"];
3494
+ if (e != null) {
3495
+ var n, r, a, o, $ = [], s = !0, i = !1;
3496
+ try {
3497
+ if (a = (e = e.call(d)).next, t !== 0) for (; !(s = (n = a.call(e)).done) && ($.push(n.value), $.length !== t); s = !0) ;
3498
+ } catch (c) {
3499
+ i = !0, r = c;
3500
+ } finally {
3501
+ try {
3502
+ if (!s && e.return != null && (o = e.return(), Object(o) !== o)) return;
3503
+ } finally {
3504
+ if (i) throw r;
3505
+ }
3506
+ }
3507
+ return $;
3508
+ }
3509
+ }
3510
+ function Jt(d) {
3511
+ if (Array.isArray(d)) return d;
3512
+ }
3513
+ function Zt(d) {
3514
+ var t = Array.prototype.slice.call(d), e = jt(t, 4), n = e[0], r = e[1], a = e[2], o = e[3], $, s, i;
3515
+ if (typeof n == "string")
3516
+ $ = n;
3517
+ else throw new TypeError("A text for parsing must be a string.");
3518
+ if (!r || typeof r == "string")
3519
+ o ? (s = a, i = o) : (s = void 0, i = a), r && (s = Bt({
3520
+ defaultCountry: r
3521
+ }, s));
3522
+ else if (C(r))
3523
+ a ? (s = r, i = a) : i = r;
3524
+ else throw new Error("Invalid second argument: ".concat(r));
3525
+ return {
3526
+ text: $,
3527
+ options: s,
3528
+ metadata: i
3529
+ };
3530
+ }
3531
+ function zt() {
3532
+ var d = Zt(arguments), t = d.text, e = d.options, n = d.metadata;
3533
+ return Gt(t, e, n);
3534
+ }
3535
+ function I1() {
3536
+ return V1(zt, arguments);
3537
+ }
3538
+ function Xt(d) {
3539
+ try {
3540
+ const t = I1(d), e = t == null ? void 0 : t.country;
3541
+ if (!e) throw new Error("Invalid phone number");
3542
+ const n = L1.find((a) => a.iso === e);
3543
+ if (!n) throw new Error("Phone number country not supported");
3544
+ if (typeof n.mask == "string") return [n.mask, n];
3545
+ const r = n.mask.find((a) => {
3546
+ const o = a.replace(/[^_]/g, ""), $ = M(t.nationalNumber), s = o.length, i = $.length;
3547
+ return s === i;
3548
+ });
3549
+ if (!r)
3550
+ throw new Error("No mask found for the given phone number length");
3551
+ return [r, n];
3552
+ } catch (t) {
3553
+ const e = t;
3554
+ throw new Error(e.message);
3555
+ }
3556
+ }
3557
+ function _e(d) {
3558
+ try {
3559
+ const e = I1(d).nationalNumber.toString();
3560
+ let n = Xt(d)[0];
3561
+ for (let r = 0, a = 0; r < n.length && a < e.length; r++)
3562
+ n[r] === "_" && (n = n.substring(0, r) + e[a] + n.substring(r + 1), a++);
3563
+ return n;
3564
+ } catch (t) {
3565
+ const e = t;
3566
+ throw new Error(e.message);
3567
+ }
3568
+ }
3569
+ function ue(d) {
3570
+ for (var t = 0, e = 0; e < d.length; e++)
3571
+ t = d.charCodeAt(e) + ((t << 5) - t);
3572
+ var n = (t & 16711680) >> 16, r = (t & 65280) >> 8, a = t & 255, o = n.toString(16).padStart(2, "0"), $ = r.toString(16).padStart(2, "0"), s = a.toString(16).padStart(2, "0");
3573
+ return "#" + o + $ + s;
3574
+ }
3575
+ var _ = [];
3576
+ for (var G = 0; G < 256; ++G)
3577
+ _.push((G + 256).toString(16).slice(1));
3578
+ function T1(d, t = 0) {
3579
+ return (_[d[t + 0]] + _[d[t + 1]] + _[d[t + 2]] + _[d[t + 3]] + "-" + _[d[t + 4]] + _[d[t + 5]] + "-" + _[d[t + 6]] + _[d[t + 7]] + "-" + _[d[t + 8]] + _[d[t + 9]] + "-" + _[d[t + 10]] + _[d[t + 11]] + _[d[t + 12]] + _[d[t + 13]] + _[d[t + 14]] + _[d[t + 15]]).toLowerCase();
3580
+ }
3581
+ var T, qt = new Uint8Array(16);
3582
+ function A1() {
3583
+ if (!T && (T = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !T))
2275
3584
  throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
2276
- return p(J);
3585
+ return T(qt);
2277
3586
  }
2278
- var $ = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
2279
- const F = {
2280
- randomUUID: $
3587
+ var Qt = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
3588
+ const m1 = {
3589
+ randomUUID: Qt
2281
3590
  };
2282
- function V(a, _, s) {
2283
- if (F.randomUUID && !a)
2284
- return F.randomUUID();
2285
- a = a || {};
2286
- var n = a.random || (a.rng || A)();
2287
- return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, T(n);
2288
- }
2289
- var b = null, S = null, u = 0;
2290
- function W(a, _, s) {
2291
- a = a || {};
2292
- var n = 0, e = new Uint8Array(16), t = a.random || (a.rng || A)(), c = a.msecs !== void 0 ? a.msecs : Date.now(), i = a.seq !== void 0 ? a.seq : null, o = S, r = b;
2293
- return c > u && a.msecs === void 0 && (u = c, i !== null && (o = null, r = null)), i !== null && (i > 2147483647 && (i = 2147483647), o = i >>> 19 & 4095, r = i & 524287), (o === null || r === null) && (o = t[6] & 127, o = o << 8 | t[7], r = t[8] & 63, r = r << 8 | t[9], r = r << 5 | t[10] >>> 3), c + 1e4 > u && i === null ? ++r > 524287 && (r = 0, ++o > 4095 && (o = 0, u++)) : u = c, S = o, b = r, e[n++] = u / 1099511627776 & 255, e[n++] = u / 4294967296 & 255, e[n++] = u / 16777216 & 255, e[n++] = u / 65536 & 255, e[n++] = u / 256 & 255, e[n++] = u & 255, e[n++] = o >>> 4 & 15 | 112, e[n++] = o & 255, e[n++] = r >>> 13 & 63 | 128, e[n++] = r >>> 5 & 255, e[n++] = r << 3 & 255 | t[10] & 7, e[n++] = t[11], e[n++] = t[12], e[n++] = t[13], e[n++] = t[14], e[n++] = t[15], _ || T(e);
2294
- }
2295
- function E(a) {
2296
- a = a.replace(/-/g, "");
2297
- const _ = new Uint8Array(a.length / 2);
2298
- for (let s = 0; s < a.length; s += 2)
2299
- _[s / 2] = parseInt(a.substring(s, s + 2), 16);
2300
- return _;
2301
- }
2302
- function M() {
2303
- const a = V();
2304
- return { text: a, binary: E(a) };
2305
- }
2306
- function w() {
2307
- const a = W();
2308
- return { text: a, binary: E(a) };
2309
- }
2310
- function oa(a, _) {
2311
- if (a === "text" && _ === "v4") return M().text;
2312
- if (a === "binary" && _ === "v4") return M().binary;
2313
- if (a === "text" && _ === "v7") return w().text;
2314
- if (a === "binary" && _ === "v7") return w().binary;
3591
+ function de(d, t, e) {
3592
+ if (m1.randomUUID && !d)
3593
+ return m1.randomUUID();
3594
+ d = d || {};
3595
+ var n = d.random || (d.rng || A1)();
3596
+ return n[6] = n[6] & 15 | 64, n[8] = n[8] & 63 | 128, T1(n);
3597
+ }
3598
+ var f1 = null, y1 = null, f = 0;
3599
+ function te(d, t, e) {
3600
+ d = d || {};
3601
+ var n = 0, r = new Uint8Array(16), a = d.random || (d.rng || A1)(), o = d.msecs !== void 0 ? d.msecs : Date.now(), $ = d.seq !== void 0 ? d.seq : null, s = y1, i = f1;
3602
+ return o > f && d.msecs === void 0 && (f = o, $ !== null && (s = null, i = null)), $ !== null && ($ > 2147483647 && ($ = 2147483647), s = $ >>> 19 & 4095, i = $ & 524287), (s === null || i === null) && (s = a[6] & 127, s = s << 8 | a[7], i = a[8] & 63, i = i << 8 | a[9], i = i << 5 | a[10] >>> 3), o + 1e4 > f && $ === null ? ++i > 524287 && (i = 0, ++s > 4095 && (s = 0, f++)) : f = o, y1 = s, f1 = i, r[n++] = f / 1099511627776 & 255, r[n++] = f / 4294967296 & 255, r[n++] = f / 16777216 & 255, r[n++] = f / 65536 & 255, r[n++] = f / 256 & 255, r[n++] = f & 255, r[n++] = s >>> 4 & 15 | 112, r[n++] = s & 255, r[n++] = i >>> 13 & 63 | 128, r[n++] = i >>> 5 & 255, r[n++] = i << 3 & 255 | a[10] & 7, r[n++] = a[11], r[n++] = a[12], r[n++] = a[13], r[n++] = a[14], r[n++] = a[15], t || T1(r);
3603
+ }
3604
+ function w1(d) {
3605
+ d = d.replace(/-/g, "");
3606
+ const t = new Uint8Array(d.length / 2);
3607
+ for (let e = 0; e < d.length; e += 2)
3608
+ t[e / 2] = parseInt(d.substring(e, e + 2), 16);
3609
+ return t;
3610
+ }
3611
+ function h1() {
3612
+ const d = de();
3613
+ return { text: d, binary: w1(d) };
3614
+ }
3615
+ function k1() {
3616
+ const d = te();
3617
+ return { text: d, binary: w1(d) };
3618
+ }
3619
+ function le(d, t) {
3620
+ if (d === "text" && t === "v4") return h1().text;
3621
+ if (d === "binary" && t === "v4") return h1().binary;
3622
+ if (d === "text" && t === "v7") return k1().text;
3623
+ if (d === "binary" && t === "v7") return k1().binary;
2315
3624
  throw new Error("Invalid type or format");
2316
3625
  }
2317
- function ca(a) {
2318
- let _ = a.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
2319
- return _ = _.replace(/[^\w\s-]/g, "").replace(/\s+/g, "-").toLowerCase(), _ = _.replace(/-{2,}/g, "-"), _ = _.replace(/^-+|-+$/g, ""), _;
3626
+ function ge(d) {
3627
+ let t = d.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
3628
+ return t = t.replace(/[^\w\s-]/g, "").replace(/\s+/g, "-").toLowerCase(), t = t.replace(/-{2,}/g, "-"), t = t.replace(/^-+|-+$/g, ""), t;
2320
3629
  }
2321
- function ra(a, _ = 1e3) {
2322
- function s(e) {
2323
- return typeof e == "string" && e.length > _ ? `To large information: field as ${e.length} characters` : e;
3630
+ function me(d, t = 1e3) {
3631
+ function e(r) {
3632
+ return typeof r == "string" && r.length > t ? `To large information: field as ${r.length} characters` : r;
2324
3633
  }
2325
- function n(e) {
2326
- return Array.isArray(e) ? e.map((t) => n(t)) : e !== null && typeof e == "object" ? Object.fromEntries(
2327
- Object.entries(e).map(([t, c]) => [
2328
- t,
2329
- n(c)
3634
+ function n(r) {
3635
+ return Array.isArray(r) ? r.map((a) => n(a)) : r !== null && typeof r == "object" ? Object.fromEntries(
3636
+ Object.entries(r).map(([a, o]) => [
3637
+ a,
3638
+ n(o)
2330
3639
  ])
2331
- ) : s(e);
3640
+ ) : e(r);
2332
3641
  }
2333
3642
  try {
2334
- const e = JSON.parse(a), t = n(e);
2335
- return JSON.stringify(t);
3643
+ const r = JSON.parse(d), a = n(r);
3644
+ return JSON.stringify(a);
2336
3645
  } catch {
2337
3646
  throw new Error("Invalid JSON string");
2338
3647
  }
2339
3648
  }
2340
- function ia(a, _ = ["password", "confirmPassword", "creditCard"]) {
2341
- function s(e, t) {
2342
- return _.includes(e) ? "****" : t;
3649
+ function fe(d, t = ["password", "confirmPassword", "creditCard"]) {
3650
+ function e(r, a) {
3651
+ return t.includes(r) ? "****" : a;
2343
3652
  }
2344
- function n(e) {
2345
- return Array.isArray(e) ? e.map((t) => n(t)) : e !== null && typeof e == "object" ? Object.keys(e).reduce((t, c) => {
2346
- let i = e[c];
2347
- if (typeof i == "string")
3653
+ function n(r) {
3654
+ return Array.isArray(r) ? r.map((a) => n(a)) : r !== null && typeof r == "object" ? Object.keys(r).reduce((a, o) => {
3655
+ let $ = r[o];
3656
+ if (typeof $ == "string")
2348
3657
  try {
2349
- const o = JSON.parse(i);
2350
- typeof o == "object" && (i = JSON.stringify(n(o)));
3658
+ const s = JSON.parse($);
3659
+ typeof s == "object" && ($ = JSON.stringify(n(s)));
2351
3660
  } catch {
2352
3661
  }
2353
- return t[c] = n(s(c, i)), t;
2354
- }, {}) : e;
3662
+ return a[o] = n(e(o, $)), a;
3663
+ }, {}) : r;
2355
3664
  }
2356
3665
  try {
2357
- const e = JSON.parse(a), t = n(e);
2358
- return JSON.stringify(t);
3666
+ const r = JSON.parse(d), a = n(r);
3667
+ return JSON.stringify(a);
2359
3668
  } catch {
2360
- return a;
3669
+ return d;
2361
3670
  }
2362
3671
  }
2363
- function la([a, _ = "00:00:00"], s, n = 0) {
2364
- const e = new I();
2365
- e.validateInputFormat(s);
2366
- const t = a.split(/[-/]/).map(Number), c = _.split(".")[0].split(":").map(Number);
2367
- let i, o, r;
2368
- const [g = 0, h = 0, C = 0] = c;
2369
- switch (s) {
3672
+ function ye([d, t = "00:00:00"], e, n = 0) {
3673
+ const r = new v1();
3674
+ r.validateInputFormat(e);
3675
+ const a = d.split(/[-/]/).map(Number), o = t.split(".")[0].split(":").map(Number);
3676
+ let $, s, i;
3677
+ const [c = 0, u = 0, m = 0] = o;
3678
+ switch (e) {
2370
3679
  case "brazilianDate":
2371
- [i, o, r] = t, e.validateDateParts(r, o, i);
3680
+ [$, s, i] = a, r.validateDateParts(i, s, $);
2372
3681
  break;
2373
3682
  case "isoDate":
2374
- [o, i, r] = t, e.validateDateParts(r, o, i);
3683
+ [s, $, i] = a, r.validateDateParts(i, s, $);
2375
3684
  break;
2376
3685
  case "timestamp":
2377
- [r, o, i] = t, e.validateDateParts(r, o, i);
3686
+ [i, s, $] = a, r.validateDateParts(i, s, $);
2378
3687
  break;
2379
3688
  }
2380
- const m = new Date(
2381
- Date.UTC(r, o - 1, i, g, h, C)
3689
+ const g = new Date(
3690
+ Date.UTC(i, s - 1, $, c, u, m)
2382
3691
  );
2383
- if (isNaN(m.getTime())) throw new Error("Invalid date");
2384
- return m.setUTCHours(m.getUTCHours() + n), m;
3692
+ if (isNaN(g.getTime())) throw new Error("Invalid date");
3693
+ return g.setUTCHours(g.getUTCHours() + n), g;
2385
3694
  }
2386
- function ua(a) {
2387
- const { cashPrice: _, numberInstallments: s, fees: n = 0.0349 } = a;
2388
- if (n === 0 || s === 1)
3695
+ function he(d) {
3696
+ const { cashPrice: t, numberInstallments: e, fees: n = 0.0349 } = d;
3697
+ if (n === 0 || e === 1)
2389
3698
  return {
2390
- totalPrice: _,
2391
- installmentPrice: _ / s
3699
+ totalPrice: t,
3700
+ installmentPrice: t / e
2392
3701
  };
2393
- if (s <= 0)
3702
+ if (e <= 0)
2394
3703
  throw new Error("Number of installments must be greater than 0");
2395
3704
  if (n < 0)
2396
3705
  throw new Error("Fees must be greater than or equal to 0");
2397
- let e = Math.pow(1 + n, s) * n, t = Math.pow(1 + n, s) - 1;
2398
- const c = +(_ * (e / t)).toFixed(2);
3706
+ let r = Math.pow(1 + n, e) * n, a = Math.pow(1 + n, e) - 1;
3707
+ const o = +(t * (r / a)).toFixed(2);
2399
3708
  return {
2400
- totalPrice: +(+(c * s).toFixed(2)).toFixed(2),
2401
- installmentPrice: +c.toFixed(2)
3709
+ totalPrice: +(+(o * e).toFixed(2)).toFixed(2),
3710
+ installmentPrice: +o.toFixed(2)
2402
3711
  };
2403
3712
  }
2404
- function ga(a) {
2405
- const _ = a.startsWith("'") && a.endsWith("'"), s = a.startsWith('"') && a.endsWith('"');
2406
- return _ || s ? a : `"${a}"`;
3713
+ function ke(d) {
3714
+ const t = d.startsWith("'") && d.endsWith("'"), e = d.startsWith('"') && d.endsWith('"');
3715
+ return t || e ? d : `"${d}"`;
2407
3716
  }
2408
- function ma(a) {
2409
- return /<\/?[a-z][\s\S]*>/i.test(a);
3717
+ function ve(d) {
3718
+ return /<\/?[a-z][\s\S]*>/i.test(d);
2410
3719
  }
2411
- function ka(a) {
2412
- return a.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, "").replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi, "").replace(/<!--[\s\S]*?-->/g, "").replace(/<\/?[a-z][a-z0-9]*[^>]*>/gi, "");
3720
+ function pe(d) {
3721
+ return d.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi, "").replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi, "").replace(/<!--[\s\S]*?-->/g, "").replace(/<\/?[a-z][a-z0-9]*[^>]*>/gi, "");
2413
3722
  }
2414
3723
  export {
2415
- I as ValidateDateService,
2416
- ua as calculateCardInstallment,
2417
- ga as ensureQuotes,
2418
- Z as formatDate,
2419
- y as formatJsonObject,
2420
- q as formatJsonString,
2421
- j as formatToCapitalizeFirstWordLetter,
2422
- Q as formatToCep,
2423
- X as formatToCnpj,
2424
- aa as formatToCpf,
2425
- _a as formatToCurrency,
2426
- na as formatToEllipsis,
2427
- sa as formatToHiddenDigits,
2428
- ea as formatToPhone,
2429
- ta as generateColorByString,
2430
- oa as generateId,
2431
- ca as generateSlug,
2432
- ma as isHtml,
2433
- ra as parseLargeFields,
2434
- ia as parseSensitiveData,
2435
- la as parseToDate,
2436
- L as removeCurrencySymbols,
2437
- k as removeNonNumeric,
2438
- ka as stripHtmlTags
3724
+ v1 as ValidateDateService,
3725
+ he as calculateCardInstallment,
3726
+ ke as ensureQuotes,
3727
+ Xt as findCountryMask,
3728
+ ee as formatDate,
3729
+ A as formatJsonObject,
3730
+ ne as formatJsonString,
3731
+ re as formatToCapitalizeFirstWordLetter,
3732
+ ae as formatToCep,
3733
+ oe as formatToCnpj,
3734
+ se as formatToCpf,
3735
+ $e as formatToCurrency,
3736
+ ie as formatToEllipsis,
3737
+ ce as formatToHiddenDigits,
3738
+ _e as formatToPhone,
3739
+ ue as generateColorByString,
3740
+ le as generateId,
3741
+ ge as generateSlug,
3742
+ ve as isHtml,
3743
+ me as parseLargeFields,
3744
+ fe as parseSensitiveData,
3745
+ ye as parseToDate,
3746
+ G1 as removeCurrencySymbols,
3747
+ M as removeNonNumeric,
3748
+ pe as stripHtmlTags
2439
3749
  };