intl-tel-input 25.12.5 → 25.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { mergeModels as m0, useModel as Y0, ref as A1, onMounted as z0, watch as Z0, onUnmounted as J0, withDirectives as X0, createElementBlock as q0, openBlock as Q0, mergeProps as d2, vModelText as t2 } from "vue";
1
+ import { mergeModels as I0, useModel as Y0, ref as w1, onMounted as z0, watch as Z0, onUnmounted as J0, withDirectives as X0, createElementBlock as q0, openBlock as Q0, mergeProps as d2, vModelText as t2 } from "vue";
2
2
  const e2 = [
3
3
  [
4
4
  "af",
@@ -1676,9 +1676,9 @@ const e2 = [
1676
1676
  null,
1677
1677
  "0"
1678
1678
  ]
1679
- ], Q = [];
1679
+ ], t1 = [];
1680
1680
  for (const h of e2)
1681
- Q.push({
1681
+ t1.push({
1682
1682
  name: "",
1683
1683
  // populated in the plugin
1684
1684
  iso2: h[0],
@@ -1950,13 +1950,13 @@ const $2 = {
1950
1950
  // additional countries (not supported by country-list library)
1951
1951
  ac: "Ascension Island",
1952
1952
  xk: "Kosovo"
1953
- }, N0 = { ...$2, ...n2 }, g1 = {
1953
+ }, b0 = { ...$2, ...n2 }, _1 = {
1954
1954
  OPEN_COUNTRY_DROPDOWN: "open:countrydropdown",
1955
1955
  CLOSE_COUNTRY_DROPDOWN: "close:countrydropdown",
1956
1956
  COUNTRY_CHANGE: "countrychange",
1957
1957
  INPUT: "input"
1958
1958
  // used for synthetic input trigger
1959
- }, E = {
1959
+ }, N = {
1960
1960
  HIDE: "iti__hide",
1961
1961
  V_HIDE: "iti__v-hide",
1962
1962
  ARROW_UP: "iti__arrow--up",
@@ -1971,10 +1971,10 @@ const $2 = {
1971
1971
  ENTER: "Enter",
1972
1972
  ESC: "Escape",
1973
1973
  TAB: "Tab"
1974
- }, y0 = {
1974
+ }, _0 = {
1975
1975
  PASTE: "insertFromPaste",
1976
1976
  DELETE_FWD: "deleteContentForward"
1977
- }, q = {
1977
+ }, d1 = {
1978
1978
  ALPHA_UNICODE: new RegExp("\\p{L}", "u"),
1979
1979
  // any kind of letter from any language
1980
1980
  NON_PLUS_NUMERIC: /[^+0-9]/,
@@ -1985,20 +1985,20 @@ const $2 = {
1985
1985
  // single acceptable hidden-search char
1986
1986
  }, i2 = {
1987
1987
  HIDDEN_SEARCH_RESET_MS: 1e3
1988
- }, I0 = {
1988
+ }, N0 = {
1989
1989
  UNKNOWN_NUMBER_TYPE: -99,
1990
1990
  UNKNOWN_VALIDATION_ERROR: -99
1991
- }, w1 = {
1991
+ }, D1 = {
1992
1992
  SANE_SELECTED_WITH_DIAL_WIDTH: 78,
1993
1993
  // px width fallback when separateDialCode enabled
1994
1994
  SANE_SELECTED_NO_DIAL_WIDTH: 42,
1995
1995
  // px width fallback when no separate dial code
1996
1996
  INPUT_PADDING_EXTRA_LEFT: 6
1997
1997
  // px gap between selected country container and input text
1998
- }, S0 = {
1998
+ }, T0 = {
1999
1999
  NANP: "1"
2000
2000
  // North American Numbering Plan
2001
- }, b1 = {
2001
+ }, v1 = {
2002
2002
  DIAL_CODE: "44",
2003
2003
  // +44 United Kingdom
2004
2004
  MOBILE_PREFIX: "7",
@@ -2007,15 +2007,15 @@ const $2 = {
2007
2007
  // core number length (excluding dial code / national prefix) for mobiles
2008
2008
  }, s2 = {
2009
2009
  ISO2: "us"
2010
- }, M1 = {
2010
+ }, x1 = {
2011
2011
  AGGRESSIVE: "aggressive",
2012
2012
  POLITE: "polite"
2013
- }, T1 = {
2013
+ }, P1 = {
2014
2014
  AUTO: "auto"
2015
- }, _0 = {
2015
+ }, E0 = {
2016
2016
  COUNTRY_CODE: "countryCode",
2017
2017
  DIAL_CODE: "dialCode"
2018
- }, L = {
2018
+ }, b = {
2019
2019
  EXPANDED: "aria-expanded",
2020
2020
  LABEL: "aria-label",
2021
2021
  SELECTED: "aria-selected",
@@ -2025,11 +2025,11 @@ const $2 = {
2025
2025
  HIDDEN: "aria-hidden",
2026
2026
  AUTOCOMPLETE: "aria-autocomplete",
2027
2027
  MODAL: "aria-modal"
2028
- }, D1 = (h) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(h).matches, r2 = () => {
2028
+ }, M1 = (h) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(h).matches, r2 = () => {
2029
2029
  if (typeof navigator < "u" && typeof window < "u") {
2030
2030
  const h = /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
2031
2031
  navigator.userAgent
2032
- ), e = D1("(max-width: 500px)"), $ = D1("(max-height: 600px)"), i = D1("(pointer: coarse)");
2032
+ ), e = M1("(max-width: 500px)"), $ = M1("(max-height: 600px)"), i = M1("(pointer: coarse)");
2033
2033
  return h || e || i && $;
2034
2034
  }
2035
2035
  return !1;
@@ -2039,7 +2039,7 @@ const $2 = {
2039
2039
  //* Whether or not to allow the dropdown.
2040
2040
  allowDropdown: !0,
2041
2041
  //* Add a placeholder in the input with an example number for the selected country.
2042
- autoPlaceholder: M1.POLITE,
2042
+ autoPlaceholder: x1.POLITE,
2043
2043
  //* Modify the parentClass.
2044
2044
  containerClass: "",
2045
2045
  //* The order of the countries in the dropdown. Defaults to alphabetical.
@@ -2086,18 +2086,18 @@ const $2 = {
2086
2086
  validationNumberTypes: ["MOBILE"]
2087
2087
  }, o2 = (h, e) => {
2088
2088
  h.useFullscreenPopup && (h.fixDropdownWidth = !1), h.onlyCountries.length === 1 && (h.initialCountry = h.onlyCountries[0]), h.separateDialCode && (h.nationalMode = !1), h.allowDropdown && !h.showFlags && !h.separateDialCode && (h.nationalMode = !1), h.useFullscreenPopup && !h.dropdownContainer && (h.dropdownContainer = document.body), h.i18n = { ...e, ...h.i18n };
2089
- }, m1 = (h) => h.replace(/\D/g, ""), A0 = (h = "") => h.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), u2 = (h, e) => {
2089
+ }, N1 = (h) => h.replace(/\D/g, ""), A0 = (h = "") => h.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(), u2 = (h, e) => {
2090
2090
  const $ = A0(e), i = [], s = [], a = [], u = [], f = [], C = [];
2091
2091
  for (const _ of h)
2092
2092
  _.iso2 === $ ? i.push(_) : _.normalisedName.startsWith($) ? s.push(_) : _.normalisedName.includes($) ? a.push(_) : $ === _.dialCode || $ === _.dialCodePlus ? u.push(_) : _.dialCodePlus.includes($) ? f.push(_) : _.initials.includes($) && C.push(_);
2093
- const I = (_, A) => _.priority - A.priority;
2093
+ const y = (_, T) => _.priority - T.priority;
2094
2094
  return [
2095
- ...i.sort(I),
2096
- ...s.sort(I),
2097
- ...a.sort(I),
2098
- ...u.sort(I),
2099
- ...f.sort(I),
2100
- ...C.sort(I)
2095
+ ...i.sort(y),
2096
+ ...s.sort(y),
2097
+ ...a.sort(y),
2098
+ ...u.sort(y),
2099
+ ...f.sort(y),
2100
+ ...C.sort(y)
2101
2101
  ];
2102
2102
  }, l2 = (h, e) => {
2103
2103
  const $ = e.toLowerCase();
@@ -2105,19 +2105,19 @@ const $2 = {
2105
2105
  if (i.name.toLowerCase().startsWith($))
2106
2106
  return i;
2107
2107
  return null;
2108
- }, v1 = (h) => Object.keys(h).filter((e) => !!h[e]).join(" "), w = (h, e, $) => {
2108
+ }, R1 = (h) => Object.keys(h).filter((e) => !!h[e]).join(" "), L = (h, e, $) => {
2109
2109
  const i = document.createElement(h);
2110
2110
  return e && Object.entries(e).forEach(
2111
2111
  ([s, a]) => i.setAttribute(s, a)
2112
2112
  ), $ && $.appendChild(i), i;
2113
2113
  }, a2 = () => `
2114
- <svg class="iti__search-icon-svg" width="14" height="14" viewBox="0 0 24 24" focusable="false" ${L.HIDDEN}="true">
2114
+ <svg class="iti__search-icon-svg" width="14" height="14" viewBox="0 0 24 24" focusable="false" ${b.HIDDEN}="true">
2115
2115
  <circle cx="11" cy="11" r="7" />
2116
2116
  <line x1="21" y1="21" x2="16.65" y2="16.65" />
2117
2117
  </svg>`, c2 = (h) => {
2118
2118
  const e = `iti-${h}-clear-mask`;
2119
2119
  return `
2120
- <svg class="iti__search-clear-svg" width="12" height="12" viewBox="0 0 16 16" ${L.HIDDEN}="true" focusable="false">
2120
+ <svg class="iti__search-clear-svg" width="12" height="12" viewBox="0 0 16 16" ${b.HIDDEN}="true" focusable="false">
2121
2121
  <mask id="${e}" maskUnits="userSpaceOnUse">
2122
2122
  <rect width="16" height="16" fill="white" />
2123
2123
  <path d="M5.2 5.2 L10.8 10.8 M10.8 5.2 L5.2 10.8" stroke="black" stroke-linecap="round" class="iti__search-clear-x" />
@@ -2140,53 +2140,53 @@ class h2 {
2140
2140
  this.telInput.classList.add("iti__tel-input"), !this.telInput.hasAttribute("autocomplete") && !((e = this.telInput.form) != null && e.hasAttribute("autocomplete")) && this.telInput.setAttribute("autocomplete", "off");
2141
2141
  }
2142
2142
  _createWrapperAndInsert() {
2143
- const { allowDropdown: e, showFlags: $, containerClass: i, useFullscreenPopup: s } = this.options, a = v1({
2143
+ const { allowDropdown: e, showFlags: $, containerClass: i, useFullscreenPopup: s } = this.options, a = R1({
2144
2144
  iti: !0,
2145
2145
  "iti--allow-dropdown": e,
2146
2146
  "iti--show-flags": $,
2147
2147
  "iti--inline-dropdown": !s,
2148
2148
  [i]: !!i
2149
- }), u = w("div", { class: a });
2149
+ }), u = L("div", { class: a });
2150
2150
  return this.isRTL && u.setAttribute("dir", "ltr"), this.telInput.before(u), u;
2151
2151
  }
2152
2152
  _maybeBuildCountryContainer(e) {
2153
2153
  const { allowDropdown: $, separateDialCode: i, showFlags: s } = this.options;
2154
2154
  if ($ || s || i) {
2155
- this.countryContainer = w(
2155
+ this.countryContainer = L(
2156
2156
  "div",
2157
2157
  // visibly hidden until we measure it's width to set the input padding correctly
2158
- { class: `iti__country-container ${E.V_HIDE}` },
2158
+ { class: `iti__country-container ${N.V_HIDE}` },
2159
2159
  e
2160
- ), $ ? (this.selectedCountry = w(
2160
+ ), $ ? (this.selectedCountry = L(
2161
2161
  "button",
2162
2162
  {
2163
2163
  type: "button",
2164
2164
  class: "iti__selected-country",
2165
- [L.EXPANDED]: "false",
2166
- [L.LABEL]: this.options.i18n.noCountrySelected,
2167
- [L.HASPOPUP]: "dialog",
2168
- [L.CONTROLS]: `iti-${this.id}__dropdown-content`
2165
+ [b.EXPANDED]: "false",
2166
+ [b.LABEL]: this.options.i18n.noCountrySelected,
2167
+ [b.HASPOPUP]: "dialog",
2168
+ [b.CONTROLS]: `iti-${this.id}__dropdown-content`
2169
2169
  },
2170
2170
  this.countryContainer
2171
- ), this.telInput.disabled && this.selectedCountry.setAttribute("disabled", "true")) : this.selectedCountry = w(
2171
+ ), this.telInput.disabled && this.selectedCountry.setAttribute("disabled", "true")) : this.selectedCountry = L(
2172
2172
  "div",
2173
2173
  { class: "iti__selected-country" },
2174
2174
  this.countryContainer
2175
2175
  );
2176
- const a = w(
2176
+ const a = L(
2177
2177
  "div",
2178
2178
  { class: "iti__selected-country-primary" },
2179
2179
  this.selectedCountry
2180
2180
  );
2181
- this.selectedCountryInner = w(
2181
+ this.selectedCountryInner = L(
2182
2182
  "div",
2183
- { class: E.FLAG },
2183
+ { class: N.FLAG },
2184
2184
  a
2185
- ), $ && (this.dropdownArrow = w(
2185
+ ), $ && (this.dropdownArrow = L(
2186
2186
  "div",
2187
- { class: "iti__arrow", [L.HIDDEN]: "true" },
2187
+ { class: "iti__arrow", [b.HIDDEN]: "true" },
2188
2188
  a
2189
- )), i && (this.selectedDialCode = w(
2189
+ )), i && (this.selectedDialCode = L(
2190
2190
  "div",
2191
2191
  { class: "iti__selected-dial-code" },
2192
2192
  this.selectedCountry
@@ -2202,46 +2202,46 @@ class h2 {
2202
2202
  dropdownContainer: a,
2203
2203
  containerClass: u
2204
2204
  } = this.options, f = e ? "" : "iti--flexible-dropdown-width";
2205
- if (this.dropdownContent = w("div", {
2205
+ if (this.dropdownContent = L("div", {
2206
2206
  id: `iti-${this.id}__dropdown-content`,
2207
- class: `iti__dropdown-content ${E.HIDE} ${f}`,
2207
+ class: `iti__dropdown-content ${N.HIDE} ${f}`,
2208
2208
  role: "dialog",
2209
- [L.MODAL]: "true"
2210
- }), this.isRTL && this.dropdownContent.setAttribute("dir", "rtl"), i && this._buildSearchUI(), this.countryList = w(
2209
+ [b.MODAL]: "true"
2210
+ }), this.isRTL && this.dropdownContent.setAttribute("dir", "rtl"), i && this._buildSearchUI(), this.countryList = L(
2211
2211
  "ul",
2212
2212
  {
2213
2213
  class: "iti__country-list",
2214
2214
  id: `iti-${this.id}__country-listbox`,
2215
2215
  role: "listbox",
2216
- [L.LABEL]: s.countryListAriaLabel
2216
+ [b.LABEL]: s.countryListAriaLabel
2217
2217
  },
2218
2218
  this.dropdownContent
2219
2219
  ), this._appendListItems(), i && this.updateSearchResultsA11yText(), a) {
2220
- const C = v1({
2220
+ const C = R1({
2221
2221
  iti: !0,
2222
2222
  "iti--container": !0,
2223
2223
  "iti--fullscreen-popup": $,
2224
2224
  "iti--inline-dropdown": !$,
2225
2225
  [u]: !!u
2226
2226
  });
2227
- this.dropdown = w("div", { class: C }), this.dropdown.appendChild(this.dropdownContent);
2227
+ this.dropdown = L("div", { class: C }), this.dropdown.appendChild(this.dropdownContent);
2228
2228
  } else
2229
2229
  this.countryContainer.appendChild(this.dropdownContent);
2230
2230
  }
2231
2231
  _buildSearchUI() {
2232
- const { i18n: e } = this.options, $ = w(
2232
+ const { i18n: e } = this.options, $ = L(
2233
2233
  "div",
2234
2234
  { class: "iti__search-input-wrapper" },
2235
2235
  this.dropdownContent
2236
2236
  );
2237
- this.searchIcon = w(
2237
+ this.searchIcon = L(
2238
2238
  "span",
2239
2239
  {
2240
2240
  class: "iti__search-icon",
2241
- [L.HIDDEN]: "true"
2241
+ [b.HIDDEN]: "true"
2242
2242
  },
2243
2243
  $
2244
- ), this.searchIcon.innerHTML = a2(), this.searchInput = w(
2244
+ ), this.searchIcon.innerHTML = a2(), this.searchInput = L(
2245
2245
  "input",
2246
2246
  {
2247
2247
  id: `iti-${this.id}__search-input`,
@@ -2251,38 +2251,38 @@ class h2 {
2251
2251
  placeholder: e.searchPlaceholder,
2252
2252
  // role=combobox + aria-autocomplete=list + aria-activedescendant allows maintaining focus on the search input while allowing users to navigate search results with up/down keyboard keys
2253
2253
  role: "combobox",
2254
- [L.EXPANDED]: "true",
2255
- [L.LABEL]: e.searchPlaceholder,
2256
- [L.CONTROLS]: `iti-${this.id}__country-listbox`,
2257
- [L.AUTOCOMPLETE]: "list",
2254
+ [b.EXPANDED]: "true",
2255
+ [b.LABEL]: e.searchPlaceholder,
2256
+ [b.CONTROLS]: `iti-${this.id}__country-listbox`,
2257
+ [b.AUTOCOMPLETE]: "list",
2258
2258
  autocomplete: "off"
2259
2259
  },
2260
2260
  $
2261
- ), this.searchClearButton = w(
2261
+ ), this.searchClearButton = L(
2262
2262
  "button",
2263
2263
  {
2264
2264
  type: "button",
2265
- class: `iti__search-clear ${E.HIDE}`,
2266
- [L.LABEL]: e.clearSearchAriaLabel,
2265
+ class: `iti__search-clear ${N.HIDE}`,
2266
+ [b.LABEL]: e.clearSearchAriaLabel,
2267
2267
  tabindex: "-1"
2268
2268
  },
2269
2269
  $
2270
- ), this.searchClearButton.innerHTML = c2(this.id), this.searchResultsA11yText = w(
2270
+ ), this.searchClearButton.innerHTML = c2(this.id), this.searchResultsA11yText = L(
2271
2271
  "span",
2272
2272
  { class: "iti__a11y-text" },
2273
2273
  this.dropdownContent
2274
- ), this.searchNoResults = w(
2274
+ ), this.searchNoResults = L(
2275
2275
  "div",
2276
2276
  {
2277
- class: `iti__no-results ${E.HIDE}`,
2278
- [L.HIDDEN]: "true"
2277
+ class: `iti__no-results ${N.HIDE}`,
2278
+ [b.HIDDEN]: "true"
2279
2279
  // all a11y messaging happens in this.searchResultsA11yText
2280
2280
  },
2281
2281
  this.dropdownContent
2282
2282
  ), this.searchNoResults.textContent = e.zeroSearchResults;
2283
2283
  }
2284
2284
  _maybeUpdateInputPaddingAndReveal() {
2285
- this.countryContainer && (this.updateInputPadding(), this.countryContainer.classList.remove(E.V_HIDE));
2285
+ this.countryContainer && (this.updateInputPadding(), this.countryContainer.classList.remove(N.V_HIDE));
2286
2286
  }
2287
2287
  _maybeBuildHiddenInputs(e) {
2288
2288
  var i, s;
@@ -2293,7 +2293,7 @@ class h2 {
2293
2293
  const f = (i = this.telInput.form) == null ? void 0 : i.querySelector(
2294
2294
  `input[name="${u.phone}"]`
2295
2295
  );
2296
- f ? this.hiddenInput = f : (this.hiddenInput = w("input", {
2296
+ f ? this.hiddenInput = f : (this.hiddenInput = L("input", {
2297
2297
  type: "hidden",
2298
2298
  name: u.phone
2299
2299
  }), e.appendChild(this.hiddenInput));
@@ -2302,7 +2302,7 @@ class h2 {
2302
2302
  const f = (s = this.telInput.form) == null ? void 0 : s.querySelector(
2303
2303
  `input[name="${u.country}"]`
2304
2304
  );
2305
- f ? this.hiddenInputCountry = f : (this.hiddenInputCountry = w("input", {
2305
+ f ? this.hiddenInputCountry = f : (this.hiddenInputCountry = L("input", {
2306
2306
  type: "hidden",
2307
2307
  name: u.country
2308
2308
  }), e.appendChild(this.hiddenInputCountry));
@@ -2313,20 +2313,20 @@ class h2 {
2313
2313
  _appendListItems() {
2314
2314
  const e = document.createDocumentFragment();
2315
2315
  for (let $ = 0; $ < this.countries.length; $++) {
2316
- const i = this.countries[$], s = v1({
2317
- [E.COUNTRY_ITEM]: !0,
2318
- [E.HIGHLIGHT]: $ === 0
2319
- }), a = w("li", {
2316
+ const i = this.countries[$], s = R1({
2317
+ [N.COUNTRY_ITEM]: !0,
2318
+ [N.HIGHLIGHT]: $ === 0
2319
+ }), a = L("li", {
2320
2320
  id: `iti-${this.id}__item-${i.iso2}`,
2321
2321
  class: s,
2322
2322
  tabindex: "-1",
2323
2323
  role: "option",
2324
- [L.SELECTED]: "false"
2324
+ [b.SELECTED]: "false"
2325
2325
  });
2326
- a.dataset.dialCode = i.dialCode, a.dataset.countryCode = i.iso2, i.nodeById[this.id] = a, this.options.showFlags && w("div", { class: `${E.FLAG} iti__${i.iso2}` }, a);
2327
- const u = w("span", { class: "iti__country-name" }, a);
2326
+ a.dataset.dialCode = i.dialCode, a.dataset.countryCode = i.iso2, i.nodeById[this.id] = a, this.options.showFlags && L("div", { class: `${N.FLAG} iti__${i.iso2}` }, a);
2327
+ const u = L("span", { class: "iti__country-name" }, a);
2328
2328
  u.textContent = i.name;
2329
- const f = w("span", { class: "iti__dial-code" }, a);
2329
+ const f = L("span", { class: "iti__dial-code" }, a);
2330
2330
  this.isRTL && f.setAttribute("dir", "ltr"), f.textContent = `+${i.dialCode}`, e.appendChild(a);
2331
2331
  }
2332
2332
  this.countryList.appendChild(e);
@@ -2334,7 +2334,7 @@ class h2 {
2334
2334
  //* Update the input padding to make space for the selected country/dial code.
2335
2335
  updateInputPadding() {
2336
2336
  if (this.selectedCountry) {
2337
- const e = this.options.separateDialCode ? w1.SANE_SELECTED_WITH_DIAL_WIDTH : w1.SANE_SELECTED_NO_DIAL_WIDTH, i = (this.selectedCountry.offsetWidth || this._getHiddenSelectedCountryWidth() || e) + w1.INPUT_PADDING_EXTRA_LEFT;
2337
+ const e = this.options.separateDialCode ? D1.SANE_SELECTED_WITH_DIAL_WIDTH : D1.SANE_SELECTED_NO_DIAL_WIDTH, i = (this.selectedCountry.offsetWidth || this._getHiddenSelectedCountryWidth() || e) + D1.INPUT_PADDING_EXTRA_LEFT;
2338
2338
  this.telInput.style.paddingLeft = `${i}px`;
2339
2339
  }
2340
2340
  }
@@ -2376,20 +2376,20 @@ class h2 {
2376
2376
  }
2377
2377
  //* Check if an element is visible within it's container, else scroll until it is.
2378
2378
  scrollTo(e) {
2379
- const $ = this.countryList, i = document.documentElement.scrollTop, s = $.offsetHeight, a = $.getBoundingClientRect().top + i, u = a + s, f = e.offsetHeight, C = e.getBoundingClientRect().top + i, I = C + f, _ = C - a + $.scrollTop;
2379
+ const $ = this.countryList, i = document.documentElement.scrollTop, s = $.offsetHeight, a = $.getBoundingClientRect().top + i, u = a + s, f = e.offsetHeight, C = e.getBoundingClientRect().top + i, y = C + f, _ = C - a + $.scrollTop;
2380
2380
  if (C < a)
2381
2381
  $.scrollTop = _;
2382
- else if (I > u) {
2383
- const A = s - f;
2384
- $.scrollTop = _ - A;
2382
+ else if (y > u) {
2383
+ const T = s - f;
2384
+ $.scrollTop = _ - T;
2385
2385
  }
2386
2386
  }
2387
2387
  //* Remove highlighting from other list items and highlight the given item.
2388
2388
  highlightListItem(e, $) {
2389
2389
  const i = this.highlightedItem;
2390
- if (i && (i.classList.remove(E.HIGHLIGHT), i.setAttribute(L.SELECTED, "false")), this.highlightedItem = e, this.highlightedItem && (this.highlightedItem.classList.add(E.HIGHLIGHT), this.highlightedItem.setAttribute(L.SELECTED, "true"), this.options.countrySearch)) {
2390
+ if (i && (i.classList.remove(N.HIGHLIGHT), i.setAttribute(b.SELECTED, "false")), this.highlightedItem = e, this.highlightedItem && (this.highlightedItem.classList.add(N.HIGHLIGHT), this.highlightedItem.setAttribute(b.SELECTED, "true"), this.options.countrySearch)) {
2391
2391
  const s = this.highlightedItem.getAttribute("id") || "";
2392
- this.searchInput.setAttribute(L.ACTIVE_DESCENDANT, s);
2392
+ this.searchInput.setAttribute(b.ACTIVE_DESCENDANT, s);
2393
2393
  }
2394
2394
  $ && this.highlightedItem.focus();
2395
2395
  }
@@ -2401,7 +2401,7 @@ class h2 {
2401
2401
  const s = i.nodeById[this.id];
2402
2402
  s && (this.countryList.appendChild(s), $ && (this.highlightListItem(s, !1), $ = !1));
2403
2403
  }
2404
- $ ? (this.highlightListItem(null, !1), this.searchNoResults && this.searchNoResults.classList.remove(E.HIDE)) : this.searchNoResults && this.searchNoResults.classList.add(E.HIDE), this.countryList.scrollTop = 0, this.updateSearchResultsA11yText();
2404
+ $ ? (this.highlightListItem(null, !1), this.searchNoResults && this.searchNoResults.classList.remove(N.HIDE)) : this.searchNoResults && this.searchNoResults.classList.add(N.HIDE), this.countryList.scrollTop = 0, this.updateSearchResultsA11yText();
2405
2405
  }
2406
2406
  destroy() {
2407
2407
  this.telInput.iti = void 0, delete this.telInput.dataset.intlTelInputId, this.options.separateDialCode && (this.telInput.style.paddingLeft = this.originalPaddingLeft);
@@ -2418,18 +2418,18 @@ const f2 = (h) => {
2418
2418
  const i = e.map(
2419
2419
  (s) => s.toLowerCase()
2420
2420
  );
2421
- return Q.filter(
2421
+ return t1.filter(
2422
2422
  (s) => i.includes(s.iso2)
2423
2423
  );
2424
2424
  } else if ($.length) {
2425
2425
  const i = $.map(
2426
2426
  (s) => s.toLowerCase()
2427
2427
  );
2428
- return Q.filter(
2428
+ return t1.filter(
2429
2429
  (s) => !i.includes(s.iso2)
2430
2430
  );
2431
2431
  }
2432
- return Q;
2432
+ return t1;
2433
2433
  }, p2 = (h, e) => {
2434
2434
  for (const $ of h) {
2435
2435
  const i = $.iso2.toLowerCase();
@@ -2442,11 +2442,11 @@ const f2 = (h) => {
2442
2442
  if (!u || !f)
2443
2443
  return;
2444
2444
  f.length > i && (i = f.length), s.hasOwnProperty(f) || (s[f] = []);
2445
- const I = s[f];
2446
- if (I.includes(u))
2445
+ const y = s[f];
2446
+ if (y.includes(u))
2447
2447
  return;
2448
- const _ = C !== void 0 ? C : I.length;
2449
- I[_] = u;
2448
+ const _ = C !== void 0 ? C : y.length;
2449
+ y[_] = u;
2450
2450
  };
2451
2451
  for (const u of h) {
2452
2452
  $.has(u.dialCode) || $.add(u.dialCode);
@@ -2463,9 +2463,9 @@ const f2 = (h) => {
2463
2463
  if (u.areaCodes) {
2464
2464
  const f = s[u.dialCode][0];
2465
2465
  for (const C of u.areaCodes) {
2466
- for (let I = 1; I < C.length; I++) {
2467
- const _ = C.substring(0, I), A = u.dialCode + _;
2468
- a(f, A), a(u.iso2, A);
2466
+ for (let y = 1; y < C.length; y++) {
2467
+ const _ = C.substring(0, y), T = u.dialCode + _;
2468
+ a(f, T), a(u.iso2, T);
2469
2469
  }
2470
2470
  a(u.iso2, u.dialCode + C);
2471
2471
  }
@@ -2508,7 +2508,7 @@ const f2 = (h) => {
2508
2508
  return a;
2509
2509
  }
2510
2510
  return e.length;
2511
- }, E2 = [
2511
+ }, N2 = [
2512
2512
  "800",
2513
2513
  "822",
2514
2514
  "833",
@@ -2526,21 +2526,21 @@ const f2 = (h) => {
2526
2526
  "887",
2527
2527
  "888",
2528
2528
  "889"
2529
- ], E0 = (h) => {
2530
- const e = m1(h);
2531
- if (e.startsWith(S0.NANP) && e.length >= 4) {
2529
+ ], S0 = (h) => {
2530
+ const e = N1(h);
2531
+ if (e.startsWith(T0.NANP) && e.length >= 4) {
2532
2532
  const $ = e.substring(1, 4);
2533
- return E2.includes($);
2533
+ return N2.includes($);
2534
2534
  }
2535
2535
  return !1;
2536
2536
  };
2537
- for (const h of Q)
2538
- h.name = N0[h.iso2];
2539
- let N2 = 0;
2540
- const S2 = new Set(Q.map((h) => h.iso2)), P1 = (h) => S2.has(h);
2541
- class R1 {
2537
+ for (const h of t1)
2538
+ h.name = b0[h.iso2];
2539
+ let E2 = 0;
2540
+ const S2 = new Set(t1.map((h) => h.iso2)), O1 = (h) => S2.has(h);
2541
+ class B1 {
2542
2542
  constructor(e, $ = {}) {
2543
- this.id = N2++, this.options = { ...L0, ...$ }, o2(this.options, N0), this.ui = new h2(e, this.options, this.id), this.isAndroid = R1._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = f2(this.options);
2543
+ this.id = E2++, this.options = { ...L0, ...$ }, o2(this.options, b0), this.ui = new h2(e, this.options, this.id), this.isAndroid = B1._getIsAndroid(), this.promise = this._createInitPromises(), this.countries = f2(this.options);
2544
2544
  const { dialCodes: i, dialCodeMaxLen: s, dialCodeToIso2Map: a } = C2(
2545
2545
  this.countries,
2546
2546
  this.options
@@ -2550,6 +2550,31 @@ class R1 {
2550
2550
  static _getIsAndroid() {
2551
2551
  return typeof navigator < "u" ? /Android/i.test(navigator.userAgent) : !1;
2552
2552
  }
2553
+ _updateNumeralSet(e) {
2554
+ /[\u0660-\u0669]/.test(e) ? this.userNumeralSet = "arabic-indic" : /[\u06F0-\u06F9]/.test(e) ? this.userNumeralSet = "persian" : this.userNumeralSet = "ascii";
2555
+ }
2556
+ _mapAsciiToUserNumerals(e) {
2557
+ if (this.userNumeralSet || this._updateNumeralSet(this.ui.telInput.value), this.userNumeralSet === "ascii")
2558
+ return e;
2559
+ const $ = this.userNumeralSet === "arabic-indic" ? 1632 : 1776;
2560
+ return e.replace(/[0-9]/g, (i) => String.fromCharCode($ + Number(i)));
2561
+ }
2562
+ // Normalize Eastern Arabic (U+0660-0669) and Persian/Extended Arabic-Indic (U+06F0-06F9) numerals to ASCII 0-9
2563
+ _normaliseNumerals(e) {
2564
+ if (!e)
2565
+ return "";
2566
+ if (this._updateNumeralSet(e), this.userNumeralSet === "ascii")
2567
+ return e;
2568
+ const $ = this.userNumeralSet === "arabic-indic" ? 1632 : 1776, i = this.userNumeralSet === "arabic-indic" ? /[\u0660-\u0669]/g : /[\u06F0-\u06F9]/g;
2569
+ return e.replace(i, (s) => String.fromCharCode(48 + (s.charCodeAt(0) - $)));
2570
+ }
2571
+ _getTelInputValue() {
2572
+ const e = this.ui.telInput.value.trim();
2573
+ return this._normaliseNumerals(e);
2574
+ }
2575
+ _setTelInputValue(e) {
2576
+ this.ui.telInput.value = this._mapAsciiToUserNumerals(e);
2577
+ }
2553
2578
  _createInitPromises() {
2554
2579
  const e = new Promise((i, s) => {
2555
2580
  this.resolveAutoCountryPromise = i, this.rejectAutoCountryPromise = s;
@@ -2573,14 +2598,14 @@ class R1 {
2573
2598
  //* 1. Extracting a dial code from the given number
2574
2599
  //* 2. Using explicit initialCountry
2575
2600
  _setInitialState(e = !1) {
2576
- const $ = this.ui.telInput.getAttribute("value"), i = this.ui.telInput.value, a = $ && $.startsWith("+") && (!i || !i.startsWith("+")) ? $ : i, u = this._getDialCode(a), f = E0(a), { initialCountry: C, geoIpLookup: I } = this.options, _ = C === T1.AUTO && I;
2577
- if (u && !f)
2578
- this._updateCountryFromNumber(a);
2579
- else if (!_ || e) {
2580
- const A = C ? C.toLowerCase() : "";
2581
- P1(A) ? this._setCountry(A) : u && f ? this._setCountry(s2.ISO2) : this._setCountry("");
2601
+ const $ = this.ui.telInput.getAttribute("value"), i = this._normaliseNumerals($), s = this._getTelInputValue(), u = i && i.startsWith("+") && (!s || !s.startsWith("+")) ? i : s, f = this._getDialCode(u), C = S0(u), { initialCountry: y, geoIpLookup: _ } = this.options, T = y === P1.AUTO && _;
2602
+ if (f && !C)
2603
+ this._updateCountryFromNumber(u);
2604
+ else if (!T || e) {
2605
+ const B = y ? y.toLowerCase() : "";
2606
+ O1(B) ? this._setCountry(B) : f && C ? this._setCountry(s2.ISO2) : this._setCountry("");
2582
2607
  }
2583
- a && this._updateValFromNumber(a);
2608
+ u && this._updateValFromNumber(u);
2584
2609
  }
2585
2610
  //* Initialise the main event listeners: input keyup, and click selected country.
2586
2611
  _initListeners() {
@@ -2599,12 +2624,12 @@ class R1 {
2599
2624
  //* initialise the dropdown listeners.
2600
2625
  _initDropdownListeners() {
2601
2626
  const e = this.abortController.signal, $ = (u) => {
2602
- this.ui.dropdownContent.classList.contains(E.HIDE) ? this.ui.telInput.focus() : u.preventDefault();
2627
+ this.ui.dropdownContent.classList.contains(N.HIDE) ? this.ui.telInput.focus() : u.preventDefault();
2603
2628
  }, i = this.ui.telInput.closest("label");
2604
2629
  i && i.addEventListener("click", $, { signal: e });
2605
2630
  const s = () => {
2606
2631
  this.ui.dropdownContent.classList.contains(
2607
- E.HIDE
2632
+ N.HIDE
2608
2633
  ) && !this.ui.telInput.disabled && !this.ui.telInput.readOnly && this._openDropdown();
2609
2634
  };
2610
2635
  this.ui.selectedCountry.addEventListener(
@@ -2616,7 +2641,7 @@ class R1 {
2616
2641
  );
2617
2642
  const a = (u) => {
2618
2643
  this.ui.dropdownContent.classList.contains(
2619
- E.HIDE
2644
+ N.HIDE
2620
2645
  ) && [x.ARROW_UP, x.ARROW_DOWN, x.SPACE, x.ENTER].includes(u.key) && (u.preventDefault(), u.stopPropagation(), this._openDropdown()), u.key === x.TAB && this._closeDropdown();
2621
2646
  };
2622
2647
  this.ui.countryContainer.addEventListener(
@@ -2646,17 +2671,17 @@ class R1 {
2646
2671
  }
2647
2672
  } else
2648
2673
  this.resolveUtilsScriptPromise();
2649
- $ === T1.AUTO && i && !this.selectedCountryData.iso2 ? this._loadAutoCountry() : this.resolveAutoCountryPromise();
2674
+ $ === P1.AUTO && i && !this.selectedCountryData.iso2 ? this._loadAutoCountry() : this.resolveAutoCountryPromise();
2650
2675
  }
2651
2676
  //* Perform the geo ip lookup.
2652
2677
  _loadAutoCountry() {
2653
2678
  m.autoCountry ? this.handleAutoCountry() : m.startedLoadingAutoCountry || (m.startedLoadingAutoCountry = !0, typeof this.options.geoIpLookup == "function" && this.options.geoIpLookup(
2654
2679
  (e = "") => {
2655
2680
  const $ = e.toLowerCase();
2656
- P1($) ? (m.autoCountry = $, setTimeout(() => r1("handleAutoCountry"))) : (this._setInitialState(!0), r1("rejectAutoCountryPromise"));
2681
+ O1($) ? (m.autoCountry = $, setTimeout(() => l1("handleAutoCountry"))) : (this._setInitialState(!0), l1("rejectAutoCountryPromise"));
2657
2682
  },
2658
2683
  () => {
2659
- this._setInitialState(!0), r1("rejectAutoCountryPromise");
2684
+ this._setInitialState(!0), l1("rejectAutoCountryPromise");
2660
2685
  }
2661
2686
  ));
2662
2687
  }
@@ -2676,40 +2701,38 @@ class R1 {
2676
2701
  countrySearch: a
2677
2702
  } = this.options;
2678
2703
  let u = !1;
2679
- q.ALPHA_UNICODE.test(this.ui.telInput.value) && (u = !0);
2704
+ d1.ALPHA_UNICODE.test(this._getTelInputValue()) && (u = !0);
2680
2705
  const f = (C) => {
2706
+ const y = this._getTelInputValue();
2681
2707
  if (this.isAndroid && (C == null ? void 0 : C.data) === "+" && i && s && a) {
2682
- const v = this.ui.telInput.selectionStart || 0, N = this.ui.telInput.value.substring(
2683
- 0,
2684
- v - 1
2685
- ), T = this.ui.telInput.value.substring(v);
2686
- this.ui.telInput.value = N + T, this._openDropdownWithPlus();
2708
+ const w = this.ui.telInput.selectionStart || 0, H = y.substring(0, w - 1), k = y.substring(w);
2709
+ this._setTelInputValue(H + k), this._openDropdownWithPlus();
2687
2710
  return;
2688
2711
  }
2689
- this._updateCountryFromNumber(this.ui.telInput.value) && this._triggerCountryChange();
2690
- const I = (C == null ? void 0 : C.data) && q.NON_PLUS_NUMERIC.test(C.data), _ = (C == null ? void 0 : C.inputType) === y0.PASTE && this.ui.telInput.value;
2691
- I || _ && !e ? u = !0 : q.NON_PLUS_NUMERIC.test(this.ui.telInput.value) || (u = !1);
2692
- const A = (C == null ? void 0 : C.detail) && C.detail.isSetNumber;
2693
- if ($ && !u && !A) {
2694
- const v = this.ui.telInput.selectionStart || 0, T = this.ui.telInput.value.substring(
2712
+ this._updateCountryFromNumber(y) && this._triggerCountryChange();
2713
+ const _ = (C == null ? void 0 : C.data) && d1.NON_PLUS_NUMERIC.test(C.data), T = (C == null ? void 0 : C.inputType) === _0.PASTE && y;
2714
+ _ || T && !e ? u = !0 : d1.NON_PLUS_NUMERIC.test(y) || (u = !1);
2715
+ const B = (C == null ? void 0 : C.detail) && C.detail.isSetNumber, E = this.userNumeralSet === "ascii";
2716
+ if ($ && !u && !B && E) {
2717
+ const w = this.ui.telInput.selectionStart || 0, k = y.substring(
2695
2718
  0,
2696
- v
2719
+ w
2697
2720
  ).replace(
2698
- q.NON_PLUS_NUMERIC_GLOBAL,
2721
+ d1.NON_PLUS_NUMERIC_GLOBAL,
2699
2722
  ""
2700
- ).length, k = (C == null ? void 0 : C.inputType) === y0.DELETE_FWD, P = this._getFullNumber(), B = I2(
2701
- P,
2702
- this.ui.telInput.value,
2723
+ ).length, W = (C == null ? void 0 : C.inputType) === _0.DELETE_FWD, D = this._getFullNumber(), K = I2(
2724
+ D,
2725
+ y,
2703
2726
  m.utils,
2704
2727
  this.selectedCountryData,
2705
2728
  this.options.separateDialCode
2706
- ), W = _2(
2707
- T,
2708
- B,
2709
- v,
2710
- k
2729
+ ), V = _2(
2730
+ k,
2731
+ K,
2732
+ w,
2733
+ W
2711
2734
  );
2712
- this.ui.telInput.value = B, this.ui.telInput.setSelectionRange(W, W);
2735
+ this._setTelInputValue(K), this.ui.telInput.setSelectionRange(V, V);
2713
2736
  }
2714
2737
  };
2715
2738
  this.ui.telInput.addEventListener(
@@ -2730,11 +2753,11 @@ class R1 {
2730
2753
  return;
2731
2754
  }
2732
2755
  if (e) {
2733
- const f = this.ui.telInput.value, I = !f.startsWith("+") && this.ui.telInput.selectionStart === 0 && u.key === "+", _ = /^[0-9]$/.test(u.key), A = $ ? _ : I || _, v = f.slice(0, this.ui.telInput.selectionStart) + u.key + f.slice(this.ui.telInput.selectionEnd), N = this._getFullNumber(v), T = m.utils.getCoreNumber(
2734
- N,
2756
+ const f = this._getTelInputValue(), y = !f.startsWith("+") && this.ui.telInput.selectionStart === 0 && u.key === "+", _ = this._normaliseNumerals(u.key), T = /^[0-9]$/.test(_), B = $ ? T : y || T, E = this.ui.telInput, w = E.selectionStart, H = E.selectionEnd, k = f.slice(0, w), W = f.slice(H), D = k + u.key + W, K = this._getFullNumber(D), V = m.utils.getCoreNumber(
2757
+ K,
2735
2758
  this.selectedCountryData.iso2
2736
- ), k = this.maxCoreNumberLength && T.length > this.maxCoreNumberLength, B = this._getNewCountryFromNumber(N) !== null;
2737
- (!A || k && !B && !I) && u.preventDefault();
2759
+ ), $1 = this.maxCoreNumberLength && V.length > this.maxCoreNumberLength, a1 = this._getNewCountryFromNumber(K) !== null;
2760
+ (!B || $1 && !a1 && !y) && u.preventDefault();
2738
2761
  }
2739
2762
  }
2740
2763
  };
@@ -2747,21 +2770,24 @@ class R1 {
2747
2770
  if (this.options.strictMode) {
2748
2771
  const e = ($) => {
2749
2772
  $.preventDefault();
2750
- const i = this.ui.telInput, s = i.selectionStart, a = i.selectionEnd, u = i.value.slice(0, s), f = i.value.slice(a), C = this.selectedCountryData.iso2, I = $.clipboardData.getData("text"), _ = s === 0 && a > 0, A = !i.value.startsWith("+") || _, v = I.replace(q.NON_PLUS_NUMERIC_GLOBAL, ""), N = v.startsWith("+"), T = v.replace(/\+/g, ""), k = N && A ? `+${T}` : T;
2751
- let P = u + k + f, B = m.utils.getCoreNumber(P, C);
2752
- for (; B.length === 0 && P.length > 0; )
2753
- P = P.slice(0, -1), B = m.utils.getCoreNumber(P, C);
2754
- if (!B)
2755
- return;
2756
- if (this.maxCoreNumberLength && B.length > this.maxCoreNumberLength)
2757
- if (i.selectionEnd === i.value.length) {
2758
- const y1 = B.length - this.maxCoreNumberLength;
2759
- P = P.slice(0, P.length - y1);
2760
- } else
2773
+ const i = this.ui.telInput, s = i.selectionStart, a = i.selectionEnd, u = this._getTelInputValue(), f = u.slice(0, s), C = u.slice(a), y = this.selectedCountryData.iso2, _ = $.clipboardData.getData("text"), T = this._normaliseNumerals(_), B = s === 0 && a > 0, E = !u.startsWith("+") || B, w = T.replace(d1.NON_PLUS_NUMERIC_GLOBAL, ""), H = w.startsWith("+"), k = w.replace(/\+/g, ""), W = H && E ? `+${k}` : k;
2774
+ let D = f + W + C;
2775
+ if (D.length > 5) {
2776
+ let V = m.utils.getCoreNumber(D, y);
2777
+ for (; V.length === 0 && D.length > 0; )
2778
+ D = D.slice(0, -1), V = m.utils.getCoreNumber(D, y);
2779
+ if (!V)
2761
2780
  return;
2762
- i.value = P;
2763
- const W = s + k.length;
2764
- i.setSelectionRange(W, W), i.dispatchEvent(new InputEvent("input", { bubbles: !0 }));
2781
+ if (this.maxCoreNumberLength && V.length > this.maxCoreNumberLength)
2782
+ if (i.selectionEnd === u.length) {
2783
+ const $1 = V.length - this.maxCoreNumberLength;
2784
+ D = D.slice(0, D.length - $1);
2785
+ } else
2786
+ return;
2787
+ }
2788
+ this._setTelInputValue(D);
2789
+ const K = s + W.length;
2790
+ i.setSelectionRange(K, K), i.dispatchEvent(new InputEvent("input", { bubbles: !0 }));
2765
2791
  };
2766
2792
  this.ui.telInput.addEventListener("paste", e, {
2767
2793
  signal: this.abortController.signal
@@ -2785,11 +2811,11 @@ class R1 {
2785
2811
  //* Open the dropdown.
2786
2812
  _openDropdown() {
2787
2813
  const { fixDropdownWidth: e, countrySearch: $ } = this.options;
2788
- if (this.dropdownAbortController = new AbortController(), e && (this.ui.dropdownContent.style.width = `${this.ui.telInput.offsetWidth}px`), this.ui.dropdownContent.classList.remove(E.HIDE), this.ui.selectedCountry.setAttribute(L.EXPANDED, "true"), this._setDropdownPosition(), $) {
2814
+ if (this.dropdownAbortController = new AbortController(), e && (this.ui.dropdownContent.style.width = `${this.ui.telInput.offsetWidth}px`), this.ui.dropdownContent.classList.remove(N.HIDE), this.ui.selectedCountry.setAttribute(b.EXPANDED, "true"), this._setDropdownPosition(), $) {
2789
2815
  const i = this.ui.countryList.firstElementChild;
2790
2816
  i && (this.ui.highlightListItem(i, !1), this.ui.countryList.scrollTop = 0), this.ui.searchInput.focus();
2791
2817
  }
2792
- this._bindDropdownListeners(), this.ui.dropdownArrow.classList.add(E.ARROW_UP), this._trigger(g1.OPEN_COUNTRY_DROPDOWN);
2818
+ this._bindDropdownListeners(), this.ui.dropdownArrow.classList.add(N.ARROW_UP), this._trigger(_1.OPEN_COUNTRY_DROPDOWN);
2793
2819
  }
2794
2820
  //* Set the dropdown position
2795
2821
  _setDropdownPosition() {
@@ -2815,7 +2841,7 @@ class R1 {
2815
2841
  const $ = (i) => {
2816
2842
  var a;
2817
2843
  const s = (a = i.target) == null ? void 0 : a.closest(
2818
- `.${E.COUNTRY_ITEM}`
2844
+ `.${N.COUNTRY_ITEM}`
2819
2845
  );
2820
2846
  s && this.ui.highlightListItem(s, !1);
2821
2847
  };
@@ -2832,7 +2858,7 @@ class R1 {
2832
2858
  const $ = (i) => {
2833
2859
  var a;
2834
2860
  const s = (a = i.target) == null ? void 0 : a.closest(
2835
- `.${E.COUNTRY_ITEM}`
2861
+ `.${N.COUNTRY_ITEM}`
2836
2862
  );
2837
2863
  s && this._selectListItem(s);
2838
2864
  };
@@ -2868,7 +2894,7 @@ class R1 {
2868
2894
  x.ARROW_DOWN,
2869
2895
  x.ENTER,
2870
2896
  x.ESC
2871
- ].includes(a.key) && (a.preventDefault(), a.stopPropagation(), a.key === x.ARROW_UP || a.key === x.ARROW_DOWN ? this._handleUpDownKey(a.key) : a.key === x.ENTER ? this._handleEnterKey() : a.key === x.ESC && this._closeDropdown()), !this.options.countrySearch && q.HIDDEN_SEARCH_CHAR.test(a.key) && (a.stopPropagation(), i && clearTimeout(i), $ += a.key.toLowerCase(), this._searchForCountry($), i = setTimeout(() => {
2897
+ ].includes(a.key) && (a.preventDefault(), a.stopPropagation(), a.key === x.ARROW_UP || a.key === x.ARROW_DOWN ? this._handleUpDownKey(a.key) : a.key === x.ENTER ? this._handleEnterKey() : a.key === x.ESC && (this._closeDropdown(), this.ui.selectedCountry.focus())), !this.options.countrySearch && d1.HIDDEN_SEARCH_CHAR.test(a.key) && (a.stopPropagation(), i && clearTimeout(i), $ += a.key.toLowerCase(), this._searchForCountry($), i = setTimeout(() => {
2872
2898
  $ = "";
2873
2899
  }, i2.HIDDEN_SEARCH_RESET_MS));
2874
2900
  };
@@ -2878,7 +2904,7 @@ class R1 {
2878
2904
  _bindDropdownSearchListeners(e) {
2879
2905
  const $ = () => {
2880
2906
  const u = this.ui.searchInput.value.trim();
2881
- this._filterCountriesByQuery(u), this.ui.searchInput.value ? this.ui.searchClearButton.classList.remove(E.HIDE) : this.ui.searchClearButton.classList.add(E.HIDE);
2907
+ this._filterCountriesByQuery(u), this.ui.searchInput.value ? this.ui.searchClearButton.classList.remove(N.HIDE) : this.ui.searchClearButton.classList.add(N.HIDE);
2882
2908
  };
2883
2909
  let i = null;
2884
2910
  const s = () => {
@@ -2931,7 +2957,7 @@ class R1 {
2931
2957
  u
2932
2958
  );
2933
2959
  }
2934
- $ = this._beforeSetNumber($), this.ui.telInput.value = $;
2960
+ $ = this._beforeSetNumber($), this._setTelInputValue($);
2935
2961
  }
2936
2962
  //* Check if need to select a new country based on the given number
2937
2963
  //* Note: called from _setInitialState, keyup handler, setNumber.
@@ -2955,27 +2981,27 @@ class R1 {
2955
2981
  let i = $ ? e.substring($) : e;
2956
2982
  const s = this.selectedCountryData.iso2, a = this.selectedCountryData.dialCode;
2957
2983
  i = this._ensureHasDialCode(i);
2958
- const u = this._getDialCode(i, !0), f = m1(i);
2984
+ const u = this._getDialCode(i, !0), f = N1(i);
2959
2985
  if (u) {
2960
- const C = m1(u), I = this.dialCodeToIso2Map[C];
2961
- if (I.length === 1)
2962
- return I[0] === s ? null : I[0];
2963
- if (!s && this.defaultCountry && I.includes(this.defaultCountry))
2986
+ const C = N1(u), y = this.dialCodeToIso2Map[C];
2987
+ if (y.length === 1)
2988
+ return y[0] === s ? null : y[0];
2989
+ if (!s && this.defaultCountry && y.includes(this.defaultCountry))
2964
2990
  return this.defaultCountry;
2965
- if (a === S0.NANP && E0(f))
2991
+ if (a === T0.NANP && S0(f))
2966
2992
  return null;
2967
- const { areaCodes: A, priority: v } = this.selectedCountryData;
2968
- if (A) {
2969
- const B = A.map(
2970
- (W) => `${a}${W}`
2993
+ const { areaCodes: T, priority: B } = this.selectedCountryData;
2994
+ if (T) {
2995
+ const W = T.map(
2996
+ (D) => `${a}${D}`
2971
2997
  );
2972
- for (const W of B)
2973
- if (f.startsWith(W))
2998
+ for (const D of W)
2999
+ if (f.startsWith(D))
2974
3000
  return null;
2975
3001
  }
2976
- const T = A && !(v === 0) && f.length > C.length, k = s && I.includes(s) && !T, P = s === I[0];
2977
- if (!k && !P)
2978
- return I[0];
3002
+ const w = T && !(B === 0) && f.length > C.length, H = s && y.includes(s) && !w, k = s === y[0];
3003
+ if (!H && !k)
3004
+ return y[0];
2979
3005
  } else if (i.startsWith("+") && f.length) {
2980
3006
  const C = this.selectedCountryData.dialCode || "";
2981
3007
  return C && C.startsWith(f) ? null : "";
@@ -2988,14 +3014,14 @@ class R1 {
2988
3014
  _setCountry(e) {
2989
3015
  const { separateDialCode: $, showFlags: i, i18n: s } = this.options, a = this.selectedCountryData.iso2 || "";
2990
3016
  if (this.selectedCountryData = e ? this.countryByIso2.get(e) : {}, this.selectedCountryData.iso2 && (this.defaultCountry = this.selectedCountryData.iso2), this.ui.selectedCountry) {
2991
- const u = e && i ? `${E.FLAG} iti__${e}` : `${E.FLAG} ${E.GLOBE}`;
3017
+ const u = e && i ? `${N.FLAG} iti__${e}` : `${N.FLAG} ${N.GLOBE}`;
2992
3018
  let f, C;
2993
3019
  if (e) {
2994
- const { name: I, dialCode: _ } = this.selectedCountryData;
2995
- C = I, f = s.selectedCountryAriaLabel.replace("${countryName}", I).replace("${dialCode}", `+${_}`);
3020
+ const { name: y, dialCode: _ } = this.selectedCountryData;
3021
+ C = y, f = s.selectedCountryAriaLabel.replace("${countryName}", y).replace("${dialCode}", `+${_}`);
2996
3022
  } else
2997
3023
  C = s.noCountrySelected, f = s.noCountrySelected;
2998
- this.ui.selectedCountryInner.className = u, this.ui.selectedCountry.setAttribute("title", C), this.ui.selectedCountry.setAttribute(L.LABEL, f);
3024
+ this.ui.selectedCountryInner.className = u, this.ui.selectedCountry.setAttribute("title", C), this.ui.selectedCountry.setAttribute(b.LABEL, f);
2999
3025
  }
3000
3026
  if ($) {
3001
3027
  const u = this.selectedCountryData.dialCode ? `+${this.selectedCountryData.dialCode}` : "";
@@ -3033,7 +3059,7 @@ class R1 {
3033
3059
  placeholderNumberType: $,
3034
3060
  nationalMode: i,
3035
3061
  customPlaceholder: s
3036
- } = this.options, a = e === M1.AGGRESSIVE || !this.ui.hadInitialPlaceholder && e === M1.POLITE;
3062
+ } = this.options, a = e === x1.AGGRESSIVE || !this.ui.hadInitialPlaceholder && e === x1.POLITE;
3037
3063
  if (m.utils && a) {
3038
3064
  const u = m.utils.numberType[$];
3039
3065
  let f = this.selectedCountryData.iso2 ? m.utils.getExampleNumber(
@@ -3046,23 +3072,27 @@ class R1 {
3046
3072
  }
3047
3073
  //* Called when the user selects a list item from the dropdown.
3048
3074
  _selectListItem(e) {
3049
- const $ = e.dataset[_0.COUNTRY_CODE], i = this._setCountry($);
3075
+ const $ = e.dataset[E0.COUNTRY_CODE], i = this._setCountry($);
3050
3076
  this._closeDropdown();
3051
- const s = e.dataset[_0.DIAL_CODE];
3052
- this._updateDialCode(s), this.options.formatOnDisplay && this._updateValFromNumber(this.ui.telInput.value), this.ui.telInput.focus(), i && this._triggerCountryChange();
3077
+ const s = e.dataset[E0.DIAL_CODE];
3078
+ if (this._updateDialCode(s), this.options.formatOnDisplay) {
3079
+ const a = this._getTelInputValue();
3080
+ this._updateValFromNumber(a);
3081
+ }
3082
+ this.ui.telInput.focus(), i && this._triggerCountryChange();
3053
3083
  }
3054
3084
  //* Close the dropdown and unbind any listeners.
3055
3085
  _closeDropdown() {
3056
- this.ui.dropdownContent.classList.contains(E.HIDE) || (this.ui.dropdownContent.classList.add(E.HIDE), this.ui.selectedCountry.setAttribute(L.EXPANDED, "false"), this.ui.highlightedItem && this.ui.highlightedItem.setAttribute(L.SELECTED, "false"), this.options.countrySearch && this.ui.searchInput.removeAttribute(L.ACTIVE_DESCENDANT), this.ui.dropdownArrow.classList.remove(E.ARROW_UP), this.dropdownAbortController.abort(), this.dropdownAbortController = null, this.options.dropdownContainer && this.ui.dropdown.remove(), this._trigger(g1.CLOSE_COUNTRY_DROPDOWN));
3086
+ this.ui.dropdownContent.classList.contains(N.HIDE) || (this.ui.dropdownContent.classList.add(N.HIDE), this.ui.selectedCountry.setAttribute(b.EXPANDED, "false"), this.ui.highlightedItem && this.ui.highlightedItem.setAttribute(b.SELECTED, "false"), this.options.countrySearch && this.ui.searchInput.removeAttribute(b.ACTIVE_DESCENDANT), this.ui.dropdownArrow.classList.remove(N.ARROW_UP), this.dropdownAbortController.abort(), this.dropdownAbortController = null, this.options.dropdownContainer && this.ui.dropdown.remove(), this._trigger(_1.CLOSE_COUNTRY_DROPDOWN));
3057
3087
  }
3058
3088
  //* Replace any existing dial code with the new one
3059
3089
  //* Note: called from _selectListItem and setCountry
3060
3090
  _updateDialCode(e) {
3061
- const $ = this.ui.telInput.value, i = `+${e}`;
3091
+ const $ = this._getTelInputValue(), i = `+${e}`;
3062
3092
  let s;
3063
3093
  if ($.startsWith("+")) {
3064
3094
  const a = this._getDialCode($);
3065
- a ? s = $.replace(a, i) : s = i, this.ui.telInput.value = s;
3095
+ a ? s = $.replace(a, i) : s = i, this._setTelInputValue(s);
3066
3096
  }
3067
3097
  }
3068
3098
  //* Try and extract a valid international dial code from a full telephone number.
@@ -3089,9 +3119,9 @@ class R1 {
3089
3119
  }
3090
3120
  //* Get the input val, adding the dial code if separateDialCode is enabled.
3091
3121
  _getFullNumber(e) {
3092
- const $ = e || this.ui.telInput.value.trim(), { dialCode: i } = this.selectedCountryData;
3122
+ const $ = e ? this._normaliseNumerals(e) : this._getTelInputValue(), { dialCode: i } = this.selectedCountryData;
3093
3123
  let s;
3094
- const a = m1($);
3124
+ const a = N1($);
3095
3125
  return this.options.separateDialCode && !$.startsWith("+") && i && a ? s = `+${i}` : s = "", s + $;
3096
3126
  }
3097
3127
  //* Remove the dial code if separateDialCode is enabled also cap the length if the input has a maxlength attribute
@@ -3106,18 +3136,22 @@ class R1 {
3106
3136
  }
3107
3137
  //* Trigger the 'countrychange' event.
3108
3138
  _triggerCountryChange() {
3109
- this._trigger(g1.COUNTRY_CHANGE);
3139
+ this._trigger(_1.COUNTRY_CHANGE);
3110
3140
  }
3111
3141
  //**************************
3112
3142
  //* SECRET PUBLIC METHODS
3113
3143
  //**************************
3114
3144
  //* This is called when the geoip call returns.
3115
3145
  handleAutoCountry() {
3116
- this.options.initialCountry === T1.AUTO && m.autoCountry && (this.defaultCountry = m.autoCountry, this.selectedCountryData.iso2 || this.ui.selectedCountryInner.classList.contains(E.GLOBE) || this.setCountry(this.defaultCountry), this.resolveAutoCountryPromise());
3146
+ this.options.initialCountry === P1.AUTO && m.autoCountry && (this.defaultCountry = m.autoCountry, this.selectedCountryData.iso2 || this.ui.selectedCountryInner.classList.contains(N.GLOBE) || this.setCountry(this.defaultCountry), this.resolveAutoCountryPromise());
3117
3147
  }
3118
3148
  //* This is called when the utils request completes.
3119
3149
  handleUtils() {
3120
- m.utils && (this.ui.telInput.value && this._updateValFromNumber(this.ui.telInput.value), this.selectedCountryData.iso2 && (this._updatePlaceholder(), this._updateMaxLength())), this.resolveUtilsScriptPromise();
3150
+ if (m.utils) {
3151
+ const e = this._getTelInputValue();
3152
+ e && this._updateValFromNumber(e), this.selectedCountryData.iso2 && (this._updatePlaceholder(), this._updateMaxLength());
3153
+ }
3154
+ this.resolveUtilsScriptPromise();
3121
3155
  }
3122
3156
  //********************
3123
3157
  //* PUBLIC METHODS
@@ -3136,12 +3170,12 @@ class R1 {
3136
3170
  //* Format the number to the given format.
3137
3171
  getNumber(e) {
3138
3172
  if (m.utils) {
3139
- const { iso2: $ } = this.selectedCountryData;
3140
- return m.utils.formatNumber(
3141
- this._getFullNumber(),
3173
+ const { iso2: $ } = this.selectedCountryData, i = this._getFullNumber(), s = m.utils.formatNumber(
3174
+ i,
3142
3175
  $,
3143
3176
  e
3144
3177
  );
3178
+ return this._mapAsciiToUserNumerals(s);
3145
3179
  }
3146
3180
  return "";
3147
3181
  }
@@ -3150,7 +3184,7 @@ class R1 {
3150
3184
  return m.utils ? m.utils.getNumberType(
3151
3185
  this._getFullNumber(),
3152
3186
  this.selectedCountryData.iso2
3153
- ) : I0.UNKNOWN_NUMBER_TYPE;
3187
+ ) : N0.UNKNOWN_NUMBER_TYPE;
3154
3188
  }
3155
3189
  //* Get the country data for the currently selected country.
3156
3190
  getSelectedCountryData() {
@@ -3162,14 +3196,14 @@ class R1 {
3162
3196
  const { iso2: e } = this.selectedCountryData;
3163
3197
  return m.utils.getValidationError(this._getFullNumber(), e);
3164
3198
  }
3165
- return I0.UNKNOWN_VALIDATION_ERROR;
3199
+ return N0.UNKNOWN_VALIDATION_ERROR;
3166
3200
  }
3167
3201
  //* Validate the input val using number length only
3168
3202
  isValidNumber() {
3169
3203
  const { dialCode: e, iso2: $ } = this.selectedCountryData;
3170
- if (e === b1.DIAL_CODE && m.utils) {
3204
+ if (e === v1.DIAL_CODE && m.utils) {
3171
3205
  const i = this._getFullNumber(), s = m.utils.getCoreNumber(i, $);
3172
- if (s[0] === b1.MOBILE_PREFIX && s.length !== b1.MOBILE_CORE_LENGTH)
3206
+ if (s[0] === v1.MOBILE_PREFIX && s.length !== v1.MOBILE_CORE_LENGTH)
3173
3207
  return !1;
3174
3208
  }
3175
3209
  return this._validateNumber(!1);
@@ -3191,7 +3225,7 @@ class R1 {
3191
3225
  return null;
3192
3226
  if (!this.selectedCountryData.iso2)
3193
3227
  return !1;
3194
- const $ = (u) => e ? this._utilsIsValidNumber(u) : this._utilsIsPossibleNumber(u), i = this._getFullNumber(), s = i.search(q.ALPHA_UNICODE);
3228
+ const $ = (u) => e ? this._utilsIsValidNumber(u) : this._utilsIsPossibleNumber(u), i = this._getFullNumber(), s = i.search(d1.ALPHA_UNICODE);
3195
3229
  if (s > -1 && !this.options.allowPhonewords) {
3196
3230
  const u = i.substring(0, s), f = $(u), C = $(i);
3197
3231
  return f && C;
@@ -3208,15 +3242,21 @@ class R1 {
3208
3242
  //* Update the selected country, and update the input val accordingly.
3209
3243
  setCountry(e) {
3210
3244
  const $ = e == null ? void 0 : e.toLowerCase();
3211
- if (!P1($))
3245
+ if (!O1($))
3212
3246
  throw new Error(`Invalid country code: '${$}'`);
3213
3247
  const i = this.selectedCountryData.iso2;
3214
- (e && $ !== i || !e && i) && (this._setCountry($), this._updateDialCode(this.selectedCountryData.dialCode), this.options.formatOnDisplay && this._updateValFromNumber(this.ui.telInput.value), this._triggerCountryChange());
3248
+ if (e && $ !== i || !e && i) {
3249
+ if (this._setCountry($), this._updateDialCode(this.selectedCountryData.dialCode), this.options.formatOnDisplay) {
3250
+ const a = this._getTelInputValue();
3251
+ this._updateValFromNumber(a);
3252
+ }
3253
+ this._triggerCountryChange();
3254
+ }
3215
3255
  }
3216
3256
  //* Set the input value and update the country.
3217
3257
  setNumber(e) {
3218
- const $ = this._updateCountryFromNumber(e);
3219
- this._updateValFromNumber(e), $ && this._triggerCountryChange(), this._trigger(g1.INPUT, { isSetNumber: !0 });
3258
+ const $ = this._normaliseNumerals(e), i = this._updateCountryFromNumber($);
3259
+ this._updateValFromNumber($), i && this._triggerCountryChange(), this._trigger(_1.INPUT, { isSetNumber: !0 });
3220
3260
  }
3221
3261
  //* Set the placeholder number typ
3222
3262
  setPlaceholderNumberType(e) {
@@ -3226,7 +3266,7 @@ class R1 {
3226
3266
  this.ui.telInput.disabled = e, e ? this.ui.selectedCountry.setAttribute("disabled", "true") : this.ui.selectedCountry.removeAttribute("disabled");
3227
3267
  }
3228
3268
  }
3229
- const L2 = (h) => {
3269
+ const b2 = (h) => {
3230
3270
  if (!m.utils && !m.startedLoadingUtilsScript) {
3231
3271
  let e;
3232
3272
  if (typeof h == "function")
@@ -3247,20 +3287,20 @@ const L2 = (h) => {
3247
3287
  throw new TypeError(
3248
3288
  "The loader function passed to attachUtils did not resolve to a module object with utils as its default export."
3249
3289
  );
3250
- return m.utils = i, r1("handleUtils"), !0;
3290
+ return m.utils = i, l1("handleUtils"), !0;
3251
3291
  }).catch(($) => {
3252
- throw r1("rejectUtilsScriptPromise", $), $;
3292
+ throw l1("rejectUtilsScriptPromise", $), $;
3253
3293
  });
3254
3294
  }
3255
3295
  return null;
3256
- }, r1 = (h, ...e) => {
3296
+ }, l1 = (h, ...e) => {
3257
3297
  Object.values(m.instances).forEach(($) => {
3258
3298
  const i = $[h];
3259
3299
  typeof i == "function" && i.apply($, e);
3260
3300
  });
3261
3301
  }, m = Object.assign(
3262
3302
  (h, e) => {
3263
- const $ = new R1(h, e);
3303
+ const $ = new B1(h, e);
3264
3304
  return m.instances[$.id] = $, h.iti = $, $;
3265
3305
  },
3266
3306
  {
@@ -3268,7 +3308,7 @@ const L2 = (h) => {
3268
3308
  //* Using a static var like this allows us to mock it in the tests.
3269
3309
  documentReady: () => document.readyState === "complete",
3270
3310
  //* Get the country data object.
3271
- getCountryData: () => Q,
3311
+ getCountryData: () => t1,
3272
3312
  //* A getter for the plugin instance.
3273
3313
  getInstance: (h) => {
3274
3314
  const e = h.dataset.intlTelInputId;
@@ -3276,10 +3316,10 @@ const L2 = (h) => {
3276
3316
  },
3277
3317
  //* A map from instance ID to instance object.
3278
3318
  instances: {},
3279
- attachUtils: L2,
3319
+ attachUtils: b2,
3280
3320
  startedLoadingUtilsScript: !1,
3281
3321
  startedLoadingAutoCountry: !1,
3282
- version: "25.12.5"
3322
+ version: "25.13.0"
3283
3323
  }
3284
3324
  );
3285
3325
  (function() {
@@ -3325,7 +3365,7 @@ const L2 = (h) => {
3325
3365
  }
3326
3366
  new f();
3327
3367
  const C = {};
3328
- class I {
3368
+ class y {
3329
3369
  constructor() {
3330
3370
  if (C !== C) throw Error("SafeStyleSheet is not meant to be built directly");
3331
3371
  }
@@ -3333,9 +3373,9 @@ const L2 = (h) => {
3333
3373
  return "";
3334
3374
  }
3335
3375
  }
3336
- new I();
3376
+ new y();
3337
3377
  const _ = {};
3338
- class A {
3378
+ class T {
3339
3379
  constructor() {
3340
3380
  var t = h.trustedTypes && h.trustedTypes.emptyHTML || "";
3341
3381
  if (_ !== _) throw Error("SafeHtml is not meant to be built directly");
@@ -3345,65 +3385,65 @@ const L2 = (h) => {
3345
3385
  return this.g.toString();
3346
3386
  }
3347
3387
  }
3348
- new A();
3349
- function v(d, t) {
3388
+ new T();
3389
+ function B(d, t) {
3350
3390
  switch (this.g = d, this.l = !!t.aa, this.h = t.i, this.s = t.type, this.o = !1, this.h) {
3391
+ case H:
3351
3392
  case k:
3352
- case P:
3353
- case B:
3354
3393
  case W:
3355
- case y1:
3356
- case T:
3357
- case N:
3394
+ case D:
3395
+ case K:
3396
+ case w:
3397
+ case E:
3358
3398
  this.o = !0;
3359
3399
  }
3360
3400
  this.j = t.defaultValue;
3361
3401
  }
3362
- var N = 1, T = 2, k = 3, P = 4, B = 6, W = 16, y1 = 18;
3363
- function b0(d, t) {
3402
+ var E = 1, w = 2, H = 3, k = 4, W = 6, D = 16, K = 18;
3403
+ function V(d, t) {
3364
3404
  for (this.h = d, this.g = {}, d = 0; d < t.length; d++) {
3365
3405
  var n = t[d];
3366
3406
  this.g[n.g] = n;
3367
3407
  }
3368
3408
  }
3369
- function T0(d) {
3409
+ function $1(d) {
3370
3410
  return d = i(d.g), d.sort(function(t, n) {
3371
3411
  return t.g - n.g;
3372
3412
  }), d;
3373
3413
  }
3374
- function U() {
3414
+ function R() {
3375
3415
  this.h = {}, this.j = this.m().g, this.g = this.l = null;
3376
3416
  }
3377
- U.prototype.has = function(d) {
3378
- return G(this, d.g);
3379
- }, U.prototype.get = function(d, t) {
3417
+ R.prototype.has = function(d) {
3418
+ return U(this, d.g);
3419
+ }, R.prototype.get = function(d, t) {
3380
3420
  return g(this, d.g, t);
3381
- }, U.prototype.set = function(d, t) {
3382
- M(this, d.g, t);
3383
- }, U.prototype.add = function(d, t) {
3384
- x1(this, d.g, t);
3421
+ }, R.prototype.set = function(d, t) {
3422
+ P(this, d.g, t);
3423
+ }, R.prototype.add = function(d, t) {
3424
+ U1(this, d.g, t);
3385
3425
  };
3386
- function O1(d, t) {
3387
- for (var n = T0(d.m()), r = 0; r < n.length; r++) {
3426
+ function a1(d, t) {
3427
+ for (var n = $1(d.m()), r = 0; r < n.length; r++) {
3388
3428
  var o = n[r], l = o.g;
3389
- if (G(t, l)) {
3429
+ if (U(t, l)) {
3390
3430
  d.g && delete d.g[o.g];
3391
3431
  var c = o.h == 11 || o.h == 10;
3392
3432
  if (o.l) {
3393
3433
  o = O(t, l);
3394
- for (var p = 0; p < o.length; p++) x1(d, l, c ? o[p].clone() : o[p]);
3395
- } else o = o1(t, l), c ? (c = o1(d, l)) ? O1(c, o) : M(d, l, o.clone()) : M(d, l, o);
3434
+ for (var p = 0; p < o.length; p++) U1(d, l, c ? o[p].clone() : o[p]);
3435
+ } else o = c1(t, l), c ? (c = c1(d, l)) ? a1(c, o) : P(d, l, o.clone()) : P(d, l, o);
3396
3436
  }
3397
3437
  }
3398
3438
  }
3399
- U.prototype.clone = function() {
3439
+ R.prototype.clone = function() {
3400
3440
  var d = new this.constructor();
3401
- return d != this && (d.h = {}, d.g && (d.g = {}), O1(d, this)), d;
3441
+ return d != this && (d.h = {}, d.g && (d.g = {}), a1(d, this)), d;
3402
3442
  };
3403
- function G(d, t) {
3443
+ function U(d, t) {
3404
3444
  return d.h[t] != null;
3405
3445
  }
3406
- function o1(d, t) {
3446
+ function c1(d, t) {
3407
3447
  var n = d.h[t];
3408
3448
  if (n == null) return null;
3409
3449
  if (d.l) {
@@ -3420,11 +3460,11 @@ const L2 = (h) => {
3420
3460
  return n;
3421
3461
  }
3422
3462
  function g(d, t, n) {
3423
- var r = o1(d, t);
3463
+ var r = c1(d, t);
3424
3464
  return d.j[t].l ? r[n || 0] : r;
3425
3465
  }
3426
3466
  function S(d, t) {
3427
- if (G(d, t)) d = g(d, t);
3467
+ if (U(d, t)) d = g(d, t);
3428
3468
  else d: {
3429
3469
  if (d = d.j[t], d.j === void 0) if (t = d.s, t === Boolean) d.j = !1;
3430
3470
  else if (t === Number) d.j = 0;
@@ -3438,105 +3478,105 @@ const L2 = (h) => {
3438
3478
  return d;
3439
3479
  }
3440
3480
  function O(d, t) {
3441
- return o1(d, t) || [];
3481
+ return c1(d, t) || [];
3442
3482
  }
3443
- function j(d, t) {
3444
- return d.j[t].l ? G(d, t) ? d.h[t].length : 0 : G(d, t) ? 1 : 0;
3483
+ function z(d, t) {
3484
+ return d.j[t].l ? U(d, t) ? d.h[t].length : 0 : U(d, t) ? 1 : 0;
3445
3485
  }
3446
- function M(d, t, n) {
3486
+ function P(d, t, n) {
3447
3487
  d.h[t] = n, d.g && (d.g[t] = n);
3448
3488
  }
3449
- function x1(d, t, n) {
3489
+ function U1(d, t, n) {
3450
3490
  d.h[t] || (d.h[t] = []), d.h[t].push(n), d.g && delete d.g[t];
3451
3491
  }
3452
- function u1(d, t) {
3492
+ function h1(d, t) {
3453
3493
  var n = [], r;
3454
- for (r in t) r != 0 && n.push(new v(r, t[r]));
3455
- return new b0(d, n);
3494
+ for (r in t) r != 0 && n.push(new B(r, t[r]));
3495
+ return new V(d, n);
3456
3496
  }
3457
- function l1() {
3497
+ function f1() {
3458
3498
  }
3459
- l1.prototype.g = function(d) {
3499
+ f1.prototype.g = function(d) {
3460
3500
  throw new d.h(), Error("Unimplemented");
3461
- }, l1.prototype.h = function(d, t) {
3462
- if (d.h == 11 || d.h == 10) return t instanceof U ? t : this.g(d.s.prototype.m(), t);
3463
- if (d.h == 14) return typeof t == "string" && B1.test(t) && (d = Number(t), 0 < d) ? d : t;
3501
+ }, f1.prototype.h = function(d, t) {
3502
+ if (d.h == 11 || d.h == 10) return t instanceof R ? t : this.g(d.s.prototype.m(), t);
3503
+ if (d.h == 14) return typeof t == "string" && G1.test(t) && (d = Number(t), 0 < d) ? d : t;
3464
3504
  if (!d.o) return t;
3465
3505
  if (d = d.s, d === String) {
3466
3506
  if (typeof t == "number") return String(t);
3467
- } else if (d === Number && typeof t == "string" && (t === "Infinity" || t === "-Infinity" || t === "NaN" || B1.test(t))) return Number(t);
3507
+ } else if (d === Number && typeof t == "string" && (t === "Infinity" || t === "-Infinity" || t === "NaN" || G1.test(t))) return Number(t);
3468
3508
  return t;
3469
3509
  };
3470
- var B1 = /^-?[0-9]+$/;
3471
- function I1() {
3510
+ var G1 = /^-?[0-9]+$/;
3511
+ function E1() {
3472
3512
  }
3473
- $(I1, l1), I1.prototype.g = function(d, t) {
3513
+ $(E1, f1), E1.prototype.g = function(d, t) {
3474
3514
  return d = new d.h(), d.l = this, d.h = t, d.g = {}, d;
3475
3515
  };
3476
- function t1() {
3516
+ function n1() {
3477
3517
  }
3478
- $(t1, I1), t1.prototype.h = function(d, t) {
3479
- return d.h == 8 ? !!t : l1.prototype.h.apply(this, arguments);
3480
- }, t1.prototype.g = function(d, t) {
3481
- return t1.ma.g.call(this, d, t);
3518
+ $(n1, E1), n1.prototype.h = function(d, t) {
3519
+ return d.h == 8 ? !!t : f1.prototype.h.apply(this, arguments);
3520
+ }, n1.prototype.g = function(d, t) {
3521
+ return n1.ma.g.call(this, d, t);
3482
3522
  };
3483
- function D(d, t) {
3523
+ function v(d, t) {
3484
3524
  d != null && this.g.apply(this, arguments);
3485
3525
  }
3486
- D.prototype.h = "", D.prototype.set = function(d) {
3526
+ v.prototype.h = "", v.prototype.set = function(d) {
3487
3527
  this.h = "" + d;
3488
- }, D.prototype.g = function(d, t, n) {
3528
+ }, v.prototype.g = function(d, t, n) {
3489
3529
  if (this.h += String(d), t != null) for (let r = 1; r < arguments.length; r++) this.h += arguments[r];
3490
3530
  return this;
3491
3531
  };
3492
- function H(d) {
3532
+ function G(d) {
3493
3533
  d.h = "";
3494
3534
  }
3495
- D.prototype.toString = function() {
3535
+ v.prototype.toString = function() {
3496
3536
  return this.h;
3497
3537
  };
3498
- function Z() {
3499
- U.call(this);
3538
+ function X() {
3539
+ R.call(this);
3500
3540
  }
3501
- $(Z, U);
3502
- var U1 = null;
3503
- function b() {
3504
- U.call(this);
3541
+ $(X, R);
3542
+ var H1 = null;
3543
+ function A() {
3544
+ R.call(this);
3505
3545
  }
3506
- $(b, U);
3507
- var G1 = null;
3508
- function J() {
3509
- U.call(this);
3546
+ $(A, R);
3547
+ var k1 = null;
3548
+ function q() {
3549
+ R.call(this);
3510
3550
  }
3511
- $(J, U);
3512
- var H1 = null;
3513
- Z.prototype.m = function() {
3514
- var d = U1;
3515
- return d || (U1 = d = u1(Z, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: !0, i: 9, type: String }, 2: { name: "format", required: !0, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: !0, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: !1, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } })), d;
3516
- }, Z.m = Z.prototype.m, b.prototype.m = function() {
3517
- var d = G1;
3518
- return d || (G1 = d = u1(b, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: !0, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: !0, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })), d;
3519
- }, b.m = b.prototype.m, J.prototype.m = function() {
3551
+ $(q, R);
3552
+ var V1 = null;
3553
+ X.prototype.m = function() {
3520
3554
  var d = H1;
3521
- return d || (H1 = d = u1(J, {
3555
+ return d || (H1 = d = h1(X, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: !0, i: 9, type: String }, 2: { name: "format", required: !0, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: !0, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: !1, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } })), d;
3556
+ }, X.m = X.prototype.m, A.prototype.m = function() {
3557
+ var d = k1;
3558
+ return d || (k1 = d = h1(A, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: !0, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: !0, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })), d;
3559
+ }, A.m = A.prototype.m, q.prototype.m = function() {
3560
+ var d = V1;
3561
+ return d || (V1 = d = h1(q, {
3522
3562
  0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" },
3523
- 1: { name: "general_desc", i: 11, type: b },
3524
- 2: { name: "fixed_line", i: 11, type: b },
3525
- 3: { name: "mobile", i: 11, type: b },
3526
- 4: { name: "toll_free", i: 11, type: b },
3527
- 5: { name: "premium_rate", i: 11, type: b },
3528
- 6: { name: "shared_cost", i: 11, type: b },
3529
- 7: { name: "personal_number", i: 11, type: b },
3530
- 8: { name: "voip", i: 11, type: b },
3531
- 21: { name: "pager", i: 11, type: b },
3532
- 25: { name: "uan", i: 11, type: b },
3533
- 27: { name: "emergency", i: 11, type: b },
3534
- 28: { name: "voicemail", i: 11, type: b },
3535
- 29: { name: "short_code", i: 11, type: b },
3536
- 30: { name: "standard_rate", i: 11, type: b },
3537
- 31: { name: "carrier_specific", i: 11, type: b },
3538
- 33: { name: "sms_services", i: 11, type: b },
3539
- 24: { name: "no_international_dialling", i: 11, type: b },
3563
+ 1: { name: "general_desc", i: 11, type: A },
3564
+ 2: { name: "fixed_line", i: 11, type: A },
3565
+ 3: { name: "mobile", i: 11, type: A },
3566
+ 4: { name: "toll_free", i: 11, type: A },
3567
+ 5: { name: "premium_rate", i: 11, type: A },
3568
+ 6: { name: "shared_cost", i: 11, type: A },
3569
+ 7: { name: "personal_number", i: 11, type: A },
3570
+ 8: { name: "voip", i: 11, type: A },
3571
+ 21: { name: "pager", i: 11, type: A },
3572
+ 25: { name: "uan", i: 11, type: A },
3573
+ 27: { name: "emergency", i: 11, type: A },
3574
+ 28: { name: "voicemail", i: 11, type: A },
3575
+ 29: { name: "short_code", i: 11, type: A },
3576
+ 30: { name: "standard_rate", i: 11, type: A },
3577
+ 31: { name: "carrier_specific", i: 11, type: A },
3578
+ 33: { name: "sms_services", i: 11, type: A },
3579
+ 24: { name: "no_international_dialling", i: 11, type: A },
3540
3580
  9: { name: "id", required: !0, i: 9, type: String },
3541
3581
  10: { name: "country_code", i: 5, type: Number },
3542
3582
  11: { name: "international_prefix", i: 9, type: String },
@@ -3550,26 +3590,26 @@ const L2 = (h) => {
3550
3590
  },
3551
3591
  16: { name: "national_prefix_transform_rule", i: 9, type: String },
3552
3592
  18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: !1, type: Boolean },
3553
- 19: { name: "number_format", aa: !0, i: 11, type: Z },
3554
- 20: { name: "intl_number_format", aa: !0, i: 11, type: Z },
3593
+ 19: { name: "number_format", aa: !0, i: 11, type: X },
3594
+ 20: { name: "intl_number_format", aa: !0, i: 11, type: X },
3555
3595
  22: { name: "main_country_for_code", i: 8, defaultValue: !1, type: Boolean },
3556
3596
  23: { name: "leading_digits", i: 9, type: String }
3557
3597
  })), d;
3558
- }, J.m = J.prototype.m;
3559
- function Y() {
3560
- U.call(this);
3598
+ }, q.m = q.prototype.m;
3599
+ function Z() {
3600
+ R.call(this);
3561
3601
  }
3562
- $(Y, U);
3563
- var k1 = null, D0 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3564
- Y.prototype.m = function() {
3565
- var d = k1;
3566
- return d || (k1 = d = u1(Y, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: !0, i: 5, type: Number }, 2: { name: "national_number", required: !0, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: D0 }, 7: {
3602
+ $(Z, R);
3603
+ var F1 = null, D0 = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 };
3604
+ Z.prototype.m = function() {
3605
+ var d = F1;
3606
+ return d || (F1 = d = h1(Z, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: !0, i: 5, type: Number }, 2: { name: "national_number", required: !0, i: 4, type: Number }, 3: { name: "extension", i: 9, type: String }, 4: { name: "italian_leading_zero", i: 8, type: Boolean }, 8: { name: "number_of_leading_zeros", i: 5, defaultValue: 1, type: Number }, 5: { name: "raw_input", i: 9, type: String }, 6: { name: "country_code_source", i: 14, defaultValue: 0, type: D0 }, 7: {
3567
3607
  name: "preferred_domestic_carrier_code",
3568
3608
  i: 9,
3569
3609
  type: String
3570
3610
  } })), d;
3571
- }, Y.ctor = Y, Y.ctor.m = Y.prototype.m;
3572
- var e1 = {
3611
+ }, Z.ctor = Z, Z.ctor.m = Z.prototype.m;
3612
+ var i1 = {
3573
3613
  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".split(" "),
3574
3614
  7: ["RU", "KZ"],
3575
3615
  20: ["EG"],
@@ -3785,7 +3825,7 @@ const L2 = (h) => {
3785
3825
  995: ["GE"],
3786
3826
  996: ["KG"],
3787
3827
  998: ["UZ"]
3788
- }, F1 = {
3828
+ }, W1 = {
3789
3829
  AC: [, [
3790
3830
  ,
3791
3831
  ,
@@ -4649,7 +4689,7 @@ const L2 = (h) => {
4649
4689
  ["[89]"],
4650
4690
  "0$1"
4651
4691
  ], [, "(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4652
- CF: [, [, , "(?:[27]\\d{3}|8776)\\d{4}", , , , , , , [8]], [, , "2[12]\\d{6}", , , , "21612345"], [, , "7[024-7]\\d{6}", , , , "70012345"], [, , , , , , , , , [-1]], [, , "8776\\d{4}", , , , "87761234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CF", 236, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4692
+ CF: [, [, , "(?:[27]\\d{3}|8776)\\d{4}", , , , , , , [8]], [, , "2[12]\\d{6}", , , , "21612345"], [, , "7[02-7]\\d{6}", , , , "70012345"], [, , , , , , , , , [-1]], [, , "8776\\d{4}", , , , "87761234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CF", 236, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4653
4693
  CG: [, [, , "222\\d{6}|(?:0\\d|80)\\d{7}", , , , , , , [9]], [, , "222[1-589]\\d{5}", , , , "222123456"], [, , "026(?:1[0-5]|6[6-9])\\d{4}|0(?:[14-6]\\d\\d|2(?:40|5[5-8]|6[07-9]))\\d{5}", , , , "061234567"], [, , , , , , , , , [-1]], [, , "80[0-2]\\d{6}", , , , "800123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CG", 242, "00", , , , , , , , [[, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
4654
4694
  CH: [, [
4655
4695
  ,
@@ -5190,7 +5230,7 @@ const L2 = (h) => {
5190
5230
  EE: [, [, , "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", , , , , , , [7, 8, 10]], [, , "(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}", , , , "3212345", , , [7]], [
5191
5231
  ,
5192
5232
  ,
5193
- "(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[13-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",
5233
+ "(?:5\\d{5}|8(?:1(?:0(?:0(?:00|[178]\\d)|[3-9]\\d\\d)|(?:1(?:0[2-6]|1\\d)|(?:2[0-59]|[3-79]\\d)\\d)\\d)|2(?:0(?:0(?:00|4\\d)|(?:19|[2-7]\\d)\\d)|(?:(?:[124-69]\\d|3[5-9])\\d|7(?:[0-79]\\d|8[013-9])|8(?:[2-6]\\d|7[01]))\\d)|[349]\\d{4}))\\d\\d|5(?:(?:[02]\\d|5[0-478])\\d|1(?:[0-8]\\d|95)|6(?:4[0-4]|5[1-589]))\\d{3}",
5194
5234
  ,
5195
5235
  ,
5196
5236
  ,
@@ -5239,7 +5279,7 @@ const L2 = (h) => {
5239
5279
  ,
5240
5280
  [, , "[5-8]\\d{8}", , , , , , , [9]],
5241
5281
  [, , "528[89]\\d{5}", , , , "528812345"],
5242
- [, , "(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-8]|5[0-5]|8[0-7]))\\d{6}", , , , "650123456"],
5282
+ [, , "(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}", , , , "650123456"],
5243
5283
  [, , "80[0-7]\\d{6}", , , , "801234567"],
5244
5284
  [, , "89\\d{7}", , , , "891234567"],
5245
5285
  [, , , , , , , , , [-1]],
@@ -5510,7 +5550,7 @@ const L2 = (h) => {
5510
5550
  GE: [, [, , "(?:[3-57]\\d\\d|800)\\d{6}", , , , , , , [9], [6, 7]], [, , "(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}", , , , "322123456", , , , [6, 7]], [
5511
5551
  ,
5512
5552
  ,
5513
- "5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0[17]0|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}",
5553
+ "5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|5(?:0(?:0(?:1[09]|70)|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}|(?:5(?:0(?:0(?:0\\d|1[12]|22|3[0-6]|44|5[05]|77|88|9[09])|(?:[14]\\d|77)\\d|22[02])|1(?:1(?:[03][01]|[124]\\d|5[2-6]|7[0-4])|4\\d\\d)|[23]555|4(?:4\\d\\d|555)|5(?:[0157-9]\\d\\d|200|333|444)|6[89]\\d\\d|7(?:(?:[0147-9]\\d|22)\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|5(?:55|8[89])|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}",
5514
5554
  ,
5515
5555
  ,
5516
5556
  ,
@@ -5742,7 +5782,7 @@ const L2 = (h) => {
5742
5782
  ,
5743
5783
  ,
5744
5784
  "2201234"
5745
- ], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-39]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5785
+ ], [, , "(?:51[01]|6\\d\\d|7(?:[0-5]\\d|6[0-49]|70))\\d{4}", , , , "6091234"], [, , "(?:289|8(?:00|6[28]|88|99))\\d{4}", , , , "2891234"], [, , "9008\\d{3}", , , , "9008123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "515\\d{4}", , , , "5151234"], "GY", 592, "001", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
5746
5786
  HK: [, [, , "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", , , , , , , [5, 6, 7, 8, 9, 11]], [
5747
5787
  ,
5748
5788
  ,
@@ -5905,10 +5945,10 @@ const L2 = (h) => {
5905
5945
  10,
5906
5946
  11,
5907
5947
  12
5908
- ]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:4(?:0[0-2]|[16]0|5[0-7])|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[34]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
5948
+ ]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:4(?:0[0-2]|[16]0)|57[0-289])\\d{4}|5(?:(?:[0-2][02-9]|[36]\\d|[49][2-9]|8[3-7])\\d|5(?:01|2\\d|3[0-3]|4[3-5]|5[0-25689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\d{5}", , , , "502345678", , , [9]], [, , "1(?:255|80[019]\\d{3})\\d{3}", , , , "1800123456", , , [7, 10]], [, , "1212\\d{4}|1(?:200|9(?:0[0-2]|19))\\d{6}", , , , "1919123456", , , [8, 10]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [
5909
5949
  ,
5910
5950
  ,
5911
- "7(?:38(?:[05]\\d|8[018])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",
5951
+ "7(?:38(?:[05]\\d|8[0138])|8(?:33|55|77|81)\\d)\\d{4}|7(?:18|2[23]|3[237]|47|6[258]|7\\d|82|9[2-9])\\d{6}",
5912
5952
  ,
5913
5953
  ,
5914
5954
  ,
@@ -5962,7 +6002,7 @@ const L2 = (h) => {
5962
6002
  IN: [, [, , "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", , , , , , , [8, 9, 10, 11, 12, 13], [6, 7]], [
5963
6003
  ,
5964
6004
  ,
5965
- "2717(?:[2-7]\\d|95)\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\d|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",
6005
+ "(?:2717(?:[2-7]\\d|95)|6828[235-7]\\d)\\d{4}|(?:170[24]|280[13468]|4(?:20[24]|72[2-8])|552[1-7])\\d{6}|(?:271[0-689]|682[0-79]|782[0-6])[2-7]\\d{5}|(?:2(?:[02][2-79]|90)|3(?:23|80)|683|79[1-7])\\d{7}|(?:11|33|4[04]|80)[2-7]\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\d)\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[14-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d[2-7]\\d{5}",
5966
6006
  ,
5967
6007
  ,
5968
6008
  ,
@@ -5974,7 +6014,7 @@ const L2 = (h) => {
5974
6014
  ], [
5975
6015
  ,
5976
6016
  ,
5977
- "(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\d|7(?:[235689]\\d|4[0189]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|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]|881))[0189]\\d{5}",
6017
+ "(?:6(?:1279|828[01489])|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\d|7[02-8])\\d{5}|(?:6(?:[09]\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\d\\d)\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[235689]\\d|4[0189])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|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]|881))[0189]\\d{5}",
5978
6018
  ,
5979
6019
  ,
5980
6020
  ,
@@ -6005,21 +6045,15 @@ const L2 = (h) => {
6005
6045
  ], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", [
6006
6046
  "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",
6007
6047
  "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]",
6008
- "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|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]|8[124-6])\\d|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]"
6009
- ], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], , , 1], [
6010
- ,
6011
- "(\\d{3})(\\d{3})(\\d{3})(\\d{4})",
6012
- "$1 $2 $3 $4",
6013
- ["0"]
6014
- ], [, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]], [[, "(\\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)"], , , 1], [, "(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], , , 1], [
6015
- ,
6016
- "(\\d{2})(\\d{4})(\\d{4})",
6017
- "$1 $2 $3",
6018
- ["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])"],
6019
- "0$1",
6020
- ,
6021
- 1
6022
- ], [
6048
+ "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]"
6049
+ ], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", [
6050
+ "1(?:6|8[06])",
6051
+ "1(?:6|8[06]0)"
6052
+ ], , , 1], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]], [, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]], [[, "(\\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)"], , , 1], [, "(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], , , 1], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", [
6053
+ "11|2[02]|33|4[04]|79[1-7]|80[2-46]",
6054
+ "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])",
6055
+ "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])"
6056
+ ], "0$1", , 1], [
6023
6057
  ,
6024
6058
  "(\\d{3})(\\d{3})(\\d{4})",
6025
6059
  "$1 $2 $3",
@@ -6034,42 +6068,54 @@ const L2 = (h) => {
6034
6068
  ], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", [
6035
6069
  "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",
6036
6070
  "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]",
6037
- "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|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]|8[124-6])\\d|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]"
6038
- ], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], , , 1], [
6071
+ "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]"
6072
+ ], "0$1", , 1], [, "(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", , 1], [, "(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", [
6073
+ "1(?:6|8[06])",
6074
+ "1(?:6|8[06]0)"
6075
+ ], , , 1], [, "(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], , , 1]], [, , , , , , , , , [-1]], , , [, , "1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"], [, , "140\\d{7}", , , , "1409305260", , , [10]], , , [, , , , , , , , , [-1]]],
6076
+ IO: [
6039
6077
  ,
6040
- "(\\d{4})(\\d{3})(\\d{3})(\\d{3})",
6041
- "$1 $2 $3 $4",
6042
- ["18"],
6078
+ [, , "3\\d{6}", , , , , , , [7]],
6079
+ [, , "37\\d{5}", , , , "3709100"],
6080
+ [, , "38\\d{5}", , , , "3801234"],
6081
+ [, , , , , , , , , [-1]],
6082
+ [, , , , , , , , , [-1]],
6083
+ [, , , , , , , , , [-1]],
6084
+ [, , , , , , , , , [-1]],
6085
+ [, , , , , , , , , [-1]],
6086
+ "IO",
6087
+ 246,
6088
+ "00",
6043
6089
  ,
6044
6090
  ,
6045
- 1
6046
- ]], [, , , , , , , , , [-1]], , , [, , "1(?:600\\d{6}|800\\d{4,9})|(?:000800|18(?:03\\d\\d|6(?:0|[12]\\d\\d)))\\d{7}"], [, , "140\\d{7}", , , , "1409305260", , , [10]], , , [, , , , , , , , , [-1]]],
6047
- IO: [, [, , "3\\d{6}", , , , , , , [7]], [, , "37\\d{5}", , , , "3709100"], [, , "38\\d{5}", , , , "3801234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "IO", 246, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["3"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
6048
- IQ: [, [
6049
6091
  ,
6050
6092
  ,
6051
- "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",
6052
6093
  ,
6053
6094
  ,
6054
6095
  ,
6096
+ [[, "(\\d{3})(\\d{4})", "$1 $2", ["3"]]],
6055
6097
  ,
6098
+ [, , , , , , , , , [-1]],
6056
6099
  ,
6057
6100
  ,
6058
- [8, 9, 10],
6059
- [6, 7]
6060
- ], [, , "1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}", , , , "12345678", , , [8, 9], [6, 7]], [, , "7[3-9]\\d{8}", , , , "7912345678", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "IQ", 964, "00", "0", , , "0", , , , [[, "(\\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"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
6061
- IR: [
6101
+ [, , , , , , , , , [-1]],
6102
+ [, , , , , , , , , [-1]],
6062
6103
  ,
6063
- [, , "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", , , , , , , [4, 5, 6, 7, 10], [8]],
6064
- [, , "(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}", , , , "2123456789", , , [6, 7, 10], [4, 5, 8]],
6065
- [, , "9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[0159]\\d|21|69|77|8[7-9])))\\d{5}", , , , "9123456789", , , [10]],
6104
+ ,
6105
+ [, , , , , , , , , [-1]]
6106
+ ],
6107
+ IQ: [
6108
+ ,
6109
+ [, , "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", , , , , , , [8, 9, 10], [6, 7]],
6110
+ [, , "1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}", , , , "12345678", , , [8, 9], [6, 7]],
6111
+ [, , "7[3-9]\\d{8}", , , , "7912345678", , , [10]],
6066
6112
  [, , , , , , , , , [-1]],
6067
6113
  [, , , , , , , , , [-1]],
6068
6114
  [, , , , , , , , , [-1]],
6069
6115
  [, , , , , , , , , [-1]],
6070
6116
  [, , , , , , , , , [-1]],
6071
- "IR",
6072
- 98,
6117
+ "IQ",
6118
+ 964,
6073
6119
  "00",
6074
6120
  "0",
6075
6121
  ,
@@ -6078,40 +6124,49 @@ const L2 = (h) => {
6078
6124
  ,
6079
6125
  ,
6080
6126
  ,
6081
- [[, "(\\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"]],
6127
+ [[, "(\\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"]],
6082
6128
  ,
6083
6129
  [, , , , , , , , , [-1]],
6084
6130
  ,
6085
6131
  ,
6086
- [, , "9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))", , , , , , , [4, 5, 10]],
6087
- [
6088
- ,
6089
- ,
6090
- "96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])",
6091
- ,
6092
- ,
6093
- ,
6094
- "9601",
6095
- ,
6096
- ,
6097
- [4, 5]
6098
- ],
6132
+ [, , , , , , , , , [-1]],
6133
+ [, , , , , , , , , [-1]],
6099
6134
  ,
6100
6135
  ,
6101
6136
  [, , , , , , , , , [-1]]
6102
6137
  ],
6103
- IS: [, [, , "(?:38\\d|[4-9])\\d{6}", , , , , , , [7, 9]], [, , "(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}", , , , "4101234", , , [7]], [, , "(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}", , , , "6111234"], [, , "80[0-8]\\d{4}", , , , "8001234", , , [7]], [
6138
+ IR: [, [, , "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", , , , , , , [4, 5, 6, 7, 10], [8]], [, , "(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\d{7}|[16]\\d{3}(?:\\d{4})?|[289]\\d{3}(?:\\d(?:\\d{3})?)?)|94(?:000[09]|(?:12\\d|30[0-2])\\d|2(?:121|[2689]0\\d)|4(?:111|40\\d))\\d{4}", , , , "2123456789", , , [6, 7, 10], [4, 5, 8]], [
6104
6139
  ,
6105
6140
  ,
6106
- "90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",
6141
+ "9(?:(?:0[0-5]|[13]\\d|2[0-3])\\d\\d|9(?:[0-46]\\d\\d|5(?:10|5\\d)|8(?:[12]\\d|88)|9(?:[0159]\\d|21|69|77|8[7-9])))\\d{5}",
6107
6142
  ,
6108
6143
  ,
6109
6144
  ,
6110
- "9001234",
6145
+ "9123456789",
6111
6146
  ,
6112
6147
  ,
6113
- [7]
6114
- ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "49[0-24-79]\\d{4}", , , , "4921234", , , [7]], "IS", 354, "00|1(?:0(?:01|[12]0)|100)", , , , , , "00", , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "809\\d{4}", , , , "8091234", , , [7]], , , [, , "(?:689|8(?:7[18]|80)|95[48])\\d{4}", , , , "6891234", , , [7]]],
6148
+ [10]
6149
+ ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "IR", 98, "00", "0", , , "0", , , , [[, "(\\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"]], , [, , , , , , , , , [-1]], , , [
6150
+ ,
6151
+ ,
6152
+ "9(?:4440\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))",
6153
+ ,
6154
+ ,
6155
+ ,
6156
+ ,
6157
+ ,
6158
+ ,
6159
+ [4, 5, 10]
6160
+ ], [, , "96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])", , , , "9601", , , [4, 5]], , , [, , , , , , , , , [-1]]],
6161
+ IS: [, [, , "(?:38\\d|[4-9])\\d{6}", , , , , , , [7, 9]], [, , "(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}", , , , "4101234", , , [7]], [
6162
+ ,
6163
+ ,
6164
+ "(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",
6165
+ ,
6166
+ ,
6167
+ ,
6168
+ "6111234"
6169
+ ], [, , "80[0-8]\\d{4}", , , , "8001234", , , [7]], [, , "90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}", , , , "9001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "49[0-24-79]\\d{4}", , , , "4921234", , , [7]], "IS", 354, "00|1(?:0(?:01|[12]0)|100)", , , , , , "00", , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "809\\d{4}", , , , "8091234", , , [7]], , , [, , "(?:689|8(?:7[18]|80)|95[48])\\d{4}", , , , "6891234", , , [7]]],
6115
6170
  IT: [, [, , "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]], [
6116
6171
  ,
6117
6172
  ,
@@ -6500,7 +6555,7 @@ const L2 = (h) => {
6500
6555
  ,
6501
6556
  ,
6502
6557
  [7, 8]
6503
- ], [, , "7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}", , , , "1123456"], [, , "(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-3]))\\d{5}", , , , "71123456"], [, , , , , , , , , [-1]], [, , "9[01]\\d{6}", , , , "90123456", , , [8]], [, , "80\\d{6}", , , , "80123456", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "LB", 961, "00", "0", , , "0", , , , [[, "(\\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]"]]], , [
6558
+ ], [, , "7(?:62|8[0-6]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}", , , , "1123456"], [, , "(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[7-9]|9[0-4]))\\d{5}", , , , "71123456"], [, , , , , , , , , [-1]], [, , "9[01]\\d{6}", , , , "90123456", , , [8]], [, , "80\\d{6}", , , , "80123456", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "LB", 961, "00", "0", , , "0", , , , [[, "(\\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]"]]], , [
6504
6559
  ,
6505
6560
  ,
6506
6561
  ,
@@ -6652,15 +6707,15 @@ const L2 = (h) => {
6652
6707
  ,
6653
6708
  [7]
6654
6709
  ], [, , "9[1-6]\\d{7}", , , , "912345678"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "LY", 218, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
6655
- MA: [, [, , "[5-8]\\d{8}", , , , , , , [9]], [, , "5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}", , , , "520123456"], [
6710
+ MA: [, [, , "[5-8]\\d{8}", , , , , , , [9]], [, , "5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}", , , , "520123456"], [
6656
6711
  ,
6657
6712
  ,
6658
- "(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-8]|5[0-5]|8[0-7]))\\d{6}",
6713
+ "(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}",
6659
6714
  ,
6660
6715
  ,
6661
6716
  ,
6662
6717
  "650123456"
6663
- ], [, , "80[0-7]\\d{6}", , , , "801234567"], [, , "89\\d{7}", , , , "891234567"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}", , , , "592401234"], "MA", 212, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], [, "(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], [, "(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], [, "(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], , [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [
6718
+ ], [, , "80[0-7]\\d{6}", , , , "801234567"], [, , "89\\d{7}", , , , "891234567"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}", , , , "592401234"], "MA", 212, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], [, "(\\d{4})(\\d{5})", "$1-$2", ["5(?:[19]|2[2-46-9]|3[3-9])|8(?:0[89]|92)"], "0$1"], [, "(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], [, "(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], , [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [
6664
6719
  ,
6665
6720
  ,
6666
6721
  ,
@@ -6977,7 +7032,7 @@ const L2 = (h) => {
6977
7032
  MU: [, [, , "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", , , , , , , [7, 8, 10]], [, , "(?:2(?:[0346-8]\\d|1[0-8])|4(?:[013568]\\d|2[4-8]|71|90)|54(?:[3-5]\\d|71)|6\\d\\d|8(?:14|3[129]))\\d{4}", , , , "54480123", , , [7, 8]], [
6978
7033
  ,
6979
7034
  ,
6980
- "5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-6]|3[013]))\\d{5}",
7035
+ "5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\d|8[0-689]|9[0-8])|7(?:0[0-7]|3[013]))\\d{5}",
6981
7036
  ,
6982
7037
  ,
6983
7038
  ,
@@ -7326,37 +7381,12 @@ const L2 = (h) => {
7326
7381
  ,
7327
7382
  [, , , , , , , , , [-1]]
7328
7383
  ],
7329
- OM: [
7330
- ,
7331
- [, , "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", , , , , , , [7, 8, 9]],
7332
- [, , "2[1-6]\\d{6}", , , , "23123456", , , [8]],
7333
- [, , "1505\\d{4}|(?:7(?:[125-9]\\d|41)|9(?:0[1-9]|[1-9]\\d))\\d{5}", , , , "92123456", , , [8]],
7334
- [, , "8007\\d{4,5}|(?:500|800[05])\\d{4}", , , , "80071234"],
7335
- [, , "900\\d{5}", , , , "90012345", , , [8]],
7336
- [, , , , , , , , , [-1]],
7337
- [, , , , , , , , , [-1]],
7338
- [, , , , , , , , , [-1]],
7339
- "OM",
7340
- 968,
7341
- "00",
7342
- ,
7343
- ,
7344
- ,
7345
- ,
7346
- ,
7384
+ OM: [, [, , "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", , , , , , , [7, 8, 9]], [, , "2[1-6]\\d{6}", , , , "23123456", , , [8]], [, , "(?:1505|90[1-9]\\d)\\d{4}|(?:7[124-9]|9[1-9])\\d{6}", , , , "92123456", , , [8]], [, , "8007\\d{4,5}|(?:500|800[05])\\d{4}", , , , "80071234"], [, , "900\\d{5}", , , , "90012345", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "OM", 968, "00", , , , , , , , [[
7347
7385
  ,
7348
- ,
7349
- [[, "(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], [, "(\\d{2})(\\d{6})", "$1 $2", ["2"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]],
7350
- ,
7351
- [, , , , , , , , , [-1]],
7352
- ,
7353
- ,
7354
- [, , , , , , , , , [-1]],
7355
- [, , , , , , , , , [-1]],
7356
- ,
7357
- ,
7358
- [, , , , , , , , , [-1]]
7359
- ],
7386
+ "(\\d{3})(\\d{4,6})",
7387
+ "$1 $2",
7388
+ ["[58]"]
7389
+ ], [, "(\\d{2})(\\d{6})", "$1 $2", ["2"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
7360
7390
  PA: [, [, , "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", , , , , , , [7, 8, 10, 11]], [
7361
7391
  ,
7362
7392
  ,
@@ -7832,7 +7862,7 @@ const L2 = (h) => {
7832
7862
  ,
7833
7863
  ,
7834
7864
  [8]
7835
- ], [, , "898[02-9]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}", , , , "81234567", , , [8]], [, , "(?:18|8)00\\d{7}", , , , "18001234567", , , [10, 11]], [, , "1900\\d{7}", , , , "19001234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[12]\\d|666)\\d{5}", , , , "31234567", , , [8]], "SG", 65, "0[0-3]\\d", , , , , , , , [[, "(\\d{4,5})", "$1", ["1[013-9]|77", "1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [
7865
+ ], [, , "89(?:8[02-9]|90)\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-7])|9[0-8]\\d)\\d{5}", , , , "81234567", , , [8]], [, , "(?:18|8)00\\d{7}", , , , "18001234567", , , [10, 11]], [, , "1900\\d{7}", , , , "19001234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[12]\\d|666)\\d{5}", , , , "31234567", , , [8]], "SG", 65, "0[0-3]\\d", , , , , , , , [[, "(\\d{4,5})", "$1", ["1[013-9]|77", "1(?:[013-8]|9(?:0[1-9]|[1-9]))|77"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [
7836
7866
  ,
7837
7867
  "(\\d{4})(\\d{4})(\\d{3})",
7838
7868
  "$1 $2 $3",
@@ -7979,7 +8009,7 @@ const L2 = (h) => {
7979
8009
  ,
7980
8010
  [, , , , , , , , , [-1]]
7981
8011
  ],
7982
- SN: [, [, , "(?:[378]\\d|93)\\d{7}", , , , , , , [9]], [, , "3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}", , , , "301012345"], [, , "7(?:[05-8]\\d|[19]0|21)\\d{6}", , , , "701234567"], [
8012
+ SN: [, [, , "(?:[378]\\d|93)\\d{7}", , , , , , , [9]], [, , "3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}", , , , "301012345"], [, , "7(?:[015-8]\\d|21|90)\\d{6}", , , , "701234567"], [
7983
8013
  ,
7984
8014
  ,
7985
8015
  "800\\d{6}",
@@ -8025,7 +8055,7 @@ const L2 = (h) => {
8025
8055
  ,
8026
8056
  [7]
8027
8057
  ], [, , "22\\d{5}", , , , "2221234"], [, , "900[5-9]\\d{3}|9(?:0[1-9]|[89]\\d)\\d{4}", , , , "9812345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ST", 239, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8028
- SV: [, [, , "(?:[267]\\d\\d|500)\\d{5}|(?:80\\d|900)\\d{4}(?:\\d{4})?", , , , , , , [7, 8, 11]], [
8058
+ SV: [, [, , "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", , , , , , , [7, 8, 11]], [
8029
8059
  ,
8030
8060
  ,
8031
8061
  "2(?:79(?:0[0347-9]|[1-9]\\d)|89(?:0[024589]|[1-9]\\d))\\d{3}|2(?:[1-69]\\d|[78][0-8])\\d{5}",
@@ -8036,50 +8066,28 @@ const L2 = (h) => {
8036
8066
  ,
8037
8067
  ,
8038
8068
  [8]
8039
- ], [, , "(?:500[0-4]|[67]\\d{3})\\d{4}", , , , "70123456", , , [8]], [, , "800\\d{8}|80[01]\\d{4}", , , , "8001234", , , [7, 11]], [, , "900\\d{4}(?:\\d{4})?", , , , "9001234", , , [7, 11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SV", 503, "00", , , , , , , , [[, "(\\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]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8040
- SX: [
8069
+ ], [, , "(?:5(?:00[0-4]|100)|[67]\\d{3})\\d{4}", , , , "70123456", , , [8]], [, , "800\\d{8}|80[01]\\d{4}", , , , "8001234", , , [7, 11]], [, , "900\\d{4}(?:\\d{4})?", , , , "9001234", , , [7, 11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SV", 503, "00", , , , , , , , [[, "(\\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]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8070
+ SX: [, [
8041
8071
  ,
8042
- [
8043
- ,
8044
- ,
8045
- "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",
8046
- ,
8047
- ,
8048
- ,
8049
- ,
8050
- ,
8051
- ,
8052
- [10],
8053
- [7]
8054
- ],
8055
- [, , "7215(?:4[2-8]|8[239]|9[056])\\d{4}", , , , "7215425678", , , , [7]],
8056
- [, , "7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}", , , , "7215205678", , , , [7]],
8057
- [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"],
8058
- [, , "900[2-9]\\d{6}", , , , "9002123456"],
8059
- [, , , , , , , , , [-1]],
8060
- [, , "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}", , , , "5002345678"],
8061
- [, , , , , , , , , [-1]],
8062
- "SX",
8063
- 1,
8064
- "011",
8065
- "1",
8066
8072
  ,
8073
+ "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",
8067
8074
  ,
8068
- "(5\\d{6})$|1",
8069
- "721$1",
8070
8075
  ,
8071
8076
  ,
8072
8077
  ,
8073
8078
  ,
8074
- [, , , , , , , , , [-1]],
8075
8079
  ,
8076
- "721",
8077
- [, , , , , , , , , [-1]],
8078
- [, , , , , , , , , [-1]],
8080
+ [10],
8081
+ [7]
8082
+ ], [, , "7215(?:4[2-8]|8[239]|9[056])\\d{4}", , , , "7215425678", , , , [7]], [, , "7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}", , , , "7215205678", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [
8079
8083
  ,
8080
8084
  ,
8081
- [, , , , , , , , , [-1]]
8082
- ],
8085
+ "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",
8086
+ ,
8087
+ ,
8088
+ ,
8089
+ "5002345678"
8090
+ ], [, , , , , , , , , [-1]], "SX", 1, "011", "1", , , "(5\\d{6})$|1", "721$1", , , , , [, , , , , , , , , [-1]], , "721", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8083
8091
  SY: [, [, , "[1-359]\\d{8}|[1-5]\\d{7}", , , , , , , [8, 9], [6, 7]], [, , "21\\d{6,7}|(?:1(?:[14]\\d|[2356])|2[235]|3(?:[13]\\d|4)|4[134]|5[1-3])\\d{6}", , , , "112345678", , , , [6, 7]], [, , "(?:50|9[1-9])\\d{7}", , , , "944567890", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SY", 963, "00", "0", , , "0", , , , [[
8084
8092
  ,
8085
8093
  "(\\d{2})(\\d{3})(\\d{3,4})",
@@ -8089,12 +8097,10 @@ const L2 = (h) => {
8089
8097
  ,
8090
8098
  1
8091
8099
  ], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", , 1]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8092
- SZ: [, [, , "0800\\d{4}|(?:[237]\\d|900)\\d{6}", , , , , , , [8, 9]], [, , "[23][2-5]\\d{6}", , , , "22171234", , , [8]], [, , "7[5-9]\\d{6}", , , , "76123456", , , [8]], [, , "0800\\d{4}", , , , "08001234", , , [8]], [, , "900\\d{6}", , , , "900012345", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "70\\d{6}", , , , "70012345", , , [8]], "SZ", 268, "00", , , , , , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], [
8093
- ,
8094
- "(\\d{5})(\\d{4})",
8095
- "$1 $2",
8096
- ["9"]
8097
- ]], , [, , , , , , , , , [-1]], , , [, , "0800\\d{4}", , , , , , , [8]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8100
+ SZ: [, [, , "0800\\d{4}|(?:[237]\\d|900)\\d{6}", , , , , , , [8, 9]], [, , "[23][2-5]\\d{6}", , , , "22171234", , , [8]], [, , "7[5-9]\\d{6}", , , , "76123456", , , [8]], [, , "0800\\d{4}", , , , "08001234", , , [8]], [, , "900\\d{6}", , , , "900012345", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "70\\d{6}", , , , "70012345", , , [8]], "SZ", 268, "00", , , , , , , , [
8101
+ [, "(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]],
8102
+ [, "(\\d{5})(\\d{4})", "$1 $2", ["9"]]
8103
+ ], , [, , , , , , , , , [-1]], , , [, , "0800\\d{4}", , , , , , , [8]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8098
8104
  TA: [, [, , "8\\d{3}", , , , , , , [4]], [, , "8\\d{3}", , , , "8999"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TA", 290, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "8", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8099
8105
  TC: [, [, , "(?:[58]\\d\\d|649|900)\\d{7}", , , , , , , [10], [7]], [, , "649(?:266|712|9(?:4\\d|50))\\d{4}", , , , "6497121234", , , , [7]], [
8100
8106
  ,
@@ -8120,7 +8126,7 @@ const L2 = (h) => {
8120
8126
  ,
8121
8127
  [-1]
8122
8128
  ], , "649", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8123
- TD: [, [, , "(?:22|30|[689]\\d|77)\\d{6}", , , , , , , [8]], [, , "22(?:[37-9]0|5[0-5]|6[89])\\d{4}", , , , "22501234"], [, , "(?:30|[69]\\d|77|8[56])\\d{6}", , , , "63012345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TD", 235, "00|16", , , , , , "00", , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8129
+ TD: [, [, , "(?:22|30|[689]\\d|77)\\d{6}", , , , , , , [8]], [, , "22(?:[37-9]0|5[0-5]|6[89])\\d{4}", , , , "22501234"], [, , "(?:30|[69]\\d|77|8[5-7])\\d{6}", , , , "63012345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TD", 235, "00|16", , , , , , "00", , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8124
8130
  TG: [, [, , "[279]\\d{7}", , , , , , , [8]], [
8125
8131
  ,
8126
8132
  ,
@@ -8298,7 +8304,7 @@ const L2 = (h) => {
8298
8304
  ,
8299
8305
  [, , "(?:[25-8]\\d|41|90)\\d{7}", , , , , , , [9]],
8300
8306
  [, , "2[2-8]\\d{7}", , , , "222345678"],
8301
- [, , "(?:6[125-9]|7[13-9])\\d{7}", , , , "621234567"],
8307
+ [, , "(?:6[1-35-9]|7[13-9])\\d{7}", , , , "621234567"],
8302
8308
  [, , "80[08]\\d{6}", , , , "800123456"],
8303
8309
  [, , "90\\d{7}", , , , "900123456"],
8304
8310
  [, , "8(?:40|6[01])\\d{6}", , , , "840123456"],
@@ -8356,7 +8362,7 @@ const L2 = (h) => {
8356
8362
  ,
8357
8363
  ,
8358
8364
  [5, 6, 7]
8359
- ], [, , "72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|36|9[0-289])\\d{6}", , , , "712345678"], [, , "800[1-3]\\d{5}", , , , "800123456"], [, , "90[1-3]\\d{6}", , , , "901123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UG", 256, "00[057]", "0", , , "0", , , , [[, "(\\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"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8365
+ ], [, , "72[48]0\\d{5}|7(?:[014-8]\\d|2[0167]|3[06]|9[0-2589])\\d{6}", , , , "712345678"], [, , "800[1-3]\\d{5}", , , , "800123456"], [, , "90[1-3]\\d{6}", , , , "901123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UG", 256, "00[057]", "0", , , "0", , , , [[, "(\\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"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]],
8360
8366
  US: [, [
8361
8367
  ,
8362
8368
  ,
@@ -8422,7 +8428,7 @@ const L2 = (h) => {
8422
8428
  [
8423
8429
  ,
8424
8430
  ,
8425
- "(?:(?:[25]0|33|8[78]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",
8431
+ "(?:(?:[25]0|33|8[078]|9[0-57-9])\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:(?:11|7\\d)\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\d)\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079])))|7(?:[07]\\d{3}|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07]))))\\d{4}",
8426
8432
  ,
8427
8433
  ,
8428
8434
  ,
@@ -8885,13 +8891,13 @@ const L2 = (h) => {
8885
8891
  ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 888, , , , , , , , 1, [[, "(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "\\d{11}", , , , "12345678901"], , , [, , , , , , , , , [-1]]],
8886
8892
  979: [, [, , "[1359]\\d{8}", , , , , , , [9], [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "[1359]\\d{8}", , , , "123456789", , , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 979, , , , , , , , 1, [[, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]]
8887
8893
  };
8888
- function R() {
8894
+ function M() {
8889
8895
  this.g = {};
8890
8896
  }
8891
- R.h = void 0, R.g = function() {
8892
- return R.h ? R.h : R.h = new R();
8897
+ M.h = void 0, M.g = function() {
8898
+ return M.h ? M.h : M.h = new M();
8893
8899
  };
8894
- var _1 = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, v0 = {
8900
+ var S1 = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "0": "0", "1": "1", "2": "2", "3": "3", "4": "4", "5": "5", "6": "6", "7": "7", "8": "8", "9": "9", "٠": "0", "١": "1", "٢": "2", "٣": "3", "٤": "4", "٥": "5", "٦": "6", "٧": "7", "٨": "8", "٩": "9", "۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9" }, v0 = {
8895
8901
  0: "0",
8896
8902
  1: "1",
8897
8903
  2: "2",
@@ -8972,54 +8978,54 @@ const L2 = (h) => {
8972
8978
  X: "9",
8973
8979
  Y: "9",
8974
8980
  Z: "9"
8975
- }, M0 = RegExp("[++]+"), $1 = RegExp("^[++]+"), W1 = RegExp("([0-90-9٠-٩۰-۹])"), R0 = RegExp("[++0-90-9٠-٩۰-۹]"), O0 = /[\\\/] *x/, x0 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), B0 = /(?:.*?[A-Za-z]){3}.*/, U0 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), G0 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
8976
- function d1(d) {
8981
+ }, M0 = RegExp("[++]+"), s1 = RegExp("^[++]+"), K1 = RegExp("([0-90-9٠-٩۰-۹])"), R0 = RegExp("[++0-90-9٠-٩۰-۹]"), O0 = /[\\\/] *x/, x0 = RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"), B0 = /(?:.*?[A-Za-z]){3}.*/, U0 = RegExp("^\\+([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*[0-90-9٠-٩۰-۹]([0-90-9٠-٩۰-۹]|[\\-\\.\\(\\)]?)*$"), G0 = RegExp("^([A-Za-z0-90-9٠-٩۰-۹]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-90-9٠-٩۰-۹])*\\.?$");
8982
+ function e1(d) {
8977
8983
  return "([0-90-9٠-٩۰-۹]{1," + d + "})";
8978
8984
  }
8979
- function V1() {
8980
- return ";ext=" + d1("20") + "|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*" + (d1("20") + "#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*") + (d1("9") + "#?|[- ]+") + (d1("6") + "#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*") + (d1("15") + "#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*") + (d1("9") + "#?");
8981
- }
8982
- var K1 = new RegExp("(?:" + V1() + ")$", "i"), H0 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + V1() + ")?$", "i"), k0 = /(\$\d)/, F0 = /^\(?\$1\)?$/;
8983
- function j1(d) {
8984
- return 2 > d.length ? !1 : V(H0, d);
8985
- }
8986
- function Y1(d) {
8987
- return V(B0, d) ? a1(d, P0) : a1(d, _1);
8985
+ function j1() {
8986
+ return ";ext=" + e1("20") + "|[  \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)[:\\..]?[  \\t,-]*" + (e1("20") + "#?|[  \\t,]*(?:[xx##~~]|int|int)[:\\..]?[  \\t,-]*") + (e1("9") + "#?|[- ]+") + (e1("6") + "#|[  \\t]*(?:,{2}|;)[:\\..]?[  \\t,-]*") + (e1("15") + "#?|[  \\t]*(?:,)+[:\\..]?[  \\t,-]*") + (e1("9") + "#?");
8988
8987
  }
8988
+ var Y1 = new RegExp("(?:" + j1() + ")$", "i"), H0 = new RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:" + j1() + ")?$", "i"), k0 = /(\$\d)/, V0 = /^\(?\$1\)?$/;
8989
8989
  function z1(d) {
8990
- var t = Y1(d.toString());
8991
- H(d), d.g(t);
8990
+ return 2 > d.length ? !1 : j(H0, d);
8992
8991
  }
8993
8992
  function Z1(d) {
8994
- return d != null && (j(d, 9) != 1 || O(d, 9)[0] != -1);
8993
+ return j(B0, d) ? p1(d, P0) : p1(d, S1);
8995
8994
  }
8996
- function a1(d, t) {
8997
- for (var n = new D(), r, o = d.length, l = 0; l < o; ++l) r = d.charAt(l), r = t[r.toUpperCase()], r != null && n.g(r);
8995
+ function J1(d) {
8996
+ var t = Z1(d.toString());
8997
+ G(d), d.g(t);
8998
+ }
8999
+ function X1(d) {
9000
+ return d != null && (z(d, 9) != 1 || O(d, 9)[0] != -1);
9001
+ }
9002
+ function p1(d, t) {
9003
+ for (var n = new v(), r, o = d.length, l = 0; l < o; ++l) r = d.charAt(l), r = t[r.toUpperCase()], r != null && n.g(r);
8998
9004
  return n.toString();
8999
9005
  }
9000
- function J1(d) {
9001
- return d.length == 0 || F0.test(d);
9006
+ function q1(d) {
9007
+ return d.length == 0 || V0.test(d);
9002
9008
  }
9003
- function c1(d) {
9004
- return d != null && isNaN(d) && d.toUpperCase() in F1;
9009
+ function C1(d) {
9010
+ return d != null && isNaN(d) && d.toUpperCase() in W1;
9005
9011
  }
9006
- R.prototype.format = function(d, t) {
9007
- if (g(d, 2) == 0 && G(d, 5)) {
9012
+ M.prototype.format = function(d, t) {
9013
+ if (g(d, 2) == 0 && U(d, 5)) {
9008
9014
  var n = S(d, 5);
9009
9015
  if (0 < n.length) return n;
9010
9016
  }
9011
9017
  n = S(d, 1);
9012
- var r = i1(d);
9013
- if (t == 0) return X1(n, 0, r, "");
9014
- if (!(n in e1)) return r;
9015
- var o = n1(this, n, s1(n));
9016
- d = G(d, 3) && g(d, 3).length != 0 ? t == 3 ? ";ext=" + g(d, 3) : G(o, 13) ? g(o, 13) + S(d, 3) : " ext. " + S(d, 3) : "";
9018
+ var r = o1(d);
9019
+ if (t == 0) return Q1(n, 0, r, "");
9020
+ if (!(n in i1)) return r;
9021
+ var o = r1(this, n, u1(n));
9022
+ d = U(d, 3) && g(d, 3).length != 0 ? t == 3 ? ";ext=" + g(d, 3) : U(o, 13) ? g(o, 13) + S(d, 3) : " ext. " + S(d, 3) : "";
9017
9023
  d: {
9018
9024
  o = O(o, 20).length == 0 || t == 2 ? O(o, 19) : O(o, 20);
9019
9025
  for (var l, c = o.length, p = 0; p < c; ++p) {
9020
9026
  l = o[p];
9021
- var y = j(l, 3);
9022
- if ((y == 0 || r.search(g(l, 3, y - 1)) == 0) && (y = new RegExp(g(l, 1)), V(y, r))) {
9027
+ var I = z(l, 3);
9028
+ if ((I == 0 || r.search(g(l, 3, I - 1)) == 0) && (I = new RegExp(g(l, 1)), j(I, r))) {
9023
9029
  o = l;
9024
9030
  break d;
9025
9031
  }
@@ -9029,17 +9035,17 @@ const L2 = (h) => {
9029
9035
  return o != null && (c = o, o = S(c, 2), l = new RegExp(g(c, 1)), S(
9030
9036
  c,
9031
9037
  5
9032
- ), c = S(c, 4), r = t == 2 && c != null && 0 < c.length ? r.replace(l, o.replace(k0, c)) : r.replace(l, o), t == 3 && (r = r.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), r = r.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), X1(n, t, r, d);
9038
+ ), c = S(c, 4), r = t == 2 && c != null && 0 < c.length ? r.replace(l, o.replace(k0, c)) : r.replace(l, o), t == 3 && (r = r.replace(RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+"), ""), r = r.replace(RegExp("[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]+", "g"), "-"))), Q1(n, t, r, d);
9033
9039
  };
9034
- function n1(d, t, n) {
9035
- return n == "001" ? z(d, "" + t) : z(d, n);
9040
+ function r1(d, t, n) {
9041
+ return n == "001" ? J(d, "" + t) : J(d, n);
9036
9042
  }
9037
- function i1(d) {
9038
- if (!G(d, 2)) return "";
9043
+ function o1(d) {
9044
+ if (!U(d, 2)) return "";
9039
9045
  var t = "" + g(d, 2);
9040
- return G(d, 4) && g(d, 4) && 0 < S(d, 8) ? Array(S(d, 8) + 1).join("0") + t : t;
9046
+ return U(d, 4) && g(d, 4) && 0 < S(d, 8) ? Array(S(d, 8) + 1).join("0") + t : t;
9041
9047
  }
9042
- function X1(d, t, n, r) {
9048
+ function Q1(d, t, n, r) {
9043
9049
  switch (t) {
9044
9050
  case 0:
9045
9051
  return "+" + d + n + r;
@@ -9051,7 +9057,7 @@ const L2 = (h) => {
9051
9057
  return n + r;
9052
9058
  }
9053
9059
  }
9054
- function h1(d, t) {
9060
+ function g1(d, t) {
9055
9061
  switch (t) {
9056
9062
  case 4:
9057
9063
  return g(d, 5);
@@ -9078,47 +9084,47 @@ const L2 = (h) => {
9078
9084
  return g(d, 1);
9079
9085
  }
9080
9086
  }
9081
- function q1(d, t) {
9082
- var n = Q1(d, t);
9083
- return d = n1(d, S(t, 1), n), d == null ? -1 : (t = i1(t), E1(t, d));
9087
+ function d0(d, t) {
9088
+ var n = t0(d, t);
9089
+ return d = r1(d, S(t, 1), n), d == null ? -1 : (t = o1(t), b1(t, d));
9084
9090
  }
9085
- function E1(d, t) {
9091
+ function b1(d, t) {
9086
9092
  return F(d, g(t, 1)) ? F(d, g(t, 5)) ? 4 : F(d, g(t, 4)) ? 3 : F(d, g(t, 6)) ? 5 : F(d, g(t, 8)) ? 6 : F(d, g(t, 7)) ? 7 : F(d, g(t, 21)) ? 8 : F(d, g(t, 25)) ? 9 : F(d, g(t, 28)) ? 10 : F(d, g(t, 2)) ? g(t, 18) || F(d, g(t, 3)) ? 2 : 0 : !g(t, 18) && F(d, g(t, 3)) ? 1 : -1 : -1;
9087
9093
  }
9088
- function z(d, t) {
9094
+ function J(d, t) {
9089
9095
  if (t == null) return null;
9090
9096
  t = t.toUpperCase();
9091
9097
  var n = d.g[t];
9092
9098
  if (n == null) {
9093
- if (n = F1[t], n == null) return null;
9094
- n = new t1().g(J.m(), n), d.g[t] = n;
9099
+ if (n = W1[t], n == null) return null;
9100
+ n = new n1().g(q.m(), n), d.g[t] = n;
9095
9101
  }
9096
9102
  return n;
9097
9103
  }
9098
9104
  function F(d, t) {
9099
9105
  var n = d.length;
9100
- return 0 < j(t, 9) && O(t, 9).indexOf(n) == -1 ? !1 : V(S(t, 2), d);
9106
+ return 0 < z(t, 9) && O(t, 9).indexOf(n) == -1 ? !1 : j(S(t, 2), d);
9101
9107
  }
9102
- function W0(d, t) {
9103
- var n = Q1(d, t), r = S(t, 1), o = n1(d, r, n);
9104
- return o == null || n != "001" && r != d0(d, n) ? o = !1 : (d = i1(t), o = E1(d, o) != -1), o;
9108
+ function F0(d, t) {
9109
+ var n = t0(d, t), r = S(t, 1), o = r1(d, r, n);
9110
+ return o == null || n != "001" && r != e0(d, n) ? o = !1 : (d = o1(t), o = b1(d, o) != -1), o;
9105
9111
  }
9106
- function Q1(d, t) {
9112
+ function t0(d, t) {
9107
9113
  if (t == null) return null;
9108
9114
  var n = S(t, 1);
9109
- if (n = e1[n], n == null) d = null;
9115
+ if (n = i1[n], n == null) d = null;
9110
9116
  else if (n.length == 1) d = n[0];
9111
9117
  else d: {
9112
- t = i1(t);
9118
+ t = o1(t);
9113
9119
  for (var r, o = n.length, l = 0; l < o; l++) {
9114
9120
  r = n[l];
9115
- var c = z(d, r);
9116
- if (G(c, 23)) {
9121
+ var c = J(d, r);
9122
+ if (U(c, 23)) {
9117
9123
  if (t.search(g(c, 23)) == 0) {
9118
9124
  d = r;
9119
9125
  break d;
9120
9126
  }
9121
- } else if (E1(t, c) != -1) {
9127
+ } else if (b1(t, c) != -1) {
9122
9128
  d = r;
9123
9129
  break d;
9124
9130
  }
@@ -9127,70 +9133,70 @@ const L2 = (h) => {
9127
9133
  }
9128
9134
  return d;
9129
9135
  }
9130
- function s1(d) {
9131
- return d = e1[d], d == null ? "ZZ" : d[0];
9136
+ function u1(d) {
9137
+ return d = i1[d], d == null ? "ZZ" : d[0];
9132
9138
  }
9133
- function d0(d, t) {
9134
- if (d = z(d, t), d == null) throw Error("Invalid region code: " + t);
9139
+ function e0(d, t) {
9140
+ if (d = J(d, t), d == null) throw Error("Invalid region code: " + t);
9135
9141
  return S(d, 10);
9136
9142
  }
9137
- function f1(d, t, n, r) {
9138
- var o = h1(n, r), l = j(o, 9) == 0 ? O(g(n, 1), 9) : O(o, 9);
9139
- if (o = O(o, 10), r == 2) if (Z1(h1(n, 0))) d = h1(n, 1), Z1(d) && (l = l.concat(j(d, 9) == 0 ? O(g(n, 1), 9) : O(d, 9)), l.sort(), o.length == 0 ? o = O(d, 10) : (o = o.concat(O(d, 10)), o.sort()));
9140
- else return f1(d, t, n, 1);
9143
+ function m1(d, t, n, r) {
9144
+ var o = g1(n, r), l = z(o, 9) == 0 ? O(g(n, 1), 9) : O(o, 9);
9145
+ if (o = O(o, 10), r == 2) if (X1(g1(n, 0))) d = g1(n, 1), X1(d) && (l = l.concat(z(d, 9) == 0 ? O(g(n, 1), 9) : O(d, 9)), l.sort(), o.length == 0 ? o = O(d, 10) : (o = o.concat(O(d, 10)), o.sort()));
9146
+ else return m1(d, t, n, 1);
9141
9147
  return l[0] == -1 ? 5 : (t = t.length, -1 < o.indexOf(t) ? 4 : (n = l[0], n == t ? 0 : n > t ? 2 : l[l.length - 1] < t ? 3 : -1 < l.indexOf(t, 1) ? 0 : 5));
9142
9148
  }
9143
- function p1(d, t, n) {
9144
- var r = i1(t);
9145
- return t = S(t, 1), t in e1 ? (t = n1(d, t, s1(t)), f1(d, r, t, n)) : 1;
9149
+ function y1(d, t, n) {
9150
+ var r = o1(t);
9151
+ return t = S(t, 1), t in i1 ? (t = r1(d, t, u1(t)), m1(d, r, t, n)) : 1;
9146
9152
  }
9147
- function t0(d, t) {
9153
+ function $0(d, t) {
9148
9154
  if (d = d.toString(), d.length == 0 || d.charAt(0) == "0") return 0;
9149
- for (var n, r = d.length, o = 1; 3 >= o && o <= r; ++o) if (n = parseInt(d.substring(0, o), 10), n in e1) return t.g(d.substring(o)), n;
9155
+ for (var n, r = d.length, o = 1; 3 >= o && o <= r; ++o) if (n = parseInt(d.substring(0, o), 10), n in i1) return t.g(d.substring(o)), n;
9150
9156
  return 0;
9151
9157
  }
9152
- function e0(d, t, n, r, o, l) {
9158
+ function n0(d, t, n, r, o, l) {
9153
9159
  if (t.length == 0) return 0;
9154
- t = new D(t);
9160
+ t = new v(t);
9155
9161
  var c;
9156
9162
  n != null && (c = g(n, 11)), c == null && (c = "NonMatch");
9157
9163
  var p = t.toString();
9158
9164
  if (p.length == 0) c = 20;
9159
- else if ($1.test(p)) p = p.replace($1, ""), H(t), t.g(Y1(p)), c = 1;
9165
+ else if (s1.test(p)) p = p.replace(s1, ""), G(t), t.g(Z1(p)), c = 1;
9160
9166
  else {
9161
- if (p = new RegExp(c), z1(t), c = t.toString(), c.search(p) == 0) {
9167
+ if (p = new RegExp(c), J1(t), c = t.toString(), c.search(p) == 0) {
9162
9168
  p = c.match(p)[0].length;
9163
- var y = c.substring(p).match(W1);
9164
- y && y[1] != null && 0 < y[1].length && a1(y[1], _1) == "0" ? c = !1 : (H(t), t.g(c.substring(p)), c = !0);
9169
+ var I = c.substring(p).match(K1);
9170
+ I && I[1] != null && 0 < I[1].length && p1(I[1], S1) == "0" ? c = !1 : (G(t), t.g(c.substring(p)), c = !0);
9165
9171
  } else c = !1;
9166
9172
  c = c ? 5 : 20;
9167
9173
  }
9168
- if (o && M(l, 6, c), c != 20) {
9174
+ if (o && P(l, 6, c), c != 20) {
9169
9175
  if (2 >= t.h.length) throw Error("Phone number too short after IDD");
9170
- if (d = t0(t, r), d != 0) return M(l, 1, d), d;
9176
+ if (d = $0(t, r), d != 0) return P(l, 1, d), d;
9171
9177
  throw Error("Invalid country calling code");
9172
9178
  }
9173
- return n != null && (c = S(n, 10), p = "" + c, y = t.toString(), y.lastIndexOf(p, 0) == 0 && (p = new D(y.substring(p.length)), y = g(n, 1), y = new RegExp(S(y, 2)), $0(p, n, null), p = p.toString(), !V(y, t.toString()) && V(y, p) || f1(d, t.toString(), n, -1) == 3)) ? (r.g(p), o && M(l, 6, 10), M(l, 1, c), c) : (M(l, 1, 0), 0);
9179
+ return n != null && (c = S(n, 10), p = "" + c, I = t.toString(), I.lastIndexOf(p, 0) == 0 && (p = new v(I.substring(p.length)), I = g(n, 1), I = new RegExp(S(I, 2)), i0(p, n, null), p = p.toString(), !j(I, t.toString()) && j(I, p) || m1(d, t.toString(), n, -1) == 3)) ? (r.g(p), o && P(l, 6, 10), P(l, 1, c), c) : (P(l, 1, 0), 0);
9174
9180
  }
9175
- function $0(d, t, n) {
9181
+ function i0(d, t, n) {
9176
9182
  var r = d.toString(), o = r.length, l = g(t, 15);
9177
9183
  if (o != 0 && l != null && l.length != 0) {
9178
9184
  var c = new RegExp("^(?:" + l + ")");
9179
9185
  if (o = c.exec(r)) {
9180
9186
  l = new RegExp(S(g(t, 1), 2));
9181
- var p = V(l, r), y = o.length - 1;
9182
- t = g(t, 16), t == null || t.length == 0 || o[y] == null || o[y].length == 0 ? (!p || V(l, r.substring(o[0].length))) && (n != null && 0 < y && o[y] != null && n.g(o[1]), d.set(r.substring(o[0].length))) : (r = r.replace(c, t), (!p || V(l, r)) && (n != null && 0 < y && n.g(o[1]), d.set(r)));
9187
+ var p = j(l, r), I = o.length - 1;
9188
+ t = g(t, 16), t == null || t.length == 0 || o[I] == null || o[I].length == 0 ? (!p || j(l, r.substring(o[0].length))) && (n != null && 0 < I && o[I] != null && n.g(o[1]), d.set(r.substring(o[0].length))) : (r = r.replace(c, t), (!p || j(l, r)) && (n != null && 0 < I && n.g(o[1]), d.set(r)));
9183
9189
  }
9184
9190
  }
9185
9191
  }
9186
- function X(d, t, n) {
9187
- if (!c1(n) && 0 < t.length && t.charAt(0) != "+") throw Error("Invalid country calling code");
9188
- return n0(d, t, n, !0);
9192
+ function Q(d, t, n) {
9193
+ if (!C1(n) && 0 < t.length && t.charAt(0) != "+") throw Error("Invalid country calling code");
9194
+ return s0(d, t, n, !0);
9189
9195
  }
9190
- function n0(d, t, n, r) {
9196
+ function s0(d, t, n, r) {
9191
9197
  if (t == null) throw Error("The string supplied did not seem to be a phone number");
9192
9198
  if (250 < t.length) throw Error("The string supplied is too long to be a phone number");
9193
- var o = new D(), l = t.indexOf(";phone-context=");
9199
+ var o = new v(), l = t.indexOf(";phone-context=");
9194
9200
  if (l === -1) l = null;
9195
9201
  else if (l += 15, l >= t.length) l = "";
9196
9202
  else {
@@ -9198,80 +9204,80 @@ const L2 = (h) => {
9198
9204
  l = c !== -1 ? t.substring(l, c) : t.substring(l);
9199
9205
  }
9200
9206
  var p = l;
9201
- if (p == null ? c = !0 : p.length === 0 ? c = !1 : (c = U0.exec(p), p = G0.exec(p), c = c !== null || p !== null), !c || (l != null ? (l.charAt(0) === "+" && o.g(l), l = t.indexOf("tel:"), o.g(t.substring(0 <= l ? l + 4 : 0, t.indexOf(";phone-context=")))) : (l = o.g, c = t ?? "", p = c.search(R0), 0 <= p ? (c = c.substring(p), c = c.replace(x0, ""), p = c.search(O0), 0 <= p && (c = c.substring(0, p))) : c = "", l.call(o, c)), l = o.toString(), c = l.indexOf(";isub="), 0 < c && (H(o), o.g(l.substring(0, c))), !j1(o.toString()))) throw Error("The string supplied did not seem to be a phone number");
9202
- if (l = o.toString(), !(c1(n) || l != null && 0 < l.length && $1.test(l))) throw Error("Invalid country calling code");
9203
- l = new Y(), r && M(l, 5, t);
9207
+ if (p == null ? c = !0 : p.length === 0 ? c = !1 : (c = U0.exec(p), p = G0.exec(p), c = c !== null || p !== null), !c || (l != null ? (l.charAt(0) === "+" && o.g(l), l = t.indexOf("tel:"), o.g(t.substring(0 <= l ? l + 4 : 0, t.indexOf(";phone-context=")))) : (l = o.g, c = t ?? "", p = c.search(R0), 0 <= p ? (c = c.substring(p), c = c.replace(x0, ""), p = c.search(O0), 0 <= p && (c = c.substring(0, p))) : c = "", l.call(o, c)), l = o.toString(), c = l.indexOf(";isub="), 0 < c && (G(o), o.g(l.substring(0, c))), !z1(o.toString()))) throw Error("The string supplied did not seem to be a phone number");
9208
+ if (l = o.toString(), !(C1(n) || l != null && 0 < l.length && s1.test(l))) throw Error("Invalid country calling code");
9209
+ l = new Z(), r && P(l, 5, t);
9204
9210
  d: {
9205
- if (t = o.toString(), c = t.search(K1), 0 <= c && j1(t.substring(0, c))) {
9206
- p = t.match(K1);
9207
- for (var y = p.length, K = 1; K < y; ++K) if (p[K] != null && 0 < p[K].length) {
9208
- H(o), o.g(t.substring(0, c)), t = p[K];
9211
+ if (t = o.toString(), c = t.search(Y1), 0 <= c && z1(t.substring(0, c))) {
9212
+ p = t.match(Y1);
9213
+ for (var I = p.length, Y = 1; Y < I; ++Y) if (p[Y] != null && 0 < p[Y].length) {
9214
+ G(o), o.g(t.substring(0, c)), t = p[Y];
9209
9215
  break d;
9210
9216
  }
9211
9217
  }
9212
9218
  t = "";
9213
9219
  }
9214
- 0 < t.length && M(l, 3, t), c = z(d, n), t = new D(), p = 0, y = o.toString();
9220
+ 0 < t.length && P(l, 3, t), c = J(d, n), t = new v(), p = 0, I = o.toString();
9215
9221
  try {
9216
- p = e0(d, y, c, t, r, l);
9217
- } catch (L1) {
9218
- if (L1.message == "Invalid country calling code" && $1.test(y)) {
9219
- if (y = y.replace($1, ""), p = e0(d, y, c, t, r, l), p == 0) throw L1;
9220
- } else throw L1;
9222
+ p = n0(d, I, c, t, r, l);
9223
+ } catch (A1) {
9224
+ if (A1.message == "Invalid country calling code" && s1.test(I)) {
9225
+ if (I = I.replace(s1, ""), p = n0(d, I, c, t, r, l), p == 0) throw A1;
9226
+ } else throw A1;
9221
9227
  }
9222
- if (p != 0 ? (o = s1(p), o != n && (c = n1(d, p, o))) : (z1(o), t.g(o.toString()), n != null ? (p = S(c, 10), M(
9228
+ if (p != 0 ? (o = u1(p), o != n && (c = r1(d, p, o))) : (J1(o), t.g(o.toString()), n != null ? (p = S(c, 10), P(
9223
9229
  l,
9224
9230
  1,
9225
9231
  p
9226
- )) : r && (delete l.h[6], l.g && delete l.g[6])), 2 > t.h.length || (c != null && (n = new D(), o = new D(t.toString()), $0(o, c, n), d = f1(d, o.toString(), c, -1), d != 2 && d != 4 && d != 5 && (t = o, r && 0 < n.toString().length && M(l, 7, n.toString()))), r = t.toString(), d = r.length, 2 > d)) throw Error("The string supplied is too short to be a phone number");
9232
+ )) : r && (delete l.h[6], l.g && delete l.g[6])), 2 > t.h.length || (c != null && (n = new v(), o = new v(t.toString()), i0(o, c, n), d = m1(d, o.toString(), c, -1), d != 2 && d != 4 && d != 5 && (t = o, r && 0 < n.toString().length && P(l, 7, n.toString()))), r = t.toString(), d = r.length, 2 > d)) throw Error("The string supplied is too short to be a phone number");
9227
9233
  if (17 < d) throw Error("The string supplied is too long to be a phone number");
9228
9234
  if (1 < r.length && r.charAt(0) == "0") {
9229
- for (M(l, 4, !0), d = 1; d < r.length - 1 && r.charAt(d) == "0"; ) d++;
9230
- d != 1 && M(l, 8, d);
9235
+ for (P(l, 4, !0), d = 1; d < r.length - 1 && r.charAt(d) == "0"; ) d++;
9236
+ d != 1 && P(l, 8, d);
9231
9237
  }
9232
- return M(l, 2, parseInt(r, 10)), l;
9238
+ return P(l, 2, parseInt(r, 10)), l;
9233
9239
  }
9234
- function V(d, t) {
9240
+ function j(d, t) {
9235
9241
  return !!((d = t.match(new RegExp("^(?:" + (typeof d == "string" ? d : d.source) + ")$", "i"))) && d[0].length == t.length);
9236
9242
  }
9237
- function V0(d) {
9238
- this.fa = RegExp(" "), this.ja = "", this.v = new D(), this.da = "", this.s = new D(), this.ba = new D(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = R.g(), this.$ = 0, this.h = new D(), this.ha = !1, this.o = "", this.g = new D(), this.j = [], this.ka = d, this.l = r0(this, this.ka);
9243
+ function W0(d) {
9244
+ this.fa = RegExp(" "), this.ja = "", this.v = new v(), this.da = "", this.s = new v(), this.ba = new v(), this.u = !0, this.ea = this.ca = this.la = !1, this.ga = M.g(), this.$ = 0, this.h = new v(), this.ha = !1, this.o = "", this.g = new v(), this.j = [], this.ka = d, this.l = u0(this, this.ka);
9239
9245
  }
9240
- var i0 = new J();
9241
- M(i0, 11, "NA");
9242
- var K0 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), s0 = /[- ]/;
9243
- function r0(d, t) {
9246
+ var r0 = new q();
9247
+ P(r0, 11, "NA");
9248
+ var K0 = RegExp("^[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*\\$1[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*(\\$\\d[-x‐-―−ー--/  ­​⁠ ()()[].\\[\\]/~⁓∼~]*)*$"), o0 = /[- ]/;
9249
+ function u0(d, t) {
9244
9250
  var n = d.ga;
9245
- return t = c1(t) ? d0(n, t) : 0, d = z(d.ga, s1(t)), d ?? i0;
9251
+ return t = C1(t) ? e0(n, t) : 0, d = J(d.ga, u1(t)), d ?? r0;
9246
9252
  }
9247
- function o0(d) {
9253
+ function l0(d) {
9248
9254
  for (var t = d.j.length, n = 0; n < t; ++n) {
9249
9255
  var r = d.j[n], o = S(r, 1);
9250
9256
  if (d.da == o) return !1;
9251
9257
  var l = d, c = r, p = S(c, 1);
9252
- H(l.v);
9253
- var y = l;
9258
+ G(l.v);
9259
+ var I = l;
9254
9260
  c = S(c, 2);
9255
- var K = "999999999999999".match(p)[0];
9256
- if (K.length < y.g.h.length ? y = "" : (y = K.replace(new RegExp(p, "g"), c), y = y.replace(RegExp("9", "g"), " ")), 0 < y.length ? (l.v.g(y), l = !0) : l = !1, l) return d.da = o, d.ha = s0.test(g(r, 4)), d.$ = 0, !0;
9261
+ var Y = "999999999999999".match(p)[0];
9262
+ if (Y.length < I.g.h.length ? I = "" : (I = Y.replace(new RegExp(p, "g"), c), I = I.replace(RegExp("9", "g"), " ")), 0 < I.length ? (l.v.g(I), l = !0) : l = !1, l) return d.da = o, d.ha = o0.test(g(r, 4)), d.$ = 0, !0;
9257
9263
  }
9258
9264
  return d.u = !1;
9259
9265
  }
9260
- function u0(d, t) {
9266
+ function a0(d, t) {
9261
9267
  for (var n = [], r = t.length - 3, o = d.j.length, l = 0; l < o; ++l) {
9262
9268
  var c = d.j[l];
9263
- j(c, 3) == 0 ? n.push(d.j[l]) : (c = g(c, 3, Math.min(r, j(c, 3) - 1)), t.search(c) == 0 && n.push(d.j[l]));
9269
+ z(c, 3) == 0 ? n.push(d.j[l]) : (c = g(c, 3, Math.min(r, z(c, 3) - 1)), t.search(c) == 0 && n.push(d.j[l]));
9264
9270
  }
9265
9271
  d.j = n;
9266
9272
  }
9267
9273
  function j0(d, t) {
9268
9274
  d.s.g(t);
9269
9275
  var n = t;
9270
- if (W1.test(n) || d.s.h.length == 1 && M0.test(n) ? (t == "+" ? (n = t, d.ba.g(t)) : (n = _1[t], d.ba.g(n), d.g.g(n)), t = n) : (d.u = !1, d.la = !0), !d.u) {
9276
+ if (K1.test(n) || d.s.h.length == 1 && M0.test(n) ? (t == "+" ? (n = t, d.ba.g(t)) : (n = S1[t], d.ba.g(n), d.g.g(n)), t = n) : (d.u = !1, d.la = !0), !d.u) {
9271
9277
  if (!d.la) {
9272
- if (f0(d)) {
9273
- if (p0(d)) return l0(d);
9274
- } else if (0 < d.o.length && (t = d.g.toString(), H(d.g), d.g.g(d.o), d.g.g(t), t = d.h.toString(), n = t.lastIndexOf(d.o), H(d.h), d.h.g(t.substring(0, n))), d.o != h0(d)) return d.h.g(" "), l0(d);
9278
+ if (C0(d)) {
9279
+ if (g0(d)) return c0(d);
9280
+ } else if (0 < d.o.length && (t = d.g.toString(), G(d.g), d.g.g(d.o), d.g.g(t), t = d.h.toString(), n = t.lastIndexOf(d.o), G(d.h), d.h.g(t.substring(0, n))), d.o != p0(d)) return d.h.g(" "), c0(d);
9275
9281
  }
9276
9282
  return d.s.toString();
9277
9283
  }
@@ -9281,75 +9287,75 @@ const L2 = (h) => {
9281
9287
  case 2:
9282
9288
  return d.s.toString();
9283
9289
  case 3:
9284
- if (f0(d)) d.ea = !0;
9285
- else return d.o = h0(d), N1(d);
9290
+ if (C0(d)) d.ea = !0;
9291
+ else return d.o = p0(d), T1(d);
9286
9292
  default:
9287
- return d.ea ? (p0(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = C0(d, t), n = a0(d), 0 < n.length ? n : (u0(d, d.g.toString()), o0(d) ? c0(d) : d.u ? C1(d, t) : d.s.toString())) : N1(d);
9293
+ return d.ea ? (g0(d) && (d.ea = !1), d.h.toString() + d.g.toString()) : 0 < d.j.length ? (t = m0(d, t), n = h0(d), 0 < n.length ? n : (a0(d, d.g.toString()), l0(d) ? f0(d) : d.u ? I1(d, t) : d.s.toString())) : T1(d);
9288
9294
  }
9289
9295
  }
9290
- function l0(d) {
9291
- return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, H(d.v), d.da = "", N1(d);
9296
+ function c0(d) {
9297
+ return d.u = !0, d.ea = !1, d.j = [], d.$ = 0, G(d.v), d.da = "", T1(d);
9292
9298
  }
9293
- function a0(d) {
9299
+ function h0(d) {
9294
9300
  for (var t = d.g.toString(), n = d.j.length, r = 0; r < n; ++r) {
9295
9301
  var o = d.j[r], l = S(o, 1);
9296
- if (new RegExp("^(?:" + l + ")$").test(t) && (d.ha = s0.test(g(o, 4)), o = t.replace(new RegExp(l, "g"), g(o, 2)), o = C1(d, o), a1(o, v0) == d.ba)) return o;
9302
+ if (new RegExp("^(?:" + l + ")$").test(t) && (d.ha = o0.test(g(o, 4)), o = t.replace(new RegExp(l, "g"), g(o, 2)), o = I1(d, o), p1(o, v0) == d.ba)) return o;
9297
9303
  }
9298
9304
  return "";
9299
9305
  }
9300
- function C1(d, t) {
9306
+ function I1(d, t) {
9301
9307
  var n = d.h.h.length;
9302
9308
  return d.ha && 0 < n && d.h.toString().charAt(n - 1) != " " ? d.h + " " + t : d.h + t;
9303
9309
  }
9304
- function N1(d) {
9310
+ function T1(d) {
9305
9311
  var t = d.g.toString();
9306
9312
  if (3 <= t.length) {
9307
- for (var n = d.ca && d.o.length == 0 && 0 < j(d.l, 20) ? O(d.l, 20) : O(d.l, 19), r = n.length, o = 0; o < r; ++o) {
9313
+ for (var n = d.ca && d.o.length == 0 && 0 < z(d.l, 20) ? O(d.l, 20) : O(d.l, 19), r = n.length, o = 0; o < r; ++o) {
9308
9314
  var l = n[o];
9309
- 0 < d.o.length && J1(S(l, 4)) && !g(l, 6) && !G(l, 5) || (d.o.length != 0 || d.ca || J1(S(l, 4)) || g(l, 6)) && K0.test(S(l, 2)) && d.j.push(l);
9315
+ 0 < d.o.length && q1(S(l, 4)) && !g(l, 6) && !U(l, 5) || (d.o.length != 0 || d.ca || q1(S(l, 4)) || g(l, 6)) && K0.test(S(l, 2)) && d.j.push(l);
9310
9316
  }
9311
- return u0(d, t), t = a0(d), 0 < t.length ? t : o0(d) ? c0(d) : d.s.toString();
9317
+ return a0(d, t), t = h0(d), 0 < t.length ? t : l0(d) ? f0(d) : d.s.toString();
9312
9318
  }
9313
- return C1(d, t);
9319
+ return I1(d, t);
9314
9320
  }
9315
- function c0(d) {
9321
+ function f0(d) {
9316
9322
  var t = d.g.toString(), n = t.length;
9317
9323
  if (0 < n) {
9318
- for (var r = "", o = 0; o < n; o++) r = C0(d, t.charAt(o));
9319
- return d.u ? C1(d, r) : d.s.toString();
9324
+ for (var r = "", o = 0; o < n; o++) r = m0(d, t.charAt(o));
9325
+ return d.u ? I1(d, r) : d.s.toString();
9320
9326
  }
9321
9327
  return d.h.toString();
9322
9328
  }
9323
- function h0(d) {
9329
+ function p0(d) {
9324
9330
  var t = d.g.toString(), n = 0;
9325
9331
  if (g(d.l, 10) != 1) var r = !1;
9326
9332
  else r = d.g.toString(), r = r.charAt(0) == "1" && r.charAt(1) != "0" && r.charAt(1) != "1";
9327
- return r ? (n = 1, d.h.g("1").g(" "), d.ca = !0) : G(d.l, 15) && (r = new RegExp("^(?:" + g(d.l, 15) + ")"), r = t.match(r), r != null && r[0] != null && 0 < r[0].length && (d.ca = !0, n = r[0].length, d.h.g(t.substring(0, n)))), H(d.g), d.g.g(t.substring(n)), t.substring(0, n);
9333
+ return r ? (n = 1, d.h.g("1").g(" "), d.ca = !0) : U(d.l, 15) && (r = new RegExp("^(?:" + g(d.l, 15) + ")"), r = t.match(r), r != null && r[0] != null && 0 < r[0].length && (d.ca = !0, n = r[0].length, d.h.g(t.substring(0, n)))), G(d.g), d.g.g(t.substring(n)), t.substring(0, n);
9328
9334
  }
9329
- function f0(d) {
9335
+ function C0(d) {
9330
9336
  var t = d.ba.toString(), n = new RegExp("^(?:\\+|" + g(d.l, 11) + ")");
9331
- return n = t.match(n), n != null && n[0] != null && 0 < n[0].length ? (d.ca = !0, n = n[0].length, H(d.g), d.g.g(t.substring(n)), H(d.h), d.h.g(t.substring(0, n)), t.charAt(0) != "+" && d.h.g(" "), !0) : !1;
9337
+ return n = t.match(n), n != null && n[0] != null && 0 < n[0].length ? (d.ca = !0, n = n[0].length, G(d.g), d.g.g(t.substring(n)), G(d.h), d.h.g(t.substring(0, n)), t.charAt(0) != "+" && d.h.g(" "), !0) : !1;
9332
9338
  }
9333
- function p0(d) {
9339
+ function g0(d) {
9334
9340
  if (d.g.h.length == 0) return !1;
9335
- var t = new D(), n = t0(d.g, t);
9336
- return n == 0 ? !1 : (H(d.g), d.g.g(t.toString()), t = s1(n), t == "001" ? d.l = z(d.ga, "" + n) : t != d.ka && (d.l = r0(d, t)), d.h.g("" + n).g(" "), d.o = "", !0);
9341
+ var t = new v(), n = $0(d.g, t);
9342
+ return n == 0 ? !1 : (G(d.g), d.g.g(t.toString()), t = u1(n), t == "001" ? d.l = J(d.ga, "" + n) : t != d.ka && (d.l = u0(d, t)), d.h.g("" + n).g(" "), d.o = "", !0);
9337
9343
  }
9338
- function C0(d, t) {
9344
+ function m0(d, t) {
9339
9345
  var n = d.v.toString();
9340
9346
  if (0 <= n.substring(d.$).search(d.fa)) {
9341
9347
  var r = n.search(d.fa);
9342
- return t = n.replace(d.fa, t), H(d.v), d.v.g(t), d.$ = r, t.substring(0, d.$ + 1);
9348
+ return t = n.replace(d.fa, t), G(d.v), d.v.g(t), d.$ = r, t.substring(0, d.$ + 1);
9343
9349
  }
9344
9350
  return d.j.length == 1 && (d.u = !1), d.da = "", d.s.toString();
9345
9351
  }
9346
- const g0 = (d) => {
9352
+ const y0 = (d) => {
9347
9353
  const t = [];
9348
9354
  return d.includes("FIXED_LINE_OR_MOBILE") ? (d.includes("MOBILE") || t.push("MOBILE"), d.includes("FIXED_LINE") || t.push("FIXED_LINE")) : (d.includes("MOBILE") || d.includes("FIXED_LINE")) && t.push("FIXED_LINE_OR_MOBILE"), d.concat(t);
9349
- }, S1 = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
9355
+ }, L1 = { FIXED_LINE: 0, MOBILE: 1, FIXED_LINE_OR_MOBILE: 2, TOLL_FREE: 3, PREMIUM_RATE: 4, SHARED_COST: 5, VOIP: 6, PERSONAL_NUMBER: 7, PAGER: 8, UAN: 9, VOICEMAIL: 10, UNKNOWN: -1 };
9350
9356
  e("intlTelInputUtilsTemp", {}), e("intlTelInputUtilsTemp.formatNumberAsYouType", (d, t) => {
9351
9357
  try {
9352
- const n = d.replace(/[^+0-9]/g, ""), r = new V0(t);
9358
+ const n = d.replace(/[^+0-9]/g, ""), r = new W0(t);
9353
9359
  t = "";
9354
9360
  for (let o = 0; o < n.length; o++) r.ja = j0(r, n.charAt(o)), t = r.ja;
9355
9361
  return t;
@@ -9358,22 +9364,22 @@ const L2 = (h) => {
9358
9364
  }
9359
9365
  }), e("intlTelInputUtilsTemp.formatNumber", (d, t, n) => {
9360
9366
  try {
9361
- const o = R.g(), l = X(o, d, t);
9362
- var r = p1(o, l, -1);
9367
+ const o = M.g(), l = Q(o, d, t);
9368
+ var r = y1(o, l, -1);
9363
9369
  return r == 0 || r == 4 ? o.format(l, typeof n > "u" ? 0 : n) : d;
9364
9370
  } catch {
9365
9371
  return d;
9366
9372
  }
9367
9373
  }), e("intlTelInputUtilsTemp.getExampleNumber", (d, t, n, r) => {
9368
9374
  try {
9369
- const y = R.g();
9375
+ const I = M.g();
9370
9376
  d: {
9371
- var o = y;
9372
- if (c1(d)) {
9373
- var l = h1(z(o, d), n);
9377
+ var o = I;
9378
+ if (C1(d)) {
9379
+ var l = g1(J(o, d), n);
9374
9380
  try {
9375
- if (G(l, 6)) {
9376
- var c = g(l, 6), p = n0(o, c, d, !1);
9381
+ if (U(l, 6)) {
9382
+ var c = g(l, 6), p = s0(o, c, d, !1);
9377
9383
  break d;
9378
9384
  }
9379
9385
  } catch {
@@ -9381,37 +9387,37 @@ const L2 = (h) => {
9381
9387
  }
9382
9388
  p = null;
9383
9389
  }
9384
- return y.format(p, r ? 0 : t ? 2 : 1);
9390
+ return I.format(p, r ? 0 : t ? 2 : 1);
9385
9391
  } catch {
9386
9392
  return "";
9387
9393
  }
9388
9394
  }), e("intlTelInputUtilsTemp.getExtension", (d, t) => {
9389
9395
  try {
9390
- return g(X(R.g(), d, t), 3);
9396
+ return g(Q(M.g(), d, t), 3);
9391
9397
  } catch {
9392
9398
  return "";
9393
9399
  }
9394
9400
  }), e("intlTelInputUtilsTemp.getNumberType", (d, t) => {
9395
9401
  try {
9396
- const n = R.g(), r = X(n, d, t);
9397
- return q1(n, r);
9402
+ const n = M.g(), r = Q(n, d, t);
9403
+ return d0(n, r);
9398
9404
  } catch {
9399
9405
  return -99;
9400
9406
  }
9401
9407
  }), e("intlTelInputUtilsTemp.getValidationError", (d, t) => {
9402
9408
  if (!t) return 1;
9403
9409
  try {
9404
- const n = R.g(), r = X(n, d, t);
9405
- return p1(n, r, -1);
9410
+ const n = M.g(), r = Q(n, d, t);
9411
+ return y1(n, r, -1);
9406
9412
  } catch (n) {
9407
9413
  return n.message === "Invalid country calling code" ? 1 : 3 >= d.length || n.message === "Phone number too short after IDD" || n.message === "The string supplied is too short to be a phone number" ? 2 : n.message === "The string supplied is too long to be a phone number" ? 3 : -99;
9408
9414
  }
9409
9415
  }), e("intlTelInputUtilsTemp.isValidNumber", (d, t, n) => {
9410
9416
  try {
9411
- const r = R.g(), o = X(r, d, t), l = W0(r, o);
9417
+ const r = M.g(), o = Q(r, d, t), l = F0(r, o);
9412
9418
  if (n) {
9413
- const c = g0(n).map((p) => S1[p]);
9414
- return l && c.includes(q1(r, o));
9419
+ const c = y0(n).map((p) => L1[p]);
9420
+ return l && c.includes(d0(r, o));
9415
9421
  }
9416
9422
  return l;
9417
9423
  } catch {
@@ -9419,30 +9425,30 @@ const L2 = (h) => {
9419
9425
  }
9420
9426
  }), e("intlTelInputUtilsTemp.isPossibleNumber", (d, t, n) => {
9421
9427
  try {
9422
- const r = R.g(), o = X(r, d, t);
9428
+ const r = M.g(), o = Q(r, d, t);
9423
9429
  if (n) {
9424
- const l = g0(n);
9425
- for (let c of l) if (p1(r, o, S1[c]) === 0) return !0;
9430
+ const l = y0(n);
9431
+ for (let c of l) if (y1(r, o, L1[c]) === 0) return !0;
9426
9432
  return !1;
9427
9433
  }
9428
- return p1(r, o, -1) === 0;
9434
+ return y1(r, o, -1) === 0;
9429
9435
  } catch {
9430
9436
  return !1;
9431
9437
  }
9432
9438
  }), e("intlTelInputUtilsTemp.getCoreNumber", (d, t) => {
9433
9439
  try {
9434
- return g(X(R.g(), d, t), 2).toString();
9440
+ return g(Q(M.g(), d, t), 2).toString();
9435
9441
  } catch {
9436
9442
  return "";
9437
9443
  }
9438
- }), e("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }), e("intlTelInputUtilsTemp.numberType", S1), e("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9444
+ }), e("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }), e("intlTelInputUtilsTemp.numberType", L1), e("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 });
9439
9445
  })();
9440
- const w0 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, A2 = w0.intlTelInputUtilsTemp;
9446
+ const w0 = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : void 0, T2 = w0.intlTelInputUtilsTemp;
9441
9447
  delete w0.intlTelInputUtilsTemp;
9442
- m.utils = A2;
9443
- const b2 = {
9448
+ m.utils = T2;
9449
+ const A2 = {
9444
9450
  __name: "IntlTelInputWithUtils",
9445
- props: /* @__PURE__ */ m0({
9451
+ props: /* @__PURE__ */ I0({
9446
9452
  disabled: {
9447
9453
  type: Boolean,
9448
9454
  default: !1
@@ -9466,44 +9472,44 @@ const b2 = {
9466
9472
  },
9467
9473
  modelModifiers: {}
9468
9474
  }),
9469
- emits: /* @__PURE__ */ m0([
9475
+ emits: /* @__PURE__ */ I0([
9470
9476
  "changeNumber",
9471
9477
  "changeCountry",
9472
9478
  "changeValidity",
9473
9479
  "changeErrorCode"
9474
9480
  ], ["update:modelValue"]),
9475
9481
  setup(h, { expose: e, emit: $ }) {
9476
- const i = Y0(h, "modelValue"), s = h, a = $, u = A1(), f = A1(), C = A1(!1), I = () => f.value ? s.options.strictMode ? f.value.isValidNumberPrecise() : f.value.isValidNumber() : null, _ = () => {
9477
- let N = I();
9478
- C.value !== N && (C.value = N, a("changeValidity", !!N), a(
9482
+ const i = Y0(h, "modelValue"), s = h, a = $, u = w1(), f = w1(), C = w1(!1), y = () => f.value ? s.options.strictMode ? f.value.isValidNumberPrecise() : f.value.isValidNumber() : null, _ = () => {
9483
+ let E = y();
9484
+ C.value !== E && (C.value = E, a("changeValidity", !!E), a(
9479
9485
  "changeErrorCode",
9480
- N ? null : f.value.getValidationError()
9486
+ E ? null : f.value.getValidationError()
9481
9487
  ));
9482
- }, A = () => {
9483
- var N;
9484
- a("changeNumber", ((N = f.value) == null ? void 0 : N.getNumber()) ?? ""), _();
9485
- }, v = () => {
9486
- var N;
9487
- a("changeCountry", ((N = f.value) == null ? void 0 : N.getSelectedCountryData().iso2) ?? ""), A(), _();
9488
+ }, T = () => {
9489
+ var E;
9490
+ a("changeNumber", ((E = f.value) == null ? void 0 : E.getNumber()) ?? ""), _();
9491
+ }, B = () => {
9492
+ var E;
9493
+ a("changeCountry", ((E = f.value) == null ? void 0 : E.getSelectedCountryData().iso2) ?? ""), T(), _();
9488
9494
  };
9489
9495
  return z0(() => {
9490
- u.value && (f.value = m(u.value, s.options), s.value && f.value.setNumber(s.value), s.disabled && f.value.setDisabled(s.disabled), C.value = I());
9496
+ u.value && (f.value = m(u.value, s.options), s.value && f.value.setNumber(s.value), s.disabled && f.value.setDisabled(s.disabled), C.value = y());
9491
9497
  }), Z0(
9492
9498
  () => s.disabled,
9493
- (N) => {
9494
- var T;
9495
- return (T = f.value) == null ? void 0 : T.setDisabled(N);
9499
+ (E) => {
9500
+ var w;
9501
+ return (w = f.value) == null ? void 0 : w.setDisabled(E);
9496
9502
  }
9497
9503
  ), J0(() => {
9498
- var N;
9499
- return (N = f.value) == null ? void 0 : N.destroy();
9500
- }), e({ instance: f, input: u }), (N, T) => X0((Q0(), q0("input", d2({
9504
+ var E;
9505
+ return (E = f.value) == null ? void 0 : E.destroy();
9506
+ }), e({ instance: f, input: u }), (E, w) => X0((Q0(), q0("input", d2({
9501
9507
  ref_key: "input",
9502
9508
  ref: u,
9503
- "onUpdate:modelValue": T[0] || (T[0] = (k) => i.value = k),
9509
+ "onUpdate:modelValue": w[0] || (w[0] = (H) => i.value = H),
9504
9510
  type: "tel",
9505
- onCountrychange: v,
9506
- onInput: A
9511
+ onCountrychange: B,
9512
+ onInput: T
9507
9513
  }, h.inputProps), null, 16)), [
9508
9514
  [
9509
9515
  t2,
@@ -9515,5 +9521,5 @@ const b2 = {
9515
9521
  }
9516
9522
  };
9517
9523
  export {
9518
- b2 as default
9524
+ A2 as default
9519
9525
  };