diff --git a/plugins/intl-tel-input/css/demo.css b/plugins/intl-tel-input/css/demo.css new file mode 100644 index 00000000..f3eb5244 --- /dev/null +++ b/plugins/intl-tel-input/css/demo.css @@ -0,0 +1,86 @@ +* { + box-sizing: border-box; +} + +body { + margin: 20px; + font-size: 14px; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #555; +} + +input, +.button { + height: 35px; + margin: 0; + padding: 6px 12px; + border-radius: 2px; + font-family: inherit; + font-size: 100%; + color: inherit; +} + +input { + border: 1px solid #ccc; + width: 220px; +} + +input::placeholder { + color: #bbb; +} + +.button { + color: #fff; + background-color: #428bca; + border: 1px solid #357ebd; + margin-left: 5px; +} +.button:hover { + background-color: #3276b1; + border-color: #285e8e; + cursor: pointer; +} + +.notice { + margin-top: 15px; +} + +@media (prefers-color-scheme: dark) { + body, input { + color: white; + background-color: #0d1117; + } + input[disabled] { + background-color: #3c3c3c; + } + input { + border-color: #5b5b5b; + } + input::placeholder { + color: #8d96a0; + } + .iti { + --iti-border-color: #5b5b5b; + --iti-dialcode-color: #999999; + --iti-dropdown-bg: #0d1117; + --iti-arrow-color: #aaaaaa; + --iti-hover-color: #30363d; + --iti-path-globe-1x: url("../img/globe_light.webp"); + --iti-path-globe-2x: url("../img/globe_light@2x.webp"); + } +} +#error-msg { + color: red; +} + +#valid-msg { + color: #00c900; +} + +input.error { + border: 1px solid #ff7c7c; +} + +.hide { + display: none; +} \ No newline at end of file diff --git a/plugins/intl-tel-input/css/intlTelInput.css b/plugins/intl-tel-input/css/intlTelInput.css new file mode 100644 index 00000000..b3e4abcd --- /dev/null +++ b/plugins/intl-tel-input/css/intlTelInput.css @@ -0,0 +1,1205 @@ +:root { + --iti-hover-color: rgba(0, 0, 0, 0.05); + --iti-border-color: #ccc; + --iti-dialcode-color: #999; + --iti-dropdown-bg: white; + --iti-spacer-horizontal: 8px; + --iti-flag-height: 12px; + --iti-flag-width: 16px; + --iti-border-width: 1px; + --iti-arrow-height: 4px; + --iti-arrow-width: 6px; + --iti-triangle-border: calc(var(--iti-arrow-width) / 2); + --iti-arrow-padding: 6px; + --iti-arrow-color: #555; + --iti-path-flags-1x: url("../img/flags.webp"); + --iti-path-flags-2x: url("../img/flags@2x.webp"); + --iti-path-globe-1x: url("../img/globe.webp"); + --iti-path-globe-2x: url("../img/globe@2x.webp"); + --iti-flag-sprite-width: 3904px; + --iti-flag-sprite-height: 12px; + --iti-mobile-popup-margin: 30px; +} + +.iti { + position: relative; + display: inline-block; +} +.iti * { + box-sizing: border-box; +} +.iti__hide { + display: none; +} +.iti__v-hide { + visibility: hidden; +} +.iti__a11y-text { + width: 1px; + height: 1px; + clip: rect(1px, 1px, 1px, 1px); + overflow: hidden; + position: absolute; +} +.iti input.iti__tel-input, +.iti input.iti__tel-input[type=text], +.iti input.iti__tel-input[type=tel] { + position: relative; + z-index: 0; + margin: 0 !important; +} +.iti__country-container { + position: absolute; + top: 0; + bottom: 0; + padding: var(--iti-border-width); +} +.iti__selected-country { + z-index: 1; + position: relative; + display: flex; + align-items: center; + height: 100%; + background: none; + border: 0; + margin: 0; + padding: 0; + font-family: inherit; + font-size: inherit; + color: inherit; + border-radius: 0; + font-weight: inherit; + line-height: inherit; + text-decoration: none; +} +.iti__selected-country-primary { + display: flex; + align-items: center; + height: 100%; + padding: 0 var(--iti-arrow-padding) 0 var(--iti-spacer-horizontal); +} +.iti__arrow { + margin-left: var(--iti-arrow-padding); + width: 0; + height: 0; + border-left: var(--iti-triangle-border) solid transparent; + border-right: var(--iti-triangle-border) solid transparent; + border-top: var(--iti-arrow-height) solid var(--iti-arrow-color); +} +[dir=rtl] .iti__arrow { + margin-right: var(--iti-arrow-padding); + margin-left: 0; +} +.iti__arrow--up { + border-top: none; + border-bottom: var(--iti-arrow-height) solid var(--iti-arrow-color); +} +.iti__dropdown-content { + border-radius: 3px; + background-color: var(--iti-dropdown-bg); +} +.iti--inline-dropdown .iti__dropdown-content { + position: absolute; + z-index: 2; + margin-top: 3px; + margin-left: calc(var(--iti-border-width) * -1); + border: var(--iti-border-width) solid var(--iti-border-color); + box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); +} +.iti__search-input { + width: 100%; + border-width: 0; + border-radius: 3px; +} +.iti__search-input + .iti__country-list { + border-top: 1px solid var(--iti-border-color); +} +.iti__country-list { + list-style: none; + padding: 0; + margin: 0; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; +} +.iti--inline-dropdown .iti__country-list { + max-height: 185px; +} +.iti--flexible-dropdown-width .iti__country-list { + white-space: nowrap; +} +@media (max-width: 500px) { + .iti--flexible-dropdown-width .iti__country-list { + white-space: normal; + } +} +.iti__country { + display: flex; + align-items: center; + padding: 8px var(--iti-spacer-horizontal); + outline: none; +} +.iti__dial-code { + color: var(--iti-dialcode-color); +} +.iti__country.iti__highlight { + background-color: var(--iti-hover-color); +} +.iti__country-list .iti__flag, .iti__country-name { + margin-right: var(--iti-spacer-horizontal); +} +[dir=rtl] .iti__country-list .iti__flag, [dir=rtl] .iti__country-name { + margin-right: 0; + margin-left: var(--iti-spacer-horizontal); +} +.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])):hover, .iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])):hover button { + cursor: pointer; +} +.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country-primary:hover, +.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary { + background-color: var(--iti-hover-color); +} +.iti .iti__selected-dial-code { + margin-left: 4px; +} +[dir=rtl] .iti .iti__selected-dial-code { + margin-left: 0; + margin-right: 4px; +} +.iti--container { + position: fixed; + top: -1000px; + left: -1000px; + z-index: 1060; + padding: var(--iti-border-width); +} +.iti--container:hover { + cursor: pointer; +} + +.iti--fullscreen-popup.iti--container { + background-color: rgba(0, 0, 0, 0.5); + top: 0; + bottom: 0; + left: 0; + right: 0; + position: fixed; + padding: var(--iti-mobile-popup-margin); + display: flex; + flex-direction: column; + justify-content: flex-start; +} +.iti--fullscreen-popup .iti__dropdown-content { + display: flex; + flex-direction: column; + max-height: 100%; + position: relative; +} +.iti--fullscreen-popup .iti__country { + padding: 10px 10px; + line-height: 1.5em; +} + +.iti__flag { + --iti-flag-offset: 100px; + height: var(--iti-flag-height); + width: var(--iti-flag-width); + border-radius: 1px; + box-shadow: 0px 0px 1px 0px #888; + background-image: var(--iti-path-flags-1x); + background-repeat: no-repeat; + background-position: var(--iti-flag-offset) 0; + background-size: var(--iti-flag-sprite-width) var(--iti-flag-sprite-height); +} + +.iti__ac { + --iti-flag-offset: 0px; +} + +.iti__ad { + --iti-flag-offset: -16px; +} + +.iti__ae { + --iti-flag-offset: -32px; +} + +.iti__af { + --iti-flag-offset: -48px; +} + +.iti__ag { + --iti-flag-offset: -64px; +} + +.iti__ai { + --iti-flag-offset: -80px; +} + +.iti__al { + --iti-flag-offset: -96px; +} + +.iti__am { + --iti-flag-offset: -112px; +} + +.iti__ao { + --iti-flag-offset: -128px; +} + +.iti__ar { + --iti-flag-offset: -144px; +} + +.iti__as { + --iti-flag-offset: -160px; +} + +.iti__at { + --iti-flag-offset: -176px; +} + +.iti__au { + --iti-flag-offset: -192px; +} + +.iti__aw { + --iti-flag-offset: -208px; +} + +.iti__ax { + --iti-flag-offset: -224px; +} + +.iti__az { + --iti-flag-offset: -240px; +} + +.iti__ba { + --iti-flag-offset: -256px; +} + +.iti__bb { + --iti-flag-offset: -272px; +} + +.iti__bd { + --iti-flag-offset: -288px; +} + +.iti__be { + --iti-flag-offset: -304px; +} + +.iti__bf { + --iti-flag-offset: -320px; +} + +.iti__bg { + --iti-flag-offset: -336px; +} + +.iti__bh { + --iti-flag-offset: -352px; +} + +.iti__bi { + --iti-flag-offset: -368px; +} + +.iti__bj { + --iti-flag-offset: -384px; +} + +.iti__bl { + --iti-flag-offset: -400px; +} + +.iti__bm { + --iti-flag-offset: -416px; +} + +.iti__bn { + --iti-flag-offset: -432px; +} + +.iti__bo { + --iti-flag-offset: -448px; +} + +.iti__bq { + --iti-flag-offset: -464px; +} + +.iti__br { + --iti-flag-offset: -480px; +} + +.iti__bs { + --iti-flag-offset: -496px; +} + +.iti__bt { + --iti-flag-offset: -512px; +} + +.iti__bw { + --iti-flag-offset: -528px; +} + +.iti__by { + --iti-flag-offset: -544px; +} + +.iti__bz { + --iti-flag-offset: -560px; +} + +.iti__ca { + --iti-flag-offset: -576px; +} + +.iti__cc { + --iti-flag-offset: -592px; +} + +.iti__cd { + --iti-flag-offset: -608px; +} + +.iti__cf { + --iti-flag-offset: -624px; +} + +.iti__cg { + --iti-flag-offset: -640px; +} + +.iti__ch { + --iti-flag-offset: -656px; +} + +.iti__ci { + --iti-flag-offset: -672px; +} + +.iti__ck { + --iti-flag-offset: -688px; +} + +.iti__cl { + --iti-flag-offset: -704px; +} + +.iti__cm { + --iti-flag-offset: -720px; +} + +.iti__cn { + --iti-flag-offset: -736px; +} + +.iti__co { + --iti-flag-offset: -752px; +} + +.iti__cr { + --iti-flag-offset: -768px; +} + +.iti__cu { + --iti-flag-offset: -784px; +} + +.iti__cv { + --iti-flag-offset: -800px; +} + +.iti__cw { + --iti-flag-offset: -816px; +} + +.iti__cx { + --iti-flag-offset: -832px; +} + +.iti__cy { + --iti-flag-offset: -848px; +} + +.iti__cz { + --iti-flag-offset: -864px; +} + +.iti__de { + --iti-flag-offset: -880px; +} + +.iti__dj { + --iti-flag-offset: -896px; +} + +.iti__dk { + --iti-flag-offset: -912px; +} + +.iti__dm { + --iti-flag-offset: -928px; +} + +.iti__do { + --iti-flag-offset: -944px; +} + +.iti__dz { + --iti-flag-offset: -960px; +} + +.iti__ec { + --iti-flag-offset: -976px; +} + +.iti__ee { + --iti-flag-offset: -992px; +} + +.iti__eg { + --iti-flag-offset: -1008px; +} + +.iti__eh { + --iti-flag-offset: -1024px; +} + +.iti__er { + --iti-flag-offset: -1040px; +} + +.iti__es { + --iti-flag-offset: -1056px; +} + +.iti__et { + --iti-flag-offset: -1072px; +} + +.iti__fi { + --iti-flag-offset: -1088px; +} + +.iti__fj { + --iti-flag-offset: -1104px; +} + +.iti__fk { + --iti-flag-offset: -1120px; +} + +.iti__fm { + --iti-flag-offset: -1136px; +} + +.iti__fo { + --iti-flag-offset: -1152px; +} + +.iti__fr { + --iti-flag-offset: -1168px; +} + +.iti__ga { + --iti-flag-offset: -1184px; +} + +.iti__gb { + --iti-flag-offset: -1200px; +} + +.iti__gd { + --iti-flag-offset: -1216px; +} + +.iti__ge { + --iti-flag-offset: -1232px; +} + +.iti__gf { + --iti-flag-offset: -1248px; +} + +.iti__gg { + --iti-flag-offset: -1264px; +} + +.iti__gh { + --iti-flag-offset: -1280px; +} + +.iti__gi { + --iti-flag-offset: -1296px; +} + +.iti__gl { + --iti-flag-offset: -1312px; +} + +.iti__gm { + --iti-flag-offset: -1328px; +} + +.iti__gn { + --iti-flag-offset: -1344px; +} + +.iti__gp { + --iti-flag-offset: -1360px; +} + +.iti__gq { + --iti-flag-offset: -1376px; +} + +.iti__gr { + --iti-flag-offset: -1392px; +} + +.iti__gt { + --iti-flag-offset: -1408px; +} + +.iti__gu { + --iti-flag-offset: -1424px; +} + +.iti__gw { + --iti-flag-offset: -1440px; +} + +.iti__gy { + --iti-flag-offset: -1456px; +} + +.iti__hk { + --iti-flag-offset: -1472px; +} + +.iti__hn { + --iti-flag-offset: -1488px; +} + +.iti__hr { + --iti-flag-offset: -1504px; +} + +.iti__ht { + --iti-flag-offset: -1520px; +} + +.iti__hu { + --iti-flag-offset: -1536px; +} + +.iti__id { + --iti-flag-offset: -1552px; +} + +.iti__ie { + --iti-flag-offset: -1568px; +} + +.iti__il { + --iti-flag-offset: -1584px; +} + +.iti__im { + --iti-flag-offset: -1600px; +} + +.iti__in { + --iti-flag-offset: -1616px; +} + +.iti__io { + --iti-flag-offset: -1632px; +} + +.iti__iq { + --iti-flag-offset: -1648px; +} + +.iti__ir { + --iti-flag-offset: -1664px; +} + +.iti__is { + --iti-flag-offset: -1680px; +} + +.iti__it { + --iti-flag-offset: -1696px; +} + +.iti__je { + --iti-flag-offset: -1712px; +} + +.iti__jm { + --iti-flag-offset: -1728px; +} + +.iti__jo { + --iti-flag-offset: -1744px; +} + +.iti__jp { + --iti-flag-offset: -1760px; +} + +.iti__ke { + --iti-flag-offset: -1776px; +} + +.iti__kg { + --iti-flag-offset: -1792px; +} + +.iti__kh { + --iti-flag-offset: -1808px; +} + +.iti__ki { + --iti-flag-offset: -1824px; +} + +.iti__km { + --iti-flag-offset: -1840px; +} + +.iti__kn { + --iti-flag-offset: -1856px; +} + +.iti__kp { + --iti-flag-offset: -1872px; +} + +.iti__kr { + --iti-flag-offset: -1888px; +} + +.iti__kw { + --iti-flag-offset: -1904px; +} + +.iti__ky { + --iti-flag-offset: -1920px; +} + +.iti__kz { + --iti-flag-offset: -1936px; +} + +.iti__la { + --iti-flag-offset: -1952px; +} + +.iti__lb { + --iti-flag-offset: -1968px; +} + +.iti__lc { + --iti-flag-offset: -1984px; +} + +.iti__li { + --iti-flag-offset: -2000px; +} + +.iti__lk { + --iti-flag-offset: -2016px; +} + +.iti__lr { + --iti-flag-offset: -2032px; +} + +.iti__ls { + --iti-flag-offset: -2048px; +} + +.iti__lt { + --iti-flag-offset: -2064px; +} + +.iti__lu { + --iti-flag-offset: -2080px; +} + +.iti__lv { + --iti-flag-offset: -2096px; +} + +.iti__ly { + --iti-flag-offset: -2112px; +} + +.iti__ma { + --iti-flag-offset: -2128px; +} + +.iti__mc { + --iti-flag-offset: -2144px; +} + +.iti__md { + --iti-flag-offset: -2160px; +} + +.iti__me { + --iti-flag-offset: -2176px; +} + +.iti__mf { + --iti-flag-offset: -2192px; +} + +.iti__mg { + --iti-flag-offset: -2208px; +} + +.iti__mh { + --iti-flag-offset: -2224px; +} + +.iti__mk { + --iti-flag-offset: -2240px; +} + +.iti__ml { + --iti-flag-offset: -2256px; +} + +.iti__mm { + --iti-flag-offset: -2272px; +} + +.iti__mn { + --iti-flag-offset: -2288px; +} + +.iti__mo { + --iti-flag-offset: -2304px; +} + +.iti__mp { + --iti-flag-offset: -2320px; +} + +.iti__mq { + --iti-flag-offset: -2336px; +} + +.iti__mr { + --iti-flag-offset: -2352px; +} + +.iti__ms { + --iti-flag-offset: -2368px; +} + +.iti__mt { + --iti-flag-offset: -2384px; +} + +.iti__mu { + --iti-flag-offset: -2400px; +} + +.iti__mv { + --iti-flag-offset: -2416px; +} + +.iti__mw { + --iti-flag-offset: -2432px; +} + +.iti__mx { + --iti-flag-offset: -2448px; +} + +.iti__my { + --iti-flag-offset: -2464px; +} + +.iti__mz { + --iti-flag-offset: -2480px; +} + +.iti__na { + --iti-flag-offset: -2496px; +} + +.iti__nc { + --iti-flag-offset: -2512px; +} + +.iti__ne { + --iti-flag-offset: -2528px; +} + +.iti__nf { + --iti-flag-offset: -2544px; +} + +.iti__ng { + --iti-flag-offset: -2560px; +} + +.iti__ni { + --iti-flag-offset: -2576px; +} + +.iti__nl { + --iti-flag-offset: -2592px; +} + +.iti__no { + --iti-flag-offset: -2608px; +} + +.iti__np { + --iti-flag-offset: -2624px; +} + +.iti__nr { + --iti-flag-offset: -2640px; +} + +.iti__nu { + --iti-flag-offset: -2656px; +} + +.iti__nz { + --iti-flag-offset: -2672px; +} + +.iti__om { + --iti-flag-offset: -2688px; +} + +.iti__pa { + --iti-flag-offset: -2704px; +} + +.iti__pe { + --iti-flag-offset: -2720px; +} + +.iti__pf { + --iti-flag-offset: -2736px; +} + +.iti__pg { + --iti-flag-offset: -2752px; +} + +.iti__ph { + --iti-flag-offset: -2768px; +} + +.iti__pk { + --iti-flag-offset: -2784px; +} + +.iti__pl { + --iti-flag-offset: -2800px; +} + +.iti__pm { + --iti-flag-offset: -2816px; +} + +.iti__pr { + --iti-flag-offset: -2832px; +} + +.iti__ps { + --iti-flag-offset: -2848px; +} + +.iti__pt { + --iti-flag-offset: -2864px; +} + +.iti__pw { + --iti-flag-offset: -2880px; +} + +.iti__py { + --iti-flag-offset: -2896px; +} + +.iti__qa { + --iti-flag-offset: -2912px; +} + +.iti__re { + --iti-flag-offset: -2928px; +} + +.iti__ro { + --iti-flag-offset: -2944px; +} + +.iti__rs { + --iti-flag-offset: -2960px; +} + +.iti__ru { + --iti-flag-offset: -2976px; +} + +.iti__rw { + --iti-flag-offset: -2992px; +} + +.iti__sa { + --iti-flag-offset: -3008px; +} + +.iti__sb { + --iti-flag-offset: -3024px; +} + +.iti__sc { + --iti-flag-offset: -3040px; +} + +.iti__sd { + --iti-flag-offset: -3056px; +} + +.iti__se { + --iti-flag-offset: -3072px; +} + +.iti__sg { + --iti-flag-offset: -3088px; +} + +.iti__sh { + --iti-flag-offset: -3104px; +} + +.iti__si { + --iti-flag-offset: -3120px; +} + +.iti__sj { + --iti-flag-offset: -3136px; +} + +.iti__sk { + --iti-flag-offset: -3152px; +} + +.iti__sl { + --iti-flag-offset: -3168px; +} + +.iti__sm { + --iti-flag-offset: -3184px; +} + +.iti__sn { + --iti-flag-offset: -3200px; +} + +.iti__so { + --iti-flag-offset: -3216px; +} + +.iti__sr { + --iti-flag-offset: -3232px; +} + +.iti__ss { + --iti-flag-offset: -3248px; +} + +.iti__st { + --iti-flag-offset: -3264px; +} + +.iti__sv { + --iti-flag-offset: -3280px; +} + +.iti__sx { + --iti-flag-offset: -3296px; +} + +.iti__sy { + --iti-flag-offset: -3312px; +} + +.iti__sz { + --iti-flag-offset: -3328px; +} + +.iti__tc { + --iti-flag-offset: -3344px; +} + +.iti__td { + --iti-flag-offset: -3360px; +} + +.iti__tg { + --iti-flag-offset: -3376px; +} + +.iti__th { + --iti-flag-offset: -3392px; +} + +.iti__tj { + --iti-flag-offset: -3408px; +} + +.iti__tk { + --iti-flag-offset: -3424px; +} + +.iti__tl { + --iti-flag-offset: -3440px; +} + +.iti__tm { + --iti-flag-offset: -3456px; +} + +.iti__tn { + --iti-flag-offset: -3472px; +} + +.iti__to { + --iti-flag-offset: -3488px; +} + +.iti__tr { + --iti-flag-offset: -3504px; +} + +.iti__tt { + --iti-flag-offset: -3520px; +} + +.iti__tv { + --iti-flag-offset: -3536px; +} + +.iti__tw { + --iti-flag-offset: -3552px; +} + +.iti__tz { + --iti-flag-offset: -3568px; +} + +.iti__ua { + --iti-flag-offset: -3584px; +} + +.iti__ug { + --iti-flag-offset: -3600px; +} + +.iti__us { + --iti-flag-offset: -3616px; +} + +.iti__uy { + --iti-flag-offset: -3632px; +} + +.iti__uz { + --iti-flag-offset: -3648px; +} + +.iti__va { + --iti-flag-offset: -3664px; +} + +.iti__vc { + --iti-flag-offset: -3680px; +} + +.iti__ve { + --iti-flag-offset: -3696px; +} + +.iti__vg { + --iti-flag-offset: -3712px; +} + +.iti__vi { + --iti-flag-offset: -3728px; +} + +.iti__vn { + --iti-flag-offset: -3744px; +} + +.iti__vu { + --iti-flag-offset: -3760px; +} + +.iti__wf { + --iti-flag-offset: -3776px; +} + +.iti__ws { + --iti-flag-offset: -3792px; +} + +.iti__xk { + --iti-flag-offset: -3808px; +} + +.iti__ye { + --iti-flag-offset: -3824px; +} + +.iti__yt { + --iti-flag-offset: -3840px; +} + +.iti__za { + --iti-flag-offset: -3856px; +} + +.iti__zm { + --iti-flag-offset: -3872px; +} + +.iti__zw { + --iti-flag-offset: -3888px; +} + +.iti__globe { + background-image: var(--iti-path-globe-1x); + background-size: contain; + background-position: right; + box-shadow: none; + height: 19px; +} + +@media (min-resolution: 2x) { + .iti__flag { + background-image: var(--iti-path-flags-2x); + } + .iti__globe { + background-image: var(--iti-path-globe-2x); + } +} \ No newline at end of file diff --git a/plugins/intl-tel-input/css/intlTelInput.min.css b/plugins/intl-tel-input/css/intlTelInput.min.css new file mode 100644 index 00000000..0e96cc5e --- /dev/null +++ b/plugins/intl-tel-input/css/intlTelInput.min.css @@ -0,0 +1 @@ +:root{--iti-hover-color:rgba(0, 0, 0, 0.05);--iti-border-color:#ccc;--iti-dialcode-color:#999;--iti-dropdown-bg:white;--iti-spacer-horizontal:8px;--iti-flag-height:12px;--iti-flag-width:16px;--iti-border-width:1px;--iti-arrow-height:4px;--iti-arrow-width:6px;--iti-triangle-border:calc(var(--iti-arrow-width) / 2);--iti-arrow-padding:6px;--iti-arrow-color:#555;--iti-path-flags-1x:url("../img/flags.webp");--iti-path-flags-2x:url("../img/flags@2x.webp");--iti-path-globe-1x:url("../img/globe.webp");--iti-path-globe-2x:url("../img/globe@2x.webp");--iti-flag-sprite-width:3904px;--iti-flag-sprite-height:12px;--iti-mobile-popup-margin:30px}.iti{position:relative;display:inline-block}.iti *{box-sizing:border-box}.iti__hide{display:none}.iti__v-hide{visibility:hidden}.iti__a11y-text{width:1px;height:1px;clip:rect(1px,1px,1px,1px);overflow:hidden;position:absolute}.iti input.iti__tel-input,.iti input.iti__tel-input[type=tel],.iti input.iti__tel-input[type=text]{position:relative;z-index:0;margin:0!important}.iti__country-container{position:absolute;top:0;bottom:0;padding:var(--iti-border-width)}.iti__selected-country{z-index:1;position:relative;display:flex;align-items:center;height:100%;background:0 0;border:0;margin:0;padding:0;font-family:inherit;font-size:inherit;color:inherit;border-radius:0;font-weight:inherit;line-height:inherit;text-decoration:none}.iti__selected-country-primary{display:flex;align-items:center;height:100%;padding:0 var(--iti-arrow-padding) 0 var(--iti-spacer-horizontal)}.iti__arrow{margin-left:var(--iti-arrow-padding);width:0;height:0;border-left:var(--iti-triangle-border) solid transparent;border-right:var(--iti-triangle-border) solid transparent;border-top:var(--iti-arrow-height) solid var(--iti-arrow-color)}[dir=rtl] .iti__arrow{margin-right:var(--iti-arrow-padding);margin-left:0}.iti__arrow--up{border-top:none;border-bottom:var(--iti-arrow-height) solid var(--iti-arrow-color)}.iti__dropdown-content{border-radius:3px;background-color:var(--iti-dropdown-bg)}.iti--inline-dropdown .iti__dropdown-content{position:absolute;z-index:2;margin-top:3px;margin-left:calc(var(--iti-border-width) * -1);border:var(--iti-border-width) solid var(--iti-border-color);box-shadow:1px 1px 4px rgba(0,0,0,.2)}.iti__search-input{width:100%;border-width:0;border-radius:3px}.iti__search-input+.iti__country-list{border-top:1px solid var(--iti-border-color)}.iti__country-list{list-style:none;padding:0;margin:0;overflow-y:scroll;-webkit-overflow-scrolling:touch}.iti--inline-dropdown .iti__country-list{max-height:185px}.iti--flexible-dropdown-width .iti__country-list{white-space:nowrap}@media (max-width:500px){.iti--flexible-dropdown-width .iti__country-list{white-space:normal}}.iti__country{display:flex;align-items:center;padding:8px var(--iti-spacer-horizontal);outline:0}.iti__dial-code{color:var(--iti-dialcode-color)}.iti__country.iti__highlight{background-color:var(--iti-hover-color)}.iti__country-list .iti__flag,.iti__country-name{margin-right:var(--iti-spacer-horizontal)}[dir=rtl] .iti__country-list .iti__flag,[dir=rtl] .iti__country-name{margin-right:0;margin-left:var(--iti-spacer-horizontal)}.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])):hover,.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])):hover button{cursor:pointer}.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country-primary:hover,.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary{background-color:var(--iti-hover-color)}.iti .iti__selected-dial-code{margin-left:4px}[dir=rtl] .iti .iti__selected-dial-code{margin-left:0;margin-right:4px}.iti--container{position:fixed;top:-1000px;left:-1000px;z-index:1060;padding:var(--iti-border-width)}.iti--container:hover{cursor:pointer}.iti--fullscreen-popup.iti--container{background-color:rgba(0,0,0,.5);top:0;bottom:0;left:0;right:0;position:fixed;padding:var(--iti-mobile-popup-margin);display:flex;flex-direction:column;justify-content:flex-start}.iti--fullscreen-popup .iti__dropdown-content{display:flex;flex-direction:column;max-height:100%;position:relative}.iti--fullscreen-popup .iti__country{padding:10px 10px;line-height:1.5em}.iti__flag{--iti-flag-offset:100px;height:var(--iti-flag-height);width:var(--iti-flag-width);border-radius:1px;box-shadow:0 0 1px 0 #888;background-image:var(--iti-path-flags-1x);background-repeat:no-repeat;background-position:var(--iti-flag-offset) 0;background-size:var(--iti-flag-sprite-width) var(--iti-flag-sprite-height)}.iti__ac{--iti-flag-offset:0px}.iti__ad{--iti-flag-offset:-16px}.iti__ae{--iti-flag-offset:-32px}.iti__af{--iti-flag-offset:-48px}.iti__ag{--iti-flag-offset:-64px}.iti__ai{--iti-flag-offset:-80px}.iti__al{--iti-flag-offset:-96px}.iti__am{--iti-flag-offset:-112px}.iti__ao{--iti-flag-offset:-128px}.iti__ar{--iti-flag-offset:-144px}.iti__as{--iti-flag-offset:-160px}.iti__at{--iti-flag-offset:-176px}.iti__au{--iti-flag-offset:-192px}.iti__aw{--iti-flag-offset:-208px}.iti__ax{--iti-flag-offset:-224px}.iti__az{--iti-flag-offset:-240px}.iti__ba{--iti-flag-offset:-256px}.iti__bb{--iti-flag-offset:-272px}.iti__bd{--iti-flag-offset:-288px}.iti__be{--iti-flag-offset:-304px}.iti__bf{--iti-flag-offset:-320px}.iti__bg{--iti-flag-offset:-336px}.iti__bh{--iti-flag-offset:-352px}.iti__bi{--iti-flag-offset:-368px}.iti__bj{--iti-flag-offset:-384px}.iti__bl{--iti-flag-offset:-400px}.iti__bm{--iti-flag-offset:-416px}.iti__bn{--iti-flag-offset:-432px}.iti__bo{--iti-flag-offset:-448px}.iti__bq{--iti-flag-offset:-464px}.iti__br{--iti-flag-offset:-480px}.iti__bs{--iti-flag-offset:-496px}.iti__bt{--iti-flag-offset:-512px}.iti__bw{--iti-flag-offset:-528px}.iti__by{--iti-flag-offset:-544px}.iti__bz{--iti-flag-offset:-560px}.iti__ca{--iti-flag-offset:-576px}.iti__cc{--iti-flag-offset:-592px}.iti__cd{--iti-flag-offset:-608px}.iti__cf{--iti-flag-offset:-624px}.iti__cg{--iti-flag-offset:-640px}.iti__ch{--iti-flag-offset:-656px}.iti__ci{--iti-flag-offset:-672px}.iti__ck{--iti-flag-offset:-688px}.iti__cl{--iti-flag-offset:-704px}.iti__cm{--iti-flag-offset:-720px}.iti__cn{--iti-flag-offset:-736px}.iti__co{--iti-flag-offset:-752px}.iti__cr{--iti-flag-offset:-768px}.iti__cu{--iti-flag-offset:-784px}.iti__cv{--iti-flag-offset:-800px}.iti__cw{--iti-flag-offset:-816px}.iti__cx{--iti-flag-offset:-832px}.iti__cy{--iti-flag-offset:-848px}.iti__cz{--iti-flag-offset:-864px}.iti__de{--iti-flag-offset:-880px}.iti__dj{--iti-flag-offset:-896px}.iti__dk{--iti-flag-offset:-912px}.iti__dm{--iti-flag-offset:-928px}.iti__do{--iti-flag-offset:-944px}.iti__dz{--iti-flag-offset:-960px}.iti__ec{--iti-flag-offset:-976px}.iti__ee{--iti-flag-offset:-992px}.iti__eg{--iti-flag-offset:-1008px}.iti__eh{--iti-flag-offset:-1024px}.iti__er{--iti-flag-offset:-1040px}.iti__es{--iti-flag-offset:-1056px}.iti__et{--iti-flag-offset:-1072px}.iti__fi{--iti-flag-offset:-1088px}.iti__fj{--iti-flag-offset:-1104px}.iti__fk{--iti-flag-offset:-1120px}.iti__fm{--iti-flag-offset:-1136px}.iti__fo{--iti-flag-offset:-1152px}.iti__fr{--iti-flag-offset:-1168px}.iti__ga{--iti-flag-offset:-1184px}.iti__gb{--iti-flag-offset:-1200px}.iti__gd{--iti-flag-offset:-1216px}.iti__ge{--iti-flag-offset:-1232px}.iti__gf{--iti-flag-offset:-1248px}.iti__gg{--iti-flag-offset:-1264px}.iti__gh{--iti-flag-offset:-1280px}.iti__gi{--iti-flag-offset:-1296px}.iti__gl{--iti-flag-offset:-1312px}.iti__gm{--iti-flag-offset:-1328px}.iti__gn{--iti-flag-offset:-1344px}.iti__gp{--iti-flag-offset:-1360px}.iti__gq{--iti-flag-offset:-1376px}.iti__gr{--iti-flag-offset:-1392px}.iti__gt{--iti-flag-offset:-1408px}.iti__gu{--iti-flag-offset:-1424px}.iti__gw{--iti-flag-offset:-1440px}.iti__gy{--iti-flag-offset:-1456px}.iti__hk{--iti-flag-offset:-1472px}.iti__hn{--iti-flag-offset:-1488px}.iti__hr{--iti-flag-offset:-1504px}.iti__ht{--iti-flag-offset:-1520px}.iti__hu{--iti-flag-offset:-1536px}.iti__id{--iti-flag-offset:-1552px}.iti__ie{--iti-flag-offset:-1568px}.iti__il{--iti-flag-offset:-1584px}.iti__im{--iti-flag-offset:-1600px}.iti__in{--iti-flag-offset:-1616px}.iti__io{--iti-flag-offset:-1632px}.iti__iq{--iti-flag-offset:-1648px}.iti__ir{--iti-flag-offset:-1664px}.iti__is{--iti-flag-offset:-1680px}.iti__it{--iti-flag-offset:-1696px}.iti__je{--iti-flag-offset:-1712px}.iti__jm{--iti-flag-offset:-1728px}.iti__jo{--iti-flag-offset:-1744px}.iti__jp{--iti-flag-offset:-1760px}.iti__ke{--iti-flag-offset:-1776px}.iti__kg{--iti-flag-offset:-1792px}.iti__kh{--iti-flag-offset:-1808px}.iti__ki{--iti-flag-offset:-1824px}.iti__km{--iti-flag-offset:-1840px}.iti__kn{--iti-flag-offset:-1856px}.iti__kp{--iti-flag-offset:-1872px}.iti__kr{--iti-flag-offset:-1888px}.iti__kw{--iti-flag-offset:-1904px}.iti__ky{--iti-flag-offset:-1920px}.iti__kz{--iti-flag-offset:-1936px}.iti__la{--iti-flag-offset:-1952px}.iti__lb{--iti-flag-offset:-1968px}.iti__lc{--iti-flag-offset:-1984px}.iti__li{--iti-flag-offset:-2000px}.iti__lk{--iti-flag-offset:-2016px}.iti__lr{--iti-flag-offset:-2032px}.iti__ls{--iti-flag-offset:-2048px}.iti__lt{--iti-flag-offset:-2064px}.iti__lu{--iti-flag-offset:-2080px}.iti__lv{--iti-flag-offset:-2096px}.iti__ly{--iti-flag-offset:-2112px}.iti__ma{--iti-flag-offset:-2128px}.iti__mc{--iti-flag-offset:-2144px}.iti__md{--iti-flag-offset:-2160px}.iti__me{--iti-flag-offset:-2176px}.iti__mf{--iti-flag-offset:-2192px}.iti__mg{--iti-flag-offset:-2208px}.iti__mh{--iti-flag-offset:-2224px}.iti__mk{--iti-flag-offset:-2240px}.iti__ml{--iti-flag-offset:-2256px}.iti__mm{--iti-flag-offset:-2272px}.iti__mn{--iti-flag-offset:-2288px}.iti__mo{--iti-flag-offset:-2304px}.iti__mp{--iti-flag-offset:-2320px}.iti__mq{--iti-flag-offset:-2336px}.iti__mr{--iti-flag-offset:-2352px}.iti__ms{--iti-flag-offset:-2368px}.iti__mt{--iti-flag-offset:-2384px}.iti__mu{--iti-flag-offset:-2400px}.iti__mv{--iti-flag-offset:-2416px}.iti__mw{--iti-flag-offset:-2432px}.iti__mx{--iti-flag-offset:-2448px}.iti__my{--iti-flag-offset:-2464px}.iti__mz{--iti-flag-offset:-2480px}.iti__na{--iti-flag-offset:-2496px}.iti__nc{--iti-flag-offset:-2512px}.iti__ne{--iti-flag-offset:-2528px}.iti__nf{--iti-flag-offset:-2544px}.iti__ng{--iti-flag-offset:-2560px}.iti__ni{--iti-flag-offset:-2576px}.iti__nl{--iti-flag-offset:-2592px}.iti__no{--iti-flag-offset:-2608px}.iti__np{--iti-flag-offset:-2624px}.iti__nr{--iti-flag-offset:-2640px}.iti__nu{--iti-flag-offset:-2656px}.iti__nz{--iti-flag-offset:-2672px}.iti__om{--iti-flag-offset:-2688px}.iti__pa{--iti-flag-offset:-2704px}.iti__pe{--iti-flag-offset:-2720px}.iti__pf{--iti-flag-offset:-2736px}.iti__pg{--iti-flag-offset:-2752px}.iti__ph{--iti-flag-offset:-2768px}.iti__pk{--iti-flag-offset:-2784px}.iti__pl{--iti-flag-offset:-2800px}.iti__pm{--iti-flag-offset:-2816px}.iti__pr{--iti-flag-offset:-2832px}.iti__ps{--iti-flag-offset:-2848px}.iti__pt{--iti-flag-offset:-2864px}.iti__pw{--iti-flag-offset:-2880px}.iti__py{--iti-flag-offset:-2896px}.iti__qa{--iti-flag-offset:-2912px}.iti__re{--iti-flag-offset:-2928px}.iti__ro{--iti-flag-offset:-2944px}.iti__rs{--iti-flag-offset:-2960px}.iti__ru{--iti-flag-offset:-2976px}.iti__rw{--iti-flag-offset:-2992px}.iti__sa{--iti-flag-offset:-3008px}.iti__sb{--iti-flag-offset:-3024px}.iti__sc{--iti-flag-offset:-3040px}.iti__sd{--iti-flag-offset:-3056px}.iti__se{--iti-flag-offset:-3072px}.iti__sg{--iti-flag-offset:-3088px}.iti__sh{--iti-flag-offset:-3104px}.iti__si{--iti-flag-offset:-3120px}.iti__sj{--iti-flag-offset:-3136px}.iti__sk{--iti-flag-offset:-3152px}.iti__sl{--iti-flag-offset:-3168px}.iti__sm{--iti-flag-offset:-3184px}.iti__sn{--iti-flag-offset:-3200px}.iti__so{--iti-flag-offset:-3216px}.iti__sr{--iti-flag-offset:-3232px}.iti__ss{--iti-flag-offset:-3248px}.iti__st{--iti-flag-offset:-3264px}.iti__sv{--iti-flag-offset:-3280px}.iti__sx{--iti-flag-offset:-3296px}.iti__sy{--iti-flag-offset:-3312px}.iti__sz{--iti-flag-offset:-3328px}.iti__tc{--iti-flag-offset:-3344px}.iti__td{--iti-flag-offset:-3360px}.iti__tg{--iti-flag-offset:-3376px}.iti__th{--iti-flag-offset:-3392px}.iti__tj{--iti-flag-offset:-3408px}.iti__tk{--iti-flag-offset:-3424px}.iti__tl{--iti-flag-offset:-3440px}.iti__tm{--iti-flag-offset:-3456px}.iti__tn{--iti-flag-offset:-3472px}.iti__to{--iti-flag-offset:-3488px}.iti__tr{--iti-flag-offset:-3504px}.iti__tt{--iti-flag-offset:-3520px}.iti__tv{--iti-flag-offset:-3536px}.iti__tw{--iti-flag-offset:-3552px}.iti__tz{--iti-flag-offset:-3568px}.iti__ua{--iti-flag-offset:-3584px}.iti__ug{--iti-flag-offset:-3600px}.iti__us{--iti-flag-offset:-3616px}.iti__uy{--iti-flag-offset:-3632px}.iti__uz{--iti-flag-offset:-3648px}.iti__va{--iti-flag-offset:-3664px}.iti__vc{--iti-flag-offset:-3680px}.iti__ve{--iti-flag-offset:-3696px}.iti__vg{--iti-flag-offset:-3712px}.iti__vi{--iti-flag-offset:-3728px}.iti__vn{--iti-flag-offset:-3744px}.iti__vu{--iti-flag-offset:-3760px}.iti__wf{--iti-flag-offset:-3776px}.iti__ws{--iti-flag-offset:-3792px}.iti__xk{--iti-flag-offset:-3808px}.iti__ye{--iti-flag-offset:-3824px}.iti__yt{--iti-flag-offset:-3840px}.iti__za{--iti-flag-offset:-3856px}.iti__zm{--iti-flag-offset:-3872px}.iti__zw{--iti-flag-offset:-3888px}.iti__globe{background-image:var(--iti-path-globe-1x);background-size:contain;background-position:right;box-shadow:none;height:19px}@media (min-resolution:2x){.iti__flag{background-image:var(--iti-path-flags-2x)}.iti__globe{background-image:var(--iti-path-globe-2x)}} \ No newline at end of file diff --git a/plugins/intl-tel-input/img/flags.png b/plugins/intl-tel-input/img/flags.png new file mode 100644 index 00000000..0c321c20 Binary files /dev/null and b/plugins/intl-tel-input/img/flags.png differ diff --git a/plugins/intl-tel-input/img/flags.webp b/plugins/intl-tel-input/img/flags.webp new file mode 100644 index 00000000..b433dbdf Binary files /dev/null and b/plugins/intl-tel-input/img/flags.webp differ diff --git a/plugins/intl-tel-input/img/flags@2x.png b/plugins/intl-tel-input/img/flags@2x.png new file mode 100644 index 00000000..e7a78b31 Binary files /dev/null and b/plugins/intl-tel-input/img/flags@2x.png differ diff --git a/plugins/intl-tel-input/img/flags@2x.webp b/plugins/intl-tel-input/img/flags@2x.webp new file mode 100644 index 00000000..87f79a79 Binary files /dev/null and b/plugins/intl-tel-input/img/flags@2x.webp differ diff --git a/plugins/intl-tel-input/img/globe.png b/plugins/intl-tel-input/img/globe.png new file mode 100644 index 00000000..8f380f1b Binary files /dev/null and b/plugins/intl-tel-input/img/globe.png differ diff --git a/plugins/intl-tel-input/img/globe.webp b/plugins/intl-tel-input/img/globe.webp new file mode 100644 index 00000000..d1f2b852 Binary files /dev/null and b/plugins/intl-tel-input/img/globe.webp differ diff --git a/plugins/intl-tel-input/img/globe@2x.png b/plugins/intl-tel-input/img/globe@2x.png new file mode 100644 index 00000000..45d0db0d Binary files /dev/null and b/plugins/intl-tel-input/img/globe@2x.png differ diff --git a/plugins/intl-tel-input/img/globe@2x.webp b/plugins/intl-tel-input/img/globe@2x.webp new file mode 100644 index 00000000..168bfa76 Binary files /dev/null and b/plugins/intl-tel-input/img/globe@2x.webp differ diff --git a/plugins/intl-tel-input/img/globe_light.png b/plugins/intl-tel-input/img/globe_light.png new file mode 100644 index 00000000..2c2b2389 Binary files /dev/null and b/plugins/intl-tel-input/img/globe_light.png differ diff --git a/plugins/intl-tel-input/img/globe_light.webp b/plugins/intl-tel-input/img/globe_light.webp new file mode 100644 index 00000000..4d18b69f Binary files /dev/null and b/plugins/intl-tel-input/img/globe_light.webp differ diff --git a/plugins/intl-tel-input/img/globe_light@2x.png b/plugins/intl-tel-input/img/globe_light@2x.png new file mode 100644 index 00000000..898dcf27 Binary files /dev/null and b/plugins/intl-tel-input/img/globe_light@2x.png differ diff --git a/plugins/intl-tel-input/img/globe_light@2x.webp b/plugins/intl-tel-input/img/globe_light@2x.webp new file mode 100644 index 00000000..c87b1a3f Binary files /dev/null and b/plugins/intl-tel-input/img/globe_light@2x.webp differ diff --git a/plugins/intl-tel-input/js/data.js b/plugins/intl-tel-input/js/data.js new file mode 100644 index 00000000..943c748f --- /dev/null +++ b/plugins/intl-tel-input/js/data.js @@ -0,0 +1,1384 @@ +/* + * International Telephone Input v25.3.0 + * https://github.com/jackocnr/intl-tel-input.git + * Licensed under the MIT license + */ + +// UMD +(function(factory) { + if (typeof module === 'object' && module.exports) { + module.exports = factory(); + } else { + window.allCountries = factory(); + } +}(() => { + +var factoryOutput = (() => { + var __defProp = Object.defineProperty; + var __getOwnPropDesc = Object.getOwnPropertyDescriptor; + var __getOwnPropNames = Object.getOwnPropertyNames; + var __hasOwnProp = Object.prototype.hasOwnProperty; + var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); + }; + var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; + }; + var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + + // src/js/intl-tel-input/data.ts + var data_exports = {}; + __export(data_exports, { + default: () => data_default + }); + var rawCountryData = [ + [ + "af", + // Afghanistan + "93" + ], + [ + "ax", + // Åland Islands + "358", + 1 + ], + [ + "al", + // Albania + "355" + ], + [ + "dz", + // Algeria + "213" + ], + [ + "as", + // American Samoa + "1", + 5, + ["684"] + ], + [ + "ad", + // Andorra + "376" + ], + [ + "ao", + // Angola + "244" + ], + [ + "ai", + // Anguilla + "1", + 6, + ["264"] + ], + [ + "ag", + // Antigua and Barbuda + "1", + 7, + ["268"] + ], + [ + "ar", + // Argentina + "54" + ], + [ + "am", + // Armenia + "374" + ], + [ + "aw", + // Aruba + "297" + ], + [ + "ac", + // Ascension Island + "247" + ], + [ + "au", + // Australia + "61", + 0, + null, + "0" + ], + [ + "at", + // Austria + "43" + ], + [ + "az", + // Azerbaijan + "994" + ], + [ + "bs", + // Bahamas + "1", + 8, + ["242"] + ], + [ + "bh", + // Bahrain + "973" + ], + [ + "bd", + // Bangladesh + "880" + ], + [ + "bb", + // Barbados + "1", + 9, + ["246"] + ], + [ + "by", + // Belarus + "375" + ], + [ + "be", + // Belgium + "32" + ], + [ + "bz", + // Belize + "501" + ], + [ + "bj", + // Benin + "229" + ], + [ + "bm", + // Bermuda + "1", + 10, + ["441"] + ], + [ + "bt", + // Bhutan + "975" + ], + [ + "bo", + // Bolivia + "591" + ], + [ + "ba", + // Bosnia and Herzegovina + "387" + ], + [ + "bw", + // Botswana + "267" + ], + [ + "br", + // Brazil + "55" + ], + [ + "io", + // British Indian Ocean Territory + "246" + ], + [ + "vg", + // British Virgin Islands + "1", + 11, + ["284"] + ], + [ + "bn", + // Brunei + "673" + ], + [ + "bg", + // Bulgaria + "359" + ], + [ + "bf", + // Burkina Faso + "226" + ], + [ + "bi", + // Burundi + "257" + ], + [ + "kh", + // Cambodia + "855" + ], + [ + "cm", + // Cameroon + "237" + ], + [ + "ca", + // Canada + "1", + 1, + ["204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "879", "902", "905"] + ], + [ + "cv", + // Cape Verde + "238" + ], + [ + "bq", + // Caribbean Netherlands + "599", + 1, + ["3", "4", "7"] + ], + [ + "ky", + // Cayman Islands + "1", + 12, + ["345"] + ], + [ + "cf", + // Central African Republic + "236" + ], + [ + "td", + // Chad + "235" + ], + [ + "cl", + // Chile + "56" + ], + [ + "cn", + // China + "86" + ], + [ + "cx", + // Christmas Island + "61", + 2, + ["89164"], + "0" + ], + [ + "cc", + // Cocos (Keeling) Islands + "61", + 1, + ["89162"], + "0" + ], + [ + "co", + // Colombia + "57" + ], + [ + "km", + // Comoros + "269" + ], + [ + "cg", + // Congo (Brazzaville) + "242" + ], + [ + "cd", + // Congo (Kinshasa) + "243" + ], + [ + "ck", + // Cook Islands + "682" + ], + [ + "cr", + // Costa Rica + "506" + ], + [ + "ci", + // Côte d'Ivoire + "225" + ], + [ + "hr", + // Croatia + "385" + ], + [ + "cu", + // Cuba + "53" + ], + [ + "cw", + // Curaçao + "599", + 0 + ], + [ + "cy", + // Cyprus + "357" + ], + [ + "cz", + // Czech Republic + "420" + ], + [ + "dk", + // Denmark + "45" + ], + [ + "dj", + // Djibouti + "253" + ], + [ + "dm", + // Dominica + "1", + 13, + ["767"] + ], + [ + "do", + // Dominican Republic + "1", + 2, + ["809", "829", "849"] + ], + [ + "ec", + // Ecuador + "593" + ], + [ + "eg", + // Egypt + "20" + ], + [ + "sv", + // El Salvador + "503" + ], + [ + "gq", + // Equatorial Guinea + "240" + ], + [ + "er", + // Eritrea + "291" + ], + [ + "ee", + // Estonia + "372" + ], + [ + "sz", + // Eswatini + "268" + ], + [ + "et", + // Ethiopia + "251" + ], + [ + "fk", + // Falkland Islands (Malvinas) + "500" + ], + [ + "fo", + // Faroe Islands + "298" + ], + [ + "fj", + // Fiji + "679" + ], + [ + "fi", + // Finland + "358", + 0 + ], + [ + "fr", + // France + "33" + ], + [ + "gf", + // French Guiana + "594" + ], + [ + "pf", + // French Polynesia + "689" + ], + [ + "ga", + // Gabon + "241" + ], + [ + "gm", + // Gambia + "220" + ], + [ + "ge", + // Georgia + "995" + ], + [ + "de", + // Germany + "49" + ], + [ + "gh", + // Ghana + "233" + ], + [ + "gi", + // Gibraltar + "350" + ], + [ + "gr", + // Greece + "30" + ], + [ + "gl", + // Greenland + "299" + ], + [ + "gd", + // Grenada + "1", + 14, + ["473"] + ], + [ + "gp", + // Guadeloupe + "590", + 0 + ], + [ + "gu", + // Guam + "1", + 15, + ["671"] + ], + [ + "gt", + // Guatemala + "502" + ], + [ + "gg", + // Guernsey + "44", + 1, + ["1481", "7781", "7839", "7911"], + "0" + ], + [ + "gn", + // Guinea + "224" + ], + [ + "gw", + // Guinea-Bissau + "245" + ], + [ + "gy", + // Guyana + "592" + ], + [ + "ht", + // Haiti + "509" + ], + [ + "hn", + // Honduras + "504" + ], + [ + "hk", + // Hong Kong SAR China + "852" + ], + [ + "hu", + // Hungary + "36" + ], + [ + "is", + // Iceland + "354" + ], + [ + "in", + // India + "91" + ], + [ + "id", + // Indonesia + "62" + ], + [ + "ir", + // Iran + "98" + ], + [ + "iq", + // Iraq + "964" + ], + [ + "ie", + // Ireland + "353" + ], + [ + "im", + // Isle of Man + "44", + 2, + ["1624", "74576", "7524", "7924", "7624"], + "0" + ], + [ + "il", + // Israel + "972" + ], + [ + "it", + // Italy + "39", + 0 + ], + [ + "jm", + // Jamaica + "1", + 4, + ["876", "658"] + ], + [ + "jp", + // Japan + "81" + ], + [ + "je", + // Jersey + "44", + 3, + ["1534", "7509", "7700", "7797", "7829", "7937"], + "0" + ], + [ + "jo", + // Jordan + "962" + ], + [ + "kz", + // Kazakhstan + "7", + 1, + ["33", "7"], + "8" + ], + [ + "ke", + // Kenya + "254" + ], + [ + "ki", + // Kiribati + "686" + ], + [ + "xk", + // Kosovo + "383" + ], + [ + "kw", + // Kuwait + "965" + ], + [ + "kg", + // Kyrgyzstan + "996" + ], + [ + "la", + // Laos + "856" + ], + [ + "lv", + // Latvia + "371" + ], + [ + "lb", + // Lebanon + "961" + ], + [ + "ls", + // Lesotho + "266" + ], + [ + "lr", + // Liberia + "231" + ], + [ + "ly", + // Libya + "218" + ], + [ + "li", + // Liechtenstein + "423" + ], + [ + "lt", + // Lithuania + "370" + ], + [ + "lu", + // Luxembourg + "352" + ], + [ + "mo", + // Macao SAR China + "853" + ], + [ + "mg", + // Madagascar + "261" + ], + [ + "mw", + // Malawi + "265" + ], + [ + "my", + // Malaysia + "60" + ], + [ + "mv", + // Maldives + "960" + ], + [ + "ml", + // Mali + "223" + ], + [ + "mt", + // Malta + "356" + ], + [ + "mh", + // Marshall Islands + "692" + ], + [ + "mq", + // Martinique + "596" + ], + [ + "mr", + // Mauritania + "222" + ], + [ + "mu", + // Mauritius + "230" + ], + [ + "yt", + // Mayotte + "262", + 1, + ["269", "639"], + "0" + ], + [ + "mx", + // Mexico + "52" + ], + [ + "fm", + // Micronesia + "691" + ], + [ + "md", + // Moldova + "373" + ], + [ + "mc", + // Monaco + "377" + ], + [ + "mn", + // Mongolia + "976" + ], + [ + "me", + // Montenegro + "382" + ], + [ + "ms", + // Montserrat + "1", + 16, + ["664"] + ], + [ + "ma", + // Morocco + "212", + 0, + null, + "0" + ], + [ + "mz", + // Mozambique + "258" + ], + [ + "mm", + // Myanmar (Burma) + "95" + ], + [ + "na", + // Namibia + "264" + ], + [ + "nr", + // Nauru + "674" + ], + [ + "np", + // Nepal + "977" + ], + [ + "nl", + // Netherlands + "31" + ], + [ + "nc", + // New Caledonia + "687" + ], + [ + "nz", + // New Zealand + "64" + ], + [ + "ni", + // Nicaragua + "505" + ], + [ + "ne", + // Niger + "227" + ], + [ + "ng", + // Nigeria + "234" + ], + [ + "nu", + // Niue + "683" + ], + [ + "nf", + // Norfolk Island + "672" + ], + [ + "kp", + // North Korea + "850" + ], + [ + "mk", + // North Macedonia + "389" + ], + [ + "mp", + // Northern Mariana Islands + "1", + 17, + ["670"] + ], + [ + "no", + // Norway + "47", + 0 + ], + [ + "om", + // Oman + "968" + ], + [ + "pk", + // Pakistan + "92" + ], + [ + "pw", + // Palau + "680" + ], + [ + "ps", + // Palestinian Territories + "970" + ], + [ + "pa", + // Panama + "507" + ], + [ + "pg", + // Papua New Guinea + "675" + ], + [ + "py", + // Paraguay + "595" + ], + [ + "pe", + // Peru + "51" + ], + [ + "ph", + // Philippines + "63" + ], + [ + "pl", + // Poland + "48" + ], + [ + "pt", + // Portugal + "351" + ], + [ + "pr", + // Puerto Rico + "1", + 3, + ["787", "939"] + ], + [ + "qa", + // Qatar + "974" + ], + [ + "re", + // Réunion + "262", + 0, + null, + "0" + ], + [ + "ro", + // Romania + "40" + ], + [ + "ru", + // Russia + "7", + 0, + null, + "8" + ], + [ + "rw", + // Rwanda + "250" + ], + [ + "ws", + // Samoa + "685" + ], + [ + "sm", + // San Marino + "378" + ], + [ + "st", + // São Tomé & Príncipe + "239" + ], + [ + "sa", + // Saudi Arabia + "966" + ], + [ + "sn", + // Senegal + "221" + ], + [ + "rs", + // Serbia + "381" + ], + [ + "sc", + // Seychelles + "248" + ], + [ + "sl", + // Sierra Leone + "232" + ], + [ + "sg", + // Singapore + "65" + ], + [ + "sx", + // Sint Maarten + "1", + 21, + ["721"] + ], + [ + "sk", + // Slovakia + "421" + ], + [ + "si", + // Slovenia + "386" + ], + [ + "sb", + // Solomon Islands + "677" + ], + [ + "so", + // Somalia + "252" + ], + [ + "za", + // South Africa + "27" + ], + [ + "kr", + // South Korea + "82" + ], + [ + "ss", + // South Sudan + "211" + ], + [ + "es", + // Spain + "34" + ], + [ + "lk", + // Sri Lanka + "94" + ], + [ + "bl", + // St. Barthélemy + "590", + 1 + ], + [ + "sh", + // St. Helena + "290" + ], + [ + "kn", + // St. Kitts & Nevis + "1", + 18, + ["869"] + ], + [ + "lc", + // St. Lucia + "1", + 19, + ["758"] + ], + [ + "mf", + // St. Martin + "590", + 2 + ], + [ + "pm", + // St. Pierre & Miquelon + "508" + ], + [ + "vc", + // St. Vincent & Grenadines + "1", + 20, + ["784"] + ], + [ + "sd", + // Sudan + "249" + ], + [ + "sr", + // Suriname + "597" + ], + [ + "sj", + // Svalbard & Jan Mayen + "47", + 1, + ["79"] + ], + [ + "se", + // Sweden + "46" + ], + [ + "ch", + // Switzerland + "41" + ], + [ + "sy", + // Syria + "963" + ], + [ + "tw", + // Taiwan + "886" + ], + [ + "tj", + // Tajikistan + "992" + ], + [ + "tz", + // Tanzania + "255" + ], + [ + "th", + // Thailand + "66" + ], + [ + "tl", + // Timor-Leste + "670" + ], + [ + "tg", + // Togo + "228" + ], + [ + "tk", + // Tokelau + "690" + ], + [ + "to", + // Tonga + "676" + ], + [ + "tt", + // Trinidad & Tobago + "1", + 22, + ["868"] + ], + [ + "tn", + // Tunisia + "216" + ], + [ + "tr", + // Turkey + "90" + ], + [ + "tm", + // Turkmenistan + "993" + ], + [ + "tc", + // Turks & Caicos Islands + "1", + 23, + ["649"] + ], + [ + "tv", + // Tuvalu + "688" + ], + [ + "ug", + // Uganda + "256" + ], + [ + "ua", + // Ukraine + "380" + ], + [ + "ae", + // United Arab Emirates + "971" + ], + [ + "gb", + // United Kingdom + "44", + 0, + null, + "0" + ], + [ + "us", + // United States + "1", + 0 + ], + [ + "uy", + // Uruguay + "598" + ], + [ + "vi", + // U.S. Virgin Islands + "1", + 24, + ["340"] + ], + [ + "uz", + // Uzbekistan + "998" + ], + [ + "vu", + // Vanuatu + "678" + ], + [ + "va", + // Vatican City + "39", + 1, + ["06698"] + ], + [ + "ve", + // Venezuela + "58" + ], + [ + "vn", + // Vietnam + "84" + ], + [ + "wf", + // Wallis & Futuna + "681" + ], + [ + "eh", + // Western Sahara + "212", + 1, + ["5288", "5289"], + "0" + ], + [ + "ye", + // Yemen + "967" + ], + [ + "zm", + // Zambia + "260" + ], + [ + "zw", + // Zimbabwe + "263" + ] + ]; + var allCountries = []; + for (let i = 0; i < rawCountryData.length; i++) { + const c = rawCountryData[i]; + allCountries[i] = { + name: "", + // this is now populated in the plugin + iso2: c[0], + dialCode: c[1], + priority: c[2] || 0, + areaCodes: c[3] || null, + nodeById: {}, + nationalPrefix: c[4] || null + }; + } + var data_default = allCountries; + return __toCommonJS(data_exports); +})(); + +// UMD + return factoryOutput.default; +})); diff --git a/plugins/intl-tel-input/js/data.min.js b/plugins/intl-tel-input/js/data.min.js new file mode 100644 index 00000000..4ff07b42 --- /dev/null +++ b/plugins/intl-tel-input/js/data.min.js @@ -0,0 +1,20 @@ +/* + * International Telephone Input v25.3.0 + * https://github.com/jackocnr/intl-tel-input.git + * Licensed under the MIT license + */ + +// UMD +(function(factory) { + if (typeof module === 'object' && module.exports) { + module.exports = factory(); + } else { + window.allCountries = factory(); + } +}(() => { + +var factoryOutput=(()=>{var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var c=(t,n)=>{for(var s in n)l(t,s,{get:n[s],enumerable:!0})},u=(t,n,s,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of g(n))!o.call(t,r)&&r!==s&&l(t,r,{get:()=>n[r],enumerable:!(a=m(n,r))||a.enumerable});return t};var b=t=>u(l({},"__esModule",{value:!0}),t);var p={};c(p,{default:()=>d});var e=[["af","93"],["ax","358",1],["al","355"],["dz","213"],["as","1",5,["684"]],["ad","376"],["ao","244"],["ai","1",6,["264"]],["ag","1",7,["268"]],["ar","54"],["am","374"],["aw","297"],["ac","247"],["au","61",0,null,"0"],["at","43"],["az","994"],["bs","1",8,["242"]],["bh","973"],["bd","880"],["bb","1",9,["246"]],["by","375"],["be","32"],["bz","501"],["bj","229"],["bm","1",10,["441"]],["bt","975"],["bo","591"],["ba","387"],["bw","267"],["br","55"],["io","246"],["vg","1",11,["284"]],["bn","673"],["bg","359"],["bf","226"],["bi","257"],["kh","855"],["cm","237"],["ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905"]],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"]],["cf","236"],["td","235"],["cl","56"],["cn","86"],["cx","61",2,["89164"],"0"],["cc","61",1,["89162"],"0"],["co","57"],["km","269"],["cg","242"],["cd","243"],["ck","682"],["cr","506"],["ci","225"],["hr","385"],["cu","53"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"]],["do","1",2,["809","829","849"]],["ec","593"],["eg","20"],["sv","503"],["gq","240"],["er","291"],["ee","372"],["sz","268"],["et","251"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0],["fr","33"],["gf","594"],["pf","689"],["ga","241"],["gm","220"],["ge","995"],["de","49"],["gh","233"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"]],["gp","590",0],["gu","1",15,["671"]],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36"],["is","354"],["in","91"],["id","62"],["ir","98"],["iq","964"],["ie","353"],["im","44",2,["1624","74576","7524","7924","7624"],"0"],["il","972"],["it","39",0],["jm","1",4,["876","658"]],["jp","81"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962"],["kz","7",1,["33","7"],"8"],["ke","254"],["ki","686"],["xk","383"],["kw","965"],["kg","996"],["la","856"],["lv","371"],["lb","961"],["ls","266"],["lr","231"],["ly","218"],["li","423"],["lt","370"],["lu","352"],["mo","853"],["mg","261"],["mw","265"],["my","60"],["mv","960"],["ml","223"],["mt","356"],["mh","692"],["mq","596"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373"],["mc","377"],["mn","976"],["me","382"],["ms","1",16,["664"]],["ma","212",0,null,"0"],["mz","258"],["mm","95"],["na","264"],["nr","674"],["np","977"],["nl","31"],["nc","687"],["nz","64"],["ni","505"],["ne","227"],["ng","234"],["nu","683"],["nf","672"],["kp","850"],["mk","389"],["mp","1",17,["670"]],["no","47",0],["om","968"],["pk","92"],["pw","680"],["ps","970"],["pa","507"],["pg","675"],["py","595"],["pe","51"],["ph","63"],["pl","48"],["pt","351"],["pr","1",3,["787","939"]],["qa","974"],["re","262",0,null,"0"],["ro","40"],["ru","7",0,null,"8"],["rw","250"],["ws","685"],["sm","378"],["st","239"],["sa","966"],["sn","221"],["rs","381"],["sc","248"],["sl","232"],["sg","65"],["sx","1",21,["721"]],["sk","421"],["si","386"],["sb","677"],["so","252"],["za","27"],["kr","82"],["ss","211"],["es","34"],["lk","94"],["bl","590",1],["sh","290"],["kn","1",18,["869"]],["lc","1",19,["758"]],["mf","590",2],["pm","508"],["vc","1",20,["784"]],["sd","249"],["sr","597"],["sj","47",1,["79"]],["se","46"],["ch","41"],["sy","963"],["tw","886"],["tj","992"],["tz","255"],["th","66"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"]],["tn","216"],["tr","90"],["tm","993"],["tc","1",23,["649"]],["tv","688"],["ug","256"],["ua","380"],["ae","971"],["gb","44",0,null,"0"],["us","1",0],["uy","598"],["vi","1",24,["340"]],["uz","998"],["vu","678"],["va","39",1,["06698"]],["ve","58"],["vn","84"],["wf","681"],["eh","212",1,["5288","5289"],"0"],["ye","967"],["zm","260"],["zw","263"]],i=[];for(let t=0;t 1 && count < 5 ? 'wyniki' : 'wyników'}", + // additional countries (not supported by country-list library) + ac: "Wyspa Wniebowstąpienia", + xk: "Kosowo" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/pt/countries.js b/plugins/intl-tel-input/js/i18n/pt/countries.js new file mode 100644 index 00000000..67565577 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/pt/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Emirados Árabes Unidos", + af: "Afeganistão", + ag: "Antígua e Barbuda", + ai: "Anguila", + al: "Albânia", + am: "Armênia", + ao: "Angola", + ar: "Argentina", + as: "Samoa Americana", + at: "Áustria", + au: "Austrália", + aw: "Aruba", + ax: "Ilhas Aland", + az: "Azerbaijão", + ba: "Bósnia e Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Bélgica", + bf: "Burquina Faso", + bg: "Bulgária", + bh: "Bahrein", + bi: "Burundi", + bj: "Benin", + bl: "São Bartolomeu", + bm: "Bermudas", + bn: "Brunei", + bo: "Bolívia", + bq: "Países Baixos Caribenhos", + br: "Brasil", + bs: "Bahamas", + bt: "Butão", + bw: "Botsuana", + by: "Bielorrússia", + bz: "Belize", + ca: "Canadá", + cc: "Ilhas Cocos (Keeling)", + cd: "Congo - Kinshasa", + cf: "República Centro-Africana", + cg: "República do Congo", + ch: "Suíça", + ci: "Costa do Marfim", + ck: "Ilhas Cook", + cl: "Chile", + cm: "Camarões", + cn: "China", + co: "Colômbia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cabo Verde", + cw: "Curaçao", + cx: "Ilha Christmas", + cy: "Chipre", + cz: "Tchéquia", + de: "Alemanha", + dj: "Djibuti", + dk: "Dinamarca", + dm: "Dominica", + do: "República Dominicana", + dz: "Argélia", + ec: "Equador", + ee: "Estônia", + eg: "Egito", + eh: "Saara Ocidental", + er: "Eritreia", + es: "Espanha", + et: "Etiópia", + fi: "Finlândia", + fj: "Fiji", + fk: "Ilhas Malvinas", + fm: "Micronésia", + fo: "Ilhas Faroe", + fr: "França", + ga: "Gabão", + gb: "Reino Unido", + gd: "Granada", + ge: "Geórgia", + gf: "Guiana Francesa", + gg: "Guernsey", + gh: "Gana", + gi: "Gibraltar", + gl: "Groenlândia", + gm: "Gâmbia", + gn: "Guiné", + gp: "Guadalupe", + gq: "Guiné Equatorial", + gr: "Grécia", + gt: "Guatemala", + gu: "Guam", + gw: "Guiné-Bissau", + gy: "Guiana", + hk: "Hong Kong, RAE da China", + hn: "Honduras", + hr: "Croácia", + ht: "Haiti", + hu: "Hungria", + id: "Indonésia", + ie: "Irlanda", + il: "Israel", + im: "Ilha de Man", + in: "Índia", + io: "Território Britânico do Oceano Índico", + iq: "Iraque", + ir: "Irã", + is: "Islândia", + it: "Itália", + je: "Jersey", + jm: "Jamaica", + jo: "Jordânia", + jp: "Japão", + ke: "Quênia", + kg: "Quirguistão", + kh: "Camboja", + ki: "Quiribati", + km: "Comores", + kn: "São Cristóvão e Névis", + kp: "Coreia do Norte", + kr: "Coreia do Sul", + kw: "Kuwait", + ky: "Ilhas Cayman", + kz: "Cazaquistão", + la: "Laos", + lb: "Líbano", + lc: "Santa Lúcia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Libéria", + ls: "Lesoto", + lt: "Lituânia", + lu: "Luxemburgo", + lv: "Letônia", + ly: "Líbia", + ma: "Marrocos", + mc: "Mônaco", + md: "Moldova", + me: "Montenegro", + mf: "São Martinho", + mg: "Madagascar", + mh: "Ilhas Marshall", + mk: "Macedônia do Norte", + ml: "Mali", + mm: "Mianmar (Birmânia)", + mn: "Mongólia", + mo: "Macau, RAE da China", + mp: "Ilhas Marianas do Norte", + mq: "Martinica", + mr: "Mauritânia", + ms: "Montserrat", + mt: "Malta", + mu: "Maurício", + mv: "Maldivas", + mw: "Malaui", + mx: "México", + my: "Malásia", + mz: "Moçambique", + na: "Namíbia", + nc: "Nova Caledônia", + ne: "Níger", + nf: "Ilha Norfolk", + ng: "Nigéria", + ni: "Nicarágua", + nl: "Países Baixos", + no: "Noruega", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nova Zelândia", + om: "Omã", + pa: "Panamá", + pe: "Peru", + pf: "Polinésia Francesa", + pg: "Papua-Nova Guiné", + ph: "Filipinas", + pk: "Paquistão", + pl: "Polônia", + pm: "São Pedro e Miquelão", + pr: "Porto Rico", + ps: "Territórios palestinos", + pt: "Portugal", + pw: "Palau", + py: "Paraguai", + qa: "Catar", + re: "Reunião", + ro: "Romênia", + rs: "Sérvia", + ru: "Rússia", + rw: "Ruanda", + sa: "Arábia Saudita", + sb: "Ilhas Salomão", + sc: "Seicheles", + sd: "Sudão", + se: "Suécia", + sg: "Singapura", + sh: "Santa Helena", + si: "Eslovênia", + sj: "Svalbard e Jan Mayen", + sk: "Eslováquia", + sl: "Serra Leoa", + sm: "San Marino", + sn: "Senegal", + so: "Somália", + sr: "Suriname", + ss: "Sudão do Sul", + st: "São Tomé e Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Síria", + sz: "Essuatíni", + tc: "Ilhas Turcas e Caicos", + td: "Chade", + tg: "Togo", + th: "Tailândia", + tj: "Tadjiquistão", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turcomenistão", + tn: "Tunísia", + to: "Tonga", + tr: "Turquia", + tt: "Trinidad e Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzânia", + ua: "Ucrânia", + ug: "Uganda", + us: "Estados Unidos", + uy: "Uruguai", + uz: "Uzbequistão", + va: "Cidade do Vaticano", + vc: "São Vicente e Granadinas", + ve: "Venezuela", + vg: "Ilhas Virgens Britânicas", + vi: "Ilhas Virgens Americanas", + vn: "Vietnã", + vu: "Vanuatu", + wf: "Wallis e Futuna", + ws: "Samoa", + ye: "Iêmen", + yt: "Mayotte", + za: "África do Sul", + zm: "Zâmbia", + zw: "Zimbábue" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/pt/index.js b/plugins/intl-tel-input/js/i18n/pt/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/pt/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/pt/interface.js b/plugins/intl-tel-input/js/i18n/pt/interface.js new file mode 100644 index 00000000..aace95c3 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/pt/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "País selecionado", + noCountrySelected: "Nenhum país selecionado", + countryListAriaLabel: "Lista de países", + searchPlaceholder: "Procurar", + zeroSearchResults: "Nenhum resultado encontrado", + oneSearchResult: "1 resultado encontrado", + multipleSearchResults: "${count} resultados encontrados", + // additional countries (not supported by country-list library) + ac: "Ilha de Ascensão", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ro/countries.js b/plugins/intl-tel-input/js/i18n/ro/countries.js new file mode 100644 index 00000000..90432d14 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ro/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Emiratele Arabe Unite", + af: "Afganistan", + ag: "Antigua și Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "Samoa Americană", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "Insulele Åland", + az: "Azerbaidjan", + ba: "Bosnia și Herțegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgia", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "Saint-Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Insulele Caraibe Olandeze", + br: "Brazilia", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Canada", + cc: "Insulele Cocos (Keeling)", + cd: "Congo - Kinshasa", + cf: "Republica Centrafricană", + cg: "Congo - Brazzaville", + ch: "Elveția", + ci: "Côte d’Ivoire", + ck: "Insulele Cook", + cl: "Chile", + cm: "Camerun", + cn: "China", + co: "Columbia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Capul Verde", + cw: "Curaçao", + cx: "Insula Christmas", + cy: "Cipru", + cz: "Cehia", + de: "Germania", + dj: "Djibouti", + dk: "Danemarca", + dm: "Dominica", + do: "Republica Dominicană", + dz: "Algeria", + ec: "Ecuador", + ee: "Estonia", + eg: "Egipt", + eh: "Sahara Occidentală", + er: "Eritreea", + es: "Spania", + et: "Etiopia", + fi: "Finlanda", + fj: "Fiji", + fk: "Insulele Falkland", + fm: "Micronezia", + fo: "Insulele Feroe", + fr: "Franța", + ga: "Gabon", + gb: "Regatul Unit", + gd: "Grenada", + ge: "Georgia", + gf: "Guyana Franceză", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Groenlanda", + gm: "Gambia", + gn: "Guineea", + gp: "Guadelupa", + gq: "Guineea Ecuatorială", + gr: "Grecia", + gt: "Guatemala", + gu: "Guam", + gw: "Guineea-Bissau", + gy: "Guyana", + hk: "R.A.S. Hong Kong a Chinei", + hn: "Honduras", + hr: "Croația", + ht: "Haiti", + hu: "Ungaria", + id: "Indonezia", + ie: "Irlanda", + il: "Israel", + im: "Insula Man", + in: "India", + io: "Teritoriul Britanic din Oceanul Indian", + iq: "Irak", + ir: "Iran", + is: "Islanda", + it: "Italia", + je: "Jersey", + jm: "Jamaica", + jo: "Iordania", + jp: "Japonia", + ke: "Kenya", + kg: "Kârgâzstan", + kh: "Cambodgia", + ki: "Kiribati", + km: "Comore", + kn: "Saint Kitts și Nevis", + kp: "Coreea de Nord", + kr: "Coreea de Sud", + kw: "Kuweit", + ky: "Insulele Cayman", + kz: "Kazahstan", + la: "Laos", + lb: "Liban", + lc: "Sfânta Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Lituania", + lu: "Luxemburg", + lv: "Letonia", + ly: "Libia", + ma: "Maroc", + mc: "Monaco", + md: "Republica Moldova", + me: "Muntenegru", + mf: "Sfântul Martin", + mg: "Madagascar", + mh: "Insulele Marshall", + mk: "Macedonia de Nord", + ml: "Mali", + mm: "Myanmar (Birmania)", + mn: "Mongolia", + mo: "R.A.S. Macao, China", + mp: "Insulele Mariane de Nord", + mq: "Martinica", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldive", + mw: "Malawi", + mx: "Mexic", + my: "Malaysia", + mz: "Mozambic", + na: "Namibia", + nc: "Noua Caledonie", + ne: "Niger", + nf: "Insula Norfolk", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Țările de Jos", + no: "Norvegia", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Noua Zeelandă", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Polinezia Franceză", + pg: "Papua-Noua Guinee", + ph: "Filipine", + pk: "Pakistan", + pl: "Polonia", + pm: "Saint-Pierre și Miquelon", + pr: "Puerto Rico", + ps: "Teritoriile Palestiniene", + pt: "Portugalia", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "România", + rs: "Serbia", + ru: "Rusia", + rw: "Rwanda", + sa: "Arabia Saudită", + sb: "Insulele Solomon", + sc: "Seychelles", + sd: "Sudan", + se: "Suedia", + sg: "Singapore", + sh: "Sfânta Elena", + si: "Slovenia", + sj: "Svalbard și Jan Mayen", + sk: "Slovacia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "Sudanul de Sud", + st: "São Tomé și Príncipe", + sv: "El Salvador", + sx: "Sint-Maarten", + sy: "Siria", + sz: "eSwatini", + tc: "Insulele Turks și Caicos", + td: "Ciad", + tg: "Togo", + th: "Thailanda", + tj: "Tadjikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Turcia", + tt: "Trinidad și Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ucraina", + ug: "Uganda", + us: "Statele Unite ale Americii", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Statul Cetății Vaticanului", + vc: "Saint Vincent și Grenadinele", + ve: "Venezuela", + vg: "Insulele Virgine Britanice", + vi: "Insulele Virgine Americane", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis și Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Africa de Sud", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ro/index.js b/plugins/intl-tel-input/js/i18n/ro/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ro/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ro/interface.js b/plugins/intl-tel-input/js/i18n/ro/interface.js new file mode 100644 index 00000000..84827fef --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ro/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Țara selectată", + noCountrySelected: "Nicio țară selectată", + countryListAriaLabel: "Lista țărilor", + searchPlaceholder: "Căutare", + zeroSearchResults: "Nici un rezultat gasit", + oneSearchResult: "1 rezultat găsit", + multipleSearchResults: "${count} rezultate găsite", + // additional countries (not supported by country-list library) + ac: "Insula Ascensiunii", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ru/countries.js b/plugins/intl-tel-input/js/i18n/ru/countries.js new file mode 100644 index 00000000..dcc6fa9d --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ru/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Андорра", + ae: "ОАЭ", + af: "Афганистан", + ag: "Антигуа и Барбуда", + ai: "Ангилья", + al: "Албания", + am: "Армения", + ao: "Ангола", + ar: "Аргентина", + as: "Американское Самоа", + at: "Австрия", + au: "Австралия", + aw: "Аруба", + ax: "Аландские о-ва", + az: "Азербайджан", + ba: "Босния и Герцеговина", + bb: "Барбадос", + bd: "Бангладеш", + be: "Бельгия", + bf: "Буркина-Фасо", + bg: "Болгария", + bh: "Бахрейн", + bi: "Бурунди", + bj: "Бенин", + bl: "Сен-Бартелеми", + bm: "Бермудские о-ва", + bn: "Бруней-Даруссалам", + bo: "Боливия", + bq: "Бонэйр, Синт-Эстатиус и Саба", + br: "Бразилия", + bs: "Багамы", + bt: "Бутан", + bw: "Ботсвана", + by: "Беларусь", + bz: "Белиз", + ca: "Канада", + cc: "Кокосовые о-ва", + cd: "Конго - Киншаса", + cf: "Центрально-Африканская Республика", + cg: "Конго - Браззавиль", + ch: "Швейцария", + ci: "Кот-д’Ивуар", + ck: "Острова Кука", + cl: "Чили", + cm: "Камерун", + cn: "Китай", + co: "Колумбия", + cr: "Коста-Рика", + cu: "Куба", + cv: "Кабо-Верде", + cw: "Кюрасао", + cx: "о-в Рождества", + cy: "Кипр", + cz: "Чехия", + de: "Германия", + dj: "Джибути", + dk: "Дания", + dm: "Доминика", + do: "Доминиканская Республика", + dz: "Алжир", + ec: "Эквадор", + ee: "Эстония", + eg: "Египет", + eh: "Западная Сахара", + er: "Эритрея", + es: "Испания", + et: "Эфиопия", + fi: "Финляндия", + fj: "Фиджи", + fk: "Фолклендские о-ва", + fm: "Федеративные Штаты Микронезии", + fo: "Фарерские о-ва", + fr: "Франция", + ga: "Габон", + gb: "Великобритания", + gd: "Гренада", + ge: "Грузия", + gf: "Французская Гвиана", + gg: "Гернси", + gh: "Гана", + gi: "Гибралтар", + gl: "Гренландия", + gm: "Гамбия", + gn: "Гвинея", + gp: "Гваделупа", + gq: "Экваториальная Гвинея", + gr: "Греция", + gt: "Гватемала", + gu: "Гуам", + gw: "Гвинея-Бисау", + gy: "Гайана", + hk: "Гонконг (САР)", + hn: "Гондурас", + hr: "Хорватия", + ht: "Гаити", + hu: "Венгрия", + id: "Индонезия", + ie: "Ирландия", + il: "Израиль", + im: "о-в Мэн", + in: "Индия", + io: "Британская территория в Индийском океане", + iq: "Ирак", + ir: "Иран", + is: "Исландия", + it: "Италия", + je: "Джерси", + jm: "Ямайка", + jo: "Иордания", + jp: "Япония", + ke: "Кения", + kg: "Киргизия", + kh: "Камбоджа", + ki: "Кирибати", + km: "Коморы", + kn: "Сент-Китс и Невис", + kp: "КНДР", + kr: "Республика Корея", + kw: "Кувейт", + ky: "Острова Кайман", + kz: "Казахстан", + la: "Лаос", + lb: "Ливан", + lc: "Сент-Люсия", + li: "Лихтенштейн", + lk: "Шри-Ланка", + lr: "Либерия", + ls: "Лесото", + lt: "Литва", + lu: "Люксембург", + lv: "Латвия", + ly: "Ливия", + ma: "Марокко", + mc: "Монако", + md: "Молдова", + me: "Черногория", + mf: "Сен-Мартен", + mg: "Мадагаскар", + mh: "Маршалловы Острова", + mk: "Северная Македония", + ml: "Мали", + mm: "Мьянма (Бирма)", + mn: "Монголия", + mo: "Макао (САР)", + mp: "Северные Марианские о-ва", + mq: "Мартиника", + mr: "Мавритания", + ms: "Монтсеррат", + mt: "Мальта", + mu: "Маврикий", + mv: "Мальдивы", + mw: "Малави", + mx: "Мексика", + my: "Малайзия", + mz: "Мозамбик", + na: "Намибия", + nc: "Новая Каледония", + ne: "Нигер", + nf: "о-в Норфолк", + ng: "Нигерия", + ni: "Никарагуа", + nl: "Нидерланды", + no: "Норвегия", + np: "Непал", + nr: "Науру", + nu: "Ниуэ", + nz: "Новая Зеландия", + om: "Оман", + pa: "Панама", + pe: "Перу", + pf: "Французская Полинезия", + pg: "Папуа — Новая Гвинея", + ph: "Филиппины", + pk: "Пакистан", + pl: "Польша", + pm: "Сен-Пьер и Микелон", + pr: "Пуэрто-Рико", + ps: "Палестинские территории", + pt: "Португалия", + pw: "Палау", + py: "Парагвай", + qa: "Катар", + re: "Реюньон", + ro: "Румыния", + rs: "Сербия", + ru: "Россия", + rw: "Руанда", + sa: "Саудовская Аравия", + sb: "Соломоновы Острова", + sc: "Сейшельские Острова", + sd: "Судан", + se: "Швеция", + sg: "Сингапур", + sh: "о-в Св. Елены", + si: "Словения", + sj: "Шпицберген и Ян-Майен", + sk: "Словакия", + sl: "Сьерра-Леоне", + sm: "Сан-Марино", + sn: "Сенегал", + so: "Сомали", + sr: "Суринам", + ss: "Южный Судан", + st: "Сан-Томе и Принсипи", + sv: "Сальвадор", + sx: "Синт-Мартен", + sy: "Сирия", + sz: "Эсватини", + tc: "о-ва Тёркс и Кайкос", + td: "Чад", + tg: "Того", + th: "Таиланд", + tj: "Таджикистан", + tk: "Токелау", + tl: "Восточный Тимор", + tm: "Туркменистан", + tn: "Тунис", + to: "Тонга", + tr: "Турция", + tt: "Тринидад и Тобаго", + tv: "Тувалу", + tw: "Тайвань", + tz: "Танзания", + ua: "Украина", + ug: "Уганда", + us: "Соединенные Штаты", + uy: "Уругвай", + uz: "Узбекистан", + va: "Ватикан", + vc: "Сент-Винсент и Гренадины", + ve: "Венесуэла", + vg: "Виргинские о-ва (Великобритания)", + vi: "Виргинские о-ва (США)", + vn: "Вьетнам", + vu: "Вануату", + wf: "Уоллис и Футуна", + ws: "Самоа", + ye: "Йемен", + yt: "Майотта", + za: "Южно-Африканская Республика", + zm: "Замбия", + zw: "Зимбабве" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ru/index.js b/plugins/intl-tel-input/js/i18n/ru/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ru/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ru/interface.js b/plugins/intl-tel-input/js/i18n/ru/interface.js new file mode 100644 index 00000000..c287b5b9 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ru/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Выбранная страна", + noCountrySelected: "Страна не выбрана", + countryListAriaLabel: "Список стран", + searchPlaceholder: "Поиск", + zeroSearchResults: "результатов не найдено", + oneSearchResult: "найден 1 результат", + multipleSearchResults: "Найдено ${count} результатов", + // additional countries (not supported by country-list library) + ac: "Остров Вознесения", + xk: "Косово" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/sk/countries.js b/plugins/intl-tel-input/js/i18n/sk/countries.js new file mode 100644 index 00000000..40e49028 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/sk/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Spojené arabské emiráty", + af: "Afganistan", + ag: "Antigua a Barbuda", + ai: "Anguilla", + al: "Albánsko", + am: "Arménsko", + ao: "Angola", + ar: "Argentína", + as: "Americká Samoa", + at: "Rakúsko", + au: "Austrália", + aw: "Aruba", + ax: "Alandy", + az: "Azerbajdžan", + ba: "Bosna a Hercegovina", + bb: "Barbados", + bd: "Bangladéš", + be: "Belgicko", + bf: "Burkina Faso", + bg: "Bulharsko", + bh: "Bahrajn", + bi: "Burundi", + bj: "Benin", + bl: "Svätý Bartolomej", + bm: "Bermudy", + bn: "Brunej", + bo: "Bolívia", + bq: "Karibské Holandsko", + br: "Brazília", + bs: "Bahamy", + bt: "Bhután", + bw: "Botswana", + by: "Bielorusko", + bz: "Belize", + ca: "Kanada", + cc: "Kokosové ostrovy", + cd: "Konžská demokratická republika", + cf: "Stredoafrická republika", + cg: "Konžská republika", + ch: "Švajčiarsko", + ci: "Pobrežie Slonoviny", + ck: "Cookove ostrovy", + cl: "Čile", + cm: "Kamerun", + cn: "Čína", + co: "Kolumbia", + cr: "Kostarika", + cu: "Kuba", + cv: "Kapverdy", + cw: "Curaçao", + cx: "Vianočný ostrov", + cy: "Cyprus", + cz: "Česko", + de: "Nemecko", + dj: "Džibutsko", + dk: "Dánsko", + dm: "Dominika", + do: "Dominikánska republika", + dz: "Alžírsko", + ec: "Ekvádor", + ee: "Estónsko", + eg: "Egypt", + eh: "Západná Sahara", + er: "Eritrea", + es: "Španielsko", + et: "Etiópia", + fi: "Fínsko", + fj: "Fidži", + fk: "Falklandy", + fm: "Mikronézia", + fo: "Faerské ostrovy", + fr: "Francúzsko", + ga: "Gabon", + gb: "Spojené kráľovstvo", + gd: "Grenada", + ge: "Gruzínsko", + gf: "Francúzska Guyana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltár", + gl: "Grónsko", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Rovníková Guinea", + gr: "Grécko", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hongkong – OAO Číny", + hn: "Honduras", + hr: "Chorvátsko", + ht: "Haiti", + hu: "Maďarsko", + id: "Indonézia", + ie: "Írsko", + il: "Izrael", + im: "Ostrov Man", + in: "India", + io: "Britské indickooceánske územie", + iq: "Irak", + ir: "Irán", + is: "Island", + it: "Taliansko", + je: "Jersey", + jm: "Jamajka", + jo: "Jordánsko", + jp: "Japonsko", + ke: "Keňa", + kg: "Kirgizsko", + kh: "Kambodža", + ki: "Kiribati", + km: "Komory", + kn: "Svätý Krištof a Nevis", + kp: "Severná Kórea", + kr: "Južná Kórea", + kw: "Kuvajt", + ky: "Kajmanie ostrovy", + kz: "Kazachstan", + la: "Laos", + lb: "Libanon", + lc: "Svätá Lucia", + li: "Lichtenštajnsko", + lk: "Srí Lanka", + lr: "Libéria", + ls: "Lesotho", + lt: "Litva", + lu: "Luxembursko", + lv: "Lotyšsko", + ly: "Líbya", + ma: "Maroko", + mc: "Monako", + md: "Moldavsko", + me: "Čierna Hora", + mf: "Svätý Martin (fr.)", + mg: "Madagaskar", + mh: "Marshallove ostrovy", + mk: "Severné Macedónsko", + ml: "Mali", + mm: "Mjanmarsko", + mn: "Mongolsko", + mo: "Macao – OAO Číny", + mp: "Severné Mariány", + mq: "Martinik", + mr: "Mauritánia", + ms: "Montserrat", + mt: "Malta", + mu: "Maurícius", + mv: "Maldivy", + mw: "Malawi", + mx: "Mexiko", + my: "Malajzia", + mz: "Mozambik", + na: "Namíbia", + nc: "Nová Kaledónia", + ne: "Niger", + nf: "Norfolk", + ng: "Nigéria", + ni: "Nikaragua", + nl: "Holandsko", + no: "Nórsko", + np: "Nepál", + nr: "Nauru", + nu: "Niue", + nz: "Nový Zéland", + om: "Omán", + pa: "Panama", + pe: "Peru", + pf: "Francúzska Polynézia", + pg: "Papua-Nová Guinea", + ph: "Filipíny", + pk: "Pakistan", + pl: "Poľsko", + pm: "Saint Pierre a Miquelon", + pr: "Portoriko", + ps: "Palestínske územia", + pt: "Portugalsko", + pw: "Palau", + py: "Paraguaj", + qa: "Katar", + re: "Réunion", + ro: "Rumunsko", + rs: "Srbsko", + ru: "Rusko", + rw: "Rwanda", + sa: "Saudská Arábia", + sb: "Šalamúnove ostrovy", + sc: "Seychely", + sd: "Sudán", + se: "Švédsko", + sg: "Singapur", + sh: "Svätá Helena", + si: "Slovinsko", + sj: "Svalbard a Jan Mayen", + sk: "Slovensko", + sl: "Sierra Leone", + sm: "San Maríno", + sn: "Senegal", + so: "Somálsko", + sr: "Surinam", + ss: "Južný Sudán", + st: "Svätý Tomáš a Princov ostrov", + sv: "Salvádor", + sx: "Svätý Martin (hol.)", + sy: "Sýria", + sz: "Eswatini", + tc: "Turks a Caicos", + td: "Čad", + tg: "Togo", + th: "Thajsko", + tj: "Tadžikistan", + tk: "Tokelau", + tl: "Východný Timor", + tm: "Turkménsko", + tn: "Tunisko", + to: "Tonga", + tr: "Turecko", + tt: "Trinidad a Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzánia", + ua: "Ukrajina", + ug: "Uganda", + us: "Spojené štáty", + uy: "Uruguaj", + uz: "Uzbekistan", + va: "Vatikán", + vc: "Svätý Vincent a Grenadíny", + ve: "Venezuela", + vg: "Britské Panenské ostrovy", + vi: "Americké Panenské ostrovy", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis a Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Južná Afrika", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/sk/index.js b/plugins/intl-tel-input/js/i18n/sk/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/sk/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/sk/interface.js b/plugins/intl-tel-input/js/i18n/sk/interface.js new file mode 100644 index 00000000..281a135f --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/sk/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Vybraná krajina", + noCountrySelected: "Nie je vybratá žiadna krajina", + countryListAriaLabel: "Zoznam krajín", + searchPlaceholder: "Vyhľadať", + zeroSearchResults: "Neboli nájdené žiadne výsledky", + oneSearchResult: "1 nájdený výsledok", + multipleSearchResults: "${count} nájdených výsledkov", + // additional countries (not supported by country-list library) + ac: "Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/sv/countries.js b/plugins/intl-tel-input/js/i18n/sv/countries.js new file mode 100644 index 00000000..4334a572 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/sv/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Förenade Arabemiraten", + af: "Afghanistan", + ag: "Antigua och Barbuda", + ai: "Anguilla", + al: "Albanien", + am: "Armenien", + ao: "Angola", + ar: "Argentina", + as: "Amerikanska Samoa", + at: "Österrike", + au: "Australien", + aw: "Aruba", + ax: "Åland", + az: "Azerbajdzjan", + ba: "Bosnien och Hercegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgien", + bf: "Burkina Faso", + bg: "Bulgarien", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "S:t Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Karibiska Nederländerna", + br: "Brasilien", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Vitryssland", + bz: "Belize", + ca: "Kanada", + cc: "Kokosöarna", + cd: "Kongo-Kinshasa", + cf: "Centralafrikanska republiken", + cg: "Kongo-Brazzaville", + ch: "Schweiz", + ci: "Côte d’Ivoire", + ck: "Cooköarna", + cl: "Chile", + cm: "Kamerun", + cn: "Kina", + co: "Colombia", + cr: "Costa Rica", + cu: "Kuba", + cv: "Kap Verde", + cw: "Curaçao", + cx: "Julön", + cy: "Cypern", + cz: "Tjeckien", + de: "Tyskland", + dj: "Djibouti", + dk: "Danmark", + dm: "Dominica", + do: "Dominikanska republiken", + dz: "Algeriet", + ec: "Ecuador", + ee: "Estland", + eg: "Egypten", + eh: "Västsahara", + er: "Eritrea", + es: "Spanien", + et: "Etiopien", + fi: "Finland", + fj: "Fiji", + fk: "Falklandsöarna", + fm: "Mikronesien", + fo: "Färöarna", + fr: "Frankrike", + ga: "Gabon", + gb: "Storbritannien", + gd: "Grenada", + ge: "Georgien", + gf: "Franska Guyana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grönland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Ekvatorialguinea", + gr: "Grekland", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hongkong", + hn: "Honduras", + hr: "Kroatien", + ht: "Haiti", + hu: "Ungern", + id: "Indonesien", + ie: "Irland", + il: "Israel", + im: "Isle of Man", + in: "Indien", + io: "Brittiska territoriet i Indiska oceanen", + iq: "Irak", + ir: "Iran", + is: "Island", + it: "Italien", + je: "Jersey", + jm: "Jamaica", + jo: "Jordanien", + jp: "Japan", + ke: "Kenya", + kg: "Kirgizistan", + kh: "Kambodja", + ki: "Kiribati", + km: "Komorerna", + kn: "S:t Kitts och Nevis", + kp: "Nordkorea", + kr: "Sydkorea", + kw: "Kuwait", + ky: "Caymanöarna", + kz: "Kazakstan", + la: "Laos", + lb: "Libanon", + lc: "S:t Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litauen", + lu: "Luxemburg", + lv: "Lettland", + ly: "Libyen", + ma: "Marocko", + mc: "Monaco", + md: "Moldavien", + me: "Montenegro", + mf: "Saint-Martin", + mg: "Madagaskar", + mh: "Marshallöarna", + mk: "Nordmakedonien", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongoliet", + mo: "Macao", + mp: "Nordmarianerna", + mq: "Martinique", + mr: "Mauretanien", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldiverna", + mw: "Malawi", + mx: "Mexiko", + my: "Malaysia", + mz: "Moçambique", + na: "Namibia", + nc: "Nya Kaledonien", + ne: "Niger", + nf: "Norfolkön", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Nederländerna", + no: "Norge", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nya Zeeland", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Franska Polynesien", + pg: "Papua Nya Guinea", + ph: "Filippinerna", + pk: "Pakistan", + pl: "Polen", + pm: "S:t Pierre och Miquelon", + pr: "Puerto Rico", + ps: "Palestinska territorierna", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Rumänien", + rs: "Serbien", + ru: "Ryssland", + rw: "Rwanda", + sa: "Saudiarabien", + sb: "Salomonöarna", + sc: "Seychellerna", + sd: "Sudan", + se: "Sverige", + sg: "Singapore", + sh: "S:t Helena", + si: "Slovenien", + sj: "Svalbard och Jan Mayen", + sk: "Slovakien", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Surinam", + ss: "Sydsudan", + st: "São Tomé och Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syrien", + sz: "Swaziland", + tc: "Turks- och Caicosöarna", + td: "Tchad", + tg: "Togo", + th: "Thailand", + tj: "Tadzjikistan", + tk: "Tokelau", + tl: "Östtimor", + tm: "Turkmenistan", + tn: "Tunisien", + to: "Tonga", + tr: "Turkiet", + tt: "Trinidad och Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ukraina", + ug: "Uganda", + us: "USA", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Vatikanstaten", + vc: "S:t Vincent och Grenadinerna", + ve: "Venezuela", + vg: "Brittiska Jungfruöarna", + vi: "Amerikanska Jungfruöarna", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis- och Futunaöarna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Sydafrika", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/sv/index.js b/plugins/intl-tel-input/js/i18n/sv/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/sv/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/sv/interface.js b/plugins/intl-tel-input/js/i18n/sv/interface.js new file mode 100644 index 00000000..07fc86c2 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/sv/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + "selectedCountryAriaLabel": "Valt land", + "noCountrySelected": "Inget land valt", + "countryListAriaLabel": "Lista över länder", + "searchPlaceholder": "Sök", + "zeroSearchResults": "Inga resultat hittades", + "oneSearchResult": "1 resultat hittades", + "multipleSearchResults": "${count} resultat hittades", + // additional countries (not supported by country-list library) + "ac": "Ascension", + "xk": "Kosovo" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/te/countries.js b/plugins/intl-tel-input/js/i18n/te/countries.js new file mode 100644 index 00000000..5db8484d --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/te/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "ఆండోరా", + ae: "యునైటెడ్ అరబ్ ఎమిరేట్స్", + af: "ఆఫ్ఘనిస్తాన్", + ag: "ఆంటిగ్వా మరియు బార్బుడా", + ai: "ఆంగ్విల్లా", + al: "అల్బేనియా", + am: "ఆర్మేనియా", + ao: "అంగోలా", + ar: "అర్జెంటీనా", + as: "అమెరికన్ సమోవా", + at: "ఆస్ట్రియా", + au: "ఆస్ట్రేలియా", + aw: "అరుబా", + ax: "ఆలాండ్ దీవులు", + az: "అజర్బైజాన్", + ba: "బోస్నియా మరియు హెర్జిగోవినా", + bb: "బార్బడోస్", + bd: "బంగ్లాదేశ్", + be: "బెల్జియం", + bf: "బుర్కినా ఫాసో", + bg: "బల్గేరియా", + bh: "బహ్రెయిన్", + bi: "బురుండి", + bj: "బెనిన్", + bl: "సెయింట్ బర్థెలిమి", + bm: "బెర్ముడా", + bn: "బ్రూనే", + bo: "బొలీవియా", + bq: "కరీబియన్ నెదర్లాండ్స్", + br: "బ్రెజిల్", + bs: "బహామాస్", + bt: "భూటాన్", + bw: "బోట్స్వానా", + by: "బెలారస్", + bz: "బెలిజ్", + ca: "కెనడా", + cc: "కోకోస్ (కీలింగ్) దీవులు", + cd: "కాంగో- కిన్షాసా", + cf: "సెంట్రల్ ఆఫ్రికన్ రిపబ్లిక్", + cg: "కాంగో- బ్రాజావిల్లి", + ch: "స్విట్జర్లాండ్", + ci: "కోట్ డి ఐవోర్", + ck: "కుక్ దీవులు", + cl: "చిలీ", + cm: "కామెరూన్", + cn: "చైనా", + co: "కొలంబియా", + cr: "కోస్టా రికా", + cu: "క్యూబా", + cv: "కేప్ వెర్డె", + cw: "క్యూరసో", + cx: "క్రిస్మస్ దీవి", + cy: "సైప్రస్", + cz: "చెకియా", + de: "జర్మనీ", + dj: "జిబౌటి", + dk: "డెన్మార్క్", + dm: "డొమినికా", + do: "డొమినికన్ రిపబ్లిక్", + dz: "అల్జీరియా", + ec: "ఈక్వడార్", + ee: "ఎస్టోనియా", + eg: "ఈజిప్ట్", + eh: "పడమటి సహారా", + er: "ఎరిట్రియా", + es: "స్పెయిన్", + et: "ఇథియోపియా", + fi: "ఫిన్లాండ్", + fj: "ఫిజీ", + fk: "ఫాక్‌ల్యాండ్ దీవులు", + fm: "మైక్రోనేషియా", + fo: "ఫారో దీవులు", + fr: "ఫ్రాన్స్‌", + ga: "గేబన్", + gb: "యునైటెడ్ కింగ్‌డమ్", + gd: "గ్రెనడా", + ge: "జార్జియా", + gf: "ఫ్రెంచ్ గియానా", + gg: "గర్న్‌సీ", + gh: "ఘనా", + gi: "జిబ్రాల్టర్", + gl: "గ్రీన్‌ల్యాండ్", + gm: "గాంబియా", + gn: "గినియా", + gp: "గ్వాడెలోప్", + gq: "ఈక్వటోరియల్ గినియా", + gr: "గ్రీస్", + gt: "గ్వాటిమాలా", + gu: "గ్వామ్", + gw: "గినియా-బిస్సావ్", + gy: "గయానా", + hk: "హాంకాంగ్ ఎస్ఏఆర్ చైనా", + hn: "హోండురాస్", + hr: "క్రొయేషియా", + ht: "హైటి", + hu: "హంగేరీ", + id: "ఇండోనేషియా", + ie: "ఐర్లాండ్", + il: "ఇజ్రాయెల్", + im: "ఐల్ ఆఫ్ మాన్", + in: "భారతదేశం", + io: "బ్రిటిష్ హిందూ మహాసముద్ర ప్రాంతం", + iq: "ఇరాక్", + ir: "ఇరాన్", + is: "ఐస్లాండ్", + it: "ఇటలీ", + je: "జెర్సీ", + jm: "జమైకా", + jo: "జోర్డాన్", + jp: "జపాన్", + ke: "కెన్యా", + kg: "కిర్గిజిస్తాన్", + kh: "కంబోడియా", + ki: "కిరిబాటి", + km: "కొమొరోస్", + kn: "సెయింట్ కిట్స్ మరియు నెవిస్", + kp: "ఉత్తర కొరియా", + kr: "దక్షిణ కొరియా", + kw: "కువైట్", + ky: "కేమాన్ దీవులు", + kz: "కజకిస్తాన్", + la: "లావోస్", + lb: "లెబనాన్", + lc: "సెయింట్ లూసియా", + li: "లిక్టెన్‌స్టెయిన్", + lk: "శ్రీలంక", + lr: "లైబీరియా", + ls: "లెసోతో", + lt: "లిథువేనియా", + lu: "లక్సెంబర్గ్", + lv: "లాత్వియా", + ly: "లిబియా", + ma: "మొరాకో", + mc: "మొనాకో", + md: "మోల్డోవా", + me: "మాంటెనెగ్రో", + mf: "సెయింట్ మార్టిన్", + mg: "మడగాస్కర్", + mh: "మార్షల్ దీవులు", + mk: "ఉత్తర మాసిడోనియా", + ml: "మాలి", + mm: "మయన్మార్", + mn: "మంగోలియా", + mo: "మకావ్ ఎస్ఏఆర్ చైనా", + mp: "ఉత్తర మరియానా దీవులు", + mq: "మార్టినీక్", + mr: "మౌరిటేనియా", + ms: "మాంట్సెరాట్", + mt: "మాల్టా", + mu: "మారిషస్", + mv: "మాల్దీవులు", + mw: "మలావీ", + mx: "మెక్సికో", + my: "మలేషియా", + mz: "మొజాంబిక్", + na: "నమీబియా", + nc: "క్రొత్త కాలెడోనియా", + ne: "నైజర్", + nf: "నార్ఫోక్ దీవి", + ng: "నైజీరియా", + ni: "నికరాగువా", + nl: "నెదర్లాండ్స్", + no: "నార్వే", + np: "నేపాల్", + nr: "నౌరు", + nu: "నియూ", + nz: "న్యూజిలాండ్", + om: "ఓమన్", + pa: "పనామా", + pe: "పెరూ", + pf: "ఫ్రెంచ్ పోలినీషియా", + pg: "పాపువా న్యూ గినియా", + ph: "ఫిలిప్పైన్స్", + pk: "పాకిస్తాన్", + pl: "పోలాండ్", + pm: "సెయింట్ పియెర్ మరియు మికెలాన్", + pr: "ప్యూర్టో రికో", + ps: "పాలస్తీనియన్ ప్రాంతాలు", + pt: "పోర్చుగల్", + pw: "పాలావ్", + py: "పరాగ్వే", + qa: "ఖతార్", + re: "రీయూనియన్", + ro: "రోమేనియా", + rs: "సెర్బియా", + ru: "రష్యా", + rw: "రువాండా", + sa: "సౌదీ అరేబియా", + sb: "సోలమన్ దీవులు", + sc: "సీషెల్స్", + sd: "సూడాన్", + se: "స్వీడన్", + sg: "సింగపూర్", + sh: "సెయింట్ హెలెనా", + si: "స్లోవేనియా", + sj: "స్వాల్‌బార్డ్ మరియు జాన్ మాయెన్", + sk: "స్లొవేకియా", + sl: "సియెర్రా లియాన్", + sm: "శాన్ మారినో", + sn: "సెనెగల్", + so: "సోమాలియా", + sr: "సూరినామ్", + ss: "దక్షిణ సూడాన్", + st: "సావో టోమ్ మరియు ప్రిన్సిపి", + sv: "ఎల్ సాల్వడోర్", + sx: "సింట్ మార్టెన్", + sy: "సిరియా", + sz: "ఈస్వాటిని", + tc: "టర్క్స్ మరియు కైకోస్ దీవులు", + td: "చాద్", + tg: "టోగో", + th: "థాయిలాండ్", + tj: "తజికిస్తాన్", + tk: "టోకెలావ్", + tl: "టిమోర్-లెస్టె", + tm: "టర్క్‌మెనిస్తాన్", + tn: "ట్యునీషియా", + to: "టోంగా", + tr: "టర్కీ", + tt: "ట్రినిడాడ్ మరియు టొబాగో", + tv: "టువాలు", + tw: "తైవాన్", + tz: "టాంజానియా", + ua: "ఉక్రెయిన్", + ug: "ఉగాండా", + us: "యునైటెడ్ స్టేట్స్", + uy: "ఉరుగ్వే", + uz: "ఉజ్బెకిస్తాన్", + va: "వాటికన్ నగరం", + vc: "సెయింట్ విన్సెంట్ మరియు గ్రెనడీన్స్", + ve: "వెనిజులా", + vg: "బ్రిటిష్ వర్జిన్ దీవులు", + vi: "యు.ఎస్. వర్జిన్ దీవులు", + vn: "వియత్నాం", + vu: "వనాటు", + wf: "వాల్లిస్ మరియు ఫుటునా", + ws: "సమోవా", + ye: "యెమెన్", + yt: "మాయొట్", + za: "దక్షిణ ఆఫ్రికా", + zm: "జాంబియా", + zw: "జింబాబ్వే" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/te/index.js b/plugins/intl-tel-input/js/i18n/te/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/te/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/te/interface.js b/plugins/intl-tel-input/js/i18n/te/interface.js new file mode 100644 index 00000000..2c5f1d54 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/te/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "ఎంచుకున్న దేశం", + noCountrySelected: "ఏ దేశం ఎంచుకోబడలేదు", + countryListAriaLabel: "దేశాల జాబితా", + searchPlaceholder: "వెతకండి", + zeroSearchResults: "ఎటువంటి ఫలితాలు లభించలేదు", + oneSearchResult: "1 ఫలితం కనుగొనబడింది", + multipleSearchResults: "${count} ఫలితాలు కనుగొనబడ్డాయి", + // additional countries (not supported by country-list library) + ac: "అసెన్షన్ ద్వీపం", + xk: "కొసోవో" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/th/countries.js b/plugins/intl-tel-input/js/i18n/th/countries.js new file mode 100644 index 00000000..1ed03953 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/th/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "อันดอร์รา", + ae: "สหรัฐอาหรับเอมิเรตส์", + af: "อัฟกานิสถาน", + ag: "แอนติกาและบาร์บูดา", + ai: "แองกวิลลา", + al: "แอลเบเนีย", + am: "อาร์เมเนีย", + ao: "แองโกลา", + ar: "อาร์เจนตินา", + as: "อเมริกันซามัว", + at: "ออสเตรีย", + au: "ออสเตรเลีย", + aw: "อารูบา", + ax: "หมู่เกาะโอลันด์", + az: "อาเซอร์ไบจาน", + ba: "บอสเนียและเฮอร์เซโกวีนา", + bb: "บาร์เบโดส", + bd: "บังกลาเทศ", + be: "เบลเยียม", + bf: "บูร์กินาฟาโซ", + bg: "บัลแกเรีย", + bh: "บาห์เรน", + bi: "บุรุนดี", + bj: "เบนิน", + bl: "เซนต์บาร์เธเลมี", + bm: "เบอร์มิวดา", + bn: "บรูไน", + bo: "โบลิเวีย", + bq: "เนเธอร์แลนด์แคริบเบียน", + br: "บราซิล", + bs: "บาฮามาส", + bt: "ภูฏาน", + bw: "บอตสวานา", + by: "เบลารุส", + bz: "เบลีซ", + ca: "แคนาดา", + cc: "หมู่เกาะโคโคส (คีลิง)", + cd: "คองโก - กินชาซา", + cf: "สาธารณรัฐแอฟริกากลาง", + cg: "คองโก - บราซซาวิล", + ch: "สวิตเซอร์แลนด์", + ci: "โกตดิวัวร์", + ck: "หมู่เกาะคุก", + cl: "ชิลี", + cm: "แคเมอรูน", + cn: "จีน", + co: "โคลอมเบีย", + cr: "คอสตาริกา", + cu: "คิวบา", + cv: "เคปเวิร์ด", + cw: "คูราเซา", + cx: "เกาะคริสต์มาส", + cy: "ไซปรัส", + cz: "เช็ก", + de: "เยอรมนี", + dj: "จิบูตี", + dk: "เดนมาร์ก", + dm: "โดมินิกา", + do: "สาธารณรัฐโดมินิกัน", + dz: "แอลจีเรีย", + ec: "เอกวาดอร์", + ee: "เอสโตเนีย", + eg: "อียิปต์", + eh: "ซาฮาราตะวันตก", + er: "เอริเทรีย", + es: "สเปน", + et: "เอธิโอเปีย", + fi: "ฟินแลนด์", + fj: "ฟิจิ", + fk: "หมู่เกาะฟอล์กแลนด์", + fm: "ไมโครนีเซีย", + fo: "หมู่เกาะแฟโร", + fr: "ฝรั่งเศส", + ga: "กาบอง", + gb: "สหราชอาณาจักร", + gd: "เกรเนดา", + ge: "จอร์เจีย", + gf: "เฟรนช์เกียนา", + gg: "เกิร์นซีย์", + gh: "กานา", + gi: "ยิบรอลตาร์", + gl: "กรีนแลนด์", + gm: "แกมเบีย", + gn: "กินี", + gp: "กวาเดอลูป", + gq: "อิเควทอเรียลกินี", + gr: "กรีซ", + gt: "กัวเตมาลา", + gu: "กวม", + gw: "กินี-บิสเซา", + gy: "กายอานา", + hk: "เขตปกครองพิเศษฮ่องกงแห่งสาธารณรัฐประชาชนจีน", + hn: "ฮอนดูรัส", + hr: "โครเอเชีย", + ht: "เฮติ", + hu: "ฮังการี", + id: "อินโดนีเซีย", + ie: "ไอร์แลนด์", + il: "อิสราเอล", + im: "เกาะแมน", + in: "อินเดีย", + io: "บริติชอินเดียนโอเชียนเทร์ริทอรี", + iq: "อิรัก", + ir: "อิหร่าน", + is: "ไอซ์แลนด์", + it: "อิตาลี", + je: "เจอร์ซีย์", + jm: "จาเมกา", + jo: "จอร์แดน", + jp: "ญี่ปุ่น", + ke: "เคนยา", + kg: "คีร์กีซสถาน", + kh: "กัมพูชา", + ki: "คิริบาส", + km: "คอโมโรส", + kn: "เซนต์คิตส์และเนวิส", + kp: "เกาหลีเหนือ", + kr: "เกาหลีใต้", + kw: "คูเวต", + ky: "หมู่เกาะเคย์แมน", + kz: "คาซัคสถาน", + la: "ลาว", + lb: "เลบานอน", + lc: "เซนต์ลูเซีย", + li: "ลิกเตนสไตน์", + lk: "ศรีลังกา", + lr: "ไลบีเรีย", + ls: "เลโซโท", + lt: "ลิทัวเนีย", + lu: "ลักเซมเบิร์ก", + lv: "ลัตเวีย", + ly: "ลิเบีย", + ma: "โมร็อกโก", + mc: "โมนาโก", + md: "มอลโดวา", + me: "มอนเตเนโกร", + mf: "เซนต์มาร์ติน", + mg: "มาดากัสการ์", + mh: "หมู่เกาะมาร์แชลล์", + mk: "มาซิโดเนียเหนือ", + ml: "มาลี", + mm: "เมียนมาร์ (พม่า)", + mn: "มองโกเลีย", + mo: "เขตปกครองพิเศษมาเก๊าแห่งสาธารณรัฐประชาชนจีน", + mp: "หมู่เกาะนอร์เทิร์นมาเรียนา", + mq: "มาร์ตินีก", + mr: "มอริเตเนีย", + ms: "มอนต์เซอร์รัต", + mt: "มอลตา", + mu: "มอริเชียส", + mv: "มัลดีฟส์", + mw: "มาลาวี", + mx: "เม็กซิโก", + my: "มาเลเซีย", + mz: "โมซัมบิก", + na: "นามิเบีย", + nc: "นิวแคลิโดเนีย", + ne: "ไนเจอร์", + nf: "เกาะนอร์ฟอล์ก", + ng: "ไนจีเรีย", + ni: "นิการากัว", + nl: "เนเธอร์แลนด์", + no: "นอร์เวย์", + np: "เนปาล", + nr: "นาอูรู", + nu: "นีอูเอ", + nz: "นิวซีแลนด์", + om: "โอมาน", + pa: "ปานามา", + pe: "เปรู", + pf: "เฟรนช์โปลินีเซีย", + pg: "ปาปัวนิวกินี", + ph: "ฟิลิปปินส์", + pk: "ปากีสถาน", + pl: "โปแลนด์", + pm: "แซงปีแยร์และมีเกอลง", + pr: "เปอร์โตริโก", + ps: "ดินแดนปาเลสไตน์", + pt: "โปรตุเกส", + pw: "ปาเลา", + py: "ปารากวัย", + qa: "กาตาร์", + re: "เรอูนียง", + ro: "โรมาเนีย", + rs: "เซอร์เบีย", + ru: "รัสเซีย", + rw: "รวันดา", + sa: "ซาอุดีอาระเบีย", + sb: "หมู่เกาะโซโลมอน", + sc: "เซเชลส์", + sd: "ซูดาน", + se: "สวีเดน", + sg: "สิงคโปร์", + sh: "เซนต์เฮเลนา", + si: "สโลวีเนีย", + sj: "สฟาลบาร์และยานไมเอน", + sk: "สโลวะเกีย", + sl: "เซียร์ราลีโอน", + sm: "ซานมาริโน", + sn: "เซเนกัล", + so: "โซมาเลีย", + sr: "ซูรินาเม", + ss: "ซูดานใต้", + st: "เซาตูเมและปรินซิปี", + sv: "เอลซัลวาดอร์", + sx: "ซินต์มาร์เทน", + sy: "ซีเรีย", + sz: "เอสวาตีนี", + tc: "หมู่เกาะเติกส์และหมู่เกาะเคคอส", + td: "ชาด", + tg: "โตโก", + th: "ไทย", + tj: "ทาจิกิสถาน", + tk: "โตเกเลา", + tl: "ติมอร์-เลสเต", + tm: "เติร์กเมนิสถาน", + tn: "ตูนิเซีย", + to: "ตองกา", + tr: "ตุรกี", + tt: "ตรินิแดดและโตเบโก", + tv: "ตูวาลู", + tw: "ไต้หวัน", + tz: "แทนซาเนีย", + ua: "ยูเครน", + ug: "ยูกันดา", + us: "สหรัฐอเมริกา", + uy: "อุรุกวัย", + uz: "อุซเบกิสถาน", + va: "นครวาติกัน", + vc: "เซนต์วินเซนต์และเกรนาดีนส์", + ve: "เวเนซุเอลา", + vg: "หมู่เกาะบริติชเวอร์จิน", + vi: "หมู่เกาะเวอร์จินของสหรัฐอเมริกา", + vn: "เวียดนาม", + vu: "วานูอาตู", + wf: "วาลลิสและฟุตูนา", + ws: "ซามัว", + ye: "เยเมน", + yt: "มายอต", + za: "แอฟริกาใต้", + zm: "แซมเบีย", + zw: "ซิมบับเว" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/th/index.js b/plugins/intl-tel-input/js/i18n/th/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/th/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/th/interface.js b/plugins/intl-tel-input/js/i18n/th/interface.js new file mode 100644 index 00000000..cd6eef76 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/th/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "ประเทศที่เลือก", + noCountrySelected: "ไม่ได้เลือกประเทศ", + countryListAriaLabel: "รายชื่อประเทศ", + searchPlaceholder: "ค้นหา", + zeroSearchResults: "ไม่พบผลลัพธ์", + oneSearchResult: "พบผลลัพธ์ 1 รายการ", + multipleSearchResults: "พบผลลัพธ์ ${count} รายการ", + // additional countries (not supported by country-list library) + ac: "เกาะแอสเซนชัน", + xk: "โคโซโว" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/tr/countries.js b/plugins/intl-tel-input/js/i18n/tr/countries.js new file mode 100644 index 00000000..0b843d54 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/tr/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Birleşik Arap Emirlikleri", + af: "Afganistan", + ag: "Antigua ve Barbuda", + ai: "Anguilla", + al: "Arnavutluk", + am: "Ermenistan", + ao: "Angola", + ar: "Arjantin", + as: "Amerikan Samoası", + at: "Avusturya", + au: "Avustralya", + aw: "Aruba", + ax: "Åland Adaları", + az: "Azerbaycan", + ba: "Bosna-Hersek", + bb: "Barbados", + bd: "Bangladeş", + be: "Belçika", + bf: "Burkina Faso", + bg: "Bulgaristan", + bh: "Bahreyn", + bi: "Burundi", + bj: "Benin", + bl: "Saint Barthelemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivya", + bq: "Karayip Hollandası", + br: "Brezilya", + bs: "Bahamalar", + bt: "Butan", + bw: "Botsvana", + by: "Belarus", + bz: "Belize", + ca: "Kanada", + cc: "Cocos (Keeling) Adaları", + cd: "Kongo - Kinşasa", + cf: "Orta Afrika Cumhuriyeti", + cg: "Kongo - Brazavil", + ch: "İsviçre", + ci: "Côte d’Ivoire", + ck: "Cook Adaları", + cl: "Şili", + cm: "Kamerun", + cn: "Çin", + co: "Kolombiya", + cr: "Kosta Rika", + cu: "Küba", + cv: "Cape Verde", + cw: "Curaçao", + cx: "Christmas Adası", + cy: "Kıbrıs", + cz: "Çekya", + de: "Almanya", + dj: "Cibuti", + dk: "Danimarka", + dm: "Dominika", + do: "Dominik Cumhuriyeti", + dz: "Cezayir", + ec: "Ekvador", + ee: "Estonya", + eg: "Mısır", + eh: "Batı Sahra", + er: "Eritre", + es: "İspanya", + et: "Etiyopya", + fi: "Finlandiya", + fj: "Fiji", + fk: "Falkland Adaları", + fm: "Mikronezya", + fo: "Faroe Adaları", + fr: "Fransa", + ga: "Gabon", + gb: "Birleşik Krallık", + gd: "Grenada", + ge: "Gürcistan", + gf: "Fransız Guyanası", + gg: "Guernsey", + gh: "Gana", + gi: "Cebelitarık", + gl: "Grönland", + gm: "Gambiya", + gn: "Gine", + gp: "Guadeloupe", + gq: "Ekvator Ginesi", + gr: "Yunanistan", + gt: "Guatemala", + gu: "Guam", + gw: "Gine-Bissau", + gy: "Guyana", + hk: "Çin Hong Kong ÖİB", + hn: "Honduras", + hr: "Hırvatistan", + ht: "Haiti", + hu: "Macaristan", + id: "Endonezya", + ie: "İrlanda", + il: "İsrail", + im: "Man Adası", + in: "Hindistan", + io: "Britanya Hint Okyanusu Toprakları", + iq: "Irak", + ir: "İran", + is: "İzlanda", + it: "İtalya", + je: "Jersey", + jm: "Jamaika", + jo: "Ürdün", + jp: "Japonya", + ke: "Kenya", + kg: "Kırgızistan", + kh: "Kamboçya", + ki: "Kiribati", + km: "Komorlar", + kn: "Saint Kitts ve Nevis", + kp: "Kuzey Kore", + kr: "Güney Kore", + kw: "Kuveyt", + ky: "Cayman Adaları", + kz: "Kazakistan", + la: "Laos", + lb: "Lübnan", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberya", + ls: "Lesotho", + lt: "Litvanya", + lu: "Lüksemburg", + lv: "Letonya", + ly: "Libya", + ma: "Fas", + mc: "Monako", + md: "Moldova", + me: "Karadağ", + mf: "Saint Martin", + mg: "Madagaskar", + mh: "Marshall Adaları", + mk: "Kuzey Makedonya", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Moğolistan", + mo: "Çin Makao ÖİB", + mp: "Kuzey Mariana Adaları", + mq: "Martinik", + mr: "Moritanya", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldivler", + mw: "Malavi", + mx: "Meksika", + my: "Malezya", + mz: "Mozambik", + na: "Namibya", + nc: "Yeni Kaledonya", + ne: "Nijer", + nf: "Norfolk Adası", + ng: "Nijerya", + ni: "Nikaragua", + nl: "Hollanda", + no: "Norveç", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Yeni Zelanda", + om: "Umman", + pa: "Panama", + pe: "Peru", + pf: "Fransız Polinezyası", + pg: "Papua Yeni Gine", + ph: "Filipinler", + pk: "Pakistan", + pl: "Polonya", + pm: "Saint Pierre ve Miquelon", + pr: "Porto Riko", + ps: "Filistin Bölgeleri", + pt: "Portekiz", + pw: "Palau", + py: "Paraguay", + qa: "Katar", + re: "Reunion", + ro: "Romanya", + rs: "Sırbistan", + ru: "Rusya", + rw: "Ruanda", + sa: "Suudi Arabistan", + sb: "Solomon Adaları", + sc: "Seyşeller", + sd: "Sudan", + se: "İsveç", + sg: "Singapur", + sh: "Saint Helena", + si: "Slovenya", + sj: "Svalbard ve Jan Mayen", + sk: "Slovakya", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somali", + sr: "Surinam", + ss: "Güney Sudan", + st: "Sao Tome ve Principe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Suriye", + sz: "Esvatini", + tc: "Turks ve Caicos Adaları", + td: "Çad", + tg: "Togo", + th: "Tayland", + tj: "Tacikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Türkmenistan", + tn: "Tunus", + to: "Tonga", + tr: "Türkiye", + tt: "Trinidad ve Tobago", + tv: "Tuvalu", + tw: "Tayvan", + tz: "Tanzanya", + ua: "Ukrayna", + ug: "Uganda", + us: "Amerika Birleşik Devletleri", + uy: "Uruguay", + uz: "Özbekistan", + va: "Vatikan", + vc: "Saint Vincent ve Grenadinler", + ve: "Venezuela", + vg: "Britanya Virjin Adaları", + vi: "ABD Virjin Adaları", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis ve Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Güney Afrika", + zm: "Zambiya", + zw: "Zimbabve" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/tr/index.js b/plugins/intl-tel-input/js/i18n/tr/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/tr/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/tr/interface.js b/plugins/intl-tel-input/js/i18n/tr/interface.js new file mode 100644 index 00000000..900475d9 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/tr/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Seçilen ülke", + noCountrySelected: "Hiçbir ülke seçilmedi", + countryListAriaLabel: "Ülke listesi", + searchPlaceholder: "Ara", + zeroSearchResults: "Sonuç bulunamadı", + oneSearchResult: "1 sonuç bulundu", + multipleSearchResults: "${count} sonuç bulundu", + // additional countries (not supported by country-list library) + ac: "Ascension Adası", + xk: "Kosova" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/uk/countries.js b/plugins/intl-tel-input/js/i18n/uk/countries.js new file mode 100644 index 00000000..f76c6b97 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/uk/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Андорра", + ae: "Обʼєднані Арабські Емірати", + af: "Афганістан", + ag: "Антиґуа і Барбуда", + ai: "Анґілья", + al: "Албанія", + am: "Вірменія", + ao: "Ангола", + ar: "Аргентина", + as: "Американське Самоа", + at: "Австрія", + au: "Австралія", + aw: "Аруба", + ax: "Аландські Острови", + az: "Азербайджан", + ba: "Боснія і Герцеґовина", + bb: "Барбадос", + bd: "Бангладеш", + be: "Бельґія", + bf: "Буркіна-Фасо", + bg: "Болгарія", + bh: "Бахрейн", + bi: "Бурунді", + bj: "Бенін", + bl: "Сен-Бартельмі", + bm: "Бермудські Острови", + bn: "Бруней", + bo: "Болівія", + bq: "Нідерландські Карибські острови", + br: "Бразілія", + bs: "Багамські Острови", + bt: "Бутан", + bw: "Ботсвана", + by: "Білорусь", + bz: "Беліз", + ca: "Канада", + cc: "Кокосові (Кілінґ) Острови", + cd: "Конго – Кіншаса", + cf: "Центральноафриканська Республіка", + cg: "Конго – Браззавіль", + ch: "Швейцарія", + ci: "Кот-дʼІвуар", + ck: "Острови Кука", + cl: "Чілі", + cm: "Камерун", + cn: "Китай", + co: "Колумбія", + cr: "Коста-Ріка", + cu: "Куба", + cv: "Кабо-Верде", + cw: "Кюрасао", + cx: "Острів Різдва", + cy: "Кіпр", + cz: "Чехія", + de: "Німеччина", + dj: "Джибуті", + dk: "Данія", + dm: "Домініка", + do: "Домініканська Республіка", + dz: "Алжир", + ec: "Еквадор", + ee: "Естонія", + eg: "Єгипет", + eh: "Західна Сахара", + er: "Еритрея", + es: "Іспанія", + et: "Ефіопія", + fi: "Фінляндія", + fj: "Фіджі", + fk: "Фолклендські Острови", + fm: "Мікронезія", + fo: "Фарерські Острови", + fr: "Франція", + ga: "Габон", + gb: "Велика Британія", + gd: "Ґренада", + ge: "Грузія", + gf: "Французька Ґвіана", + gg: "Ґернсі", + gh: "Гана", + gi: "Ґібралтар", + gl: "Ґренландія", + gm: "Гамбія", + gn: "Гвінея", + gp: "Ґваделупа", + gq: "Екваторіальна Гвінея", + gr: "Греція", + gt: "Ґватемала", + gu: "Ґуам", + gw: "Гвінея-Бісау", + gy: "Ґайана", + hk: "Гонконг, О.А.Р. Китаю", + hn: "Гондурас", + hr: "Хорватія", + ht: "Гаїті", + hu: "Угорщина", + id: "Індонезія", + ie: "Ірландія", + il: "Ізраїль", + im: "Острів Мен", + in: "Індія", + io: "Британська територія в Індійському Океані", + iq: "Ірак", + ir: "Іран", + is: "Ісландія", + it: "Італія", + je: "Джерсі", + jm: "Ямайка", + jo: "Йорданія", + jp: "Японія", + ke: "Кенія", + kg: "Киргизстан", + kh: "Камбоджа", + ki: "Кірібаті", + km: "Комори", + kn: "Сент-Кітс і Невіс", + kp: "Північна Корея", + kr: "Південна Корея", + kw: "Кувейт", + ky: "Кайманові Острови", + kz: "Казахстан", + la: "Лаос", + lb: "Ліван", + lc: "Сент-Люсія", + li: "Ліхтенштейн", + lk: "Шрі-Ланка", + lr: "Ліберія", + ls: "Лесото", + lt: "Литва", + lu: "Люксембурґ", + lv: "Латвія", + ly: "Лівія", + ma: "Марокко", + mc: "Монако", + md: "Молдова", + me: "Чорногорія", + mf: "Сен-Мартен", + mg: "Мадагаскар", + mh: "Маршаллові Острови", + mk: "Північна Македонія", + ml: "Малі", + mm: "Мʼянма (Бірма)", + mn: "Монголія", + mo: "Макао, О.А.Р Китаю", + mp: "Північні Маріанські Острови", + mq: "Мартініка", + mr: "Мавританія", + ms: "Монтсеррат", + mt: "Мальта", + mu: "Маврікій", + mv: "Мальдіви", + mw: "Малаві", + mx: "Мексика", + my: "Малайзія", + mz: "Мозамбік", + na: "Намібія", + nc: "Нова Каледонія", + ne: "Нігер", + nf: "Острів Норфолк", + ng: "Нігерія", + ni: "Нікараґуа", + nl: "Нідерланди", + no: "Норвеґія", + np: "Непал", + nr: "Науру", + nu: "Ніуе", + nz: "Нова Зеландія", + om: "Оман", + pa: "Панама", + pe: "Перу", + pf: "Французька Полінезія", + pg: "Папуа-Нова Ґвінея", + ph: "Філіппіни", + pk: "Пакистан", + pl: "Польща", + pm: "Сен-Пʼєр і Мікелон", + pr: "Пуерто-Ріко", + ps: "Палестинські території", + pt: "Портуґалія", + pw: "Палау", + py: "Параґвай", + qa: "Катар", + re: "Реюньйон", + ro: "Румунія", + rs: "Сербія", + ru: "Росія", + rw: "Руанда", + sa: "Саудівська Аравія", + sb: "Соломонові Острови", + sc: "Сейшельські Острови", + sd: "Судан", + se: "Швеція", + sg: "Сінгапур", + sh: "Острів Святої Єлени", + si: "Словенія", + sj: "Шпіцберген та Ян-Маєн", + sk: "Словаччина", + sl: "Сьєрра-Леоне", + sm: "Сан-Маріно", + sn: "Сенегал", + so: "Сомалі", + sr: "Сурінам", + ss: "Південний Судан", + st: "Сан-Томе і Прінсіпі", + sv: "Сальвадор", + sx: "Сінт-Мартен", + sy: "Сирія", + sz: "Есватіні", + tc: "Острови Теркс і Кайкос", + td: "Чад", + tg: "Того", + th: "Таїланд", + tj: "Таджикистан", + tk: "Токелау", + tl: "Тімор-Лешті", + tm: "Туркменістан", + tn: "Туніс", + to: "Тонґа", + tr: "Туреччина", + tt: "Трінідад і Тобаґо", + tv: "Тувалу", + tw: "Тайвань", + tz: "Танзанія", + ua: "Україна", + ug: "Уганда", + us: "Сполучені Штати", + uy: "Уруґвай", + uz: "Узбекистан", + va: "Ватикан", + vc: "Сент-Вінсент і Ґренадіни", + ve: "Венесуела", + vg: "Британські Віргінські острови", + vi: "Віргінські острови, США", + vn: "Вʼєтнам", + vu: "Вануату", + wf: "Уолліс і Футуна", + ws: "Самоа", + ye: "Ємен", + yt: "Майотта", + za: "Південно-Африканська Республіка", + zm: "Замбія", + zw: "Зімбабве" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/uk/index.js b/plugins/intl-tel-input/js/i18n/uk/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/uk/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/uk/interface.js b/plugins/intl-tel-input/js/i18n/uk/interface.js new file mode 100644 index 00000000..07da2deb --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/uk/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Обрана країна", + noCountrySelected: "Країну не обрано", + countryListAriaLabel: "Список країн", + searchPlaceholder: "Шукати", + zeroSearchResults: "Результатів не знайдено", + oneSearchResult: "Знайдено 1 результат", + multipleSearchResults: "Знайдено ${count} результатів", + // additional countries (not supported by country-list library) + ac: "Острів Вознесіння", + xk: "Косово" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ur/countries.js b/plugins/intl-tel-input/js/i18n/ur/countries.js new file mode 100644 index 00000000..234f07bb --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ur/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "انڈورا", + ae: "متحدہ عرب امارات", + af: "افغانستان", + ag: "انٹیگوا اور باربودا", + ai: "انگوئیلا", + al: "البانیہ", + am: "آرمینیا", + ao: "انگولا", + ar: "ارجنٹینا", + as: "امریکی ساموآ", + at: "آسٹریا", + au: "آسٹریلیا", + aw: "اروبا", + ax: "آلینڈ آئلینڈز", + az: "آذربائیجان", + ba: "بوسنیا اور ہرزیگووینا", + bb: "بارباڈوس", + bd: "بنگلہ دیش", + be: "بیلجیم", + bf: "برکینا فاسو", + bg: "بلغاریہ", + bh: "بحرین", + bi: "برونڈی", + bj: "بینن", + bl: "سینٹ برتھلیمی", + bm: "برمودا", + bn: "برونائی", + bo: "بولیویا", + bq: "کریبیائی نیدرلینڈز", + br: "برازیل", + bs: "بہاماس", + bt: "بھوٹان", + bw: "بوتسوانا", + by: "بیلاروس", + bz: "بیلائز", + ca: "کینیڈا", + cc: "کوکوس (کیلنگ) جزائر", + cd: "کانگو - کنشاسا", + cf: "وسط افریقی جمہوریہ", + cg: "کانگو - برازاویلے", + ch: "سوئٹزر لینڈ", + ci: "کوٹ ڈی آئیوری", + ck: "کک آئلینڈز", + cl: "چلی", + cm: "کیمرون", + cn: "چین", + co: "کولمبیا", + cr: "کوسٹا ریکا", + cu: "کیوبا", + cv: "کیپ ورڈی", + cw: "کیوراکاؤ", + cx: "جزیرہ کرسمس", + cy: "قبرص", + cz: "چیکیا", + de: "جرمنی", + dj: "جبوتی", + dk: "ڈنمارک", + dm: "ڈومنیکا", + do: "جمہوریہ ڈومينيکن", + dz: "الجیریا", + ec: "ایکواڈور", + ee: "اسٹونیا", + eg: "مصر", + eh: "مغربی صحارا", + er: "اریٹیریا", + es: "ہسپانیہ", + et: "ایتھوپیا", + fi: "فن لینڈ", + fj: "فجی", + fk: "فاکلینڈ جزائر", + fm: "مائکرونیشیا", + fo: "جزائر فارو", + fr: "فرانس", + ga: "گیبون", + gb: "سلطنت متحدہ", + gd: "گریناڈا", + ge: "جارجیا", + gf: "فرینچ گیانا", + gg: "گوئرنسی", + gh: "گھانا", + gi: "جبل الطارق", + gl: "گرین لینڈ", + gm: "گیمبیا", + gn: "گنی", + gp: "گواڈیلوپ", + gq: "استوائی گیانا", + gr: "یونان", + gt: "گواٹے مالا", + gu: "گوام", + gw: "گنی بساؤ", + gy: "گیانا", + hk: "ہانگ کانگ SAR چین", + hn: "ہونڈاروس", + hr: "کروشیا", + ht: "ہیٹی", + hu: "ہنگری", + id: "انڈونیشیا", + ie: "آئرلینڈ", + il: "اسرائیل", + im: "آئل آف مین", + in: "بھارت", + io: "برطانوی بحر ہند کا علاقہ", + iq: "عراق", + ir: "ایران", + is: "آئس لینڈ", + it: "اٹلی", + je: "جرسی", + jm: "جمائیکا", + jo: "اردن", + jp: "جاپان", + ke: "کینیا", + kg: "کرغزستان", + kh: "کمبوڈیا", + ki: "کریباتی", + km: "کوموروس", + kn: "سینٹ کٹس اور نیویس", + kp: "شمالی کوریا", + kr: "جنوبی کوریا", + kw: "کویت", + ky: "کیمین آئلینڈز", + kz: "قزاخستان", + la: "لاؤس", + lb: "لبنان", + lc: "سینٹ لوسیا", + li: "لیشٹنسٹائن", + lk: "سری لنکا", + lr: "لائبیریا", + ls: "لیسوتھو", + lt: "لیتھونیا", + lu: "لکسمبرگ", + lv: "لٹویا", + ly: "لیبیا", + ma: "مراکش", + mc: "موناکو", + md: "مالدووا", + me: "مونٹے نیگرو", + mf: "سینٹ مارٹن", + mg: "مڈغاسکر", + mh: "مارشل آئلینڈز", + mk: "شمالی مقدونیہ", + ml: "مالی", + mm: "میانمار (برما)", + mn: "منگولیا", + mo: "مکاؤ SAR چین", + mp: "شمالی ماریانا آئلینڈز", + mq: "مارٹینک", + mr: "موریطانیہ", + ms: "مونٹسیراٹ", + mt: "مالٹا", + mu: "ماریشس", + mv: "مالدیپ", + mw: "ملاوی", + mx: "میکسیکو", + my: "ملائشیا", + mz: "موزمبیق", + na: "نامیبیا", + nc: "نیو کلیڈونیا", + ne: "نائجر", + nf: "نارفوک آئلینڈ", + ng: "نائجیریا", + ni: "نکاراگووا", + nl: "نیدر لینڈز", + no: "ناروے", + np: "نیپال", + nr: "نؤرو", + nu: "نیئو", + nz: "نیوزی لینڈ", + om: "عمان", + pa: "پانامہ", + pe: "پیرو", + pf: "فرانسیسی پولینیشیا", + pg: "پاپوآ نیو گنی", + ph: "فلپائن", + pk: "پاکستان", + pl: "پولینڈ", + pm: "سینٹ پیئر اور میکلیئون", + pr: "پیورٹو ریکو", + ps: "فلسطینی خطے", + pt: "پرتگال", + pw: "پلاؤ", + py: "پیراگوئے", + qa: "قطر", + re: "ری یونین", + ro: "رومانیہ", + rs: "سربیا", + ru: "روس", + rw: "روانڈا", + sa: "سعودی عرب", + sb: "سولومن آئلینڈز", + sc: "سشلیز", + sd: "سوڈان", + se: "سویڈن", + sg: "سنگاپور", + sh: "سینٹ ہیلینا", + si: "سلووینیا", + sj: "سوالبرڈ اور جان ماین", + sk: "سلوواکیہ", + sl: "سیرالیون", + sm: "سان مارینو", + sn: "سینیگل", + so: "صومالیہ", + sr: "سورینام", + ss: "جنوبی سوڈان", + st: "ساؤ ٹومے اور پرنسپے", + sv: "ال سلواڈور", + sx: "سنٹ مارٹن", + sy: "شام", + sz: "سواتنی", + tc: "ٹرکس اور کیکوس جزائر", + td: "چاڈ", + tg: "ٹوگو", + th: "تھائی لینڈ", + tj: "تاجکستان", + tk: "ٹوکیلاؤ", + tl: "تیمور لیسٹ", + tm: "ترکمانستان", + tn: "تونس", + to: "ٹونگا", + tr: "ترکی", + tt: "ترینیداد اور ٹوباگو", + tv: "ٹووالو", + tw: "تائیوان", + tz: "تنزانیہ", + ua: "یوکرین", + ug: "یوگنڈا", + us: "ریاست ہائے متحدہ امریکہ", + uy: "یوروگوئے", + uz: "ازبکستان", + va: "ویٹیکن سٹی", + vc: "سینٹ ونسنٹ اور گرینیڈائنز", + ve: "وینزوئیلا", + vg: "برٹش ورجن آئلینڈز", + vi: "امریکی ورجن آئلینڈز", + vn: "ویتنام", + vu: "وینوآٹو", + wf: "ویلیز اور فیوٹیونا", + ws: "ساموآ", + ye: "یمن", + yt: "مایوٹ", + za: "جنوبی افریقہ", + zm: "زامبیا", + zw: "زمبابوے" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ur/index.js b/plugins/intl-tel-input/js/i18n/ur/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ur/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/ur/interface.js b/plugins/intl-tel-input/js/i18n/ur/interface.js new file mode 100644 index 00000000..4433deff --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/ur/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "منتخب ملک", + noCountrySelected: "کوئی ملک منتخب نہیں کیا گیا۔", + countryListAriaLabel: "ممالک کی فہرست", + searchPlaceholder: "تلاش کریں۔", + zeroSearchResults: "کوئی نتیجہ نہیں", + oneSearchResult: "1 نتیجہ ملا", + multipleSearchResults: "${count} نتائج ملے", + // additional countries (not supported by country-list library) + ac: "ایسنشن جزیرہ", + xk: "کوسوو" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/vi/countries.js b/plugins/intl-tel-input/js/i18n/vi/countries.js new file mode 100644 index 00000000..597c356c --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/vi/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Các Tiểu Vương quốc Ả Rập Thống nhất", + af: "Afghanistan", + ag: "Antigua và Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "Samoa thuộc Mỹ", + at: "Áo", + au: "Australia", + aw: "Aruba", + ax: "Quần đảo Åland", + az: "Azerbaijan", + ba: "Bosnia và Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Bỉ", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "St. Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Ca-ri-bê Hà Lan", + br: "Brazil", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Canada", + cc: "Quần đảo Cocos (Keeling)", + cd: "Congo - Kinshasa", + cf: "Cộng hòa Trung Phi", + cg: "Congo - Brazzaville", + ch: "Thụy Sĩ", + ci: "Côte d’Ivoire", + ck: "Quần đảo Cook", + cl: "Chile", + cm: "Cameroon", + cn: "Trung Quốc", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cape Verde", + cw: "Curaçao", + cx: "Đảo Giáng Sinh", + cy: "Síp", + cz: "Séc", + de: "Đức", + dj: "Djibouti", + dk: "Đan Mạch", + dm: "Dominica", + do: "Cộng hòa Dominica", + dz: "Algeria", + ec: "Ecuador", + ee: "Estonia", + eg: "Ai Cập", + eh: "Tây Sahara", + er: "Eritrea", + es: "Tây Ban Nha", + et: "Ethiopia", + fi: "Phần Lan", + fj: "Fiji", + fk: "Quần đảo Falkland", + fm: "Micronesia", + fo: "Quần đảo Faroe", + fr: "Pháp", + ga: "Gabon", + gb: "Vương quốc Anh", + gd: "Grenada", + ge: "Georgia", + gf: "Guiana thuộc Pháp", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Greenland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Guinea Xích Đạo", + gr: "Hy Lạp", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hồng Kông, Trung Quốc", + hn: "Honduras", + hr: "Croatia", + ht: "Haiti", + hu: "Hungary", + id: "Indonesia", + ie: "Ireland", + il: "Israel", + im: "Đảo Man", + in: "Ấn Độ", + io: "Lãnh thổ Ấn Độ Dương thuộc Anh", + iq: "Iraq", + ir: "Iran", + is: "Iceland", + it: "Italy", + je: "Jersey", + jm: "Jamaica", + jo: "Jordan", + jp: "Nhật Bản", + ke: "Kenya", + kg: "Kyrgyzstan", + kh: "Campuchia", + ki: "Kiribati", + km: "Comoros", + kn: "St. Kitts và Nevis", + kp: "Triều Tiên", + kr: "Hàn Quốc", + kw: "Kuwait", + ky: "Quần đảo Cayman", + kz: "Kazakhstan", + la: "Lào", + lb: "Li-băng", + lc: "St. Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litva", + lu: "Luxembourg", + lv: "Latvia", + ly: "Libya", + ma: "Ma-rốc", + mc: "Monaco", + md: "Moldova", + me: "Montenegro", + mf: "St. Martin", + mg: "Madagascar", + mh: "Quần đảo Marshall", + mk: "Bắc Macedonia", + ml: "Mali", + mm: "Myanmar (Miến Điện)", + mn: "Mông Cổ", + mo: "Macao, Trung Quốc", + mp: "Quần đảo Bắc Mariana", + mq: "Martinique", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldives", + mw: "Malawi", + mx: "Mexico", + my: "Malaysia", + mz: "Mozambique", + na: "Namibia", + nc: "New Caledonia", + ne: "Niger", + nf: "Đảo Norfolk", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Hà Lan", + no: "Na Uy", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "New Zealand", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Polynesia thuộc Pháp", + pg: "Papua New Guinea", + ph: "Philippines", + pk: "Pakistan", + pl: "Ba Lan", + pm: "Saint Pierre và Miquelon", + pr: "Puerto Rico", + ps: "Lãnh thổ Palestine", + pt: "Bồ Đào Nha", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Romania", + rs: "Serbia", + ru: "Nga", + rw: "Rwanda", + sa: "Ả Rập Xê-út", + sb: "Quần đảo Solomon", + sc: "Seychelles", + sd: "Sudan", + se: "Thụy Điển", + sg: "Singapore", + sh: "St. Helena", + si: "Slovenia", + sj: "Svalbard và Jan Mayen", + sk: "Slovakia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "Nam Sudan", + st: "São Tomé và Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syria", + sz: "Swaziland", + tc: "Quần đảo Turks và Caicos", + td: "Chad", + tg: "Togo", + th: "Thái Lan", + tj: "Tajikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Thổ Nhĩ Kỳ", + tt: "Trinidad và Tobago", + tv: "Tuvalu", + tw: "Đài Loan", + tz: "Tanzania", + ua: "Ukraina", + ug: "Uganda", + us: "Hoa Kỳ", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Thành Vatican", + vc: "St. Vincent và Grenadines", + ve: "Venezuela", + vg: "Quần đảo Virgin thuộc Anh", + vi: "Quần đảo Virgin thuộc Mỹ", + vn: "Việt Nam", + vu: "Vanuatu", + wf: "Wallis và Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Nam Phi", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/vi/index.js b/plugins/intl-tel-input/js/i18n/vi/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/vi/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/vi/interface.js b/plugins/intl-tel-input/js/i18n/vi/interface.js new file mode 100644 index 00000000..07b8461e --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/vi/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Quốc gia đã chọn", + noCountrySelected: "Không có quốc gia nào được chọn", + countryListAriaLabel: "Danh sách các quốc gia", + searchPlaceholder: "Khám xét", + zeroSearchResults: "Không tìm thấy kết quả nào", + oneSearchResult: "Đã tìm thấy 1 kết quả", + multipleSearchResults: "Đã tìm thấy ${count} kết quả", + // additional countries (not supported by country-list library) + ac: "Đảo Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/i18n/zh/countries.js b/plugins/intl-tel-input/js/i18n/zh/countries.js new file mode 100644 index 00000000..5b81d4df --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/zh/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "安道尔", + ae: "阿拉伯联合酋长国", + af: "阿富汗", + ag: "安提瓜和巴布达", + ai: "安圭拉", + al: "阿尔巴尼亚", + am: "亚美尼亚", + ao: "安哥拉", + ar: "阿根廷", + as: "美属萨摩亚", + at: "奥地利", + au: "澳大利亚", + aw: "阿鲁巴", + ax: "奥兰群岛", + az: "阿塞拜疆", + ba: "波斯尼亚和黑塞哥维那", + bb: "巴巴多斯", + bd: "孟加拉国", + be: "比利时", + bf: "布基纳法索", + bg: "保加利亚", + bh: "巴林", + bi: "布隆迪", + bj: "贝宁", + bl: "圣巴泰勒米", + bm: "百慕大", + bn: "文莱", + bo: "玻利维亚", + bq: "荷属加勒比区", + br: "巴西", + bs: "巴哈马", + bt: "不丹", + bw: "博茨瓦纳", + by: "白俄罗斯", + bz: "伯利兹", + ca: "加拿大", + cc: "科科斯(基林)群岛", + cd: "刚果(金)", + cf: "中非共和国", + cg: "刚果(布)", + ch: "瑞士", + ci: "科特迪瓦", + ck: "库克群岛", + cl: "智利", + cm: "喀麦隆", + cn: "中国", + co: "哥伦比亚", + cr: "哥斯达黎加", + cu: "古巴", + cv: "佛得角", + cw: "库拉索", + cx: "圣诞岛", + cy: "塞浦路斯", + cz: "捷克", + de: "德国", + dj: "吉布提", + dk: "丹麦", + dm: "多米尼克", + do: "多米尼加共和国", + dz: "阿尔及利亚", + ec: "厄瓜多尔", + ee: "爱沙尼亚", + eg: "埃及", + eh: "西撒哈拉", + er: "厄立特里亚", + es: "西班牙", + et: "埃塞俄比亚", + fi: "芬兰", + fj: "斐济", + fk: "福克兰群岛", + fm: "密克罗尼西亚", + fo: "法罗群岛", + fr: "法国", + ga: "加蓬", + gb: "英国", + gd: "格林纳达", + ge: "格鲁吉亚", + gf: "法属圭亚那", + gg: "根西岛", + gh: "加纳", + gi: "直布罗陀", + gl: "格陵兰", + gm: "冈比亚", + gn: "几内亚", + gp: "瓜德罗普", + gq: "赤道几内亚", + gr: "希腊", + gt: "危地马拉", + gu: "关岛", + gw: "几内亚比绍", + gy: "圭亚那", + hk: "中国香港特别行政区", + hn: "洪都拉斯", + hr: "克罗地亚", + ht: "海地", + hu: "匈牙利", + id: "印度尼西亚", + ie: "爱尔兰", + il: "以色列", + im: "马恩岛", + in: "印度", + io: "英属印度洋领地", + iq: "伊拉克", + ir: "伊朗", + is: "冰岛", + it: "意大利", + je: "泽西岛", + jm: "牙买加", + jo: "约旦", + jp: "日本", + ke: "肯尼亚", + kg: "吉尔吉斯斯坦", + kh: "柬埔寨", + ki: "基里巴斯", + km: "科摩罗", + kn: "圣基茨和尼维斯", + kp: "朝鲜", + kr: "韩国", + kw: "科威特", + ky: "开曼群岛", + kz: "哈萨克斯坦", + la: "老挝", + lb: "黎巴嫩", + lc: "圣卢西亚", + li: "列支敦士登", + lk: "斯里兰卡", + lr: "利比里亚", + ls: "莱索托", + lt: "立陶宛", + lu: "卢森堡", + lv: "拉脱维亚", + ly: "利比亚", + ma: "摩洛哥", + mc: "摩纳哥", + md: "摩尔多瓦", + me: "黑山", + mf: "法属圣马丁", + mg: "马达加斯加", + mh: "马绍尔群岛", + mk: "北马其顿", + ml: "马里", + mm: "缅甸", + mn: "蒙古", + mo: "中国澳门特别行政区", + mp: "北马里亚纳群岛", + mq: "马提尼克", + mr: "毛里塔尼亚", + ms: "蒙特塞拉特", + mt: "马耳他", + mu: "毛里求斯", + mv: "马尔代夫", + mw: "马拉维", + mx: "墨西哥", + my: "马来西亚", + mz: "莫桑比克", + na: "纳米比亚", + nc: "新喀里多尼亚", + ne: "尼日尔", + nf: "诺福克岛", + ng: "尼日利亚", + ni: "尼加拉瓜", + nl: "荷兰", + no: "挪威", + np: "尼泊尔", + nr: "瑙鲁", + nu: "纽埃", + nz: "新西兰", + om: "阿曼", + pa: "巴拿马", + pe: "秘鲁", + pf: "法属波利尼西亚", + pg: "巴布亚新几内亚", + ph: "菲律宾", + pk: "巴基斯坦", + pl: "波兰", + pm: "圣皮埃尔和密克隆群岛", + pr: "波多黎各", + ps: "巴勒斯坦领土", + pt: "葡萄牙", + pw: "帕劳", + py: "巴拉圭", + qa: "卡塔尔", + re: "留尼汪", + ro: "罗马尼亚", + rs: "塞尔维亚", + ru: "俄罗斯", + rw: "卢旺达", + sa: "沙特阿拉伯", + sb: "所罗门群岛", + sc: "塞舌尔", + sd: "苏丹", + se: "瑞典", + sg: "新加坡", + sh: "圣赫勒拿", + si: "斯洛文尼亚", + sj: "斯瓦尔巴和扬马延", + sk: "斯洛伐克", + sl: "塞拉利昂", + sm: "圣马力诺", + sn: "塞内加尔", + so: "索马里", + sr: "苏里南", + ss: "南苏丹", + st: "圣多美和普林西比", + sv: "萨尔瓦多", + sx: "荷属圣马丁", + sy: "叙利亚", + sz: "斯威士兰", + tc: "特克斯和凯科斯群岛", + td: "乍得", + tg: "多哥", + th: "泰国", + tj: "塔吉克斯坦", + tk: "托克劳", + tl: "东帝汶", + tm: "土库曼斯坦", + tn: "突尼斯", + to: "汤加", + tr: "土耳其", + tt: "特立尼达和多巴哥", + tv: "图瓦卢", + tw: "台湾", + tz: "坦桑尼亚", + ua: "乌克兰", + ug: "乌干达", + us: "美国", + uy: "乌拉圭", + uz: "乌兹别克斯坦", + va: "梵蒂冈", + vc: "圣文森特和格林纳丁斯", + ve: "委内瑞拉", + vg: "英属维尔京群岛", + vi: "美属维尔京群岛", + vn: "越南", + vu: "瓦努阿图", + wf: "瓦利斯和富图纳", + ws: "萨摩亚", + ye: "也门", + yt: "马约特", + za: "南非", + zm: "赞比亚", + zw: "津巴布韦" +}; +export default countryTranslations; diff --git a/plugins/intl-tel-input/js/i18n/zh/index.js b/plugins/intl-tel-input/js/i18n/zh/index.js new file mode 100644 index 00000000..8c1c3176 --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/zh/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/plugins/intl-tel-input/js/i18n/zh/interface.js b/plugins/intl-tel-input/js/i18n/zh/interface.js new file mode 100644 index 00000000..536f9ace --- /dev/null +++ b/plugins/intl-tel-input/js/i18n/zh/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "所选国家", + noCountrySelected: "未选择国家/地区", + countryListAriaLabel: "国家名单", + searchPlaceholder: "搜索", + zeroSearchResults: "未找到结果", + oneSearchResult: "找到 1 个结果", + multipleSearchResults: "找到 ${count} 个结果", + // additional countries (not supported by country-list library) + ac: "阿森松岛", + xk: "科索沃" +}; +export default interfaceTranslations; diff --git a/plugins/intl-tel-input/js/intlTelInput.d.ts b/plugins/intl-tel-input/js/intlTelInput.d.ts new file mode 100644 index 00000000..9126cee9 --- /dev/null +++ b/plugins/intl-tel-input/js/intlTelInput.d.ts @@ -0,0 +1,1177 @@ +declare module "intl-tel-input/data" { + export type Country = { + name: string; + iso2: string; + dialCode: string; + priority: number; + areaCodes: string[] | null; + nodeById: object; + nationalPrefix: string | null; + }; + const allCountries: Country[]; + export default allCountries; +} +declare module "intl-tel-input/i18n/types" { + export type I18n = { + af?: string; + al?: string; + dz?: string; + as?: string; + ad?: string; + ao?: string; + ai?: string; + ag?: string; + ar?: string; + am?: string; + aw?: string; + ac?: string; + au?: string; + at?: string; + az?: string; + bs?: string; + bh?: string; + bd?: string; + bb?: string; + by?: string; + be?: string; + bz?: string; + bj?: string; + bm?: string; + bt?: string; + bo?: string; + ba?: string; + bw?: string; + br?: string; + io?: string; + vg?: string; + bn?: string; + bg?: string; + bf?: string; + bi?: string; + kh?: string; + cm?: string; + ca?: string; + cv?: string; + bq?: string; + ky?: string; + cf?: string; + td?: string; + cl?: string; + cn?: string; + cx?: string; + cc?: string; + co?: string; + km?: string; + cg?: string; + cd?: string; + ck?: string; + cr?: string; + hr?: string; + cu?: string; + cw?: string; + cy?: string; + cz?: string; + ci?: string; + dk?: string; + dj?: string; + dm?: string; + do?: string; + ec?: string; + eg?: string; + sv?: string; + gq?: string; + er?: string; + ee?: string; + sz?: string; + et?: string; + fk?: string; + fo?: string; + fj?: string; + fi?: string; + fr?: string; + gf?: string; + pf?: string; + ga?: string; + gm?: string; + ge?: string; + de?: string; + gh?: string; + gi?: string; + gr?: string; + gl?: string; + gd?: string; + gp?: string; + gu?: string; + gt?: string; + gg?: string; + gn?: string; + gw?: string; + gy?: string; + ht?: string; + hn?: string; + hk?: string; + hu?: string; + is?: string; + in?: string; + id?: string; + ir?: string; + iq?: string; + ie?: string; + im?: string; + il?: string; + it?: string; + jm?: string; + jp?: string; + je?: string; + jo?: string; + kz?: string; + ke?: string; + ki?: string; + xk?: string; + kw?: string; + kg?: string; + la?: string; + lv?: string; + lb?: string; + ls?: string; + lr?: string; + ly?: string; + li?: string; + lt?: string; + lu?: string; + mo?: string; + mg?: string; + mw?: string; + my?: string; + mv?: string; + ml?: string; + mt?: string; + mh?: string; + mq?: string; + mr?: string; + mu?: string; + yt?: string; + mx?: string; + fm?: string; + md?: string; + mc?: string; + mn?: string; + me?: string; + ms?: string; + ma?: string; + mz?: string; + mm?: string; + na?: string; + nr?: string; + np?: string; + nl?: string; + nc?: string; + nz?: string; + ni?: string; + ne?: string; + ng?: string; + nu?: string; + nf?: string; + kp?: string; + mk?: string; + mp?: string; + no?: string; + om?: string; + pk?: string; + pw?: string; + ps?: string; + pa?: string; + pg?: string; + py?: string; + pe?: string; + ph?: string; + pl?: string; + pt?: string; + pr?: string; + qa?: string; + ro?: string; + ru?: string; + rw?: string; + re?: string; + ws?: string; + sm?: string; + sa?: string; + sn?: string; + rs?: string; + sc?: string; + sl?: string; + sg?: string; + sx?: string; + sk?: string; + si?: string; + sb?: string; + so?: string; + za?: string; + kr?: string; + ss?: string; + es?: string; + lk?: string; + bl?: string; + sh?: string; + kn?: string; + lc?: string; + mf?: string; + pm?: string; + vc?: string; + sd?: string; + sr?: string; + sj?: string; + se?: string; + ch?: string; + sy?: string; + st?: string; + tw?: string; + tj?: string; + tz?: string; + th?: string; + tl?: string; + tg?: string; + tk?: string; + to?: string; + tt?: string; + tn?: string; + tr?: string; + tm?: string; + tc?: string; + tv?: string; + vi?: string; + ug?: string; + ua?: string; + ae?: string; + gb?: string; + us?: string; + uy?: string; + uz?: string; + vu?: string; + va?: string; + ve?: string; + vn?: string; + wf?: string; + eh?: string; + ye?: string; + zm?: string; + zw?: string; + ax?: string; + selectedCountryAriaLabel?: string; + searchPlaceholder?: string; + countryListAriaLabel?: string; + oneSearchResult?: string; + multipleSearchResults?: string; + noCountrySelected?: string; + zeroSearchResults?: string; + }; +} +declare module "intl-tel-input/i18n/en/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/en/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/en" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/en/countries"; + import interfaceTranslations from "intl-tel-input/i18n/en/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input" { + import { Country } from "intl-tel-input/data"; + import { I18n } from "intl-tel-input/i18n/types"; + type UtilsLoader = () => Promise<{ + default: ItiUtils; + }>; + interface IntlTelInputInterface { + (input: HTMLInputElement, options?: SomeOptions): Iti; + autoCountry?: string; + defaults: AllOptions; + documentReady: () => boolean; + getCountryData: () => Country[]; + getInstance: (input: HTMLInputElement) => Iti | null; + instances: { + [key: string]: Iti; + }; + attachUtils: (source: UtilsLoader) => Promise | null; + startedLoadingAutoCountry: boolean; + startedLoadingUtilsScript: boolean; + version: string | undefined; + utils?: ItiUtils; + } + type ItiUtils = { + formatNumber(number: string, iso2: string | undefined, format?: number): string; + formatNumberAsYouType(number: string, iso2: string | undefined): string; + getCoreNumber(number: string, iso2: string | undefined): string; + getExampleNumber(iso2: string | undefined, nationalMode: boolean, numberType: number, useE164?: boolean): string; + getExtension(number: string, iso2: string | undefined): string; + getNumberType(number: string, iso2: string | undefined): number; + getValidationError(number: string, iso2: string | undefined): number; + isPossibleNumber(number: string, iso2: string | undefined, numberType?: NumberType[] | null): boolean; + isValidNumber(number: string, iso2: string | undefined, numberType?: NumberType[] | null): boolean; + numberFormat: { + NATIONAL: number; + INTERNATIONAL: number; + E164: number; + RFC3966: number; + }; + numberType: object; + }; + type NumberType = "FIXED_LINE_OR_MOBILE" | "FIXED_LINE" | "MOBILE" | "PAGER" | "PERSONAL_NUMBER" | "PREMIUM_RATE" | "SHARED_COST" | "TOLL_FREE" | "UAN" | "UNKNOWN" | "VOICEMAIL" | "VOIP"; + type SelectedCountryData = { + name?: string; + iso2?: string; + dialCode?: string; + areaCodes?: string[]; + nationalPrefix?: string; + }; + interface AllOptions { + allowDropdown: boolean; + autoPlaceholder: string; + containerClass: string; + countryOrder: string[]; + countrySearch: boolean; + customPlaceholder: ((selectedCountryPlaceholder: string, selectedCountryData: object) => string) | null; + dropdownContainer: HTMLElement | null; + excludeCountries: string[]; + fixDropdownWidth: boolean; + formatAsYouType: boolean; + formatOnDisplay: boolean; + geoIpLookup: ((success: (iso2: string) => void, failure: () => void) => void) | null; + hiddenInput: ((telInputName: string) => { + phone: string; + country?: string; + }) | null; + i18n: I18n; + initialCountry: string; + loadUtils: UtilsLoader; + nationalMode: boolean; + onlyCountries: string[]; + placeholderNumberType: NumberType; + showFlags: boolean; + separateDialCode: boolean; + strictMode: boolean; + useFullscreenPopup: boolean; + validationNumberTypes: NumberType[] | null; + } + export type SomeOptions = Partial; + export class Iti { + id: number; + promise: Promise<[unknown, unknown]>; + private telInput; + private highlightedItem; + private options; + private hadInitialPlaceholder; + private isRTL; + private showSelectedCountryOnLeft; + private isAndroid; + private selectedCountryData; + private countries; + private dialCodeMaxLen; + private dialCodeToIso2Map; + private dialCodes; + private countryContainer; + private selectedCountry; + private selectedCountryInner; + private selectedCountryA11yText; + private selectedDialCode; + private dropdownArrow; + private dropdownContent; + private searchInput; + private searchResultsA11yText; + private countryList; + private dropdown; + private hiddenInput; + private hiddenInputCountry; + private maxCoreNumberLength; + private defaultCountry; + private originalPaddingRight; + private originalPaddingLeft; + private _handleHiddenInputSubmit; + private _handleLabelClick; + private _handleClickSelectedCountry; + private _handleCountryContainerKeydown; + private _handleInputEvent; + private _handleKeydownEvent; + private _handleWindowScroll; + private _handleMouseoverCountryList; + private _handleClickCountryList; + private _handleClickOffToClose; + private _handleKeydownOnDropdown; + private _handleSearchChange; + private _handlePageLoad; + private resolveAutoCountryPromise; + private rejectAutoCountryPromise; + private resolveUtilsScriptPromise; + private rejectUtilsScriptPromise; + constructor(input: HTMLInputElement, customOptions?: SomeOptions); + _init(): void; + private _processCountryData; + private _sortCountries; + private _addToDialCodeMap; + private _processAllCountries; + private _translateCountryNames; + private _processDialCodes; + private _generateMarkup; + private _appendListItems; + private _setInitialState; + private _initListeners; + private _initHiddenInputListener; + private _initDropdownListeners; + private _initRequests; + private _loadAutoCountry; + private _openDropdownWithPlus; + private _initTelInputListeners; + private _cap; + private _trigger; + private _openDropdown; + private _setDropdownPosition; + private _bindDropdownListeners; + private _searchForCountry; + private _filterCountries; + private _updateSearchResultsText; + private _handleUpDownKey; + private _handleEnterKey; + private _updateValFromNumber; + private _updateCountryFromNumber; + private _ensureHasDialCode; + private _getCountryFromNumber; + private _highlightListItem; + private _getCountryData; + private _setCountry; + private _updateInputPadding; + private _updateMaxLength; + private _setSelectedCountryTitleAttribute; + private _getHiddenSelectedCountryWidth; + private _updatePlaceholder; + private _selectListItem; + private _closeDropdown; + private _scrollTo; + private _updateDialCode; + private _getDialCode; + private _getFullNumber; + private _beforeSetNumber; + private _triggerCountryChange; + private _formatNumberAsYouType; + handleAutoCountry(): void; + handleUtils(): void; + destroy(): void; + getExtension(): string; + getNumber(format?: number): string; + getNumberType(): number; + getSelectedCountryData(): SelectedCountryData; + getValidationError(): number; + isValidNumber(): boolean | null; + private _utilsIsPossibleNumber; + isValidNumberPrecise(): boolean | null; + private _utilsIsValidNumber; + setCountry(iso2: string): void; + setNumber(number: string): void; + setPlaceholderNumberType(type: NumberType): void; + setDisabled(disabled: boolean): void; + } + const intlTelInput: IntlTelInputInterface; + export default intlTelInput; +} +declare module "intl-tel-input/utils-compiled" { + export default utils; + const utils: any; +} +declare module "intl-tel-input/intlTelInputWithUtils" { + import intlTelInput from "intl-tel-input"; + export default intlTelInput; +} +declare module "intl-tel-input/i18n/ar/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/ar/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/ar" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/ar/countries"; + import interfaceTranslations from "intl-tel-input/i18n/ar/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/bg/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/bg/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/bg" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/bg/countries"; + import interfaceTranslations from "intl-tel-input/i18n/bg/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/bn/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/bn/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/bn" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/bn/countries"; + import interfaceTranslations from "intl-tel-input/i18n/bn/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/bs/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/bs/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/bs" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/bs/countries"; + import interfaceTranslations from "intl-tel-input/i18n/bs/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/ca/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/ca/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/ca" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/ca/countries"; + import interfaceTranslations from "intl-tel-input/i18n/ca/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/cs/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/cs/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/cs" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/cs/countries"; + import interfaceTranslations from "intl-tel-input/i18n/cs/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/da/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/da/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/da" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/da/countries"; + import interfaceTranslations from "intl-tel-input/i18n/da/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/de/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/de/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/de" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/de/countries"; + import interfaceTranslations from "intl-tel-input/i18n/de/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/el/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/el/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/el" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/el/countries"; + import interfaceTranslations from "intl-tel-input/i18n/el/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/es/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/es/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/es" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/es/countries"; + import interfaceTranslations from "intl-tel-input/i18n/es/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/fa/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/fa/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/fa" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/fa/countries"; + import interfaceTranslations from "intl-tel-input/i18n/fa/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/fi/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/fi/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/fi" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/fi/countries"; + import interfaceTranslations from "intl-tel-input/i18n/fi/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/fr/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/fr/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/fr" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/fr/countries"; + import interfaceTranslations from "intl-tel-input/i18n/fr/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/hi/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/hi/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/hi" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/hi/countries"; + import interfaceTranslations from "intl-tel-input/i18n/hi/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/hr/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/hr/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/hr" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/hr/countries"; + import interfaceTranslations from "intl-tel-input/i18n/hr/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/hu/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/hu/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/hu" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/hu/countries"; + import interfaceTranslations from "intl-tel-input/i18n/hu/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/id/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/id/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/id" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/id/countries"; + import interfaceTranslations from "intl-tel-input/i18n/id/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/it/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/it/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/it" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/it/countries"; + import interfaceTranslations from "intl-tel-input/i18n/it/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/ja/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/ja/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/ja" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/ja/countries"; + import interfaceTranslations from "intl-tel-input/i18n/ja/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/ko/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/ko/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/ko" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/ko/countries"; + import interfaceTranslations from "intl-tel-input/i18n/ko/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/mr/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/mr/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/mr" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/mr/countries"; + import interfaceTranslations from "intl-tel-input/i18n/mr/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/nl/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/nl/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/nl" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/nl/countries"; + import interfaceTranslations from "intl-tel-input/i18n/nl/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/no/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/no/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/no" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/no/countries"; + import interfaceTranslations from "intl-tel-input/i18n/no/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/pl/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/pl/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/pl" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/pl/countries"; + import interfaceTranslations from "intl-tel-input/i18n/pl/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/pt/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/pt/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/pt" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/pt/countries"; + import interfaceTranslations from "intl-tel-input/i18n/pt/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/ro/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/ro/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/ro" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/ro/countries"; + import interfaceTranslations from "intl-tel-input/i18n/ro/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/ru/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/ru/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/ru" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/ru/countries"; + import interfaceTranslations from "intl-tel-input/i18n/ru/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/sk/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/sk/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/sk" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/sk/countries"; + import interfaceTranslations from "intl-tel-input/i18n/sk/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/sv/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/sv/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/sv" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/sv/countries"; + import interfaceTranslations from "intl-tel-input/i18n/sv/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/te/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/te/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/te" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/te/countries"; + import interfaceTranslations from "intl-tel-input/i18n/te/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/th/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/th/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/th" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/th/countries"; + import interfaceTranslations from "intl-tel-input/i18n/th/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/tr/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/tr/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/tr" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/tr/countries"; + import interfaceTranslations from "intl-tel-input/i18n/tr/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/uk/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/uk/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/uk" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/uk/countries"; + import interfaceTranslations from "intl-tel-input/i18n/uk/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/ur/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/ur/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/ur" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/ur/countries"; + import interfaceTranslations from "intl-tel-input/i18n/ur/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/vi/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/vi/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/vi" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/vi/countries"; + import interfaceTranslations from "intl-tel-input/i18n/vi/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n/zh/countries" { + import { I18n } from "intl-tel-input/i18n/types"; + const countryTranslations: I18n; + export default countryTranslations; +} +declare module "intl-tel-input/i18n/zh/interface" { + import { I18n } from "intl-tel-input/i18n/types"; + const interfaceTranslations: I18n; + export default interfaceTranslations; +} +declare module "intl-tel-input/i18n/zh" { + import { I18n } from "intl-tel-input/i18n/types"; + import countryTranslations from "intl-tel-input/i18n/zh/countries"; + import interfaceTranslations from "intl-tel-input/i18n/zh/interface"; + export { countryTranslations, interfaceTranslations }; + const allTranslations: I18n; + export default allTranslations; +} +declare module "intl-tel-input/i18n" { + export { default as ar, countryTranslations as arCountryTranslations, interfaceTranslations as arInterfaceTranslations } from "intl-tel-input/i18n/ar"; + export { default as bg, countryTranslations as bgCountryTranslations, interfaceTranslations as bgInterfaceTranslations } from "intl-tel-input/i18n/bg"; + export { default as bn, countryTranslations as bnCountryTranslations, interfaceTranslations as bnInterfaceTranslations } from "intl-tel-input/i18n/bn"; + export { default as bs, countryTranslations as bsCountryTranslations, interfaceTranslations as bsInterfaceTranslations } from "intl-tel-input/i18n/bs"; + export { default as ca, countryTranslations as caCountryTranslations, interfaceTranslations as caInterfaceTranslations } from "intl-tel-input/i18n/ca"; + export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "intl-tel-input/i18n/cs"; + export { default as da, countryTranslations as daCountryTranslations, interfaceTranslations as daInterfaceTranslations } from "intl-tel-input/i18n/da"; + export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "intl-tel-input/i18n/de"; + export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "intl-tel-input/i18n/el"; + export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "intl-tel-input/i18n/en"; + export { default as es, countryTranslations as esCountryTranslations, interfaceTranslations as esInterfaceTranslations } from "intl-tel-input/i18n/es"; + export { default as fa, countryTranslations as faCountryTranslations, interfaceTranslations as faInterfaceTranslations } from "intl-tel-input/i18n/fa"; + export { default as fi, countryTranslations as fiCountryTranslations, interfaceTranslations as fiInterfaceTranslations } from "intl-tel-input/i18n/fi"; + export { default as fr, countryTranslations as frCountryTranslations, interfaceTranslations as frInterfaceTranslations } from "intl-tel-input/i18n/fr"; + export { default as hi, countryTranslations as hiCountryTranslations, interfaceTranslations as hiInterfaceTranslations } from "intl-tel-input/i18n/hi"; + export { default as hr, countryTranslations as hrCountryTranslations, interfaceTranslations as hrInterfaceTranslations } from "intl-tel-input/i18n/hr"; + export { default as hu, countryTranslations as huCountryTranslations, interfaceTranslations as huInterfaceTranslations } from "intl-tel-input/i18n/hu"; + export { default as id, countryTranslations as idCountryTranslations, interfaceTranslations as idInterfaceTranslations } from "intl-tel-input/i18n/id"; + export { default as it, countryTranslations as itCountryTranslations, interfaceTranslations as itInterfaceTranslations } from "intl-tel-input/i18n/it"; + export { default as ja, countryTranslations as jaCountryTranslations, interfaceTranslations as jaInterfaceTranslations } from "intl-tel-input/i18n/ja"; + export { default as ko, countryTranslations as koCountryTranslations, interfaceTranslations as koInterfaceTranslations } from "intl-tel-input/i18n/ko"; + export { default as mr, countryTranslations as mrCountryTranslations, interfaceTranslations as mrInterfaceTranslations } from "intl-tel-input/i18n/mr"; + export { default as nl, countryTranslations as nlCountryTranslations, interfaceTranslations as nlInterfaceTranslations } from "intl-tel-input/i18n/nl"; + export { default as no, countryTranslations as noCountryTranslations, interfaceTranslations as noInterfaceTranslations } from "intl-tel-input/i18n/no"; + export { default as pl, countryTranslations as plCountryTranslations, interfaceTranslations as plInterfaceTranslations } from "intl-tel-input/i18n/pl"; + export { default as pt, countryTranslations as ptCountryTranslations, interfaceTranslations as ptInterfaceTranslations } from "intl-tel-input/i18n/pt"; + export { default as ro, countryTranslations as roCountryTranslations, interfaceTranslations as roInterfaceTranslations } from "intl-tel-input/i18n/ro"; + export { default as ru, countryTranslations as ruCountryTranslations, interfaceTranslations as ruInterfaceTranslations } from "intl-tel-input/i18n/ru"; + export { default as sk, countryTranslations as skCountryTranslations, interfaceTranslations as skInterfaceTranslations } from "intl-tel-input/i18n/sk"; + export { default as sv, countryTranslations as svCountryTranslations, interfaceTranslations as svInterfaceTranslations } from "intl-tel-input/i18n/sv"; + export { default as te, countryTranslations as teCountryTranslations, interfaceTranslations as teInterfaceTranslations } from "intl-tel-input/i18n/te"; + export { default as th, countryTranslations as thCountryTranslations, interfaceTranslations as thInterfaceTranslations } from "intl-tel-input/i18n/th"; + export { default as tr, countryTranslations as trCountryTranslations, interfaceTranslations as trInterfaceTranslations } from "intl-tel-input/i18n/tr"; + export { default as uk, countryTranslations as ukCountryTranslations, interfaceTranslations as ukInterfaceTranslations } from "intl-tel-input/i18n/uk"; + export { default as ur, countryTranslations as urCountryTranslations, interfaceTranslations as urInterfaceTranslations } from "intl-tel-input/i18n/ur"; + export { default as vi, countryTranslations as viCountryTranslations, interfaceTranslations as viInterfaceTranslations } from "intl-tel-input/i18n/vi"; + export { default as zh, countryTranslations as zhCountryTranslations, interfaceTranslations as zhInterfaceTranslations } from "intl-tel-input/i18n/zh"; +} diff --git a/plugins/intl-tel-input/js/intlTelInput.js b/plugins/intl-tel-input/js/intlTelInput.js new file mode 100644 index 00000000..8bc7f0a8 --- /dev/null +++ b/plugins/intl-tel-input/js/intlTelInput.js @@ -0,0 +1,3181 @@ +/* + * International Telephone Input v25.3.0 + * https://github.com/jackocnr/intl-tel-input.git + * Licensed under the MIT license + */ + +// UMD +(function(factory) { + if (typeof module === 'object' && module.exports) { + module.exports = factory(); + } else { + window.intlTelInput = factory(); + } +}(() => { + +var factoryOutput = (() => { + var __defProp = Object.defineProperty; + var __getOwnPropDesc = Object.getOwnPropertyDescriptor; + var __getOwnPropNames = Object.getOwnPropertyNames; + var __hasOwnProp = Object.prototype.hasOwnProperty; + var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); + }; + var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; + }; + var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + + // src/js/intl-tel-input.ts + var intl_tel_input_exports = {}; + __export(intl_tel_input_exports, { + Iti: () => Iti, + default: () => intl_tel_input_default + }); + + // src/js/intl-tel-input/data.ts + var rawCountryData = [ + [ + "af", + // Afghanistan + "93" + ], + [ + "ax", + // Åland Islands + "358", + 1 + ], + [ + "al", + // Albania + "355" + ], + [ + "dz", + // Algeria + "213" + ], + [ + "as", + // American Samoa + "1", + 5, + ["684"] + ], + [ + "ad", + // Andorra + "376" + ], + [ + "ao", + // Angola + "244" + ], + [ + "ai", + // Anguilla + "1", + 6, + ["264"] + ], + [ + "ag", + // Antigua and Barbuda + "1", + 7, + ["268"] + ], + [ + "ar", + // Argentina + "54" + ], + [ + "am", + // Armenia + "374" + ], + [ + "aw", + // Aruba + "297" + ], + [ + "ac", + // Ascension Island + "247" + ], + [ + "au", + // Australia + "61", + 0, + null, + "0" + ], + [ + "at", + // Austria + "43" + ], + [ + "az", + // Azerbaijan + "994" + ], + [ + "bs", + // Bahamas + "1", + 8, + ["242"] + ], + [ + "bh", + // Bahrain + "973" + ], + [ + "bd", + // Bangladesh + "880" + ], + [ + "bb", + // Barbados + "1", + 9, + ["246"] + ], + [ + "by", + // Belarus + "375" + ], + [ + "be", + // Belgium + "32" + ], + [ + "bz", + // Belize + "501" + ], + [ + "bj", + // Benin + "229" + ], + [ + "bm", + // Bermuda + "1", + 10, + ["441"] + ], + [ + "bt", + // Bhutan + "975" + ], + [ + "bo", + // Bolivia + "591" + ], + [ + "ba", + // Bosnia and Herzegovina + "387" + ], + [ + "bw", + // Botswana + "267" + ], + [ + "br", + // Brazil + "55" + ], + [ + "io", + // British Indian Ocean Territory + "246" + ], + [ + "vg", + // British Virgin Islands + "1", + 11, + ["284"] + ], + [ + "bn", + // Brunei + "673" + ], + [ + "bg", + // Bulgaria + "359" + ], + [ + "bf", + // Burkina Faso + "226" + ], + [ + "bi", + // Burundi + "257" + ], + [ + "kh", + // Cambodia + "855" + ], + [ + "cm", + // Cameroon + "237" + ], + [ + "ca", + // Canada + "1", + 1, + ["204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "879", "902", "905"] + ], + [ + "cv", + // Cape Verde + "238" + ], + [ + "bq", + // Caribbean Netherlands + "599", + 1, + ["3", "4", "7"] + ], + [ + "ky", + // Cayman Islands + "1", + 12, + ["345"] + ], + [ + "cf", + // Central African Republic + "236" + ], + [ + "td", + // Chad + "235" + ], + [ + "cl", + // Chile + "56" + ], + [ + "cn", + // China + "86" + ], + [ + "cx", + // Christmas Island + "61", + 2, + ["89164"], + "0" + ], + [ + "cc", + // Cocos (Keeling) Islands + "61", + 1, + ["89162"], + "0" + ], + [ + "co", + // Colombia + "57" + ], + [ + "km", + // Comoros + "269" + ], + [ + "cg", + // Congo (Brazzaville) + "242" + ], + [ + "cd", + // Congo (Kinshasa) + "243" + ], + [ + "ck", + // Cook Islands + "682" + ], + [ + "cr", + // Costa Rica + "506" + ], + [ + "ci", + // Côte d'Ivoire + "225" + ], + [ + "hr", + // Croatia + "385" + ], + [ + "cu", + // Cuba + "53" + ], + [ + "cw", + // Curaçao + "599", + 0 + ], + [ + "cy", + // Cyprus + "357" + ], + [ + "cz", + // Czech Republic + "420" + ], + [ + "dk", + // Denmark + "45" + ], + [ + "dj", + // Djibouti + "253" + ], + [ + "dm", + // Dominica + "1", + 13, + ["767"] + ], + [ + "do", + // Dominican Republic + "1", + 2, + ["809", "829", "849"] + ], + [ + "ec", + // Ecuador + "593" + ], + [ + "eg", + // Egypt + "20" + ], + [ + "sv", + // El Salvador + "503" + ], + [ + "gq", + // Equatorial Guinea + "240" + ], + [ + "er", + // Eritrea + "291" + ], + [ + "ee", + // Estonia + "372" + ], + [ + "sz", + // Eswatini + "268" + ], + [ + "et", + // Ethiopia + "251" + ], + [ + "fk", + // Falkland Islands (Malvinas) + "500" + ], + [ + "fo", + // Faroe Islands + "298" + ], + [ + "fj", + // Fiji + "679" + ], + [ + "fi", + // Finland + "358", + 0 + ], + [ + "fr", + // France + "33" + ], + [ + "gf", + // French Guiana + "594" + ], + [ + "pf", + // French Polynesia + "689" + ], + [ + "ga", + // Gabon + "241" + ], + [ + "gm", + // Gambia + "220" + ], + [ + "ge", + // Georgia + "995" + ], + [ + "de", + // Germany + "49" + ], + [ + "gh", + // Ghana + "233" + ], + [ + "gi", + // Gibraltar + "350" + ], + [ + "gr", + // Greece + "30" + ], + [ + "gl", + // Greenland + "299" + ], + [ + "gd", + // Grenada + "1", + 14, + ["473"] + ], + [ + "gp", + // Guadeloupe + "590", + 0 + ], + [ + "gu", + // Guam + "1", + 15, + ["671"] + ], + [ + "gt", + // Guatemala + "502" + ], + [ + "gg", + // Guernsey + "44", + 1, + ["1481", "7781", "7839", "7911"], + "0" + ], + [ + "gn", + // Guinea + "224" + ], + [ + "gw", + // Guinea-Bissau + "245" + ], + [ + "gy", + // Guyana + "592" + ], + [ + "ht", + // Haiti + "509" + ], + [ + "hn", + // Honduras + "504" + ], + [ + "hk", + // Hong Kong SAR China + "852" + ], + [ + "hu", + // Hungary + "36" + ], + [ + "is", + // Iceland + "354" + ], + [ + "in", + // India + "91" + ], + [ + "id", + // Indonesia + "62" + ], + [ + "ir", + // Iran + "98" + ], + [ + "iq", + // Iraq + "964" + ], + [ + "ie", + // Ireland + "353" + ], + [ + "im", + // Isle of Man + "44", + 2, + ["1624", "74576", "7524", "7924", "7624"], + "0" + ], + [ + "il", + // Israel + "972" + ], + [ + "it", + // Italy + "39", + 0 + ], + [ + "jm", + // Jamaica + "1", + 4, + ["876", "658"] + ], + [ + "jp", + // Japan + "81" + ], + [ + "je", + // Jersey + "44", + 3, + ["1534", "7509", "7700", "7797", "7829", "7937"], + "0" + ], + [ + "jo", + // Jordan + "962" + ], + [ + "kz", + // Kazakhstan + "7", + 1, + ["33", "7"], + "8" + ], + [ + "ke", + // Kenya + "254" + ], + [ + "ki", + // Kiribati + "686" + ], + [ + "xk", + // Kosovo + "383" + ], + [ + "kw", + // Kuwait + "965" + ], + [ + "kg", + // Kyrgyzstan + "996" + ], + [ + "la", + // Laos + "856" + ], + [ + "lv", + // Latvia + "371" + ], + [ + "lb", + // Lebanon + "961" + ], + [ + "ls", + // Lesotho + "266" + ], + [ + "lr", + // Liberia + "231" + ], + [ + "ly", + // Libya + "218" + ], + [ + "li", + // Liechtenstein + "423" + ], + [ + "lt", + // Lithuania + "370" + ], + [ + "lu", + // Luxembourg + "352" + ], + [ + "mo", + // Macao SAR China + "853" + ], + [ + "mg", + // Madagascar + "261" + ], + [ + "mw", + // Malawi + "265" + ], + [ + "my", + // Malaysia + "60" + ], + [ + "mv", + // Maldives + "960" + ], + [ + "ml", + // Mali + "223" + ], + [ + "mt", + // Malta + "356" + ], + [ + "mh", + // Marshall Islands + "692" + ], + [ + "mq", + // Martinique + "596" + ], + [ + "mr", + // Mauritania + "222" + ], + [ + "mu", + // Mauritius + "230" + ], + [ + "yt", + // Mayotte + "262", + 1, + ["269", "639"], + "0" + ], + [ + "mx", + // Mexico + "52" + ], + [ + "fm", + // Micronesia + "691" + ], + [ + "md", + // Moldova + "373" + ], + [ + "mc", + // Monaco + "377" + ], + [ + "mn", + // Mongolia + "976" + ], + [ + "me", + // Montenegro + "382" + ], + [ + "ms", + // Montserrat + "1", + 16, + ["664"] + ], + [ + "ma", + // Morocco + "212", + 0, + null, + "0" + ], + [ + "mz", + // Mozambique + "258" + ], + [ + "mm", + // Myanmar (Burma) + "95" + ], + [ + "na", + // Namibia + "264" + ], + [ + "nr", + // Nauru + "674" + ], + [ + "np", + // Nepal + "977" + ], + [ + "nl", + // Netherlands + "31" + ], + [ + "nc", + // New Caledonia + "687" + ], + [ + "nz", + // New Zealand + "64" + ], + [ + "ni", + // Nicaragua + "505" + ], + [ + "ne", + // Niger + "227" + ], + [ + "ng", + // Nigeria + "234" + ], + [ + "nu", + // Niue + "683" + ], + [ + "nf", + // Norfolk Island + "672" + ], + [ + "kp", + // North Korea + "850" + ], + [ + "mk", + // North Macedonia + "389" + ], + [ + "mp", + // Northern Mariana Islands + "1", + 17, + ["670"] + ], + [ + "no", + // Norway + "47", + 0 + ], + [ + "om", + // Oman + "968" + ], + [ + "pk", + // Pakistan + "92" + ], + [ + "pw", + // Palau + "680" + ], + [ + "ps", + // Palestinian Territories + "970" + ], + [ + "pa", + // Panama + "507" + ], + [ + "pg", + // Papua New Guinea + "675" + ], + [ + "py", + // Paraguay + "595" + ], + [ + "pe", + // Peru + "51" + ], + [ + "ph", + // Philippines + "63" + ], + [ + "pl", + // Poland + "48" + ], + [ + "pt", + // Portugal + "351" + ], + [ + "pr", + // Puerto Rico + "1", + 3, + ["787", "939"] + ], + [ + "qa", + // Qatar + "974" + ], + [ + "re", + // Réunion + "262", + 0, + null, + "0" + ], + [ + "ro", + // Romania + "40" + ], + [ + "ru", + // Russia + "7", + 0, + null, + "8" + ], + [ + "rw", + // Rwanda + "250" + ], + [ + "ws", + // Samoa + "685" + ], + [ + "sm", + // San Marino + "378" + ], + [ + "st", + // São Tomé & Príncipe + "239" + ], + [ + "sa", + // Saudi Arabia + "966" + ], + [ + "sn", + // Senegal + "221" + ], + [ + "rs", + // Serbia + "381" + ], + [ + "sc", + // Seychelles + "248" + ], + [ + "sl", + // Sierra Leone + "232" + ], + [ + "sg", + // Singapore + "65" + ], + [ + "sx", + // Sint Maarten + "1", + 21, + ["721"] + ], + [ + "sk", + // Slovakia + "421" + ], + [ + "si", + // Slovenia + "386" + ], + [ + "sb", + // Solomon Islands + "677" + ], + [ + "so", + // Somalia + "252" + ], + [ + "za", + // South Africa + "27" + ], + [ + "kr", + // South Korea + "82" + ], + [ + "ss", + // South Sudan + "211" + ], + [ + "es", + // Spain + "34" + ], + [ + "lk", + // Sri Lanka + "94" + ], + [ + "bl", + // St. Barthélemy + "590", + 1 + ], + [ + "sh", + // St. Helena + "290" + ], + [ + "kn", + // St. Kitts & Nevis + "1", + 18, + ["869"] + ], + [ + "lc", + // St. Lucia + "1", + 19, + ["758"] + ], + [ + "mf", + // St. Martin + "590", + 2 + ], + [ + "pm", + // St. Pierre & Miquelon + "508" + ], + [ + "vc", + // St. Vincent & Grenadines + "1", + 20, + ["784"] + ], + [ + "sd", + // Sudan + "249" + ], + [ + "sr", + // Suriname + "597" + ], + [ + "sj", + // Svalbard & Jan Mayen + "47", + 1, + ["79"] + ], + [ + "se", + // Sweden + "46" + ], + [ + "ch", + // Switzerland + "41" + ], + [ + "sy", + // Syria + "963" + ], + [ + "tw", + // Taiwan + "886" + ], + [ + "tj", + // Tajikistan + "992" + ], + [ + "tz", + // Tanzania + "255" + ], + [ + "th", + // Thailand + "66" + ], + [ + "tl", + // Timor-Leste + "670" + ], + [ + "tg", + // Togo + "228" + ], + [ + "tk", + // Tokelau + "690" + ], + [ + "to", + // Tonga + "676" + ], + [ + "tt", + // Trinidad & Tobago + "1", + 22, + ["868"] + ], + [ + "tn", + // Tunisia + "216" + ], + [ + "tr", + // Turkey + "90" + ], + [ + "tm", + // Turkmenistan + "993" + ], + [ + "tc", + // Turks & Caicos Islands + "1", + 23, + ["649"] + ], + [ + "tv", + // Tuvalu + "688" + ], + [ + "ug", + // Uganda + "256" + ], + [ + "ua", + // Ukraine + "380" + ], + [ + "ae", + // United Arab Emirates + "971" + ], + [ + "gb", + // United Kingdom + "44", + 0, + null, + "0" + ], + [ + "us", + // United States + "1", + 0 + ], + [ + "uy", + // Uruguay + "598" + ], + [ + "vi", + // U.S. Virgin Islands + "1", + 24, + ["340"] + ], + [ + "uz", + // Uzbekistan + "998" + ], + [ + "vu", + // Vanuatu + "678" + ], + [ + "va", + // Vatican City + "39", + 1, + ["06698"] + ], + [ + "ve", + // Venezuela + "58" + ], + [ + "vn", + // Vietnam + "84" + ], + [ + "wf", + // Wallis & Futuna + "681" + ], + [ + "eh", + // Western Sahara + "212", + 1, + ["5288", "5289"], + "0" + ], + [ + "ye", + // Yemen + "967" + ], + [ + "zm", + // Zambia + "260" + ], + [ + "zw", + // Zimbabwe + "263" + ] + ]; + var allCountries = []; + for (let i = 0; i < rawCountryData.length; i++) { + const c = rawCountryData[i]; + allCountries[i] = { + name: "", + // this is now populated in the plugin + iso2: c[0], + dialCode: c[1], + priority: c[2] || 0, + areaCodes: c[3] || null, + nodeById: {}, + nationalPrefix: c[4] || null + }; + } + var data_default = allCountries; + + // src/js/intl-tel-input/i18n/en/countries.ts + var countryTranslations = { + ad: "Andorra", + ae: "United Arab Emirates", + af: "Afghanistan", + ag: "Antigua & Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "American Samoa", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "\xC5land Islands", + az: "Azerbaijan", + ba: "Bosnia & Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgium", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "St. Barth\xE9lemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Caribbean Netherlands", + br: "Brazil", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Canada", + cc: "Cocos (Keeling) Islands", + cd: "Congo - Kinshasa", + cf: "Central African Republic", + cg: "Congo - Brazzaville", + ch: "Switzerland", + ci: "C\xF4te d\u2019Ivoire", + ck: "Cook Islands", + cl: "Chile", + cm: "Cameroon", + cn: "China", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cape Verde", + cw: "Cura\xE7ao", + cx: "Christmas Island", + cy: "Cyprus", + cz: "Czechia", + de: "Germany", + dj: "Djibouti", + dk: "Denmark", + dm: "Dominica", + do: "Dominican Republic", + dz: "Algeria", + ec: "Ecuador", + ee: "Estonia", + eg: "Egypt", + eh: "Western Sahara", + er: "Eritrea", + es: "Spain", + et: "Ethiopia", + fi: "Finland", + fj: "Fiji", + fk: "Falkland Islands", + fm: "Micronesia", + fo: "Faroe Islands", + fr: "France", + ga: "Gabon", + gb: "United Kingdom", + gd: "Grenada", + ge: "Georgia", + gf: "French Guiana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Greenland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Equatorial Guinea", + gr: "Greece", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hong Kong SAR China", + hn: "Honduras", + hr: "Croatia", + ht: "Haiti", + hu: "Hungary", + id: "Indonesia", + ie: "Ireland", + il: "Israel", + im: "Isle of Man", + in: "India", + io: "British Indian Ocean Territory", + iq: "Iraq", + ir: "Iran", + is: "Iceland", + it: "Italy", + je: "Jersey", + jm: "Jamaica", + jo: "Jordan", + jp: "Japan", + ke: "Kenya", + kg: "Kyrgyzstan", + kh: "Cambodia", + ki: "Kiribati", + km: "Comoros", + kn: "St. Kitts & Nevis", + kp: "North Korea", + kr: "South Korea", + kw: "Kuwait", + ky: "Cayman Islands", + kz: "Kazakhstan", + la: "Laos", + lb: "Lebanon", + lc: "St. Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Lithuania", + lu: "Luxembourg", + lv: "Latvia", + ly: "Libya", + ma: "Morocco", + mc: "Monaco", + md: "Moldova", + me: "Montenegro", + mf: "St. Martin", + mg: "Madagascar", + mh: "Marshall Islands", + mk: "North Macedonia", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongolia", + mo: "Macao SAR China", + mp: "Northern Mariana Islands", + mq: "Martinique", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldives", + mw: "Malawi", + mx: "Mexico", + my: "Malaysia", + mz: "Mozambique", + na: "Namibia", + nc: "New Caledonia", + ne: "Niger", + nf: "Norfolk Island", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Netherlands", + no: "Norway", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "New Zealand", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "French Polynesia", + pg: "Papua New Guinea", + ph: "Philippines", + pk: "Pakistan", + pl: "Poland", + pm: "St. Pierre & Miquelon", + pr: "Puerto Rico", + ps: "Palestinian Territories", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "R\xE9union", + ro: "Romania", + rs: "Serbia", + ru: "Russia", + rw: "Rwanda", + sa: "Saudi Arabia", + sb: "Solomon Islands", + sc: "Seychelles", + sd: "Sudan", + se: "Sweden", + sg: "Singapore", + sh: "St. Helena", + si: "Slovenia", + sj: "Svalbard & Jan Mayen", + sk: "Slovakia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "South Sudan", + st: "S\xE3o Tom\xE9 & Pr\xEDncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syria", + sz: "Eswatini", + tc: "Turks & Caicos Islands", + td: "Chad", + tg: "Togo", + th: "Thailand", + tj: "Tajikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Turkey", + tt: "Trinidad & Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ukraine", + ug: "Uganda", + us: "United States", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Vatican City", + vc: "St. Vincent & Grenadines", + ve: "Venezuela", + vg: "British Virgin Islands", + vi: "U.S. Virgin Islands", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis & Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "South Africa", + zm: "Zambia", + zw: "Zimbabwe" + }; + var countries_default = countryTranslations; + + // src/js/intl-tel-input/i18n/en/interface.ts + var interfaceTranslations = { + selectedCountryAriaLabel: "Selected country", + noCountrySelected: "No country selected", + countryListAriaLabel: "List of countries", + searchPlaceholder: "Search", + zeroSearchResults: "No results found", + oneSearchResult: "1 result found", + multipleSearchResults: "${count} results found", + // additional countries (not supported by country-list library) + ac: "Ascension Island", + xk: "Kosovo" + }; + var interface_default = interfaceTranslations; + + // src/js/intl-tel-input/i18n/en/index.ts + var allTranslations = { ...countries_default, ...interface_default }; + var en_default = allTranslations; + + // src/js/intl-tel-input.ts + for (let i = 0; i < data_default.length; i++) { + data_default[i].name = en_default[data_default[i].iso2]; + } + var id = 0; + var defaults = { + //* Whether or not to allow the dropdown. + allowDropdown: true, + //* Add a placeholder in the input with an example number for the selected country. + autoPlaceholder: "polite", + //* Modify the parentClass. + containerClass: "", + //* The order of the countries in the dropdown. Defaults to alphabetical. + countryOrder: null, + //* Add a country search input at the top of the dropdown. + countrySearch: true, + //* Modify the auto placeholder. + customPlaceholder: null, + //* Append menu to specified element. + dropdownContainer: null, + //* Don't display these countries. + excludeCountries: [], + //* Fix the dropdown width to the input width (rather than being as wide as the longest country name). + fixDropdownWidth: true, + //* Format the number as the user types + formatAsYouType: true, + //* Format the input value during initialisation and on setNumber. + formatOnDisplay: true, + //* geoIp lookup function. + geoIpLookup: null, + //* Inject a hidden input with the name returned from this function, and on submit, populate it with the result of getNumber. + hiddenInput: null, + //* Internationalise the plugin text e.g. search input placeholder, country names. + i18n: {}, + //* Initial country. + initialCountry: "", + //* A function to load the utils script. + loadUtils: null, + //* National vs international formatting for numbers e.g. placeholders and displaying existing numbers. + nationalMode: true, + //* Display only these countries. + onlyCountries: [], + //* Number type to use for placeholders. + placeholderNumberType: "MOBILE", + //* Show flags - for both the selected country, and in the country dropdown + showFlags: true, + //* Display the international dial code next to the selected flag. + separateDialCode: false, + //* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length. + strictMode: false, + //* Use full screen popup instead of dropdown for country list. + useFullscreenPopup: typeof navigator !== "undefined" && typeof window !== "undefined" ? ( + //* We cannot just test screen size as some smartphones/website meta tags will report desktop resolutions. + //* Note: to target Android Mobiles (and not Tablets), we must find 'Android' and 'Mobile' + /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test( + navigator.userAgent + ) || window.innerWidth <= 500 + ) : false, + //* The number type to enforce during validation. + validationNumberTypes: ["MOBILE"] + }; + var regionlessNanpNumbers = [ + "800", + "822", + "833", + "844", + "855", + "866", + "877", + "880", + "881", + "882", + "883", + "884", + "885", + "886", + "887", + "888", + "889" + ]; + var getNumeric = (s) => s.replace(/\D/g, ""); + var normaliseString = (s = "") => s.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(); + var isRegionlessNanp = (number) => { + const numeric = getNumeric(number); + if (numeric.charAt(0) === "1") { + const areaCode = numeric.substr(1, 3); + return regionlessNanpNumbers.includes(areaCode); + } + return false; + }; + var translateCursorPosition = (relevantChars, formattedValue, prevCaretPos, isDeleteForwards) => { + if (prevCaretPos === 0 && !isDeleteForwards) { + return 0; + } + let count = 0; + for (let i = 0; i < formattedValue.length; i++) { + if (/[+0-9]/.test(formattedValue[i])) { + count++; + } + if (count === relevantChars && !isDeleteForwards) { + return i + 1; + } + if (isDeleteForwards && count === relevantChars + 1) { + return i; + } + } + return formattedValue.length; + }; + var createEl = (name, attrs, container) => { + const el = document.createElement(name); + if (attrs) { + Object.entries(attrs).forEach(([key, value]) => el.setAttribute(key, value)); + } + if (container) { + container.appendChild(el); + } + return el; + }; + var forEachInstance = (method, ...args) => { + const { instances } = intlTelInput; + Object.values(instances).forEach((instance) => instance[method](...args)); + }; + var Iti = class { + constructor(input, customOptions = {}) { + this.id = id++; + this.telInput = input; + this.highlightedItem = null; + this.options = Object.assign({}, defaults, customOptions); + this.hadInitialPlaceholder = Boolean(input.getAttribute("placeholder")); + } + //* Can't be private as it's called from intlTelInput convenience wrapper. + _init() { + if (this.options.useFullscreenPopup) { + this.options.fixDropdownWidth = false; + } + if (this.options.onlyCountries.length === 1) { + this.options.initialCountry = this.options.onlyCountries[0]; + } + if (this.options.separateDialCode) { + this.options.nationalMode = false; + } + if (this.options.allowDropdown && !this.options.showFlags && !this.options.separateDialCode) { + this.options.nationalMode = false; + } + if (this.options.useFullscreenPopup && !this.options.dropdownContainer) { + this.options.dropdownContainer = document.body; + } + this.isAndroid = typeof navigator !== "undefined" ? /Android/i.test(navigator.userAgent) : false; + this.isRTL = !!this.telInput.closest("[dir=rtl]"); + const showOnDefaultSide = this.options.allowDropdown || this.options.separateDialCode; + this.showSelectedCountryOnLeft = this.isRTL ? !showOnDefaultSide : showOnDefaultSide; + if (this.options.separateDialCode) { + if (this.isRTL) { + this.originalPaddingRight = this.telInput.style.paddingRight; + } else { + this.originalPaddingLeft = this.telInput.style.paddingLeft; + } + } + this.options.i18n = { ...en_default, ...this.options.i18n }; + const autoCountryPromise = new Promise((resolve, reject) => { + this.resolveAutoCountryPromise = resolve; + this.rejectAutoCountryPromise = reject; + }); + const utilsScriptPromise = new Promise((resolve, reject) => { + this.resolveUtilsScriptPromise = resolve; + this.rejectUtilsScriptPromise = reject; + }); + this.promise = Promise.all([autoCountryPromise, utilsScriptPromise]); + this.selectedCountryData = {}; + this._processCountryData(); + this._generateMarkup(); + this._setInitialState(); + this._initListeners(); + this._initRequests(); + } + //******************** + //* PRIVATE METHODS + //******************** + //* Prepare all of the country data, including onlyCountries, excludeCountries, countryOrder options. + _processCountryData() { + this._processAllCountries(); + this._processDialCodes(); + this._translateCountryNames(); + this._sortCountries(); + } + //* Sort countries by countryOrder option (if present), then name. + _sortCountries() { + if (this.options.countryOrder) { + this.options.countryOrder = this.options.countryOrder.map((country) => country.toLowerCase()); + } + this.countries.sort((a, b) => { + const { countryOrder } = this.options; + if (countryOrder) { + const aIndex = countryOrder.indexOf(a.iso2); + const bIndex = countryOrder.indexOf(b.iso2); + const aIndexExists = aIndex > -1; + const bIndexExists = bIndex > -1; + if (aIndexExists || bIndexExists) { + if (aIndexExists && bIndexExists) { + return aIndex - bIndex; + } + return aIndexExists ? -1 : 1; + } + } + return a.name.localeCompare(b.name); + }); + } + //* Add a dial code to this.dialCodeToIso2Map. + _addToDialCodeMap(iso2, dialCode, priority) { + if (dialCode.length > this.dialCodeMaxLen) { + this.dialCodeMaxLen = dialCode.length; + } + if (!this.dialCodeToIso2Map.hasOwnProperty(dialCode)) { + this.dialCodeToIso2Map[dialCode] = []; + } + for (let i = 0; i < this.dialCodeToIso2Map[dialCode].length; i++) { + if (this.dialCodeToIso2Map[dialCode][i] === iso2) { + return; + } + } + const index = priority !== void 0 ? priority : this.dialCodeToIso2Map[dialCode].length; + this.dialCodeToIso2Map[dialCode][index] = iso2; + } + //* Process onlyCountries or excludeCountries array if present. + _processAllCountries() { + const { onlyCountries, excludeCountries } = this.options; + if (onlyCountries.length) { + const lowerCaseOnlyCountries = onlyCountries.map( + (country) => country.toLowerCase() + ); + this.countries = data_default.filter( + (country) => lowerCaseOnlyCountries.includes(country.iso2) + ); + } else if (excludeCountries.length) { + const lowerCaseExcludeCountries = excludeCountries.map( + (country) => country.toLowerCase() + ); + this.countries = data_default.filter( + (country) => !lowerCaseExcludeCountries.includes(country.iso2) + ); + } else { + this.countries = data_default; + } + } + //* Translate Countries by object literal provided on config. + _translateCountryNames() { + for (let i = 0; i < this.countries.length; i++) { + const iso2 = this.countries[i].iso2.toLowerCase(); + if (this.options.i18n.hasOwnProperty(iso2)) { + this.countries[i].name = this.options.i18n[iso2]; + } + } + } + //* Generate this.dialCodes and this.dialCodeToIso2Map. + _processDialCodes() { + this.dialCodes = {}; + this.dialCodeMaxLen = 0; + this.dialCodeToIso2Map = {}; + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + if (!this.dialCodes[c.dialCode]) { + this.dialCodes[c.dialCode] = true; + } + this._addToDialCodeMap(c.iso2, c.dialCode, c.priority); + } + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + if (c.areaCodes) { + const rootIso2Code = this.dialCodeToIso2Map[c.dialCode][0]; + for (let j = 0; j < c.areaCodes.length; j++) { + const areaCode = c.areaCodes[j]; + for (let k = 1; k < areaCode.length; k++) { + const partialAreaCode = areaCode.substr(0, k); + const partialDialCode = c.dialCode + partialAreaCode; + this._addToDialCodeMap(rootIso2Code, partialDialCode); + this._addToDialCodeMap(c.iso2, partialDialCode); + } + this._addToDialCodeMap(c.iso2, c.dialCode + areaCode); + } + } + } + } + //* Generate all of the markup for the plugin: the selected country overlay, and the dropdown. + _generateMarkup() { + this.telInput.classList.add("iti__tel-input"); + if (!this.telInput.hasAttribute("autocomplete") && !(this.telInput.form && this.telInput.form.hasAttribute("autocomplete"))) { + this.telInput.setAttribute("autocomplete", "off"); + } + const { + allowDropdown, + separateDialCode, + showFlags, + containerClass, + hiddenInput, + dropdownContainer, + fixDropdownWidth, + useFullscreenPopup, + countrySearch, + i18n + } = this.options; + let parentClass = "iti"; + if (allowDropdown) { + parentClass += " iti--allow-dropdown"; + } + if (showFlags) { + parentClass += " iti--show-flags"; + } + if (containerClass) { + parentClass += ` ${containerClass}`; + } + if (!useFullscreenPopup) { + parentClass += " iti--inline-dropdown"; + } + const wrapper = createEl("div", { class: parentClass }); + this.telInput.parentNode?.insertBefore(wrapper, this.telInput); + if (allowDropdown || showFlags || separateDialCode) { + this.countryContainer = createEl( + "div", + { class: "iti__country-container" }, + wrapper + ); + if (this.showSelectedCountryOnLeft) { + this.countryContainer.style.left = "0px"; + } else { + this.countryContainer.style.right = "0px"; + } + if (allowDropdown) { + this.selectedCountry = createEl( + "button", + { + type: "button", + class: "iti__selected-country", + "aria-expanded": "false", + "aria-label": this.options.i18n.selectedCountryAriaLabel, + "aria-haspopup": "true", + "aria-controls": `iti-${this.id}__dropdown-content`, + "role": "combobox" + }, + this.countryContainer + ); + if (this.telInput.disabled) { + this.selectedCountry.setAttribute("disabled", "true"); + } + } else { + this.selectedCountry = createEl( + "div", + { class: "iti__selected-country" }, + this.countryContainer + ); + } + const selectedCountryPrimary = createEl("div", { class: "iti__selected-country-primary" }, this.selectedCountry); + this.selectedCountryInner = createEl("div", { class: "iti__flag" }, selectedCountryPrimary); + this.selectedCountryA11yText = createEl( + "span", + { class: "iti__a11y-text" }, + this.selectedCountryInner + ); + if (allowDropdown) { + this.dropdownArrow = createEl( + "div", + { class: "iti__arrow", "aria-hidden": "true" }, + selectedCountryPrimary + ); + } + if (separateDialCode) { + this.selectedDialCode = createEl( + "div", + { class: "iti__selected-dial-code" }, + this.selectedCountry + ); + } + if (allowDropdown) { + const extraClasses = fixDropdownWidth ? "" : "iti--flexible-dropdown-width"; + this.dropdownContent = createEl("div", { + id: `iti-${this.id}__dropdown-content`, + class: `iti__dropdown-content iti__hide ${extraClasses}` + }); + if (countrySearch) { + this.searchInput = createEl( + "input", + { + type: "text", + class: "iti__search-input", + placeholder: i18n.searchPlaceholder, + role: "combobox", + "aria-expanded": "true", + "aria-label": i18n.searchPlaceholder, + "aria-controls": `iti-${this.id}__country-listbox`, + "aria-autocomplete": "list", + "autocomplete": "off" + }, + this.dropdownContent + ); + this.searchResultsA11yText = createEl( + "span", + { class: "iti__a11y-text" }, + this.dropdownContent + ); + } + this.countryList = createEl( + "ul", + { + class: "iti__country-list", + id: `iti-${this.id}__country-listbox`, + role: "listbox", + "aria-label": i18n.countryListAriaLabel + }, + this.dropdownContent + ); + this._appendListItems(); + if (countrySearch) { + this._updateSearchResultsText(); + } + if (dropdownContainer) { + let dropdownClasses = "iti iti--container"; + if (useFullscreenPopup) { + dropdownClasses += " iti--fullscreen-popup"; + } else { + dropdownClasses += " iti--inline-dropdown"; + } + this.dropdown = createEl("div", { class: dropdownClasses }); + this.dropdown.appendChild(this.dropdownContent); + } else { + this.countryContainer.appendChild(this.dropdownContent); + } + } + } + wrapper.appendChild(this.telInput); + this._updateInputPadding(); + if (hiddenInput) { + const telInputName = this.telInput.getAttribute("name") || ""; + const names = hiddenInput(telInputName); + if (names.phone) { + const existingInput = this.telInput.form?.querySelector(`input[name="${names.phone}"]`); + if (existingInput) { + this.hiddenInput = existingInput; + } else { + this.hiddenInput = createEl("input", { + type: "hidden", + name: names.phone + }); + wrapper.appendChild(this.hiddenInput); + } + } + if (names.country) { + const existingInput = this.telInput.form?.querySelector(`input[name="${names.country}"]`); + if (existingInput) { + this.hiddenInputCountry = existingInput; + } else { + this.hiddenInputCountry = createEl("input", { + type: "hidden", + name: names.country + }); + wrapper.appendChild(this.hiddenInputCountry); + } + } + } + } + //* For each country: add a country list item
  • to the countryList
      container. + _appendListItems() { + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + const extraClass = i === 0 ? "iti__highlight" : ""; + const listItem = createEl( + "li", + { + id: `iti-${this.id}__item-${c.iso2}`, + class: `iti__country ${extraClass}`, + tabindex: "-1", + role: "option", + "data-dial-code": c.dialCode, + "data-country-code": c.iso2, + "aria-selected": "false" + }, + this.countryList + ); + c.nodeById[this.id] = listItem; + let content = ""; + if (this.options.showFlags) { + content += `
      `; + } + content += `${c.name}`; + content += `+${c.dialCode}`; + listItem.insertAdjacentHTML("beforeend", content); + } + } + //* Set the initial state of the input value and the selected country by: + //* 1. Extracting a dial code from the given number + //* 2. Using explicit initialCountry + _setInitialState(overrideAutoCountry = false) { + const attributeValue = this.telInput.getAttribute("value"); + const inputValue = this.telInput.value; + const useAttribute = attributeValue && attributeValue.charAt(0) === "+" && (!inputValue || inputValue.charAt(0) !== "+"); + const val = useAttribute ? attributeValue : inputValue; + const dialCode = this._getDialCode(val); + const isRegionlessNanpNumber = isRegionlessNanp(val); + const { initialCountry, geoIpLookup } = this.options; + const isAutoCountry = initialCountry === "auto" && geoIpLookup; + if (dialCode && !isRegionlessNanpNumber) { + this._updateCountryFromNumber(val); + } else if (!isAutoCountry || overrideAutoCountry) { + const lowerInitialCountry = initialCountry ? initialCountry.toLowerCase() : ""; + const isValidInitialCountry = lowerInitialCountry && this._getCountryData(lowerInitialCountry, true); + if (isValidInitialCountry) { + this._setCountry(lowerInitialCountry); + } else { + if (dialCode && isRegionlessNanpNumber) { + this._setCountry("us"); + } else { + this._setCountry(); + } + } + } + if (val) { + this._updateValFromNumber(val); + } + } + //* Initialise the main event listeners: input keyup, and click selected country. + _initListeners() { + this._initTelInputListeners(); + if (this.options.allowDropdown) { + this._initDropdownListeners(); + } + if ((this.hiddenInput || this.hiddenInputCountry) && this.telInput.form) { + this._initHiddenInputListener(); + } + } + //* Update hidden input on form submit. + _initHiddenInputListener() { + this._handleHiddenInputSubmit = () => { + if (this.hiddenInput) { + this.hiddenInput.value = this.getNumber(); + } + if (this.hiddenInputCountry) { + this.hiddenInputCountry.value = this.getSelectedCountryData().iso2 || ""; + } + }; + this.telInput.form?.addEventListener( + "submit", + this._handleHiddenInputSubmit + ); + } + //* initialise the dropdown listeners. + _initDropdownListeners() { + this._handleLabelClick = (e) => { + if (this.dropdownContent.classList.contains("iti__hide")) { + this.telInput.focus(); + } else { + e.preventDefault(); + } + }; + const label = this.telInput.closest("label"); + if (label) { + label.addEventListener("click", this._handleLabelClick); + } + this._handleClickSelectedCountry = () => { + if (this.dropdownContent.classList.contains("iti__hide") && !this.telInput.disabled && !this.telInput.readOnly) { + this._openDropdown(); + } + }; + this.selectedCountry.addEventListener("click", this._handleClickSelectedCountry); + this._handleCountryContainerKeydown = (e) => { + const isDropdownHidden = this.dropdownContent.classList.contains("iti__hide"); + if (isDropdownHidden && ["ArrowUp", "ArrowDown", " ", "Enter"].includes(e.key)) { + e.preventDefault(); + e.stopPropagation(); + this._openDropdown(); + } + if (e.key === "Tab") { + this._closeDropdown(); + } + }; + this.countryContainer.addEventListener( + "keydown", + this._handleCountryContainerKeydown + ); + } + //* Init many requests: utils script / geo ip lookup. + _initRequests() { + let { loadUtils, initialCountry, geoIpLookup } = this.options; + if (loadUtils && !intlTelInput.utils) { + this._handlePageLoad = () => { + window.removeEventListener("load", this._handlePageLoad); + intlTelInput.attachUtils(loadUtils)?.catch(() => { + }); + }; + if (intlTelInput.documentReady()) { + this._handlePageLoad(); + } else { + window.addEventListener("load", this._handlePageLoad); + } + } else { + this.resolveUtilsScriptPromise(); + } + const isAutoCountry = initialCountry === "auto" && geoIpLookup; + if (isAutoCountry && !this.selectedCountryData.iso2) { + this._loadAutoCountry(); + } else { + this.resolveAutoCountryPromise(); + } + } + //* Perform the geo ip lookup. + _loadAutoCountry() { + if (intlTelInput.autoCountry) { + this.handleAutoCountry(); + } else if (!intlTelInput.startedLoadingAutoCountry) { + intlTelInput.startedLoadingAutoCountry = true; + if (typeof this.options.geoIpLookup === "function") { + this.options.geoIpLookup( + (iso2 = "") => { + const iso2Lower = iso2.toLowerCase(); + const isValidIso2 = iso2Lower && this._getCountryData(iso2Lower, true); + if (isValidIso2) { + intlTelInput.autoCountry = iso2Lower; + setTimeout(() => forEachInstance("handleAutoCountry")); + } else { + this._setInitialState(true); + forEachInstance("rejectAutoCountryPromise"); + } + }, + () => { + this._setInitialState(true); + forEachInstance("rejectAutoCountryPromise"); + } + ); + } + } + } + _openDropdownWithPlus() { + this._openDropdown(); + this.searchInput.value = "+"; + this._filterCountries("", true); + } + //* Initialize the tel input listeners. + _initTelInputListeners() { + const { strictMode, formatAsYouType, separateDialCode, formatOnDisplay, allowDropdown, countrySearch } = this.options; + let userOverrideFormatting = false; + if (/\p{L}/u.test(this.telInput.value)) { + userOverrideFormatting = true; + } + this._handleInputEvent = (e) => { + if (this.isAndroid && e?.data === "+" && separateDialCode && allowDropdown && countrySearch) { + const currentCaretPos = this.telInput.selectionStart || 0; + const valueBeforeCaret = this.telInput.value.substring(0, currentCaretPos - 1); + const valueAfterCaret = this.telInput.value.substring(currentCaretPos); + this.telInput.value = valueBeforeCaret + valueAfterCaret; + this._openDropdownWithPlus(); + return; + } + if (this._updateCountryFromNumber(this.telInput.value)) { + this._triggerCountryChange(); + } + const isFormattingChar = e?.data && /[^+0-9]/.test(e.data); + const isPaste = e?.inputType === "insertFromPaste" && this.telInput.value; + if (isFormattingChar || isPaste && !strictMode) { + userOverrideFormatting = true; + } else if (!/[^+0-9]/.test(this.telInput.value)) { + userOverrideFormatting = false; + } + const disableFormatOnSetNumber = e?.detail && e.detail["isSetNumber"] && !formatOnDisplay; + if (formatAsYouType && !userOverrideFormatting && !disableFormatOnSetNumber) { + const currentCaretPos = this.telInput.selectionStart || 0; + const valueBeforeCaret = this.telInput.value.substring(0, currentCaretPos); + const relevantCharsBeforeCaret = valueBeforeCaret.replace(/[^+0-9]/g, "").length; + const isDeleteForwards = e?.inputType === "deleteContentForward"; + const formattedValue = this._formatNumberAsYouType(); + const newCaretPos = translateCursorPosition(relevantCharsBeforeCaret, formattedValue, currentCaretPos, isDeleteForwards); + this.telInput.value = formattedValue; + this.telInput.setSelectionRange(newCaretPos, newCaretPos); + } + }; + this.telInput.addEventListener("input", this._handleInputEvent); + if (strictMode || separateDialCode) { + this._handleKeydownEvent = (e) => { + if (e.key && e.key.length === 1 && !e.altKey && !e.ctrlKey && !e.metaKey) { + if (separateDialCode && allowDropdown && countrySearch && e.key === "+") { + e.preventDefault(); + this._openDropdownWithPlus(); + return; + } + if (strictMode) { + const value = this.telInput.value; + const alreadyHasPlus = value.charAt(0) === "+"; + const isInitialPlus = !alreadyHasPlus && this.telInput.selectionStart === 0 && e.key === "+"; + const isNumeric = /^[0-9]$/.test(e.key); + const isAllowedChar = separateDialCode ? isNumeric : isInitialPlus || isNumeric; + const newValue = value.slice(0, this.telInput.selectionStart) + e.key + value.slice(this.telInput.selectionEnd); + const newFullNumber = this._getFullNumber(newValue); + const coreNumber = intlTelInput.utils.getCoreNumber(newFullNumber, this.selectedCountryData.iso2); + const hasExceededMaxLength = this.maxCoreNumberLength && coreNumber.length > this.maxCoreNumberLength; + let isChangingDialCode = false; + if (alreadyHasPlus) { + const currentCountry = this.selectedCountryData.iso2; + const newCountry = this._getCountryFromNumber(newFullNumber); + isChangingDialCode = newCountry !== currentCountry; + } + if (!isAllowedChar || hasExceededMaxLength && !isChangingDialCode && !isInitialPlus) { + e.preventDefault(); + } + } + } + }; + this.telInput.addEventListener("keydown", this._handleKeydownEvent); + } + } + //* Adhere to the input's maxlength attr. + _cap(number) { + const max = parseInt(this.telInput.getAttribute("maxlength") || "", 10); + return max && number.length > max ? number.substr(0, max) : number; + } + //* Trigger a custom event on the input. + _trigger(name, detailProps = {}) { + const e = new CustomEvent(name, { + bubbles: true, + cancelable: true, + detail: detailProps + }); + this.telInput.dispatchEvent(e); + } + //* Open the dropdown. + _openDropdown() { + const { fixDropdownWidth, countrySearch } = this.options; + if (fixDropdownWidth) { + this.dropdownContent.style.width = `${this.telInput.offsetWidth}px`; + } + this.dropdownContent.classList.remove("iti__hide"); + this.selectedCountry.setAttribute("aria-expanded", "true"); + this._setDropdownPosition(); + if (countrySearch) { + const firstCountryItem = this.countryList.firstElementChild; + if (firstCountryItem) { + this._highlightListItem(firstCountryItem, false); + this.countryList.scrollTop = 0; + } + this.searchInput.focus(); + } + this._bindDropdownListeners(); + this.dropdownArrow.classList.add("iti__arrow--up"); + this._trigger("open:countrydropdown"); + } + //* Set the dropdown position + _setDropdownPosition() { + if (this.options.dropdownContainer) { + this.options.dropdownContainer.appendChild(this.dropdown); + } + if (!this.options.useFullscreenPopup) { + const inputPosRelativeToVP = this.telInput.getBoundingClientRect(); + const inputHeight = this.telInput.offsetHeight; + if (this.options.dropdownContainer) { + this.dropdown.style.top = `${inputPosRelativeToVP.top + inputHeight}px`; + this.dropdown.style.left = `${inputPosRelativeToVP.left}px`; + this._handleWindowScroll = () => this._closeDropdown(); + window.addEventListener("scroll", this._handleWindowScroll); + } + } + } + //* We only bind dropdown listeners when the dropdown is open. + _bindDropdownListeners() { + this._handleMouseoverCountryList = (e) => { + const listItem = e.target?.closest(".iti__country"); + if (listItem) { + this._highlightListItem(listItem, false); + } + }; + this.countryList.addEventListener( + "mouseover", + this._handleMouseoverCountryList + ); + this._handleClickCountryList = (e) => { + const listItem = e.target?.closest(".iti__country"); + if (listItem) { + this._selectListItem(listItem); + } + }; + this.countryList.addEventListener("click", this._handleClickCountryList); + let isOpening = true; + this._handleClickOffToClose = () => { + if (!isOpening) { + this._closeDropdown(); + } + isOpening = false; + }; + document.documentElement.addEventListener( + "click", + this._handleClickOffToClose + ); + let query = ""; + let queryTimer = null; + this._handleKeydownOnDropdown = (e) => { + if (["ArrowUp", "ArrowDown", "Enter", "Escape"].includes(e.key)) { + e.preventDefault(); + e.stopPropagation(); + if (e.key === "ArrowUp" || e.key === "ArrowDown") { + this._handleUpDownKey(e.key); + } else if (e.key === "Enter") { + this._handleEnterKey(); + } else if (e.key === "Escape") { + this._closeDropdown(); + } + } + if (!this.options.countrySearch && /^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e.key)) { + e.stopPropagation(); + if (queryTimer) { + clearTimeout(queryTimer); + } + query += e.key.toLowerCase(); + this._searchForCountry(query); + queryTimer = setTimeout(() => { + query = ""; + }, 1e3); + } + }; + document.addEventListener("keydown", this._handleKeydownOnDropdown); + if (this.options.countrySearch) { + const doFilter = () => { + const inputQuery = this.searchInput.value.trim(); + if (inputQuery) { + this._filterCountries(inputQuery); + } else { + this._filterCountries("", true); + } + }; + let keyupTimer = null; + this._handleSearchChange = () => { + if (keyupTimer) { + clearTimeout(keyupTimer); + } + keyupTimer = setTimeout(() => { + doFilter(); + keyupTimer = null; + }, 100); + }; + this.searchInput.addEventListener("input", this._handleSearchChange); + this.searchInput.addEventListener("click", (e) => e.stopPropagation()); + } + } + //* Hidden search (countrySearch disabled): Find the first list item whose name starts with the query string. + _searchForCountry(query) { + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + const startsWith = c.name.substr(0, query.length).toLowerCase() === query; + if (startsWith) { + const listItem = c.nodeById[this.id]; + this._highlightListItem(listItem, false); + this._scrollTo(listItem); + break; + } + } + } + //* Country search enabled: Filter the countries according to the search query. + _filterCountries(query, isReset = false) { + let noCountriesAddedYet = true; + this.countryList.innerHTML = ""; + const normalisedQuery = normaliseString(query); + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + const normalisedCountryName = normaliseString(c.name); + const countryInitials = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((word) => word[0]).join("").toLowerCase(); + const fullDialCode = `+${c.dialCode}`; + if (isReset || normalisedCountryName.includes(normalisedQuery) || fullDialCode.includes(normalisedQuery) || c.iso2.includes(normalisedQuery) || countryInitials.includes(normalisedQuery)) { + const listItem = c.nodeById[this.id]; + if (listItem) { + this.countryList.appendChild(listItem); + } + if (noCountriesAddedYet) { + this._highlightListItem(listItem, false); + noCountriesAddedYet = false; + } + } + } + if (noCountriesAddedYet) { + this._highlightListItem(null, false); + } + this.countryList.scrollTop = 0; + this._updateSearchResultsText(); + } + //* Update search results text (for a11y). + _updateSearchResultsText() { + const { i18n } = this.options; + const count = this.countryList.childElementCount; + let searchText; + if (count === 0) { + searchText = i18n.zeroSearchResults; + } else if (count === 1) { + searchText = i18n.oneSearchResult; + } else { + searchText = i18n.multipleSearchResults.replace("${count}", count.toString()); + } + this.searchResultsA11yText.textContent = searchText; + } + //* Highlight the next/prev item in the list (and ensure it is visible). + _handleUpDownKey(key) { + let next = key === "ArrowUp" ? this.highlightedItem?.previousElementSibling : this.highlightedItem?.nextElementSibling; + if (!next && this.countryList.childElementCount > 1) { + next = key === "ArrowUp" ? this.countryList.lastElementChild : this.countryList.firstElementChild; + } + if (next) { + this._scrollTo(next); + this._highlightListItem(next, false); + } + } + //* Select the currently highlighted item. + _handleEnterKey() { + if (this.highlightedItem) { + this._selectListItem(this.highlightedItem); + } + } + //* Update the input's value to the given val (format first if possible) + //* NOTE: this is called from _setInitialState, handleUtils and setNumber. + _updateValFromNumber(fullNumber) { + let number = fullNumber; + if (this.options.formatOnDisplay && intlTelInput.utils && this.selectedCountryData) { + const useNational = this.options.nationalMode || number.charAt(0) !== "+" && !this.options.separateDialCode; + const { NATIONAL, INTERNATIONAL } = intlTelInput.utils.numberFormat; + const format = useNational ? NATIONAL : INTERNATIONAL; + number = intlTelInput.utils.formatNumber( + number, + this.selectedCountryData.iso2, + format + ); + } + number = this._beforeSetNumber(number); + this.telInput.value = number; + } + //* Check if need to select a new country based on the given number + //* Note: called from _setInitialState, keyup handler, setNumber. + _updateCountryFromNumber(fullNumber) { + const iso2 = this._getCountryFromNumber(fullNumber); + if (iso2 !== null) { + return this._setCountry(iso2); + } + return false; + } + _ensureHasDialCode(number) { + const { dialCode, nationalPrefix } = this.selectedCountryData; + const alreadyHasPlus = number.charAt(0) === "+"; + if (alreadyHasPlus || !dialCode) { + return number; + } + const hasPrefix = nationalPrefix && number.charAt(0) === nationalPrefix && !this.options.separateDialCode; + const cleanNumber = hasPrefix ? number.substring(1) : number; + return `+${dialCode}${cleanNumber}`; + } + _getCountryFromNumber(fullNumber) { + const plusIndex = fullNumber.indexOf("+"); + let number = plusIndex ? fullNumber.substring(plusIndex) : fullNumber; + const selectedIso2 = this.selectedCountryData.iso2; + const selectedDialCode = this.selectedCountryData.dialCode; + number = this._ensureHasDialCode(number); + const dialCodeMatch = this._getDialCode(number, true); + const numeric = getNumeric(number); + if (dialCodeMatch) { + const dialCodeMatchNumeric = getNumeric(dialCodeMatch); + const iso2Codes = this.dialCodeToIso2Map[dialCodeMatchNumeric]; + if (!selectedIso2 && this.defaultCountry && iso2Codes.includes(this.defaultCountry)) { + return this.defaultCountry; + } + const alreadySelected = selectedIso2 && iso2Codes.includes(selectedIso2) && (numeric.length === dialCodeMatchNumeric.length || !this.selectedCountryData.areaCodes); + const isRegionlessNanpNumber = selectedDialCode === "1" && isRegionlessNanp(numeric); + if (!isRegionlessNanpNumber && !alreadySelected) { + for (let j = 0; j < iso2Codes.length; j++) { + if (iso2Codes[j]) { + return iso2Codes[j]; + } + } + } + } else if (number.charAt(0) === "+" && numeric.length) { + return ""; + } else if ((!number || number === "+") && !this.selectedCountryData.iso2) { + return this.defaultCountry; + } + return null; + } + //* Remove highlighting from other list items and highlight the given item. + _highlightListItem(listItem, shouldFocus) { + const prevItem = this.highlightedItem; + if (prevItem) { + prevItem.classList.remove("iti__highlight"); + prevItem.setAttribute("aria-selected", "false"); + } + this.highlightedItem = listItem; + if (this.highlightedItem) { + this.highlightedItem.classList.add("iti__highlight"); + this.highlightedItem.setAttribute("aria-selected", "true"); + const activeDescendant = this.highlightedItem.getAttribute("id") || ""; + this.selectedCountry.setAttribute("aria-activedescendant", activeDescendant); + if (this.options.countrySearch) { + this.searchInput.setAttribute("aria-activedescendant", activeDescendant); + } + } + if (shouldFocus) { + this.highlightedItem.focus(); + } + } + //* Find the country data for the given iso2 code + //* the ignoreOnlyCountriesOption is only used during init() while parsing the onlyCountries array + _getCountryData(iso2, allowFail) { + for (let i = 0; i < this.countries.length; i++) { + if (this.countries[i].iso2 === iso2) { + return this.countries[i]; + } + } + if (allowFail) { + return null; + } + throw new Error(`No country data for '${iso2}'`); + } + //* Update the selected country, dial code (if separateDialCode), placeholder, title, and active list item. + //* Note: called from _setInitialState, _updateCountryFromNumber, _selectListItem, setCountry. + _setCountry(iso2) { + const { separateDialCode, showFlags, i18n } = this.options; + const prevCountry = this.selectedCountryData.iso2 ? this.selectedCountryData : {}; + this.selectedCountryData = iso2 ? this._getCountryData(iso2, false) || {} : {}; + if (this.selectedCountryData.iso2) { + this.defaultCountry = this.selectedCountryData.iso2; + } + if (this.selectedCountryInner) { + let flagClass = ""; + let a11yText = ""; + if (iso2 && showFlags) { + flagClass = `iti__flag iti__${iso2}`; + a11yText = `${this.selectedCountryData.name} +${this.selectedCountryData.dialCode}`; + } else { + flagClass = "iti__flag iti__globe"; + a11yText = i18n.noCountrySelected; + } + this.selectedCountryInner.className = flagClass; + this.selectedCountryA11yText.textContent = a11yText; + } + this._setSelectedCountryTitleAttribute(iso2, separateDialCode); + if (separateDialCode) { + const dialCode = this.selectedCountryData.dialCode ? `+${this.selectedCountryData.dialCode}` : ""; + this.selectedDialCode.innerHTML = dialCode; + this._updateInputPadding(); + } + this._updatePlaceholder(); + this._updateMaxLength(); + return prevCountry.iso2 !== iso2; + } + //* Update the input padding to make space for the selected country/dial code. + _updateInputPadding() { + if (this.selectedCountry) { + const selectedCountryWidth = this.selectedCountry.offsetWidth || this._getHiddenSelectedCountryWidth(); + const inputPadding = selectedCountryWidth + 6; + if (this.showSelectedCountryOnLeft) { + this.telInput.style.paddingLeft = `${inputPadding}px`; + } else { + this.telInput.style.paddingRight = `${inputPadding}px`; + } + } + } + //* Update the maximum valid number length for the currently selected country. + _updateMaxLength() { + const { strictMode, placeholderNumberType, validationNumberTypes } = this.options; + const { iso2 } = this.selectedCountryData; + if (strictMode && intlTelInput.utils) { + if (iso2) { + const numberType = intlTelInput.utils.numberType[placeholderNumberType]; + let exampleNumber = intlTelInput.utils.getExampleNumber( + iso2, + false, + numberType, + true + ); + let validNumber = exampleNumber; + while (intlTelInput.utils.isPossibleNumber(exampleNumber, iso2, validationNumberTypes)) { + validNumber = exampleNumber; + exampleNumber += "0"; + } + const coreNumber = intlTelInput.utils.getCoreNumber(validNumber, iso2); + this.maxCoreNumberLength = coreNumber.length; + if (iso2 === "by") { + this.maxCoreNumberLength = coreNumber.length + 1; + } + } else { + this.maxCoreNumberLength = null; + } + } + } + _setSelectedCountryTitleAttribute(iso2 = null, separateDialCode) { + if (!this.selectedCountry) { + return; + } + let title; + if (iso2 && !separateDialCode) { + title = `${this.selectedCountryData.name}: +${this.selectedCountryData.dialCode}`; + } else if (iso2) { + title = this.selectedCountryData.name; + } else { + title = "Unknown"; + } + this.selectedCountry.setAttribute("title", title); + } + //* When the input is in a hidden container during initialisation, we must inject some markup + //* into the end of the DOM to calculate the correct offsetWidth. + //* NOTE: this is only used when separateDialCode is enabled, so countryContainer and selectedCountry + //* will definitely exist. + _getHiddenSelectedCountryWidth() { + if (this.telInput.parentNode) { + const containerClone = this.telInput.parentNode.cloneNode(false); + containerClone.style.visibility = "hidden"; + document.body.appendChild(containerClone); + const countryContainerClone = this.countryContainer.cloneNode(); + containerClone.appendChild(countryContainerClone); + const selectedCountryClone = this.selectedCountry.cloneNode(true); + countryContainerClone.appendChild(selectedCountryClone); + const width = selectedCountryClone.offsetWidth; + document.body.removeChild(containerClone); + return width; + } + return 0; + } + //* Update the input placeholder to an example number from the currently selected country. + _updatePlaceholder() { + const { + autoPlaceholder, + placeholderNumberType, + nationalMode, + customPlaceholder + } = this.options; + const shouldSetPlaceholder = autoPlaceholder === "aggressive" || !this.hadInitialPlaceholder && autoPlaceholder === "polite"; + if (intlTelInput.utils && shouldSetPlaceholder) { + const numberType = intlTelInput.utils.numberType[placeholderNumberType]; + let placeholder = this.selectedCountryData.iso2 ? intlTelInput.utils.getExampleNumber( + this.selectedCountryData.iso2, + nationalMode, + numberType + ) : ""; + placeholder = this._beforeSetNumber(placeholder); + if (typeof customPlaceholder === "function") { + placeholder = customPlaceholder(placeholder, this.selectedCountryData); + } + this.telInput.setAttribute("placeholder", placeholder); + } + } + //* Called when the user selects a list item from the dropdown. + _selectListItem(listItem) { + const countryChanged = this._setCountry( + listItem.getAttribute("data-country-code") + ); + this._closeDropdown(); + this._updateDialCode(listItem.getAttribute("data-dial-code")); + this.telInput.focus(); + if (countryChanged) { + this._triggerCountryChange(); + } + } + //* Close the dropdown and unbind any listeners. + _closeDropdown() { + this.dropdownContent.classList.add("iti__hide"); + this.selectedCountry.setAttribute("aria-expanded", "false"); + this.selectedCountry.removeAttribute("aria-activedescendant"); + if (this.highlightedItem) { + this.highlightedItem.setAttribute("aria-selected", "false"); + } + if (this.options.countrySearch) { + this.searchInput.removeAttribute("aria-activedescendant"); + } + this.dropdownArrow.classList.remove("iti__arrow--up"); + document.removeEventListener("keydown", this._handleKeydownOnDropdown); + if (this.options.countrySearch) { + this.searchInput.removeEventListener("input", this._handleSearchChange); + } + document.documentElement.removeEventListener( + "click", + this._handleClickOffToClose + ); + this.countryList.removeEventListener( + "mouseover", + this._handleMouseoverCountryList + ); + this.countryList.removeEventListener("click", this._handleClickCountryList); + if (this.options.dropdownContainer) { + if (!this.options.useFullscreenPopup) { + window.removeEventListener("scroll", this._handleWindowScroll); + } + if (this.dropdown.parentNode) { + this.dropdown.parentNode.removeChild(this.dropdown); + } + } + if (this._handlePageLoad) { + window.removeEventListener("load", this._handlePageLoad); + } + this._trigger("close:countrydropdown"); + } + //* Check if an element is visible within it's container, else scroll until it is. + _scrollTo(element) { + const container = this.countryList; + const scrollTop = document.documentElement.scrollTop; + const containerHeight = container.offsetHeight; + const containerTop = container.getBoundingClientRect().top + scrollTop; + const containerBottom = containerTop + containerHeight; + const elementHeight = element.offsetHeight; + const elementTop = element.getBoundingClientRect().top + scrollTop; + const elementBottom = elementTop + elementHeight; + const newScrollTop = elementTop - containerTop + container.scrollTop; + if (elementTop < containerTop) { + container.scrollTop = newScrollTop; + } else if (elementBottom > containerBottom) { + const heightDifference = containerHeight - elementHeight; + container.scrollTop = newScrollTop - heightDifference; + } + } + //* Replace any existing dial code with the new one + //* Note: called from _selectListItem and setCountry + _updateDialCode(newDialCodeBare) { + const inputVal = this.telInput.value; + const newDialCode = `+${newDialCodeBare}`; + let newNumber; + if (inputVal.charAt(0) === "+") { + const prevDialCode = this._getDialCode(inputVal); + if (prevDialCode) { + newNumber = inputVal.replace(prevDialCode, newDialCode); + } else { + newNumber = newDialCode; + } + this.telInput.value = newNumber; + } + } + //* Try and extract a valid international dial code from a full telephone number. + //* Note: returns the raw string inc plus character and any whitespace/dots etc. + _getDialCode(number, includeAreaCode) { + let dialCode = ""; + if (number.charAt(0) === "+") { + let numericChars = ""; + for (let i = 0; i < number.length; i++) { + const c = number.charAt(i); + if (!isNaN(parseInt(c, 10))) { + numericChars += c; + if (includeAreaCode) { + if (this.dialCodeToIso2Map[numericChars]) { + dialCode = number.substr(0, i + 1); + } + } else { + if (this.dialCodes[numericChars]) { + dialCode = number.substr(0, i + 1); + break; + } + } + if (numericChars.length === this.dialCodeMaxLen) { + break; + } + } + } + } + return dialCode; + } + //* Get the input val, adding the dial code if separateDialCode is enabled. + _getFullNumber(overrideVal) { + const val = overrideVal || this.telInput.value.trim(); + const { dialCode } = this.selectedCountryData; + let prefix; + const numericVal = getNumeric(val); + if (this.options.separateDialCode && val.charAt(0) !== "+" && dialCode && numericVal) { + prefix = `+${dialCode}`; + } else { + prefix = ""; + } + return prefix + val; + } + //* Remove the dial code if separateDialCode is enabled also cap the length if the input has a maxlength attribute + _beforeSetNumber(fullNumber) { + let number = fullNumber; + if (this.options.separateDialCode) { + let dialCode = this._getDialCode(number); + if (dialCode) { + dialCode = `+${this.selectedCountryData.dialCode}`; + const start = number[dialCode.length] === " " || number[dialCode.length] === "-" ? dialCode.length + 1 : dialCode.length; + number = number.substr(start); + } + } + return this._cap(number); + } + //* Trigger the 'countrychange' event. + _triggerCountryChange() { + this._trigger("countrychange"); + } + //* Format the number as the user types. + _formatNumberAsYouType() { + const val = this._getFullNumber(); + const result = intlTelInput.utils ? intlTelInput.utils.formatNumberAsYouType(val, this.selectedCountryData.iso2) : val; + const { dialCode } = this.selectedCountryData; + if (this.options.separateDialCode && this.telInput.value.charAt(0) !== "+" && result.includes(`+${dialCode}`)) { + const afterDialCode = result.split(`+${dialCode}`)[1] || ""; + return afterDialCode.trim(); + } + return result; + } + //************************** + //* SECRET PUBLIC METHODS + //************************** + //* This is called when the geoip call returns. + handleAutoCountry() { + if (this.options.initialCountry === "auto" && intlTelInput.autoCountry) { + this.defaultCountry = intlTelInput.autoCountry; + const hasSelectedCountryOrGlobe = this.selectedCountryData.iso2 || this.selectedCountryInner.classList.contains("iti__globe"); + if (!hasSelectedCountryOrGlobe) { + this.setCountry(this.defaultCountry); + } + this.resolveAutoCountryPromise(); + } + } + //* This is called when the utils request completes. + handleUtils() { + if (intlTelInput.utils) { + if (this.telInput.value) { + this._updateValFromNumber(this.telInput.value); + } + if (this.selectedCountryData.iso2) { + this._updatePlaceholder(); + this._updateMaxLength(); + } + } + this.resolveUtilsScriptPromise(); + } + //******************** + //* PUBLIC METHODS + //******************** + //* Remove plugin. + destroy() { + const { allowDropdown, separateDialCode } = this.options; + if (allowDropdown) { + this._closeDropdown(); + this.selectedCountry.removeEventListener( + "click", + this._handleClickSelectedCountry + ); + this.countryContainer.removeEventListener( + "keydown", + this._handleCountryContainerKeydown + ); + const label = this.telInput.closest("label"); + if (label) { + label.removeEventListener("click", this._handleLabelClick); + } + } + const { form } = this.telInput; + if (this._handleHiddenInputSubmit && form) { + form.removeEventListener("submit", this._handleHiddenInputSubmit); + } + this.telInput.removeEventListener("input", this._handleInputEvent); + if (this._handleKeydownEvent) { + this.telInput.removeEventListener("keydown", this._handleKeydownEvent); + } + this.telInput.removeAttribute("data-intl-tel-input-id"); + if (separateDialCode) { + if (this.isRTL) { + this.telInput.style.paddingRight = this.originalPaddingRight; + } else { + this.telInput.style.paddingLeft = this.originalPaddingLeft; + } + } + const wrapper = this.telInput.parentNode; + wrapper?.parentNode?.insertBefore(this.telInput, wrapper); + wrapper?.parentNode?.removeChild(wrapper); + delete intlTelInput.instances[this.id]; + } + //* Get the extension from the current number. + getExtension() { + if (intlTelInput.utils) { + return intlTelInput.utils.getExtension( + this._getFullNumber(), + this.selectedCountryData.iso2 + ); + } + return ""; + } + //* Format the number to the given format. + getNumber(format) { + if (intlTelInput.utils) { + const { iso2 } = this.selectedCountryData; + return intlTelInput.utils.formatNumber( + this._getFullNumber(), + iso2, + format + ); + } + return ""; + } + //* Get the type of the entered number e.g. landline/mobile. + getNumberType() { + if (intlTelInput.utils) { + return intlTelInput.utils.getNumberType( + this._getFullNumber(), + this.selectedCountryData.iso2 + ); + } + return -99; + } + //* Get the country data for the currently selected country. + getSelectedCountryData() { + return this.selectedCountryData; + } + //* Get the validation error. + getValidationError() { + if (intlTelInput.utils) { + const { iso2 } = this.selectedCountryData; + return intlTelInput.utils.getValidationError(this._getFullNumber(), iso2); + } + return -99; + } + //* Validate the input val + isValidNumber() { + if (!this.selectedCountryData.iso2) { + return false; + } + const val = this._getFullNumber(); + const alphaCharPosition = val.search(/\p{L}/u); + if (alphaCharPosition > -1) { + const beforeAlphaChar = val.substring(0, alphaCharPosition); + const beforeAlphaIsValid = this._utilsIsPossibleNumber(beforeAlphaChar); + const isValid = this._utilsIsPossibleNumber(val); + return beforeAlphaIsValid && isValid; + } + return this._utilsIsPossibleNumber(val); + } + _utilsIsPossibleNumber(val) { + return intlTelInput.utils ? intlTelInput.utils.isPossibleNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null; + } + //* Validate the input val (precise) + isValidNumberPrecise() { + if (!this.selectedCountryData.iso2) { + return false; + } + const val = this._getFullNumber(); + const alphaCharPosition = val.search(/\p{L}/u); + if (alphaCharPosition > -1) { + const beforeAlphaChar = val.substring(0, alphaCharPosition); + const beforeAlphaIsValid = this._utilsIsValidNumber(beforeAlphaChar); + const isValid = this._utilsIsValidNumber(val); + return beforeAlphaIsValid && isValid; + } + return this._utilsIsValidNumber(val); + } + _utilsIsValidNumber(val) { + return intlTelInput.utils ? intlTelInput.utils.isValidNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null; + } + //* Update the selected country, and update the input val accordingly. + setCountry(iso2) { + const iso2Lower = iso2?.toLowerCase(); + const currentCountry = this.selectedCountryData.iso2; + const isCountryChange = iso2 && iso2Lower !== currentCountry || !iso2 && currentCountry; + if (isCountryChange) { + this._setCountry(iso2Lower); + this._updateDialCode(this.selectedCountryData.dialCode); + this._triggerCountryChange(); + } + } + //* Set the input value and update the country. + setNumber(number) { + const countryChanged = this._updateCountryFromNumber(number); + this._updateValFromNumber(number); + if (countryChanged) { + this._triggerCountryChange(); + } + this._trigger("input", { isSetNumber: true }); + } + //* Set the placeholder number typ + setPlaceholderNumberType(type) { + this.options.placeholderNumberType = type; + this._updatePlaceholder(); + } + setDisabled(disabled) { + this.telInput.disabled = disabled; + if (disabled) { + this.selectedCountry.setAttribute("disabled", "true"); + } else { + this.selectedCountry.removeAttribute("disabled"); + } + } + }; + var attachUtils = (source) => { + if (!intlTelInput.utils && !intlTelInput.startedLoadingUtilsScript) { + let loadCall; + if (typeof source === "function") { + try { + loadCall = Promise.resolve(source()); + } catch (error) { + return Promise.reject(error); + } + } else { + return Promise.reject(new TypeError(`The argument passed to attachUtils must be a function that returns a promise for the utilities module, not ${typeof source}`)); + } + intlTelInput.startedLoadingUtilsScript = true; + return loadCall.then((module) => { + const utils = module?.default; + if (!utils || typeof utils !== "object") { + throw new TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export."); + } + intlTelInput.utils = utils; + forEachInstance("handleUtils"); + return true; + }).catch((error) => { + forEachInstance("rejectUtilsScriptPromise", error); + throw error; + }); + } + return null; + }; + var intlTelInput = Object.assign( + (input, options) => { + const iti = new Iti(input, options); + iti._init(); + input.setAttribute("data-intl-tel-input-id", iti.id.toString()); + intlTelInput.instances[iti.id] = iti; + return iti; + }, + { + defaults, + //* Using a static var like this allows us to mock it in the tests. + documentReady: () => document.readyState === "complete", + //* Get the country data object. + getCountryData: () => data_default, + //* A getter for the plugin instance. + getInstance: (input) => { + const id2 = input.getAttribute("data-intl-tel-input-id"); + return id2 ? intlTelInput.instances[id2] : null; + }, + //* A map from instance ID to instance object. + instances: {}, + attachUtils, + startedLoadingUtilsScript: false, + startedLoadingAutoCountry: false, + version: "25.3.0" + } + ); + var intl_tel_input_default = intlTelInput; + return __toCommonJS(intl_tel_input_exports); +})(); + +// UMD + return factoryOutput.default; +})); diff --git a/plugins/intl-tel-input/js/intlTelInput.min.js b/plugins/intl-tel-input/js/intlTelInput.min.js new file mode 100644 index 00000000..9825d286 --- /dev/null +++ b/plugins/intl-tel-input/js/intlTelInput.min.js @@ -0,0 +1,20 @@ +/* + * International Telephone Input v25.3.0 + * https://github.com/jackocnr/intl-tel-input.git + * Licensed under the MIT license + */ + +// UMD +(function(factory) { + if (typeof module === 'object' && module.exports) { + module.exports = factory(); + } else { + window.intlTelInput = factory(); + } +}(() => { + +var factoryOutput=(()=>{var L=Object.defineProperty;var H=Object.getOwnPropertyDescriptor;var O=Object.getOwnPropertyNames;var R=Object.prototype.hasOwnProperty;var F=(l,t)=>{for(var e in t)L(l,e,{get:t[e],enumerable:!0})},B=(l,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of O(t))!R.call(l,n)&&n!==e&&L(l,n,{get:()=>t[n],enumerable:!(i=H(t,n))||i.enumerable});return l};var j=l=>B(L({},"__esModule",{value:!0}),l);var Y={};F(Y,{Iti:()=>w,default:()=>q});var D=[["af","93"],["ax","358",1],["al","355"],["dz","213"],["as","1",5,["684"]],["ad","376"],["ao","244"],["ai","1",6,["264"]],["ag","1",7,["268"]],["ar","54"],["am","374"],["aw","297"],["ac","247"],["au","61",0,null,"0"],["at","43"],["az","994"],["bs","1",8,["242"]],["bh","973"],["bd","880"],["bb","1",9,["246"]],["by","375"],["be","32"],["bz","501"],["bj","229"],["bm","1",10,["441"]],["bt","975"],["bo","591"],["ba","387"],["bw","267"],["br","55"],["io","246"],["vg","1",11,["284"]],["bn","673"],["bg","359"],["bf","226"],["bi","257"],["kh","855"],["cm","237"],["ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905"]],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"]],["cf","236"],["td","235"],["cl","56"],["cn","86"],["cx","61",2,["89164"],"0"],["cc","61",1,["89162"],"0"],["co","57"],["km","269"],["cg","242"],["cd","243"],["ck","682"],["cr","506"],["ci","225"],["hr","385"],["cu","53"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"]],["do","1",2,["809","829","849"]],["ec","593"],["eg","20"],["sv","503"],["gq","240"],["er","291"],["ee","372"],["sz","268"],["et","251"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0],["fr","33"],["gf","594"],["pf","689"],["ga","241"],["gm","220"],["ge","995"],["de","49"],["gh","233"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"]],["gp","590",0],["gu","1",15,["671"]],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36"],["is","354"],["in","91"],["id","62"],["ir","98"],["iq","964"],["ie","353"],["im","44",2,["1624","74576","7524","7924","7624"],"0"],["il","972"],["it","39",0],["jm","1",4,["876","658"]],["jp","81"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962"],["kz","7",1,["33","7"],"8"],["ke","254"],["ki","686"],["xk","383"],["kw","965"],["kg","996"],["la","856"],["lv","371"],["lb","961"],["ls","266"],["lr","231"],["ly","218"],["li","423"],["lt","370"],["lu","352"],["mo","853"],["mg","261"],["mw","265"],["my","60"],["mv","960"],["ml","223"],["mt","356"],["mh","692"],["mq","596"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373"],["mc","377"],["mn","976"],["me","382"],["ms","1",16,["664"]],["ma","212",0,null,"0"],["mz","258"],["mm","95"],["na","264"],["nr","674"],["np","977"],["nl","31"],["nc","687"],["nz","64"],["ni","505"],["ne","227"],["ng","234"],["nu","683"],["nf","672"],["kp","850"],["mk","389"],["mp","1",17,["670"]],["no","47",0],["om","968"],["pk","92"],["pw","680"],["ps","970"],["pa","507"],["pg","675"],["py","595"],["pe","51"],["ph","63"],["pl","48"],["pt","351"],["pr","1",3,["787","939"]],["qa","974"],["re","262",0,null,"0"],["ro","40"],["ru","7",0,null,"8"],["rw","250"],["ws","685"],["sm","378"],["st","239"],["sa","966"],["sn","221"],["rs","381"],["sc","248"],["sl","232"],["sg","65"],["sx","1",21,["721"]],["sk","421"],["si","386"],["sb","677"],["so","252"],["za","27"],["kr","82"],["ss","211"],["es","34"],["lk","94"],["bl","590",1],["sh","290"],["kn","1",18,["869"]],["lc","1",19,["758"]],["mf","590",2],["pm","508"],["vc","1",20,["784"]],["sd","249"],["sr","597"],["sj","47",1,["79"]],["se","46"],["ch","41"],["sy","963"],["tw","886"],["tj","992"],["tz","255"],["th","66"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"]],["tn","216"],["tr","90"],["tm","993"],["tc","1",23,["649"]],["tv","688"],["ug","256"],["ua","380"],["ae","971"],["gb","44",0,null,"0"],["us","1",0],["uy","598"],["vi","1",24,["340"]],["uz","998"],["vu","678"],["va","39",1,["06698"]],["ve","58"],["vn","84"],["wf","681"],["eh","212",1,["5288","5289"],"0"],["ye","967"],["zm","260"],["zw","263"]],N=[];for(let l=0;ll.replace(/\D/g,""),M=(l="")=>l.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),P=l=>{let t=I(l);if(t.charAt(0)==="1"){let e=t.substr(1,3);return $.includes(e)}return!1},W=(l,t,e,i)=>{if(e===0&&!i)return 0;let n=0;for(let s=0;s{let i=document.createElement(l);return t&&Object.entries(t).forEach(([n,s])=>i.setAttribute(n,s)),e&&e.appendChild(i),i},b=(l,...t)=>{let{instances:e}=r;Object.values(e).forEach(i=>i[l](...t))},w=class{constructor(t,e={}){this.id=V++,this.a=t,this.c=null,this.d=Object.assign({},k,e),this.e=!!t.getAttribute("placeholder")}_init(){this.d.useFullscreenPopup&&(this.d.fixDropdownWidth=!1),this.d.onlyCountries.length===1&&(this.d.initialCountry=this.d.onlyCountries[0]),this.d.separateDialCode&&(this.d.nationalMode=!1),this.d.allowDropdown&&!this.d.showFlags&&!this.d.separateDialCode&&(this.d.nationalMode=!1),this.d.useFullscreenPopup&&!this.d.dropdownContainer&&(this.d.dropdownContainer=document.body),this.isAndroid=typeof navigator<"u"?/Android/i.test(navigator.userAgent):!1,this.isRTL=!!this.a.closest("[dir=rtl]");let t=this.d.allowDropdown||this.d.separateDialCode;this.showSelectedCountryOnLeft=this.isRTL?!t:t,this.d.separateDialCode&&(this.isRTL?this.originalPaddingRight=this.a.style.paddingRight:this.originalPaddingLeft=this.a.style.paddingLeft),this.d.i18n={...T,...this.d.i18n};let e=new Promise((n,s)=>{this.h=n,this.i=s}),i=new Promise((n,s)=>{this.i0=n,this.i1=s});this.promise=Promise.all([e,i]),this.s={},this._b(),this._f(),this._h(),this._i(),this._i3()}_b(){this._d(),this._d2(),this._d0(),this._sortCountries()}_sortCountries(){this.d.countryOrder&&(this.d.countryOrder=this.d.countryOrder.map(t=>t.toLowerCase())),this.p.sort((t,e)=>{let{countryOrder:i}=this.d;if(i){let n=i.indexOf(t.iso2),s=i.indexOf(e.iso2),o=n>-1,u=s>-1;if(o||u)return o&&u?n-s:o?-1:1}return t.name.localeCompare(e.name)})}_c(t,e,i){e.length>this.dialCodeMaxLen&&(this.dialCodeMaxLen=e.length),this.q.hasOwnProperty(e)||(this.q[e]=[]);for(let s=0;sn.toLowerCase());this.p=f.filter(n=>i.includes(n.iso2))}else if(e.length){let i=e.map(n=>n.toLowerCase());this.p=f.filter(n=>!i.includes(n.iso2))}else this.p=f}_d0(){for(let t=0;t`),s+=`${e.name}`,s+=`+${e.dialCode}`,n.insertAdjacentHTML("beforeend",s)}}_h(t=!1){let e=this.a.getAttribute("value"),i=this.a.value,s=e&&e.charAt(0)==="+"&&(!i||i.charAt(0)!=="+")?e:i,o=this._5(s),u=P(s),{initialCountry:a,geoIpLookup:h}=this.d,d=a==="auto"&&h;if(o&&!u)this._v(s);else if(!d||t){let p=a?a.toLowerCase():"";p&&this._y(p,!0)?this._z(p):o&&u?this._z("us"):this._z()}s&&this._u(s)}_i(){this._j(),this.d.allowDropdown&&this._i2(),(this.hiddenInput||this.hiddenInputCountry)&&this.a.form&&this._i0()}_i0(){this._a14=()=>{this.hiddenInput&&(this.hiddenInput.value=this.getNumber()),this.hiddenInputCountry&&(this.hiddenInputCountry.value=this.getSelectedCountryData().iso2||"")},this.a.form?.addEventListener("submit",this._a14)}_i2(){this._a9=e=>{this.dropdownContent.classList.contains("iti__hide")?this.a.focus():e.preventDefault()};let t=this.a.closest("label");t&&t.addEventListener("click",this._a9),this._a10=()=>{this.dropdownContent.classList.contains("iti__hide")&&!this.a.disabled&&!this.a.readOnly&&this._n()},this.selectedCountry.addEventListener("click",this._a10),this._a11=e=>{this.dropdownContent.classList.contains("iti__hide")&&["ArrowUp","ArrowDown"," ","Enter"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),this._n()),e.key==="Tab"&&this._2()},this.k.addEventListener("keydown",this._a11)}_i3(){let{loadUtils:t,initialCountry:e,geoIpLookup:i}=this.d;t&&!r.utils?(this._handlePageLoad=()=>{window.removeEventListener("load",this._handlePageLoad),r.attachUtils(t)?.catch(()=>{})},r.documentReady()?this._handlePageLoad():window.addEventListener("load",this._handlePageLoad)):this.i0(),e==="auto"&&i&&!this.s.iso2?this._i4():this.h()}_i4(){r.autoCountry?this.handleAutoCountry():r.startedLoadingAutoCountry||(r.startedLoadingAutoCountry=!0,typeof this.d.geoIpLookup=="function"&&this.d.geoIpLookup((t="")=>{let e=t.toLowerCase();e&&this._y(e,!0)?(r.autoCountry=e,setTimeout(()=>b("handleAutoCountry"))):(this._h(!0),b("rejectAutoCountryPromise"))},()=>{this._h(!0),b("rejectAutoCountryPromise")}))}_nWithPlus(){this._n(),this.searchInput.value="+",this._p3("",!0)}_j(){let{strictMode:t,formatAsYouType:e,separateDialCode:i,formatOnDisplay:n,allowDropdown:s,countrySearch:o}=this.d,u=!1;/\p{L}/u.test(this.a.value)&&(u=!0),this._a12=a=>{if(this.isAndroid&&a?.data==="+"&&i&&s&&o){let c=this.a.selectionStart||0,g=this.a.value.substring(0,c-1),C=this.a.value.substring(c);this.a.value=g+C,this._nWithPlus();return}this._v(this.a.value)&&this._8();let h=a?.data&&/[^+0-9]/.test(a.data),d=a?.inputType==="insertFromPaste"&&this.a.value;h||d&&!t?u=!0:/[^+0-9]/.test(this.a.value)||(u=!1);let p=a?.detail&&a.detail.isSetNumber&&!n;if(e&&!u&&!p){let c=this.a.selectionStart||0,C=this.a.value.substring(0,c).replace(/[^+0-9]/g,"").length,y=a?.inputType==="deleteContentForward",v=this._9(),_=W(C,v,c,y);this.a.value=v,this.a.setSelectionRange(_,_)}},this.a.addEventListener("input",this._a12),(t||i)&&(this._handleKeydownEvent=a=>{if(a.key&&a.key.length===1&&!a.altKey&&!a.ctrlKey&&!a.metaKey){if(i&&s&&o&&a.key==="+"){a.preventDefault(),this._nWithPlus();return}if(t){let h=this.a.value,d=h.charAt(0)==="+",p=!d&&this.a.selectionStart===0&&a.key==="+",c=/^[0-9]$/.test(a.key),g=i?c:p||c,C=h.slice(0,this.a.selectionStart)+a.key+h.slice(this.a.selectionEnd),y=this._6(C),v=r.utils.getCoreNumber(y,this.s.iso2),_=this.maxCoreNumberLength&&v.length>this.maxCoreNumberLength,E=!1;if(d){let x=this.s.iso2;E=this._getCountryFromNumber(y)!==x}(!g||_&&!E&&!p)&&a.preventDefault()}}},this.a.addEventListener("keydown",this._handleKeydownEvent))}_j2(t){let e=parseInt(this.a.getAttribute("maxlength")||"",10);return e&&t.length>e?t.substr(0,e):t}_trigger(t,e={}){let i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:e});this.a.dispatchEvent(i)}_n(){let{fixDropdownWidth:t,countrySearch:e}=this.d;if(t&&(this.dropdownContent.style.width=`${this.a.offsetWidth}px`),this.dropdownContent.classList.remove("iti__hide"),this.selectedCountry.setAttribute("aria-expanded","true"),this._o(),e){let i=this.countryList.firstElementChild;i&&(this._x(i,!1),this.countryList.scrollTop=0),this.searchInput.focus()}this._p(),this.u.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}_o(){if(this.d.dropdownContainer&&this.d.dropdownContainer.appendChild(this.dropdown),!this.d.useFullscreenPopup){let t=this.a.getBoundingClientRect(),e=this.a.offsetHeight;this.d.dropdownContainer&&(this.dropdown.style.top=`${t.top+e}px`,this.dropdown.style.left=`${t.left}px`,this._a4=()=>this._2(),window.addEventListener("scroll",this._a4))}}_p(){this._a0=n=>{let s=n.target?.closest(".iti__country");s&&this._x(s,!1)},this.countryList.addEventListener("mouseover",this._a0),this._a1=n=>{let s=n.target?.closest(".iti__country");s&&this._1(s)},this.countryList.addEventListener("click",this._a1);let t=!0;this._a2=()=>{t||this._2(),t=!1},document.documentElement.addEventListener("click",this._a2);let e="",i=null;if(this._a3=n=>{["ArrowUp","ArrowDown","Enter","Escape"].includes(n.key)&&(n.preventDefault(),n.stopPropagation(),n.key==="ArrowUp"||n.key==="ArrowDown"?this._q(n.key):n.key==="Enter"?this._r():n.key==="Escape"&&this._2()),!this.d.countrySearch&&/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(n.key)&&(n.stopPropagation(),i&&clearTimeout(i),e+=n.key.toLowerCase(),this._searchForCountry(e),i=setTimeout(()=>{e=""},1e3))},document.addEventListener("keydown",this._a3),this.d.countrySearch){let n=()=>{let o=this.searchInput.value.trim();o?this._p3(o):this._p3("",!0)},s=null;this._a7=()=>{s&&clearTimeout(s),s=setTimeout(()=>{n(),s=null},100)},this.searchInput.addEventListener("input",this._a7),this.searchInput.addEventListener("click",o=>o.stopPropagation())}}_searchForCountry(t){for(let e=0;ed[0]).join("").toLowerCase(),h=`+${o.dialCode}`;if(e||u.includes(n)||h.includes(n)||o.iso2.includes(n)||a.includes(n)){let d=o.nodeById[this.id];d&&this.countryList.appendChild(d),i&&(this._x(d,!1),i=!1)}}i&&this._x(null,!1),this.countryList.scrollTop=0,this._p4()}_p4(){let{i18n:t}=this.d,e=this.countryList.childElementCount,i;e===0?i=t.zeroSearchResults:e===1?i=t.oneSearchResult:i=t.multipleSearchResults.replace("${count}",e.toString()),this.searchResultsA11yText.textContent=i}_q(t){let e=t==="ArrowUp"?this.c?.previousElementSibling:this.c?.nextElementSibling;!e&&this.countryList.childElementCount>1&&(e=t==="ArrowUp"?this.countryList.lastElementChild:this.countryList.firstElementChild),e&&(this._3(e),this._x(e,!1))}_r(){this.c&&this._1(this.c)}_u(t){let e=t;if(this.d.formatOnDisplay&&r.utils&&this.s){let i=this.d.nationalMode||e.charAt(0)!=="+"&&!this.d.separateDialCode,{NATIONAL:n,INTERNATIONAL:s}=r.utils.numberFormat,o=i?n:s;e=r.utils.formatNumber(e,this.s.iso2,o)}e=this._7(e),this.a.value=e}_v(t){let e=this._getCountryFromNumber(t);return e!==null?this._z(e):!1}_ensureHasDialCode(t){let{dialCode:e,nationalPrefix:i}=this.s;if(t.charAt(0)==="+"||!e)return t;let o=i&&t.charAt(0)===i&&!this.d.separateDialCode?t.substring(1):t;return`+${e}${o}`}_getCountryFromNumber(t){let e=t.indexOf("+"),i=e?t.substring(e):t,n=this.s.iso2,s=this.s.dialCode;i=this._ensureHasDialCode(i);let o=this._5(i,!0),u=I(i);if(o){let a=I(o),h=this.q[a];if(!n&&this.j&&h.includes(this.j))return this.j;let d=n&&h.includes(n)&&(u.length===a.length||!this.s.areaCodes);if(!(s==="1"&&P(u))&&!d){for(let c=0;co){let p=n-u;e.scrollTop=d-p}}_4(t){let e=this.a.value,i=`+${t}`,n;if(e.charAt(0)==="+"){let s=this._5(e);s?n=e.replace(s,i):n=i,this.a.value=n}}_5(t,e){let i="";if(t.charAt(0)==="+"){let n="";for(let s=0;s-1){let i=t.substring(0,e),n=this._utilsIsPossibleNumber(i),s=this._utilsIsPossibleNumber(t);return n&&s}return this._utilsIsPossibleNumber(t)}_utilsIsPossibleNumber(t){return r.utils?r.utils.isPossibleNumber(t,this.s.iso2,this.d.validationNumberTypes):null}isValidNumberPrecise(){if(!this.s.iso2)return!1;let t=this._6(),e=t.search(/\p{L}/u);if(e>-1){let i=t.substring(0,e),n=this._utilsIsValidNumber(i),s=this._utilsIsValidNumber(t);return n&&s}return this._utilsIsValidNumber(t)}_utilsIsValidNumber(t){return r.utils?r.utils.isValidNumber(t,this.s.iso2,this.d.validationNumberTypes):null}setCountry(t){let e=t?.toLowerCase(),i=this.s.iso2;(t&&e!==i||!t&&i)&&(this._z(e),this._4(this.s.dialCode),this._8())}setNumber(t){let e=this._v(t);this._u(t),e&&this._8(),this._trigger("input",{isSetNumber:!0})}setPlaceholderNumberType(t){this.d.placeholderNumberType=t,this._0()}setDisabled(t){this.a.disabled=t,t?this.selectedCountry.setAttribute("disabled","true"):this.selectedCountry.removeAttribute("disabled")}},G=l=>{if(!r.utils&&!r.startedLoadingUtilsScript){let t;if(typeof l=="function")try{t=Promise.resolve(l())}catch(e){return Promise.reject(e)}else return Promise.reject(new TypeError(`The argument passed to attachUtils must be a function that returns a promise for the utilities module, not ${typeof l}`));return r.startedLoadingUtilsScript=!0,t.then(e=>{let i=e?.default;if(!i||typeof i!="object")throw new TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export.");return r.utils=i,b("handleUtils"),!0}).catch(e=>{throw b("rejectUtilsScriptPromise",e),e})}return null},r=Object.assign((l,t)=>{let e=new w(l,t);return e._init(),l.setAttribute("data-intl-tel-input-id",e.id.toString()),r.instances[e.id]=e,e},{defaults:k,documentReady:()=>document.readyState==="complete",getCountryData:()=>f,getInstance:l=>{let t=l.getAttribute("data-intl-tel-input-id");return t?r.instances[t]:null},instances:{},attachUtils:G,startedLoadingUtilsScript:!1,startedLoadingAutoCountry:!1,version:"25.3.0"}),q=r;return j(Y);})(); + +// UMD + return factoryOutput.default; +})); diff --git a/plugins/intl-tel-input/js/intlTelInputWithUtils.js b/plugins/intl-tel-input/js/intlTelInputWithUtils.js new file mode 100644 index 00000000..d1e2e5d6 --- /dev/null +++ b/plugins/intl-tel-input/js/intlTelInputWithUtils.js @@ -0,0 +1,9426 @@ +/* + * International Telephone Input v25.3.0 + * https://github.com/jackocnr/intl-tel-input.git + * Licensed under the MIT license + */ + +// UMD +(function(factory) { + if (typeof module === 'object' && module.exports) { + module.exports = factory(); + } else { + window.intlTelInput = factory(); + } +}(() => { + +var factoryOutput = (() => { + var __defProp = Object.defineProperty; + var __getOwnPropDesc = Object.getOwnPropertyDescriptor; + var __getOwnPropNames = Object.getOwnPropertyNames; + var __hasOwnProp = Object.prototype.hasOwnProperty; + var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); + }; + var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; + }; + var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + + // src/js/intl-tel-input/intlTelInputWithUtils.ts + var intlTelInputWithUtils_exports = {}; + __export(intlTelInputWithUtils_exports, { + default: () => intlTelInputWithUtils_default + }); + + // src/js/intl-tel-input/data.ts + var rawCountryData = [ + [ + "af", + // Afghanistan + "93" + ], + [ + "ax", + // Åland Islands + "358", + 1 + ], + [ + "al", + // Albania + "355" + ], + [ + "dz", + // Algeria + "213" + ], + [ + "as", + // American Samoa + "1", + 5, + ["684"] + ], + [ + "ad", + // Andorra + "376" + ], + [ + "ao", + // Angola + "244" + ], + [ + "ai", + // Anguilla + "1", + 6, + ["264"] + ], + [ + "ag", + // Antigua and Barbuda + "1", + 7, + ["268"] + ], + [ + "ar", + // Argentina + "54" + ], + [ + "am", + // Armenia + "374" + ], + [ + "aw", + // Aruba + "297" + ], + [ + "ac", + // Ascension Island + "247" + ], + [ + "au", + // Australia + "61", + 0, + null, + "0" + ], + [ + "at", + // Austria + "43" + ], + [ + "az", + // Azerbaijan + "994" + ], + [ + "bs", + // Bahamas + "1", + 8, + ["242"] + ], + [ + "bh", + // Bahrain + "973" + ], + [ + "bd", + // Bangladesh + "880" + ], + [ + "bb", + // Barbados + "1", + 9, + ["246"] + ], + [ + "by", + // Belarus + "375" + ], + [ + "be", + // Belgium + "32" + ], + [ + "bz", + // Belize + "501" + ], + [ + "bj", + // Benin + "229" + ], + [ + "bm", + // Bermuda + "1", + 10, + ["441"] + ], + [ + "bt", + // Bhutan + "975" + ], + [ + "bo", + // Bolivia + "591" + ], + [ + "ba", + // Bosnia and Herzegovina + "387" + ], + [ + "bw", + // Botswana + "267" + ], + [ + "br", + // Brazil + "55" + ], + [ + "io", + // British Indian Ocean Territory + "246" + ], + [ + "vg", + // British Virgin Islands + "1", + 11, + ["284"] + ], + [ + "bn", + // Brunei + "673" + ], + [ + "bg", + // Bulgaria + "359" + ], + [ + "bf", + // Burkina Faso + "226" + ], + [ + "bi", + // Burundi + "257" + ], + [ + "kh", + // Cambodia + "855" + ], + [ + "cm", + // Cameroon + "237" + ], + [ + "ca", + // Canada + "1", + 1, + ["204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "879", "902", "905"] + ], + [ + "cv", + // Cape Verde + "238" + ], + [ + "bq", + // Caribbean Netherlands + "599", + 1, + ["3", "4", "7"] + ], + [ + "ky", + // Cayman Islands + "1", + 12, + ["345"] + ], + [ + "cf", + // Central African Republic + "236" + ], + [ + "td", + // Chad + "235" + ], + [ + "cl", + // Chile + "56" + ], + [ + "cn", + // China + "86" + ], + [ + "cx", + // Christmas Island + "61", + 2, + ["89164"], + "0" + ], + [ + "cc", + // Cocos (Keeling) Islands + "61", + 1, + ["89162"], + "0" + ], + [ + "co", + // Colombia + "57" + ], + [ + "km", + // Comoros + "269" + ], + [ + "cg", + // Congo (Brazzaville) + "242" + ], + [ + "cd", + // Congo (Kinshasa) + "243" + ], + [ + "ck", + // Cook Islands + "682" + ], + [ + "cr", + // Costa Rica + "506" + ], + [ + "ci", + // Côte d'Ivoire + "225" + ], + [ + "hr", + // Croatia + "385" + ], + [ + "cu", + // Cuba + "53" + ], + [ + "cw", + // Curaçao + "599", + 0 + ], + [ + "cy", + // Cyprus + "357" + ], + [ + "cz", + // Czech Republic + "420" + ], + [ + "dk", + // Denmark + "45" + ], + [ + "dj", + // Djibouti + "253" + ], + [ + "dm", + // Dominica + "1", + 13, + ["767"] + ], + [ + "do", + // Dominican Republic + "1", + 2, + ["809", "829", "849"] + ], + [ + "ec", + // Ecuador + "593" + ], + [ + "eg", + // Egypt + "20" + ], + [ + "sv", + // El Salvador + "503" + ], + [ + "gq", + // Equatorial Guinea + "240" + ], + [ + "er", + // Eritrea + "291" + ], + [ + "ee", + // Estonia + "372" + ], + [ + "sz", + // Eswatini + "268" + ], + [ + "et", + // Ethiopia + "251" + ], + [ + "fk", + // Falkland Islands (Malvinas) + "500" + ], + [ + "fo", + // Faroe Islands + "298" + ], + [ + "fj", + // Fiji + "679" + ], + [ + "fi", + // Finland + "358", + 0 + ], + [ + "fr", + // France + "33" + ], + [ + "gf", + // French Guiana + "594" + ], + [ + "pf", + // French Polynesia + "689" + ], + [ + "ga", + // Gabon + "241" + ], + [ + "gm", + // Gambia + "220" + ], + [ + "ge", + // Georgia + "995" + ], + [ + "de", + // Germany + "49" + ], + [ + "gh", + // Ghana + "233" + ], + [ + "gi", + // Gibraltar + "350" + ], + [ + "gr", + // Greece + "30" + ], + [ + "gl", + // Greenland + "299" + ], + [ + "gd", + // Grenada + "1", + 14, + ["473"] + ], + [ + "gp", + // Guadeloupe + "590", + 0 + ], + [ + "gu", + // Guam + "1", + 15, + ["671"] + ], + [ + "gt", + // Guatemala + "502" + ], + [ + "gg", + // Guernsey + "44", + 1, + ["1481", "7781", "7839", "7911"], + "0" + ], + [ + "gn", + // Guinea + "224" + ], + [ + "gw", + // Guinea-Bissau + "245" + ], + [ + "gy", + // Guyana + "592" + ], + [ + "ht", + // Haiti + "509" + ], + [ + "hn", + // Honduras + "504" + ], + [ + "hk", + // Hong Kong SAR China + "852" + ], + [ + "hu", + // Hungary + "36" + ], + [ + "is", + // Iceland + "354" + ], + [ + "in", + // India + "91" + ], + [ + "id", + // Indonesia + "62" + ], + [ + "ir", + // Iran + "98" + ], + [ + "iq", + // Iraq + "964" + ], + [ + "ie", + // Ireland + "353" + ], + [ + "im", + // Isle of Man + "44", + 2, + ["1624", "74576", "7524", "7924", "7624"], + "0" + ], + [ + "il", + // Israel + "972" + ], + [ + "it", + // Italy + "39", + 0 + ], + [ + "jm", + // Jamaica + "1", + 4, + ["876", "658"] + ], + [ + "jp", + // Japan + "81" + ], + [ + "je", + // Jersey + "44", + 3, + ["1534", "7509", "7700", "7797", "7829", "7937"], + "0" + ], + [ + "jo", + // Jordan + "962" + ], + [ + "kz", + // Kazakhstan + "7", + 1, + ["33", "7"], + "8" + ], + [ + "ke", + // Kenya + "254" + ], + [ + "ki", + // Kiribati + "686" + ], + [ + "xk", + // Kosovo + "383" + ], + [ + "kw", + // Kuwait + "965" + ], + [ + "kg", + // Kyrgyzstan + "996" + ], + [ + "la", + // Laos + "856" + ], + [ + "lv", + // Latvia + "371" + ], + [ + "lb", + // Lebanon + "961" + ], + [ + "ls", + // Lesotho + "266" + ], + [ + "lr", + // Liberia + "231" + ], + [ + "ly", + // Libya + "218" + ], + [ + "li", + // Liechtenstein + "423" + ], + [ + "lt", + // Lithuania + "370" + ], + [ + "lu", + // Luxembourg + "352" + ], + [ + "mo", + // Macao SAR China + "853" + ], + [ + "mg", + // Madagascar + "261" + ], + [ + "mw", + // Malawi + "265" + ], + [ + "my", + // Malaysia + "60" + ], + [ + "mv", + // Maldives + "960" + ], + [ + "ml", + // Mali + "223" + ], + [ + "mt", + // Malta + "356" + ], + [ + "mh", + // Marshall Islands + "692" + ], + [ + "mq", + // Martinique + "596" + ], + [ + "mr", + // Mauritania + "222" + ], + [ + "mu", + // Mauritius + "230" + ], + [ + "yt", + // Mayotte + "262", + 1, + ["269", "639"], + "0" + ], + [ + "mx", + // Mexico + "52" + ], + [ + "fm", + // Micronesia + "691" + ], + [ + "md", + // Moldova + "373" + ], + [ + "mc", + // Monaco + "377" + ], + [ + "mn", + // Mongolia + "976" + ], + [ + "me", + // Montenegro + "382" + ], + [ + "ms", + // Montserrat + "1", + 16, + ["664"] + ], + [ + "ma", + // Morocco + "212", + 0, + null, + "0" + ], + [ + "mz", + // Mozambique + "258" + ], + [ + "mm", + // Myanmar (Burma) + "95" + ], + [ + "na", + // Namibia + "264" + ], + [ + "nr", + // Nauru + "674" + ], + [ + "np", + // Nepal + "977" + ], + [ + "nl", + // Netherlands + "31" + ], + [ + "nc", + // New Caledonia + "687" + ], + [ + "nz", + // New Zealand + "64" + ], + [ + "ni", + // Nicaragua + "505" + ], + [ + "ne", + // Niger + "227" + ], + [ + "ng", + // Nigeria + "234" + ], + [ + "nu", + // Niue + "683" + ], + [ + "nf", + // Norfolk Island + "672" + ], + [ + "kp", + // North Korea + "850" + ], + [ + "mk", + // North Macedonia + "389" + ], + [ + "mp", + // Northern Mariana Islands + "1", + 17, + ["670"] + ], + [ + "no", + // Norway + "47", + 0 + ], + [ + "om", + // Oman + "968" + ], + [ + "pk", + // Pakistan + "92" + ], + [ + "pw", + // Palau + "680" + ], + [ + "ps", + // Palestinian Territories + "970" + ], + [ + "pa", + // Panama + "507" + ], + [ + "pg", + // Papua New Guinea + "675" + ], + [ + "py", + // Paraguay + "595" + ], + [ + "pe", + // Peru + "51" + ], + [ + "ph", + // Philippines + "63" + ], + [ + "pl", + // Poland + "48" + ], + [ + "pt", + // Portugal + "351" + ], + [ + "pr", + // Puerto Rico + "1", + 3, + ["787", "939"] + ], + [ + "qa", + // Qatar + "974" + ], + [ + "re", + // Réunion + "262", + 0, + null, + "0" + ], + [ + "ro", + // Romania + "40" + ], + [ + "ru", + // Russia + "7", + 0, + null, + "8" + ], + [ + "rw", + // Rwanda + "250" + ], + [ + "ws", + // Samoa + "685" + ], + [ + "sm", + // San Marino + "378" + ], + [ + "st", + // São Tomé & Príncipe + "239" + ], + [ + "sa", + // Saudi Arabia + "966" + ], + [ + "sn", + // Senegal + "221" + ], + [ + "rs", + // Serbia + "381" + ], + [ + "sc", + // Seychelles + "248" + ], + [ + "sl", + // Sierra Leone + "232" + ], + [ + "sg", + // Singapore + "65" + ], + [ + "sx", + // Sint Maarten + "1", + 21, + ["721"] + ], + [ + "sk", + // Slovakia + "421" + ], + [ + "si", + // Slovenia + "386" + ], + [ + "sb", + // Solomon Islands + "677" + ], + [ + "so", + // Somalia + "252" + ], + [ + "za", + // South Africa + "27" + ], + [ + "kr", + // South Korea + "82" + ], + [ + "ss", + // South Sudan + "211" + ], + [ + "es", + // Spain + "34" + ], + [ + "lk", + // Sri Lanka + "94" + ], + [ + "bl", + // St. Barthélemy + "590", + 1 + ], + [ + "sh", + // St. Helena + "290" + ], + [ + "kn", + // St. Kitts & Nevis + "1", + 18, + ["869"] + ], + [ + "lc", + // St. Lucia + "1", + 19, + ["758"] + ], + [ + "mf", + // St. Martin + "590", + 2 + ], + [ + "pm", + // St. Pierre & Miquelon + "508" + ], + [ + "vc", + // St. Vincent & Grenadines + "1", + 20, + ["784"] + ], + [ + "sd", + // Sudan + "249" + ], + [ + "sr", + // Suriname + "597" + ], + [ + "sj", + // Svalbard & Jan Mayen + "47", + 1, + ["79"] + ], + [ + "se", + // Sweden + "46" + ], + [ + "ch", + // Switzerland + "41" + ], + [ + "sy", + // Syria + "963" + ], + [ + "tw", + // Taiwan + "886" + ], + [ + "tj", + // Tajikistan + "992" + ], + [ + "tz", + // Tanzania + "255" + ], + [ + "th", + // Thailand + "66" + ], + [ + "tl", + // Timor-Leste + "670" + ], + [ + "tg", + // Togo + "228" + ], + [ + "tk", + // Tokelau + "690" + ], + [ + "to", + // Tonga + "676" + ], + [ + "tt", + // Trinidad & Tobago + "1", + 22, + ["868"] + ], + [ + "tn", + // Tunisia + "216" + ], + [ + "tr", + // Turkey + "90" + ], + [ + "tm", + // Turkmenistan + "993" + ], + [ + "tc", + // Turks & Caicos Islands + "1", + 23, + ["649"] + ], + [ + "tv", + // Tuvalu + "688" + ], + [ + "ug", + // Uganda + "256" + ], + [ + "ua", + // Ukraine + "380" + ], + [ + "ae", + // United Arab Emirates + "971" + ], + [ + "gb", + // United Kingdom + "44", + 0, + null, + "0" + ], + [ + "us", + // United States + "1", + 0 + ], + [ + "uy", + // Uruguay + "598" + ], + [ + "vi", + // U.S. Virgin Islands + "1", + 24, + ["340"] + ], + [ + "uz", + // Uzbekistan + "998" + ], + [ + "vu", + // Vanuatu + "678" + ], + [ + "va", + // Vatican City + "39", + 1, + ["06698"] + ], + [ + "ve", + // Venezuela + "58" + ], + [ + "vn", + // Vietnam + "84" + ], + [ + "wf", + // Wallis & Futuna + "681" + ], + [ + "eh", + // Western Sahara + "212", + 1, + ["5288", "5289"], + "0" + ], + [ + "ye", + // Yemen + "967" + ], + [ + "zm", + // Zambia + "260" + ], + [ + "zw", + // Zimbabwe + "263" + ] + ]; + var allCountries = []; + for (let i = 0; i < rawCountryData.length; i++) { + const c = rawCountryData[i]; + allCountries[i] = { + name: "", + // this is now populated in the plugin + iso2: c[0], + dialCode: c[1], + priority: c[2] || 0, + areaCodes: c[3] || null, + nodeById: {}, + nationalPrefix: c[4] || null + }; + } + var data_default = allCountries; + + // src/js/intl-tel-input/i18n/en/countries.ts + var countryTranslations = { + ad: "Andorra", + ae: "United Arab Emirates", + af: "Afghanistan", + ag: "Antigua & Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "American Samoa", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "\xC5land Islands", + az: "Azerbaijan", + ba: "Bosnia & Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgium", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "St. Barth\xE9lemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Caribbean Netherlands", + br: "Brazil", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Canada", + cc: "Cocos (Keeling) Islands", + cd: "Congo - Kinshasa", + cf: "Central African Republic", + cg: "Congo - Brazzaville", + ch: "Switzerland", + ci: "C\xF4te d\u2019Ivoire", + ck: "Cook Islands", + cl: "Chile", + cm: "Cameroon", + cn: "China", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cape Verde", + cw: "Cura\xE7ao", + cx: "Christmas Island", + cy: "Cyprus", + cz: "Czechia", + de: "Germany", + dj: "Djibouti", + dk: "Denmark", + dm: "Dominica", + do: "Dominican Republic", + dz: "Algeria", + ec: "Ecuador", + ee: "Estonia", + eg: "Egypt", + eh: "Western Sahara", + er: "Eritrea", + es: "Spain", + et: "Ethiopia", + fi: "Finland", + fj: "Fiji", + fk: "Falkland Islands", + fm: "Micronesia", + fo: "Faroe Islands", + fr: "France", + ga: "Gabon", + gb: "United Kingdom", + gd: "Grenada", + ge: "Georgia", + gf: "French Guiana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Greenland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Equatorial Guinea", + gr: "Greece", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hong Kong SAR China", + hn: "Honduras", + hr: "Croatia", + ht: "Haiti", + hu: "Hungary", + id: "Indonesia", + ie: "Ireland", + il: "Israel", + im: "Isle of Man", + in: "India", + io: "British Indian Ocean Territory", + iq: "Iraq", + ir: "Iran", + is: "Iceland", + it: "Italy", + je: "Jersey", + jm: "Jamaica", + jo: "Jordan", + jp: "Japan", + ke: "Kenya", + kg: "Kyrgyzstan", + kh: "Cambodia", + ki: "Kiribati", + km: "Comoros", + kn: "St. Kitts & Nevis", + kp: "North Korea", + kr: "South Korea", + kw: "Kuwait", + ky: "Cayman Islands", + kz: "Kazakhstan", + la: "Laos", + lb: "Lebanon", + lc: "St. Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Lithuania", + lu: "Luxembourg", + lv: "Latvia", + ly: "Libya", + ma: "Morocco", + mc: "Monaco", + md: "Moldova", + me: "Montenegro", + mf: "St. Martin", + mg: "Madagascar", + mh: "Marshall Islands", + mk: "North Macedonia", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongolia", + mo: "Macao SAR China", + mp: "Northern Mariana Islands", + mq: "Martinique", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldives", + mw: "Malawi", + mx: "Mexico", + my: "Malaysia", + mz: "Mozambique", + na: "Namibia", + nc: "New Caledonia", + ne: "Niger", + nf: "Norfolk Island", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Netherlands", + no: "Norway", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "New Zealand", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "French Polynesia", + pg: "Papua New Guinea", + ph: "Philippines", + pk: "Pakistan", + pl: "Poland", + pm: "St. Pierre & Miquelon", + pr: "Puerto Rico", + ps: "Palestinian Territories", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "R\xE9union", + ro: "Romania", + rs: "Serbia", + ru: "Russia", + rw: "Rwanda", + sa: "Saudi Arabia", + sb: "Solomon Islands", + sc: "Seychelles", + sd: "Sudan", + se: "Sweden", + sg: "Singapore", + sh: "St. Helena", + si: "Slovenia", + sj: "Svalbard & Jan Mayen", + sk: "Slovakia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "South Sudan", + st: "S\xE3o Tom\xE9 & Pr\xEDncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syria", + sz: "Eswatini", + tc: "Turks & Caicos Islands", + td: "Chad", + tg: "Togo", + th: "Thailand", + tj: "Tajikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Turkey", + tt: "Trinidad & Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ukraine", + ug: "Uganda", + us: "United States", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Vatican City", + vc: "St. Vincent & Grenadines", + ve: "Venezuela", + vg: "British Virgin Islands", + vi: "U.S. Virgin Islands", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis & Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "South Africa", + zm: "Zambia", + zw: "Zimbabwe" + }; + var countries_default = countryTranslations; + + // src/js/intl-tel-input/i18n/en/interface.ts + var interfaceTranslations = { + selectedCountryAriaLabel: "Selected country", + noCountrySelected: "No country selected", + countryListAriaLabel: "List of countries", + searchPlaceholder: "Search", + zeroSearchResults: "No results found", + oneSearchResult: "1 result found", + multipleSearchResults: "${count} results found", + // additional countries (not supported by country-list library) + ac: "Ascension Island", + xk: "Kosovo" + }; + var interface_default = interfaceTranslations; + + // src/js/intl-tel-input/i18n/en/index.ts + var allTranslations = { ...countries_default, ...interface_default }; + var en_default = allTranslations; + + // src/js/intl-tel-input.ts + for (let i = 0; i < data_default.length; i++) { + data_default[i].name = en_default[data_default[i].iso2]; + } + var id = 0; + var defaults = { + //* Whether or not to allow the dropdown. + allowDropdown: true, + //* Add a placeholder in the input with an example number for the selected country. + autoPlaceholder: "polite", + //* Modify the parentClass. + containerClass: "", + //* The order of the countries in the dropdown. Defaults to alphabetical. + countryOrder: null, + //* Add a country search input at the top of the dropdown. + countrySearch: true, + //* Modify the auto placeholder. + customPlaceholder: null, + //* Append menu to specified element. + dropdownContainer: null, + //* Don't display these countries. + excludeCountries: [], + //* Fix the dropdown width to the input width (rather than being as wide as the longest country name). + fixDropdownWidth: true, + //* Format the number as the user types + formatAsYouType: true, + //* Format the input value during initialisation and on setNumber. + formatOnDisplay: true, + //* geoIp lookup function. + geoIpLookup: null, + //* Inject a hidden input with the name returned from this function, and on submit, populate it with the result of getNumber. + hiddenInput: null, + //* Internationalise the plugin text e.g. search input placeholder, country names. + i18n: {}, + //* Initial country. + initialCountry: "", + //* A function to load the utils script. + loadUtils: null, + //* National vs international formatting for numbers e.g. placeholders and displaying existing numbers. + nationalMode: true, + //* Display only these countries. + onlyCountries: [], + //* Number type to use for placeholders. + placeholderNumberType: "MOBILE", + //* Show flags - for both the selected country, and in the country dropdown + showFlags: true, + //* Display the international dial code next to the selected flag. + separateDialCode: false, + //* Only allow certain chars e.g. a plus followed by numeric digits, and cap at max valid length. + strictMode: false, + //* Use full screen popup instead of dropdown for country list. + useFullscreenPopup: typeof navigator !== "undefined" && typeof window !== "undefined" ? ( + //* We cannot just test screen size as some smartphones/website meta tags will report desktop resolutions. + //* Note: to target Android Mobiles (and not Tablets), we must find 'Android' and 'Mobile' + /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test( + navigator.userAgent + ) || window.innerWidth <= 500 + ) : false, + //* The number type to enforce during validation. + validationNumberTypes: ["MOBILE"] + }; + var regionlessNanpNumbers = [ + "800", + "822", + "833", + "844", + "855", + "866", + "877", + "880", + "881", + "882", + "883", + "884", + "885", + "886", + "887", + "888", + "889" + ]; + var getNumeric = (s) => s.replace(/\D/g, ""); + var normaliseString = (s = "") => s.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(); + var isRegionlessNanp = (number) => { + const numeric = getNumeric(number); + if (numeric.charAt(0) === "1") { + const areaCode = numeric.substr(1, 3); + return regionlessNanpNumbers.includes(areaCode); + } + return false; + }; + var translateCursorPosition = (relevantChars, formattedValue, prevCaretPos, isDeleteForwards) => { + if (prevCaretPos === 0 && !isDeleteForwards) { + return 0; + } + let count = 0; + for (let i = 0; i < formattedValue.length; i++) { + if (/[+0-9]/.test(formattedValue[i])) { + count++; + } + if (count === relevantChars && !isDeleteForwards) { + return i + 1; + } + if (isDeleteForwards && count === relevantChars + 1) { + return i; + } + } + return formattedValue.length; + }; + var createEl = (name, attrs, container) => { + const el = document.createElement(name); + if (attrs) { + Object.entries(attrs).forEach(([key, value]) => el.setAttribute(key, value)); + } + if (container) { + container.appendChild(el); + } + return el; + }; + var forEachInstance = (method, ...args) => { + const { instances } = intlTelInput; + Object.values(instances).forEach((instance) => instance[method](...args)); + }; + var Iti = class { + constructor(input, customOptions = {}) { + this.id = id++; + this.telInput = input; + this.highlightedItem = null; + this.options = Object.assign({}, defaults, customOptions); + this.hadInitialPlaceholder = Boolean(input.getAttribute("placeholder")); + } + //* Can't be private as it's called from intlTelInput convenience wrapper. + _init() { + if (this.options.useFullscreenPopup) { + this.options.fixDropdownWidth = false; + } + if (this.options.onlyCountries.length === 1) { + this.options.initialCountry = this.options.onlyCountries[0]; + } + if (this.options.separateDialCode) { + this.options.nationalMode = false; + } + if (this.options.allowDropdown && !this.options.showFlags && !this.options.separateDialCode) { + this.options.nationalMode = false; + } + if (this.options.useFullscreenPopup && !this.options.dropdownContainer) { + this.options.dropdownContainer = document.body; + } + this.isAndroid = typeof navigator !== "undefined" ? /Android/i.test(navigator.userAgent) : false; + this.isRTL = !!this.telInput.closest("[dir=rtl]"); + const showOnDefaultSide = this.options.allowDropdown || this.options.separateDialCode; + this.showSelectedCountryOnLeft = this.isRTL ? !showOnDefaultSide : showOnDefaultSide; + if (this.options.separateDialCode) { + if (this.isRTL) { + this.originalPaddingRight = this.telInput.style.paddingRight; + } else { + this.originalPaddingLeft = this.telInput.style.paddingLeft; + } + } + this.options.i18n = { ...en_default, ...this.options.i18n }; + const autoCountryPromise = new Promise((resolve, reject) => { + this.resolveAutoCountryPromise = resolve; + this.rejectAutoCountryPromise = reject; + }); + const utilsScriptPromise = new Promise((resolve, reject) => { + this.resolveUtilsScriptPromise = resolve; + this.rejectUtilsScriptPromise = reject; + }); + this.promise = Promise.all([autoCountryPromise, utilsScriptPromise]); + this.selectedCountryData = {}; + this._processCountryData(); + this._generateMarkup(); + this._setInitialState(); + this._initListeners(); + this._initRequests(); + } + //******************** + //* PRIVATE METHODS + //******************** + //* Prepare all of the country data, including onlyCountries, excludeCountries, countryOrder options. + _processCountryData() { + this._processAllCountries(); + this._processDialCodes(); + this._translateCountryNames(); + this._sortCountries(); + } + //* Sort countries by countryOrder option (if present), then name. + _sortCountries() { + if (this.options.countryOrder) { + this.options.countryOrder = this.options.countryOrder.map((country) => country.toLowerCase()); + } + this.countries.sort((a, b) => { + const { countryOrder } = this.options; + if (countryOrder) { + const aIndex = countryOrder.indexOf(a.iso2); + const bIndex = countryOrder.indexOf(b.iso2); + const aIndexExists = aIndex > -1; + const bIndexExists = bIndex > -1; + if (aIndexExists || bIndexExists) { + if (aIndexExists && bIndexExists) { + return aIndex - bIndex; + } + return aIndexExists ? -1 : 1; + } + } + return a.name.localeCompare(b.name); + }); + } + //* Add a dial code to this.dialCodeToIso2Map. + _addToDialCodeMap(iso2, dialCode, priority) { + if (dialCode.length > this.dialCodeMaxLen) { + this.dialCodeMaxLen = dialCode.length; + } + if (!this.dialCodeToIso2Map.hasOwnProperty(dialCode)) { + this.dialCodeToIso2Map[dialCode] = []; + } + for (let i = 0; i < this.dialCodeToIso2Map[dialCode].length; i++) { + if (this.dialCodeToIso2Map[dialCode][i] === iso2) { + return; + } + } + const index = priority !== void 0 ? priority : this.dialCodeToIso2Map[dialCode].length; + this.dialCodeToIso2Map[dialCode][index] = iso2; + } + //* Process onlyCountries or excludeCountries array if present. + _processAllCountries() { + const { onlyCountries, excludeCountries } = this.options; + if (onlyCountries.length) { + const lowerCaseOnlyCountries = onlyCountries.map( + (country) => country.toLowerCase() + ); + this.countries = data_default.filter( + (country) => lowerCaseOnlyCountries.includes(country.iso2) + ); + } else if (excludeCountries.length) { + const lowerCaseExcludeCountries = excludeCountries.map( + (country) => country.toLowerCase() + ); + this.countries = data_default.filter( + (country) => !lowerCaseExcludeCountries.includes(country.iso2) + ); + } else { + this.countries = data_default; + } + } + //* Translate Countries by object literal provided on config. + _translateCountryNames() { + for (let i = 0; i < this.countries.length; i++) { + const iso2 = this.countries[i].iso2.toLowerCase(); + if (this.options.i18n.hasOwnProperty(iso2)) { + this.countries[i].name = this.options.i18n[iso2]; + } + } + } + //* Generate this.dialCodes and this.dialCodeToIso2Map. + _processDialCodes() { + this.dialCodes = {}; + this.dialCodeMaxLen = 0; + this.dialCodeToIso2Map = {}; + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + if (!this.dialCodes[c.dialCode]) { + this.dialCodes[c.dialCode] = true; + } + this._addToDialCodeMap(c.iso2, c.dialCode, c.priority); + } + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + if (c.areaCodes) { + const rootIso2Code = this.dialCodeToIso2Map[c.dialCode][0]; + for (let j = 0; j < c.areaCodes.length; j++) { + const areaCode = c.areaCodes[j]; + for (let k = 1; k < areaCode.length; k++) { + const partialAreaCode = areaCode.substr(0, k); + const partialDialCode = c.dialCode + partialAreaCode; + this._addToDialCodeMap(rootIso2Code, partialDialCode); + this._addToDialCodeMap(c.iso2, partialDialCode); + } + this._addToDialCodeMap(c.iso2, c.dialCode + areaCode); + } + } + } + } + //* Generate all of the markup for the plugin: the selected country overlay, and the dropdown. + _generateMarkup() { + this.telInput.classList.add("iti__tel-input"); + if (!this.telInput.hasAttribute("autocomplete") && !(this.telInput.form && this.telInput.form.hasAttribute("autocomplete"))) { + this.telInput.setAttribute("autocomplete", "off"); + } + const { + allowDropdown, + separateDialCode, + showFlags, + containerClass, + hiddenInput, + dropdownContainer, + fixDropdownWidth, + useFullscreenPopup, + countrySearch, + i18n + } = this.options; + let parentClass = "iti"; + if (allowDropdown) { + parentClass += " iti--allow-dropdown"; + } + if (showFlags) { + parentClass += " iti--show-flags"; + } + if (containerClass) { + parentClass += ` ${containerClass}`; + } + if (!useFullscreenPopup) { + parentClass += " iti--inline-dropdown"; + } + const wrapper = createEl("div", { class: parentClass }); + this.telInput.parentNode?.insertBefore(wrapper, this.telInput); + if (allowDropdown || showFlags || separateDialCode) { + this.countryContainer = createEl( + "div", + { class: "iti__country-container" }, + wrapper + ); + if (this.showSelectedCountryOnLeft) { + this.countryContainer.style.left = "0px"; + } else { + this.countryContainer.style.right = "0px"; + } + if (allowDropdown) { + this.selectedCountry = createEl( + "button", + { + type: "button", + class: "iti__selected-country", + "aria-expanded": "false", + "aria-label": this.options.i18n.selectedCountryAriaLabel, + "aria-haspopup": "true", + "aria-controls": `iti-${this.id}__dropdown-content`, + "role": "combobox" + }, + this.countryContainer + ); + if (this.telInput.disabled) { + this.selectedCountry.setAttribute("disabled", "true"); + } + } else { + this.selectedCountry = createEl( + "div", + { class: "iti__selected-country" }, + this.countryContainer + ); + } + const selectedCountryPrimary = createEl("div", { class: "iti__selected-country-primary" }, this.selectedCountry); + this.selectedCountryInner = createEl("div", { class: "iti__flag" }, selectedCountryPrimary); + this.selectedCountryA11yText = createEl( + "span", + { class: "iti__a11y-text" }, + this.selectedCountryInner + ); + if (allowDropdown) { + this.dropdownArrow = createEl( + "div", + { class: "iti__arrow", "aria-hidden": "true" }, + selectedCountryPrimary + ); + } + if (separateDialCode) { + this.selectedDialCode = createEl( + "div", + { class: "iti__selected-dial-code" }, + this.selectedCountry + ); + } + if (allowDropdown) { + const extraClasses = fixDropdownWidth ? "" : "iti--flexible-dropdown-width"; + this.dropdownContent = createEl("div", { + id: `iti-${this.id}__dropdown-content`, + class: `iti__dropdown-content iti__hide ${extraClasses}` + }); + if (countrySearch) { + this.searchInput = createEl( + "input", + { + type: "text", + class: "iti__search-input", + placeholder: i18n.searchPlaceholder, + role: "combobox", + "aria-expanded": "true", + "aria-label": i18n.searchPlaceholder, + "aria-controls": `iti-${this.id}__country-listbox`, + "aria-autocomplete": "list", + "autocomplete": "off" + }, + this.dropdownContent + ); + this.searchResultsA11yText = createEl( + "span", + { class: "iti__a11y-text" }, + this.dropdownContent + ); + } + this.countryList = createEl( + "ul", + { + class: "iti__country-list", + id: `iti-${this.id}__country-listbox`, + role: "listbox", + "aria-label": i18n.countryListAriaLabel + }, + this.dropdownContent + ); + this._appendListItems(); + if (countrySearch) { + this._updateSearchResultsText(); + } + if (dropdownContainer) { + let dropdownClasses = "iti iti--container"; + if (useFullscreenPopup) { + dropdownClasses += " iti--fullscreen-popup"; + } else { + dropdownClasses += " iti--inline-dropdown"; + } + this.dropdown = createEl("div", { class: dropdownClasses }); + this.dropdown.appendChild(this.dropdownContent); + } else { + this.countryContainer.appendChild(this.dropdownContent); + } + } + } + wrapper.appendChild(this.telInput); + this._updateInputPadding(); + if (hiddenInput) { + const telInputName = this.telInput.getAttribute("name") || ""; + const names = hiddenInput(telInputName); + if (names.phone) { + const existingInput = this.telInput.form?.querySelector(`input[name="${names.phone}"]`); + if (existingInput) { + this.hiddenInput = existingInput; + } else { + this.hiddenInput = createEl("input", { + type: "hidden", + name: names.phone + }); + wrapper.appendChild(this.hiddenInput); + } + } + if (names.country) { + const existingInput = this.telInput.form?.querySelector(`input[name="${names.country}"]`); + if (existingInput) { + this.hiddenInputCountry = existingInput; + } else { + this.hiddenInputCountry = createEl("input", { + type: "hidden", + name: names.country + }); + wrapper.appendChild(this.hiddenInputCountry); + } + } + } + } + //* For each country: add a country list item
    • to the countryList
        container. + _appendListItems() { + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + const extraClass = i === 0 ? "iti__highlight" : ""; + const listItem = createEl( + "li", + { + id: `iti-${this.id}__item-${c.iso2}`, + class: `iti__country ${extraClass}`, + tabindex: "-1", + role: "option", + "data-dial-code": c.dialCode, + "data-country-code": c.iso2, + "aria-selected": "false" + }, + this.countryList + ); + c.nodeById[this.id] = listItem; + let content = ""; + if (this.options.showFlags) { + content += `
        `; + } + content += `${c.name}`; + content += `+${c.dialCode}`; + listItem.insertAdjacentHTML("beforeend", content); + } + } + //* Set the initial state of the input value and the selected country by: + //* 1. Extracting a dial code from the given number + //* 2. Using explicit initialCountry + _setInitialState(overrideAutoCountry = false) { + const attributeValue = this.telInput.getAttribute("value"); + const inputValue = this.telInput.value; + const useAttribute = attributeValue && attributeValue.charAt(0) === "+" && (!inputValue || inputValue.charAt(0) !== "+"); + const val = useAttribute ? attributeValue : inputValue; + const dialCode = this._getDialCode(val); + const isRegionlessNanpNumber = isRegionlessNanp(val); + const { initialCountry, geoIpLookup } = this.options; + const isAutoCountry = initialCountry === "auto" && geoIpLookup; + if (dialCode && !isRegionlessNanpNumber) { + this._updateCountryFromNumber(val); + } else if (!isAutoCountry || overrideAutoCountry) { + const lowerInitialCountry = initialCountry ? initialCountry.toLowerCase() : ""; + const isValidInitialCountry = lowerInitialCountry && this._getCountryData(lowerInitialCountry, true); + if (isValidInitialCountry) { + this._setCountry(lowerInitialCountry); + } else { + if (dialCode && isRegionlessNanpNumber) { + this._setCountry("us"); + } else { + this._setCountry(); + } + } + } + if (val) { + this._updateValFromNumber(val); + } + } + //* Initialise the main event listeners: input keyup, and click selected country. + _initListeners() { + this._initTelInputListeners(); + if (this.options.allowDropdown) { + this._initDropdownListeners(); + } + if ((this.hiddenInput || this.hiddenInputCountry) && this.telInput.form) { + this._initHiddenInputListener(); + } + } + //* Update hidden input on form submit. + _initHiddenInputListener() { + this._handleHiddenInputSubmit = () => { + if (this.hiddenInput) { + this.hiddenInput.value = this.getNumber(); + } + if (this.hiddenInputCountry) { + this.hiddenInputCountry.value = this.getSelectedCountryData().iso2 || ""; + } + }; + this.telInput.form?.addEventListener( + "submit", + this._handleHiddenInputSubmit + ); + } + //* initialise the dropdown listeners. + _initDropdownListeners() { + this._handleLabelClick = (e) => { + if (this.dropdownContent.classList.contains("iti__hide")) { + this.telInput.focus(); + } else { + e.preventDefault(); + } + }; + const label = this.telInput.closest("label"); + if (label) { + label.addEventListener("click", this._handleLabelClick); + } + this._handleClickSelectedCountry = () => { + if (this.dropdownContent.classList.contains("iti__hide") && !this.telInput.disabled && !this.telInput.readOnly) { + this._openDropdown(); + } + }; + this.selectedCountry.addEventListener("click", this._handleClickSelectedCountry); + this._handleCountryContainerKeydown = (e) => { + const isDropdownHidden = this.dropdownContent.classList.contains("iti__hide"); + if (isDropdownHidden && ["ArrowUp", "ArrowDown", " ", "Enter"].includes(e.key)) { + e.preventDefault(); + e.stopPropagation(); + this._openDropdown(); + } + if (e.key === "Tab") { + this._closeDropdown(); + } + }; + this.countryContainer.addEventListener( + "keydown", + this._handleCountryContainerKeydown + ); + } + //* Init many requests: utils script / geo ip lookup. + _initRequests() { + let { loadUtils, initialCountry, geoIpLookup } = this.options; + if (loadUtils && !intlTelInput.utils) { + this._handlePageLoad = () => { + window.removeEventListener("load", this._handlePageLoad); + intlTelInput.attachUtils(loadUtils)?.catch(() => { + }); + }; + if (intlTelInput.documentReady()) { + this._handlePageLoad(); + } else { + window.addEventListener("load", this._handlePageLoad); + } + } else { + this.resolveUtilsScriptPromise(); + } + const isAutoCountry = initialCountry === "auto" && geoIpLookup; + if (isAutoCountry && !this.selectedCountryData.iso2) { + this._loadAutoCountry(); + } else { + this.resolveAutoCountryPromise(); + } + } + //* Perform the geo ip lookup. + _loadAutoCountry() { + if (intlTelInput.autoCountry) { + this.handleAutoCountry(); + } else if (!intlTelInput.startedLoadingAutoCountry) { + intlTelInput.startedLoadingAutoCountry = true; + if (typeof this.options.geoIpLookup === "function") { + this.options.geoIpLookup( + (iso2 = "") => { + const iso2Lower = iso2.toLowerCase(); + const isValidIso2 = iso2Lower && this._getCountryData(iso2Lower, true); + if (isValidIso2) { + intlTelInput.autoCountry = iso2Lower; + setTimeout(() => forEachInstance("handleAutoCountry")); + } else { + this._setInitialState(true); + forEachInstance("rejectAutoCountryPromise"); + } + }, + () => { + this._setInitialState(true); + forEachInstance("rejectAutoCountryPromise"); + } + ); + } + } + } + _openDropdownWithPlus() { + this._openDropdown(); + this.searchInput.value = "+"; + this._filterCountries("", true); + } + //* Initialize the tel input listeners. + _initTelInputListeners() { + const { strictMode, formatAsYouType, separateDialCode, formatOnDisplay, allowDropdown, countrySearch } = this.options; + let userOverrideFormatting = false; + if (/\p{L}/u.test(this.telInput.value)) { + userOverrideFormatting = true; + } + this._handleInputEvent = (e) => { + if (this.isAndroid && e?.data === "+" && separateDialCode && allowDropdown && countrySearch) { + const currentCaretPos = this.telInput.selectionStart || 0; + const valueBeforeCaret = this.telInput.value.substring(0, currentCaretPos - 1); + const valueAfterCaret = this.telInput.value.substring(currentCaretPos); + this.telInput.value = valueBeforeCaret + valueAfterCaret; + this._openDropdownWithPlus(); + return; + } + if (this._updateCountryFromNumber(this.telInput.value)) { + this._triggerCountryChange(); + } + const isFormattingChar = e?.data && /[^+0-9]/.test(e.data); + const isPaste = e?.inputType === "insertFromPaste" && this.telInput.value; + if (isFormattingChar || isPaste && !strictMode) { + userOverrideFormatting = true; + } else if (!/[^+0-9]/.test(this.telInput.value)) { + userOverrideFormatting = false; + } + const disableFormatOnSetNumber = e?.detail && e.detail["isSetNumber"] && !formatOnDisplay; + if (formatAsYouType && !userOverrideFormatting && !disableFormatOnSetNumber) { + const currentCaretPos = this.telInput.selectionStart || 0; + const valueBeforeCaret = this.telInput.value.substring(0, currentCaretPos); + const relevantCharsBeforeCaret = valueBeforeCaret.replace(/[^+0-9]/g, "").length; + const isDeleteForwards = e?.inputType === "deleteContentForward"; + const formattedValue = this._formatNumberAsYouType(); + const newCaretPos = translateCursorPosition(relevantCharsBeforeCaret, formattedValue, currentCaretPos, isDeleteForwards); + this.telInput.value = formattedValue; + this.telInput.setSelectionRange(newCaretPos, newCaretPos); + } + }; + this.telInput.addEventListener("input", this._handleInputEvent); + if (strictMode || separateDialCode) { + this._handleKeydownEvent = (e) => { + if (e.key && e.key.length === 1 && !e.altKey && !e.ctrlKey && !e.metaKey) { + if (separateDialCode && allowDropdown && countrySearch && e.key === "+") { + e.preventDefault(); + this._openDropdownWithPlus(); + return; + } + if (strictMode) { + const value = this.telInput.value; + const alreadyHasPlus = value.charAt(0) === "+"; + const isInitialPlus = !alreadyHasPlus && this.telInput.selectionStart === 0 && e.key === "+"; + const isNumeric = /^[0-9]$/.test(e.key); + const isAllowedChar = separateDialCode ? isNumeric : isInitialPlus || isNumeric; + const newValue = value.slice(0, this.telInput.selectionStart) + e.key + value.slice(this.telInput.selectionEnd); + const newFullNumber = this._getFullNumber(newValue); + const coreNumber = intlTelInput.utils.getCoreNumber(newFullNumber, this.selectedCountryData.iso2); + const hasExceededMaxLength = this.maxCoreNumberLength && coreNumber.length > this.maxCoreNumberLength; + let isChangingDialCode = false; + if (alreadyHasPlus) { + const currentCountry = this.selectedCountryData.iso2; + const newCountry = this._getCountryFromNumber(newFullNumber); + isChangingDialCode = newCountry !== currentCountry; + } + if (!isAllowedChar || hasExceededMaxLength && !isChangingDialCode && !isInitialPlus) { + e.preventDefault(); + } + } + } + }; + this.telInput.addEventListener("keydown", this._handleKeydownEvent); + } + } + //* Adhere to the input's maxlength attr. + _cap(number) { + const max = parseInt(this.telInput.getAttribute("maxlength") || "", 10); + return max && number.length > max ? number.substr(0, max) : number; + } + //* Trigger a custom event on the input. + _trigger(name, detailProps = {}) { + const e = new CustomEvent(name, { + bubbles: true, + cancelable: true, + detail: detailProps + }); + this.telInput.dispatchEvent(e); + } + //* Open the dropdown. + _openDropdown() { + const { fixDropdownWidth, countrySearch } = this.options; + if (fixDropdownWidth) { + this.dropdownContent.style.width = `${this.telInput.offsetWidth}px`; + } + this.dropdownContent.classList.remove("iti__hide"); + this.selectedCountry.setAttribute("aria-expanded", "true"); + this._setDropdownPosition(); + if (countrySearch) { + const firstCountryItem = this.countryList.firstElementChild; + if (firstCountryItem) { + this._highlightListItem(firstCountryItem, false); + this.countryList.scrollTop = 0; + } + this.searchInput.focus(); + } + this._bindDropdownListeners(); + this.dropdownArrow.classList.add("iti__arrow--up"); + this._trigger("open:countrydropdown"); + } + //* Set the dropdown position + _setDropdownPosition() { + if (this.options.dropdownContainer) { + this.options.dropdownContainer.appendChild(this.dropdown); + } + if (!this.options.useFullscreenPopup) { + const inputPosRelativeToVP = this.telInput.getBoundingClientRect(); + const inputHeight = this.telInput.offsetHeight; + if (this.options.dropdownContainer) { + this.dropdown.style.top = `${inputPosRelativeToVP.top + inputHeight}px`; + this.dropdown.style.left = `${inputPosRelativeToVP.left}px`; + this._handleWindowScroll = () => this._closeDropdown(); + window.addEventListener("scroll", this._handleWindowScroll); + } + } + } + //* We only bind dropdown listeners when the dropdown is open. + _bindDropdownListeners() { + this._handleMouseoverCountryList = (e) => { + const listItem = e.target?.closest(".iti__country"); + if (listItem) { + this._highlightListItem(listItem, false); + } + }; + this.countryList.addEventListener( + "mouseover", + this._handleMouseoverCountryList + ); + this._handleClickCountryList = (e) => { + const listItem = e.target?.closest(".iti__country"); + if (listItem) { + this._selectListItem(listItem); + } + }; + this.countryList.addEventListener("click", this._handleClickCountryList); + let isOpening = true; + this._handleClickOffToClose = () => { + if (!isOpening) { + this._closeDropdown(); + } + isOpening = false; + }; + document.documentElement.addEventListener( + "click", + this._handleClickOffToClose + ); + let query = ""; + let queryTimer = null; + this._handleKeydownOnDropdown = (e) => { + if (["ArrowUp", "ArrowDown", "Enter", "Escape"].includes(e.key)) { + e.preventDefault(); + e.stopPropagation(); + if (e.key === "ArrowUp" || e.key === "ArrowDown") { + this._handleUpDownKey(e.key); + } else if (e.key === "Enter") { + this._handleEnterKey(); + } else if (e.key === "Escape") { + this._closeDropdown(); + } + } + if (!this.options.countrySearch && /^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e.key)) { + e.stopPropagation(); + if (queryTimer) { + clearTimeout(queryTimer); + } + query += e.key.toLowerCase(); + this._searchForCountry(query); + queryTimer = setTimeout(() => { + query = ""; + }, 1e3); + } + }; + document.addEventListener("keydown", this._handleKeydownOnDropdown); + if (this.options.countrySearch) { + const doFilter = () => { + const inputQuery = this.searchInput.value.trim(); + if (inputQuery) { + this._filterCountries(inputQuery); + } else { + this._filterCountries("", true); + } + }; + let keyupTimer = null; + this._handleSearchChange = () => { + if (keyupTimer) { + clearTimeout(keyupTimer); + } + keyupTimer = setTimeout(() => { + doFilter(); + keyupTimer = null; + }, 100); + }; + this.searchInput.addEventListener("input", this._handleSearchChange); + this.searchInput.addEventListener("click", (e) => e.stopPropagation()); + } + } + //* Hidden search (countrySearch disabled): Find the first list item whose name starts with the query string. + _searchForCountry(query) { + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + const startsWith = c.name.substr(0, query.length).toLowerCase() === query; + if (startsWith) { + const listItem = c.nodeById[this.id]; + this._highlightListItem(listItem, false); + this._scrollTo(listItem); + break; + } + } + } + //* Country search enabled: Filter the countries according to the search query. + _filterCountries(query, isReset = false) { + let noCountriesAddedYet = true; + this.countryList.innerHTML = ""; + const normalisedQuery = normaliseString(query); + for (let i = 0; i < this.countries.length; i++) { + const c = this.countries[i]; + const normalisedCountryName = normaliseString(c.name); + const countryInitials = c.name.split(/[^a-zA-ZÀ-ÿа-яА-Я]/).map((word) => word[0]).join("").toLowerCase(); + const fullDialCode = `+${c.dialCode}`; + if (isReset || normalisedCountryName.includes(normalisedQuery) || fullDialCode.includes(normalisedQuery) || c.iso2.includes(normalisedQuery) || countryInitials.includes(normalisedQuery)) { + const listItem = c.nodeById[this.id]; + if (listItem) { + this.countryList.appendChild(listItem); + } + if (noCountriesAddedYet) { + this._highlightListItem(listItem, false); + noCountriesAddedYet = false; + } + } + } + if (noCountriesAddedYet) { + this._highlightListItem(null, false); + } + this.countryList.scrollTop = 0; + this._updateSearchResultsText(); + } + //* Update search results text (for a11y). + _updateSearchResultsText() { + const { i18n } = this.options; + const count = this.countryList.childElementCount; + let searchText; + if (count === 0) { + searchText = i18n.zeroSearchResults; + } else if (count === 1) { + searchText = i18n.oneSearchResult; + } else { + searchText = i18n.multipleSearchResults.replace("${count}", count.toString()); + } + this.searchResultsA11yText.textContent = searchText; + } + //* Highlight the next/prev item in the list (and ensure it is visible). + _handleUpDownKey(key) { + let next = key === "ArrowUp" ? this.highlightedItem?.previousElementSibling : this.highlightedItem?.nextElementSibling; + if (!next && this.countryList.childElementCount > 1) { + next = key === "ArrowUp" ? this.countryList.lastElementChild : this.countryList.firstElementChild; + } + if (next) { + this._scrollTo(next); + this._highlightListItem(next, false); + } + } + //* Select the currently highlighted item. + _handleEnterKey() { + if (this.highlightedItem) { + this._selectListItem(this.highlightedItem); + } + } + //* Update the input's value to the given val (format first if possible) + //* NOTE: this is called from _setInitialState, handleUtils and setNumber. + _updateValFromNumber(fullNumber) { + let number = fullNumber; + if (this.options.formatOnDisplay && intlTelInput.utils && this.selectedCountryData) { + const useNational = this.options.nationalMode || number.charAt(0) !== "+" && !this.options.separateDialCode; + const { NATIONAL, INTERNATIONAL } = intlTelInput.utils.numberFormat; + const format = useNational ? NATIONAL : INTERNATIONAL; + number = intlTelInput.utils.formatNumber( + number, + this.selectedCountryData.iso2, + format + ); + } + number = this._beforeSetNumber(number); + this.telInput.value = number; + } + //* Check if need to select a new country based on the given number + //* Note: called from _setInitialState, keyup handler, setNumber. + _updateCountryFromNumber(fullNumber) { + const iso2 = this._getCountryFromNumber(fullNumber); + if (iso2 !== null) { + return this._setCountry(iso2); + } + return false; + } + _ensureHasDialCode(number) { + const { dialCode, nationalPrefix } = this.selectedCountryData; + const alreadyHasPlus = number.charAt(0) === "+"; + if (alreadyHasPlus || !dialCode) { + return number; + } + const hasPrefix = nationalPrefix && number.charAt(0) === nationalPrefix && !this.options.separateDialCode; + const cleanNumber = hasPrefix ? number.substring(1) : number; + return `+${dialCode}${cleanNumber}`; + } + _getCountryFromNumber(fullNumber) { + const plusIndex = fullNumber.indexOf("+"); + let number = plusIndex ? fullNumber.substring(plusIndex) : fullNumber; + const selectedIso2 = this.selectedCountryData.iso2; + const selectedDialCode = this.selectedCountryData.dialCode; + number = this._ensureHasDialCode(number); + const dialCodeMatch = this._getDialCode(number, true); + const numeric = getNumeric(number); + if (dialCodeMatch) { + const dialCodeMatchNumeric = getNumeric(dialCodeMatch); + const iso2Codes = this.dialCodeToIso2Map[dialCodeMatchNumeric]; + if (!selectedIso2 && this.defaultCountry && iso2Codes.includes(this.defaultCountry)) { + return this.defaultCountry; + } + const alreadySelected = selectedIso2 && iso2Codes.includes(selectedIso2) && (numeric.length === dialCodeMatchNumeric.length || !this.selectedCountryData.areaCodes); + const isRegionlessNanpNumber = selectedDialCode === "1" && isRegionlessNanp(numeric); + if (!isRegionlessNanpNumber && !alreadySelected) { + for (let j = 0; j < iso2Codes.length; j++) { + if (iso2Codes[j]) { + return iso2Codes[j]; + } + } + } + } else if (number.charAt(0) === "+" && numeric.length) { + return ""; + } else if ((!number || number === "+") && !this.selectedCountryData.iso2) { + return this.defaultCountry; + } + return null; + } + //* Remove highlighting from other list items and highlight the given item. + _highlightListItem(listItem, shouldFocus) { + const prevItem = this.highlightedItem; + if (prevItem) { + prevItem.classList.remove("iti__highlight"); + prevItem.setAttribute("aria-selected", "false"); + } + this.highlightedItem = listItem; + if (this.highlightedItem) { + this.highlightedItem.classList.add("iti__highlight"); + this.highlightedItem.setAttribute("aria-selected", "true"); + const activeDescendant = this.highlightedItem.getAttribute("id") || ""; + this.selectedCountry.setAttribute("aria-activedescendant", activeDescendant); + if (this.options.countrySearch) { + this.searchInput.setAttribute("aria-activedescendant", activeDescendant); + } + } + if (shouldFocus) { + this.highlightedItem.focus(); + } + } + //* Find the country data for the given iso2 code + //* the ignoreOnlyCountriesOption is only used during init() while parsing the onlyCountries array + _getCountryData(iso2, allowFail) { + for (let i = 0; i < this.countries.length; i++) { + if (this.countries[i].iso2 === iso2) { + return this.countries[i]; + } + } + if (allowFail) { + return null; + } + throw new Error(`No country data for '${iso2}'`); + } + //* Update the selected country, dial code (if separateDialCode), placeholder, title, and active list item. + //* Note: called from _setInitialState, _updateCountryFromNumber, _selectListItem, setCountry. + _setCountry(iso2) { + const { separateDialCode, showFlags, i18n } = this.options; + const prevCountry = this.selectedCountryData.iso2 ? this.selectedCountryData : {}; + this.selectedCountryData = iso2 ? this._getCountryData(iso2, false) || {} : {}; + if (this.selectedCountryData.iso2) { + this.defaultCountry = this.selectedCountryData.iso2; + } + if (this.selectedCountryInner) { + let flagClass = ""; + let a11yText = ""; + if (iso2 && showFlags) { + flagClass = `iti__flag iti__${iso2}`; + a11yText = `${this.selectedCountryData.name} +${this.selectedCountryData.dialCode}`; + } else { + flagClass = "iti__flag iti__globe"; + a11yText = i18n.noCountrySelected; + } + this.selectedCountryInner.className = flagClass; + this.selectedCountryA11yText.textContent = a11yText; + } + this._setSelectedCountryTitleAttribute(iso2, separateDialCode); + if (separateDialCode) { + const dialCode = this.selectedCountryData.dialCode ? `+${this.selectedCountryData.dialCode}` : ""; + this.selectedDialCode.innerHTML = dialCode; + this._updateInputPadding(); + } + this._updatePlaceholder(); + this._updateMaxLength(); + return prevCountry.iso2 !== iso2; + } + //* Update the input padding to make space for the selected country/dial code. + _updateInputPadding() { + if (this.selectedCountry) { + const selectedCountryWidth = this.selectedCountry.offsetWidth || this._getHiddenSelectedCountryWidth(); + const inputPadding = selectedCountryWidth + 6; + if (this.showSelectedCountryOnLeft) { + this.telInput.style.paddingLeft = `${inputPadding}px`; + } else { + this.telInput.style.paddingRight = `${inputPadding}px`; + } + } + } + //* Update the maximum valid number length for the currently selected country. + _updateMaxLength() { + const { strictMode, placeholderNumberType, validationNumberTypes } = this.options; + const { iso2 } = this.selectedCountryData; + if (strictMode && intlTelInput.utils) { + if (iso2) { + const numberType = intlTelInput.utils.numberType[placeholderNumberType]; + let exampleNumber = intlTelInput.utils.getExampleNumber( + iso2, + false, + numberType, + true + ); + let validNumber = exampleNumber; + while (intlTelInput.utils.isPossibleNumber(exampleNumber, iso2, validationNumberTypes)) { + validNumber = exampleNumber; + exampleNumber += "0"; + } + const coreNumber = intlTelInput.utils.getCoreNumber(validNumber, iso2); + this.maxCoreNumberLength = coreNumber.length; + if (iso2 === "by") { + this.maxCoreNumberLength = coreNumber.length + 1; + } + } else { + this.maxCoreNumberLength = null; + } + } + } + _setSelectedCountryTitleAttribute(iso2 = null, separateDialCode) { + if (!this.selectedCountry) { + return; + } + let title; + if (iso2 && !separateDialCode) { + title = `${this.selectedCountryData.name}: +${this.selectedCountryData.dialCode}`; + } else if (iso2) { + title = this.selectedCountryData.name; + } else { + title = "Unknown"; + } + this.selectedCountry.setAttribute("title", title); + } + //* When the input is in a hidden container during initialisation, we must inject some markup + //* into the end of the DOM to calculate the correct offsetWidth. + //* NOTE: this is only used when separateDialCode is enabled, so countryContainer and selectedCountry + //* will definitely exist. + _getHiddenSelectedCountryWidth() { + if (this.telInput.parentNode) { + const containerClone = this.telInput.parentNode.cloneNode(false); + containerClone.style.visibility = "hidden"; + document.body.appendChild(containerClone); + const countryContainerClone = this.countryContainer.cloneNode(); + containerClone.appendChild(countryContainerClone); + const selectedCountryClone = this.selectedCountry.cloneNode(true); + countryContainerClone.appendChild(selectedCountryClone); + const width = selectedCountryClone.offsetWidth; + document.body.removeChild(containerClone); + return width; + } + return 0; + } + //* Update the input placeholder to an example number from the currently selected country. + _updatePlaceholder() { + const { + autoPlaceholder, + placeholderNumberType, + nationalMode, + customPlaceholder + } = this.options; + const shouldSetPlaceholder = autoPlaceholder === "aggressive" || !this.hadInitialPlaceholder && autoPlaceholder === "polite"; + if (intlTelInput.utils && shouldSetPlaceholder) { + const numberType = intlTelInput.utils.numberType[placeholderNumberType]; + let placeholder = this.selectedCountryData.iso2 ? intlTelInput.utils.getExampleNumber( + this.selectedCountryData.iso2, + nationalMode, + numberType + ) : ""; + placeholder = this._beforeSetNumber(placeholder); + if (typeof customPlaceholder === "function") { + placeholder = customPlaceholder(placeholder, this.selectedCountryData); + } + this.telInput.setAttribute("placeholder", placeholder); + } + } + //* Called when the user selects a list item from the dropdown. + _selectListItem(listItem) { + const countryChanged = this._setCountry( + listItem.getAttribute("data-country-code") + ); + this._closeDropdown(); + this._updateDialCode(listItem.getAttribute("data-dial-code")); + this.telInput.focus(); + if (countryChanged) { + this._triggerCountryChange(); + } + } + //* Close the dropdown and unbind any listeners. + _closeDropdown() { + this.dropdownContent.classList.add("iti__hide"); + this.selectedCountry.setAttribute("aria-expanded", "false"); + this.selectedCountry.removeAttribute("aria-activedescendant"); + if (this.highlightedItem) { + this.highlightedItem.setAttribute("aria-selected", "false"); + } + if (this.options.countrySearch) { + this.searchInput.removeAttribute("aria-activedescendant"); + } + this.dropdownArrow.classList.remove("iti__arrow--up"); + document.removeEventListener("keydown", this._handleKeydownOnDropdown); + if (this.options.countrySearch) { + this.searchInput.removeEventListener("input", this._handleSearchChange); + } + document.documentElement.removeEventListener( + "click", + this._handleClickOffToClose + ); + this.countryList.removeEventListener( + "mouseover", + this._handleMouseoverCountryList + ); + this.countryList.removeEventListener("click", this._handleClickCountryList); + if (this.options.dropdownContainer) { + if (!this.options.useFullscreenPopup) { + window.removeEventListener("scroll", this._handleWindowScroll); + } + if (this.dropdown.parentNode) { + this.dropdown.parentNode.removeChild(this.dropdown); + } + } + if (this._handlePageLoad) { + window.removeEventListener("load", this._handlePageLoad); + } + this._trigger("close:countrydropdown"); + } + //* Check if an element is visible within it's container, else scroll until it is. + _scrollTo(element) { + const container = this.countryList; + const scrollTop = document.documentElement.scrollTop; + const containerHeight = container.offsetHeight; + const containerTop = container.getBoundingClientRect().top + scrollTop; + const containerBottom = containerTop + containerHeight; + const elementHeight = element.offsetHeight; + const elementTop = element.getBoundingClientRect().top + scrollTop; + const elementBottom = elementTop + elementHeight; + const newScrollTop = elementTop - containerTop + container.scrollTop; + if (elementTop < containerTop) { + container.scrollTop = newScrollTop; + } else if (elementBottom > containerBottom) { + const heightDifference = containerHeight - elementHeight; + container.scrollTop = newScrollTop - heightDifference; + } + } + //* Replace any existing dial code with the new one + //* Note: called from _selectListItem and setCountry + _updateDialCode(newDialCodeBare) { + const inputVal = this.telInput.value; + const newDialCode = `+${newDialCodeBare}`; + let newNumber; + if (inputVal.charAt(0) === "+") { + const prevDialCode = this._getDialCode(inputVal); + if (prevDialCode) { + newNumber = inputVal.replace(prevDialCode, newDialCode); + } else { + newNumber = newDialCode; + } + this.telInput.value = newNumber; + } + } + //* Try and extract a valid international dial code from a full telephone number. + //* Note: returns the raw string inc plus character and any whitespace/dots etc. + _getDialCode(number, includeAreaCode) { + let dialCode = ""; + if (number.charAt(0) === "+") { + let numericChars = ""; + for (let i = 0; i < number.length; i++) { + const c = number.charAt(i); + if (!isNaN(parseInt(c, 10))) { + numericChars += c; + if (includeAreaCode) { + if (this.dialCodeToIso2Map[numericChars]) { + dialCode = number.substr(0, i + 1); + } + } else { + if (this.dialCodes[numericChars]) { + dialCode = number.substr(0, i + 1); + break; + } + } + if (numericChars.length === this.dialCodeMaxLen) { + break; + } + } + } + } + return dialCode; + } + //* Get the input val, adding the dial code if separateDialCode is enabled. + _getFullNumber(overrideVal) { + const val = overrideVal || this.telInput.value.trim(); + const { dialCode } = this.selectedCountryData; + let prefix; + const numericVal = getNumeric(val); + if (this.options.separateDialCode && val.charAt(0) !== "+" && dialCode && numericVal) { + prefix = `+${dialCode}`; + } else { + prefix = ""; + } + return prefix + val; + } + //* Remove the dial code if separateDialCode is enabled also cap the length if the input has a maxlength attribute + _beforeSetNumber(fullNumber) { + let number = fullNumber; + if (this.options.separateDialCode) { + let dialCode = this._getDialCode(number); + if (dialCode) { + dialCode = `+${this.selectedCountryData.dialCode}`; + const start = number[dialCode.length] === " " || number[dialCode.length] === "-" ? dialCode.length + 1 : dialCode.length; + number = number.substr(start); + } + } + return this._cap(number); + } + //* Trigger the 'countrychange' event. + _triggerCountryChange() { + this._trigger("countrychange"); + } + //* Format the number as the user types. + _formatNumberAsYouType() { + const val = this._getFullNumber(); + const result = intlTelInput.utils ? intlTelInput.utils.formatNumberAsYouType(val, this.selectedCountryData.iso2) : val; + const { dialCode } = this.selectedCountryData; + if (this.options.separateDialCode && this.telInput.value.charAt(0) !== "+" && result.includes(`+${dialCode}`)) { + const afterDialCode = result.split(`+${dialCode}`)[1] || ""; + return afterDialCode.trim(); + } + return result; + } + //************************** + //* SECRET PUBLIC METHODS + //************************** + //* This is called when the geoip call returns. + handleAutoCountry() { + if (this.options.initialCountry === "auto" && intlTelInput.autoCountry) { + this.defaultCountry = intlTelInput.autoCountry; + const hasSelectedCountryOrGlobe = this.selectedCountryData.iso2 || this.selectedCountryInner.classList.contains("iti__globe"); + if (!hasSelectedCountryOrGlobe) { + this.setCountry(this.defaultCountry); + } + this.resolveAutoCountryPromise(); + } + } + //* This is called when the utils request completes. + handleUtils() { + if (intlTelInput.utils) { + if (this.telInput.value) { + this._updateValFromNumber(this.telInput.value); + } + if (this.selectedCountryData.iso2) { + this._updatePlaceholder(); + this._updateMaxLength(); + } + } + this.resolveUtilsScriptPromise(); + } + //******************** + //* PUBLIC METHODS + //******************** + //* Remove plugin. + destroy() { + const { allowDropdown, separateDialCode } = this.options; + if (allowDropdown) { + this._closeDropdown(); + this.selectedCountry.removeEventListener( + "click", + this._handleClickSelectedCountry + ); + this.countryContainer.removeEventListener( + "keydown", + this._handleCountryContainerKeydown + ); + const label = this.telInput.closest("label"); + if (label) { + label.removeEventListener("click", this._handleLabelClick); + } + } + const { form } = this.telInput; + if (this._handleHiddenInputSubmit && form) { + form.removeEventListener("submit", this._handleHiddenInputSubmit); + } + this.telInput.removeEventListener("input", this._handleInputEvent); + if (this._handleKeydownEvent) { + this.telInput.removeEventListener("keydown", this._handleKeydownEvent); + } + this.telInput.removeAttribute("data-intl-tel-input-id"); + if (separateDialCode) { + if (this.isRTL) { + this.telInput.style.paddingRight = this.originalPaddingRight; + } else { + this.telInput.style.paddingLeft = this.originalPaddingLeft; + } + } + const wrapper = this.telInput.parentNode; + wrapper?.parentNode?.insertBefore(this.telInput, wrapper); + wrapper?.parentNode?.removeChild(wrapper); + delete intlTelInput.instances[this.id]; + } + //* Get the extension from the current number. + getExtension() { + if (intlTelInput.utils) { + return intlTelInput.utils.getExtension( + this._getFullNumber(), + this.selectedCountryData.iso2 + ); + } + return ""; + } + //* Format the number to the given format. + getNumber(format) { + if (intlTelInput.utils) { + const { iso2 } = this.selectedCountryData; + return intlTelInput.utils.formatNumber( + this._getFullNumber(), + iso2, + format + ); + } + return ""; + } + //* Get the type of the entered number e.g. landline/mobile. + getNumberType() { + if (intlTelInput.utils) { + return intlTelInput.utils.getNumberType( + this._getFullNumber(), + this.selectedCountryData.iso2 + ); + } + return -99; + } + //* Get the country data for the currently selected country. + getSelectedCountryData() { + return this.selectedCountryData; + } + //* Get the validation error. + getValidationError() { + if (intlTelInput.utils) { + const { iso2 } = this.selectedCountryData; + return intlTelInput.utils.getValidationError(this._getFullNumber(), iso2); + } + return -99; + } + //* Validate the input val + isValidNumber() { + if (!this.selectedCountryData.iso2) { + return false; + } + const val = this._getFullNumber(); + const alphaCharPosition = val.search(/\p{L}/u); + if (alphaCharPosition > -1) { + const beforeAlphaChar = val.substring(0, alphaCharPosition); + const beforeAlphaIsValid = this._utilsIsPossibleNumber(beforeAlphaChar); + const isValid = this._utilsIsPossibleNumber(val); + return beforeAlphaIsValid && isValid; + } + return this._utilsIsPossibleNumber(val); + } + _utilsIsPossibleNumber(val) { + return intlTelInput.utils ? intlTelInput.utils.isPossibleNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null; + } + //* Validate the input val (precise) + isValidNumberPrecise() { + if (!this.selectedCountryData.iso2) { + return false; + } + const val = this._getFullNumber(); + const alphaCharPosition = val.search(/\p{L}/u); + if (alphaCharPosition > -1) { + const beforeAlphaChar = val.substring(0, alphaCharPosition); + const beforeAlphaIsValid = this._utilsIsValidNumber(beforeAlphaChar); + const isValid = this._utilsIsValidNumber(val); + return beforeAlphaIsValid && isValid; + } + return this._utilsIsValidNumber(val); + } + _utilsIsValidNumber(val) { + return intlTelInput.utils ? intlTelInput.utils.isValidNumber(val, this.selectedCountryData.iso2, this.options.validationNumberTypes) : null; + } + //* Update the selected country, and update the input val accordingly. + setCountry(iso2) { + const iso2Lower = iso2?.toLowerCase(); + const currentCountry = this.selectedCountryData.iso2; + const isCountryChange = iso2 && iso2Lower !== currentCountry || !iso2 && currentCountry; + if (isCountryChange) { + this._setCountry(iso2Lower); + this._updateDialCode(this.selectedCountryData.dialCode); + this._triggerCountryChange(); + } + } + //* Set the input value and update the country. + setNumber(number) { + const countryChanged = this._updateCountryFromNumber(number); + this._updateValFromNumber(number); + if (countryChanged) { + this._triggerCountryChange(); + } + this._trigger("input", { isSetNumber: true }); + } + //* Set the placeholder number typ + setPlaceholderNumberType(type) { + this.options.placeholderNumberType = type; + this._updatePlaceholder(); + } + setDisabled(disabled) { + this.telInput.disabled = disabled; + if (disabled) { + this.selectedCountry.setAttribute("disabled", "true"); + } else { + this.selectedCountry.removeAttribute("disabled"); + } + } + }; + var attachUtils = (source) => { + if (!intlTelInput.utils && !intlTelInput.startedLoadingUtilsScript) { + let loadCall; + if (typeof source === "function") { + try { + loadCall = Promise.resolve(source()); + } catch (error) { + return Promise.reject(error); + } + } else { + return Promise.reject(new TypeError(`The argument passed to attachUtils must be a function that returns a promise for the utilities module, not ${typeof source}`)); + } + intlTelInput.startedLoadingUtilsScript = true; + return loadCall.then((module) => { + const utils2 = module?.default; + if (!utils2 || typeof utils2 !== "object") { + throw new TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export."); + } + intlTelInput.utils = utils2; + forEachInstance("handleUtils"); + return true; + }).catch((error) => { + forEachInstance("rejectUtilsScriptPromise", error); + throw error; + }); + } + return null; + }; + var intlTelInput = Object.assign( + (input, options) => { + const iti = new Iti(input, options); + iti._init(); + input.setAttribute("data-intl-tel-input-id", iti.id.toString()); + intlTelInput.instances[iti.id] = iti; + return iti; + }, + { + defaults, + //* Using a static var like this allows us to mock it in the tests. + documentReady: () => document.readyState === "complete", + //* Get the country data object. + getCountryData: () => data_default, + //* A getter for the plugin instance. + getInstance: (input) => { + const id2 = input.getAttribute("data-intl-tel-input-id"); + return id2 ? intlTelInput.instances[id2] : null; + }, + //* A map from instance ID to instance object. + instances: {}, + attachUtils, + startedLoadingUtilsScript: false, + startedLoadingAutoCountry: false, + version: "25.3.0" + } + ); + var intl_tel_input_default = intlTelInput; + + // build/js/utils.js + (function() { + var k = this || self; + function m(a, b) { + a = a.split("."); + var c = k; + a[0] in c || "undefined" == typeof c.execScript || c.execScript("var " + a[0]); + for (var d; a.length && (d = a.shift()); ) a.length || void 0 === b ? c[d] && c[d] !== Object.prototype[d] ? c = c[d] : c = c[d] = {} : c[d] = b; + } + function n(a, b) { + function c() { + } + c.prototype = b.prototype; + a.ma = b.prototype; + a.prototype = new c(); + a.prototype.constructor = a; + a.sa = function(d, e, f) { + for (var g = Array(arguments.length - 2), h = 2; h < arguments.length; h++) g[h - 2] = arguments[h]; + return b.prototype[e].apply(d, g); + }; + } + ; + function aa(a) { + const b = []; + let c = 0; + for (const d in a) b[c++] = a[d]; + return b; + } + ; + var da = class { + constructor(a) { + if (ba !== ba) throw Error("SafeUrl is not meant to be built directly"); + this.g = a; + } + toString() { + return this.g.toString(); + } + }, ba = {}; + new da("about:invalid#zClosurez"); + new da("about:blank"); + const ea = {}; + class fa { + constructor() { + if (ea !== ea) throw Error("SafeStyle is not meant to be built directly"); + } + toString() { + return "".toString(); + } + } + new fa(); + const ha = {}; + class ia { + constructor() { + if (ha !== ha) throw Error("SafeStyleSheet is not meant to be built directly"); + } + toString() { + return "".toString(); + } + } + new ia(); + const ja = {}; + class ka { + constructor() { + var a = k.trustedTypes && k.trustedTypes.emptyHTML || ""; + if (ja !== ja) throw Error("SafeHtml is not meant to be built directly"); + this.g = a; + } + toString() { + return this.g.toString(); + } + } + new ka(); + function la(a, b) { + this.g = a; + this.l = !!b.aa; + this.h = b.i; + this.s = b.type; + this.o = false; + switch (this.h) { + case ma: + case na: + case oa: + case pa: + case qa: + case ra: + case sa: + this.o = true; + } + this.j = b.defaultValue; + } + var sa = 1, ra = 2, ma = 3, na = 4, oa = 6, pa = 16, qa = 18; + function ta(a, b) { + this.h = a; + this.g = {}; + for (a = 0; a < b.length; a++) { + var c = b[a]; + this.g[c.g] = c; + } + } + function ua(a) { + a = aa(a.g); + a.sort(function(b, c) { + return b.g - c.g; + }); + return a; + } + ; + function p() { + this.h = {}; + this.j = this.m().g; + this.g = this.l = null; + } + p.prototype.has = function(a) { + return q(this, a.g); + }; + p.prototype.get = function(a, b) { + return r(this, a.g, b); + }; + p.prototype.set = function(a, b) { + t(this, a.g, b); + }; + p.prototype.add = function(a, b) { + va(this, a.g, b); + }; + function wa(a, b) { + for (var c = ua(a.m()), d = 0; d < c.length; d++) { + var e = c[d], f = e.g; + if (q(b, f)) { + a.g && delete a.g[e.g]; + var g = 11 == e.h || 10 == e.h; + if (e.l) { + e = u(b, f); + for (var h = 0; h < e.length; h++) va(a, f, g ? e[h].clone() : e[h]); + } else e = v(b, f), g ? (g = v(a, f)) ? wa(g, e) : t(a, f, e.clone()) : t(a, f, e); + } + } + } + p.prototype.clone = function() { + var a = new this.constructor(); + a != this && (a.h = {}, a.g && (a.g = {}), wa(a, this)); + return a; + }; + function q(a, b) { + return null != a.h[b]; + } + function v(a, b) { + var c = a.h[b]; + if (null == c) return null; + if (a.l) { + if (!(b in a.g)) { + var d = a.l, e = a.j[b]; + if (null != c) if (e.l) { + for (var f = [], g = 0; g < c.length; g++) f[g] = d.h(e, c[g]); + c = f; + } else c = d.h(e, c); + return a.g[b] = c; + } + return a.g[b]; + } + return c; + } + function r(a, b, c) { + var d = v(a, b); + return a.j[b].l ? d[c || 0] : d; + } + function w(a, b) { + if (q(a, b)) a = r(a, b); + else a: { + a = a.j[b]; + if (void 0 === a.j) if (b = a.s, b === Boolean) a.j = false; + else if (b === Number) a.j = 0; + else if (b === String) a.j = a.o ? "0" : ""; + else { + a = new b(); + break a; + } + a = a.j; + } + return a; + } + function u(a, b) { + return v(a, b) || []; + } + function x(a, b) { + return a.j[b].l ? q(a, b) ? a.h[b].length : 0 : q(a, b) ? 1 : 0; + } + function t(a, b, c) { + a.h[b] = c; + a.g && (a.g[b] = c); + } + function va(a, b, c) { + a.h[b] || (a.h[b] = []); + a.h[b].push(c); + a.g && delete a.g[b]; + } + function y(a, b) { + var c = [], d; + for (d in b) 0 != d && c.push(new la(d, b[d])); + return new ta(a, c); + } + ; + function z() { + } + z.prototype.g = function(a) { + new a.h(); + throw Error("Unimplemented"); + }; + z.prototype.h = function(a, b) { + if (11 == a.h || 10 == a.h) return b instanceof p ? b : this.g(a.s.prototype.m(), b); + if (14 == a.h) return "string" === typeof b && xa.test(b) && (a = Number(b), 0 < a) ? a : b; + if (!a.o) return b; + a = a.s; + if (a === String) { + if ("number" === typeof b) return String(b); + } else if (a === Number && "string" === typeof b && ("Infinity" === b || "-Infinity" === b || "NaN" === b || xa.test(b))) return Number(b); + return b; + }; + var xa = /^-?[0-9]+$/; + function B() { + } + n(B, z); + B.prototype.g = function(a, b) { + a = new a.h(); + a.l = this; + a.h = b; + a.g = {}; + return a; + }; + function C() { + } + n(C, B); + C.prototype.h = function(a, b) { + return 8 == a.h ? !!b : z.prototype.h.apply(this, arguments); + }; + C.prototype.g = function(a, b) { + return C.ma.g.call(this, a, b); + }; + function D(a, b) { + null != a && this.g.apply(this, arguments); + } + D.prototype.h = ""; + D.prototype.set = function(a) { + this.h = "" + a; + }; + D.prototype.g = function(a, b, c) { + this.h += String(a); + if (null != b) for (let d = 1; d < arguments.length; d++) this.h += arguments[d]; + return this; + }; + function E(a) { + a.h = ""; + } + D.prototype.toString = function() { + return this.h; + }; + function F() { + p.call(this); + } + n(F, p); + var ya = null; + function G() { + p.call(this); + } + n(G, p); + var za = null; + function H() { + p.call(this); + } + n(H, p); + var Aa = null; + F.prototype.m = function() { + var a = ya; + a || (ya = a = y(F, { 0: { name: "NumberFormat", ia: "i18n.phonenumbers.NumberFormat" }, 1: { name: "pattern", required: true, i: 9, type: String }, 2: { name: "format", required: true, i: 9, type: String }, 3: { name: "leading_digits_pattern", aa: true, i: 9, type: String }, 4: { name: "national_prefix_formatting_rule", i: 9, type: String }, 6: { name: "national_prefix_optional_when_formatting", i: 8, defaultValue: false, type: Boolean }, 5: { name: "domestic_carrier_code_formatting_rule", i: 9, type: String } })); + return a; + }; + F.m = F.prototype.m; + G.prototype.m = function() { + var a = za; + a || (za = a = y(G, { 0: { name: "PhoneNumberDesc", ia: "i18n.phonenumbers.PhoneNumberDesc" }, 2: { name: "national_number_pattern", i: 9, type: String }, 9: { name: "possible_length", aa: true, i: 5, type: Number }, 10: { name: "possible_length_local_only", aa: true, i: 5, type: Number }, 6: { name: "example_number", i: 9, type: String } })); + return a; + }; + G.m = G.prototype.m; + H.prototype.m = function() { + var a = Aa; + a || (Aa = a = y(H, { + 0: { name: "PhoneMetadata", ia: "i18n.phonenumbers.PhoneMetadata" }, + 1: { name: "general_desc", i: 11, type: G }, + 2: { name: "fixed_line", i: 11, type: G }, + 3: { name: "mobile", i: 11, type: G }, + 4: { name: "toll_free", i: 11, type: G }, + 5: { name: "premium_rate", i: 11, type: G }, + 6: { name: "shared_cost", i: 11, type: G }, + 7: { name: "personal_number", i: 11, type: G }, + 8: { name: "voip", i: 11, type: G }, + 21: { name: "pager", i: 11, type: G }, + 25: { name: "uan", i: 11, type: G }, + 27: { name: "emergency", i: 11, type: G }, + 28: { name: "voicemail", i: 11, type: G }, + 29: { name: "short_code", i: 11, type: G }, + 30: { name: "standard_rate", i: 11, type: G }, + 31: { name: "carrier_specific", i: 11, type: G }, + 33: { name: "sms_services", i: 11, type: G }, + 24: { name: "no_international_dialling", i: 11, type: G }, + 9: { name: "id", required: true, i: 9, type: String }, + 10: { name: "country_code", i: 5, type: Number }, + 11: { name: "international_prefix", i: 9, type: String }, + 17: { name: "preferred_international_prefix", i: 9, type: String }, + 12: { name: "national_prefix", i: 9, type: String }, + 13: { name: "preferred_extn_prefix", i: 9, type: String }, + 15: { + name: "national_prefix_for_parsing", + i: 9, + type: String + }, + 16: { name: "national_prefix_transform_rule", i: 9, type: String }, + 18: { name: "same_mobile_and_fixed_line_pattern", i: 8, defaultValue: false, type: Boolean }, + 19: { name: "number_format", aa: true, i: 11, type: F }, + 20: { name: "intl_number_format", aa: true, i: 11, type: F }, + 22: { name: "main_country_for_code", i: 8, defaultValue: false, type: Boolean }, + 23: { name: "leading_digits", i: 9, type: String } + })); + return a; + }; + H.m = H.prototype.m; + function I() { + p.call(this); + } + n(I, p); + var Ba = null, Ca = { ra: 0, qa: 1, pa: 5, oa: 10, na: 20 }; + I.prototype.m = function() { + var a = Ba; + a || (Ba = a = y(I, { 0: { name: "PhoneNumber", ia: "i18n.phonenumbers.PhoneNumber" }, 1: { name: "country_code", required: true, i: 5, type: Number }, 2: { name: "national_number", required: true, 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: Ca }, 7: { + name: "preferred_domestic_carrier_code", + i: 9, + type: String + } })); + return a; + }; + I.ctor = I; + I.ctor.m = I.prototype.m; + var J = { + 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(" "), + 7: ["RU", "KZ"], + 20: ["EG"], + 27: ["ZA"], + 30: ["GR"], + 31: ["NL"], + 32: ["BE"], + 33: ["FR"], + 34: ["ES"], + 36: ["HU"], + 39: ["IT", "VA"], + 40: ["RO"], + 41: ["CH"], + 43: ["AT"], + 44: ["GB", "GG", "IM", "JE"], + 45: ["DK"], + 46: ["SE"], + 47: ["NO", "SJ"], + 48: ["PL"], + 49: ["DE"], + 51: ["PE"], + 52: ["MX"], + 53: ["CU"], + 54: ["AR"], + 55: ["BR"], + 56: ["CL"], + 57: ["CO"], + 58: ["VE"], + 60: ["MY"], + 61: ["AU", "CC", "CX"], + 62: ["ID"], + 63: ["PH"], + 64: ["NZ"], + 65: ["SG"], + 66: ["TH"], + 81: ["JP"], + 82: ["KR"], + 84: ["VN"], + 86: ["CN"], + 90: ["TR"], + 91: ["IN"], + 92: ["PK"], + 93: ["AF"], + 94: ["LK"], + 95: ["MM"], + 98: ["IR"], + 211: ["SS"], + 212: ["MA", "EH"], + 213: ["DZ"], + 216: ["TN"], + 218: ["LY"], + 220: ["GM"], + 221: ["SN"], + 222: ["MR"], + 223: ["ML"], + 224: ["GN"], + 225: ["CI"], + 226: ["BF"], + 227: ["NE"], + 228: ["TG"], + 229: ["BJ"], + 230: ["MU"], + 231: ["LR"], + 232: ["SL"], + 233: ["GH"], + 234: ["NG"], + 235: ["TD"], + 236: ["CF"], + 237: ["CM"], + 238: ["CV"], + 239: ["ST"], + 240: ["GQ"], + 241: ["GA"], + 242: ["CG"], + 243: ["CD"], + 244: ["AO"], + 245: ["GW"], + 246: ["IO"], + 247: ["AC"], + 248: ["SC"], + 249: ["SD"], + 250: ["RW"], + 251: ["ET"], + 252: ["SO"], + 253: ["DJ"], + 254: ["KE"], + 255: ["TZ"], + 256: ["UG"], + 257: ["BI"], + 258: ["MZ"], + 260: ["ZM"], + 261: ["MG"], + 262: ["RE", "YT"], + 263: ["ZW"], + 264: ["NA"], + 265: ["MW"], + 266: ["LS"], + 267: ["BW"], + 268: ["SZ"], + 269: ["KM"], + 290: ["SH", "TA"], + 291: ["ER"], + 297: ["AW"], + 298: ["FO"], + 299: ["GL"], + 350: ["GI"], + 351: ["PT"], + 352: ["LU"], + 353: ["IE"], + 354: ["IS"], + 355: ["AL"], + 356: ["MT"], + 357: ["CY"], + 358: ["FI", "AX"], + 359: ["BG"], + 370: ["LT"], + 371: ["LV"], + 372: ["EE"], + 373: ["MD"], + 374: ["AM"], + 375: ["BY"], + 376: ["AD"], + 377: ["MC"], + 378: ["SM"], + 380: ["UA"], + 381: ["RS"], + 382: ["ME"], + 383: ["XK"], + 385: ["HR"], + 386: ["SI"], + 387: ["BA"], + 389: ["MK"], + 420: ["CZ"], + 421: ["SK"], + 423: ["LI"], + 500: ["FK"], + 501: ["BZ"], + 502: ["GT"], + 503: ["SV"], + 504: ["HN"], + 505: ["NI"], + 506: ["CR"], + 507: ["PA"], + 508: ["PM"], + 509: ["HT"], + 590: ["GP", "BL", "MF"], + 591: ["BO"], + 592: ["GY"], + 593: ["EC"], + 594: ["GF"], + 595: ["PY"], + 596: ["MQ"], + 597: ["SR"], + 598: ["UY"], + 599: ["CW", "BQ"], + 670: ["TL"], + 672: ["NF"], + 673: ["BN"], + 674: ["NR"], + 675: ["PG"], + 676: ["TO"], + 677: ["SB"], + 678: ["VU"], + 679: ["FJ"], + 680: ["PW"], + 681: ["WF"], + 682: ["CK"], + 683: ["NU"], + 685: ["WS"], + 686: ["KI"], + 687: ["NC"], + 688: ["TV"], + 689: ["PF"], + 690: ["TK"], + 691: ["FM"], + 692: ["MH"], + 800: ["001"], + 808: ["001"], + 850: ["KP"], + 852: ["HK"], + 853: ["MO"], + 855: ["KH"], + 856: ["LA"], + 870: ["001"], + 878: ["001"], + 880: ["BD"], + 881: ["001"], + 882: ["001"], + 883: ["001"], + 886: ["TW"], + 888: ["001"], + 960: ["MV"], + 961: ["LB"], + 962: ["JO"], + 963: ["SY"], + 964: ["IQ"], + 965: ["KW"], + 966: ["SA"], + 967: ["YE"], + 968: ["OM"], + 970: ["PS"], + 971: ["AE"], + 972: ["IL"], + 973: ["BH"], + 974: ["QA"], + 975: ["BT"], + 976: ["MN"], + 977: ["NP"], + 979: ["001"], + 992: ["TJ"], + 993: ["TM"], + 994: ["AZ"], + 995: ["GE"], + 996: ["KG"], + 998: ["UZ"] + }, Da = { + AC: [, [ + , + , + "(?:[01589]\\d|[46])\\d{4}", + , + , + , + , + , + , + [5, 6] + ], [, , "6[2-467]\\d{3}", , , , "62889", , , [5]], [, , "4\\d{4}", , , , "40123", , , [5]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "AC", 247, "00", , , , , , , , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "(?:0[1-9]|[1589]\\d)\\d{4}", , , , "542011", , , [6]], , , [, , , , , , , , , [-1]]], + AD: [ + , + [, , "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", , , , , , , [6, 8, 9]], + [, , "[78]\\d{5}", , , , "712345", , , [6]], + [, , "690\\d{6}|[356]\\d{5}", , , , "312345", , , [6, 9]], + [, , "180[02]\\d{4}", , , , "18001234", , , [8]], + [, , "[19]\\d{5}", , , , "912345", , , [6]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "AD", + 376, + "00", + , + , + , + , + , + , + , + [[, "(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["1"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , "1800\\d{4}", , , , , , , [8]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + AE: [ + , + [, , "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", , , , , , , [5, 6, 7, 8, 9, 10, 11, 12]], + [, , "[2-4679][2-8]\\d{6}", , , , "22345678", , , [8], [7]], + [, , "5[024-68]\\d{7}", , , , "501234567", , , [9]], + [, , "400\\d{6}|800\\d{2,9}", , , , "800123456"], + [, , "900[02]\\d{5}", , , , "900234567", , , [9]], + [, , "700[05]\\d{5}", , , , "700012345", , , [9]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "AE", + 971, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], [, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], [, "(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , "600[25]\\d{5}", , , , "600212345", , , [9]], + , + , + [, , , , , , , , , [-1]] + ], + AF: [, [, , "[2-7]\\d{8}", , , , , , , [9], [7]], [ + , + , + "(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}", + , + , + , + "234567890", + , + , + , + [7] + ], [, , "7\\d{8}", , , , "701234567", , , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "AF", 93, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[1-9]"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], [[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + AG: [ + , + [, , "(?:268|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], + [ + , + , + "268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}", + , + , + , + "2684601234", + , + , + , + [7] + ], + [, , "268(?:464|7(?:1[3-9]|[28]\\d|3[0246]|64|7[0-689]))\\d{4}", , , , "2684641234", , , , [7]], + [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], + [, , "900[2-9]\\d{6}", , , , "9002123456"], + [, , , , , , , , , [-1]], + [, , "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"], + [, , "26848[01]\\d{4}", , , , "2684801234", , , , [7]], + "AG", + 1, + "011", + "1", + , + , + "([457]\\d{6})$|1", + "268$1", + , + , + , + , + [, , "26840[69]\\d{4}", , , , "2684061234", , , , [7]], + , + "268", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + AI: [, [, , "(?:264|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [, , "264(?:292|4(?:6[12]|9[78]))\\d{4}", , , , "2644612345", , , , [7]], [, , "264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}", , , , "2642351234", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [ + , + , + "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" + ], [, , , , , , , , , [-1]], "AI", 1, "011", "1", , , "([2457]\\d{6})$|1", "264$1", , , , , [, , "264724\\d{4}", , , , "2647241234", , , , [7]], , "264", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + AL: [, [, , "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", , , , , , , [6, 7, 8, 9], [5]], [, , "4505[0-2]\\d{3}|(?:[2358][16-9]\\d[2-9]|4410)\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\d))\\d{5}", , , , "22345678", , , [8], [5, 6, 7]], [, , "6(?:[78][2-9]|9\\d)\\d{6}", , , , "672123456", , , [9]], [, , "800\\d{4}", , , , "8001234", , , [7]], [ + , + , + "900[1-9]\\d\\d", + , + , + , + "900123", + , + , + [6] + ], [, , "808[1-9]\\d\\d", , , , "808123", , , [6]], [, , "700[2-9]\\d{4}", , , , "70021234", , , [8]], [, , , , , , , , , [-1]], "AL", 355, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], [, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], [, "(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + AM: [, [ + , + , + "(?:[1-489]\\d|55|60|77)\\d{6}", + , + , + , + , + , + , + [8], + [5, 6] + ], [, , "(?:(?:1[0-25]|47)\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\d{5}", , , , "10123456", , , , [5, 6]], [, , "(?:33|4[1349]|55|77|88|9[13-9])\\d{6}", , , , "77123456"], [, , "800\\d{5}", , , , "80012345"], [, , "90[016]\\d{5}", , , , "90012345"], [, , "80[1-4]\\d{5}", , , , "80112345"], [, , , , , , , , , [-1]], [, , "60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\d|9[0-2])\\d{4}", , , , "60271234"], "AM", 374, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], [ + , + "(\\d{3})(\\d{5})", + "$1 $2", + ["2|3[12]"], + "(0$1)" + ], [, "(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], [, "(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + AO: [ + , + [, , "[29]\\d{8}", , , , , , , [9]], + [, , "2\\d(?:[0134][25-9]|[25-9]\\d)\\d{5}", , , , "222123456"], + [, , "9[1-79]\\d{7}", , , , "923123456"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "AO", + 244, + "00", + , + , + , + , + , + , + , + [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + AR: [ + , + [, , "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", , , , , , , [10, 11], [6, 7, 8]], + [ + , + , + "3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:(?:11[1-8]|670)\\d|2(?:21[2-6]|(?:3[06]|49)4|6(?:04|1[2-8])|9[17][4-6])|3(?:(?:36|64)4|4(?:1[2-8]|[25][4-6]|84)|5(?:1[2-9]|[38][4-6])|8(?:[17][2-6]|3[4-6]|8[3-68])))\\d{6}|(?:2(?:23|64|99)|3(?:43|85))[3-6]\\d{6}|(?:2(?:657|9(?:54|66))|3(?:487|7(?:55|77)|865))[2-8]\\d{5}|(?:2(?:[28]0|37|6[36]|9[48])|3(?:62|7[069]|80))[45]\\d{6}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|(?:2(?:2(?:62|81)|320|622|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|(?:2(?:284|3(?:02|23)|477|920)|3(?:4(?:46|[89]2)|541|878))[2-7]\\d{5}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}", + , + , + , + "1123456789", + , + , + [10], + [6, 7, 8] + ], + [ + , + , + "93(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\d{5}|(?:675\\d|9(?:11[1-8]\\d|2(?:21[2-6]|(?:3[06]|49)4|6(?:04|1[2-8])|9[17][4-6])|3(?:(?:36|64)4|4(?:1[2-8]|[25][4-6]|84)|5(?:1[2-9]|[38][4-6])|8(?:[17][2-6]|3[4-6]|8[3-68]))))\\d{6}|9(?:2(?:23|64|99)|3(?:43|85))[3-6]\\d{6}|9(?:2(?:657|9(?:54|66))|3(?:487|7(?:55|77)|865))[2-8]\\d{5}|9(?:2(?:[28]0|37|6[36]|9[48])|3(?:62|7[069]|80))[45]\\d{6}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|47[35]|9(?:[07]2|2[26]|34|46))|3327)[45]\\d{5}|9(?:2(?:2(?:62|81)|320|622|9(?:42|83))|3(?:329|4(?:62|76|89)|564))[2-6]\\d{5}|9(?:2(?:284|3(?:02|23)|477|920)|3(?:4(?:46|[89]2)|541|878))[2-7]\\d{5}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\d{5}|9(?:2(?:257|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|35|5[17])))[3-6]\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[14]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\d{5}", + , + , + , + "91123456789", + , + , + , + [6, 7, 8] + ], + [, , "800\\d{7,8}", , , , "8001234567"], + [, , "60[04579]\\d{7}", , , , "6001234567", , , [10]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "AR", + 54, + "00", + "0", + , + , + "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", + "9$1", + , + , + [[, "(\\d{3})", "$1", ["0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911"]], [, "(\\d{2})(\\d{4})", "$1-$2", ["[1-9]"]], [, "(\\d{3})(\\d{4})", "$1-$2", ["[2-9]"]], [, "(\\d{4})(\\d{4})", "$1-$2", ["[1-8]"]], [ + , + "(\\d{4})(\\d{2})(\\d{4})", + "$1 $2-$3", + [ + "2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", + "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", + "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", + "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]" + ], + "0$1", + , + 1 + ], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", , 1], [ + , + "(\\d)(\\d{4})(\\d{2})(\\d{4})", + "$2 15-$3-$4", + [ + "9(?:2[2-469]|3[3-578])", + "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", + "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", + "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", + "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]" + ], + "0$1" + ], [, "(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1"]], + [ + [ + , + "(\\d{4})(\\d{2})(\\d{4})", + "$1 $2-$3", + [ + "2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", + "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", + "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", + "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]" + ], + "0$1", + , + 1 + ], + [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", , 1], + [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], + [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", , 1], + [, "(\\d)(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3-$4", [ + "9(?:2[2-469]|3[3-578])", + "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", + "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", + "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", + "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]" + ]], + [, "(\\d)(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3-$4", ["91"]], + [, "(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], + [, "(\\d)(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3-$4", ["9"]] + ], + [, , , , , , , , , [-1]], + , + , + [, , "810\\d{7}", , , , , , , [10]], + [, , "810\\d{7}", , , , "8101234567", , , [10]], + , + , + [, , , , , , , , , [-1]] + ], + AS: [, [, , "(?:[58]\\d\\d|684|900)\\d{7}", , , , , , , [10], [7]], [, , "6846(?:22|33|44|55|77|88|9[19])\\d{4}", , , , "6846221234", , , , [7]], [, , "684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\d{4}", , , , "6847331234", , , , [7]], [ + , + , + "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", + , + , + , + "8002123456" + ], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [, , "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"], [, , , , , , , , , [-1]], "AS", 1, "011", "1", , , "([267]\\d{6})$|1", "684$1", , , , , [, , , , , , , , , [-1]], , "684", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + AT: [, [ + , + , + "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", + , + , + , + , + , + , + [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], + [3] + ], [, , "1(?:11\\d|[2-9]\\d{3,11})|(?:316|463|(?:51|66|73)2)\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{4,10}", , , , "1234567890", , , , [3]], [, , "6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}", , , , "664123456", , , [7, 8, 9, 10, 11, 12, 13]], [ + , + , + "800\\d{6,10}", + , + , + , + "800123456", + , + , + [9, 10, 11, 12, 13] + ], [, , "(?:8[69][2-68]|9(?:0[01]|3[019]))\\d{6,10}", , , , "900123456", , , [9, 10, 11, 12, 13]], [, , "8(?:10|2[018])\\d{6,10}|828\\d{5}", , , , "810123456", , , [8, 9, 10, 11, 12, 13]], [, , , , , , , , , [-1]], [, , "5(?:0[1-9]|17|[79]\\d)\\d{2,10}|7[28]0\\d{6,10}", , , , "780123456", , , [5, 6, 7, 8, 9, 10, 11, 12, 13]], "AT", 43, "00", "0", , , "0", , , , [ + [, "(\\d{4})", "$1", ["14"]], + [, "(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], + [, "(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], + [, "(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], + [, "(\\d{6})", "$1", ["[18]"]], + [, "(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], + [, "(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], + [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], + [, "(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"] + ], [[, "(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], [, "(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], [, "(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], [ + , + "(\\d{3})(\\d{3,10})", + "$1 $2", + ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], + "0$1" + ], [, "(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + AU: [ + , + [, , "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", , , , , , , [5, 6, 7, 8, 9, 10, 12]], + [ + , + , + "(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", + , + , + , + "212345678", + , + , + [9], + [8] + ], + [, , "4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", , , , "412345678", , , [9]], + [, , "180(?:0\\d{3}|2)\\d{3}", , , , "1800123456", , , [7, 10]], + [, , "190[0-26]\\d{6}", , , , "1900123456", , , [10]], + [, , "13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", , , , "1300123456", , , [6, 8, 10, 12]], + [, , , , , , , , , [-1]], + [, , "14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", , , , "147101234", , , [9]], + "AU", + 61, + "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", + "0", + , + , + "(183[12])|0", + , + "0011", + , + [[, "(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["13"]], [, "(\\d{3})(\\d{3})", "$1 $2", ["19"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["180", "1802"]], [, "(\\d{4})(\\d{3,4})", "$1 $2", ["19"]], [, "(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)", "$CC ($1)"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]], [ + , + "(\\d{4})(\\d{4})(\\d{4})", + "$1 $2 $3", + ["130"] + ]], + [[, "(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)", "$CC ($1)"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], + [, , "163\\d{2,6}", , , , "1631234", , , [5, 6, 7, 8, 9]], + 1, + , + [, , "1(?:3(?:00\\d{5}|45[0-4])|802)\\d{3}|1[38]00\\d{6}|13\\d{4}", , , , , , , [6, 7, 8, 10, 12]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + AW: [, [ + , + , + "(?:[25-79]\\d\\d|800)\\d{4}", + , + , + , + , + , + , + [7] + ], [, , "5(?:2\\d|8[1-9])\\d{4}", , , , "5212345"], [, , "(?:290|5[69]\\d|6(?:[03]0|22|4[0-2]|[69]\\d)|7(?:[34]\\d|7[07])|9(?:6[45]|9[4-8]))\\d{4}", , , , "5601234"], [, , "800\\d{4}", , , , "8001234"], [, , "900\\d{4}", , , , "9001234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:28\\d|501)\\d{4}", , , , "5011234"], "AW", 297, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + AX: [, [ + , + , + "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", + , + , + , + , + , + , + [5, 6, 7, 8, 9, 10, 11, 12] + ], [, , "18[1-8]\\d{3,6}", , , , "181234567", , , [6, 7, 8, 9]], [, , "4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}", , , , "412345678", , , [6, 7, 8, 9, 10]], [, , "800\\d{4,6}", , , , "800123456", , , [7, 8, 9]], [, , "[67]00\\d{5,6}", , , , "600123456", , , [8, 9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "AX", 358, "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "0", , , "0", , "00", , , , [, , , , , , , , , [-1]], , "18", [, , , , , , , , , [-1]], [ + , + , + "20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}", + , + , + , + "10112345" + ], , , [, , , , , , , , , [-1]]], + AZ: [, [, , "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", , , , , , , [9], [7]], [, , "(?:2[12]428|3655[02])\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\d{5}|(?:(?:1[28]|46)\\d|2(?:[014-6]2|[23]3))\\d{6}", , , , "123123456", , , , [7]], [, , "36554\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\d{7}", , , , "401234567"], [, , "88\\d{7}", , , , "881234567"], [, , "900200\\d{3}", , , , "900200123"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "AZ", 994, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[1-9]"]], [ + , + "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", + "$1 $2 $3 $4", + ["90"], + "0$1" + ], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], [ + , + "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", + "$1 $2 $3 $4", + ["[13-9]"], + "0$1" + ]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BA: [ + , + [, , "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", , , , , , , [8, 9], [6]], + [, , "(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\d{5}", , , , "30212345", , , [8], [6]], + [, , "6040\\d{5}|6(?:03|[1-356]|44|7\\d)\\d{6}", , , , "61123456"], + [, , "8[08]\\d{6}", , , , "80123456", , , [8]], + [, , "9[0246]\\d{6}", , , , "90123456", , , [8]], + [, , "8[12]\\d{6}", , , , "82123456", , , [8]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "BA", + 387, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d{3})(\\d{3})", "$1-$2", ["[2-9]"]], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], + [[, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , "703[235]0\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\d{4}", , , , "70341234", , , [8]], + , + , + [, , , , , , , , , [-1]] + ], + BB: [, [, , "(?:246|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [, , "246521[0369]\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7[35]7|9(?:1[89]|63))\\d{4}", , , , "2464123456", , , , [7]], [, , "246(?:(?:2(?:[3568]\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\d)|69[5-7]|8(?:[2-5]\\d|83))\\d|52(?:1[147]|20))\\d{3}", , , , "2462501234", , , , [7]], [ + , + , + "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", + , + , + , + "8002123456" + ], [, , "(?:246976|900[2-9]\\d\\d)\\d{4}", , , , "9002123456", , , , [7]], [, , , , , , , , , [-1]], [, , "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"], [, , "24631\\d{5}", , , , "2463101234", , , , [7]], "BB", 1, "011", "1", , , "([2-9]\\d{6})$|1", "246$1", , , , , [, , , , , , , , , [-1]], , "246", [, , , , , , , , , [-1]], [ + , + , + "246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\d|3[016]|53))\\d{4}", + , + , + , + "2464301234", + , + , + , + [7] + ], , , [, , , , , , , , , [-1]]], + BD: [, [, , "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", , , , , , , [6, 7, 8, 9, 10]], [ + , + , + "(?:4(?:31\\d\\d|423)|5222)\\d{3}(?:\\d{2})?|8332[6-9]\\d\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\d{4}|(?:2(?:[23]\\d|[45])\\d\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\d{5}|[59]1\\d{5}", + , + , + , + "27111234" + ], [, , "(?:1[13-9]\\d|644)\\d{7}|(?:3[78]|44|66)[02-9]\\d{7}", , , , "1812345678", , , [10]], [, , "80[03]\\d{7}", , , , "8001234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "96(?:0[469]|1[0-47]|3[389]|43|6[69]|7[78])\\d{6}", , , , "9604123456", , , [10]], "BD", 880, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], [ + , + "(\\d{3})(\\d{3,7})", + "$1-$2", + ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], + "0$1" + ], [, "(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], [, "(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BE: [, [, , "4\\d{8}|[1-9]\\d{7}", , , , , , , [8, 9]], [, , "80[2-8]\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}", , , , "12345678", , , [8]], [, , "4[5-9]\\d{7}", , , , "470123456", , , [9]], [, , "800[1-9]\\d{4}", , , , "80012345", , , [8]], [, , "(?:70(?:2[0-57]|3[04-7]|44|6[4-69]|7[0579])|90\\d\\d)\\d{4}", , , , "90012345", , , [8]], [ + , + , + "7879\\d{4}", + , + , + , + "78791234", + , + , + [8] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BE", 32, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], [, "(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\d)\\d{4}", , , , "78102345", , , [8]], , , [, , , , , , , , , [-1]]], + BF: [, [ + , + , + "[025-7]\\d{7}", + , + , + , + , + , + , + [8] + ], [, , "2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}", , , , "20491234"], [, , "(?:0[1-7]|5[0-8]|[67]\\d)\\d{6}", , , , "70123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BF", 226, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BG: [ + , + [, , "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", , , , , , , [6, 7, 8, 9, 12], [4, 5]], + [, , "2\\d{5,7}|(?:43[1-6]|70[1-9])\\d{4,5}|(?:[36]\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\d{5,6}", , , , "2123456", , , [6, 7, 8], [4, 5]], + [, , "(?:43[07-9]|99[69]\\d)\\d{5}|(?:8[7-9]|98)\\d{7}", , , , "43012345", , , [8, 9]], + [, , "(?:00800\\d\\d|800)\\d{5}", , , , "80012345", , , [8, 12]], + [, , "90\\d{6}", , , , "90123456", , , [8]], + [, , "700\\d{5}", , , , "70012345", , , [8]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "BG", + 359, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d{6})", "$1", ["1"]], [, "(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], [ + , + "(\\d{3})(\\d{4})", + "$1 $2", + ["43[1-6]|70[1-9]"], + "0$1" + ], [, "(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], + [[, "(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], [ + , + "(\\d{3})(\\d{4})", + "$1 $2", + ["43[1-6]|70[1-9]"], + "0$1" + ], [, "(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + BH: [, [, , "[136-9]\\d{7}", , , , , , , [8]], [ + , + , + "(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|55|7[7-9]|88)|9[69][69])|7(?:[07]\\d\\d|1(?:11|78)))\\d{4}", + , + , + , + "17001234" + ], [, , "(?:3(?:[0-79]\\d|8[0-57-9])\\d|6(?:3(?:00|33|6[16])|441|6(?:3[03-9]|[69]\\d|7[0-689])))\\d{4}", , , , "36001234"], [, , "8[02369]\\d{6}", , , , "80123456"], [, , "(?:87|9[0-8])\\d{6}", , , , "90123456"], [, , "84\\d{6}", , , , "84123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BH", 973, "00", , , , , , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BI: [, [, , "(?:[267]\\d|31)\\d{6}", , , , , , , [8]], [, , "(?:22|31)\\d{6}", , , , "22201234"], [ + , + , + "(?:29|[67][125-9])\\d{6}", + , + , + , + "79561234" + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BI", 257, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BJ: [, [, , "(?:01\\d|[24-689])\\d{7}", , , , , , , [8, 10]], [, , "2090\\d{4}|(?:012\\d\\d|2(?:02|1[037]|2[45]|3[68]|4\\d))\\d{5}", , , , "0120211234"], [, , "(?:01(?:2[5-9]|[4-69]\\d)|4[0-8]|[56]\\d|9[013-9])\\d{6}", , , , "0195123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], [, , , , , , , , , [-1]], [, , "857[58]\\d{4}", , , , "85751234", , , [8]], "BJ", 229, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "81\\d{6}", , , , "81123456", , , [8]], , , [, , , , , , , , , [-1]]], + BL: [, [, , "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", , , , , , , [9]], [, , "590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}", , , , "590271234"], [ + , + , + "(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}", + , + , + , + "690001234" + ], [, , "80[0-5]\\d{6}", , , , "800012345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}", , , , "976012345"], "BL", 590, "00", "0", , , "0", , , , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BM: [ + , + [, , "(?:441|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], + [, , "441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}", , , , "4414123456", , , , [7]], + [, , "441(?:[2378]\\d|5[0-39]|9[02])\\d{5}", , , , "4413701234", , , , [7]], + [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], + [, , "900[2-9]\\d{6}", , , , "9002123456"], + [, , , , , , , , , [-1]], + [, , "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"], + [, , , , , , , , , [-1]], + "BM", + 1, + "011", + "1", + , + , + "([2-9]\\d{6})$|1", + "441$1", + , + , + , + , + [, , , , , , , , , [-1]], + , + "441", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + BN: [, [, , "[2-578]\\d{6}", , , , , , , [7]], [ + , + , + "22[0-7]\\d{4}|(?:2[013-9]|[34]\\d|5[0-25-9])\\d{5}", + , + , + , + "2345678" + ], [, , "(?:22[89]|[78]\\d\\d)\\d{4}", , , , "7123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "5[34]\\d{5}", , , , "5345678"], "BN", 673, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BO: [, [, , "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", , , , , , , [8, 9], [7]], [ + , + , + "(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}", + , + , + , + "22123456", + , + , + [8], + [7] + ], [, , "[67]\\d{7}", , , , "71234567", , , [8]], [, , "8001[07]\\d{4}", , , , "800171234", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "50\\d{6}", , , , "50123456", , , [8], [7]], "BO", 591, "00(?:1\\d)?", "0", , , "0(1\\d)?", , , , [[, "(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"], , "0$CC $1"], [, "(\\d{8})", "$1", ["[67]"], , "0$CC $1"], [, "(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"], , "0$CC $1"]], , [, , , , , , , , , [-1]], , , [, , "8001[07]\\d{4}", , , , , , , [9]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BQ: [, [ + , + , + "(?:[34]1|7\\d)\\d{5}", + , + , + , + , + , + , + [7] + ], [, , "(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\d)\\d{3}", , , , "7151234"], [, , "(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}", , , , "3181234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BQ", 599, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "[347]", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BR: [, [, , "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", , , , , , , [8, 9, 10, 11]], [ + , + , + "(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}", + , + , + , + "1123456789", + , + , + [10], + [8] + ], [, , "(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\d)\\d{7}", , , , "11961234567", , , [10, 11], [8, 9]], [, , "800\\d{6,7}", , , , "800123456", , , [9, 10]], [, , "300\\d{6}|[59]00\\d{6,7}", , , , "300123456", , , [9, 10]], [, , "(?:30[03]\\d{3}|4(?:0(?:0\\d|20)|370))\\d{4}|300\\d{5}", , , , "40041234", , , [8, 10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BR", 55, "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "0", , , "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2", , , [ + [, "(\\d{3,6})", "$1", ["1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610"]], + [, "(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], + [, "(\\d{4})(\\d{4})", "$1-$2", ["[2-57]", "[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))"]], + [, "(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], + [, "(\\d{5})(\\d{4})", "$1-$2", ["9"]], + [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)", "0 $CC ($1)"], + [, "(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)", "0 $CC ($1)"] + ], [[, "(\\d{4})(\\d{4})", "$1-$2", [ + "300|4(?:0[02]|37)", + "4(?:02|37)0|[34]00" + ]], [, "(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)", "0 $CC ($1)"], [, "(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)", "0 $CC ($1)"]], [, , , , , , , , , [-1]], , , [, , "30(?:0\\d{5,7}|3\\d{7})|40(?:0\\d|20)\\d{4}|800\\d{6,7}", , , , , , , [8, 9, 10]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BS: [, [, , "(?:242|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [ + , + , + "242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}", + , + , + , + "2423456789", + , + , + , + [7] + ], [, , "242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}", , , , "2423591234", , , , [7]], [, , "242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456", , , , [7]], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [ + , + , + "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" + ], [, , , , , , , , , [-1]], "BS", 1, "011", "1", , , "([3-8]\\d{6})$|1", "242$1", , , , , [, , , , , , , , , [-1]], , "242", [, , , , , , , , , [-1]], [, , "242225\\d{4}", , , , "2422250123"], , , [, , , , , , , , , [-1]]], + BT: [, [, , "[17]\\d{7}|[2-8]\\d{6}", , , , , , , [7, 8], [6]], [, , "(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}", , , , "2345678", , , [7], [6]], [, , "(?:1[67]|77)\\d{6}", , , , "17123456", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BT", 975, "00", , , , , , , , [[, "(\\d{3})(\\d{3})", "$1 $2", ["[2-7]"]], [ + , + "(\\d)(\\d{3})(\\d{3})", + "$1 $2 $3", + ["[2-68]|7[246]"] + ], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]], [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BW: [, [, , "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", , , , , , , [7, 8, 10]], [ + , + , + "(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[013467]))\\d{4}", + , + , + , + "2401234", + , + , + [7] + ], [, , "(?:321|7[1-8]\\d)\\d{5}", , , , "71123456", , , [8]], [, , "(?:0800|800\\d)\\d{6}", , , , "0800012345", , , [10]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "79(?:1(?:[0-2]\\d|3[0-3])|2[0-7]\\d)\\d{3}", , , , "79101234", , , [8]], "BW", 267, "00", , , , , , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["90"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], [ + , + "(\\d{3})(\\d{4})(\\d{3})", + "$1 $2 $3", + ["8"] + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BY: [, [, , "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", , , , , , , [6, 7, 8, 9, 10, 11], [5]], [, , "(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d\\d)|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}", , , , "152450911", , , [9], [5, 6, 7]], [ + , + , + "(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\d)\\d{6}", + , + , + , + "294911911", + , + , + [9] + ], [, , "800\\d{3,7}|8(?:0[13]|20\\d)\\d{7}", , , , "8011234567"], [, , "(?:810|902)\\d{7}", , , , "9021234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "249\\d{6}", , , , "249123456", , , [9]], "BY", 375, "810", "8", , , "0|80?", , "8~10", , [[, "(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], [, "(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], [ + , + "(\\d{4})(\\d{2})(\\d{3})", + "$1 $2-$3", + ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], + "8 0$1" + ], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], [, "(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], , [, , , , , , , , , [-1]], , , [, , "800\\d{3,7}|(?:8(?:0[13]|10|20\\d)|902)\\d{7}"], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + BZ: [, [, , "(?:0800\\d|[2-8])\\d{6}", , , , , , , [7, 11]], [, , "(?:2(?:[02]\\d|36|[68]0)|[3-58](?:[02]\\d|[68]0)|7(?:[02]\\d|32|[68]0))\\d{4}", , , , "2221234", , , [7]], [ + , + , + "6[0-35-7]\\d{5}", + , + , + , + "6221234", + , + , + [7] + ], [, , "0800\\d{7}", , , , "08001234123", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "BZ", 501, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], [, "(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CA: [, [, , "[2-9]\\d{9}|3\\d{6}", , , , , , , [7, 10]], [ + , + , + "(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", + , + , + , + "5062345678", + , + , + [10], + [7] + ], [, , "(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", , , , "5062345678", , , [10], [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456", , , [10]], [, , "900[2-9]\\d{6}", , , , "9002123456", , , [10]], [, , , , , , , , , [-1]], [ + , + , + "52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", + , + , + , + "5219023456", + , + , + [10] + ], [, , "600[2-9]\\d{6}", , , , "6002012345", , , [10]], "CA", 1, "011", "1", , , "1", , , 1, , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "310\\d{4}", , , , "3101234", , , [7]], , , [, , , , , , , , , [-1]]], + CC: [, [, , "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", , , , , , , [6, 7, 8, 9, 10, 12]], [, , "8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", , , , "891621234", , , [9], [8]], [ + , + , + "4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", + , + , + , + "412345678", + , + , + [9] + ], [, , "180(?:0\\d{3}|2)\\d{3}", , , , "1800123456", , , [7, 10]], [, , "190[0-26]\\d{6}", , , , "1900123456", , , [10]], [, , "13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", , , , "1300123456", , , [6, 8, 10, 12]], [, , , , , , , , , [-1]], [, , "14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", , , , "147101234", , , [9]], "CC", 61, "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "0", , , "([59]\\d{7})$|0", "8$1", "0011", , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CD: [, [ + , + , + "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", + , + , + , + , + , + , + [7, 8, 9, 10] + ], [, , "(?:(?:12|573)\\d\\d|276)\\d{5}|[1-6]\\d{6}", , , , "1234567"], [, , "88\\d{5}|(?:8[0-69]|9[017-9])\\d{7}", , , , "991234567", , , [7, 9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CD", 243, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], [, "(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], [ + , + "(\\d{3})(\\d{3})(\\d{3})", + "$1 $2 $3", + ["[89]"], + "0$1" + ], [, "(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 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]]], + 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]]], + CH: [, [ + , + , + "8\\d{11}|[2-9]\\d{8}", + , + , + , + , + , + , + [9, 12] + ], [, , "(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}", , , , "212345678", , , [9]], [, , "(?:6[89]|7[235-9])\\d{7}", , , , "781234567", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "90[016]\\d{6}", , , , "900123456", , , [9]], [, , "84[0248]\\d{6}", , , , "840123456", , , [9]], [, , "878\\d{6}", , , , "878123456", , , [9]], [, , , , , , , , , [-1]], "CH", 41, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], [ + , + "(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", + "$1 $2 $3 $4 $5", + ["8"], + "0$1" + ]], , [, , "74[0248]\\d{6}", , , , "740123456", , , [9]], , , [, , , , , , , , , [-1]], [, , "5[18]\\d{7}", , , , "581234567", , , [9]], , , [, , "860\\d{9}", , , , "860123456789", , , [12]]], + CI: [, [, , "[02]\\d{9}", , , , , , , [10]], [, , "2(?:[15]\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\d{5}", , , , "2123456789"], [, , "0[157]\\d{8}", , , , "0123456789"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CI", 225, "00", , , , , , , , [[ + , + "(\\d{2})(\\d{2})(\\d)(\\d{5})", + "$1 $2 $3 $4", + ["2"] + ], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CK: [, [, , "[2-578]\\d{4}", , , , , , , [5]], [, , "(?:2\\d|3[13-7]|4[1-5])\\d{3}", , , , "21234"], [, , "[578]\\d{4}", , , , "71234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CK", 682, "00", , , , , , , , [[, "(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CL: [, [ + , + , + "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", + , + , + , + , + , + , + [9, 10, 11] + ], [, , "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}", , , , "221234567", , , [9]], [ + , + , + "2(?:1982[0-6]|3314[05-9])\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\d\\d|3(?:[03467]\\d|1[0-35-9]|2[1-9]|5[0-24-9]|8[0-3])|600)|646[59])|80[1-9]\\d\\d|9(?:3(?:[0-57-9]\\d\\d|6(?:0[02-9]|[1-9]\\d))|6(?:[0-8]\\d\\d|9(?:[02-79]\\d|1[05-9]))|7[1-9]\\d\\d|9(?:[03-9]\\d\\d|1(?:[0235-9]\\d|4[0-24-9])|2(?:[0-79]\\d|8[0-46-9]))))\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\d{7}", + , + , + , + "221234567", + , + , + [9] + ], [, , "(?:123|8)00\\d{6}", , , , "800123456", , , [9, 11]], [, , , , , , , , , [-1]], [, , "600\\d{7,8}", , , , "6001234567", , , [10, 11]], [, , , , , , , , , [-1]], [, , "44\\d{7}", , , , "441234567", , , [9]], "CL", 56, "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", , , , , , , 1, [ + [, "(\\d{4})", "$1", ["1(?:[03-589]|21)|[29]0|78"]], + [, "(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], + [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], + [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], + [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], + [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], + [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], + [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], + [, "(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]] + ], [[, "(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], [ + , + "(\\d{2})(\\d{3})(\\d{4})", + "$1 $2 $3", + ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], + "($1)" + ], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], [, "(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]], [, , , , , , , , , [-1]], , , [, , "600\\d{7,8}", , , , , , , [10, 11]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CM: [ + , + [, , "[26]\\d{8}|88\\d{6,7}", , , , , , , [8, 9]], + [, , "2(?:22|33)\\d{6}", , , , "222123456", , , [9]], + [, , "(?:24[23]|6(?:[25-9]\\d|40))\\d{6}", , , , "671234567", , , [9]], + [, , "88\\d{6,7}", , , , "88012345"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "CM", + 237, + "00", + , + , + , + , + , + , + , + [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], [, "(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + CN: [, [, , "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", , , , , , , [7, 8, 9, 10, 11, 12], [5, 6]], [ + , + , + "(?:10(?:[02-79]\\d\\d|[18](?:0[1-9]|[1-9]\\d))|2(?:[02-57-9]\\d{3}|1(?:[18](?:0[1-9]|[1-9]\\d)|[2-79]\\d\\d))|(?:41[03]|8078|9(?:78|94))\\d\\d)\\d{5}|(?:10|2[0-57-9])(?:1(?:00|23)\\d\\d|95\\d{3,4})|(?:41[03]|9(?:78|94))(?:100\\d\\d|95\\d{3,4})|8078123|(?:43[35]|754|851)\\d{7,8}|(?:43[35]|754|851)(?:1(?:00\\d|23)\\d|95\\d{3,4})|(?:3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\d{7}|1(?:0(?:0\\d\\d(?:\\d{3})?|[1-9]\\d{5})|[13-9]\\d{6}|2(?:[0-24-9]\\d{5}|3\\d(?:\\d{4})?))|9(?:[0-46-9]\\d{6}|5\\d{3}(?:\\d(?:\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[24-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-8]\\d{6}|1(?:0(?:0\\d\\d(?:\\d{2})?|[1-9]\\d{4})|[13-9]\\d{5}|2(?:[0-24-9]\\d{4}|3\\d(?:\\d{3})?))|9(?:[0-46-9]\\d{5}|5\\d{3,5}))", + , + , + , + "1012345678", + , + , + [7, 8, 9, 10, 11], + [5, 6] + ], [, , "1740[0-5]\\d{6}|1(?:[38]\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\d{8}", , , , "13123456789", , , [11]], [, , "(?:(?:10|21)8|8)00\\d{7}", , , , "8001234567", , , [10, 12]], [, , "16[08]\\d{5}", , , , "16812345", , , [8]], [ + , + , + "10(?:10\\d{4}|96\\d{3,4})|400\\d{7}|950\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}", + , + , + , + "4001234567", + , + , + [7, 8, 9, 10, 11], + [5, 6] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CN", 86, "00|1(?:[12]\\d|79)\\d\\d00", "0", , , "(1(?:[12]\\d|79)\\d\\d)|0", , "00", , [ + [, "(\\d{5,6})", "$1", ["1(?:00|2[13])|9[56]", "1(?:00|2(?:1|39))|9[56]", "1(?:00|2(?:1|395))|9[56]"]], + [, "(\\d{5,6})", "$1", ["1(?:0|23)|781|[1-9]12", "1(?:0|23)|7812|[1-9]123", "1(?:0|23(?:[0-8]|9[0-46-9]))|78123|[1-9]123"]], + [ + , + "(\\d{2})(\\d{5,6})", + "$1 $2", + [ + "(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", + "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", + "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", + "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", + "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123" + ], + "0$1", + "$CC $1" + ], + [, "(\\d{3})(\\d{4})", "$1 $2", [ + "[1-9]", + "1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])", + "1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|[3-9]", + "1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|1[03]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9]|78|94)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-9]|1(?:[013-9]|2[0-24-9]))", + "1(?:0(?:[02-8]|1(?:[013-9]|2[0-24-9])|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[13-9]|2[0-24-9])|9[0-47-9])|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|1[03]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:0(?:[0-689]|7[0-79])|1[01459]|2[0-489]|[46]|50|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9]|78|94)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))(?:[02-9]|1(?:[013-9]|2[0-24-9]))" + ]], + [, "(\\d{4})(\\d{4})", "$1 $2", ["16[08]"]], + [ + , + "(\\d{3})(\\d{5,6})", + "$1 $2", + [ + "3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", + "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", + "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", + "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])" + ], + "0$1", + "$CC $1" + ], + [, "(\\d{4})(\\d{4})", "$1 $2", [ + "[1-9]", + "1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]", + "1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])", + "1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])" + ]], + [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], + [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", "$CC $1", 1], + [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", "$CC $1", 1], + [ + , + "(\\d{3})(\\d{7,8})", + "$1 $2", + ["9"] + ], + [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", "$CC $1", 1], + [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", "$CC $1", 1], + [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"], , "$CC $1"], + [, "(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", , 1] + ], [[ + , + "(\\d{2})(\\d{5,6})", + "$1 $2", + [ + "(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", + "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", + "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", + "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", + "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123" + ], + "0$1", + "$CC $1" + ], [ + , + "(\\d{3})(\\d{5,6})", + "$1 $2", + [ + "3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", + "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", + "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", + "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])" + ], + "0$1", + "$CC $1" + ], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", "$CC $1", 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", "$CC $1", 1], [ + , + "(\\d{3})(\\d{7,8})", + "$1 $2", + ["9"] + ], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", "$CC $1", 1], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", "$CC $1", 1], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"], , "$CC $1"], [, "(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", , 1]], [, , , , , , , , , [-1]], , , [, , "(?:(?:10|21)8|[48])00\\d{7}|950\\d{7,8}", , , , , , , [10, 11, 12]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CO: [, [, , "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", , , , , , , [8, 10, 11], [4, 7]], [ + , + , + "601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[124-7][2-9]|8[1-9]))\\d{6}", + , + , + , + "6012345678", + , + , + [8, 10], + [4, 7] + ], [, , "333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}", , , , "3211234567", , , [10]], [, , "1800\\d{7}", , , , "18001234567", , , [11]], [, , "(?:19(?:0[01]|4[78])|901)\\d{7}", , , , "19001234567", , , [10, 11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CO", 57, "00(?:4(?:[14]4|56)|[579])", "0", , , "0([3579]|4(?:[14]4|56))?", , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["46"]], [ + , + "(\\d{3})(\\d{7})", + "$1 $2", + ["6|90"], + "($1)", + "0$CC $1" + ], [, "(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"], , "0$CC $1"], [, "(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1"]], [[, "(\\d{4})(\\d{4})", "$1 $2", ["46"]], [, "(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)", "0$CC $1"], [, "(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|91"], , "0$CC $1"], [, "(\\d)(\\d{3})(\\d{7})", "$1 $2 $3", ["1"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CR: [, [, , "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", , , , , , , [8, 10]], [ + , + , + "210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}", + , + , + , + "22123456", + , + , + [8] + ], [, , "(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}", , , , "83123456", , , [8]], [, , "800\\d{7}", , , , "8001234567", , , [10]], [, , "90[059]\\d{7}", , , , "9001234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:210[0-6]|4\\d{3}|5100)\\d{4}", , , , "40001234", , , [8]], "CR", 506, "00", , , , "(19(?:0[0-2468]|1[09]|20|66|77|99))", , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"], , "$CC $1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"], , "$CC $1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]]], + CU: [, [, , "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", , , , , , , [6, 7, 8, 10], [4, 5]], [, , "(?:3[23]|4[89])\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\d)\\d{6}|(?:2[1-4]|4[1257]|7\\d)\\d{5,6}", , , , "71234567", , , , [4, 5]], [, , "(?:5\\d|6[2-4])\\d{6}", , , , "51234567", , , [8]], [, , "800\\d{7}", , , , "8001234567", , , [10]], [, , , , , , , , , [-1]], [, , "807\\d{7}", , , , "8071234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CU", 53, "119", "0", , , "0", , , , [[, "(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], [ + , + "(\\d)(\\d{6,7})", + "$1 $2", + ["7"], + "(0$1)" + ], [, "(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], [, "(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CV: [, [, , "(?:[2-59]\\d\\d|800)\\d{4}", , , , , , , [7]], [, , "2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}", , , , "2211234"], [, , "(?:36|5[1-389]|9\\d)\\d{5}", , , , "9911234"], [, , "800\\d{4}", , , , "8001234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:3[3-5]|4[356])\\d{5}", , , , "3401234"], "CV", 238, "0", , , , , , , , [[ + , + "(\\d{3})(\\d{2})(\\d{2})", + "$1 $2 $3", + ["[2-589]"] + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CW: [, [, , "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", , , , , , , [7, 8]], [, , "9(?:4(?:3[0-5]|4[14]|6\\d)|50\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\d|7[01]|8[57-9]))\\d{4}", , , , "94351234"], [, , "953[01]\\d{4}|9(?:5[12467]|6[5-9])\\d{5}", , , , "95181234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "60[0-2]\\d{4}", , , , "6001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "CW", 599, "00", , , , , , , , [[ + , + "(\\d{3})(\\d{4})", + "$1 $2", + ["[3467]"] + ], [, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], , [, , "955\\d{5}", , , , "95581234", , , [8]], 1, "[69]", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CX: [, [, , "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", , , , , , , [6, 7, 8, 9, 10, 12]], [, , "8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", , , , "891641234", , , [9], [8]], [ + , + , + "4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", + , + , + , + "412345678", + , + , + [9] + ], [, , "180(?:0\\d{3}|2)\\d{3}", , , , "1800123456", , , [7, 10]], [, , "190[0-26]\\d{6}", , , , "1900123456", , , [10]], [, , "13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", , , , "1300123456", , , [6, 8, 10, 12]], [, , , , , , , , , [-1]], [, , "14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", , , , "147101234", , , [9]], "CX", 61, "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "0", , , "([59]\\d{7})$|0", "8$1", "0011", , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + CY: [, [ + , + , + "(?:[279]\\d|[58]0)\\d{6}", + , + , + , + , + , + , + [8] + ], [, , "2[2-6]\\d{6}", , , , "22345678"], [, , "9(?:10|[4-79]\\d)\\d{5}", , , , "96123456"], [, , "800\\d{5}", , , , "80001234"], [, , "90[09]\\d{5}", , , , "90012345"], [, , "80[1-9]\\d{5}", , , , "80112345"], [, , "700\\d{5}", , , , "70012345"], [, , , , , , , , , [-1]], "CY", 357, "00", , , , , , , , [[, "(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "(?:50|77)\\d{6}", , , , "77123456"], , , [, , , , , , , , , [-1]]], + CZ: [, [, , "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", , , , , , , [9, 10, 11, 12]], [ + , + , + "(?:2\\d|3[1257-9]|4[16-9]|5[13-9])\\d{7}", + , + , + , + "212345678", + , + , + [9] + ], [, , "(?:60[1-8]\\d|7(?:0(?:[2-5]\\d|60)|19[01]|[2379]\\d\\d))\\d{5}", , , , "601123456", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "9(?:0[05689]|76)\\d{6}", , , , "900123456", , , [9]], [, , "8[134]\\d{7}", , , , "811234567", , , [9]], [, , "70[01]\\d{6}", , , , "700123456", , , [9]], [, , "9[17]0\\d{6}", , , , "910123456", , , [9]], "CZ", 420, "00", , , , , , , , [ + [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], + [, "(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], + [, "(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], + [, "(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]] + ], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "9(?:5\\d|7[2-4])\\d{6}", , , , "972123456", , , [9]], , , [, , "9(?:3\\d{9}|6\\d{7,10})", , , , "93123456789"]], + DE: [, [, , "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", , , , , , , [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [2, 3]], [ + , + , + "32\\d{9,11}|49[1-6]\\d{10}|322\\d{6}|49[0-7]\\d{3,9}|(?:[34]0|[68]9)\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\d|[589][0-7]|6[0-8]|7[0-467]))\\d{3,12}", + , + , + , + "30123456", + , + , + [5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], + [2, 3, 4] + ], [, , "1(?:(?:5(?:[0-25-9]\\d\\d|310)|76\\d\\d)\\d{6}|6[023]\\d{7,8})|17\\d{8}", , , , "15123456789", , , [10, 11]], [, , "800\\d{7,12}", , , , "8001234567890", , , [10, 11, 12, 13, 14, 15]], [, , "(?:137[7-9]|900(?:[135]|9\\d))\\d{6}", , , , "9001234567", , , [10, 11]], [, , "180\\d{5,11}|13(?:7[1-6]\\d\\d|8)\\d{4}", , , , "18012345", , , [7, 8, 9, 10, 11, 12, 13, 14]], [, , "700\\d{8}", , , , "70012345678", , , [11]], [, , , , , , , , , [-1]], "DE", 49, "00", "0", , , "0", , , , [ + [ + , + "(\\d{2})(\\d{3,13})", + "$1 $2", + ["3[02]|40|[68]9"], + "0$1" + ], + [, "(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], + [ + , + "(\\d{4})(\\d{2,11})", + "$1 $2", + ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], + "0$1" + ], + [, "(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], + [, "(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], + [, "(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], + [, "(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], + [, "(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], + [, "(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], + [, "(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], + [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], + [, "(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], + [, "(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], + [, "(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|31)"], "0$1"], + [, "(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], + [, "(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], + [, "(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], + [, "(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"] + ], , [, , "16(?:4\\d{1,10}|[89]\\d{1,11})", , , , "16412345", , , [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]], , , [, , , , , , , , , [-1]], [, , "18(?:1\\d{5,11}|[2-9]\\d{8})", , , , "18500123456", , , [8, 9, 10, 11, 12, 13, 14]], , , [ + , + , + "1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\d{7,8}|15(?:(?:[03-68]00|113)\\d|2\\d55|7\\d99|9\\d33)\\d{7}", + , + , + , + "177991234567", + , + , + [12, 13] + ]], + DJ: [, [, , "(?:2\\d|77)\\d{6}", , , , , , , [8]], [, , "2(?:1[2-5]|7[45])\\d{5}", , , , "21360003"], [, , "77\\d{6}", , , , "77831001"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "DJ", 253, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + DK: [, [, , "[2-9]\\d{7}", , , , , , , [8]], [ + , + , + "(?:2(?:[0-59][1-9]|[6-8]\\d)|3(?:[0-3][1-9]|4[13]|5[1-58]|6[1347-9]|7\\d|8[1-8]|9[1-79])|4(?:[0-25][1-9]|[34][2-9]|6[13-579]|7[13579]|8[1-47]|9[127])|5(?:[0-36][1-9]|4[146-9]|5[3-57-9]|7[568]|8[1-358]|9[1-69])|6(?:[0135][1-9]|2[1-68]|4[2-8]|6[1689]|[78]\\d|9[15689])|7(?:[0-69][1-9]|7[3-9]|8[147])|8(?:[16-9][1-9]|2[1-58])|9(?:[1-47-9][1-9]|6\\d))\\d{5}", + , + , + , + "32123456" + ], [, , "(?:2[6-8]|37|6[78]|96)\\d{6}|(?:2[0-59]|3[0-689]|[457]\\d|6[0-69]|8[126-9]|9[1-47-9])[1-9]\\d{5}", , , , "34412345"], [, , "80\\d{6}", , , , "80123456"], [, , "90\\d{6}", , , , "90123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "DK", 45, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + DM: [ + , + [, , "(?:[58]\\d\\d|767|900)\\d{7}", , , , , , , [10], [7]], + [ + , + , + "767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\d{4}", + , + , + , + "7674201234", + , + , + , + [7] + ], + [, , "767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\d{4}", , , , "7672251234", , , , [7]], + [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], + [, , "900[2-9]\\d{6}", , , , "9002123456"], + [, , , , , , , , , [-1]], + [, , "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"], + [, , , , , , , , , [-1]], + "DM", + 1, + "011", + "1", + , + , + "([2-7]\\d{6})$|1", + "767$1", + , + , + , + , + [, , , , , , , , , [-1]], + , + "767", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + DO: [ + , + [, , "(?:[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], + [ + , + , + "8(?:[04]9[2-9]\\d\\d|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d\\d|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\d{4}", + , + , + , + "8092345678", + , + , + , + [7] + ], + [, , "8[024]9[2-9]\\d{6}", , , , "8092345678", , , , [7]], + [, , "8(?:00(?:14|[2-9]\\d)|(?:33|44|55|66|77|88)[2-9]\\d)\\d{5}", , , , "8002123456"], + [, , "900[2-9]\\d{6}", , , , "9002123456"], + [, , , , , , , , , [-1]], + [, , "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"], + [, , , , , , , , , [-1]], + "DO", + 1, + "011", + "1", + , + , + "1", + , + , + , + , + , + [, , , , , , , , , [-1]], + , + "8001|8[024]9", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + DZ: [ + , + [, , "(?:[1-4]|[5-79]\\d|80)\\d{7}", , , , , , , [8, 9]], + [, , "9619\\d{5}|(?:1\\d|2[013-79]|3[0-8]|4[013-689])\\d{6}", , , , "12345678"], + [, , "(?:5(?:4[0-29]|5\\d|6[0-3])|6(?:[569]\\d|7[0-6])|7[7-9]\\d)\\d{6}", , , , "551234567", , , [9]], + [, , "800\\d{6}", , , , "800123456", , , [9]], + [, , "80[3-689]1\\d{5}", , , , "808123456", , , [9]], + [, , "80[12]1\\d{5}", , , , "801123456", , , [9]], + [, , , , , , , , , [-1]], + [, , "98[23]\\d{6}", , , , "983123456", , , [9]], + "DZ", + 213, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + EC: [, [, , "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", , , , , , , [8, 9, 10, 11], [7]], [, , "[2-7][2-7]\\d{6}", , , , "22123456", , , [8], [7]], [, , "964[0-2]\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\d)\\d{6}", , , , "991234567", , , [9]], [ + , + , + "1800\\d{7}|1[78]00\\d{6}", + , + , + , + "18001234567", + , + , + [10, 11] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "[2-7]890\\d{4}", , , , "28901234", , , [8]], "EC", 593, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{4})", "$1-$2", ["[2-7]"]], [, "(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], [[, "(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-7]"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 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]], [ + , + , + "(?: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}", + , + , + , + "51234567", + , + , + [7, 8] + ], [, , "800(?:(?:0\\d\\d|1)\\d|[2-9])\\d{3}", , , , "80012345"], [, , "(?:40\\d\\d|900)\\d{4}", , , , "9001234", , , [7, 8]], [, , , , , , , , , [-1]], [, , "70[0-2]\\d{5}", , , , "70012345", , , [8]], [, , , , , , , , , [-1]], "EE", 372, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], [, "(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], [ + , + "(\\d{2})(\\d{2})(\\d{4})", + "$1 $2 $3", + ["7"] + ], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]], , [, , , , , , , , , [-1]], , , [, , "800[2-9]\\d{3}", , , , , , , [7]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + EG: [ + , + [, , "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", , , , , , , [8, 9, 10], [6, 7]], + [, , "13[23]\\d{6}|(?:15|57)\\d{6,7}|(?:2\\d|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\d{7}", , , , "234567890", , , [8, 9], [6, 7]], + [, , "1[0-25]\\d{8}", , , , "1001234567", , , [10]], + [, , "800\\d{7}", , , , "8001234567", , , [10]], + [, , "900\\d{7}", , , , "9001234567", , , [10]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "EG", + 20, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], [, "(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], [, "(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + EH: [ + , + [, , "[5-8]\\d{8}", , , , , , , [9]], + [, , "528[89]\\d{5}", , , , "528812345"], + [, , "(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}", , , , "650123456"], + [, , "80[0-7]\\d{6}", , , , "801234567"], + [, , "89\\d{7}", , , , "891234567"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}", , , , "592401234"], + "EH", + 212, + "00", + "0", + , + , + "0", + , + , + , + , + , + [, , , , , , , , , [-1]], + , + "528[89]", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + ER: [, [, , "[178]\\d{6}", , , , , , , [7], [6]], [, , "(?:1(?:1[12568]|[24]0|55|6[146])|8\\d\\d)\\d{4}", , , , "8370362", , , , [6]], [, , "(?:17[1-3]|7\\d\\d)\\d{4}", , , , "7123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ER", 291, "00", "0", , , "0", , , , [[ + , + "(\\d)(\\d{3})(\\d{3})", + "$1 $2 $3", + ["[178]"], + "0$1" + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + ES: [ + , + [, , "[5-9]\\d{8}", , , , , , , [9]], + [, , "96906(?:0[0-8]|1[1-9]|[2-9]\\d)\\d\\d|9(?:69(?:0[0-57-9]|[1-9]\\d)|73(?:[0-8]\\d|9[1-9]))\\d{4}|(?:8(?:[1356]\\d|[28][0-8]|[47][1-9])|9(?:[135]\\d|[268][0-8]|4[1-9]|7[124-9]))\\d{6}", , , , "810123456"], + [, , "(?:590[16]00\\d|9(?:6906(?:09|10)|7390\\d\\d))\\d\\d|(?:6\\d|7[1-48])\\d{7}", , , , "612345678"], + [, , "[89]00\\d{6}", , , , "800123456"], + [, , "80[367]\\d{6}", , , , "803123456"], + [, , "90[12]\\d{6}", , , , "901123456"], + [, , "70\\d{7}", , , , "701234567"], + [, , , , , , , , , [-1]], + "ES", + 34, + "00", + , + , + , + , + , + , + , + [[, "(\\d{4})", "$1", ["905"]], [, "(\\d{6})", "$1", ["[79]9"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]], + [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , "51\\d{7}", , , , "511234567"], + , + , + [, , , , , , , , , [-1]] + ], + ET: [, [ + , + , + "(?:11|[2-579]\\d)\\d{7}", + , + , + , + , + , + , + [9], + [7] + ], [ + , + , + "11667[01]\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8]|7\\d)|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}", + , + , + , + "111112345", + , + , + , + [7] + ], [, , "700[1-9]\\d{5}|(?:7(?:0[1-9]|1[0-8]|22|77|86|99)|9\\d\\d)\\d{6}", , , , "911234567"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ET", 251, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + FI: [ + , + [, , "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", , , , , , , [5, 6, 7, 8, 9, 10, 11, 12]], + [ + , + , + "1[3-7][1-8]\\d{3,6}|(?:19[1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}", + , + , + , + "131234567", + , + , + [5, 6, 7, 8, 9] + ], + [, , "4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}", , , , "412345678", , , [6, 7, 8, 9, 10]], + [, , "800\\d{4,6}", , , , "800123456", , , [7, 8, 9]], + [, , "[67]00\\d{5,6}", , , , "600123456", , , [8, 9]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "FI", + 358, + "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", + "0", + , + , + "0", + , + "00", + , + [[, "(\\d{5})", "$1", ["75[12]"], "0$1"], [, "(\\d{5})", "$1", ["20[2-59]"], "0$1"], [, "(\\d{6})", "$1", ["11"]], [, "(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], [ + , + "(\\d{2})(\\d{4,8})", + "$1 $2", + ["[14]|2[09]|50|7[135]"], + "0$1" + ], [, "(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], [, "(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], + [[, "(\\d{5})", "$1", ["20[2-59]"], "0$1"], [, "(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], [, "(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], [, "(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], [, "(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], + [, , , , , , , , , [-1]], + 1, + "1[03-79]|[2-9]", + [, , "20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}"], + [, , "20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}", , , , "10112345"], + , + , + [, , , , , , , , , [-1]] + ], + FJ: [ + , + [, , "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", , , , , , , [7, 11]], + [, , "603\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\d{5}", , , , "3212345", , , [7]], + [, , "(?:[279]\\d|45|5[01568]|8[034679])\\d{5}", , , , "7012345", , , [7]], + [, , "0800\\d{7}", , , , "08001234567", , , [11]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "FJ", + 679, + "0(?:0|52)", + , + , + , + , + , + "00", + , + [[, "(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + FK: [, [, , "[2-7]\\d{4}", , , , , , , [5]], [, , "[2-47]\\d{4}", , , , "31234"], [, , "[56]\\d{4}", , , , "51234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "FK", 500, "00", , , , , , , , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + FM: [, [, , "(?:[39]\\d\\d|820)\\d{4}", , , , , , , [7]], [ + , + , + "31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\d)\\d)\\d{3}", + , + , + , + "3201234" + ], [, , "31(?:00[67]|208|309)\\d\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\d)\\d)\\d{3}", , , , "3501234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "FM", 691, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + FO: [, [, , "[2-9]\\d{5}", , , , , , , [6]], [, , "(?:20|[34]\\d|8[19])\\d{4}", , , , "201234"], [, , "(?:[27][1-9]|5\\d|9[16])\\d{4}", , , , "211234"], [, , "80[257-9]\\d{3}", , , , "802123"], [ + , + , + "90(?:[13-5][15-7]|2[125-7]|9\\d)\\d\\d", + , + , + , + "901123" + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:6[0-36]|88)\\d{4}", , , , "601234"], "FO", 298, "00", , , , "(10(?:01|[12]0|88))", , , , [[, "(\\d{6})", "$1", ["[2-9]"], , "$CC $1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + FR: [, [, , "[1-9]\\d{8}", , , , , , , [9]], [, , "(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}", , , , "123456789"], [, , "(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}", , , , "612345678"], [, , "80[0-5]\\d{6}", , , , "801234567"], [ + , + , + "836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}", + , + , + , + "891123456" + ], [, , "8(?:1[01]|2[0156]|4[024]|84)\\d{6}", , , , "884012345"], [, , , , , , , , , [-1]], [, , "9\\d{8}", , , , "912345678"], "FR", 33, "00", "0", , , "0", , , , [[, "(\\d{4})", "$1", ["10"]], [, "(\\d{3})(\\d{3})", "$1 $2", ["1"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], [, "(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], [, "(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]], [, , "80[6-9]\\d{6}", , , , "806123456"], , , [, , , , , , , , , [-1]]], + GA: [, [, , "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", , , , , , , [7, 8]], [, , "[01]1\\d{6}", , , , "01441234", , , [8]], [, , "(?:(?:0[2-7]|7[467])\\d|6(?:0[0-4]|10|[256]\\d))\\d{5}|[2-7]\\d{6}", , , , "06031234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GA", 241, "00", , , , "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1", , , [[, "(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], [ + , + "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", + "$1 $2 $3 $4", + ["0"] + ], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GB: [, [, , "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", , , , , , , [7, 9, 10], [4, 5, 6, 8]], [ + , + , + "(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", + , + , + , + "1212345678", + , + , + [9, 10], + [4, 5, 6, 7, 8] + ], [, , "7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", , , , "7400123456", , , [10]], [, , "80[08]\\d{7}|800\\d{6}|8001111", , , , "8001234567"], [, , "(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", , , , "9012345678", , , [7, 10]], [, , , , , , , , , [-1]], [, , "70\\d{8}", , , , "7012345678", , , [10]], [ + , + , + "56\\d{8}", + , + , + , + "5612345678", + , + , + [10] + ], "GB", 44, "00", "0", " x", , "0", , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], [, "(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], [, "(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], [, "(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", [ + "[25]|7(?:0|6[02-9])", + "[25]|7(?:0|6(?:[03-9]|2[356]))" + ], "0$1"], [, "(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456", , , [10]], 1, , [, , , , , , , , , [-1]], [, , "(?:3[0347]|55)\\d{8}", , , , "5512345678", , , [10]], , , [, , , , , , , , , [-1]]], + GD: [, [, , "(?:473|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [ + , + , + "473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-4]|5[579]|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}", + , + , + , + "4732691234", + , + , + , + [7] + ], [, , "473(?:4(?:0[2-79]|1[04-9]|2[0-5]|49|5[68])|5(?:2[01]|3[3-8])|901)\\d{4}", , , , "4734031234", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [, , "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"], [ + , + , + , + , + , + , + , + , + , + [-1] + ], "GD", 1, "011", "1", , , "([2-9]\\d{6})$|1", "473$1", , , , , [, , , , , , , , , [-1]], , "473", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 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]], [ + , + , + "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|11|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\\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}", + , + , + , + "555123456" + ], [, , "800\\d{6}", , , , "800123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "70[67]\\d{6}", , , , "706123456"], "GE", 995, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , "70[67]\\d{6}"], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GF: [, [ + , + , + "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", + , + , + , + , + , + , + [9] + ], [, , "594(?:[02-49]\\d|1[0-5]|5[6-9]|6[0-3]|80)\\d{4}", , , , "594101234"], [, , "(?:694(?:[0-249]\\d|3[0-8])|7093[0-3])\\d{4}", , , , "694201234"], [, , "80[0-5]\\d{6}", , , , "800012345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "9(?:(?:396|76\\d)\\d|476[0-5])\\d{4}", , , , "976012345"], "GF", 594, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]]], + GG: [ + , + [, , "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", , , , , , , [7, 9, 10], [6]], + [, , "1481[25-9]\\d{5}", , , , "1481256789", , , [10], [6]], + [, , "7(?:(?:781|839)\\d|911[17])\\d{5}", , , , "7781123456", , , [10]], + [, , "80[08]\\d{7}|800\\d{6}|8001111", , , , "8001234567"], + [, , "(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", , , , "9012345678", , , [7, 10]], + [, , , , , , , , , [-1]], + [, , "70\\d{8}", , , , "7012345678", , , [10]], + [, , "56\\d{8}", , , , "5612345678", , , [10]], + "GG", + 44, + "00", + "0", + , + , + "([25-9]\\d{5})$|0", + "1481$1", + , + , + , + , + [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456", , , [10]], + , + , + [, , , , , , , , , [-1]], + [, , "(?:3[0347]|55)\\d{8}", , , , "5512345678", , , [10]], + , + , + [, , , , , , , , , [-1]] + ], + GH: [, [, , "(?:[235]\\d{3}|800)\\d{5}", , , , , , , [8, 9], [7]], [, , "3082[0-5]\\d{4}|3(?:0(?:[237]\\d|8[01])|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}", , , , "302345678", , , [9], [7]], [ + , + , + "(?:2(?:[0346-9]\\d|5[67])|5(?:[03-7]\\d|9[1-9]))\\d{6}", + , + , + , + "231234567", + , + , + [9] + ], [, , "800\\d{5}", , , , "80012345", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GH", 233, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[237]|8[0-2]"]], [, "(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], [[, "(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], [, , , , , , , , , [-1]], , , [, , "800\\d{5}", , , , , , , [8]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GI: [, [ + , + , + "(?:[25]\\d|60)\\d{6}", + , + , + , + , + , + , + [8] + ], [, , "2190[0-2]\\d{3}|2(?:0(?:[02]\\d|3[01])|16[24-9]|2[2-5]\\d)\\d{4}", , , , "20012345"], [, , "5251[0-4]\\d{3}|(?:5(?:[146-8]\\d\\d|250)|60(?:1[01]|6\\d))\\d{4}", , , , "57123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GI", 350, "00", , , , , , , , [[, "(\\d{3})(\\d{5})", "$1 $2", ["2"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GL: [, [, , "(?:19|[2-689]\\d|70)\\d{4}", , , , , , , [6]], [, , "(?:19|3[1-7]|[68][1-9]|70|9\\d)\\d{4}", , , , "321000"], [ + , + , + "[245]\\d{5}", + , + , + , + "221234" + ], [, , "80\\d{4}", , , , "801234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "3[89]\\d{4}", , , , "381234"], "GL", 299, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GM: [ + , + [, , "[2-9]\\d{6}", , , , , , , [7]], + [, , "(?:4(?:[23]\\d\\d|4(?:1[024679]|[6-9]\\d))|5(?:5(?:3\\d|4[0-7])|6[67]\\d|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}", , , , "5661234"], + [, , "(?:[23679]\\d|4[015]|5[0-489])\\d{5}", , , , "3012345"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "GM", + 220, + "00", + , + , + , + , + , + , + , + [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + GN: [ + , + [, , "722\\d{6}|(?:3|6\\d)\\d{7}", , , , , , , [8, 9]], + [, , "3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}", , , , "30241234", , , [8]], + [, , "6[0-356]\\d{7}", , , , "601123456", , , [9]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "722\\d{6}", , , , "722123456", , , [9]], + "GN", + 224, + "00", + , + , + , + , + , + , + , + [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + GP: [, [, , "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", , , , , , , [9]], [, , "590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}", , , , "590201234"], [, , "(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}", , , , "690001234"], [ + , + , + "80[0-5]\\d{6}", + , + , + , + "800012345" + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}", , , , "976012345"], "GP", 590, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GQ: [, [, , "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", , , , , , , [9]], [, , "33[0-24-9]\\d[46]\\d{4}|3(?:33|5\\d)\\d[7-9]\\d{4}", , , , "333091234"], [ + , + , + "(?:222|55\\d)\\d{6}", + , + , + , + "222123456" + ], [, , "80\\d[1-9]\\d{5}", , , , "800123456"], [, , "90\\d[1-9]\\d{5}", , , , "900123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GQ", 240, "00", , , , , , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], [, "(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GR: [, [, , "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", , , , , , , [10, 11, 12]], [ + , + , + "2(?:1\\d\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}", + , + , + , + "2123456789", + , + , + [10] + ], [, , "68[57-9]\\d{7}|(?:69|94)\\d{8}", , , , "6912345678", , , [10]], [, , "800\\d{7,9}", , , , "8001234567"], [, , "90[19]\\d{7}", , , , "9091234567", , , [10]], [, , "8(?:0[16]|12|[27]5|50)\\d{7}", , , , "8011234567", , , [10]], [, , "70\\d{8}", , , , "7012345678", , , [10]], [, , , , , , , , , [-1]], "GR", 30, "00", , , , , , , , [[, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], [ + , + "(\\d{3})(\\d{3,4})(\\d{5})", + "$1 $2 $3", + ["8"] + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "5005000\\d{3}", , , , "5005000123", , , [10]], , , [, , , , , , , , , [-1]]], + GT: [, [, , "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", , , , , , , [8, 11]], [, , "[267][2-9]\\d{6}", , , , "22456789", , , [8]], [, , "(?:[3-5]\\d\\d|80[0-4])\\d{5}", , , , "51234567", , , [8]], [, , "18[01]\\d{8}", , , , "18001112222", , , [11]], [, , "19\\d{9}", , , , "19001112222", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "GT", 502, "00", , , , , , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], [ + , + "(\\d{4})(\\d{3})(\\d{4})", + "$1 $2 $3", + ["1"] + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GU: [, [, , "(?:[58]\\d\\d|671|900)\\d{7}", , , , , , , [10], [7]], [, , "671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}", , , , "6713001234", , , , [7]], [ + , + , + "671(?:2\\d\\d|3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[478])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\d{4}", + , + , + , + "6713001234", + , + , + , + [7] + ], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [, , "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"], [, , , , , , , , , [-1]], "GU", 1, "011", "1", , , "([2-9]\\d{6})$|1", "671$1", , 1, , , [, , , , , , , , , [-1]], , "671", [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]]], + GW: [, [, , "[49]\\d{8}|4\\d{6}", , , , , , , [7, 9]], [, , "443\\d{6}", , , , "443201234", , , [9]], [, , "9(?:5\\d|6[569]|77)\\d{6}", , , , "955012345", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "40\\d{5}", , , , "4012345", , , [7]], "GW", 245, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["40"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + GY: [, [, , "(?:[2-8]\\d{3}|9008)\\d{3}", , , , , , , [7]], [ + , + , + "(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|50[0-6]|77[1-57])\\d{4}", + , + , + , + "2201234" + ], [, , "510\\d{4}|(?:6\\d|7[0-5])\\d{5}", , , , "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]]], + 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]], [ + , + , + "(?:2(?:[13-9]\\d|2[013-9])\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\d|8(?:4[0-8]|[579]\\d|6[0-2]))|58(?:0[1-9]|1[2-9]))\\d{4}", + , + , + , + "21234567", + , + , + [8] + ], [, , "(?:4(?:44[0-25-9]|6(?:1[0-7]|4[0-57-9]|6[0-4])|7(?:4[0-2]|6[0-5]))|5(?:73[0-6]|95[0-8])|6(?:26[013-8]|66[0-3])|70(?:7[1-8]|8[0-4])|84(?:4[0-2]|8[0-35-9])|9(?:29[013-9]|39[014-9]|59[0-4]|899))\\d{4}|(?:4(?:4[0-35-9]|6[02357-9]|7[015])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\d|[268][0-57-9]|7[0-79])|70[1-59]|84[0-39]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}", , , , "51234567", , , [8]], [, , "800\\d{6}", , , , "800123456", , , [9]], [ + , + , + "900(?:[0-24-9]\\d{7}|3\\d{1,4})", + , + , + , + "90012345678", + , + , + [5, 6, 7, 8, 11] + ], [, , , , , , , , , [-1]], [, , "8(?:1[0-4679]\\d|2(?:[0-36]\\d|7[0-4])|3(?:[034]\\d|2[09]|70))\\d{4}", , , , "81123456", , , [8]], [, , , , , , , , , [-1]], "HK", 852, "00(?:30|5[09]|[126-9]?)", , , , , , "00", , [[, "(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], [, "(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], , [ + , + , + "7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\d|1[18]|7[27-9])|3(?:[0-38]\\d|7[0-369]|9[2357-9])|47\\d|5(?:[178]\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\d)|7(?:[27]\\d|8[7-9])|8(?:[23689]\\d|7[1-9])|9(?:[025]\\d|6[0-246-8]|7[0-36-9]|8[238]))\\d{4}", + , + , + , + "71123456", + , + , + [8] + ], , , [, , , , , , , , , [-1]], [, , "30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}", , , , "30161234", , , [8]], , , [, , , , , , , , , [-1]]], + HN: [, [, , "8\\d{10}|[237-9]\\d{7}", , , , , , , [8, 11]], [ + , + , + "2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-7]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}", + , + , + , + "22123456", + , + , + [8] + ], [, , "[37-9]\\d{7}", , , , "91234567", , , [8]], [, , "8002\\d{7}", , , , "80021234567", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "HN", 504, "00", , , , , , , , [[, "(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]]], [[, "(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]], [, , , , , , , , , [-1]], , , [, , "8002\\d{7}", , , , , , , [11]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + HR: [, [, , "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", , , , , , , [6, 7, 8, 9]], [ + , + , + "1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}", + , + , + , + "12345678", + , + , + [8, 9], + [6, 7] + ], [, , "9(?:(?:0[1-9]|[12589]\\d)\\d\\d|7(?:[0679]\\d\\d|5(?:[01]\\d|44|55|77|9[5-79])))\\d{4}|98\\d{6}", , , , "921234567", , , [8, 9]], [, , "80\\d{5,7}", , , , "800123456", , , [7, 8, 9]], [, , "6[01459]\\d{6}|6[01]\\d{4,5}", , , , "611234", , , [6, 7, 8]], [, , , , , , , , , [-1]], [, , "7[45]\\d{6}", , , , "74123456", , , [8]], [, , , , , , , , , [-1]], "HR", 385, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], [ + , + "(\\d)(\\d{4})(\\d{3})", + "$1 $2 $3", + ["1"], + "0$1" + ], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "62\\d{6,7}|72\\d{6}", , , , "62123456", , , [8, 9]], , , [, , , , , , , , , [-1]]], + HT: [, [, , "(?:[2-489]\\d|55)\\d{6}", , , , , , , [8]], [, , "2(?:2\\d|5[1-5]|81|9[149])\\d{5}", , , , "22453300"], [, , "(?:[34]\\d|55)\\d{6}", , , , "34101234"], [ + , + , + "8\\d{7}", + , + , + , + "80012345" + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "9(?:[67][0-4]|8[0-3589]|9\\d)\\d{5}", , , , "98901234"], "HT", 509, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + HU: [, [, , "[235-7]\\d{8}|[1-9]\\d{7}", , , , , , , [8, 9], [6, 7]], [, , "(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}", , , , "12345678", , , [8], [6, 7]], [, , "(?:[257]0|3[01])\\d{7}", , , , "201234567", , , [9]], [ + , + , + "(?:[48]0\\d|680[29])\\d{5}", + , + , + , + "80123456" + ], [, , "9[01]\\d{6}", , , , "90123456", , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "21\\d{7}", , , , "211234567", , , [9]], "HU", 36, "00", "06", , , "06", , , , [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], , [, , , , , , , , , [-1]], , , [, , "(?:[48]0\\d|680[29])\\d{5}"], [, , "38\\d{7}", , , , "381234567", , , [9]], , , [, , , , , , , , , [-1]]], + ID: [, [ + , + , + "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", + , + , + , + , + , + , + [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], + [5, 6] + ], [ + , + , + "2[124]\\d{7,8}|619\\d{8}|2(?:1(?:14|500)|2\\d{3})\\d{3}|61\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}", + , + , + , + "218350123", + , + , + [7, 8, 9, 10, 11], + [5, 6] + ], [, , "8[1-35-9]\\d{7,10}", , , , "812345678", , , [9, 10, 11, 12]], [, , "00(?:1803\\d{5,11}|7803\\d{7})|(?:177\\d|800)\\d{5,7}", , , , "8001234567", , , [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]], [, , "809\\d{7}", , , , "8091234567", , , [10]], [, , "804\\d{7}", , , , "8041234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ID", 62, "00[89]", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], [, "(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [ + , + "(\\d{3})(\\d{5,8})", + "$1 $2", + ["[2-79]"], + "(0$1)" + ], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3 $4", ["001"]], [, "(\\d{2})(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]]], [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], [ + , + "(\\d{2})(\\d{5,9})", + "$1 $2", + ["2[124]|[36]1"], + "(0$1)" + ], [, "(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], [, "(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], [, "(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], [, "(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], [, "(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], [, , , , , , , , , [-1]], , , [, , "001803\\d{5,11}|(?:007803\\d|8071)\\d{6}", , , , , , , [10, 11, 12, 13, 14, 15, 16, 17]], [ + , + , + "(?:1500|8071\\d{3})\\d{3}", + , + , + , + "8071123456", + , + , + [7, 10] + ], , , [, , , , , , , , , [-1]]], + IE: [, [, , "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", , , , , , , [7, 8, 9, 10], [5, 6]], [, , "(?:1\\d|21)\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\d|7)|5(?:0[45]|1\\d|8)|6(?:1\\d|[237-9])|9(?:1\\d|[35-9]))\\d{5}|(?:23|4(?:[1-469]|8\\d)|5[23679]|6[4-6]|7[14]|9[04])\\d{7}", , , , "2212345", , , , [5, 6]], [, , "8(?:22|[35-9]\\d)\\d{6}", , , , "850123456", , , [9]], [, , "1800\\d{6}", , , , "1800123456", , , [10]], [ + , + , + "15(?:1[2-8]|[2-8]0|9[089])\\d{6}", + , + , + , + "1520123456", + , + , + [10] + ], [, , "18[59]0\\d{6}", , , , "1850123456", , , [10]], [, , "700\\d{6}", , , , "700123456", , , [9]], [, , "76\\d{7}", , , , "761234567", , , [9]], "IE", 353, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], [, "(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], [, "(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], [ + , + "(\\d{3})(\\d{3})(\\d{3})", + "$1 $2 $3", + ["81"], + "(0$1)" + ], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], [, "(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , "18[59]0\\d{6}", , , , , , , [10]], [, , "818\\d{6}", , , , "818123456", , , [9]], , , [, , "88210[1-9]\\d{4}|8(?:[35-79]5\\d\\d|8(?:[013-9]\\d\\d|2(?:[01][1-9]|[2-9]\\d)))\\d{5}", , , , "8551234567", , , [10]]], + IL: [, [, , "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", , , , , , , [ + 7, + 8, + 9, + 10, + 11, + 12 + ]], [, , "153\\d{8,9}|29[1-9]\\d{5}|(?:2[0-8]|[3489]\\d)\\d{6}", , , , "21234567", , , [8, 11, 12], [7]], [, , "55(?:4(?:[01]0|5[0-2])|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]], [ + , + , + "7(?:38(?:0\\d|5[0-3569]|88)|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}", + , + , + , + "771234567", + , + , + [9] + ], "IL", 972, "0(?:0|1[2-9])", "0", , , "0", , , , [[, "(\\d{4})(\\d{3})", "$1-$2", ["125"]], [, "(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], [, "(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], [, "(\\d{4})(\\d{6})", "$1-$2", ["159"]], [, "(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], [, "(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], , [, , , , , , , , , [-1]], , , [ + , + , + "1700\\d{6}", + , + , + , + , + , + , + [10] + ], [, , "1599\\d{6}", , , , "1599123456", , , [10]], , , [, , "151\\d{8,9}", , , , "15112340000", , , [11, 12]]], + IM: [ + , + [, , "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", , , , , , , [10], [6]], + [, , "1624(?:230|[5-8]\\d\\d)\\d{3}", , , , "1624756789", , , , [6]], + [, , "76245[06]\\d{4}|7(?:4576|[59]24\\d|624[0-4689])\\d{5}", , , , "7924123456"], + [, , "808162\\d{4}", , , , "8081624567"], + [, , "8(?:440[49]06|72299\\d)\\d{3}|(?:8(?:45|70)|90[0167])624\\d{4}", , , , "9016247890"], + [, , , , , , , , , [-1]], + [, , "70\\d{8}", , , , "7012345678"], + [, , "56\\d{8}", , , , "5612345678"], + "IM", + 44, + "00", + "0", + , + , + "([25-8]\\d{5})$|0", + "1624$1", + , + , + , + , + [, , , , , , , , , [-1]], + , + "74576|(?:16|7[56])24", + [, , , , , , , , , [-1]], + [, , "3440[49]06\\d{3}|(?:3(?:08162|3\\d{4}|45624|7(?:0624|2299))|55\\d{4})\\d{4}", , , , "5512345678"], + , + , + [, , , , , , , , , [-1]] + ], + IN: [, [, , "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", , , , , , , [8, 9, 10, 11, 12, 13], [6, 7]], [ + , + , + "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}", + , + , + , + "7410410123", + , + , + [10], + [6, 7, 8] + ], [ + , + , + "(?: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}", + , + , + , + "8123456789", + , + , + [10] + ], [, , "000800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))", , , , "1800123456"], [, , "186[12]\\d{9}", , , , "1861123456789", , , [13]], [, , "1860\\d{7}", , , , "18603451234", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "IN", 91, "00", "0", , , "0", , , , [[, "(\\d{7})", "$1", ["575"]], [, "(\\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", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", , 1], [ + , + "(\\d{3})(\\d{3})(\\d{4})", + "$1 $2 $3", + [ + "1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", + "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", + "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]" + ], + "0$1", + , + 1 + ], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", [ + "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", + "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", + "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|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]" + ], "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], [ + , + "(\\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", + ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], + "0$1", + , + 1 + ], [ + , + "(\\d{3})(\\d{3})(\\d{4})", + "$1 $2 $3", + [ + "1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", + "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", + "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]" + ], + "0$1", + , + 1 + ], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", [ + "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", + "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", + "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|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]" + ], "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], [ + , + "(\\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]]], + 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]]], + IQ: [, [ + , + , + "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", + , + , + , + , + , + , + [8, 9, 10], + [6, 7] + ], [, , "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]]], + 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]], + [, , "9(?:(?:0(?:[0-35]\\d|4[4-6])|(?:[13]\\d|2[0-3])\\d)\\d|9(?:[0-46]\\d\\d|5[15]0|8(?:[12]\\d|88)|9(?:0[0-3]|[19]\\d|21|69|77|8[7-9])))\\d{5}", , , , "9123456789", , , [10]], + [, , , , , , , , , [-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]], + , + , + [, , "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]], + [ + , + , + "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]] + ], + 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]], [ + , + , + "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]]], + IT: [, [, , "0\\d{5,10}|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]], [ + , + , + "0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", + , + , + , + "0212345678", + , + , + [6, 7, 8, 9, 10, 11] + ], [, , "3[2-9]\\d{7,8}|(?:31|43)\\d{8}", , , , "3123456789", , , [9, 10]], [, , "80(?:0\\d{3}|3)\\d{3}", , , , "800123456", , , [6, 9]], [, , "(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", , , , "899123456", , , [6, 8, 9, 10]], [, , "84(?:[08]\\d{3}|[17])\\d{3}", , , , "848123456", , , [6, 9]], [, , "1(?:78\\d|99)\\d{6}", , , , "1781234567", , , [9, 10]], [, , "55\\d{8}", , , , "5512345678", , , [10]], "IT", 39, "00", , , , , , , , [ + [, "(\\d{4,5})", "$1", ["1(?:0|9[246])", "1(?:0|9(?:2[2-9]|[46]))"]], + [, "(\\d{6})", "$1", ["1(?:1|92)"]], + [, "(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], + [, "(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], + [, "(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], + [, "(\\d{4})(\\d{4})", "$1 $2", ["894"]], + [, "(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], + [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], + [, "(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], + [, "(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], + [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], + [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]] + ], [[, "(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], [, "(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], [, "(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["894"]], [, "(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], [ + , + "(\\d{3})(\\d{3})(\\d{3,4})", + "$1 $2 $3", + ["1(?:44|[679])|[378]|43"] + ], [, "(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], [, "(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], [, , , , , , , , , [-1]], 1, , [, , "848\\d{6}", , , , , , , [9]], [, , , , , , , , , [-1]], , , [, , "3[2-8]\\d{9,10}", , , , "33101234501", , , [11, 12]]], + JE: [, [, , "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", , , , , , , [10], [6]], [, , "1534[0-24-8]\\d{5}", , , , "1534456789", , , , [6]], [ + , + , + "7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}", + , + , + , + "7797712345" + ], [, , "80(?:07(?:35|81)|8901)\\d{4}", , , , "8007354567"], [, , "(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}", , , , "9018105678"], [, , , , , , , , , [-1]], [, , "701511\\d{4}", , , , "7015115678"], [, , "56\\d{8}", , , , "5612345678"], "JE", 44, "00", "0", , , "([0-24-8]\\d{5})$|0", "1534$1", , , , , [, , "76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", , , , "7640123456"], , , [, , , , , , , , , [-1]], [ + , + , + "(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}", + , + , + , + "5512345678" + ], , , [, , , , , , , , , [-1]]], + JM: [, [, , "(?:[58]\\d\\d|658|900)\\d{7}", , , , , , , [10], [7]], [, , "8766060\\d{3}|(?:658(?:2(?:[0-8]\\d|9[0-46-9])|[3-9]\\d\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\d|40|5[06]|6[2-589]|7[0-25-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468])))\\d{4}", , , , "8765230123", , , , [7]], [ + , + , + "(?:658295|876(?:2(?:0[1-9]|[13-9]\\d|2[013-9])|[348]\\d\\d|5(?:0[1-9]|[1-9]\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\d{4}", + , + , + , + "8762101234", + , + , + , + [7] + ], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [, , "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"], [, , , , , , , , , [-1]], "JM", 1, "011", "1", , , "1", , , , , , [, , , , , , , , , [-1]], , "658|876", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [ + , + , + , + , + , + , + , + , + , + [-1] + ]], + JO: [, [, , "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", , , , , , , [8, 9]], [ + , + , + "87(?:000|90[01])\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\d{4}", + , + , + , + "62001234", + , + , + [8] + ], [, , "7(?:[78][0-25-9]|9\\d)\\d{6}", , , , "790123456", , , [9]], [, , "80\\d{6}", , , , "80012345", , , [8]], [, , "9\\d{7}", , , , "90012345", , , [8]], [, , "85\\d{6}", , , , "85012345", , , [8]], [, , "70\\d{7}", , , , "700123456", , , [9]], [, , , , , , , , , [-1]], "JO", 962, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], [, "(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], [, "(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], , [ + , + , + "74(?:66|77)\\d{5}", + , + , + , + "746612345", + , + , + [9] + ], , , [, , , , , , , , , [-1]], [, , "8(?:10|8\\d)\\d{5}", , , , "88101234", , , [8]], , , [, , , , , , , , , [-1]]], + JP: [ + , + [, , "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", , , , , , , [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]], + [, , "(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\d|4(?:[2-578]\\d|6[02-8]|9[2-59])|5(?:[2-589]\\d|6[1-9]|7[2-8])|7(?:[25-9]\\d|3[4-9]|4[02-9])|8(?:[2679]\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\d|[679][1-9]))\\d{6}", , , , "312345678", , , [9]], + [ + , + , + "(?:60\\d|[7-9]0[1-9])\\d{7}", + , + , + , + "9012345678", + , + , + [10] + ], + [, , "00777(?:[01]|5\\d)\\d\\d|(?:00(?:7778|882[1245])|(?:120|800\\d)\\d\\d)\\d{4}|00(?:37|66|78)\\d{6,13}", , , , "120123456"], + [, , "990\\d{6}", , , , "990123456", , , [9]], + [, , , , , , , , , [-1]], + [, , "60\\d{7}", , , , "601234567", , , [9]], + [, , "50[1-9]\\d{7}", , , , "5012345678", , , [10]], + "JP", + 81, + "010", + "0", + , + , + "(000[259]\\d{6})$|(?:(?:003768)0?)|0", + "$1", + , + , + [[, "(\\d{4})(\\d{4})", "$1-$2", ["007", "0077", "00777", "00777[01]"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], [ + , + "(\\d{4})(\\d)(\\d{4})", + "$1-$2-$3", + ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], + "0$1" + ], [ + , + "(\\d{2})(\\d{3})(\\d{4})", + "$1-$2-$3", + ["60"], + "0$1" + ], [, "(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], [ + , + "(\\d{2})(\\d{3})(\\d{4})", + "$1-$2-$3", + [ + "1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", + "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", + "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]" + ], + "0$1" + ], [, "(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], [, "(\\d{4})(\\d{2})(\\d{3,4})", "$1-$2-$3", ["007", "0077"]], [, "(\\d{4})(\\d{2})(\\d{4})", "$1-$2-$3", ["008"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3,4})", "$1-$2-$3", ["0"]], [, "(\\d{4})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["0"]], [, "(\\d{4})(\\d{5})(\\d{5,6})", "$1-$2-$3", ["0"]], [, "(\\d{4})(\\d{6})(\\d{6,7})", "$1-$2-$3", ["0"]]], + [[, "(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], [ + , + "(\\d{4})(\\d)(\\d{4})", + "$1-$2-$3", + ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], + "0$1" + ], [, "(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], [, "(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], [ + , + "(\\d{2})(\\d{3})(\\d{4})", + "$1-$2-$3", + [ + "1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", + "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", + "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]" + ], + "0$1" + ], [, "(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], + [, , "20\\d{8}", , , , "2012345678", , , [10]], + , + , + [, , "00(?:777(?:[01]|(?:5|8\\d)\\d)|882[1245]\\d\\d)\\d\\d|00(?:37|66|78)\\d{6,13}"], + [, , "570\\d{6}", , , , "570123456", , , [9]], + , + , + [, , , , , , , , , [-1]] + ], + KE: [, [, , "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", , , , , , , [7, 8, 9, 10]], [ + , + , + "(?:4[245]|5[1-79]|6[01457-9])\\d{5,7}|(?:4[136]|5[08]|62)\\d{7}|(?:[24]0|66)\\d{6,7}", + , + , + , + "202012345", + , + , + [7, 8, 9] + ], [, , "(?:1(?:0[0-8]|1[0-7]|2[014]|30)|7\\d\\d)\\d{6}", , , , "712123456", , , [9]], [, , "800[02-8]\\d{5,6}", , , , "800223456", , , [9, 10]], [, , "900[02-9]\\d{5}", , , , "900223456", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "KE", 254, "000", "0", , , "0", , , , [[, "(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], [, "(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + KG: [, [ + , + , + "8\\d{9}|[235-9]\\d{8}", + , + , + , + , + , + , + [9, 10], + [5, 6] + ], [, , "312(?:5[0-79]\\d|9(?:[0-689]\\d|7[0-24-9]))\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}", , , , "312123456", , , [9], [5, 6]], [, , "312(?:58\\d|973)\\d{3}|(?:2(?:0[0-35]|2\\d)|5[0-24-7]\\d|600|7(?:[07]\\d|55)|88[08]|9(?:12|9[05-9]))\\d{6}", , , , "700123456", , , [9]], [, , "800\\d{6,7}", , , , "800123456"], [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "KG", 996, "00", "0", , , "0", , , , [[, "(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], [, "(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + KH: [ + , + [, , "1\\d{9}|[1-9]\\d{7,8}", , , , , , , [8, 9, 10], [6, 7]], + [ + , + , + "23(?:4(?:[2-4]|[56]\\d)|[568]\\d\\d)\\d{4}|23[236-9]\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\d)\\d{5}|6\\d{5,6})", + , + , + , + "23756789", + , + , + [8, 9], + [6, 7] + ], + [, , "(?:(?:1[28]|3[18]|9[67])\\d|6[016-9]|7(?:[07-9]|[16]\\d)|8(?:[013-79]|8\\d))\\d{6}|(?:1\\d|9[0-57-9])\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\d{5}", , , , "91234567", , , [8, 9]], + [, , "1800(?:1\\d|2[019])\\d{4}", , , , "1800123456", , , [10]], + [, , "1900(?:1\\d|2[09])\\d{4}", , , , "1900123456", , , [10]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "KH", + 855, + "00[14-9]", + "0", + , + , + "0", + , + , + , + [[, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + KI: [, [, , "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", , , , , , , [5, 8]], [, , "(?:[24]\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\d\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\d{3}", , , , "31234"], [ + , + , + "(?:6200[01]|7(?:310[1-9]|5(?:02[03-9]|12[0-47-9]|22[0-7]|[34](?:0[1-9]|8[02-9])|50[1-9])))\\d{3}|(?:63\\d\\d|7(?:(?:[0146-9]\\d|2[0-689])\\d|3(?:[02-9]\\d|1[1-9])|5(?:[0-2][013-9]|[34][1-79]|5[1-9]|[6-9]\\d)))\\d{4}", + , + , + , + "72001234", + , + , + [8] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "30(?:0[01]\\d\\d|12(?:11|20))\\d\\d", , , , "30010000", , , [8]], "KI", 686, "00", "0", , , "0", , , , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + KM: [, [, , "[3478]\\d{6}", , , , , , , [7], [4]], [, , "7[4-7]\\d{5}", , , , "7712345", , , , [4]], [, , "[34]\\d{6}", , , , "3212345"], [, , , , , , , , , [-1]], [, , "8\\d{6}", , , , "8001234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "KM", 269, "00", , , , , , , , [[ + , + "(\\d{3})(\\d{2})(\\d{2})", + "$1 $2 $3", + ["[3478]"] + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + KN: [, [, , "(?:[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [, , "869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\d{4}", , , , "8692361234", , , , [7]], [, , "869(?:48[89]|55[6-8]|66\\d|76[02-7])\\d{4}", , , , "8697652917", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [ + , + , + "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" + ], [, , , , , , , , , [-1]], "KN", 1, "011", "1", , , "([2-7]\\d{6})$|1", "869$1", , , , , [, , , , , , , , , [-1]], , "869", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + KP: [, [, , "85\\d{6}|(?:19\\d|[2-7])\\d{7}", , , , , , , [8, 10], [6, 7]], [, , "(?:(?:195|2)\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\d{6}", , , , "21234567", , , , [6, 7]], [, , "19[1-3]\\d{7}", , , , "1921234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "KP", 850, "00|99", "0", , , "0", , , , [[ + , + "(\\d{2})(\\d{3})(\\d{3})", + "$1 $2 $3", + ["8"], + "0$1" + ], [, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , "238[02-9]\\d{4}|2(?:[0-24-9]\\d|3[0-79])\\d{5}", , , , , , , [8]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + KR: [, [, , "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", , , , , , , [5, 6, 8, 9, 10, 11, 12, 13, 14], [3, 4, 7]], [ + , + , + "(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\d{2,3}", + , + , + , + "22123456", + , + , + [5, 6, 8, 9, 10], + [3, 4, 7] + ], [, , "1(?:05(?:[0-8]\\d|9[0-6])|22[13]\\d)\\d{4,5}|1(?:0[0-46-9]|[16-9]\\d|2[013-9])\\d{6,7}", , , , "1020000000", , , [9, 10]], [, , "00(?:308\\d{6,7}|798\\d{7,9})|(?:00368|[38]0)\\d{7}", , , , "801234567", , , [9, 11, 12, 13, 14]], [, , "60[2-9]\\d{6}", , , , "602345678", , , [9]], [, , , , , , , , , [-1]], [, , "50\\d{8,9}", , , , "5012345678", , , [10, 11]], [, , "70\\d{8}", , , , "7012345678", , , [10]], "KR", 82, "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "0", , , "0(8(?:[1-46-8]|5\\d\\d))?", , , , [[ + , + "(\\d{5})", + "$1", + ["1[016-9]1", "1[016-9]11", "1[016-9]114"], + "0$1" + ], [, "(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1", "0$CC-$1"], [, "(\\d{4})(\\d{4})", "$1-$2", ["1"]], [, "(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1", "0$CC-$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1", "0$CC-$1"], [, "(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1", "0$CC-$1"], [, "(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1", "0$CC-$1"], [, "(\\d{5})(\\d{3})(\\d{3})", "$1 $2 $3", ["003", "0030"]], [ + , + "(\\d{2})(\\d{5})(\\d{4})", + "$1-$2-$3", + ["5"], + "0$1", + "0$CC-$1" + ], [, "(\\d{5})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0"]], [, "(\\d{5})(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["0"]]], [ + [, "(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1", "0$CC-$1"], + [, "(\\d{4})(\\d{4})", "$1-$2", ["1"]], + [, "(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1", "0$CC-$1"], + [, "(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1", "0$CC-$1"], + [, "(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1", "0$CC-$1"], + [, "(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1", "0$CC-$1"], + [, "(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1", "0$CC-$1"] + ], [, , "15\\d{7,8}", , , , "1523456789", , , [9, 10]], , , [, , "00(?:3(?:08\\d{6,7}|68\\d{7})|798\\d{7,9})", , , , , , , [11, 12, 13, 14]], [, , "1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[0168]|88)|8(?:00|33|55|77|99))\\d{4}", , , , "15441234", , , [8]], , , [, , , , , , , , , [-1]]], + KW: [, [, , "18\\d{5}|(?:[2569]\\d|41)\\d{6}", , , , , , , [7, 8]], [, , "2(?:[23]\\d\\d|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7]))\\d{4}", , , , "22345678", , , [8]], [ + , + , + "(?:41\\d\\d|5(?:(?:[05]\\d|1[0-7]|6[56])\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\d)\\d|1(?:00|11|6[16])|2[26]2|3[36]3|4[46]4|7(?:0[013-9]|[67]\\d)|8[68]8|9(?:[069]\\d|3[039]))|9(?:(?:[04679]\\d|8[057-9])\\d|1(?:1[01]|99)|2(?:00|2\\d)|3(?:00|3[03])|5(?:00|5\\d)))\\d{4}", + , + , + , + "50012345", + , + , + [8] + ], [, , "18\\d{5}", , , , "1801234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "KW", 965, "00", , , , , , , , [[, "(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], [, "(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + KY: [, [, , "(?:345|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [ + , + , + "345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|4[89]|88)|9(?:14|4[035-9]))\\d{4}", + , + , + , + "3452221234", + , + , + , + [7] + ], [, , "345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\d{4}", , , , "3453231234", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"], [, , "(?:345976|900[2-9]\\d\\d)\\d{4}", , , , "9002345678"], [, , , , , , , , , [-1]], [ + , + , + "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" + ], [, , , , , , , , , [-1]], "KY", 1, "011", "1", , , "([2-9]\\d{6})$|1", "345$1", , , , , [, , , , , , , , , [-1]], , "345", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + KZ: [, [, , "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", , , , , , , [10, 14], [5, 6, 7]], [ + , + , + "(?:33622|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9]|97)|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[2-4]\\d|5[139])|4(?:2\\d|3[1-35-9]|59)|5(?:[23]\\d|4[0-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59))))\\d{5}", + , + , + , + "7123456789", + , + , + [10], + [5, 6, 7] + ], [, , "7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\d{7}", , , , "7710009998", , , [10]], [, , "8(?:00|108\\d{3})\\d{7}", , , , "8001234567"], [, , "809\\d{7}", , , , "8091234567", , , [10]], [, , , , , , , , , [-1]], [, , "808\\d{7}", , , , "8081234567", , , [10]], [, , "751\\d{7}", , , , "7511234567", , , [10]], "KZ", 7, "810", "8", , , "8", , "8~10", , , , [, , , , , , , , , [-1]], , "33|7", [, , "751\\d{7}", , , , , , , [10]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + LA: [, [, , "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", , , , , , , [8, 9, 10], [6]], [ + , + , + "(?:2[13]|[35-7][14]|41|8[1468])\\d{6}", + , + , + , + "21212862", + , + , + [8], + [6] + ], [, , "208[78]\\d{6}|(?:20[23579]|30[24])\\d{7}", , , , "2023123456", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "LA", 856, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["30[0135-9]"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "30[0135-9]\\d{6}", , , , "301234567", , , [9]], , , [ + , + , + , + , + , + , + , + , + , + [-1] + ]], + LB: [, [, , "[27-9]\\d{7}|[13-9]\\d{6}", , , , , , , [7, 8]], [, , "7(?:62|8[0-7]|9[04-9])\\d{4}|(?:[14-69]\\d|2(?:[14-69]\\d|[78][1-9])|7[2-57]|8[02-9])\\d{5}", , , , "1123456"], [, , "793(?:[01]\\d|2[0-4])\\d{3}|(?:(?:3|81)\\d|7(?:[01]\\d|6[013-9]|8[89]|9[12]))\\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-7]|9[04-9])|8[02-9]"], + "0$1" + ], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + LC: [ + , + [, , "(?:[58]\\d\\d|758|900)\\d{7}", , , , , , , [10], [7]], + [, , "758(?:234|4(?:30|5\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\d{4}", , , , "7584305678", , , , [7]], + [, , "758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[0-3])|812)\\d{4}", , , , "7582845678", , , , [7]], + [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], + [, , "900[2-9]\\d{6}", , , , "9002123456"], + [, , , , , , , , , [-1]], + [, , "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"], + [, , , , , , , , , [-1]], + "LC", + 1, + "011", + "1", + , + , + "([2-8]\\d{6})$|1", + "758$1", + , + , + , + , + [, , , , , , , , , [-1]], + , + "758", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + LI: [, [, , "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", , , , , , , [7, 9]], [ + , + , + "(?:2(?:01|1[27]|2[02]|3\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\d{4}", + , + , + , + "2345678", + , + , + [7] + ], [, , "(?:6(?:(?:4[5-9]|5[0-469])\\d|6(?:[024-6]\\d|[17]0|3[7-9]))\\d|7(?:[37-9]\\d|42|56))\\d{4}", , , , "660234567"], [, , "8002[28]\\d\\d|80(?:05\\d|9)\\d{4}", , , , "8002222"], [, , "90(?:02[258]|1(?:23|3[14])|66[136])\\d\\d", , , , "9002222", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "LI", 423, "00", "0", , , "(1001)|0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"], , "$CC $1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], [ + , + "(\\d{2})(\\d{3})(\\d{4})", + "$1 $2 $3", + ["69"], + , + "$CC $1" + ], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"], , "$CC $1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "870(?:28|87)\\d\\d", , , , "8702812", , , [7]], , , [, , "697(?:42|56|[78]\\d)\\d{4}", , , , "697861234", , , [9]]], + LK: [, [, , "[1-9]\\d{8}", , , , , , , [9], [7]], [, , "(?:12[2-9]|602|8[12]\\d|9(?:1\\d|22|9[245]))\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\d{6}", , , , "112345678", , , , [7]], [, , "7(?:[0-25-8]\\d|4[0-4])\\d{6}", , , , "712345678"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], [, , , , , , , , , [-1]], "LK", 94, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "1973\\d{5}", , , , "197312345"], , , [, , , , , , , , , [-1]]], + LR: [, [, , "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", , , , , , , [7, 8, 9]], [, , "2\\d{7}", , , , "21234567", , , [8]], [, , "(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}", , , , "770123456", , , [7, 9]], [, , , , , , , , , [-1]], [ + , + , + "332(?:02|[34]\\d)\\d{4}", + , + , + , + "332021234", + , + , + [9] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "LR", 231, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + LS: [, [, , "(?:[256]\\d\\d|800)\\d{5}", , , , , , , [8]], [, , "2\\d{7}", , , , "22123456"], [, , "[56]\\d{7}", , , , "50123456"], [, , "800[1256]\\d{4}", , , , "80021234"], [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "LS", 266, "00", , , , , , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + LT: [ + , + [, , "(?:[3469]\\d|52|[78]0)\\d{6}", , , , , , , [8]], + [, , "(?:3[1478]|4[124-6]|52)\\d{6}", , , , "31234567"], + [, , "6\\d{7}", , , , "61234567"], + [, , "80[02]\\d{5}", , , , "80012345"], + [, , "9(?:0[0239]|10)\\d{5}", , , , "90012345"], + [, , "808\\d{5}", , , , "80812345"], + [, , "70[05]\\d{5}", , , , "70012345"], + [, , "[89]01\\d{5}", , , , "80123456"], + "LT", + 370, + "00", + "0", + , + , + "[08]", + , + , + , + [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", , 1], [, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", , 1], [, "(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", , 1], [, "(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", , 1]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , "70[67]\\d{5}", , , , "70712345"], + , + , + [, , , , , , , , , [-1]] + ], + LU: [, [, , "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", , , , , , , [4, 5, 6, 7, 8, 9, 10, 11]], [ + , + , + "(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}", + , + , + , + "27123456" + ], [, , "6(?:[269][18]|5[1568]|7[189]|81)\\d{6}", , , , "628123456", , , [9]], [, , "800\\d{5}", , , , "80012345", , , [8]], [, , "90[015]\\d{5}", , , , "90012345", , , [8]], [, , "801\\d{5}", , , , "80112345", , , [8]], [, , , , , , , , , [-1]], [, , "20(?:1\\d{5}|[2-689]\\d{1,7})", , , , "20201234", , , [4, 5, 6, 7, 8, 9, 10]], "LU", 352, "00", , , , "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)", , , , [[, "(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"], , "$CC $1"], [ + , + "(\\d{2})(\\d{2})(\\d{2})", + "$1 $2 $3", + ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"], + , + "$CC $1" + ], [, "(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"], , "$CC $1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"], , "$CC $1"], [, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"], , "$CC $1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"], , "$CC $1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"], , "$CC $1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"], , "$CC $1"], [ + , + "(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", + "$1 $2 $3 $4", + ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"], + , + "$CC $1" + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + LV: [ + , + [, , "(?:[268]\\d|90)\\d{6}", , , , , , , [8]], + [, , "6\\d{7}", , , , "63123456"], + [, , "2333[0-8]\\d{3}|2(?:[0-24-9]\\d\\d|3(?:0[07]|[14-9]\\d|2[02-9]|3[0-24-9]))\\d{4}", , , , "21234567"], + [, , "80\\d{6}", , , , "80123456"], + [, , "90\\d{6}", , , , "90123456"], + [, , "81\\d{6}", , , , "81123456"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "LV", + 371, + "00", + , + , + , + , + , + , + , + [[, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + LY: [, [, , "[2-9]\\d{8}", , , , , , , [9], [7]], [, , "(?:2(?:0[56]|[1-6]\\d|7[124579]|8[124])|3(?:1\\d|2[2356])|4(?:[17]\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\d|5[2-57]|8[1-5])|7(?:[13]\\d|2[13-79])|8(?:[124]\\d|5[124]|84))\\d{6}", , , , "212345678", , , , [7]], [, , "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]]], + 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"], [, , "(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}", , , , "650123456"], [, , "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]], , , [, , , , , , , , , [-1]]], + MC: [ + , + [, , "(?:[3489]|6\\d)\\d{7}", , , , , , , [8, 9]], + [, , "(?:870|9[2-47-9]\\d)\\d{5}", , , , "99123456", , , [8]], + [, , "4(?:[469]\\d|5[1-9])\\d{5}|(?:3|6\\d)\\d{7}", , , , "612345678"], + [, , "(?:800|90\\d)\\d{5}", , , , "90123456", , , [8]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "MC", + 377, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["87"]], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], [, "(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], + [[, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], [ + , + "(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", + "$1 $2 $3 $4 $5", + ["6"], + "0$1" + ]], + [, , , , , , , , , [-1]], + , + , + [, , "8[07]0\\d{5}", , , , , , , [8]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + MD: [, [, , "(?:[235-7]\\d|[89]0)\\d{6}", , , , , , , [8]], [, , "(?:(?:2[1-9]|3[1-79])\\d|5(?:33|5[257]))\\d{5}", , , , "22212345"], [, , "562\\d{5}|(?:6\\d|7[16-9])\\d{6}", , , , "62112345"], [, , "800\\d{5}", , , , "80012345"], [, , "90[056]\\d{5}", , , , "90012345"], [, , "808\\d{5}", , , , "80812345"], [, , , , , , , , , [-1]], [, , "3[08]\\d{6}", , , , "30123456"], "MD", 373, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], [ + , + "(\\d{2})(\\d{3})(\\d{3})", + "$1 $2 $3", + ["22|3"], + "0$1" + ], [, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "803\\d{5}", , , , "80312345"], , , [, , , , , , , , , [-1]]], + ME: [, [, , "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", , , , , , , [8, 9], [6]], [, , "(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\d{5}", , , , "30234567", , , [8], [6]], [, , "6(?:[07-9]\\d|3[024]|6[0-25])\\d{5}", , , , "67622901", , , [8]], [, , "80(?:[0-2578]|9\\d)\\d{5}", , , , "80080002"], [ + , + , + "9(?:4[1568]|5[178])\\d{5}", + , + , + , + "94515151", + , + , + [8] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "78[1-49]\\d{5}", , , , "78108780", , , [8]], "ME", 382, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "77[1-9]\\d{5}", , , , "77273012", , , [8]], , , [, , , , , , , , , [-1]]], + MF: [, [, , "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", , , , , , , [9]], [, , "590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}", , , , "590271234"], [ + , + , + "(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}", + , + , + , + "690001234" + ], [, , "80[0-5]\\d{6}", , , , "800012345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}", , , , "976012345"], "MF", 590, "00", "0", , , "0", , , , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MG: [ + , + [, , "[23]\\d{8}", , , , , , , [9], [7]], + [, , "2072[29]\\d{4}|20(?:2\\d|4[47]|5[3467]|6[279]|7[356]|8[268]|9[2457])\\d{5}", , , , "202123456", , , , [7]], + [, , "3[2-47-9]\\d{7}", , , , "321234567"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "22\\d{7}", , , , "221234567"], + "MG", + 261, + "00", + "0", + , + , + "([24-9]\\d{6})$|0", + "20$1", + , + , + [[, "(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + MH: [, [, , "329\\d{4}|(?:[256]\\d|45)\\d{5}", , , , , , , [7]], [, , "(?:247|528|625)\\d{4}", , , , "2471234"], [, , "(?:(?:23|54)5|329|45[35-8])\\d{4}", , , , "2351234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "635\\d{4}", , , , "6351234"], "MH", 692, "011", "1", , , "1", , , , [[ + , + "(\\d{3})(\\d{4})", + "$1-$2", + ["[2-6]"] + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MK: [ + , + [, , "[2-578]\\d{7}", , , , , , , [8], [6, 7]], + [, , "(?:(?:2(?:62|77)0|3444)\\d|4[56]440)\\d{3}|(?:34|4[357])700\\d{3}|(?:2(?:[0-3]\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\d{5}", , , , "22012345", , , , [6, 7]], + [, , "7(?:3555|(?:474|9[019]7)7)\\d{3}|7(?:[0-25-8]\\d\\d|3(?:[1-478]\\d|6[01])|4(?:2\\d|60|7[01578])|9(?:[2-4]\\d|5[01]|7[015]))\\d{4}", , , , "72345678"], + [, , "800\\d{5}", , , , "80012345"], + [, , "5\\d{7}", , , , "50012345"], + [, , "8(?:0[1-9]|[1-9]\\d)\\d{5}", , , , "80123456"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "MK", + 389, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], [, "(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + ML: [, [, , "[24-9]\\d{7}", , , , , , , [8]], [ + , + , + "2(?:07[0-8]|12[67])\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-59]))\\d{5}", + , + , + , + "20212345" + ], [, , "2(?:0(?:01|79)|17\\d)\\d{4}|(?:5[01]|[679]\\d|8[2-59])\\d{6}", , , , "65012345"], [, , "80\\d{6}", , , , "80012345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "ML", 223, "00", , , , , , , , [[, "(\\d{4})", "$1", ["67[057-9]|74[045]", "67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]], [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]], [, , , , , , , , , [-1]], , , [, , "80\\d{6}"], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MM: [ + , + [, , "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", , , , , , , [6, 7, 8, 9, 10], [5]], + [ + , + , + "(?:1(?:(?:12|[28]\\d|3[56]|7[3-6]|9[0-6])\\d|4(?:2[29]|62|7[0-2]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\d|[26]2|7[0-2]|83)|51\\d\\d)|4(?:2(?:2\\d\\d|48[013])|3(?:20\\d|4(?:70|83)|56)|420\\d|5(?:2\\d|470))|6(?:0(?:[23]|88\\d)|(?:124|[56]2\\d)\\d|2472|3(?:20\\d|470)|4(?:2[04]\\d|472)|7(?:3\\d\\d|4[67]0|8(?:[01459]\\d|8))))\\d{4}|5(?:2(?:2\\d{5,6}|47[02]\\d{4})|(?:3472|4(?:2(?:1|86)|470)|522\\d|6(?:20\\d|483)|7(?:20\\d|48[01])|8(?:20\\d|47[02])|9(?:20\\d|470))\\d{4})|7(?:(?:0470|4(?:25\\d|470)|5(?:202|470|96\\d))\\d{4}|1(?:20\\d{4,5}|4(?:70|83)\\d{4}))|8(?:1(?:2\\d{5,6}|4(?:10|7[01]\\d)\\d{3})|2(?:2\\d{5,6}|(?:320|490\\d)\\d{3})|(?:3(?:2\\d\\d|470)|4[24-7]|5(?:(?:2\\d|51)\\d|4(?:[1-35-9]\\d|4[0-57-9]))|6[23])\\d{4})|(?:1[2-6]\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|(?:[35]2|64)\\d))\\d{4}|25\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\d{4}", + , + , + , + "1234567", + , + , + [6, 7, 8, 9], + [5] + ], + [, , "(?:17[01]|9(?:2(?:[0-4]|[56]\\d\\d)|(?:3(?:[0-36]|4\\d)|(?:6\\d|8[89]|9[4-8])\\d|7(?:3|40|[5-9]\\d))\\d|4(?:(?:[0245]\\d|[1379])\\d|88)|5[0-6])\\d)\\d{4}|9[69]1\\d{6}|9(?:[68]\\d|9[089])\\d{5}", , , , "92123456", , , [7, 8, 9, 10]], + [, , "80080(?:0[1-9]|2\\d)\\d{3}", , , , "8008001234", , , [10]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "1333\\d{4}", , , , "13331234", , , [8]], + "MM", + 95, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], [ + , + "(\\d{2})(\\d{2})(\\d{3})", + "$1 $2 $3", + ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], + "0$1" + ], [, "(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], [, "(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], [ + , + "(\\d)(\\d{5})(\\d{4})", + "$1 $2 $3", + ["9"], + "0$1" + ]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + MN: [ + , + [, , "[12]\\d{7,9}|[5-9]\\d{7}", , , , , , , [8, 9, 10], [4, 5, 6]], + [, , "[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}", , , , "53123456", , , , [4, 5, 6]], + [, , "(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|72|8[015689]|9[013-9])\\d{6}", , , , "88123456", , , [8]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "712[0-79]\\d{4}|7(?:1[013-9]|[5-9]\\d)\\d{5}", , , , "75123456", , , [8]], + "MN", + 976, + "001", + "0", + , + , + "0", + , + , + , + [[, "(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], [, "(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], [, "(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], [, "(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], [, "(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + MO: [, [ + , + , + "0800\\d{3}|(?:28|[68]\\d)\\d{6}", + , + , + , + , + , + , + [7, 8] + ], [, , "(?:28[2-9]|8(?:11|[2-57-9]\\d))\\d{5}", , , , "28212345", , , [8]], [, , "6800[0-79]\\d{3}|6(?:[235]\\d\\d|6(?:0[0-5]|[1-9]\\d)|8(?:0[1-9]|[14-8]\\d|2[5-9]|[39][0-4]))\\d{4}", , , , "66123456", , , [8]], [, , "0800\\d{3}", , , , "0800501", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "MO", 853, "00", , , , , , , , [[, "(\\d{4})(\\d{3})", "$1 $2", ["0"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MP: [, [ + , + , + "[58]\\d{9}|(?:67|90)0\\d{7}", + , + , + , + , + , + , + [10], + [7] + ], [, , "670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}", , , , "6702345678", , , , [7]], [, , "670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}", , , , "6702345678", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [ + , + , + "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" + ], [, , , , , , , , , [-1]], "MP", 1, "011", "1", , , "([2-9]\\d{6})$|1", "670$1", , 1, , , [, , , , , , , , , [-1]], , "670", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MQ: [, [, , "(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", , , , , , , [9]], [, , "(?:596(?:[03-7]\\d|1[05]|2[7-9]|8[0-39]|9[04-9])|80[6-9]\\d\\d|9(?:477[6-9]|767[4589]))\\d{4}", , , , "596301234"], [, , "(?:69[67]\\d\\d|7091[0-3])\\d{4}", , , , "696201234"], [, , "80[0-5]\\d{6}", , , , "800012345"], [, , "8[129]\\d{7}", , , , "810123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [ + , + , + "9(?:397[0-3]|477[0-5]|76(?:6\\d|7[0-367]))\\d{4}", + , + , + , + "976612345" + ], "MQ", 596, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MR: [ + , + [, , "(?:[2-4]\\d\\d|800)\\d{5}", , , , , , , [8]], + [, , "(?:25[08]|35\\d|45[1-7])\\d{5}", , , , "35123456"], + [, , "[2-4][0-46-9]\\d{6}", , , , "22123456"], + [, , "800\\d{5}", , , , "80012345"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "MR", + 222, + "00", + , + , + , + , + , + , + , + [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + MS: [, [, , "(?:[58]\\d\\d|664|900)\\d{7}", , , , , , , [10], [7]], [, , "6644(?:1[0-3]|91)\\d{4}", , , , "6644912345", , , , [7]], [, , "664(?:3(?:49|9[1-6])|49[2-6])\\d{4}", , , , "6644923456", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002123456"], [, , "900[2-9]\\d{6}", , , , "9002123456"], [, , , , , , , , , [-1]], [ + , + , + "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" + ], [, , , , , , , , , [-1]], "MS", 1, "011", "1", , , "([34]\\d{6})$|1", "664$1", , , , , [, , , , , , , , , [-1]], , "664", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MT: [, [, , "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", , , , , , , [8]], [, , "20(?:3[1-4]|6[059])\\d{4}|2(?:0[19]|[1-357]\\d|60)\\d{5}", , , , "21001234"], [, , "(?:7(?:210|[79]\\d\\d)|9(?:[29]\\d\\d|69[67]|8(?:1[1-3]|89|97)))\\d{4}", , , , "96961234"], [, , "800(?:02|[3467]\\d)\\d{3}", , , , "80071234"], [ + , + , + "5(?:0(?:0(?:37|43)|(?:6\\d|70|9[0168])\\d)|[12]\\d0[1-5])\\d{3}", + , + , + , + "50037123" + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "3550\\d{4}", , , , "35501234"], "MT", 356, "00", , , , , , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]], , [, , "7117\\d{4}", , , , "71171234"], , , [, , , , , , , , , [-1]], [, , "501\\d{5}", , , , "50112345"], , , [, , , , , , , , , [-1]]], + MU: [, [, , "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", , , , , , , [7, 8, 10]], [, , "(?:2(?:[0346-8]\\d|1[0-7])|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]], [ + , + , + "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-4]|3[013]))\\d{5}", + , + , + , + "52512345", + , + , + [8] + ], [, , "802\\d{7}|80[0-2]\\d{4}", , , , "8001234", , , [7, 10]], [, , "30\\d{5}", , , , "3012345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "3(?:20|9\\d)\\d{4}", , , , "3201234", , , [7]], "MU", 230, "0(?:0|[24-7]0|3[03])", , , , , , "020", , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], [, "(\\d{5})(\\d{5})", "$1 $2", ["8"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MV: [, [, , "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", , , , , , , [7, 10]], [ + , + , + "(?:3(?:0[0-4]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\d{4}", + , + , + , + "6701234", + , + , + [7] + ], [, , "(?:46[46]|[79]\\d\\d)\\d{4}", , , , "7712345", , , [7]], [, , "800\\d{7}", , , , "8001234567", , , [10]], [, , "900\\d{7}", , , , "9001234567", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "MV", 960, "0(?:0|19)", , , , , , "00", , [[, "(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "4(?:0[01]|50)\\d{4}", , , , "4001234", , , [7]], , , [, , , , , , , , , [-1]]], + MW: [, [, , "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", , , , , , , [7, 9]], [ + , + , + "(?:1[2-9]|2[12]\\d\\d)\\d{5}", + , + , + , + "1234567" + ], [, , "111\\d{6}|(?:31|77|[89][89])\\d{7}", , , , "991234567", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "MW", 265, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MX: [, [, , "[2-9]\\d{9}", , , , , , , [10], [7, 8]], [ + , + , + "657[12]\\d{6}|(?:2(?:0[01]|2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}", + , + , + , + "2001234567", + , + , + , + [7, 8] + ], [, , "657[12]\\d{6}|(?:2(?:2\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[267][1-9]|3[1-8]|[45]\\d|8[1-35-9]|9[2-689])|5(?:[56]\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[0-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1346][1-9]|[27]\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[0-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69]\\d|7[12]|8[1-8]))\\d{7}", , , , "2221234567", , , , [7, 8]], [ + , + , + "8(?:00|88)\\d{7}", + , + , + , + "8001234567" + ], [, , "900\\d{7}", , , , "9001234567"], [, , "300\\d{7}", , , , "3001234567"], [, , "500\\d{7}", , , , "5001234567"], [, , , , , , , , , [-1]], "MX", 52, "0[09]", , , , , , "00", , [[, "(\\d{5})", "$1", ["53"]], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], [[, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MY: [, [ + , + , + "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", + , + , + , + , + , + , + [8, 9, 10], + [6, 7] + ], [, , "4270\\d{4}|(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\d|9[0-57])\\d|4(?:2[0-689]|[3-79]\\d|8[1-35689])|5(?:2[0-589]|[3468]\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\d|[3489][0-8]))\\d{5}", , , , "323856789", , , [8, 9], [6, 7]], [ + , + , + "1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\d{4}|1(?:0(?:[23568]\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\d\\d|6(?:0[5-9]|[1-9]\\d)|7(?:[0-4]\\d|5[0-7]))|(?:[269]\\d|[37][1-9]|4[235-9])\\d|5(?:31|9\\d\\d)|8(?:1[23]|[236]\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\d{5}", + , + , + , + "123456789", + , + , + [9, 10] + ], [, , "1[378]00\\d{6}", , , , "1300123456", , , [10]], [, , "1600\\d{6}", , , , "1600123456", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "15(?:4(?:6[0-4]\\d|8(?:0[125]|[17]\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\d))\\d{4}", , , , "1546012345", , , [10]], "MY", 60, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], [ + , + "(\\d)(\\d{4})(\\d{4})", + "$1-$2 $3", + ["3"], + "0$1" + ], [, "(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + MZ: [ + , + [, , "(?:2|8\\d)\\d{7}", , , , , , , [8, 9]], + [, , "2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}", , , , "21123456", , , [8]], + [, , "8[2-79]\\d{7}", , , , "821234567", , , [9]], + [, , "800\\d{6}", , , , "800123456", , , [9]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "MZ", + 258, + "00", + , + , + , + , + , + , + , + [[, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + NA: [, [, , "[68]\\d{7,8}", , , , , , , [8, 9]], [ + , + , + "64426\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\d{4,5}|6(?:1(?:(?:0\\d|2[0189]|3[24-69]|4[5-9])\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\d{4}", + , + , + , + "61221234" + ], [, , "(?:60|8[1245])\\d{7}", , , , "811234567", , , [9]], [, , "80\\d{7}", , , , "800123456", , , [9]], [, , "8701\\d{5}", , , , "870123456", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "8(?:3\\d\\d|86)\\d{5}", , , , "88612345"], "NA", 264, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]]], + NC: [, [, , "(?:050|[2-57-9]\\d\\d)\\d{3}", , , , , , , [6]], [, , "(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}", , , , "201234"], [, , "(?:[579]\\d|8[0-79])\\d{4}", , , , "751234"], [, , "050\\d{3}", , , , "050012"], [, , "36\\d{4}", , , , "366711"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "NC", 687, "00", , , , , , , , [[, "(\\d{3})", "$1", ["5[6-8]"]], [, "(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]], [[, "(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [ + , + , + , + , + , + , + , + , + , + [-1] + ]], + NE: [, [, , "[027-9]\\d{7}", , , , , , , [8]], [, , "2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}", , , , "20201234"], [, , "(?:23|7[0467]|[89]\\d)\\d{6}", , , , "93123456"], [, , "08\\d{6}", , , , "08123456"], [, , "09\\d{6}", , , , "09123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "NE", 227, "00", , , , , , , , [[, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]]], + NF: [, [, , "[13]\\d{5}", , , , , , , [6], [5]], [, , "(?:1(?:06|17|28|39)|3[0-2]\\d)\\d{3}", , , , "106609", , , , [5]], [, , "(?:14|3[58])\\d{4}", , , , "381234", , , , [5]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "NF", 672, "00", , , , "([0-258]\\d{4})$", "3$1", , , [[, "(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], [, "(\\d)(\\d{5})", "$1 $2", ["[13]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + NG: [, [ + , + , + "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", + , + , + , + , + , + , + [8, 10, 11, 12, 13, 14], + [6, 7] + ], [, , "(?:20(?:[1259]\\d|3[013-9]|4[1-8]|6[024-689]|7[1-79]|8[2-9])|38)\\d{6}", , , , "2033123456", , , [8, 10], [6, 7]], [, , "(?:702[0-24-9]|819[01])\\d{6}|(?:7(?:0[13-9]|[12]\\d)|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-6]))\\d{7}", , , , "8021234567", , , [10]], [, , "800\\d{7,11}", , , , "80017591759", , , [10, 11, 12, 13, 14]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "NG", 234, "009", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], [ + , + "(\\d{3})(\\d{3})(\\d{3,4})", + "$1 $2 $3", + ["[7-9]"], + "0$1" + ], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], [, "(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], [, "(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], [, "(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "700\\d{7,11}", , , , "7001234567", , , [10, 11, 12, 13, 14]], , , [, , , , , , , , , [-1]]], + NI: [, [, , "(?:1800|[25-8]\\d{3})\\d{4}", , , , , , , [8]], [, , "2\\d{7}", , , , "21234567"], [ + , + , + "(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\d)\\d)\\d{5}", + , + , + , + "81234567" + ], [, , "1800\\d{4}", , , , "18001234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "NI", 505, "00", , , , , , , , [[, "(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + NL: [, [, , "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", , , , , , , [5, 6, 7, 8, 9, 10, 11]], [ + , + , + "(?:1(?:[035]\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\d\\d)\\d{6}", + , + , + , + "101234567", + , + , + [9] + ], [, , "(?:6[1-58]|970\\d)\\d{7}", , , , "612345678", , , [9, 11]], [, , "800\\d{4,7}", , , , "8001234", , , [7, 8, 9, 10]], [, , "90[069]\\d{4,7}", , , , "9061234", , , [7, 8, 9, 10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "(?:85|91)\\d{7}", , , , "851234567", , , [9]], "NL", 31, "00", "0", , , "0", , , , [[, "(\\d{4})", "$1", ["1[238]|[34]"]], [, "(\\d{2})(\\d{3,4})", "$1 $2", ["14"]], [, "(\\d{6})", "$1", ["1"]], [, "(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], [, "(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], [, "(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], [ + , + "(\\d{3})(\\d{3})(\\d{3})", + "$1 $2 $3", + ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], + "0$1" + ], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], [[, "(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], [, "(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], [, "(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], [ + , + "(\\d{3})(\\d{3})(\\d{5})", + "$1 $2 $3", + ["9"], + "0$1" + ]], [, , "66\\d{7}", , , , "662345678", , , [9]], , , [, , "140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\d", , , , , , , [5, 6]], [, , "140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\d{6})\\d", , , , "14020", , , [5, 6, 9]], , , [, , , , , , , , , [-1]]], + NO: [, [, , "(?:0|[2-9]\\d{3})\\d{4}", , , , , , , [5, 8]], [, , "(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}", , , , "21234567", , , [8]], [ + , + , + "(?:4[015-8]|9\\d)\\d{6}", + , + , + , + "40612345", + , + , + [8] + ], [, , "80[01]\\d{5}", , , , "80012345", , , [8]], [, , "82[09]\\d{5}", , , , "82012345", , , [8]], [, , "810(?:0[0-6]|[2-8]\\d)\\d{3}", , , , "81021234", , , [8]], [, , "880\\d{5}", , , , "88012345", , , [8]], [, , "85[0-5]\\d{5}", , , , "85012345", , , [8]], "NO", 47, "00", , , , , , , , [[, "(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], , [, , , , , , , , , [-1]], 1, "[02-689]|7[0-8]", [, , , , , , , , , [-1]], [, , "(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}", , , , "02000"], , , [ + , + , + "81[23]\\d{5}", + , + , + , + "81212345", + , + , + [8] + ]], + NP: [, [, , "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", , , , , , , [8, 10, 11], [6, 7]], [, , "(?:1[0-6]\\d|99[02-6])\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\d{5}", , , , "14567890", , , [8], [6, 7]], [, , "9(?:00|6[0-3]|7[024-6]|8[0-24-68])\\d{7}", , , , "9841234567", , , [10]], [, , "1(?:66001|800\\d\\d)\\d{5}", , , , "16600101234", , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "NP", 977, "00", "0", , , "0", , , , [[, "(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], [ + , + "(\\d{2})(\\d{6})", + "$1-$2", + ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], + "0$1" + ], [, "(\\d{3})(\\d{7})", "$1-$2", ["9"]], [, "(\\d{4})(\\d{2})(\\d{5})", "$1-$2-$3", ["1"]]], [[, "(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], [, "(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], [, "(\\d{3})(\\d{7})", "$1-$2", ["9"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + NR: [, [, , "(?:444|(?:55|8\\d)\\d|666)\\d{4}", , , , , , , [7]], [, , "444\\d{4}", , , , "4441234"], [, , "(?:55[3-9]|666|8\\d\\d)\\d{4}", , , , "5551234"], [ + , + , + , + , + , + , + , + , + , + [-1] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "NR", 674, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + NU: [ + , + [, , "(?:[4-7]|888\\d)\\d{3}", , , , , , , [4, 7]], + [, , "[47]\\d{3}", , , , "7012", , , [4]], + [, , "(?:[56]|888[1-9])\\d{3}", , , , "8884012"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "NU", + 683, + "00", + , + , + , + , + , + , + , + [[, "(\\d{3})(\\d{4})", "$1 $2", ["8"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + NZ: [ + , + [, , "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", , , , , , , [5, 6, 7, 8, 9, 10]], + [, , "240\\d{5}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}", , , , "32345678", , , [8], [7]], + [, , "2(?:[0-27-9]\\d|6)\\d{6,7}|2(?:1\\d|75)\\d{5}", , , , "211234567", , , [8, 9, 10]], + [, , "508\\d{6,7}|80\\d{6,8}", , , , "800123456", , , [8, 9, 10]], + [, , "(?:1[13-57-9]\\d{5}|50(?:0[08]|30|66|77|88))\\d{3}|90\\d{6,8}", , , , "900123456", , , [7, 8, 9, 10]], + [, , , , , , , , , [-1]], + [ + , + , + "70\\d{7}", + , + , + , + "701234567", + , + , + [9] + ], + [, , , , , , , , , [-1]], + "NZ", + 64, + "0(?:0|161)", + "0", + , + , + "0", + , + "00", + , + [[, "(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], [, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], [, "(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , "8(?:1[16-9]|22|3\\d|4[045]|5[459]|6[235-9]|7[0-3579]|90)\\d{2,7}", , , , "83012378"], + , + , + [, , , , , , , , , [-1]] + ], + 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[126-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", , , , , , , , [[ + , + "(\\d{3})(\\d{4,6})", + "$1 $2", + ["[58]"] + ], [, "(\\d{2})(\\d{6})", "$1 $2", ["2"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PA: [, [, , "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", , , , , , , [7, 8, 10, 11]], [ + , + , + "(?:1(?:0\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[058]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[07-9]\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068])|4(?:00|3[0-579]|4\\d|7[0-57-9])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[0156]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\d))\\d{4}", + , + , + , + "2001234", + , + , + [7] + ], [, , "(?:1[16]1|21[89]|6\\d{3}|8(?:1[01]|7[23]))\\d{4}", , , , "61234567", , , [7, 8]], [, , "800\\d{4,5}|(?:00800|800\\d)\\d{6}", , , , "8001234"], [, , "(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\d{4}", , , , "8601234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "PA", 507, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], [, "(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PE: [, [ + , + , + "(?:[14-8]|9\\d)\\d{7}", + , + , + , + , + , + , + [8, 9], + [6, 7] + ], [, , "(?:(?:(?:4[34]|5[14])[0-8]|687)\\d|7(?:173|(?:3[0-8]|55)\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[0569]|[56]0)))\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\d{6}", , , , "11234567", , , [8], [6, 7]], [, , "9\\d{8}", , , , "912345678", , , [9]], [, , "800\\d{5}", , , , "80012345", , , [8]], [, , "805\\d{5}", , , , "80512345", , , [8]], [, , "801\\d{5}", , , , "80112345", , , [8]], [, , "80[24]\\d{5}", , , , "80212345", , , [8]], [, , , , , , , , , [-1]], "PE", 51, "00|19(?:1[124]|77|90)00", "0", " Anexo ", , "0", , "00", , [[ + , + "(\\d{3})(\\d{5})", + "$1 $2", + ["80"], + "(0$1)" + ], [, "(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], [, "(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PF: [ + , + [, , "4\\d{5}(?:\\d{2})?|8\\d{7,8}", , , , , , , [6, 8, 9]], + [, , "4(?:0[4-689]|9[4-68])\\d{5}", , , , "40412345", , , [8]], + [, , "8[7-9]\\d{6}", , , , "87123456", , , [8]], + [, , "80[0-5]\\d{6}", , , , "800012345", , , [9]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "499\\d{5}", , , , "49901234", , , [8]], + "PF", + 689, + "00", + , + , + , + , + , + , + , + [[, "(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , "44\\d{4}", , , , , , , [6]], + [, , "44\\d{4}", , , , "440123", , , [6]], + , + , + [, , , , , , , , , [-1]] + ], + PG: [, [, , "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", , , , , , , [7, 8]], [, , "(?:(?:3[0-2]|4[257]|5[34]|9[78])\\d|64[1-9]|85[02-46-9])\\d{4}", , , , "3123456", , , [7]], [, , "(?:7\\d|8[1-38])\\d{6}", , , , "70123456", , , [8]], [ + , + , + "180\\d{4}", + , + , + , + "1801234", + , + , + [7] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "2(?:0[0-57]|7[568])\\d{4}", , , , "2751234", , , [7]], "PG", 675, "00|140[1-3]", , , , , , "00", , [[, "(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], , [, , "27[01]\\d{4}", , , , "2700123", , , [7]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PH: [, [, , "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", , , , , , , [6, 8, 9, 10, 11, 12, 13], [4, 5, 7]], [ + , + , + "(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\d{3}|88(?:22\\d\\d|42))\\d{4}|(?:2|8[2-8]\\d\\d)\\d{5}", + , + , + , + "232345678", + , + , + [6, 8, 9, 10], + [4, 5, 7] + ], [, , "(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\d|4[2-9]|8[135-9]|9[1-9]))\\d{7}", , , , "9051234567", , , [10]], [, , "1800\\d{7,9}", , , , "180012345678", , , [11, 12, 13]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "PH", 63, "00", "0", , , "0", , , , [[, "(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], [ + , + "(\\d{4})(\\d{4,6})", + "$1 $2", + ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], + "(0$1)" + ], [, "(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], [, "(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], [, "(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PK: [, [ + , + , + "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", + , + , + , + , + , + , + [8, 9, 10, 11, 12], + [5, 6, 7] + ], [, , "(?:(?:21|42)[2-9]|58[126])\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}", , , , "2123456789", , , [9, 10], [5, 6, 7, 8]], [, , "3(?:[0-247]\\d|3[0-79]|55|64)\\d{7}", , , , "3012345678", , , [10]], [, , "800\\d{5}(?:\\d{3})?", , , , "80012345", , , [8, 11]], [, , "900\\d{5}", , , , "90012345", , , [8]], [, , , , , , , , , [-1]], [ + , + , + "122\\d{6}", + , + , + , + "122044444", + , + , + [9] + ], [, , , , , , , , , [-1]], "PK", 92, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], [, "(\\d{4})(\\d{5})", "$1 $2", ["1"]], [ + , + "(\\d{3})(\\d{6,7})", + "$1 $2", + ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], + "(0$1)" + ], [, "(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], [, "(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], [, "(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [ + , + , + "(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}", + , + , + , + "21111825888", + , + , + [11, 12] + ], , , [, , , , , , , , , [-1]]], + PL: [, [, , "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", , , , , , , [6, 7, 8, 9, 10]], [, , "47\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\d{6}|1(?:[0-8]\\d{5}|9\\d{3}(?:\\d{2})?))", , , , "123456789", , , [7, 9]], [, , "2131[89]\\d{4}|21(?:1[013-5]|2\\d|3[2-9])\\d{5}|(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}", , , , "512345678", , , [9]], [, , "800\\d{6,7}", , , , "800123456", , , [9, 10]], [, , "70[01346-8]\\d{6}", , , , "701234567", , , [9]], [ + , + , + "801\\d{6}", + , + , + , + "801234567", + , + , + [9] + ], [, , , , , , , , , [-1]], [, , "39\\d{7}", , , , "391234567", , , [9]], "PL", 48, "00", , , , , , , , [ + [, "(\\d{5})", "$1", ["19"]], + [, "(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], + [, "(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], + [, "(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], + [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], + [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], + [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]] + ], , [, , "64\\d{4,7}", , , , "641234567", , , [6, 7, 8, 9]], , , [, , , , , , , , , [-1]], [, , "804\\d{6}", , , , "804123456", , , [9]], , , [, , , , , , , , , [-1]]], + PM: [, [, , "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", , , , , , , [6, 9]], [, , "(?:4[1-35-9]|5[0-47-9]|80[6-9]\\d\\d)\\d{4}", , , , "430123"], [, , "(?:4[02-489]|5[02-9]|708(?:4[0-5]|5[0-6]))\\d{4}", , , , "551234"], [, , "80[0-5]\\d{6}", , , , "800012345", , , [9]], [ + , + , + "8[129]\\d{7}", + , + , + , + "810123456", + , + , + [9] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "PM", 508, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PR: [, [, , "(?:[589]\\d\\d|787)\\d{7}", , , , , , , [10], [7]], [, , "(?:787|939)[2-9]\\d{6}", , , , "7872345678", , , , [7]], [, , "(?:787|939)[2-9]\\d{6}", , , , "7872345678", , , , [7]], [ + , + , + "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", + , + , + , + "8002345678" + ], [, , "900[2-9]\\d{6}", , , , "9002345678"], [, , , , , , , , , [-1]], [, , "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"], [, , , , , , , , , [-1]], "PR", 1, "011", "1", , , "1", , , 1, , , [, , , , , , , , , [-1]], , "787|939", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PS: [, [ + , + , + "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", + , + , + , + , + , + , + [8, 9, 10], + [7] + ], [, , "(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\d{5}", , , , "22234567", , , [8], [7]], [, , "5[69]\\d{7}", , , , "599123456", , , [9]], [, , "1800\\d{6}", , , , "1800123456", , , [10]], [, , , , , , , , , [-1]], [, , "1700\\d{6}", , , , "1700123456", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "PS", 970, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PT: [ + , + [, , "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", , , , , , , [9]], + [, , "2(?:[12]\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\d{6}", , , , "212345678"], + [, , "6(?:[06]92(?:30|9\\d)|[35]92(?:[049]\\d|3[034]))\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\d\\d|480))\\d{5}", , , , "912345678"], + [, , "80[02]\\d{6}", , , , "800123456"], + [, , "(?:6(?:0[178]|4[68])\\d|76(?:0[1-57]|1[2-47]|2[237]))\\d{5}", , , , "760123456"], + [, , "80(?:8\\d|9[1579])\\d{5}", , , , "808123456"], + [, , "884[0-4689]\\d{5}", , , , "884123456"], + [, , "30\\d{7}", , , , "301234567"], + "PT", + 351, + "00", + , + , + , + , + , + , + , + [[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]], + , + [, , "6(?:222\\d|8988)\\d{4}", , , , "622212345"], + , + , + [, , , , , , , , , [-1]], + [, , "70(?:38[01]|596|(?:7\\d|8[17])\\d)\\d{4}", , , , "707123456"], + , + , + [, , "600\\d{6}|6[06]92(?:0\\d|3[349]|49)\\d{3}", , , , "600110000"] + ], + PW: [, [, , "(?:[24-8]\\d\\d|345|900)\\d{4}", , , , , , , [7]], [, , "(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\d{4}", , , , "2771234"], [ + , + , + "(?:(?:46|83)[0-5]|(?:6[2-4689]|78)0)\\d{4}|(?:45|77|88)\\d{5}", + , + , + , + "6201234" + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "PW", 680, "01[12]", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + PY: [, [, , "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", , , , , , , [6, 7, 8, 9, 10, 11], [5]], [ + , + , + "(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\d|6[1-578]|75|8[0-8])|858)\\d{5,6}", + , + , + , + "212345678", + , + , + [7, 8, 9], + [5, 6] + ], [, , "9(?:51|6[129]|7[1-6]|8[1-7]|9[1-5])\\d{6}", , , , "961456789", , , [9]], [, , "9800\\d{5,7}", , , , "98000123456", , , [9, 10, 11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "8700[0-4]\\d{4}", , , , "870012345", , , [9]], "PY", 595, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], [, "(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], [, "(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], [ + , + "(\\d{2})(\\d{3})(\\d{3,4})", + "$1 $2 $3", + ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], + "(0$1)" + ], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], [, "(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "[2-9]0\\d{4,7}", , , , "201234567", , , [6, 7, 8, 9]], , , [, , , , , , , , , [-1]]], + QA: [, [, , "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", , , , , , , [7, 8, 9, 11]], [ + , + , + "4(?:1111|2022)\\d{3}|4(?:[04]\\d\\d|14[0-6]|999)\\d{4}", + , + , + , + "44123456", + , + , + [8] + ], [, , "[35-7]\\d{7}", , , , "33123456", , , [8]], [, , "800\\d{4}|(?:0080[01]|800)\\d{6}", , , , "8001234", , , [7, 9, 11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "QA", 974, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]], , [, , "2[16]\\d{5}", , , , "2123456", , , [7]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + RE: [, [, , "709\\d{6}|(?:26|[689]\\d)\\d{7}", , , , , , , [9]], [, , "26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}", , , , "262161234"], [ + , + , + "(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}", + , + , + , + "692123456" + ], [, , "80\\d{7}", , , , "801234567"], [, , "89[1-37-9]\\d{6}", , , , "891123456"], [, , "8(?:1[019]|2[0156]|84|90)\\d{6}", , , , "810123456"], [, , , , , , , , , [-1]], [, , "9(?:399[0-3]|479[0-5]|76(?:2[278]|3[0-37]))\\d{4}", , , , "939901234"], "RE", 262, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], , [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + RO: [, [, , "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", , , , , , , [6, 9]], [ + , + , + "[23][13-6]\\d{7}|(?:2(?:19\\d|[3-6]\\d9)|31\\d\\d)\\d\\d", + , + , + , + "211234567" + ], [, , "(?:630|702)0\\d{5}|(?:6(?:00|2\\d)|7(?:0[013-9]|1[0-3]|[2-7]\\d|8[03-8]|9[0-39]))\\d{6}", , , , "712034567", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "90[0136]\\d{6}", , , , "900123456", , , [9]], [, , "801\\d{6}", , , , "801123456", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "RO", 40, "00", "0", " int ", , "0", , , , [[, "(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], [, "(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], [ + , + "(\\d{3})(\\d{3})(\\d{3})", + "$1 $2 $3", + ["[236-9]"], + "0$1" + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "(?:37\\d|80[578])\\d{6}", , , , "372123456", , , [9]], , , [, , , , , , , , , [-1]]], + RS: [, [, , "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", , , , , , , [6, 7, 8, 9, 10, 11, 12], [4, 5]], [, , "(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}", , , , "10234567", , , [7, 8, 9, 10, 11, 12], [4, 5, 6]], [, , "6(?:[0-689]|7\\d)\\d{6,7}", , , , "601234567", , , [8, 9, 10]], [ + , + , + "800\\d{3,9}", + , + , + , + "80012345" + ], [, , "(?:78\\d|90[0169])\\d{3,7}", , , , "90012345", , , [6, 7, 8, 9, 10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "RS", 381, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], [, "(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "7[06]\\d{4,10}", , , , "700123456"], , , [, , , , , , , , , [-1]]], + RU: [, [, , "8\\d{13}|[347-9]\\d{9}", , , , , , , [10, 14], [7]], [ + , + , + "(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}", + , + , + , + "3011234567", + , + , + [10], + [7] + ], [, , "9\\d{9}", , , , "9123456789", , , [10]], [, , "8(?:0[04]|108\\d{3})\\d{7}", , , , "8001234567"], [, , "80[39]\\d{7}", , , , "8091234567", , , [10]], [, , , , , , , , , [-1]], [, , "808\\d{7}", , , , "8081234567", , , [10]], [, , , , , , , , , [-1]], "RU", 7, "810", "8", , , "8", , "8~10", , [[, "(\\d{3})(\\d{2})(\\d{2})", "$1-$2-$3", ["[0-79]"]], [ + , + "(\\d{4})(\\d{2})(\\d{2})(\\d{2})", + "$1 $2 $3 $4", + ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], + "8 ($1)", + , + 1 + ], [, "(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", , 1], [ + , + "(\\d{3})(\\d{3})(\\d{2})(\\d{2})", + "$1 $2-$3-$4", + ["[349]|8(?:[02-7]|1[1-8])"], + "8 ($1)", + , + 1 + ], [, "(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], [[, "(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", , 1], [ + , + "(\\d{5})(\\d)(\\d{2})(\\d{2})", + "$1 $2 $3 $4", + ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], + "8 ($1)", + , + 1 + ], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", , 1], [, "(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", , 1], [, "(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], [, , , , , , , , , [-1]], 1, "3[04-689]|[489]", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + RW: [, [, , "(?:06|[27]\\d\\d|[89]00)\\d{6}", , , , , , , [8, 9]], [, , "(?:06|2[23568]\\d)\\d{6}", , , , "250123456"], [, , "7[237-9]\\d{7}", , , , "720123456", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [ + , + , + "900\\d{6}", + , + , + , + "900123456", + , + , + [9] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "RW", 250, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SA: [, [, , "92\\d{7}|(?:[15]|8\\d)\\d{8}", , , , , , , [9, 10], [7]], [, , "1(?:1\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}", , , , "112345678", , , [9], [7]], [ + , + , + "579[01]\\d{5}|5(?:[013-689]\\d|7[0-8])\\d{6}", + , + , + , + "512345678", + , + , + [9] + ], [, , "800\\d{7}", , , , "8001234567", , , [10]], [, , "925\\d{6}", , , , "925012345", , , [9]], [, , "920\\d{6}", , , , "920012345", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SA", 966, "00", "0", , , "0", , , , [[, "(\\d{4})(\\d{5})", "$1 $2", ["9"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [ + , + , + "811\\d{7}", + , + , + , + "8110123456", + , + , + [10] + ], , , [, , , , , , , , , [-1]]], + SB: [, [, , "[6-9]\\d{6}|[1-6]\\d{4}", , , , , , , [5, 7]], [, , "(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}", , , , "40123", , , [5]], [, , "48\\d{3}|(?:(?:6[89]|7[1-9]|8[4-9])\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\d{4}", , , , "7421234"], [, , "1[38]\\d{3}", , , , "18123", , , [5]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "5[12]\\d{3}", , , , "51123", , , [5]], "SB", 677, "0[01]", , , , , , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]], , [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SC: [, [, , "(?:[2489]\\d|64)\\d{5}", , , , , , , [7]], [, , "4[2-46]\\d{5}", , , , "4217123"], [, , "2[125-8]\\d{5}", , , , "2510123"], [, , "800[08]\\d{3}", , , , "8000000"], [, , "85\\d{5}", , , , "8512345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "971\\d{4}|(?:64|95)\\d{5}", , , , "6412345"], "SC", 248, "010|0[0-2]", , , , , , "00", , [[, "(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SD: [, [, , "[19]\\d{8}", , , , , , , [9]], [ + , + , + "1(?:5\\d|8[35-7])\\d{6}", + , + , + , + "153123456" + ], [, , "(?:1[0-2]|9[0-3569])\\d{7}", , , , "911231234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SD", 249, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SE: [, [, , "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", , , , , , , [6, 7, 8, 9, 10, 12]], [ + , + , + "(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\d)\\d|90[1-9])\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\d{5,6}", + , + , + , + "8123456", + , + , + [7, 8, 9] + ], [, , "7[02369]\\d{7}", , , , "701234567", , , [9]], [, , "20\\d{4,7}", , , , "20123456", , , [6, 7, 8, 9]], [, , "649\\d{6}|99[1-59]\\d{4}(?:\\d{3})?|9(?:00|39|44)[1-8]\\d{3,6}", , , , "9001234567", , , [7, 8, 9, 10]], [, , "77[0-7]\\d{6}", , , , "771234567", , , [9]], [, , "75[1-8]\\d{6}", , , , "751234567", , , [9]], [, , , , , , , , , [-1]], "SE", 46, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1"], [, "(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1"], [ + , + "(\\d{2})(\\d{3})(\\d{2})", + "$1-$2 $3", + ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], + "0$1" + ], [, "(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1"], [, "(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1"], [, "(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1"], [, "(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1"], [ + , + "(\\d)(\\d{3})(\\d{3})(\\d{2})", + "$1-$2 $3 $4", + ["8"], + "0$1" + ], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1"], [, "(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1"]], [[, "(\\d{2})(\\d{2,3})(\\d{2})", "$1 $2 $3", ["20"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["9(?:00|39|44|9)"]], [, "(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"]], [ + , + "(\\d)(\\d{2,3})(\\d{2})(\\d{2})", + "$1 $2 $3 $4", + ["8"] + ], [, "(\\d{3})(\\d{2,3})(\\d{2})", "$1 $2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"]], [, "(\\d{3})(\\d{2,3})(\\d{3})", "$1 $2 $3", ["9(?:00|39|44)"]], [, "(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"]], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["10|7"]], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["8"]], [ + , + "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", + "$1 $2 $3 $4", + ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"] + ], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["9"]], [, "(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]"]]], [, , "74[02-9]\\d{6}", , , , "740123456", , , [9]], , , [, , , , , , , , , [-1]], [, , "10[1-8]\\d{6}", , , , "102345678", , , [9]], , , [, , "(?:25[245]|67[3-68])\\d{9}", , , , "254123456789", , , [12]]], + SG: [, [, , "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", , , , , , , [8, 10, 11]], [ + , + , + "662[0-24-9]\\d{4}|6(?:[0-578]\\d|6[013-57-9]|9[0-35-9])\\d{5}", + , + , + , + "61234567", + , + , + [8] + ], [, , "896[0-4]\\d{4}|(?:8(?:0[1-9]|[1-8]\\d|9[0-5])|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"]], [ + , + "(\\d{4})(\\d{4})(\\d{3})", + "$1 $2 $3", + ["7"] + ], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]], [[, "(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], [, "(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], [, "(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "7000\\d{7}", , , , "70001234567", , , [11]], , , [, , , , , , , , , [-1]]], + SH: [ + , + [, , "(?:[256]\\d|8)\\d{3}", , , , , , , [4, 5]], + [, , "2(?:[0-57-9]\\d|6[4-9])\\d\\d", , , , "22158"], + [, , "[56]\\d{4}", , , , "51234", , , [5]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "262\\d\\d", , , , "26212", , , [5]], + "SH", + 290, + "00", + , + , + , + , + , + , + , + , + , + [, , , , , , , , , [-1]], + 1, + "[256]", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + SI: [ + , + [, , "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", , , , , , , [5, 6, 7, 8]], + [, , "(?:[1-357][2-8]|4[24-8])\\d{6}", , , , "12345678", , , [8], [7]], + [, , "65(?:[178]\\d|5[56]|6[01])\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\d{6}", , , , "31234567", , , [8]], + [, , "80\\d{4,6}", , , , "80123456", , , [6, 7, 8]], + [, , "89[1-3]\\d{2,5}|90\\d{4,6}", , , , "90123456"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "(?:59\\d\\d|8(?:1(?:[67]\\d|8[0-589])|2(?:0\\d|2[0-37-9]|8[0-2489])|3[389]\\d))\\d{4}", , , , "59012345", , , [8]], + "SI", + 386, + "00|10(?:22|66|88|99)", + "0", + , + , + "0", + , + "00", + , + [[, "(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], [, "(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[0139]|51|6"], "0$1"], [, "(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + SJ: [, [ + , + , + "0\\d{4}|(?:[489]\\d|79)\\d{6}", + , + , + , + , + , + , + [5, 8] + ], [, , "79\\d{6}", , , , "79123456", , , [8]], [, , "(?:4[015-8]|9\\d)\\d{6}", , , , "41234567", , , [8]], [, , "80[01]\\d{5}", , , , "80012345", , , [8]], [, , "82[09]\\d{5}", , , , "82012345", , , [8]], [, , "810(?:0[0-6]|[2-8]\\d)\\d{3}", , , , "81021234", , , [8]], [, , "880\\d{5}", , , , "88012345", , , [8]], [, , "85[0-5]\\d{5}", , , , "85012345", , , [8]], "SJ", 47, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "79", [, , , , , , , , , [-1]], [, , "(?:0[235-9]|81(?:0(?:0[7-9]|1\\d)|5\\d\\d))\\d{3}", , , , "02000"], , , [, , "81[23]\\d{5}", , , , "81212345", , , [8]]], + SK: [, [ + , + , + "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", + , + , + , + , + , + , + [6, 7, 9] + ], [, , "(?:2(?:16|[2-9]\\d{3})|(?:(?:[3-5][1-8]\\d|819)\\d|601[1-5])\\d)\\d{4}|(?:2|[3-5][1-8])1[67]\\d{3}|[3-5][1-8]16\\d\\d", , , , "221234567"], [, , "909[1-9]\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\d)\\d{6}", , , , "912123456", , , [9]], [, , "800\\d{6}", , , , "800123456", , , [9]], [, , "9(?:00|[78]\\d)\\d{6}", , , , "900123456", , , [9]], [, , "8[5-9]\\d{7}", , , , "850123456", , , [9]], [, , , , , , , , , [-1]], [, , "6(?:02|5[0-4]|9[0-6])\\d{6}", , , , "690123456", , , [9]], "SK", 421, "00", "0", , , "0", , , , [[ + , + "(\\d)(\\d{2})(\\d{3,4})", + "$1 $2 $3", + ["21"], + "0$1" + ], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], [, "(\\d{4})(\\d{3})", "$1 $2", ["909", "9090"], "0$1"], [, "(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1/$2 $3 $4", ["2"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], [[, "(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], [, "(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], [ + , + "(\\d)(\\d{3})(\\d{3})(\\d{2})", + "$1/$2 $3 $4", + ["2"], + "0$1" + ], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1/$2 $3 $4", ["[3-5]"], "0$1"]], [, , "9090\\d{3}", , , , "9090123", , , [7]], , , [, , "9090\\d{3}|(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}", , , , , , , [7, 9]], [, , "96\\d{7}", , , , "961234567", , , [9]], , , [, , , , , , , , , [-1]]], + SL: [, [, , "(?:[237-9]\\d|66)\\d{6}", , , , , , , [8], [6]], [, , "22[2-4][2-9]\\d{4}", , , , "22221234", , , , [6]], [, , "(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\d{6}", , , , "25123456"], [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SL", 232, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SM: [ + , + [, , "(?:0549|[5-7]\\d)\\d{6}", , , , , , , [8, 10], [6]], + [, , "0549(?:8[0157-9]|9\\d)\\d{4}", , , , "0549886377", , , [10], [6]], + [, , "6[16]\\d{6}", , , , "66661212", , , [8]], + [, , , , , , , , , [-1]], + [, , "7[178]\\d{6}", , , , "71123456", , , [8]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "5[158]\\d{6}", , , , "58001110", , , [8]], + "SM", + 378, + "00", + , + , + , + "([89]\\d{5})$", + "0549$1", + , + , + [[, "(\\d{6})", "$1", ["[89]"]], [, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["0"]]], + [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], [, "(\\d{4})(\\d{6})", "$1 $2", ["0"]]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + 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(?:(?:[06-8]\\d|[19]0|21)\\d|5(?:0[01]|[19]0|2[25]|3[36]|[4-7]\\d|8[35]))\\d{5}", + , + , + , + "701234567" + ], [, , "800\\d{6}", , , , "800123456"], [, , "88[4689]\\d{6}", , , , "884123456"], [, , "81[02468]\\d{6}", , , , "810123456"], [, , , , , , , , , [-1]], [, , "(?:3(?:392|9[01]\\d)\\d|93(?:3[13]0|929))\\d{4}", , , , "933301234"], "SN", 221, "00", , , , , , , , [[, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SO: [, [, , "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", , , , , , , [6, 7, 8, 9]], [ + , + , + "(?:1\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\d{5}|(?:[134]\\d|8[125])\\d{4}", + , + , + , + "4012345", + , + , + [6, 7] + ], [, , "(?:(?:15|(?:3[59]|4[89]|6\\d|7[679]|8[08])\\d|9(?:0\\d|[2-9]))\\d|2(?:4\\d|8))\\d{5}|(?:[67]\\d\\d|904)\\d{5}", , , , "71123456", , , [7, 8, 9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SO", 252, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], [, "(\\d{6})", "$1", ["[134]"]], [, "(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], [ + , + "(\\d)(\\d{7})", + "$1 $2", + ["(?:2|90)4|[67]"] + ], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[348]|64|79|90"]], [, "(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|6[0-35-9]|7[67]|9[2-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SR: [, [, , "(?:[2-5]|68|[78]\\d)\\d{5}", , , , , , , [6, 7]], [, , "(?:2[1-3]|3[0-7]|(?:4|68)\\d|5[2-58])\\d{4}", , , , "211234"], [, , "(?:7[124-7]|8[124-9])\\d{5}", , , , "7412345", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "56\\d{4}", , , , "561234", , , [6]], "SR", 597, "00", , , , , , , , [[ + , + "(\\d{2})(\\d{2})(\\d{2})", + "$1-$2-$3", + ["56"] + ], [, "(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], [, "(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SS: [ + , + [, , "[19]\\d{8}", , , , , , , [9]], + [, , "1[89]\\d{7}", , , , "181234567"], + [, , "(?:12|9[1257-9])\\d{7}", , , , "977123456"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "SS", + 211, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + ST: [, [, , "(?:22|9\\d)\\d{5}", , , , , , , [7]], [, , "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]]], + SV: [, [, , "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", , , , , , , [7, 8, 11]], [ + , + , + "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}", + , + , + , + "21234567", + , + , + [8] + ], [, , "[67]\\d{7}", , , , "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", ["[267]"]], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SX: [ + , + [, , "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], + [ + , + , + "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]], + [, , "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"], + [, , , , , , , , , [-1]], + "SX", + 1, + "011", + "1", + , + , + "(5\\d{6})$|1", + "721$1", + , + , + , + , + [, , , , , , , , , [-1]], + , + "721", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + 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-689])\\d{7}", , , , "944567890", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "SY", 963, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", , 1], [ + , + "(\\d{3})(\\d{3})(\\d{3})", + "$1 $2 $3", + ["[59]"], + "0$1", + , + 1 + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + SZ: [, [, , "0800\\d{4}|(?:[237]\\d|900)\\d{6}", , , , , , , [8, 9]], [, , "[23][2-5]\\d{6}", , , , "22171234", , , [8]], [, , "7[6-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]"]], [, "(\\d{5})(\\d{4})", "$1 $2", ["9"]]], , [, , , , , , , , , [-1]], , , [ + , + , + "0800\\d{4}", + , + , + , + , + , + , + [8] + ], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TA: [, [, , "8\\d{3}", , , , , , , [4]], [, , "8\\d{3}", , , , "8999"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TA", 290, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "8", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TC: [ + , + [, , "(?:[58]\\d\\d|649|900)\\d{7}", , , , , , , [10], [7]], + [, , "649(?:266|712|9(?:4\\d|50))\\d{4}", , , , "6497121234", , , , [7]], + [, , "649(?:2(?:3[129]|4[1-79])|3\\d\\d|4[34][1-3])\\d{4}", , , , "6492311234", , , , [7]], + [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"], + [, , "900[2-9]\\d{6}", , , , "9002345678"], + [, , , , , , , , , [-1]], + [, , "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"], + [, , "649(?:71[01]|966)\\d{4}", , , , "6497101234", , , , [7]], + "TC", + 1, + "011", + "1", + , + , + "([2-479]\\d{6})$|1", + "649$1", + , + , + , + , + [, , , , , , , , , [-1]], + , + "649", + [ + , + , + , + , + , + , + , + , + , + [-1] + ], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + TD: [, [, , "(?:22|[689]\\d|77)\\d{6}", , , , , , , [8]], [, , "22(?:[37-9]0|5[0-5]|6[89])\\d{4}", , , , "22501234"], [, , "(?:[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", ["[26-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TG: [, [, , "[279]\\d{7}", , , , , , , [8]], [ + , + , + "2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\d{5}", + , + , + , + "22212345" + ], [, , "(?:7[0-29]|9[0-36-9])\\d{6}", , , , "90112345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TG", 228, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TH: [, [, , "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", , , , , , , [8, 9, 10, 13]], [, , "(?:1[0689]|2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}", , , , "21234567", , , [8]], [ + , + , + "67(?:1[0-8]|2[4-7])\\d{5}|(?:14|6[1-6]|[89]\\d)\\d{7}", + , + , + , + "812345678", + , + , + [9] + ], [, , "(?:001800\\d|1800)\\d{6}", , , , "1800123456", , , [10, 13]], [, , "1900\\d{6}", , , , "1900123456", , , [10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "6[08]\\d{7}", , , , "601234567", , , [9]], "TH", 66, "00[1-9]", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], [, "(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TJ: [, [, , "[0-57-9]\\d{8}", , , , , , , [9], [3, 5, 6, 7]], [ + , + , + "(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}", + , + , + , + "372123456", + , + , + , + [3, 5, 6, 7] + ], [, , "(?:33[03-9]|4(?:1[18]|4[02-479])|81[1-9])\\d{6}|(?:[09]\\d|1[0178]|2[02]|[34]0|5[05]|7[01578]|8[078])\\d{7}", , , , "917123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TJ", 992, "810", , , , , , "8~10", , [[, "(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], [, "(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], [, "(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], , [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TK: [, [, , "[2-47]\\d{3,6}", , , , , , , [4, 5, 6, 7]], [, , "(?:2[2-4]|[34]\\d)\\d{2,5}", , , , "3101"], [, , "7[2-4]\\d{2,5}", , , , "7290"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TK", 690, "00", , , , , , , , , , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TL: [, [, , "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", , , , , , , [7, 8]], [, , "(?:2[1-5]|3[1-9]|4[1-4])\\d{5}", , , , "2112345", , , [7]], [ + , + , + "7[2-8]\\d{6}", + , + , + , + "77212345", + , + , + [8] + ], [, , "80\\d{5}", , , , "8012345", , , [7]], [, , "90\\d{5}", , , , "9012345", , , [7]], [, , , , , , , , , [-1]], [, , "70\\d{5}", , , , "7012345", , , [7]], [, , , , , , , , , [-1]], "TL", 670, "00", , , , , , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], [, "(\\d{4})(\\d{4})", "$1 $2", ["7"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TM: [, [, , "(?:[1-6]\\d|71)\\d{6}", , , , , , , [8]], [, , "(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}", , , , "12345678"], [ + , + , + "(?:6\\d|71)\\d{6}", + , + , + , + "66123456" + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TM", 993, "810", "8", , , "8", , "8~10", , [[, "(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], [, "(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], [, "(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TN: [, [, , "[2-57-9]\\d{7}", , , , , , , [8]], [, , "81200\\d{3}|(?:3[0-2]|7\\d)\\d{6}", , , , "30010123"], [ + , + , + "3(?:001|[12]40)\\d{4}|(?:(?:[259]\\d|4[0-8])\\d|3(?:1[1-35]|6[0-4]|91))\\d{5}", + , + , + , + "20123456" + ], [, , "8010\\d{4}", , , , "80101234"], [, , "88\\d{6}", , , , "88123456"], [, , "8[12]10\\d{4}", , , , "81101234"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TN", 216, "00", , , , , , , , [[, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TO: [, [, , "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", , , , , , , [5, 7]], [, , "(?:2\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\d{3}", , , , "20123", , , [5]], [ + , + , + "(?:5(?:4[0-5]|5[4-6])|6(?:[09]\\d|3[02]|8[15-9])|(?:7\\d|8[46-9])\\d|999)\\d{4}", + , + , + , + "7715123", + , + , + [7] + ], [, , "0800\\d{3}", , , , "0800222", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "55[0-37-9]\\d{4}", , , , "5510123", , , [7]], "TO", 676, "00", , , , , , , , [[, "(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], [, "(\\d{4})(\\d{3})", "$1 $2", ["0"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TR: [, [, , "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", , , , , , , [7, 10, 12, 13]], [ + , + , + "(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}", + , + , + , + "2123456789", + , + , + [10] + ], [, , "561(?:011|61\\d)\\d{4}|5(?:0[15-7]|1[06]|24|[34]\\d|5[1-59]|9[46])\\d{7}", , , , "5012345678", , , [10]], [, , "8(?:00\\d{7}(?:\\d{2,3})?|11\\d{7})", , , , "8001234567", , , [10, 12, 13]], [, , "(?:8[89]8|900)\\d{7}", , , , "9001234567", , , [10]], [, , , , , , , , , [-1]], [, , "592(?:21[12]|461)\\d{4}", , , , "5922121234", , , [10]], [, , "850\\d{7}", , , , "8500123456", , , [10]], "TR", 90, "00", "0", , , "0", , , , [ + [, "(\\d{3})(\\d)(\\d{3})", "$1 $2 $3", ["444"], , , 1], + [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", , 1], + [, "(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", , 1], + [, "(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", , 1], + [, "(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", , 1] + ], [[, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", , 1], [, "(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", , 1], [ + , + "(\\d{3})(\\d{3})(\\d{2})(\\d{2})", + "$1 $2 $3 $4", + ["[24][1-8]|3[1-9]"], + "(0$1)", + , + 1 + ], [, "(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", , 1]], [, , "512\\d{7}", , , , "5123456789", , , [10]], , , [, , "(?:444|811\\d{3})\\d{4}", , , , , , , [7, 10]], [, , "444\\d{4}", , , , "4441444", , , [7]], , , [, , , , , , , , , [-1]]], + TT: [, [, , "(?:[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [, , "868(?:2(?:01|1[5-9]|[23]\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}", , , , "8682211234", , , , [7]], [ + , + , + "868(?:(?:2[5-9]|3\\d)\\d|4(?:3[0-6]|[6-9]\\d)|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}", + , + , + , + "8682911234", + , + , + , + [7] + ], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"], [, , "900[2-9]\\d{6}", , , , "9002345678"], [, , , , , , , , , [-1]], [, , "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"], [, , , , , , , , , [-1]], "TT", 1, "011", "1", , , "([2-46-8]\\d{6})$|1", "868$1", , , , , [, , , , , , , , , [-1]], , "868", [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], , , [, , "868619\\d{4}", , , , "8686191234", , , , [7]]], + TV: [, [, , "(?:2|7\\d\\d|90)\\d{4}", , , , , , , [5, 6, 7]], [, , "2[02-9]\\d{3}", , , , "20123", , , [5]], [, , "(?:7[01]\\d|90)\\d{4}", , , , "901234", , , [6, 7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "TV", 688, "00", , , , , , , , [[, "(\\d{2})(\\d{3})", "$1 $2", ["2"]], [, "(\\d{2})(\\d{4})", "$1 $2", ["90"]], [, "(\\d{2})(\\d{5})", "$1 $2", ["7"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + TW: [, [ + , + , + "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", + , + , + , + , + , + , + [7, 8, 9, 10, 11] + ], [ + , + , + "(?:2[2-8]\\d|370|55[01]|7[1-9])\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\d)|1[023]\\d)\\d{4,5}|(?:[239]\\d\\d|4(?:0[56]|12|49))\\d{5})|6(?:[01]\\d{7}|4(?:0[56]|12|24|4[09])\\d{4,5})|8(?:(?:2(?:3\\d|4[0-269]|[578]0|66)|36[24-9]|90\\d\\d)\\d{4}|4(?:0[56]|12|24|4[09])\\d{4,5})|(?:2(?:2(?:0\\d\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\d|1[0-4])|(?:4\\d|5[0-49]|6[0-29]|7[0-5])\\d)\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\d\\d|4(?:2(?:[089]\\d|7[1-9])|(?:3[0-4]|[78]\\d|9[01])\\d))\\d)\\d{3}", + , + , + , + "221234567", + , + , + [8, 9] + ], [, , "(?:40001[0-2]|9[0-8]\\d{4})\\d{3}", , , , "912345678", , , [9]], [, , "80[0-79]\\d{6}|800\\d{5}", , , , "800123456", , , [8, 9]], [, , "20(?:[013-9]\\d\\d|2)\\d{4}", , , , "203123456", , , [7, 9]], [, , , , , , , , , [-1]], [, , "99\\d{7}", , , , "990123456", , , [9]], [, , "7010(?:[0-2679]\\d|3[0-7]|8[0-5])\\d{5}|70\\d{8}", , , , "7012345678", , , [10, 11]], "TW", 886, "0(?:0[25-79]|19)", "0", "#", , "0", , , , [[, "(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], [ + , + "(\\d)(\\d{3,4})(\\d{4})", + "$1 $2 $3", + ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], + "0$1" + ], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], [, "(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "50[0-46-9]\\d{6}", , , , "500123456", , , [9]], , , [, , , , , , , , , [-1]]], + TZ: [ + , + [, , "(?:[25-8]\\d|41|90)\\d{7}", , , , , , , [9]], + [, , "2[2-8]\\d{7}", , , , "222345678"], + [, , "(?:6[125-9]|7[13-9])\\d{7}", , , , "621234567"], + [, , "80[08]\\d{6}", , , , "800123456"], + [, , "90\\d{7}", , , , "900123456"], + [, , "8(?:40|6[01])\\d{6}", , , , "840123456"], + [, , , , , , , , , [-1]], + [, , "41\\d{7}", , , , "412345678"], + "TZ", + 255, + "00[056]", + "0", + , + , + "0", + , + , + , + [[, "(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], [, "(\\d{2})(\\d{7})", "$1 $2", ["5"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , "(?:8(?:[04]0|6[01])|90\\d)\\d{6}"], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + UA: [, [, , "[89]\\d{9}|[3-9]\\d{8}", , , , , , , [9, 10], [5, 6, 7]], [ + , + , + "(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}", + , + , + , + "311234567", + , + , + [9], + [5, 6, 7] + ], [, , "790\\d{6}|(?:39|50|6[36-8]|7[1-357]|9[1-9])\\d{7}", , , , "501234567", , , [9]], [, , "800[1-8]\\d{5,6}", , , , "800123456"], [, , "900[239]\\d{5,6}", , , , "900212345"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "89[1-579]\\d{6}", , , , "891234567", , , [9]], "UA", 380, "00", "0", , , "0", , "0~0", , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], [ + , + "(\\d{4})(\\d{5})", + "$1 $2", + ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], + "0$1" + ], [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + UG: [, [, , "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", , , , , , , [9], [5, 6, 7]], [ + , + , + "20(?:(?:240|30[67])\\d|6(?:00[0-2]|30[0-4]))\\d{3}|(?:20(?:[017]\\d|2[5-9]|3[1-4]|5[0-4]|6[15-9])|[34]\\d{3})\\d{5}", + , + , + , + "312345678", + , + , + , + [5, 6, 7] + ], [, , "72[48]0\\d{5}|7(?:[015-8]\\d|2[067]|36|4[0-7]|9[89])\\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]]], + US: [, [ + , + , + "[2-9]\\d{9}|3\\d{6}", + , + , + , + , + , + , + [10], + [7] + ], [ + , + , + "(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}", + , + , + , + "2015550123", + , + , + , + [7] + ], [ + , + , + "(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}", + , + , + , + "2015550123", + , + , + , + [7] + ], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"], [, , "900[2-9]\\d{6}", , , , "9002345678"], [, , , , , , , , , [-1]], [, , "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"], [, , "305209\\d{4}", , , , "3052090123", , , , [7]], "US", 1, "011", "1", , , "1", , , 1, [ + [, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1], + [, "(\\d{3})(\\d{4})", "$1-$2", ["[24-9]|3(?:[02-9]|1[1-9])"]], + [, "(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], , , 1] + ], [[, "(\\d{3})(\\d{4})", "$1-$2", ["310"], , , 1], [, "(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-9]"]]], [, , , , , , , , , [-1]], 1, , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + UY: [, [, , "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", , , , , , , [6, 7, 8, 9, 10, 11, 12, 13]], [, , "(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}", , , , "21231234", , , [8], [7]], [, , "9[1-9]\\d{6}", , , , "94231234", , , [8]], [ + , + , + "0004\\d{2,9}|(?:405|80[05])\\d{4}", + , + , + , + "8001234" + ], [, , "90[0-8]\\d{4}", , , , "9001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UY", 598, "0(?:0|1[3-9]\\d)", "0", " int. ", , "0", , "00", , [[, "(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], [, "(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], [, "(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], [, "(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [ + , + , + , + , + , + , + , + , + , + [-1] + ]], + UZ: [, [, , "(?:20|33|[5-9]\\d)\\d{7}", , , , , , , [9]], [, , "(?:55\\d\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|[69]\\d\\d|7(?:[23]\\d|7[69]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|[68]\\d)\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|9(?:22|5[1-9])))\\d{5}", , , , "669050123"], [ + , + , + "(?:(?:[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}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|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}", + , + , + , + "912345678" + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "UZ", 998, "00", , , , , , , , [[, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + VA: [, [, , "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", , , , , , , [6, 7, 8, 9, 10, 11, 12]], [, , "06698\\d{1,6}", , , , "0669812345", , , [6, 7, 8, 9, 10, 11]], [, , "3[1-9]\\d{8}|3[2-9]\\d{7}", , , , "3123456789", , , [9, 10]], [ + , + , + "80(?:0\\d{3}|3)\\d{3}", + , + , + , + "800123456", + , + , + [6, 9] + ], [, , "(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", , , , "899123456", , , [6, 8, 9, 10]], [, , "84(?:[08]\\d{3}|[17])\\d{3}", , , , "848123456", , , [6, 9]], [, , "1(?:78\\d|99)\\d{6}", , , , "1781234567", , , [9, 10]], [, , "55\\d{8}", , , , "5512345678", , , [10]], "VA", 39, "00", , , , , , , , , , [, , , , , , , , , [-1]], , "06698", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , "3[2-8]\\d{9,10}", , , , "33101234501", , , [11, 12]]], + VC: [ + , + [, , "(?:[58]\\d\\d|784|900)\\d{7}", , , , , , , [10], [7]], + [, , "784(?:266|3(?:6[6-9]|7\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}", , , , "7842661234", , , , [7]], + [, , "784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\d{4}", , , , "7844301234", , , , [7]], + [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"], + [, , "900[2-9]\\d{6}", , , , "9002345678"], + [, , , , , , , , , [-1]], + [ + , + , + "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" + ], + [, , "78451[0-2]\\d{4}", , , , "7845101234", , , , [7]], + "VC", + 1, + "011", + "1", + , + , + "([2-7]\\d{6})$|1", + "784$1", + , + , + , + , + [, , , , , , , , , [-1]], + , + "784", + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + VE: [ + , + [, , "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", , , , , , , [10], [7]], + [, , "(?:2(?:12|3[457-9]|[467]\\d|[58][1-9]|9[1-6])|[4-6]00)\\d{7}", , , , "2121234567", , , , [7]], + [, , "4(?:1[24-8]|2[46])\\d{7}", , , , "4121234567"], + [, , "800\\d{7}", , , , "8001234567"], + [, , "90[01]\\d{7}", , , , "9001234567"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "VE", + 58, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1", "$CC $1"]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , "501\\d{7}", , , , "5010123456", , , , [7]], + , + , + [, , , , , , , , , [-1]] + ], + VG: [, [, , "(?:284|[58]\\d\\d|900)\\d{7}", , , , , , , [10], [7]], [, , "284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}", , , , "2842291234", , , , [7]], [, , "284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\d{4}", , , , "2843001234", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"], [ + , + , + "900[2-9]\\d{6}", + , + , + , + "9002345678" + ], [, , , , , , , , , [-1]], [, , "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"], [, , , , , , , , , [-1]], "VG", 1, "011", "1", , , "([2-578]\\d{6})$|1", "284$1", , , , , [, , , , , , , , , [-1]], , "284", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + VI: [, [, , "[58]\\d{9}|(?:34|90)0\\d{7}", , , , , , , [10], [7]], [ + , + , + "340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}", + , + , + , + "3406421234", + , + , + , + [7] + ], [, , "340(?:2(?:0\\d|10|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\d)|884|998)\\d{4}", , , , "3406421234", , , , [7]], [, , "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", , , , "8002345678"], [, , "900[2-9]\\d{6}", , , , "9002345678"], [, , , , , , , , , [-1]], [ + , + , + "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" + ], [, , , , , , , , , [-1]], "VI", 1, "011", "1", , , "([2-9]\\d{6})$|1", "340$1", , 1, , , [, , , , , , , , , [-1]], , "340", [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + VN: [, [, , "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", , , , , , , [7, 8, 9, 10]], [, , "2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\d{7}", , , , "2101234567", , , [10]], [, , "(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\d{6}|(?:3\\d|5[1689]|7[06-9]|8[1-8]|9[0-8])\\d{7}", , , , "912345678", , , [9]], [ + , + , + "1800\\d{4,6}|12(?:0[13]|28)\\d{4}", + , + , + , + "1800123456", + , + , + [8, 9, 10] + ], [, , "1900\\d{4,6}", , , , "1900123456", , , [8, 9, 10]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "672\\d{6}", , , , "672012345", , , [9]], "VN", 84, "00", "0", , , "0", , , , [[, "(\\d{3})(\\d{4})", "$1 $2", ["[17]99"], "0$1", , 1], [, "(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", , 1], [, "(\\d{3})(\\d{4,5})", "$1 $2", ["69"], "0$1", , 1], [, "(\\d{4})(\\d{4,6})", "$1 $2", ["1"], , , 1], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", , 1], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", , 1], [ + , + "(\\d{2})(\\d{4})(\\d{4})", + "$1 $2 $3", + ["2[48]"], + "0$1", + , + 1 + ], [, "(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", , 1]], [[, "(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", , 1], [, "(\\d{4})(\\d{4,6})", "$1 $2", ["1"], , , 1], [, "(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", , 1], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", , 1], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", , 1], [, "(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", , 1]], [, , , , , , , , , [-1]], , , [, , "[17]99\\d{4}|69\\d{5,6}", , , , , , , [7, 8]], [ + , + , + "(?:[17]99|80\\d)\\d{4}|69\\d{5,6}", + , + , + , + "1992000", + , + , + [7, 8] + ], , , [, , , , , , , , , [-1]]], + VU: [ + , + [, , "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", , , , , , , [5, 7]], + [, , "(?:38[0-8]|48[4-9])\\d\\d|(?:2[02-9]|3[4-7]|88)\\d{3}", , , , "22123", , , [5]], + [, , "(?:[58]\\d|7[013-7])\\d{5}", , , , "5912345", , , [7]], + [, , "81[18]\\d\\d", , , , "81123", , , [5]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "9(?:0[1-9]|1[01])\\d{4}", , , , "9010123", , , [7]], + "VU", + 678, + "00", + , + , + , + , + , + , + , + [[, "(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , "(?:3[03]|900\\d)\\d{3}", , , , "30123"], + , + , + [, , , , , , , , , [-1]] + ], + WF: [, [, , "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", , , , , , , [6, 9]], [, , "72\\d{4}", , , , "721234", , , [6]], [, , "(?:72|8[23])\\d{4}", , , , "821234", , , [6]], [, , "80[0-5]\\d{6}", , , , "800012345", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "9[23]\\d{4}", , , , "921234", , , [6]], "WF", 681, "00", , , , , , , , [[, "(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], [, "(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , "[48]0\\d{4}", , , , "401234", , , [6]]], + WS: [ + , + [, , "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", , , , , , , [5, 6, 7, 10]], + [, , "6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}", , , , "22123", , , [5, 6]], + [, , "(?:7[1-35-7]|8(?:[3-7]|9\\d{3}))\\d{5}", , , , "7212345", , , [7, 10]], + [, , "800\\d{3}", , , , "800123", , , [6]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "WS", + 685, + "0", + , + , + , + , + , + , + , + [[, "(\\d{5})", "$1", ["[2-5]|6[1-9]"]], [, "(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], [, "(\\d{2})(\\d{5})", "$1 $2", ["7"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + XK: [ + , + [, , "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", , , , , , , [8, 9, 10, 11, 12]], + [, , "38\\d{6,10}|(?:2[89]|39)(?:0\\d{5,6}|[1-9]\\d{5})", , , , "28012345"], + [, , "4[3-9]\\d{6}", , , , "43201234", , , [8]], + [, , "800\\d{5}", , , , "80001234", , , [8]], + [, , "900\\d{5}", , , , "90001234", , , [8]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "XK", + 383, + "00", + "0", + , + , + "0", + , + , + , + [[, "(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], [ + , + "(\\d{2})(\\d{7,10})", + "$1 $2", + ["3"], + "0$1" + ]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + YE: [, [, , "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", , , , , , , [7, 8, 9], [6]], [, , "78[0-7]\\d{4}|17\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\d{5}", , , , "1234567", , , [7, 8], [6]], [, , "7[01378]\\d{7}", , , , "712345678", , , [9]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "YE", 967, "00", "0", , , "0", , , , [[, "(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], [ + , + "(\\d{3})(\\d{3})(\\d{3})", + "$1 $2 $3", + ["7"], + "0$1" + ]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + YT: [ + , + [, , "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", , , , , , , [9]], + [, , "269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}", , , , "269601234"], + [, , "(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}", , , , "639012345"], + [, , "80\\d{7}", , , , "801234567"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "9(?:(?:39|47)8[01]|769\\d)\\d{4}", , , , "939801234"], + "YT", + 262, + "00", + "0", + , + , + "0", + , + , + , + , + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + ZA: [, [, , "[1-79]\\d{8}|8\\d{4,9}", , , , , , , [5, 6, 7, 8, 9, 10]], [, , "(?:2(?:0330|4302)|52087)0\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}", , , , "101234567", , , [9]], [ + , + , + "(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\d{3}|8[1-4]\\d{3,7}|(?:2[27]|47|54)4950\\d{3}|(?:1(?:049[2-4]|9[12]\\d\\d)|(?:6\\d\\d|7(?:[0-46-9]\\d|5[0-4]))\\d\\d|8(?:5\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\d{3}|(?:12|[2-5]1)492\\d{4}", + , + , + , + "711234567", + , + , + [5, 6, 7, 8, 9] + ], [, , "80\\d{7}", , , , "801234567", , , [9]], [, , "(?:86[2-9]|9[0-2]\\d)\\d{6}", , , , "862345678", , , [9]], [, , "860\\d{6}", , , , "860123456", , , [9]], [, , , , , , , , , [-1]], [, , "87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\d)\\d{5}", , , , "871234567", , , [9]], "ZA", 27, "00", "0", , , "0", , , , [[, "(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], [, "(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], [ + , + "(\\d{2})(\\d{3})(\\d{4})", + "$1 $2 $3", + ["[1-9]"], + "0$1" + ], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "861\\d{6,7}", , , , "861123456", , , [9, 10]], , , [, , , , , , , , , [-1]]], + ZM: [, [, , "800\\d{6}|(?:21|63|[79]\\d)\\d{7}", , , , , , , [9], [6]], [, , "21[1-8]\\d{6}", , , , "211234567", , , , [6]], [, , "(?:7[5-79]|9[5-8])\\d{7}", , , , "955123456"], [, , "800\\d{6}", , , , "800123456"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "63\\d{7}", , , , "630123456"], "ZM", 260, "00", "0", , , "0", , , , [ + [, "(\\d{3})(\\d{3})", "$1 $2", ["[1-9]"]], + [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], + [, "(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"] + ], [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], [, "(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + ZW: [, [, , "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", , , , , , , [5, 6, 7, 8, 9, 10], [3, 4]], [ + , + , + "(?:1(?:(?:3\\d|9)\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\d\\d|[56](?:[14]\\d\\d|20)|7(?:[089]|2[03]|[35]\\d\\d))\\d|4(?:2\\d\\d|8))\\d|1(?:2|[39]\\d{4}))|3(?:(?:123|(?:29\\d|92)\\d)\\d\\d|7(?:[19]|[56]\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\d{3}|83)|5(?:25\\d\\d|[78])|[689]\\d)|6(?:(?:[16-8]21|28|52[013])\\d\\d|[39])|8(?:[1349]28|523)\\d\\d)\\d{3}|(?:4\\d\\d|9[2-9])\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\d|7[1-7])\\d|2(?:[278]\\d|92)|58(?:2\\d|3))|3(?:[26]|9\\d{3})|5(?:4\\d|5)\\d\\d)\\d|6(?:(?:(?:[0-246]|[78]\\d)\\d|37)\\d|5[2-8]))\\d\\d|(?:2(?:[569]\\d|8[2-57-9])|3(?:[013-59]\\d|8[37])|6[89]8)\\d{3}", + , + , + , + "1312345", + , + , + , + [3, 4] + ], [, , "7(?:[1278]\\d|3[1-9])\\d{6}", , , , "712345678", , , [9]], [, , "80(?:[01]\\d|20|8[0-8])\\d{3}", , , , "8001234", , , [7]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "86(?:1[12]|22|30|44|55|77|8[368])\\d{6}", , , , "8686123456", , , [10]], "ZW", 263, "00", "0", , , "0", , , , [ + [, "(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], + [, "(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], + [, "(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], + [, "(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], + [, "(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], + [, "(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], + [, "(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], + [ + , + "(\\d{2})(\\d{3,5})", + "$1 $2", + ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], + "0$1" + ], + [, "(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], + [, "(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"] + ], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 800: [ + , + [, , "(?:00|[1-9]\\d)\\d{6}", , , , , , , [8]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , "(?:00|[1-9]\\d)\\d{6}", , , , "12345678"], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + "001", + 800, + , + , + , + , + , + , + , + 1, + [[, "(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], + , + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]], + [, , , , , , , , , [-1]], + , + , + [, , , , , , , , , [-1]] + ], + 808: [, [, , "[1-9]\\d{7}", , , , , , , [8]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "[1-9]\\d{7}", , , , "12345678"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 808, , , , , , , , 1, [[, "(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 870: [, [, , "7\\d{11}|[235-7]\\d{8}", , , , , , , [9, 12]], [, , , , , , , , , [-1]], [, , "(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}", , , , "301234567"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [ + , + , + "2\\d{8}", + , + , + , + "201234567", + , + , + [9] + ], "001", 870, , , , , , , , , [[, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 878: [, [, , "10\\d{10}", , , , , , , [12]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "10\\d{10}", , , , "101234567890"], "001", 878, , , , , , , , 1, [[, "(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 881: [, [ + , + , + "6\\d{9}|[0-36-9]\\d{8}", + , + , + , + , + , + , + [9, 10] + ], [, , , , , , , , , [-1]], [, , "6\\d{9}|[0-36-9]\\d{8}", , , , "612345678"], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 881, , , , , , , , , [[, "(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], [, "(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 882: [, [, , "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", , , , , , , [7, 8, 9, 10, 11, 12]], [, , , , , , , , , [-1]], [ + , + , + "342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", + , + , + , + "3421234", + , + , + [7, 8, 9, 10, 12] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , "1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}", , , , "390123456789"], "001", 882, , , , , , , , , [[, "(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], [, "(\\d{2})(\\d{6})", "$1 $2", ["49"]], [, "(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], [, "(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], [ + , + "(\\d{2})(\\d{3,4})(\\d{4})", + "$1 $2 $3", + ["16"] + ], [, "(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], [, "(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], [, "(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , "348[57]\\d{7}", , , , "34851234567", , , [11]]], + 883: [, [, , "(?:[1-4]\\d|51)\\d{6,10}", , , , , , , [8, 9, 10, 11, 12]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [ + , + , + "(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}", + , + , + , + "510012345" + ], "001", 883, , , , , , , , 1, [[, "(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], [, "(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], [, "(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], [, "(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], [, "(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]]], + 888: [, [, , "\\d{11}", , , , , , , [11]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], [ + , + , + , + , + , + , + , + , + , + [-1] + ], [, , , , , , , , , [-1]], [, , , , , , , , , [-1]], "001", 888, , , , , , , , 1, [[, "(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], , [, , , , , , , , , [-1]], , , [, , , , , , , , , [-1]], [, , "\\d{11}", , , , "12345678901"], , , [, , , , , , , , , [-1]]], + 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]]] + }; + function K() { + this.g = {}; + } + K.h = void 0; + K.g = function() { + return K.h ? K.h : K.h = new K(); + }; + var Ea = { 0: "0", 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6", 7: "7", 8: "8", 9: "9", "\uFF10": "0", "\uFF11": "1", "\uFF12": "2", "\uFF13": "3", "\uFF14": "4", "\uFF15": "5", "\uFF16": "6", "\uFF17": "7", "\uFF18": "8", "\uFF19": "9", "\u0660": "0", "\u0661": "1", "\u0662": "2", "\u0663": "3", "\u0664": "4", "\u0665": "5", "\u0666": "6", "\u0667": "7", "\u0668": "8", "\u0669": "9", "\u06F0": "0", "\u06F1": "1", "\u06F2": "2", "\u06F3": "3", "\u06F4": "4", "\u06F5": "5", "\u06F6": "6", "\u06F7": "7", "\u06F8": "8", "\u06F9": "9" }, Fa = { + 0: "0", + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + "+": "+", + "*": "*", + "#": "#" + }, Ga = { + 0: "0", + 1: "1", + 2: "2", + 3: "3", + 4: "4", + 5: "5", + 6: "6", + 7: "7", + 8: "8", + 9: "9", + "\uFF10": "0", + "\uFF11": "1", + "\uFF12": "2", + "\uFF13": "3", + "\uFF14": "4", + "\uFF15": "5", + "\uFF16": "6", + "\uFF17": "7", + "\uFF18": "8", + "\uFF19": "9", + "\u0660": "0", + "\u0661": "1", + "\u0662": "2", + "\u0663": "3", + "\u0664": "4", + "\u0665": "5", + "\u0666": "6", + "\u0667": "7", + "\u0668": "8", + "\u0669": "9", + "\u06F0": "0", + "\u06F1": "1", + "\u06F2": "2", + "\u06F3": "3", + "\u06F4": "4", + "\u06F5": "5", + "\u06F6": "6", + "\u06F7": "7", + "\u06F8": "8", + "\u06F9": "9", + A: "2", + B: "2", + C: "2", + D: "3", + E: "3", + F: "3", + G: "4", + H: "4", + I: "4", + J: "5", + K: "5", + L: "5", + M: "6", + N: "6", + O: "6", + P: "7", + Q: "7", + R: "7", + S: "7", + T: "8", + U: "8", + V: "8", + W: "9", + X: "9", + Y: "9", + Z: "9" + }, Ha = RegExp("[+\uFF0B]+"), L = RegExp("^[+\uFF0B]+"), Ia = RegExp("([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])"), Ja = RegExp("[+\uFF0B0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]"), Ka = /[\\\/] *x/, La = RegExp("[^0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9A-Za-z#]+$"), Ma = /(?:.*?[A-Za-z]){3}.*/, Na = RegExp("^\\+([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]|[\\-\\.\\(\\)]?)*$"), Oa = RegExp("^([A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.)*[A-Za-z]+((\\-)*[A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9])*\\.?$"); + function M(a) { + return "([0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{1," + a + "})"; + } + function Pa() { + return ";ext=" + M("20") + "|[ \xA0\\t,]*(?:e?xt(?:ensi(?:o\u0301?|\xF3))?n?|\uFF45?\uFF58\uFF54\uFF4E?|\u0434\u043E\u0431|anexo)[:\\.\uFF0E]?[ \xA0\\t,-]*" + (M("20") + "#?|[ \xA0\\t,]*(?:[x\uFF58#\uFF03~\uFF5E]|int|\uFF49\uFF4E\uFF54)[:\\.\uFF0E]?[ \xA0\\t,-]*") + (M("9") + "#?|[- ]+") + (M("6") + "#|[ \xA0\\t]*(?:,{2}|;)[:\\.\uFF0E]?[ \xA0\\t,-]*") + (M("15") + "#?|[ \xA0\\t]*(?:,)+[:\\.\uFF0E]?[ \xA0\\t,-]*") + (M("9") + "#?"); + } + var Qa = new RegExp("(?:" + Pa() + ")$", "i"), Ra = new RegExp("^[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]{2}$|^[+\uFF0B]*(?:[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*]*[0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]){3,}[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E*A-Za-z0-9\uFF10-\uFF19\u0660-\u0669\u06F0-\u06F9]*(?:" + Pa() + ")?$", "i"), Sa = /(\$\d)/, Ta = /^\(?\$1\)?$/; + function Ua(a) { + return 2 > a.length ? false : N(Ra, a); + } + function Va(a) { + return N(Ma, a) ? O(a, Ga) : O(a, Ea); + } + function Wa(a) { + var b = Va(a.toString()); + E(a); + a.g(b); + } + function Xa(a) { + return null != a && (1 != x(a, 9) || -1 != u(a, 9)[0]); + } + function O(a, b) { + for (var c = new D(), d, e = a.length, f = 0; f < e; ++f) d = a.charAt(f), d = b[d.toUpperCase()], null != d && c.g(d); + return c.toString(); + } + function Ya(a) { + return 0 == a.length || Ta.test(a); + } + function P(a) { + return null != a && isNaN(a) && a.toUpperCase() in Da; + } + K.prototype.format = function(a, b) { + if (0 == r(a, 2) && q(a, 5)) { + var c = w(a, 5); + if (0 < c.length) return c; + } + c = w(a, 1); + var d = Q(a); + if (0 == b) return Za(c, 0, d, ""); + if (!(c in J)) return d; + var e = R(this, c, S(c)); + a = q(a, 3) && 0 != r(a, 3).length ? 3 == b ? ";ext=" + r(a, 3) : q(e, 13) ? r(e, 13) + w(a, 3) : " ext. " + w(a, 3) : ""; + a: { + e = 0 == u(e, 20).length || 2 == b ? u(e, 19) : u(e, 20); + for (var f, g = e.length, h = 0; h < g; ++h) { + f = e[h]; + var l = x(f, 3); + if (0 == l || 0 == d.search(r(f, 3, l - 1))) { + if (l = new RegExp(r(f, 1)), N(l, d)) { + e = f; + break a; + } + } + } + e = null; + } + null != e && (g = e, e = w(g, 2), f = new RegExp(r(g, 1)), w( + g, + 5 + ), g = w(g, 4), d = 2 == b && null != g && 0 < g.length ? d.replace(f, e.replace(Sa, g)) : d.replace(f, e), 3 == b && (d = d.replace(RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+"), ""), d = d.replace(RegExp("[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]+", "g"), "-"))); + return Za(c, b, d, a); + }; + function R(a, b, c) { + return "001" == c ? T(a, "" + b) : T(a, c); + } + function Q(a) { + if (!q(a, 2)) return ""; + var b = "" + r(a, 2); + return q(a, 4) && r(a, 4) && 0 < w(a, 8) ? Array(w(a, 8) + 1).join("0") + b : b; + } + function Za(a, b, c, d) { + switch (b) { + case 0: + return "+" + a + c + d; + case 1: + return "+" + a + " " + c + d; + case 3: + return "tel:+" + a + "-" + c + d; + default: + return c + d; + } + } + function U(a, b) { + switch (b) { + case 4: + return r(a, 5); + case 3: + return r(a, 4); + case 1: + return r(a, 3); + case 0: + case 2: + return r(a, 2); + case 5: + return r(a, 6); + case 6: + return r(a, 8); + case 7: + return r(a, 7); + case 8: + return r(a, 21); + case 9: + return r(a, 25); + case 10: + return r(a, 28); + default: + return r(a, 1); + } + } + function $a(a, b) { + var c = ab(a, b); + a = R(a, w(b, 1), c); + if (null == a) return -1; + b = Q(b); + return bb(b, a); + } + function bb(a, b) { + return V(a, r(b, 1)) ? V(a, r(b, 5)) ? 4 : V(a, r(b, 4)) ? 3 : V(a, r(b, 6)) ? 5 : V(a, r(b, 8)) ? 6 : V(a, r(b, 7)) ? 7 : V(a, r(b, 21)) ? 8 : V(a, r(b, 25)) ? 9 : V(a, r(b, 28)) ? 10 : V(a, r(b, 2)) ? r(b, 18) || V(a, r(b, 3)) ? 2 : 0 : !r(b, 18) && V(a, r(b, 3)) ? 1 : -1 : -1; + } + function T(a, b) { + if (null == b) return null; + b = b.toUpperCase(); + var c = a.g[b]; + if (null == c) { + c = Da[b]; + if (null == c) return null; + c = new C().g(H.m(), c); + a.g[b] = c; + } + return c; + } + function V(a, b) { + var c = a.length; + return 0 < x(b, 9) && -1 == u(b, 9).indexOf(c) ? false : N(w(b, 2), a); + } + function cb(a, b) { + var c = ab(a, b); + var d = w(b, 1); + var e = R(a, d, c); + null == e || "001" != c && d != db(a, c) ? e = false : (a = Q(b), e = -1 != bb(a, e)); + return e; + } + function ab(a, b) { + if (null == b) return null; + var c = w(b, 1); + c = J[c]; + if (null == c) a = null; + else if (1 == c.length) a = c[0]; + else a: { + b = Q(b); + for (var d, e = c.length, f = 0; f < e; f++) { + d = c[f]; + var g = T(a, d); + if (q(g, 23)) { + if (0 == b.search(r(g, 23))) { + a = d; + break a; + } + } else if (-1 != bb(b, g)) { + a = d; + break a; + } + } + a = null; + } + return a; + } + function S(a) { + a = J[a]; + return null == a ? "ZZ" : a[0]; + } + function db(a, b) { + a = T(a, b); + if (null == a) throw Error("Invalid region code: " + b); + return w(a, 10); + } + function W(a, b, c, d) { + var e = U(c, d), f = 0 == x(e, 9) ? u(r(c, 1), 9) : u(e, 9); + e = u(e, 10); + if (2 == d) if (Xa(U(c, 0))) a = U(c, 1), Xa(a) && (f = f.concat(0 == x(a, 9) ? u(r(c, 1), 9) : u(a, 9)), f.sort(), 0 == e.length ? e = u(a, 10) : (e = e.concat(u(a, 10)), e.sort())); + else return W(a, b, c, 1); + if (-1 == f[0]) return 5; + b = b.length; + if (-1 < e.indexOf(b)) return 4; + c = f[0]; + return c == b ? 0 : c > b ? 2 : f[f.length - 1] < b ? 3 : -1 < f.indexOf(b, 1) ? 0 : 5; + } + function X(a, b, c) { + var d = Q(b); + b = w(b, 1); + if (!(b in J)) return 1; + b = R(a, b, S(b)); + return W(a, d, b, c); + } + function eb(a, b) { + a = a.toString(); + if (0 == a.length || "0" == a.charAt(0)) return 0; + for (var c, d = a.length, e = 1; 3 >= e && e <= d; ++e) if (c = parseInt(a.substring(0, e), 10), c in J) return b.g(a.substring(e)), c; + return 0; + } + function fb(a, b, c, d, e, f) { + if (0 == b.length) return 0; + b = new D(b); + var g; + null != c && (g = r(c, 11)); + null == g && (g = "NonMatch"); + var h = b.toString(); + if (0 == h.length) g = 20; + else if (L.test(h)) h = h.replace(L, ""), E(b), b.g(Va(h)), g = 1; + else { + h = new RegExp(g); + Wa(b); + g = b.toString(); + if (0 == g.search(h)) { + h = g.match(h)[0].length; + var l = g.substring(h).match(Ia); + l && null != l[1] && 0 < l[1].length && "0" == O(l[1], Ea) ? g = false : (E(b), b.g(g.substring(h)), g = true); + } else g = false; + g = g ? 5 : 20; + } + e && t(f, 6, g); + if (20 != g) { + if (2 >= b.h.length) throw Error("Phone number too short after IDD"); + a = eb(b, d); + if (0 != a) return t(f, 1, a), a; + throw Error("Invalid country calling code"); + } + if (null != c && (g = w(c, 10), h = "" + g, l = b.toString(), 0 == l.lastIndexOf(h, 0) && (h = new D(l.substring(h.length)), l = r(c, 1), l = new RegExp(w(l, 2)), gb(h, c, null), h = h.toString(), !N(l, b.toString()) && N(l, h) || 3 == W(a, b.toString(), c, -1)))) return d.g(h), e && t(f, 6, 10), t(f, 1, g), g; + t(f, 1, 0); + return 0; + } + function gb(a, b, c) { + var d = a.toString(), e = d.length, f = r(b, 15); + if (0 != e && null != f && 0 != f.length) { + var g = new RegExp("^(?:" + f + ")"); + if (e = g.exec(d)) { + f = new RegExp(w(r(b, 1), 2)); + var h = N(f, d), l = e.length - 1; + b = r(b, 16); + if (null == b || 0 == b.length || null == e[l] || 0 == e[l].length) { + if (!h || N(f, d.substring(e[0].length))) null != c && 0 < l && null != e[l] && c.g(e[1]), a.set(d.substring(e[0].length)); + } else if (d = d.replace(g, b), !h || N(f, d)) null != c && 0 < l && c.g(e[1]), a.set(d); + } + } + } + function Y(a, b, c) { + if (!P(c) && 0 < b.length && "+" != b.charAt(0)) throw Error("Invalid country calling code"); + return hb(a, b, c, true); + } + function hb(a, b, c, d) { + if (null == b) throw Error("The string supplied did not seem to be a phone number"); + if (250 < b.length) throw Error("The string supplied is too long to be a phone number"); + var e = new D(); + var f = b.indexOf(";phone-context="); + if (-1 === f) f = null; + else if (f += 15, f >= b.length) f = ""; + else { + var g = b.indexOf(";", f); + f = -1 !== g ? b.substring(f, g) : b.substring(f); + } + var h = f; + null == h ? g = true : 0 === h.length ? g = false : (g = Na.exec(h), h = Oa.exec(h), g = null !== g || null !== h); + if (!g) throw Error("The string supplied did not seem to be a phone number"); + null != f ? ("+" === f.charAt(0) && e.g(f), f = b.indexOf("tel:"), e.g(b.substring(0 <= f ? f + 4 : 0, b.indexOf(";phone-context=")))) : (f = e.g, g = b ?? "", h = g.search(Ja), 0 <= h ? (g = g.substring(h), g = g.replace(La, ""), h = g.search(Ka), 0 <= h && (g = g.substring(0, h))) : g = "", f.call(e, g)); + f = e.toString(); + g = f.indexOf(";isub="); + 0 < g && (E(e), e.g(f.substring(0, g))); + if (!Ua(e.toString())) throw Error("The string supplied did not seem to be a phone number"); + f = e.toString(); + if (!(P(c) || null != f && 0 < f.length && L.test(f))) throw Error("Invalid country calling code"); + f = new I(); + d && t(f, 5, b); + a: { + b = e.toString(); + g = b.search(Qa); + if (0 <= g && Ua(b.substring(0, g))) { + h = b.match(Qa); + for (var l = h.length, A = 1; A < l; ++A) if (null != h[A] && 0 < h[A].length) { + E(e); + e.g(b.substring(0, g)); + b = h[A]; + break a; + } + } + b = ""; + } + 0 < b.length && t(f, 3, b); + g = T(a, c); + b = new D(); + h = 0; + l = e.toString(); + try { + h = fb(a, l, g, b, d, f); + } catch (ca) { + if ("Invalid country calling code" == ca.message && L.test(l)) { + if (l = l.replace(L, ""), h = fb(a, l, g, b, d, f), 0 == h) throw ca; + } else throw ca; + } + 0 != h ? (e = S(h), e != c && (g = R(a, h, e))) : (Wa(e), b.g(e.toString()), null != c ? (h = w(g, 10), t( + f, + 1, + h + )) : d && (delete f.h[6], f.g && delete f.g[6])); + if (2 > b.h.length) throw Error("The string supplied is too short to be a phone number"); + null != g && (c = new D(), e = new D(b.toString()), gb(e, g, c), a = W(a, e.toString(), g, -1), 2 != a && 4 != a && 5 != a && (b = e, d && 0 < c.toString().length && t(f, 7, c.toString()))); + d = b.toString(); + a = d.length; + if (2 > a) throw Error("The string supplied is too short to be a phone number"); + if (17 < a) throw Error("The string supplied is too long to be a phone number"); + if (1 < d.length && "0" == d.charAt(0)) { + t(f, 4, true); + for (a = 1; a < d.length - 1 && "0" == d.charAt(a); ) a++; + 1 != a && t(f, 8, a); + } + t(f, 2, parseInt(d, 10)); + return f; + } + function N(a, b) { + return (a = b.match(new RegExp("^(?:" + ("string" == typeof a ? a : a.source) + ")$", "i"))) && a[0].length == b.length ? true : false; + } + ; + function ib(a) { + this.fa = RegExp("\u2008"); + this.ja = ""; + this.v = new D(); + this.da = ""; + this.s = new D(); + this.ba = new D(); + this.u = true; + this.ea = this.ca = this.la = false; + this.ga = K.g(); + this.$ = 0; + this.h = new D(); + this.ha = false; + this.o = ""; + this.g = new D(); + this.j = []; + this.ka = a; + this.l = jb(this, this.ka); + } + var kb = new H(); + t(kb, 11, "NA"); + var lb = RegExp("^[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*\\$1[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*(\\$\\d[-x\u2010-\u2015\u2212\u30FC\uFF0D-\uFF0F \xA0\xAD\u200B\u2060\u3000()\uFF08\uFF09\uFF3B\uFF3D.\\[\\]/~\u2053\u223C\uFF5E]*)*$"), mb = /[- ]/; + function jb(a, b) { + var c = a.ga; + b = P(b) ? db(c, b) : 0; + a = T(a.ga, S(b)); + return null != a ? a : kb; + } + function nb(a) { + for (var b = a.j.length, c = 0; c < b; ++c) { + var d = a.j[c], e = w(d, 1); + if (a.da == e) return false; + var f = a; + var g = d, h = w(g, 1); + E(f.v); + var l = f; + g = w(g, 2); + var A = "999999999999999".match(h)[0]; + A.length < l.g.h.length ? l = "" : (l = A.replace(new RegExp(h, "g"), g), l = l.replace(RegExp("9", "g"), "\u2008")); + 0 < l.length ? (f.v.g(l), f = true) : f = false; + if (f) return a.da = e, a.ha = mb.test(r(d, 4)), a.$ = 0, true; + } + return a.u = false; + } + function ob(a, b) { + for (var c = [], d = b.length - 3, e = a.j.length, f = 0; f < e; ++f) { + var g = a.j[f]; + 0 == x(g, 3) ? c.push(a.j[f]) : (g = r(g, 3, Math.min(d, x(g, 3) - 1)), 0 == b.search(g) && c.push(a.j[f])); + } + a.j = c; + } + function pb(a, b) { + a.s.g(b); + var c = b; + Ia.test(c) || 1 == a.s.h.length && Ha.test(c) ? ("+" == b ? (c = b, a.ba.g(b)) : (c = Ea[b], a.ba.g(c), a.g.g(c)), b = c) : (a.u = false, a.la = true); + if (!a.u) { + if (!a.la) { + if (qb(a)) { + if (rb(a)) return sb(a); + } else if (0 < a.o.length && (b = a.g.toString(), E(a.g), a.g.g(a.o), a.g.g(b), b = a.h.toString(), c = b.lastIndexOf(a.o), E(a.h), a.h.g(b.substring(0, c))), a.o != tb(a)) return a.h.g(" "), sb(a); + } + return a.s.toString(); + } + switch (a.ba.h.length) { + case 0: + case 1: + case 2: + return a.s.toString(); + case 3: + if (qb(a)) a.ea = true; + else return a.o = tb(a), ub(a); + default: + if (a.ea) return rb(a) && (a.ea = false), a.h.toString() + a.g.toString(); + if (0 < a.j.length) { + b = vb(a, b); + c = wb(a); + if (0 < c.length) return c; + ob(a, a.g.toString()); + return nb(a) ? xb(a) : a.u ? Z(a, b) : a.s.toString(); + } + return ub(a); + } + } + function sb(a) { + a.u = true; + a.ea = false; + a.j = []; + a.$ = 0; + E(a.v); + a.da = ""; + return ub(a); + } + function wb(a) { + for (var b = a.g.toString(), c = a.j.length, d = 0; d < c; ++d) { + var e = a.j[d], f = w(e, 1); + if (new RegExp("^(?:" + f + ")$").test(b) && (a.ha = mb.test(r(e, 4)), e = b.replace(new RegExp(f, "g"), r(e, 2)), e = Z(a, e), O(e, Fa) == a.ba)) return e; + } + return ""; + } + function Z(a, b) { + var c = a.h.h.length; + return a.ha && 0 < c && " " != a.h.toString().charAt(c - 1) ? a.h + " " + b : a.h + b; + } + function ub(a) { + var b = a.g.toString(); + if (3 <= b.length) { + for (var c = a.ca && 0 == a.o.length && 0 < x(a.l, 20) ? u(a.l, 20) : u(a.l, 19), d = c.length, e = 0; e < d; ++e) { + var f = c[e]; + 0 < a.o.length && Ya(w(f, 4)) && !r(f, 6) && !q(f, 5) || (0 != a.o.length || a.ca || Ya(w(f, 4)) || r(f, 6)) && lb.test(w(f, 2)) && a.j.push(f); + } + ob(a, b); + b = wb(a); + return 0 < b.length ? b : nb(a) ? xb(a) : a.s.toString(); + } + return Z(a, b); + } + function xb(a) { + var b = a.g.toString(), c = b.length; + if (0 < c) { + for (var d = "", e = 0; e < c; e++) d = vb(a, b.charAt(e)); + return a.u ? Z(a, d) : a.s.toString(); + } + return a.h.toString(); + } + function tb(a) { + var b = a.g.toString(), c = 0; + if (1 != r(a.l, 10)) var d = false; + else d = a.g.toString(), d = "1" == d.charAt(0) && "0" != d.charAt(1) && "1" != d.charAt(1); + d ? (c = 1, a.h.g("1").g(" "), a.ca = true) : q(a.l, 15) && (d = new RegExp("^(?:" + r(a.l, 15) + ")"), d = b.match(d), null != d && null != d[0] && 0 < d[0].length && (a.ca = true, c = d[0].length, a.h.g(b.substring(0, c)))); + E(a.g); + a.g.g(b.substring(c)); + return b.substring(0, c); + } + function qb(a) { + var b = a.ba.toString(), c = new RegExp("^(?:\\+|" + r(a.l, 11) + ")"); + c = b.match(c); + return null != c && null != c[0] && 0 < c[0].length ? (a.ca = true, c = c[0].length, E(a.g), a.g.g(b.substring(c)), E(a.h), a.h.g(b.substring(0, c)), "+" != b.charAt(0) && a.h.g(" "), true) : false; + } + function rb(a) { + if (0 == a.g.h.length) return false; + var b = new D(), c = eb(a.g, b); + if (0 == c) return false; + E(a.g); + a.g.g(b.toString()); + b = S(c); + "001" == b ? a.l = T(a.ga, "" + c) : b != a.ka && (a.l = jb(a, b)); + a.h.g("" + c).g(" "); + a.o = ""; + return true; + } + function vb(a, b) { + var c = a.v.toString(); + if (0 <= c.substring(a.$).search(a.fa)) { + var d = c.search(a.fa); + b = c.replace(a.fa, b); + E(a.v); + a.v.g(b); + a.$ = d; + return b.substring(0, a.$ + 1); + } + 1 == a.j.length && (a.u = false); + a.da = ""; + return a.s.toString(); + } + ; + const yb = { 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 }; + m("intlTelInputUtilsTemp", {}); + m("intlTelInputUtilsTemp.formatNumberAsYouType", (a, b) => { + try { + const c = a.replace(/[^+0-9]/g, ""), d = new ib(b); + b = ""; + for (let e = 0; e < c.length; e++) d.ja = pb(d, c.charAt(e)), b = d.ja; + return b; + } catch { + return a; + } + }); + m("intlTelInputUtilsTemp.formatNumber", (a, b, c) => { + try { + const e = K.g(), f = Y(e, a, b); + var d = X(e, f, -1); + return 0 == d || 4 == d ? e.format(f, "undefined" === typeof c ? 0 : c) : a; + } catch { + return a; + } + }); + m("intlTelInputUtilsTemp.getExampleNumber", (a, b, c, d) => { + try { + const l = K.g(); + a: { + var e = l; + if (P(a)) { + var f = U(T(e, a), c); + try { + if (q(f, 6)) { + var g = r(f, 6); + var h = hb(e, g, a, false); + break a; + } + } catch (A) { + } + } + h = null; + } + return l.format(h, d ? 0 : b ? 2 : 1); + } catch { + return ""; + } + }); + m("intlTelInputUtilsTemp.getExtension", (a, b) => { + try { + return r(Y(K.g(), a, b), 3); + } catch { + return ""; + } + }); + m("intlTelInputUtilsTemp.getNumberType", (a, b) => { + try { + const c = K.g(), d = Y(c, a, b); + return $a(c, d); + } catch { + return -99; + } + }); + m("intlTelInputUtilsTemp.getValidationError", (a, b) => { + if (!b) return 1; + try { + const c = K.g(), d = Y(c, a, b); + return X(c, d, -1); + } catch (c) { + return "Invalid country calling code" === c.message ? 1 : 3 >= a.length || "Phone number too short after IDD" === c.message || "The string supplied is too short to be a phone number" === c.message ? 2 : "The string supplied is too long to be a phone number" === c.message ? 3 : -99; + } + }); + m("intlTelInputUtilsTemp.isValidNumber", (a, b, c) => { + try { + const d = K.g(), e = Y(d, a, b), f = cb(d, e); + if (c) { + const g = c.map((h) => yb[h]); + return f && g.includes($a(d, e)); + } + return f; + } catch { + return false; + } + }); + m("intlTelInputUtilsTemp.isPossibleNumber", (a, b, c) => { + try { + const d = K.g(), e = Y(d, a, b); + if (c) { + c.includes("FIXED_LINE_OR_MOBILE") && (c.includes("MOBILE") || c.push("MOBILE"), c.includes("FIXED_LINE") || c.push("FIXED_LINE")); + for (let f of c) if (0 === X(d, e, yb[f])) return true; + return false; + } + return 0 === X(d, e, -1); + } catch { + return false; + } + }); + m("intlTelInputUtilsTemp.getCoreNumber", (a, b) => { + try { + return r(Y(K.g(), a, b), 2).toString(); + } catch { + return ""; + } + }); + m("intlTelInputUtilsTemp.numberFormat", { E164: 0, INTERNATIONAL: 1, NATIONAL: 2, RFC3966: 3 }); + m("intlTelInputUtilsTemp.numberType", yb); + m("intlTelInputUtilsTemp.validationError", { IS_POSSIBLE: 0, INVALID_COUNTRY_CODE: 1, TOO_SHORT: 2, TOO_LONG: 3, IS_POSSIBLE_LOCAL_ONLY: 4, INVALID_LENGTH: 5 }); + })(); + var utils = window.intlTelInputUtilsTemp; + delete window.intlTelInputUtilsTemp; + var utils_default = utils; + + // src/js/intl-tel-input/intlTelInputWithUtils.ts + intl_tel_input_default.utils = utils_default; + var intlTelInputWithUtils_default = intl_tel_input_default; + return __toCommonJS(intlTelInputWithUtils_exports); +})(); + +// UMD + return factoryOutput.default; +})); diff --git a/plugins/intl-tel-input/js/intlTelInputWithUtils.min.js b/plugins/intl-tel-input/js/intlTelInputWithUtils.min.js new file mode 100644 index 00000000..c321a346 --- /dev/null +++ b/plugins/intl-tel-input/js/intlTelInputWithUtils.min.js @@ -0,0 +1,20 @@ +/* + * International Telephone Input v25.3.0 + * https://github.com/jackocnr/intl-tel-input.git + * Licensed under the MIT license + */ + +// UMD +(function(factory) { + if (typeof module === 'object' && module.exports) { + module.exports = factory(); + } else { + window.intlTelInput = factory(); + } +}(() => { + +var factoryOutput=(()=>{var I1=Object.defineProperty;var x2=Object.getOwnPropertyDescriptor;var R2=Object.getOwnPropertyNames;var O2=Object.prototype.hasOwnProperty;var k2=(g,e)=>{for(var n in e)I1(g,n,{get:e[n],enumerable:!0})},B2=(g,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of R2(e))!O2.call(g,u)&&u!==n&&I1(g,u,{get:()=>e[u],enumerable:!(r=x2(e,u))||r.enumerable});return g};var H2=g=>B2(I1({},"__esModule",{value:!0}),g);var Y2={};k2(Y2,{default:()=>Z2});var s2=[["af","93"],["ax","358",1],["al","355"],["dz","213"],["as","1",5,["684"]],["ad","376"],["ao","244"],["ai","1",6,["264"]],["ag","1",7,["268"]],["ar","54"],["am","374"],["aw","297"],["ac","247"],["au","61",0,null,"0"],["at","43"],["az","994"],["bs","1",8,["242"]],["bh","973"],["bd","880"],["bb","1",9,["246"]],["by","375"],["be","32"],["bz","501"],["bj","229"],["bm","1",10,["441"]],["bt","975"],["bo","591"],["ba","387"],["bw","267"],["br","55"],["io","246"],["vg","1",11,["284"]],["bn","673"],["bg","359"],["bf","226"],["bi","257"],["kh","855"],["cm","237"],["ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905"]],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"]],["cf","236"],["td","235"],["cl","56"],["cn","86"],["cx","61",2,["89164"],"0"],["cc","61",1,["89162"],"0"],["co","57"],["km","269"],["cg","242"],["cd","243"],["ck","682"],["cr","506"],["ci","225"],["hr","385"],["cu","53"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"]],["do","1",2,["809","829","849"]],["ec","593"],["eg","20"],["sv","503"],["gq","240"],["er","291"],["ee","372"],["sz","268"],["et","251"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0],["fr","33"],["gf","594"],["pf","689"],["ga","241"],["gm","220"],["ge","995"],["de","49"],["gh","233"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"]],["gp","590",0],["gu","1",15,["671"]],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36"],["is","354"],["in","91"],["id","62"],["ir","98"],["iq","964"],["ie","353"],["im","44",2,["1624","74576","7524","7924","7624"],"0"],["il","972"],["it","39",0],["jm","1",4,["876","658"]],["jp","81"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962"],["kz","7",1,["33","7"],"8"],["ke","254"],["ki","686"],["xk","383"],["kw","965"],["kg","996"],["la","856"],["lv","371"],["lb","961"],["ls","266"],["lr","231"],["ly","218"],["li","423"],["lt","370"],["lu","352"],["mo","853"],["mg","261"],["mw","265"],["my","60"],["mv","960"],["ml","223"],["mt","356"],["mh","692"],["mq","596"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373"],["mc","377"],["mn","976"],["me","382"],["ms","1",16,["664"]],["ma","212",0,null,"0"],["mz","258"],["mm","95"],["na","264"],["nr","674"],["np","977"],["nl","31"],["nc","687"],["nz","64"],["ni","505"],["ne","227"],["ng","234"],["nu","683"],["nf","672"],["kp","850"],["mk","389"],["mp","1",17,["670"]],["no","47",0],["om","968"],["pk","92"],["pw","680"],["ps","970"],["pa","507"],["pg","675"],["py","595"],["pe","51"],["ph","63"],["pl","48"],["pt","351"],["pr","1",3,["787","939"]],["qa","974"],["re","262",0,null,"0"],["ro","40"],["ru","7",0,null,"8"],["rw","250"],["ws","685"],["sm","378"],["st","239"],["sa","966"],["sn","221"],["rs","381"],["sc","248"],["sl","232"],["sg","65"],["sx","1",21,["721"]],["sk","421"],["si","386"],["sb","677"],["so","252"],["za","27"],["kr","82"],["ss","211"],["es","34"],["lk","94"],["bl","590",1],["sh","290"],["kn","1",18,["869"]],["lc","1",19,["758"]],["mf","590",2],["pm","508"],["vc","1",20,["784"]],["sd","249"],["sr","597"],["sj","47",1,["79"]],["se","46"],["ch","41"],["sy","963"],["tw","886"],["tj","992"],["tz","255"],["th","66"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"]],["tn","216"],["tr","90"],["tm","993"],["tc","1",23,["649"]],["tv","688"],["ug","256"],["ua","380"],["ae","971"],["gb","44",0,null,"0"],["us","1",0],["uy","598"],["vi","1",24,["340"]],["uz","998"],["vu","678"],["va","39",1,["06698"]],["ve","58"],["vn","84"],["wf","681"],["eh","212",1,["5288","5289"],"0"],["ye","967"],["zm","260"],["zw","263"]],u2=[];for(let g=0;gg.replace(/\D/g,""),h2=(g="")=>g.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),c2=g=>{let e=c1(g);if(e.charAt(0)==="1"){let n=e.substr(1,3);return V2.includes(n)}return!1},j2=(g,e,n,r)=>{if(n===0&&!r)return 0;let u=0;for(let l=0;l{let r=document.createElement(g);return e&&Object.entries(e).forEach(([u,l])=>r.setAttribute(u,l)),n&&n.appendChild(r),r},e1=(g,...e)=>{let{instances:n}=f;Object.values(n).forEach(r=>r[g](...e))},b1=class{constructor(e,n={}){this.id=K2++,this.telInput=e,this.highlightedItem=null,this.options=Object.assign({},p2,n),this.hadInitialPlaceholder=!!e.getAttribute("placeholder")}_init(){this.options.useFullscreenPopup&&(this.options.fixDropdownWidth=!1),this.options.onlyCountries.length===1&&(this.options.initialCountry=this.options.onlyCountries[0]),this.options.separateDialCode&&(this.options.nationalMode=!1),this.options.allowDropdown&&!this.options.showFlags&&!this.options.separateDialCode&&(this.options.nationalMode=!1),this.options.useFullscreenPopup&&!this.options.dropdownContainer&&(this.options.dropdownContainer=document.body),this.isAndroid=typeof navigator<"u"?/Android/i.test(navigator.userAgent):!1,this.isRTL=!!this.telInput.closest("[dir=rtl]");let e=this.options.allowDropdown||this.options.separateDialCode;this.showSelectedCountryOnLeft=this.isRTL?!e:e,this.options.separateDialCode&&(this.isRTL?this.originalPaddingRight=this.telInput.style.paddingRight:this.originalPaddingLeft=this.telInput.style.paddingLeft),this.options.i18n={..._1,...this.options.i18n};let n=new Promise((u,l)=>{this.resolveAutoCountryPromise=u,this.rejectAutoCountryPromise=l}),r=new Promise((u,l)=>{this.resolveUtilsScriptPromise=u,this.rejectUtilsScriptPromise=l});this.promise=Promise.all([n,r]),this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}_processCountryData(){this._processAllCountries(),this._processDialCodes(),this._translateCountryNames(),this._sortCountries()}_sortCountries(){this.options.countryOrder&&(this.options.countryOrder=this.options.countryOrder.map(e=>e.toLowerCase())),this.countries.sort((e,n)=>{let{countryOrder:r}=this.options;if(r){let u=r.indexOf(e.iso2),l=r.indexOf(n.iso2),p=u>-1,y=l>-1;if(p||y)return p&&y?u-l:p?-1:1}return e.name.localeCompare(n.name)})}_addToDialCodeMap(e,n,r){n.length>this.dialCodeMaxLen&&(this.dialCodeMaxLen=n.length),this.dialCodeToIso2Map.hasOwnProperty(n)||(this.dialCodeToIso2Map[n]=[]);for(let l=0;lu.toLowerCase());this.countries=K.filter(u=>r.includes(u.iso2))}else if(n.length){let r=n.map(u=>u.toLowerCase());this.countries=K.filter(u=>!r.includes(u.iso2))}else this.countries=K}_translateCountryNames(){for(let e=0;e`),l+=`${n.name}`,l+=`+${n.dialCode}`,u.insertAdjacentHTML("beforeend",l)}}_setInitialState(e=!1){let n=this.telInput.getAttribute("value"),r=this.telInput.value,l=n&&n.charAt(0)==="+"&&(!r||r.charAt(0)!=="+")?n:r,p=this._getDialCode(l),y=c2(l),{initialCountry:m,geoIpLookup:_}=this.options,I=m==="auto"&&_;if(p&&!y)this._updateCountryFromNumber(l);else if(!I||e){let L=m?m.toLowerCase():"";L&&this._getCountryData(L,!0)?this._setCountry(L):p&&y?this._setCountry("us"):this._setCountry()}l&&this._updateValFromNumber(l)}_initListeners(){this._initTelInputListeners(),this.options.allowDropdown&&this._initDropdownListeners(),(this.hiddenInput||this.hiddenInputCountry)&&this.telInput.form&&this._initHiddenInputListener()}_initHiddenInputListener(){this._handleHiddenInputSubmit=()=>{this.hiddenInput&&(this.hiddenInput.value=this.getNumber()),this.hiddenInputCountry&&(this.hiddenInputCountry.value=this.getSelectedCountryData().iso2||"")},this.telInput.form?.addEventListener("submit",this._handleHiddenInputSubmit)}_initDropdownListeners(){this._handleLabelClick=n=>{this.dropdownContent.classList.contains("iti__hide")?this.telInput.focus():n.preventDefault()};let e=this.telInput.closest("label");e&&e.addEventListener("click",this._handleLabelClick),this._handleClickSelectedCountry=()=>{this.dropdownContent.classList.contains("iti__hide")&&!this.telInput.disabled&&!this.telInput.readOnly&&this._openDropdown()},this.selectedCountry.addEventListener("click",this._handleClickSelectedCountry),this._handleCountryContainerKeydown=n=>{this.dropdownContent.classList.contains("iti__hide")&&["ArrowUp","ArrowDown"," ","Enter"].includes(n.key)&&(n.preventDefault(),n.stopPropagation(),this._openDropdown()),n.key==="Tab"&&this._closeDropdown()},this.countryContainer.addEventListener("keydown",this._handleCountryContainerKeydown)}_initRequests(){let{loadUtils:e,initialCountry:n,geoIpLookup:r}=this.options;e&&!f.utils?(this._handlePageLoad=()=>{window.removeEventListener("load",this._handlePageLoad),f.attachUtils(e)?.catch(()=>{})},f.documentReady()?this._handlePageLoad():window.addEventListener("load",this._handlePageLoad)):this.resolveUtilsScriptPromise(),n==="auto"&&r&&!this.selectedCountryData.iso2?this._loadAutoCountry():this.resolveAutoCountryPromise()}_loadAutoCountry(){f.autoCountry?this.handleAutoCountry():f.startedLoadingAutoCountry||(f.startedLoadingAutoCountry=!0,typeof this.options.geoIpLookup=="function"&&this.options.geoIpLookup((e="")=>{let n=e.toLowerCase();n&&this._getCountryData(n,!0)?(f.autoCountry=n,setTimeout(()=>e1("handleAutoCountry"))):(this._setInitialState(!0),e1("rejectAutoCountryPromise"))},()=>{this._setInitialState(!0),e1("rejectAutoCountryPromise")}))}_openDropdownWithPlus(){this._openDropdown(),this.searchInput.value="+",this._filterCountries("",!0)}_initTelInputListeners(){let{strictMode:e,formatAsYouType:n,separateDialCode:r,formatOnDisplay:u,allowDropdown:l,countrySearch:p}=this.options,y=!1;/\p{L}/u.test(this.telInput.value)&&(y=!0),this._handleInputEvent=m=>{if(this.isAndroid&&m?.data==="+"&&r&&l&&p){let b=this.telInput.selectionStart||0,k=this.telInput.value.substring(0,b-1),E=this.telInput.value.substring(b);this.telInput.value=k+E,this._openDropdownWithPlus();return}this._updateCountryFromNumber(this.telInput.value)&&this._triggerCountryChange();let _=m?.data&&/[^+0-9]/.test(m.data),I=m?.inputType==="insertFromPaste"&&this.telInput.value;_||I&&!e?y=!0:/[^+0-9]/.test(this.telInput.value)||(y=!1);let L=m?.detail&&m.detail.isSetNumber&&!u;if(n&&!y&&!L){let b=this.telInput.selectionStart||0,E=this.telInput.value.substring(0,b).replace(/[^+0-9]/g,"").length,N=m?.inputType==="deleteContentForward",z=this._formatNumberAsYouType(),Z=j2(E,z,b,N);this.telInput.value=z,this.telInput.setSelectionRange(Z,Z)}},this.telInput.addEventListener("input",this._handleInputEvent),(e||r)&&(this._handleKeydownEvent=m=>{if(m.key&&m.key.length===1&&!m.altKey&&!m.ctrlKey&&!m.metaKey){if(r&&l&&p&&m.key==="+"){m.preventDefault(),this._openDropdownWithPlus();return}if(e){let _=this.telInput.value,I=_.charAt(0)==="+",L=!I&&this.telInput.selectionStart===0&&m.key==="+",b=/^[0-9]$/.test(m.key),k=r?b:L||b,E=_.slice(0,this.telInput.selectionStart)+m.key+_.slice(this.telInput.selectionEnd),N=this._getFullNumber(E),z=f.utils.getCoreNumber(N,this.selectedCountryData.iso2),Z=this.maxCoreNumberLength&&z.length>this.maxCoreNumberLength,$1=!1;if(I){let p1=this.selectedCountryData.iso2;$1=this._getCountryFromNumber(N)!==p1}(!k||Z&&!$1&&!L)&&m.preventDefault()}}},this.telInput.addEventListener("keydown",this._handleKeydownEvent))}_cap(e){let n=parseInt(this.telInput.getAttribute("maxlength")||"",10);return n&&e.length>n?e.substr(0,n):e}_trigger(e,n={}){let r=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});this.telInput.dispatchEvent(r)}_openDropdown(){let{fixDropdownWidth:e,countrySearch:n}=this.options;if(e&&(this.dropdownContent.style.width=`${this.telInput.offsetWidth}px`),this.dropdownContent.classList.remove("iti__hide"),this.selectedCountry.setAttribute("aria-expanded","true"),this._setDropdownPosition(),n){let r=this.countryList.firstElementChild;r&&(this._highlightListItem(r,!1),this.countryList.scrollTop=0),this.searchInput.focus()}this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}_setDropdownPosition(){if(this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),!this.options.useFullscreenPopup){let e=this.telInput.getBoundingClientRect(),n=this.telInput.offsetHeight;this.options.dropdownContainer&&(this.dropdown.style.top=`${e.top+n}px`,this.dropdown.style.left=`${e.left}px`,this._handleWindowScroll=()=>this._closeDropdown(),window.addEventListener("scroll",this._handleWindowScroll))}}_bindDropdownListeners(){this._handleMouseoverCountryList=u=>{let l=u.target?.closest(".iti__country");l&&this._highlightListItem(l,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=u=>{let l=u.target?.closest(".iti__country");l&&this._selectListItem(l)},this.countryList.addEventListener("click",this._handleClickCountryList);let e=!0;this._handleClickOffToClose=()=>{e||this._closeDropdown(),e=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);let n="",r=null;if(this._handleKeydownOnDropdown=u=>{["ArrowUp","ArrowDown","Enter","Escape"].includes(u.key)&&(u.preventDefault(),u.stopPropagation(),u.key==="ArrowUp"||u.key==="ArrowDown"?this._handleUpDownKey(u.key):u.key==="Enter"?this._handleEnterKey():u.key==="Escape"&&this._closeDropdown()),!this.options.countrySearch&&/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(u.key)&&(u.stopPropagation(),r&&clearTimeout(r),n+=u.key.toLowerCase(),this._searchForCountry(n),r=setTimeout(()=>{n=""},1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown),this.options.countrySearch){let u=()=>{let p=this.searchInput.value.trim();p?this._filterCountries(p):this._filterCountries("",!0)},l=null;this._handleSearchChange=()=>{l&&clearTimeout(l),l=setTimeout(()=>{u(),l=null},100)},this.searchInput.addEventListener("input",this._handleSearchChange),this.searchInput.addEventListener("click",p=>p.stopPropagation())}}_searchForCountry(e){for(let n=0;nI[0]).join("").toLowerCase(),_=`+${p.dialCode}`;if(n||y.includes(u)||_.includes(u)||p.iso2.includes(u)||m.includes(u)){let I=p.nodeById[this.id];I&&this.countryList.appendChild(I),r&&(this._highlightListItem(I,!1),r=!1)}}r&&this._highlightListItem(null,!1),this.countryList.scrollTop=0,this._updateSearchResultsText()}_updateSearchResultsText(){let{i18n:e}=this.options,n=this.countryList.childElementCount,r;n===0?r=e.zeroSearchResults:n===1?r=e.oneSearchResult:r=e.multipleSearchResults.replace("${count}",n.toString()),this.searchResultsA11yText.textContent=r}_handleUpDownKey(e){let n=e==="ArrowUp"?this.highlightedItem?.previousElementSibling:this.highlightedItem?.nextElementSibling;!n&&this.countryList.childElementCount>1&&(n=e==="ArrowUp"?this.countryList.lastElementChild:this.countryList.firstElementChild),n&&(this._scrollTo(n),this._highlightListItem(n,!1))}_handleEnterKey(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}_updateValFromNumber(e){let n=e;if(this.options.formatOnDisplay&&f.utils&&this.selectedCountryData){let r=this.options.nationalMode||n.charAt(0)!=="+"&&!this.options.separateDialCode,{NATIONAL:u,INTERNATIONAL:l}=f.utils.numberFormat,p=r?u:l;n=f.utils.formatNumber(n,this.selectedCountryData.iso2,p)}n=this._beforeSetNumber(n),this.telInput.value=n}_updateCountryFromNumber(e){let n=this._getCountryFromNumber(e);return n!==null?this._setCountry(n):!1}_ensureHasDialCode(e){let{dialCode:n,nationalPrefix:r}=this.selectedCountryData;if(e.charAt(0)==="+"||!n)return e;let p=r&&e.charAt(0)===r&&!this.options.separateDialCode?e.substring(1):e;return`+${n}${p}`}_getCountryFromNumber(e){let n=e.indexOf("+"),r=n?e.substring(n):e,u=this.selectedCountryData.iso2,l=this.selectedCountryData.dialCode;r=this._ensureHasDialCode(r);let p=this._getDialCode(r,!0),y=c1(r);if(p){let m=c1(p),_=this.dialCodeToIso2Map[m];if(!u&&this.defaultCountry&&_.includes(this.defaultCountry))return this.defaultCountry;let I=u&&_.includes(u)&&(y.length===m.length||!this.selectedCountryData.areaCodes);if(!(l==="1"&&c2(y))&&!I){for(let b=0;b<_.length;b++)if(_[b])return _[b]}}else{if(r.charAt(0)==="+"&&y.length)return"";if((!r||r==="+")&&!this.selectedCountryData.iso2)return this.defaultCountry}return null}_highlightListItem(e,n){let r=this.highlightedItem;if(r&&(r.classList.remove("iti__highlight"),r.setAttribute("aria-selected","false")),this.highlightedItem=e,this.highlightedItem){this.highlightedItem.classList.add("iti__highlight"),this.highlightedItem.setAttribute("aria-selected","true");let u=this.highlightedItem.getAttribute("id")||"";this.selectedCountry.setAttribute("aria-activedescendant",u),this.options.countrySearch&&this.searchInput.setAttribute("aria-activedescendant",u)}n&&this.highlightedItem.focus()}_getCountryData(e,n){for(let r=0;rp){let L=u-y;n.scrollTop=I-L}}_updateDialCode(e){let n=this.telInput.value,r=`+${e}`,u;if(n.charAt(0)==="+"){let l=this._getDialCode(n);l?u=n.replace(l,r):u=r,this.telInput.value=u}}_getDialCode(e,n){let r="";if(e.charAt(0)==="+"){let u="";for(let l=0;l-1){let r=e.substring(0,n),u=this._utilsIsPossibleNumber(r),l=this._utilsIsPossibleNumber(e);return u&&l}return this._utilsIsPossibleNumber(e)}_utilsIsPossibleNumber(e){return f.utils?f.utils.isPossibleNumber(e,this.selectedCountryData.iso2,this.options.validationNumberTypes):null}isValidNumberPrecise(){if(!this.selectedCountryData.iso2)return!1;let e=this._getFullNumber(),n=e.search(/\p{L}/u);if(n>-1){let r=e.substring(0,n),u=this._utilsIsValidNumber(r),l=this._utilsIsValidNumber(e);return u&&l}return this._utilsIsValidNumber(e)}_utilsIsValidNumber(e){return f.utils?f.utils.isValidNumber(e,this.selectedCountryData.iso2,this.options.validationNumberTypes):null}setCountry(e){let n=e?.toLowerCase(),r=this.selectedCountryData.iso2;(e&&n!==r||!e&&r)&&(this._setCountry(n),this._updateDialCode(this.selectedCountryData.dialCode),this._triggerCountryChange())}setNumber(e){let n=this._updateCountryFromNumber(e);this._updateValFromNumber(e),n&&this._triggerCountryChange(),this._trigger("input",{isSetNumber:!0})}setPlaceholderNumberType(e){this.options.placeholderNumberType=e,this._updatePlaceholder()}setDisabled(e){this.telInput.disabled=e,e?this.selectedCountry.setAttribute("disabled","true"):this.selectedCountry.removeAttribute("disabled")}},W2=g=>{if(!f.utils&&!f.startedLoadingUtilsScript){let e;if(typeof g=="function")try{e=Promise.resolve(g())}catch(n){return Promise.reject(n)}else return Promise.reject(new TypeError(`The argument passed to attachUtils must be a function that returns a promise for the utilities module, not ${typeof g}`));return f.startedLoadingUtilsScript=!0,e.then(n=>{let r=n?.default;if(!r||typeof r!="object")throw new TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export.");return f.utils=r,e1("handleUtils"),!0}).catch(n=>{throw e1("rejectUtilsScriptPromise",n),n})}return null},f=Object.assign((g,e)=>{let n=new b1(g,e);return n._init(),g.setAttribute("data-intl-tel-input-id",n.id.toString()),f.instances[n.id]=n,n},{defaults:p2,documentReady:()=>document.readyState==="complete",getCountryData:()=>K,getInstance:g=>{let e=g.getAttribute("data-intl-tel-input-id");return e?f.instances[e]:null},instances:{},attachUtils:W2,startedLoadingUtilsScript:!1,startedLoadingAutoCountry:!1,version:"25.3.0"}),S1=f;(function(){var g=this||self;function e(d,t){d=d.split(".");var $=g;d[0]in $||typeof $.execScript>"u"||$.execScript("var "+d[0]);for(var i;d.length&&(i=d.shift());)d.length||t===void 0?$[i]&&$[i]!==Object.prototype[i]?$=$[i]:$=$[i]={}:$[i]=t}function n(d,t){function $(){}$.prototype=t.prototype,d.ma=t.prototype,d.prototype=new $,d.prototype.constructor=d,d.sa=function(i,o,s){for(var a=Array(arguments.length-2),h=2;hd.length?!1:B(T2,d)}function B1(d){return B(S2,d)?o1(d,y2):o1(d,g1)}function H1(d){var t=B1(d.toString());R(d),d.g(t)}function G1(d){return d!=null&&(G(d,9)!=1||D(d,9)[0]!=-1)}function o1(d,t){for(var $=new w,i,o=d.length,s=0;st?2:s[s.length-1]=o&&o<=i;++o)if($=parseInt(d.substring(0,o),10),$ in q)return t.g(d.substring(o)),$;return 0}function z1(d,t,$,i,o,s){if(t.length==0)return 0;t=new w(t);var a;$!=null&&(a=c($,11)),a==null&&(a="NonMatch");var h=t.toString();if(h.length==0)a=20;else if(X.test(h))h=h.replace(X,""),R(t),t.g(B1(h)),a=1;else{if(h=new RegExp(a),H1(t),a=t.toString(),a.search(h)==0){h=a.match(h)[0].length;var C=a.substring(h).match(x1);C&&C[1]!=null&&0=t.h.length)throw Error("Phone number too short after IDD");if(d=W1(t,i),d!=0)return A(s,1,d),d;throw Error("Invalid country calling code")}return $!=null&&(a=v($,10),h=""+a,C=t.toString(),C.lastIndexOf(h,0)==0&&(h=new w(C.substring(h.length)),C=c($,1),C=new RegExp(v(C,2)),Z1(h,$,null),h=h.toString(),!B(C,t.toString())&&B(C,h)||a1(d,t.toString(),$,-1)==3))?(i.g(h),o&&A(s,6,10),A(s,1,a),a):(A(s,1,0),0)}function Z1(d,t,$){var i=d.toString(),o=i.length,s=c(t,15);if(o!=0&&s!=null&&s.length!=0){var a=new RegExp("^(?:"+s+")");if(o=a.exec(i)){s=new RegExp(v(c(t,1),2));var h=B(s,i),C=o.length-1;t=c(t,16),t==null||t.length==0||o[C]==null||o[C].length==0?(!h||B(s,i.substring(o[0].length)))&&($!=null&&0=t.length)s="";else{var a=t.indexOf(";",s);s=a!==-1?t.substring(s,a):t.substring(s)}var h=s;if(h==null?a=!0:h.length===0?a=!1:(a=L2.exec(h),h=w2.exec(h),a=a!==null||h!==null),!a||(s!=null?(s.charAt(0)==="+"&&o.g(s),s=t.indexOf("tel:"),o.g(t.substring(0<=s?s+4:0,t.indexOf(";phone-context=")))):(s=o.g,a=t??"",h=a.search(I2),0<=h?(a=a.substring(h),a=a.replace(b2,""),h=a.search(_2),0<=h&&(a=a.substring(0,h))):a="",s.call(o,a)),s=o.toString(),a=s.indexOf(";isub="),0t.h.length||(a!=null&&($=new w,o=new w(t.toString()),Z1(o,a,$),d=a1(d,o.toString(),a,-1),d!=2&&d!=4&&d!=5&&(t=o,i&&0<$.toString().length&&A(s,7,$.toString()))),i=t.toString(),d=i.length,2>d))throw Error("The string supplied is too short to be a phone number");if(17{try{let $=d.replace(/[^+0-9]/g,""),i=new M2(t);t="";for(let o=0;o<$.length;o++)i.ja=P2(i,$.charAt(o)),t=i.ja;return t}catch{return d}}),e("intlTelInputUtilsTemp.formatNumber",(d,t,$)=>{try{let o=M.g(),s=W(o,d,t);var i=l1(o,s,-1);return i==0||i==4?o.format(s,typeof $>"u"?0:$):d}catch{return d}}),e("intlTelInputUtilsTemp.getExampleNumber",(d,t,$,i)=>{try{let C=M.g();d:{var o=C;if(s1(d)){var s=u1(F(o,d),$);try{if(x(s,6)){var a=c(s,6),h=Y1(o,a,d,!1);break d}}catch{}}h=null}return C.format(h,i?0:t?2:1)}catch{return""}}),e("intlTelInputUtilsTemp.getExtension",(d,t)=>{try{return c(W(M.g(),d,t),3)}catch{return""}}),e("intlTelInputUtilsTemp.getNumberType",(d,t)=>{try{let $=M.g(),i=W($,d,t);return K1($,i)}catch{return-99}}),e("intlTelInputUtilsTemp.getValidationError",(d,t)=>{if(!t)return 1;try{let $=M.g(),i=W($,d,t);return l1($,i,-1)}catch($){return $.message==="Invalid country calling code"?1:3>=d.length||$.message==="Phone number too short after IDD"||$.message==="The string supplied is too short to be a phone number"?2:$.message==="The string supplied is too long to be a phone number"?3:-99}}),e("intlTelInputUtilsTemp.isValidNumber",(d,t,$)=>{try{let i=M.g(),o=W(i,d,t),s=A2(i,o);if($){let a=$.map(h=>y1[h]);return s&&a.includes(K1(i,o))}return s}catch{return!1}}),e("intlTelInputUtilsTemp.isPossibleNumber",(d,t,$)=>{try{let i=M.g(),o=W(i,d,t);if($){$.includes("FIXED_LINE_OR_MOBILE")&&($.includes("MOBILE")||$.push("MOBILE"),$.includes("FIXED_LINE")||$.push("FIXED_LINE"));for(let s of $)if(l1(i,o,y1[s])===0)return!0;return!1}return l1(i,o,-1)===0}catch{return!1}}),e("intlTelInputUtilsTemp.getCoreNumber",(d,t)=>{try{return c(W(M.g(),d,t),2).toString()}catch{return""}}),e("intlTelInputUtilsTemp.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),e("intlTelInputUtilsTemp.numberType",y1),e("intlTelInputUtilsTemp.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5})})();var z2=window.intlTelInputUtilsTemp;delete window.intlTelInputUtilsTemp;var f2=z2;S1.utils=f2;var Z2=S1;return H2(Y2);})(); + +// UMD + return factoryOutput.default; +})); diff --git a/plugins/intl-tel-input/js/utils.js b/plugins/intl-tel-input/js/utils.js new file mode 100644 index 00000000..bbcf029d --- /dev/null +++ b/plugins/intl-tel-input/js/utils.js @@ -0,0 +1,527 @@ +(function () {/* + + Copyright The Closure Library Authors. + SPDX-License-Identifier: Apache-2.0 +*/ +var k=this||self;function m(a,b){a=a.split(".");var c=k;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b}function n(a,b){function c(){}c.prototype=b.prototype;a.ma=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.sa=function(d,e,f){for(var g=Array(arguments.length-2),h=2;ha.length?!1:N(Ra,a)}function Va(a){return N(Ma,a)?O(a,Ga):O(a,Ea)}function Wa(a){var b=Va(a.toString());E(a);a.g(b)}function Xa(a){return null!=a&&(1!=x(a,9)||-1!=u(a,9)[0])}function O(a,b){for(var c=new D,d,e=a.length,f=0;fb?2:f[f.length-1]=e&&e<=d;++e)if(c=parseInt(a.substring(0,e),10),c in J)return b.g(a.substring(e)),c;return 0} +function fb(a,b,c,d,e,f){if(0==b.length)return 0;b=new D(b);var g;null!=c&&(g=r(c,11));null==g&&(g="NonMatch");var h=b.toString();if(0==h.length)g=20;else if(L.test(h))h=h.replace(L,""),E(b),b.g(Va(h)),g=1;else{h=new RegExp(g);Wa(b);g=b.toString();if(0==g.search(h)){h=g.match(h)[0].length;var l=g.substring(h).match(Ia);l&&null!=l[1]&&0=b.h.length)throw Error("Phone number too short after IDD"); +a=eb(b,d);if(0!=a)return t(f,1,a),a;throw Error("Invalid country calling code");}if(null!=c&&(g=w(c,10),h=""+g,l=b.toString(),0==l.lastIndexOf(h,0)&&(h=new D(l.substring(h.length)),l=r(c,1),l=new RegExp(w(l,2)),gb(h,c,null),h=h.toString(),!N(l,b.toString())&&N(l,h)||3==W(a,b.toString(),c,-1))))return d.g(h),e&&t(f,6,10),t(f,1,g),g;t(f,1,0);return 0} +function gb(a,b,c){var d=a.toString(),e=d.length,f=r(b,15);if(0!=e&&null!=f&&0!=f.length){var g=new RegExp("^(?:"+f+")");if(e=g.exec(d)){f=new RegExp(w(r(b,1),2));var h=N(f,d),l=e.length-1;b=r(b,16);if(null==b||0==b.length||null==e[l]||0==e[l].length){if(!h||N(f,d.substring(e[0].length)))null!=c&&0=b.length)f="";else{var g=b.indexOf(";",f);f=-1!==g?b.substring(f,g):b.substring(f)}var h=f;null==h?g=!0:0===h.length?g=!1:(g=Na.exec(h),h=Oa.exec(h),g=null!==g||null!==h);if(!g)throw Error("The string supplied did not seem to be a phone number"); +null!=f?("+"===f.charAt(0)&&e.g(f),f=b.indexOf("tel:"),e.g(b.substring(0<=f?f+4:0,b.indexOf(";phone-context=")))):(f=e.g,g=b??"",h=g.search(Ja),0<=h?(g=g.substring(h),g=g.replace(La,""),h=g.search(Ka),0<=h&&(g=g.substring(0,h))):g="",f.call(e,g));f=e.toString();g=f.indexOf(";isub=");0b.h.length)throw Error("The string supplied is too short to be a phone number");null!=g&&(c=new D,e=new D(b.toString()),gb(e,g,c),a=W(a,e.toString(),g,-1),2!=a&&4!=a&&5!=a&&(b=e,d&&0a)throw Error("The string supplied is too short to be a phone number");if(17{try{const c=a.replace(/[^+0-9]/g,""),d=new ib(b);b="";for(let e=0;e{try{const e=K.g(),f=Y(e,a,b);var d=X(e,f,-1);return 0==d||4==d?e.format(f,"undefined"===typeof c?0:c):a}catch{return a}});m("intlTelInputUtilsTemp.getExampleNumber",(a,b,c,d)=>{try{const l=K.g();a:{var e=l;if(P(a)){var f=U(T(e,a),c);try{if(q(f,6)){var g=r(f,6);var h=hb(e,g,a,!1);break a}}catch(A){}}h=null}return l.format(h,d?0:b?2:1)}catch{return""}});m("intlTelInputUtilsTemp.getExtension",(a,b)=>{try{return r(Y(K.g(),a,b),3)}catch{return""}}); +m("intlTelInputUtilsTemp.getNumberType",(a,b)=>{try{const c=K.g(),d=Y(c,a,b);return $a(c,d)}catch{return-99}});m("intlTelInputUtilsTemp.getValidationError",(a,b)=>{if(!b)return 1;try{const c=K.g(),d=Y(c,a,b);return X(c,d,-1)}catch(c){return"Invalid country calling code"===c.message?1:3>=a.length||"Phone number too short after IDD"===c.message||"The string supplied is too short to be a phone number"===c.message?2:"The string supplied is too long to be a phone number"===c.message?3:-99}}); +m("intlTelInputUtilsTemp.isValidNumber",(a,b,c)=>{try{const d=K.g(),e=Y(d,a,b),f=cb(d,e);if(c){const g=c.map(h=>yb[h]);return f&&g.includes($a(d,e))}return f}catch{return!1}});m("intlTelInputUtilsTemp.isPossibleNumber",(a,b,c)=>{try{const d=K.g(),e=Y(d,a,b);if(c){c.includes("FIXED_LINE_OR_MOBILE")&&(c.includes("MOBILE")||c.push("MOBILE"),c.includes("FIXED_LINE")||c.push("FIXED_LINE"));for(let f of c)if(0===X(d,e,yb[f]))return!0;return!1}return 0===X(d,e,-1)}catch{return!1}}); +m("intlTelInputUtilsTemp.getCoreNumber",(a,b)=>{try{return r(Y(K.g(),a,b),2).toString()}catch{return""}});m("intlTelInputUtilsTemp.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3});m("intlTelInputUtilsTemp.numberType",yb);m("intlTelInputUtilsTemp.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5});})(); +const utils = window.intlTelInputUtilsTemp; +delete window.intlTelInputUtilsTemp; +export default utils;