1import{P as Gt}from"./Profile-uXlJbEEy.js";import{d0 as Ht,h as Kt,V as ge,T as Wt,dE as qt,_ as L,b as U,a as G,z as q,x as z,L as N,m as ee,dF as I,du as zt,l as te,X as ue,c as J}from"./main-B_SAsu2e.js";import{F as Ce}from"./Panel-B2cGo1hV.js";import{P as xt}from"./PasswordInput-BR3_YEfn.js";import{T as be}from"./TitleInfoButton-CkSqHXJv.js";import{a as c,I as H,o as C,f as T,b as w,A as s,s as m,t as $,l as A,g as h,k as S,p as u,v as vt,x as Zt,F as Q,d as Jt,N as Ie,ak as Qt,w as Z,r as Xt,c as de,Y as en,y as ae,j as W,M as ze,z as we,u as tn,B as nn,m as on,K as dn,al as xe,q as Ze,J as an}from"./vendor-codemirror-CsRMRzWL.js";import{m as ne}from"./ButtonGroup-DteN2-a_.js";import{B as rn}from"./TagPill-DDuGOfD8.js";import{N as ye}from"./Radio-DXj3t7CC.js";import{u as he}from"./useConfirmModal-OuZoMTEU.js";import{b as sn,v as ln}from"./validations-EvEZ4llG.js";import{V as un}from"./ValidationMixin-D-RXf7xG.js";import{h as $n}from"./httpErrorHandler-YOlql0B8.js";import"./Breadcrumbs-DSWpjV0B.js";import"./textOverflowTooltip-D4BIxkCx.js";import"./vendor-highcharts-DJOjmI7G.js";import"./expandAnimation-LBpmPDtK.js";import"./ToggleTip-BiZRjfkp.js";const cn=[["Afghanistan (â«Ø§ÙØºØ§ÙØ³ØªØ§Ùâ¬â)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (â«Ø§Ùجزائرâ¬â)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (ÕÕ¡ÕµÕ¡Õ½Õ¿Õ¡Õ¶)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Ãsterreich)","at","43"],["Azerbaijan (AzÉrbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (â«Ø§ÙØ¨ØØ±ÙÙâ¬â)","bh","973"],["Bangladesh (বাà¦à¦²à¦¾à¦¦à§à¦¶)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (ÐелаÑÑÑÑ)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འà½à¾²à½´à½)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (ÐоÑна и ХеÑÑеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (ÐÑлгаÑиÑ)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (ááááá»áá¶)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","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","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (ä¸å½)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (â«Ø¬Ø²Ø± اÙÙÙ
رâ¬â)","km","269"],["Congo (DRC) (République démocratique du Congo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte dâIvoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (ÎÏÏÏοÏ)","cy","357"],["Czech Republic (Äeská republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (â«Ù
صرâ¬â)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (á¡áá¥áá ááááá)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["G
1ibraltar","gi","350"],["Greece (Îλλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (馿¸¯)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ãsland)","is","354"],["India (à¤à¤¾à¤°à¤¤)","in","91"],["Indonesia","id","62"],["Iran (â«Ø§ÛراÙâ¬â)","ir","98"],["Iraq (â«Ø§ÙعراÙâ¬â)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (â«×שר××â¬â)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (æ¥æ¬)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (â«Ø§ÙأردÙâ¬â)","jo","962"],["Kazakhstan (ÐазаÑ
ÑÑан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (â«Ø§ÙÙÙÙØªâ¬â)","kw","965"],["Kyrgyzstan (ÐÑÑгÑзÑÑан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (â«ÙØ¨ÙØ§Ùâ¬â)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (â«ÙÙØ¨Ùاâ¬â)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (æ¾³é)","mo","853"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (â«Ù
ÙØ±ÙتاÙÙØ§â¬â)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Ðонгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (â«Ø§ÙÙ
غربâ¬â)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (áá¼ááºáá¬)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नà¥à¤ªà¤¾à¤²)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (ì¡°ì 민주주ì ì¸ë¯¼ ê³µíêµ)","kp","850"],["North Macedonia (СевеÑна ÐакедониÑа)","mk","389"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (â«Ø¹ÙÙ
اÙâ¬â)","om","968"],["Pakistan (â«Ù¾Ø§Ú©Ø³ØªØ§Ùâ¬â)","pk","92"],["Palau","pw","680"],["Palestine (â«ÙÙØ³Ø·ÙÙâ¬â)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (â«Ùطرâ¬â)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (РоÑÑиÑ)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and PrÃncipe (São Tomé e PrÃncipe)","st","239"],["Saudi Arabia (â«Ø§ÙÙ
Ù
ÙÙØ© Ø§ÙØ¹Ø±Ø¨ÙØ© Ø§ÙØ³Ø¹ÙØ¯ÙØ©â¬â)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (СÑбиÑа)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["S
1omalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (ëí민êµ)","kr","82"],["South Sudan (â«Ø¬ÙÙØ¨ Ø§ÙØ³ÙداÙâ¬â)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (à·à·âර෠ලà¶à¶à·à·)","lk","94"],["Sudan (â«Ø§ÙØ³ÙØ¯Ø§Ùâ¬â)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (â«Ø³ÙØ±ÙØ§â¬â)","sy","963"],["Taiwan (å°ç£)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (à¹à¸à¸¢)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (â«ØªÙÙØ³â¬â)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (УкÑаÑна)","ua","380"],["United Arab Emirates (â«Ø§ÙØ¥Ù
ارات Ø§ÙØ¹Ø±Ø¨ÙØ© اÙÙ
ØªØØ¯Ø©â¬â)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (OÊ»zbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Viá»t Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (â«Ø§ÙØµØØ±Ø§Ø¡ Ø§ÙØºØ±Ø¨ÙØ©â¬â)","eh","212",1,["5288","5289"]],["Yemen (â«Ø§ÙÙÙ
Ùâ¬â)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Ã
land Islands","ax","358",1,["18"]]],pn=cn.map(([e,t,n,o=0,d=null])=>({name:e,iso2:t.toUpperCase(),dialCode:n,priority:o,areaCodes:d}));function fn(){return fetch("https://ip2c.org/s").then(e=>e.text()).then(e=>{const t=(e||"").toString();if(!t||t[0]!=="1")throw new Error("unable to fetch the country");return t.substr(2,2)})}function hn(e,t){if(e.setSelectionRange)e.focus(),e.setSelectionRange(t,t);else if("createTextRange"in e&&typeof e.createTextRange=="function"){const n=e.createTextRange();n.collapse(!0),n.moveEnd("character",t),n.moveStart("character",t),n.select()}}const mn=[{name:"allCountries",type:Array,default:pn,description:"All countries that are used in <code>libphonenumber-js</code>, can be overridden by this prop",inDemo:!1},{name:"autoFormat",type:Boolean,default:!0,description:"Auto update the input to the formatted phone number when it's valid",inDemo:!0},{name:"customValidate",type:[Boolean,RegExp],default:!1,description:"Custom validation RegExp for input",inDemo:!1},{name:"defaultCountry",default:"",type:[String,Number],description:"Default country (by iso2 or dialCode), will override the country fetched from IP address of user",inDemo:!1},{name:"disabled",default:!1,type:Boolean,description:"Disable <code>vue-tel-input</code>, including the input & flag dropdown",inDemo:!1},{name:"autoDefaultCountry",default:!0,type:Boolean,description:"To fetch default country based on IP address of user",inDemo:!1},{name:"dropdownOptions",type:Object,description:"Options for dropdown, see below",inDemo:!1},{name:"dropdownOptions.disabled",default:!1,type:Boolean,description:"Disable dropdown",inDemo:!1},{name:"dropdownOptions.showDialCodeInList",default:!0,type:Boolean,description:"Show dial code in the dropdown list",inDemo:!0},{name:"dropdownOptions.showDialCodeInSelection",default:!1,type:Boolean,description:"Show dial code in the dropdown selection",inDemo:!0},{name:"dropdownOptions.showFlags",default:!0,type:Boolean,description:"Show flags in the dropdown selection and list",inDemo:!0},{name:"dropdownOptions.showSearchBox",default:!1,type:Boolean,description:"Show country search box",inDemo:!0},{name:"dropdownOptions.searchBoxPlaceholder",default:"",type:String,description:"Placeholder for the search box",inDemo:!1},{name:"dropdownOptions.tabindex",default:0,type:Number,description:"Native dropdown <code>tabindex</code> attribute",inDemo:!1},{name:"ignoredCountries",default:[],type:Array,description:"List of countries will NOT be shown on the dropdown",inDemo:!1},{name:"inputOptions",type:Object,description:"Options for input, see below",inDemo:!1},{name:"inputOptions.autocomplete",type:String,default:"on",description:"Native input <code>autocomplete</code> attribute",inDemo:!1},{name:"inputOptions.autofocus",type:Boolean,default:!1,description:"Native input <code>autofocus</code> attribute",inDemo:!1},{name:"inputOptions.aria-describedby",default:"",type:String,description:"Native input <code>aria-describedby</code> attribute",inDemo:!1},{name:"inputOptions.id",default:"",type:String,description:"Native input <code>id</code> attribute",inDemo:!1},{name:"inputOptions.maxlength",default:25,type:Number,description:"Native input <code>maxlength</code> attribute",inDemo:!1}
vendor: 9,252 bytes, line 1
1,{name:"inputOptions.name",default:"telephone",type:String,description:"Native input <code>name</code> attribute",inDemo:!1},{name:"inputOptions.showDialCode",default:!1,type:Boolean,description:"Show dial code in input",inDemo:!1},{name:"inputOptions.placeholder",default:"Enter a phone number",type:String,description:"Placeholder for the input",inDemo:!1},{name:"inputOptions.readonly",default:!1,type:Boolean,description:"Native input <code>readonly</code> attribute",inDemo:!1},{name:"inputOptions.required",default:!1,type:Boolean,description:"Native input <code>required</code> attribute",inDemo:!1},{name:"inputOptions.tabindex",default:0,type:Number,description:"Native input <code>tabindex</code> attribute",inDemo:!1},{name:"inputOptions.type",default:"tel",type:String,description:"Native input <code>type</code> attribute",inDemo:!1},{name:"inputOptions.styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the <code>input</code>",inDemo:!1},{name:"invalidMsg",default:"",type:String,description:"",inDemo:!1},{name:"mode",default:"auto",type:String,description:"Allowed values: <code>'auto'</code> (Default set by phone), <code>'international'</code> (Format number with the dial code i.e. + 61), <code>'national'</code> (Format number without dial code i.e. 0321232)",inDemo:!0,options:["auto","national","international"]},{name:"onlyCountries",default:[],type:Array,description:"List of countries will be shown on the dropdown",inDemo:!1},{name:"preferredCountries",default:[],type:Array,description:"Preferred countries list, will be on top of the dropdown",inDemo:!1},{name:"styleClasses",default:"",type:[String,Array,Object],description:"Custom classes for the wrapper",inDemo:!1},{name:"validCharactersOnly",default:!1,type:Boolean,description:"Only allow valid characters in a phone number (will also verify in <code>mounted</code>, so phone number with invalid characters will be shown as an empty string)",inDemo:!1}],_n=[...mn].reduce((e,t)=>{if(t.name.includes(".")){const[n,o]=t.name.split(".");e[n]?Object.assign(e[n],{[o]:t.default}):Object.assign(e,{[n]:{[o]:t.default}})}else Object.assign(e,{[t.name]:t.default});return e},{}),Je={options:{..._n}};function M(e){const t=Je.options[e];return typeof t>"u"?Je.options[e]:t}function ie(e){return e?.toLowerCase()}function re(e){return e?.toUpperCase()}const gn={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-4
16-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|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]))|(?: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}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[24-689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]]]],BL:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-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],[["(\\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)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\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"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?: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|73)|90[25])[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\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{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{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"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","10(?:10|9[56])|2[0-57-9](?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4}
1)","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:60\\d\\d|9101)\\d{6}|(?:1\\d|3)\\d{9}",[10,11],[["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|63\\d{6}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:(?:79|94)[01]|83[0-389])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[0-26-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"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)","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0235])|4(?:[0-5]\\d\\d|69[7-9]|70[0-79])|(?:(?: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-2]))|(?: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])
1))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","[56]94\\d{6}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[56]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\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",["[67]"],"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-5]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","(?:(?:00[1-9]|8\\d)\\d{4}|[1-36])\\d{6}|00\\d{10}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2
1-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)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11],[["(\\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]"]],["(\\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"]]],0,0,0,0,0,0,[["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}"],["3[1-9]\\d{8}|3[2-9]\\d{7}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],0,0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97[7-9]))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2
1-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",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"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",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[013-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[25]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[4-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(8-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(8-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(8-$1)",1]],"8",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|9)|8(?:0[89]|92)","5(?:2(?:[2-49]|8[235-9])|3[5-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"]],"0",0,0,0,0,0,[["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}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-2]|5[01]|8[0-3]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","590\\d{6}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:395|76[018])\\d|475[0-5])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","596\\d{6}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[569]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","1(?:(?:[27]2|44|87|99)[1-9]|65[0-689])\\d{7}|(?:1(?:[01]\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-69]|9[1-8])|[2-9]\\d)\\d{8}",[10,11],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"],0,1],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 $3 $4",["1(?:33|5[56]|81)"],0,1],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 $3 $4",["1"],0,1]],"01",0,"0(?:[12]|4[45])|1",0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[047]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:[124-7]|9\\d{3})\\d{6}|[1-9]\\d{7}|[78]\\d{9,13}",[7,8,10,11,12,13,14],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-7]|8[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7}
1)","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|80\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-6])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-5]|76(?:2[27]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[2378]\\d|62|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","(?:[1-6]|[7-9]\\d\\d)\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","800\\d{4}|(?:[249]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-8]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|77|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|[89]00\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-39]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[69]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2679]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","[1-6]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","20
124"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:5056(?:[0-35-9]\\d|4[468])|73020\\d)\\d{4}|(?:4722|505[2-57-9]|983[289])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[0149]|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]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|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}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","810","(?:20|33|[5-79]\\d|88)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72)\\d{4}|8\\d{5}(?:\\d{3})?",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[478]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","[23]\\d{7,8}|(?:4\\d\\d|[89]00)\\d{5}",[8,9],[["(\\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",["[23]"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|5[0-4]|6\\d|[78]0)\\d{4}"],["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|63|[79]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[79]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[35-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[35-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4}
1)","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,0,0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function Cn(e,t){var n=Array.prototype.slice.call(t);return n.push(gn),e.apply(this,n)}function Le(e){"@babel/helpers - typeof";return Le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Le(e)}function bn(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function yn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vn(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&se(e,t)}function On(e){var t=Et();return function(){var n=le(e),o;if(t){var d=le(this).constructor;o=Reflect.construct(n,arguments,d)}else o=n.apply(this,arguments);return En(this,o)}}function En(e,t){if(t&&(Le(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ot(e)}function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fe(e){var t=typeof Map=="function"?new Map:void 0;return Fe=function(n){if(n===null||!Pn(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return pe(n,arguments,le(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),se(o,n)},Fe(e)}function pe(e,t,n){return Et()?pe=Reflect.construct:pe=function(o,d,a){var l=[null];l.push.apply(l,d);var r=Function.bind.apply(o,l),p=new r;return a&&se(p,a.prototype),p},pe.apply(null,arguments)}function Et(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Pn(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function se(e,t){return se=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},se(e,t)}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},le(e)}var V=(function(e){vn(n,e);var t=On(n);function n(o){var d;return yn(this,n),d=t.call(this,o),Object.setPrototypeOf(Ot(d),n.prototype),d.name=d.constructor.name,d}return bn(n)})(Fe(Error)),Ye=2,Tn=17,Nn=3,B="0-9ï¼-ï¼Ù -Ù©Û°-Û¹",In="-â-ââã¼ï¼",wn="ï¼/",Rn="ï¼.",Sn="  Âââ ã",Mn="()ï¼ï¼ï¼»ï¼½\\[\\]",An="~ââ¼ï½",me="".concat(In).concat(wn).concat(Rn).concat(Sn).concat(Mn).concat(An),Ve="+ï¼";function Qe(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),o=t[0].split("."),d=0;d<3;d++){var a=Number(n[d]),l=Number(o[d]);if(a>l)return 1;if(l>a)return-1;if(!isNaN(a)&&isNaN(l))return 1;if(isNaN(a)&&!isNaN(l))return-1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var Ln={}.constructor;function fe(e){return e!=null&&e.constructor===Ln}function ke(e){"@babel/helpers - typeof";return ke=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ke(e)}function ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fn(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Oe(e,t,n){return t&&Fn(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var kn="1.2.0",Un="1.7.35",Xe=" ext. ",Dn=/^\d+$/,F=(function(){function e(t){ve(this,e),jn(t),this.metadata=t,Pt.call(this,t)}return Oe(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(t){return t!=="001"})}},{key:"getCountryMetadata",value:function(t){return this.metadata.countries[t]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(t){return this.getCountryMetadata(t)!==void 0}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;
vendor: 6,299 bytes, line 1
1if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var n=this.countryCallingCodes()[t];if(n&&n.length===1&&n[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(t){return this.nonGeographic()?!!this.nonGeographic()[t]:!this.getCountryCodesForCallingCode(t)}},{key:"country",value:function(t){return this.selectNumberingPlan(t)}},{key:"selectNumberingPlan",value:function(t,n){if(t&&Dn.test(t)&&(n=t,t=null),t&&t!=="001"){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new et(this.getCountryMetadata(t),this)}else if(n){if(!this.hasCallingCode(n))throw new Error("Unknown calling code: ".concat(n));this.numberingPlan=new et(this.getNumberingPlanMetadata(n),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var n=this.countryCallingCodes()[t];if(n)return n.length===1&&n[0].length===3?void 0:n}},{key:"getCountryCodeForCallingCode",value:function(t){var n=this.getCountryCodesForCallingCode(t);if(n)return n[0]}},{key:"getNumberingPlanMetadata",value:function(t){var n=this.getCountryCodeForCallingCode(t);if(n)return this.getCountryMetadata(n);if(this.nonGeographic()){var o=this.nonGeographic()[t];if(o)return o}else{var d=this.countryCallingCodes()[t];if(d&&d.length===1&&d[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(t){return this.numberingPlan.type(t)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(t){return this.selectNumberingPlan(t)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}]),e})(),et=(function(){function e(t,n){ve(this,e),this.globalMetadataObject=n,this.metadata=t,Pt.call(this,n.metadata)}return Oe(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(t){return t[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var t=this,n=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return n.map(function(o){return new Bn(o,t)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(t){return t[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(t){if(this.hasTypes()&&tt(this.types(),t))return new Vn(tt(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?Xe:this.metadata[13]||Xe}}]),e})(),Bn=(function(){function e(t,n){ve(this,e),this._format=t,this.metadata=n}return Oe(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!Yn.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),e})(),Yn=/^\(?\$1\)?$/,Vn=(function(){function e(t,n){ve(this,e),this.type=t,this.metadata=n}return Oe(e,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
vendor: 21,044 bytes, lines 1-5
1ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]),e})();function tt(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function jn(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!fe(e)||!fe(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(fe(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Gn(e)+": "+e,"."))}var Gn=function(e){return ke(e)};function je(e,t){if(t=new F(t),t.hasCountry(e))return t.country(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Hn(e,t){return t.countries.hasOwnProperty(e)}function Pt(e){var t=e.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?Qe(t,kn)===-1?this.v2=!0:Qe(t,Un)===-1?this.v3=!0:this.v4=!0:this.v1=!0}var Kn=";ext=",X=function(e){return"([".concat(B,"]{1,").concat(e,"})")};function Tt(e){var t="20",n="15",o="9",d="6",a="[  \\t,]*",l="[:\\.ï¼]?[  \\t,-]*",r="#?",p="(?:e?xt(?:ensi(?:oÌ?|ó))?n?|ï½ ?ï½ï½ï½?|доб|anexo)",i="(?:[xï½#ï¼~ï½]|int|ï½ï½ï½)",g="[- ]+",y="[  \\t]*",O="(?:,{2}|;)",v=Kn+X(t),b=a+p+l+X(t)+r,D=a+i+l+X(o)+r,Y=g+X(d)+"#",oe=y+O+l+X(n)+r,K=y+"(?:,)+"+l+X(o)+r;return v+"|"+b+"|"+D+"|"+Y+"|"+oe+"|"+K}var Wn="["+B+"]{"+Ye+"}",qn="["+Ve+"]{0,1}(?:["+me+"]*["+B+"]){3,}["+me+B+"]*",zn=new RegExp("^["+Ve+"]{0,1}(?:["+me+"]*["+B+"]){1,2}$","i"),xn=qn+"(?:"+Tt()+")?",Zn=new RegExp("^"+Wn+"$|^"+xn+"$","i");function Jn(e){return e.length>=Ye&&Zn.test(e)}function Qn(e){return zn.test(e)}var nt=new RegExp("(?:"+Tt()+")$","i");function Xn(e){var t=e.search(nt);if(t<0)return{};for(var n=e.slice(0,t),o=e.match(nt),d=1;d<o.length;){if(o[d])return{number:n,ext:o[d]};d++}}var eo={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","ï¼":"0","ï¼":"1","ï¼":"2","ï¼":"3","ï¼":"4","ï¼":"5","ï¼":"6","ï¼":"7","ï¼":"8","ï¼":"9","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9"};function to(e){return eo[e]}function no(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=oo(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oo(e,t){if(e){if(typeof e=="string")return ot(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ot(e,t)}}function ot(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function dt(e){for(var t="",n=no(e.split("")),o;!(o=n()).done;){var d=o.value;t+=ao(d,t)||""}return t}function ao(e,t){return e==="+"?t?void 0:"+":to(e)}function Ge(e,t){return io(e,void 0,t)}function io(e,t,n){var o=n.type(t),d=o&&o.possibleLengths()||n.possibleLengths();if(!d)return"IS_POSSIBLE";var a=e.length,l=d[0];return l===a?"IS_POSSIBLE":l>a?"TOO_SHORT":d[d.length-1]<a?"TOO_LONG":d.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function ro(e,t,n){if(t===void 0&&(t={}),n=new F(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Nt(e.phone||e.nationalNumber,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Nt(e,t){switch(Ge(e,t)){case"IS_POSSIBLE":return!0;default:return!1}}function j(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function so(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=lo(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lo(e,t){if(e){if(typeof e=="string")return at(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return at(e,t)}}function at(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var uo=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function He(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){n=new F(n),n.selectNumberingPlan(e.country,e.countryCallingCode);var o=t.v2?e.nationalNumber:e.phone;if(j(o,n.nationalNumberPattern())){if(Re(o,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||Re(o,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var d=so(uo),a;!(a=d()).done;){var l=a.value;if(Re(o,l,n))return l}}}}function Re(e,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0?!1:j(e,t.pattern())}function $o(e,t,n){if(t=t||{},n=new F(n),n.selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes())return He(e,t,n.metadata)!==void 0;var o=t.v2?e.nationalNumber:e.phone;return j(o,n.nationalNumberPattern())}function co(e,t,n){var o=new F(n),d=o.getCountryCodesForCallingCode(e);return d?d.filter(function(a){return po(t,a,n)}):[]}function po(e,t,n){var o=new F(n);return o.selectNumberingPlan(t),o.numberingPlan.possibleLengths().indexOf(e.length)>=0}function fo(e){return e.replace(new RegExp("[".concat(me,"]+"),"g")," ").trim()}var ho=/(\$\d)/;function mo(e,t,n){var o=n.useInternationalFormat,d=n.withNationalPrefix,a=e.replace(new RegExp(t.pattern()),o?t.internationalFormat():d&&t.nationalPrefixFormattingRule()?t.format().replace(ho,t.nationalPrefixFormattingRule()):t.format());return o?fo(a):a}var _o=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function go(e,t,n){var o=new F(n);if(o.selectNumberingPlan(e,t),o.defaultIDDPrefix())return o.defaultIDDPrefix();if(_o.test(o.IDDPrefix()))return o.IDDPrefix()}function Co(e){var t=e.number,n=e.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}function bo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=yo(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 4In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yo(e,t){if(e){if(typeof e=="string")return it(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return it(e,t)}}function it(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})),n.push.apply(n,o)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?rt(Object(n),!0).forEach(function(o){vo(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rt(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function vo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lt={formatExtension:function(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function Oo(e,t,n,o){if(n?n=st(st({},lt),n):n=lt,o=new F(o),e.country&&e.country!=="001"){if(!o.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));o.country(e.country)}else if(e.countryCallingCode)o.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var d=o.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone,l;switch(t){case"NATIONAL":return a?(l=_e(a,e.carrierCode,"NATIONAL",o,n),Se(l,e.ext,o,n.formatExtension)):"";case"INTERNATIONAL":return a?(l=_e(a,null,"INTERNATIONAL",o,n),l="+".concat(d," ").concat(l),Se(l,e.ext,o,n.formatExtension)):"+".concat(d);case"E.164":return"+".concat(d).concat(a);case"RFC3966":return Co({number:"+".concat(d).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var r=Po(a,e.carrierCode,d,n.fromCountry,o);return Se(r,e.ext,o,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function _e(e,t,n,o,d){var a=Eo(o.formats(),e);return a?mo(e,a,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&d&&d.nationalPrefix===!1)}):e}function Eo(e,t){for(var n=bo(e),o;!(o=n()).done;){var d=o.value;if(d.leadingDigitsPatterns().length>0){var a=d.leadingDigitsPatterns()[d.leadingDigitsPatterns().length-1];if(t.search(a)!==0)continue}if(j(t,d.pattern()))return d}}function Se(e,t,n,o){return t?o(e,t,n):e}function Po(e,t,n,o,d){var a=je(o,d.metadata);if(a===n){var l=_e(e,t,"NATIONAL",d);return n==="1"?n+" "+l:l}var r=go(o,void 0,d.metadata);if(r)return"".concat(r," ").concat(n," ").concat(_e(e,null,"INTERNATIONAL",d))}function ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})),n.push.apply(n,o)}return n}function $t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ut(Object(n),!0).forEach(function(o){To(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function To(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function No(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Io(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function wo(e,t,n){return t&&Io(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var Ro=(function(){function e(t,n,o){if(No(this,e),!t)throw new TypeError("`country` or `countryCallingCode` not passed");if(!n)throw new TypeError("`nationalNumber` not passed");if(!o)throw new TypeError("`metadata` not passed");var d=Mo(t,o),a=d.country,l=d.countryCallingCode;this.country=a,this.countryCallingCode=l,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return o}}return wo(e,[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:co(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return ro(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return $o(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var t=new F(this.getMetadata());return t.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return He(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,n){return Oo(this,t,n?$t($t({},n),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(t){return this.format("NATIONAL",t)}},{key:"formatInternational",value:function(t){return this.format("INTERNATIONAL",t)}},{key:"getURI",value:function(t){return this.format("RFC3966",t)}}]),e})(),So=function(e){return/^[A-Z]{2}$/.test(e)};function Mo(e,t){var n,o,d=new F(t);return So(e)?(n=e,d.selectNumberingPlan(n),o=d.countryCallingCode()):o=e,{country:n,countryCallingCode:o}}var Ao=new RegExp("(["+B+"])");function Lo(e,t,n,o){if(t){var d=new F(o);d.selectNumberingPlan(t,n);var a=new RegExp(d.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var l=e.match(Ao);if(!(l&&l[1]!=null&&l[1].length>0&&l[1]==="0"))return e}}}function Fo(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),o=n.exec(e);if(o){var d,a,l=o.length-1,r=l>0&&o[l];if(t.nationalPrefixTransformRule()&&r)d=e.replace(n,t.nationalPrefixTransformRule()),l>1&&(a=o[1]);else{var p=o[0];d=e.slice(p.length),r&&(a=o[1])}var i;if(r){var g=e.indexOf(o[1]),y=e.slice(0,g);y===t.numberingPlan.nationalPrefix()&&(i=t.numberingPlan.nationalPrefix())}else i=o[0];return{nationalNumber:d,nationalPrefix:i,carrierCode:a}}}return{nationalNumber:e}}function Ue(e,t){var n=Fo(e,t),o=n.carrierCode,d=n.nationalNumber;if(d!==e){if(!ko(e,d,t))return{nationalNumber:e};if(t.possibleLengths()&&!Uo(d,t))return{nationalNumber:e}}return{nationalNumber:d,carrierCode:o}}function ko(e,t,n){return!(j(e,n.nationalNumberPattern())&&!j(t,n.nationalNumberPattern()))}function Uo(e,t){switch(Ge(e,t)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Do(e,t,n,o){var d=t?je(t,o):n;if(e.indexOf(d)===0){o=new F(o),o.selectNumberingPlan(t,n);var a=e.slice(d.length),l=Ue(a,o),r=l.nationalNumber,p=Ue(e,o),i=p.nationalNumber;if(!j(i,o.nationalNumberPattern())&&j(r,o.nationalNumberPattern())||Ge(i,o)==="TOO_LONG")return{countryCallingCode:d,number:a}}return{number:e}}function Bo(e,t,n,o){if(!e)return{};var d;if(e[0]!=="+"){var a=Lo(e,t,n,o);if(a&&a!==e)d=!0,e="+"+a;else{if(t||n){var l=Do(e,t,n,o),r=l.countryCallingCode,p=l.number;if(r)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:r,number:p}}return{number:e}}}if(e[1]==="0")return{};o=new F(o);for(var i=2;i-1<=Nn&&i<=e.length;){var g=e.slice(1,i);if(o.hasCallingCode(g))return o.selectNumberingPlan(g),{countryCallingCodeSource:d?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:g,number:e.slice(i)};i++}return{}}function Yo(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=Vo(e))||t){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. 5In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vo(e,t){if(e){if(typeof e=="string")return ct(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ct(e,t)}}function ct(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function jo(e,t){var n=t.countries,o=t.defaultCountry,d=t.metadata;d=new F(d);for(var a=[],l=Yo(n),r;!(r=l()).done;){var p=r.value;if(d.country(p),d.leadingDigits()){if(e&&e.search(d.leadingDigits())===0)return p}else if(He({phone:e,country:p},void 0,d.metadata))if(o){if(p===o)return p;a.push(p)}else return p}if(a.length>0)return a[0]}function Go(e,t){var n=t.nationalNumber,o=t.defaultCountry,d=t.metadata,a=d.getCountryCodesForCallingCode(e);if(a)return a.length===1?a[0]:jo(n,{countries:a,defaultCountry:o,metadata:d.metadata})}var It="+",Ho="[\\-\\.\\(\\)]?",pt="(["+B+"]|"+Ho+")",Ko="^\\"+It+pt+"*["+B+"]"+pt+"*$",Wo=new RegExp(Ko,"g"),De=B,qo="["+De+"]+((\\-)*["+De+"])*",zo="a-zA-Z",xo="["+zo+"]+((\\-)*["+De+"])*",Zo="^("+qo+"\\.)*"+xo+"\\.?$",Jo=new RegExp(Zo,"g"),ft="tel:",Be=";phone-context=",Qo=";isub=";function Xo(e){var t=e.indexOf(Be);if(t<0)return null;var n=t+Be.length;if(n>=e.length)return"";var o=e.indexOf(";",n);return o>=0?e.substring(n,o):e.substring(n)}function ed(e){return e===null?!0:e.length===0?!1:Wo.test(e)||Jo.test(e)}function td(e,t){var n=t.extractFormattedPhoneNumber,o=Xo(e);if(!ed(o))throw new V("NOT_A_NUMBER");var d;if(o===null)d=n(e)||"";else{d="",o.charAt(0)===It&&(d+=o);var a=e.indexOf(ft),l;a>=0?l=a+ft.length:l=0;var r=e.indexOf(Be);d+=e.substring(l,r)}var p=d.indexOf(Qo);if(p>0&&(d=d.substring(0,p)),d!=="")return d}var nd=250,od=new RegExp("["+Ve+B+"]"),dd=new RegExp("[^"+B+"#]+$");function ad(e,t,n){if(t=t||{},n=new F(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new V("INVALID_COUNTRY"):new Error("Unknown country: ".concat(t.defaultCountry));var o=rd(e,t.v2,t.extract),d=o.number,a=o.ext,l=o.error;if(!d){if(t.v2)throw l==="TOO_SHORT"?new V("TOO_SHORT"):new V("NOT_A_NUMBER");return{}}var r=ld(d,t.defaultCountry,t.defaultCallingCode,n),p=r.country,i=r.nationalNumber,g=r.countryCallingCode,y=r.countryCallingCodeSource,O=r.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new V("INVALID_COUNTRY");return{}}if(!i||i.length<Ye){if(t.v2)throw new V("TOO_SHORT");return{}}if(i.length>Tn){if(t.v2)throw new V("TOO_LONG");return{}}if(t.v2){var v=new Ro(g,i,n.metadata);return p&&(v.country=p),O&&(v.carrierCode=O),a&&(v.ext=a),v.__countryCallingCodeSource=y,v}var b=(t.extended?n.hasSelectedNumberingPlan():p)?j(i,n.nationalNumberPattern()):!1;return t.extended?{country:p,countryCallingCode:g,carrierCode:O,valid:b,possible:b?!0:!!(t.extended===!0&&n.possibleLengths()&&Nt(i,n)),phone:i,ext:a}:b?sd(p,i,a):{}}function id(e,t,n){if(e){if(e.length>nd){if(n)throw new V("TOO_LONG");return}if(t===!1)return e;var o=e.search(od);if(!(o<0))return e.slice(o).replace(dd,"")}}function rd(e,t,n){var o=td(e,{extractFormattedPhoneNumber:function(a){return id(a,n,t)}});if(!o)return{};if(!Jn(o))return Qn(o)?{error:"TOO_SHORT"}:{};var d=Xn(o);return d.ext?d:{number:o}}function sd(e,t,n){var o={country:e,phone:t};return n&&(o.ext=n),o}function ld(e,t,n,o){var d=Bo(dt(e),t,n,o.metadata),a=d.countryCallingCodeSource,l=d.countryCallingCode,r=d.number,p;if(l)o.selectNumberingPlan(l);else if(r&&(t||n))o.selectNumberingPlan(t,n),t&&(p=t),l=n||je(t,o.metadata);else return{};if(!r)return{countryCallingCodeSource:a,countryCallingCode:l};var i=Ue(dt(r),o),g=i.nationalNumber,y=i.carrierCode,O=Go(l,{nationalNumber:g,defaultCountry:t,metadata:o});return O&&(p=O,O==="001"||o.country(p)),{country:p,countryCallingCode:l,countryCallingCodeSource:a,nationalNumber:g,carrierCode:y}}function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})),n.push.apply(n,o)}return n}function mt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ht(Object(n),!0).forEach(function(o){ud(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function ud(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $d(e,t,n){return ad(e,mt(mt({},t),{},{v2:!0}),n)}function _t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})),n.push.apply(n,o)}return n}function cd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_t(Object(n),!0).forEach(function(o){pd(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_t(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function pd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fd(e,t){return gd(e)||_d(e,t)||md(e,t)||hd()}
5function hd(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 6In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function md(e,t){if(e){if(typeof e=="string")return gt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return gt(e,t)}}function gt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function _d(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o=[],d=!0,a=!1,l,r;try{for(n=n.call(e);!(d=(l=n.next()).done)&&(o.push(l.value),!(t&&o.length===t));d=!0);}catch(p){a=!0,r=p}finally{try{!d&&n.return!=null&&n.return()}finally{if(a)throw r}}return o}}function gd(e){if(Array.isArray(e))return e}function Cd(e){var t=Array.prototype.slice.call(e),n=fd(t,4),o=n[0],d=n[1],a=n[2],l=n[3],r,p,i;if(typeof o=="string")r=o;else throw new TypeError("A text for parsing must be a string.");if(!d||typeof d=="string")l?(p=a,i=l):(p=void 0,i=a),d&&(p=cd({defaultCountry:d},p));else if(fe(d))a?(p=d,i=a):i=d;else throw new Error("Invalid second argument: ".concat(d));return{text:r,options:p,metadata:i}}function Ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(d){return Object.getOwnPropertyDescriptor(e,d).enumerable})),n.push.apply(n,o)}return n}function bt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ct(Object(n),!0).forEach(function(o){bd(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ct(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function bd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yd(e,t,n){t&&t.defaultCountry&&!Hn(t.defaultCountry,n)&&(t=bt(bt({},t),{},{defaultCountry:void 0}));try{return $d(e,t,n)}catch(o){if(!(o instanceof V))throw o}}function vd(){var e=Cd(arguments),t=e.text,n=e.options,o=e.metadata;return yd(t,n,o)}function Me(){return Cn(vd,arguments)}const Od={beforeMount(e,t,n){if(typeof t.value!="function"){const o=n.context.name;let d=`[Vue-click-outside:] provided expression ${t.expression} is not a function, but has to be`;o&&(d+=`Found in component ${o}`),console.warn(d)}e.clickOutsideEvent=function(o){const d=o.composedPath?o.composedPath():o.path;e===o.target||e.contains(o.target)||d.includes(e)||t.value(o,e)},document.body.addEventListener("click",e.clickOutsideEvent)},unmounted(e){document.body.removeEventListener("click",e.clickOutsideEvent)}},Ed=["aria-expanded","tabindex"],Pd={class:"vti__selection"},Td={key:1,class:"vti__country-code"},Nd={class:"vti__dropdown-arrow"},Id={key:0,class:"vti__search_box_container"},wd=["placeholder"],Rd=["onClick","onMousemove","aria-selected"],Sd={key:1},Md=["type","autocomplete","autofocus","disabled","id","maxlength","name","placeholder","readonly","required","tabindex","value","aria-describedby"],Ad=Jt({name:"VueTelInput",directives:{clickOutside:Od},__name:"vue-tel-input",props:xe({allCountries:{type:Array,default:()=>M("allCountries")},autoFormat:{type:Boolean,default:()=>M("autoFormat")},customValidate:{type:[Boolean,RegExp],default:()=>M("customValidate")},defaultCountry:{type:[String,Number],default:()=>M("defaultCountry")},disabled:{type:Boolean,default:()=>M("disabled")},autoDefaultCountry:{type:Boolean,default:()=>M("autoDefaultCountry")},dropdownOptions:{type:Object,default:()=>M("dropdownOptions")},ignoredCountries:{type:Array,default:()=>M("ignoredCountries")},inputOptions:{type:Object,default:()=>M("inputOptions")},invalidMsg:{type:String,default:()=>M("invalidMsg")},mode:{type:String,default:()=>M("mode")},onlyCountries:{type:Array,default:()=>M("onlyCountries")},preferredCountries:{type:Array,default:()=>M("preferredCountries")},validCharactersOnly:{type:Boolean,default:()=>M("validCharactersOnly")},styleClasses:{type:[String,Array,Object],default:()=>M("styleClasses")}},{modelValue:{type:String},modelModifiers:{}}),emits:xe(["blur","close","country-changed","enter","focus","on-input","open","space","validate"],["update:modelValue"]),setup(e,{expose:t,emit:n}){const o=Ie(),d=Ie(),a=Ie(),l=n,r=e,p=Qt(e,"modelValue");Z(p,(f,_)=>{Mt()?i.phone=f??"":Ze(()=>{i.phone=_??"",Ke()})});const i=Xt({phone:"",activeCountryCode:void 0,open:!1,finishMounted:!1,selectedIndex:null,typeToFindInput:"",typeToFindTimer:void 0,dropdownOpenDirection:"below",parsedPlaceholder:r.inputOptions.placeholder,searchQuery:""});Z(()=>i.open,f=>{f?(jt(),l("open")):l("close")});const g=de(()=>r.onlyCountries.length?r.allCountries.filter(({iso2:f})=>r.onlyCountries.some(_=>re(_)===f)):r.ignoredCountries.length?r.allCountries.filter(({iso2:f})=>!r.ignoredCountries.includes(re(f))&&!r.ignoredCountries.includes(ie(f))):r.allCountries),y=de(()=>K(i.activeCountryCode));Z(y,(f,_)=>{if(!f&&_!=null&&_.iso2){i.activeCountryCode=_.iso2;return}f!=null&&f.iso2&&l("country-changed",f)});const O=de(()=>{var f;const _=ie(r.mode);return _==="auto"?(f=i.phone)!=null&&f.startsWith("+")?"international":"national":["national","international","e.164","rfc3966","idd"].includes(_)?_:(console.error('Invalid value of prop "mode"'),"international")}),v=de(()=>{const f=[...oe(r.preferredCountries).map(E=>({...E,preferred:!0}
6)),...g.value];if(!r.dropdownOptions.showSearchBox)return f;const _=i.searchQuery.toLowerCase().replace(/[~`!@#$%^&*()+={}\[\];:\'\"<>.,\/\\\?-_]/g,"");return f.filter(E=>new RegExp(_,"i").test(E.name)||new RegExp(_,"i").test(E.iso2)||new RegExp(_,"i").test(E.dialCode))}),b=de(()=>{var f;const _=i.phone.startsWith("+")?Me(i.phone):Me(i.phone,i.activeCountryCode),E={country:_?.country,countryCode:_?.country,formatted:i.phone,valid:_?.isValid(),possible:(f=_?.isPossible)==null?void 0:f.call(_),nationalNumber:_?.nationalNumber};return E.valid&&(E.formatted=_?.format(re(O.value))),_!=null&&_.country&&(r.ignoredCountries.length||r.onlyCountries.length)&&!K(_.country)&&(E.valid=!1,E.possible=!1,_.country=null),_?{...E,..._}:E});Z(()=>b.value.countryCode,f=>{f&&(i.activeCountryCode=f)}),Z(()=>b.value.valid,()=>{l("validate",b.value)}),Z(()=>b.value.formatted,f=>{!r.autoFormat||r.customValidate||($e(f),Ze(()=>{f&&!p.value&&(i.phone=f)}))}),Z(()=>r.inputOptions.placeholder,D),en(()=>{p.value&&(i.phone=p.value.trim()),St(),Y().then(()=>{var f;!i.phone&&(f=r.inputOptions)!=null&&f.showDialCode&&i.activeCountryCode&&(i.phone=`+${i.activeCountryCode}`),l("validate",b.value)}).catch(console.error).then(()=>{i.finishMounted=!0})});function D(){i.parsedPlaceholder=r.inputOptions.placeholder}function Y(){return new Promise(f=>{var _;if(((_=i.phone)==null?void 0:_[0])==="+"){f();return}if(r.defaultCountry){if(typeof r.defaultCountry=="string"){x(r.defaultCountry),f();return}if(typeof r.defaultCountry=="number"){const P=Te(r.defaultCountry);if(P){x(P.iso2),f();return}}}const E=r.preferredCountries[0]||g.value[0];r.autoDefaultCountry?fn().then(P=>{x(P||i.activeCountryCode)}).catch(P=>{console.warn(P),x(E)}).then(()=>{f()}):(x(E),f())})}function oe(f=[]){return f.map(K).filter(Boolean)}function K(f=""){return g.value.find(_=>_.iso2===re(f))}function Te(f){return g.value.find(_=>Number(_.dialCode)===f)}function k(f,_){const E=i.selectedIndex===f,P=f===r.preferredCountries.length-1,R=r.preferredCountries.some(Ne=>re(Ne)===_);return{highlighted:E,"last-preferred":P,preferred:R}}function x(f){var _,E,P;let R=f;if(typeof R=="string"&&(R=K(R)),!!R){if(((_=i.phone)==null?void 0:_[0])==="+"&&R.iso2&&b.value.nationalNumber){i.activeCountryCode=R.iso2,i.phone=((E=Me(b.value.nationalNumber,R.iso2))==null?void 0:E.formatInternational())??"";return}if((P=r.inputOptions)!=null&&P.showDialCode&&R){i.phone=`+${R.dialCode}`,i.activeCountryCode=R.iso2;return}i.activeCountryCode=R.iso2,$e(i.phone)}}function St(){const f=i.phone;if(r.validCharactersOnly){const _=i.phone.match(/[()\-+0-9\s]*/g);i.phone=_.join("")}if(r.customValidate&&r.customValidate instanceof RegExp){const _=i.phone.match(r.customValidate);i.phone=_.join("")}f!==i.phone&&$e(i.phone)}function Mt(){return r.validCharactersOnly&&!/^[()\-+0-9\s]*$/.test(i.phone)?!1:r.customValidate?At():!0}function At(){return r.customValidate instanceof RegExp?r.customValidate.test(i.phone):!1}function Ke(){var f;(f=a.value)==null||f.setCustomValidity(b.value.valid?"":r.invalidMsg),$e(i.phone)}function $e(f){p.value=f,l("on-input",f,b.value,a.value)}function Lt(f){l("blur",f)}function Ft(f){hn(a.value,i.phone.length),l("focus",f)}function kt(f){l("enter",f)}function Ut(f){l("space",f)}function Dt(){var f;(f=a.value)==null||f.focus()}function Bt(){var f;(f=a.value)==null||f.blur()}function We(){r.disabled||r.dropdownOptions.disabled||(i.searchQuery="",i.open=!i.open)}function Yt(){i.open=!1}function Vt(f){if(f.keyCode===40){f.preventDefault(),i.open=!0,i.selectedIndex===null?i.selectedIndex=0:i.selectedIndex=Math.min(v.value.length-1,i.selectedIndex+1);const _=d.value.children[i.selectedIndex];_.focus(),_.offsetTop+_.clientHeight>d.value.scrollTop+d.value.clientHeight&&(d.value.scrollTop=_.offsetTop-d.value.clientHeight+_.clientHeight)}else if(f.keyCode===38){f.preventDefault(),i.open=!0,i.selectedIndex===null?i.selectedIndex=v.value.length-1:i.selectedIndex=Math.max(0,i.selectedIndex-1);const _=d.value.children[i.selectedIndex];_.focus(),_.offsetTop<d.value.scrollTop&&(d.value.scrollTop=_.offsetTop)}else if(f.keyCode===13)i.selectedIndex!==null&&x(v.value[i.selectedIndex]),i.open=!i.open;else if(i.open){i.typeToFindInput+=f.key,clearTimeout(i.typeToFindTimer),i.typeToFindTimer=setTimeout(()=>{i.typeToFindInput=""},700);const _=v.value.slice(r.preferredCountries.length).findIndex(E=>ie(E.name).startsWith(i.typeToFindInput));if(_>=0){i.selectedIndex=r.preferredCountries.length+_;const E=d.value.children[i.selectedIndex],P=E.offsetTop<d.value.scrollTop,R=E.offsetTop+E.clientHeight>d.value.scrollTop+d.value.clientHeight;(P||R)&&(d.value.scrollTop=E.offsetTop-d.value.clientHeight/2)}}}function qe(){i.selectedIndex=v.value.map(f=>f.iso2).indexOf(i.activeCountryCode),i.open=!1}function jt(){window.innerHeight-o.value.getBoundingClientRect().bottom>200?i.dropdownOpenDirection="below":i.dropdownOpenDirection="above"}return t({focus:Dt,blur:Bt}),(f,_)=>{const E=H("click-outside");return C(),T("div",{ref_key:"refRoot",ref:o,class:W(["vue-tel-input",e.styleClasses,{disabled:e.disabled}])},[S((C(),T("div",{"aria-label":"Country Code Selector","aria-haspopup":"listbox","aria-expanded":i.open,role:"button",class:W(["vti__dropdown",{open:i.open,disabled:e.dropdownOptions.disabled}]),tabindex:e.dropdownOptions.tabindex,onKeydown:[Vt,ae(We,["space"]),ae(qe,["esc"]),ae(qe,["tab"])],onClick:We},[h("span",Pd,[e.dropdownOptions.showFlags?(C(),T("span",{key:0,class:W(["vti__flag",ze(ie)(i.activeCountryCode)])},null,2)):A("",!0),e.dropdownOptions.showDialCodeInSelection?(C(),T("span",Td," +"+$(y.value&&y.value.dialCode),1)):A("",!0),we(f.$slots,"arrow-icon",{open:i.open},()=>[h("span",Nd,$(i.open?"â²":"â¼"),1)])]),i.open?(C(),T("ul",{key:0,ref_key:"refList",ref:d,class:W(["vti__dropdown-list",i.dropdownOpenDirection]),role:"listbox"},[e.dropdownOptions.showSearchBox?(C(),T("div",Id,[we(f.$slots,"search-icon"),S(h("input",{class:W(["vti__input","vti__search_box"]),"aria-label":"Search by country name or country code",placeholder:e.dropdownOptions.searchBoxPlaceholder||(v.value.length?v.value[0].name:""),type:"text","onUpdate:modelValue":_[0]||(_[0]=P=>i.searchQuery=P),onClick:_[1]||(_[1]=tn(()=>{},["stop"]))},null,8,wd),[[nn,i.searchQuery]])])):A("",!0),(C(!0),T(Q,null,on(v.value,(P,R)=>(C(),T("li",{role:"option",class:W(["vti__dropdown-item",k(R,P.iso2)]),key:P.iso2+(P.preferred?"-preferred":""),tabindex:"-1",onClick:Ne=>x(P),onMousemove:Ne=>i.selectedIndex=R,"aria-selected":i.activeCountryCode===P.iso2&&!P.preferred},[e.dropdownOptions.showFlags?(C(),T("span",{key:0,class:W(["vti__flag",ze(ie)(P.iso2)])},null,2)):A("",!0),h("strong",null,$(P.name),1),e.dropdownOptions.showDialCodeInList?(C(),T("span",Sd," +"+$(P.dialCode),1)):A("",!0)],42,Rd))),128))],2)):A("",!0)],42,Ed)),[[E,Yt]]),S(h("input",{"onUpdate:modelValue":_[2]||(_[2]=P=>
6i.phone=P),ref_key:"refInput",ref:a,type:e.inputOptions.type,autocomplete:e.inputOptions.autocomplete,autofocus:e.inputOptions.autofocus,class:W(["vti__input","vti__phone",e.inputOptions.styleClasses]),disabled:e.disabled,id:e.inputOptions.id,maxlength:e.inputOptions.maxlength,name:e.inputOptions.name,placeholder:i.parsedPlaceholder,readonly:e.inputOptions.readonly,required:e.inputOptions.required,tabindex:e.inputOptions.tabindex,value:p.value,"aria-describedby":e.inputOptions["aria-describedby"],onBlur:Lt,onFocus:Ft,onInput:Ke,onKeyup:[ae(kt,["enter"]),ae(Ut,["space"])]},null,42,Md),[[dn,i.phone]]),we(f.$slots,"icon-right")],2)}}}),Ld={directives:{Outside:qt},props:{modelValue:{type:String},value:String,inputName:{type:String,default:"phone"},autoDefaultCountry:{type:Boolean,default:!0},ignoredCountries:{type:Array,default:()=>[]},error:{type:Boolean,default:!1},errorMessage:{type:String,default:""},disabled:{type:Boolean,default:!1},showClearButton:{type:Boolean,default:!0}},emits:["update:modelValue","onReady"],components:{VueTelInput:Ad,IbIconButton:Wt,IbAlert:ge,IbIcon:Kt},data(){return{vueTel:null,dialCode:"",defaultCountry:"US",allowChange:!1}},mounted(){this.vueTel=this.$refs.vueTel,this.$emit("onReady")},computed:{phone:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}}},methods:{countryChanged(e){this.$globalEvents.$on("countrySelectValue",t=>{this.vueTel.choose(t)}),!this.phone||this.phone.length-1<this.dialCode.length?this.phone="+"+e.dialCode:this.dialCode&&(this.phone=this.phone.replace(this.dialCode,e.dialCode)),this.dialCode=e.dialCode},clickOutside(){this.vueTel.open&&this.vueTel.clickedOutside()},clearPhone(){this.phone=""}}},Fd={class:"ib-phone-wrapper"};function kd(e,t,n,o,d,a){const l=c("ib-alert"),r=c("ib-icon"),p=c("ib-icon-button"),i=c("vue-tel-input"),g=H("outside");return C(),T(Q,null,[n.errorMessage.length?(C(),w(l,{key:0,class:"ib-phone-error-message"},{default:s(()=>[m($(n.errorMessage),1)]),_:1})):A("",!0),h("div",Fd,[S((C(),w(i,Zt({modelValue:a.phone,"onUpdate:modelValue":t[0]||(t[0]=y=>a.phone=y)},e.$attrs,{onCountryChanged:a.countryChanged,"input-options":{name:n.inputName,id:n.inputName,autocomplete:"tel"},"auto-default-country":n.autoDefaultCountry,"dropdown-options":{showSearchBox:!0,showFlags:!0,tabindex:0},defaultCountry:d.defaultCountry,ignoredCountries:n.ignoredCountries,class:{error:n.error||n.errorMessage.length,disabled:n.disabled},disabled:n.disabled,"style-classes":"ib-phone-input",ref:"vueTel"}),{"arrow-icon":s(()=>[u(r,{name:"chevron-down-outline"})]),"icon-right":s(()=>[n.showClearButton?S((C(),w(p,{key:0,kind:"ghost",class:"ib-phone-clear-button",onClick:a.clearPhone},{default:s(()=>[u(r,{name:"close-outline"})]),_:1},8,["onClick"])),[[vt,a.phone.length]]):A("",!0)]),_:1},16,["modelValue","onCountryChanged","input-options","auto-default-country","defaultCountry","ignoredCountries","class","disabled"])),[[g,a.clickOutside]])])],64)}const wt=Ht(Ld,[["render",kd]]),Ud={name:"ChangePassword",components:{TitleInfoButton:be,IbFormGroup:z,PasswordInput:xt,IbPanel:Ce,IbLabel:q,IbButton:G},props:{passwordHelpLink:String},directives:{Tooltip:U},data(){return{errorList:{},currentPassword:"",newPassword:"",confirmPassword:"",isSaved:!1}},computed:{isErrorsPresent(){return Object.values(this.errorList).flat().length>0||this.currentPassword===""||this.newPassword===""||this.confirmPassword===""}},methods:{setError(e,t){this.errorList[e]=t},getError(e){return e in this.errorList?this.errorList[e].join(", "):""},validateConfirmPassword(e){this.newPassword!==this.confirmPassword?this.setError("confirm-password",[lang("passwords_must_match",this.langComponents.COMPONENT_VALIDATION),...e]):this.setError("confirm-password",e)},cancelNewPassword(){this.confirmPassword="",this.currentPassword="",this.newPassword=""},async submitNewPassword(){this.isErrorsPresent||(this.$loader.show(),await axios.post(route("profile.update-password",{current_password:this.currentPassword,new_password:this.newPassword,confirm_password:this.confirmPassword})).then(({data:e})=>{this.isSaved=!0,this.$notifications.success({title:lang("changes_saved",this.langComponents.COMPONENT_PROFILE_SECURITY),body:lang("security_changes_saved",this.langComponents.COMPONENT_PROFILE_SECURITY)}),this.cancelNewPassword()}).catch(e=>{console.error(e)}).finally(()=>{this.$loader.hide()}))}}},Dd={class:"password-settings"},Bd={class:"password-settings__title"},Yd=["href"],Vd={class:"panel-content"},jd={class:"form-groups"},Gd={class:"info-text"},Hd={class:"password-settings__actions"};function Kd(e,t,n,o,d,a){const l=c("ib-icon"),r=c("title-info-button"),p=c("ib-label"),i=c("password-input"),g=c("ib-form-group"),y=c("ib-button"),O=c("ib-panel"),v=H("tooltip");return C(),T("div",Dd,[u(O,null,{title:s(()=>[h("div",Bd,[m($(e.lang("change_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD))+" ",1),u(r,{dusk:"help-button",class:"help-button","button-size":"xs",title:e.lang("password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD)},{buttons:s(()=>[h("a",{target:"_blank",class:"ib-standalone-link",href:n.passwordHelpLink}
6,[m($(e.lang("how_to_change_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD))+" ",1),u(l,{name:"open-outline"})],8,Yd)]),default:s(()=>[m($(e.lang("password_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD))+" ",1)]),_:1},8,["title"])])]),"head-content":s(()=>[m($(e.lang("change_password_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD)),1)]),body:s(()=>[h("div",Vd,[u(g,{class:"form-groups__group"},{default:s(()=>[u(p,{for:"current-password"},{default:s(()=>[m($(e.lang("current_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD)),1)]),_:1}),u(i,{autocomplete:"off",id:"current-password",name:"current-password",ref:"current-password",placeholder:e.lang("current_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD),required:!1,password:d.currentPassword,"onUpdate:password":t[0]||(t[0]=b=>d.currentPassword=b),"onValidate:password":t[1]||(t[1]=b=>a.setError("current-password",b))},null,8,["placeholder","password"])]),_:1}),h("div",jd,[u(g,{class:"form-groups__group"},{default:s(()=>[u(p,{for:"new-password"},{default:s(()=>[m($(e.lang("new_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD)),1)]),_:1}),u(i,{autocomplete:"off",id:"new-password",name:"new-password",ref:"new-password",placeholder:e.lang("new_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD),required:!1,password:d.newPassword,"onUpdate:password":t[2]||(t[2]=b=>d.newPassword=b),passwordModifiers:{trim:!0},"onValidate:password":t[3]||(t[3]=b=>a.setError("new-password",b))},null,8,["placeholder","password"])]),_:1}),u(g,{class:"form-groups__group"},{default:s(()=>[u(p,{for:"confirm-password"},{default:s(()=>[m($(e.lang("confirm_new_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD)),1)]),_:1}),u(i,{autocomplete:"off",id:"confirm-password",name:"confirm-password",ref:"confirm-password","error-message":a.getError("confirm-password"),placeholder:e.lang("confirm_new_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD),required:!1,password:d.confirmPassword,"onUpdate:password":t[4]||(t[4]=b=>d.confirmPassword=b),passwordModifiers:{trim:!0},"onValidate:password":t[5]||(t[5]=b=>a.validateConfirmPassword(b))},null,8,["error-message","placeholder","password"])]),_:1})]),h("p",Gd,$(e.lang("password_support_text",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD)),1),h("div",Hd,[u(y,{ref:"cancel-button",class:"cancel-button",kind:"ghost",disabled:a.isErrorsPresent,onClick:a.cancelNewPassword},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE)),1)]),_:1},8,["disabled","onClick"]),S((C(),w(y,{type:"submit",ref:"submit-button","prevent-default":"",class:"submit-btn",kind:"tertiary",disabled:a.isErrorsPresent,onClick:a.submitNewPassword},{default:s(()=>[m($(e.lang("save_new_password",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD)),1)]),_:1},8,["disabled","onClick"])),[[v,d.isSaved?e.lang("latest_changes_saved",e.langComponents.COMPONENT_PROFILE_SECURITY_PASSWORD):""]])])])]),_:1})])}const Wd=L(Ud,[["render",Kd],["__scopeId","data-v-fd1a30aa"]]),Ee={props:{value:{type:Number,required:!0}},data(){return{currentValue:this.value}},methods:{radioButtonTooltip(e){return this.currentValue===e?lang("connected",N.COMPONENT_PROFILE_SECURITY):lang("not_connected",N.COMPONENT_PROFILE_SECURITY)}},watch:{value(e){this.currentValue=e},currentValue(e){this.$emit("update:value",e)}}},qd={name:"AuthApp",mixins:[Ee],components:{IbTagPill:rn,IbRadio:ye},directives:{Tooltip:U},data(){return{isActive:!1,AUTH_METHODS:I}},computed:{...ee(["activeTwoFactorAuthType"])}},zd={class:"auth"},xd={class:"auth__info"},Zd={class:"auth__title-container"},Jd={class:"auth__title"},Qd={class:"auth__text"};function Xd(e,t,n,o,d,a){const l=c("ib-radio"),r=c("ib-tag-pill"),p=H("tooltip");return C(),T("div",zd,[S(u(l,{value:d.AUTH_METHODS.app,name:"two_fa",modelValue:e.currentValue,"onUpdate:modelValue":t[0]||(t[0]=i=>e.currentValue=i)},null,8,["value","modelValue"]),[[p,e.radioButtonTooltip(d.AUTH_METHODS.app)]]),h("div",xd,[h("div",Zd,[h("h4",Jd,$(e.lang("auth_app",e.langComponents.COMPONENT_PROFILE_SECURITY)),1),u(r,{status:"success","show-icon":""},{default:s(()=>[m($(e.lang("recommended",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1})]),h("p",Qd,$(e.lang("auth_app_desc",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)])])}const ea=L(qd,[["render",Xd],["__scopeId","data-v-ca352799"]]),ta={name:"AuthAppModal",components:{IbFormGroup:z,IbAlert:ge,IbButtonGroup:ne,IbModal:ue,IbInput:te,IbButton:G,IbLabel:q},props:{isActive:{type:Boolean,required:!0}},directives:{Tooltip:U},emits:["close"],data(){return{data:null,verifyCode:null,isLoading:!1,errorMessage:""}},watch:{isActive(e){this.$nextTick(()=>{e&&this.appAuthReq()})}},methods:{copyToClipboard:zt,...J(["setTwoFactorAuth"]),appAuthReq(){this.$loader.show(),axios.get(route("profile.security.setup-2fa",{type:I.app})).then(({data:e})=>{this.data=e}).catch(e=>
6{this.$notifications.error(e.response.data.message),this.onClose()}).finally(()=>{this.$loader.hide()})},async submitAppAuth(){if(!this.verifyCode){this.errorMessage=lang("required_verify_code",this.langComponents.COMPONENT_SUBACCOUNTS_PROFILE);return}this.$loader.show(),this.isLoading=!0,await axios.post(route("profile.security.approve-setup-2fa",{type:I.app,"2fa_code":this.verifyCode})).then(({data:e})=>{const{status:t,message:n}=e;t?(this.$notifications.success({title:lang("success_2fa_enable",this.langComponents.COMPONENT_PROFILE_SECURITY),body:lang("success_2fa_enable_desc",this.langComponents.COMPONENT_PROFILE_SECURITY)}),this.setTwoFactorAuth(I.app),this.onClose()):this.errorMessage=n}).catch(e=>{const{response:t}=e;this.errorMessage=t?.data.message}).finally(()=>{this.$loader.hide(),this.isLoading=!1})},onClose(){this.$emit("close"),this.verifyCode="",this.errorMessage=""}}},na={class:"confirm-app__title"},oa={class:"confirm-app"},da={class:"confirm-app__qr"},aa=["innerHTML"],ia={class:"confirm-app__code"},ra={class:"confirm-app__code-title"},sa={class:"confirm-app__code-info"};function la(e,t,n,o,d,a){const l=c("ib-alert"),r=c("ib-icon"),p=c("ib-button"),i=c("ib-label"),g=c("ib-input"),y=c("ib-form-group"),O=c("ib-button-group"),v=c("ib-modal");return C(),w(v,{size:"m",ref:"app-modal","class-list":"app-auth-modal",active:n.isActive,"stop-propagation":d.isLoading,onClose:a.onClose},{header:s(()=>[m($(e.lang("set_up_auth_app",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),body:s(()=>[d.data?(C(),T(Q,{key:0},[h("p",na,$(e.lang("set_up_auth_app_desc",e.langComponents.COMPONENT_PROFILE_SECURITY)),1),u(l,{class:"confirm-app__alert",type:"info","show-icon":""},{default:s(()=>[m($(e.lang("set_up_auth_app_alert",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1}),h("div",oa,[h("div",da,[h("div",{class:"qr",innerHTML:d.data.secretQr??""},null,8,aa)]),h("div",ia,[h("div",null,[h("h4",ra,$(e.lang("alternative_code",e.langComponents.COMPONENT_PROFILE_SECURITY)),1),h("p",sa,$(d.data.secretCode),1)]),u(p,{onClick:t[0]||(t[0]=b=>a.copyToClipboard(d.data.secretCode)),kind:"tertiary"},{icon:s(()=>[u(r,{name:"copy-outline"})]),default:s(()=>[m($(e.lang("copy",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1)]),_:1})])]),u(y,{class:"confirm-app__verify-code"},{default:s(()=>[u(i,{for:"app_code",required:"","tooltip-position":"right-center","info-text":e.lang("verify_code_tooltip",e.langComponents.COMPONENT_PROFILE_SECURITY)},{default:s(()=>[m($(e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["info-text"]),S(u(g,{id:"app_code",name:"code",type:"text",autocomplete:"false",dusk:"code-field",ref:"code",placeholder:e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY),"error-message":d.errorMessage,value:d.verifyCode,"model-value":d.verifyCode,"onUpdate:modelValue":t[1]||(t[1]=b=>d.verifyCode=b)},null,8,["placeholder","error-message","value","model-value"]),[[vt,e.$nextTick(()=>n.isActive)]])]),_:1})],64)):A("",!0)]),footer:s(()=>
6[u(O,null,{default:s(()=>[u(p,{kind:"ghost",dusk:"cancel-button",onClick:a.onClose},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"]),u(p,{dusk:"confirm-button",kind:"primary",onClick:a.submitAppAuth},{default:s(()=>[m($(e.lang("set_up",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"])]),_:1})]),_:1},8,["active","stop-propagation","onClose"])}const ua=L(ta,[["render",la],["__scopeId","data-v-bfbaaf5b"]]),Ae=60,Pe={data(){return{timer:null,countdown:Ae}},methods:{startResendTimer(){this.timer=setInterval(this.updateTimer,1e3),this.isResendDisabled=!0},updateTimer(){this.countdown>0?this.countdown--:(this.isResendDisabled=!1,this.countdown=Ae,clearInterval(this.timer),this.timer=null)},clearResendTimer(){clearInterval(this.timer),this.timer=null,this.countdown=Ae}}},$a={name:"AuthEmailModal",components:{IbFormGroup:z,IbButtonGroup:ne,IbModal:ue,IbInput:te,IbButton:G,IbLabel:q},props:{isActive:{type:Boolean,required:!0},email:{type:String,required:!0}},directives:{Tooltip:U},mixins:[Pe],emits:["close","resend"],data(){return{verifyCode:null,isLoading:!1,errorMessage:"",isResendDisabled:!0}},watch:{isActive(e){e?(this.appEmailReq(),this.timer=setInterval(this.updateTimer,1e3),this.isResendDisabled=!0,this.$nextTick(()=>{this.$refs.codeEmail.focus()})):this.clearResendTimer()}},methods:{...J(["setTwoFactorAuth"]),async appEmailReq(){this.$loader.show(),await axios.get(route("profile.security.setup-2fa",{type:I.email})).then(()=>{this.showEmailAuthModal=!0}).catch(e=>{this.$notifications.error(e.response.data.message)}).finally(()=>{this.$loader.hide()})},async submitEmailAuth(){if(!this.verifyCode){this.errorMessage=lang("required_verify_code",this.langComponents.COMPONENT_SUBACCOUNTS_PROFILE);return}this.$loader.show(),this.isLoading=!0,await axios.post(route("profile.security.approve-setup-2fa",{type:I.email,"2fa_code":this.verifyCode})).then(({data:e})=>{const{status:t,message:n}=e;t?(this.$notifications.success({title:lang("success_2fa_enable",this.langComponents.COMPONENT_PROFILE_SECURITY),body:lang("success_2fa_enable_desc",this.langComponents.COMPONENT_PROFILE_SECURITY)}),this.setTwoFactorAuth(3),this.closeModal()):this.errorMessage=n}).catch(e=>{const{response:t}=e;this.errorMessage=t?.data.message}).finally(()=>{this.$loader.hide(),this.isLoading=!1})},closeModal(){this.errorMessage="",this.verifyCode="",this.$emit("close")},resendEmailCode(){this.startResendTimer(),this.appEmailReq(),this.$emit("resend")}}},ca={class:"confirm-methods__title"},pa={class:"confirm-methods__title-main"},fa={class:"confirm-methods__actions"};function ha(e,t,n,o,d,a){const l=c("ib-label"),r=c("ib-input"),p=c("ib-form-group"),i=c("ib-icon"),g=c("ib-button"),y=c("ib-button-group"),O=c("ib-modal");return C(),w(O,{size:"s",ref:"email-modal","class-list":"modal-custom",active:n.isActive,"stop-propagation":d.isLoading,onClose:a.closeModal},{header:s(()=>[m($(e.lang("set_up_auth_email",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),body:s(()=>[h("p",ca,[m($(e.lang("set_up_auth_email_desc",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1),h("span",pa,$(n.email),1)]),u(p,{class:"confirm-methods__verify-code"},{default:s(()=>[u(l,{for:"code-email",required:"","tooltip-position":"right-center","info-text":e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY)},{default:s(()=>[m($(e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["info-text"]),u(r,{id:"code-email",name:"code-email",type:"text",autocomplete:"off",dusk:"code-field-email",ref:"codeEmail",placeholder:e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY),"error-message":d.errorMessage,value:d.verifyCode,"model-value":d.verifyCode,"onUpdate:modelValue":t[0]||(t[0]=v=>d.verifyCode=v)},null,8,["placeholder","error-message","value","model-value"])]),_:1})]),footer:s(()=>[h("div",fa,[u(g,{kind:"tertiary",disabled:d.isResendDisabled,onClick:a.resendEmailCode},{icon:s(()=>[u(i,{name:"refresh"})]),default:s(()=>[m(" "+$(e.lang("resend_code",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1),d.isResendDisabled?(C(),T(Q,{key:0},[m(" ("+$(e.countdown)+") ",1)],64)):A("",!0)]),_:1},8,["disabled","onClick"]),u(y,null,{default:s(()=>[u(g,{dusk:"cancel-button",kind:"ghost",onClick:a.closeModal},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"]),u(g,{dusk:"confirm-button",kind:"primary",onClick:a.submitEmailAuth},{default:s(()=>[m($(e.lang("set_up",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"])]),_:1})])]),_:1},8,["active","stop-propagation","onClose"])}const ma=L($a,[["render",ha]]),ce={verifyPhone:1,verifyCode:2},_a={name:"VerifyPhoneStepModal",components:{IbPhoneInput:wt,IbFormGroup:z,IbButtonGroup:ne,IbModal:ue,IbInput:te,IbButton:G,IbLabel:q},props:{isActive:{type:Boolean,required:!0}},directives:{Tooltip:U},mixins:[Pe],emits:["close","onSetupPhone"],data(){return{step:1,newPhone:"",verifyCode:null,isLoading:!1,errorMessage:"",isResendDisabled:!0,STEPS:ce}},watch:{isActive(e){e||(this.newPhone="",this.errorMessage="")},step(e){e===ce.verifyCode&&(this.$nextTick(()=>{this.$refs.stepVerifyCode.focus()}),this.clearResendTimer(),this.startResendTimer(),this.isResendDisabled=!0)}},methods:{...J(["setPhone"]),async approvePhone(){if(!this.verifyCode){this.errorMessage=lang("required_verify_code",this.langComponents.COMPONENT_SUBACCOUNTS_PROFILE);return}this.$loader.show(),this.isLoading=!0,await axios.post(route("profile.security.approve-phone-verification",{"2fa_code":this.verifyCode,phone:this.newPhone})).then(({data:e})=>{const{status:t,message:n}=e;this.errorMessage="",t?(this.setPhone(this.newPhone),this.$emit("onSetupPhone"),this.onClose()):this.errorMessage=n}
6).catch(({response:e})=>{this.errorMessage=e.data.message}).finally(()=>{this.$loader.hide(),this.isLoading=!1})},async setupPhone(){this.isLoading=!0,this.$loader.show(),await axios.post(route("profile.security.setup-phone-verification",{phone:this.newPhone})).then(({data:e})=>{this.errorMessage="",this.step=ce.verifyCode}).catch(({response:e})=>{this.errorMessage=e.data.message}).finally(()=>{this.$loader.hide(),this.isLoading=!1})},async resendPhoneCode(){this.startResendTimer(),await this.setupPhone()},updatePhone(e){this.newPhone=e},onClose(){this.$emit("close"),this.step=ce.verifyPhone}}},ga={class:"phone__desc"},Ca={class:"phone__actions step-1"};function ba(e,t,n,o,d,a){const l=c("ib-label"),r=c("ib-phone-input"),p=c("ib-form-group"),i=c("ib-input"),g=c("ib-button"),y=c("ib-button-group"),O=c("ib-icon"),v=c("ib-modal");return C(),w(v,{"class-list":"modal-custom",size:"s",active:n.isActive,onClose:a.onClose,"stop-propagation":d.isLoading},an({header:s(()=>[m($(e.lang("verify_phone_number_step",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE,{step:d.step})),1)]),_:2},[d.step===d.STEPS.verifyPhone?{name:"body",fn:s(()=>[h("p",ga,$(e.lang("verify_phone_number_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1),u(p,{class:"phone__input"},{default:s(()=>[u(l,{for:"phone-step"},{default:s(()=>[m($(e.lang("phone_number",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1}),u(r,{ref:"phoneInputInStep",id:"phone-step","error-message":d.errorMessage,modelValue:d.newPhone,"onUpdate:modelValue":t[0]||(t[0]=b=>d.newPhone=b)},null,8,["error-message","modelValue"])]),_:1})]),key:"0"}:{name:"body",fn:s(()=>[h("div",{class:"phone__desc-container"},[h("p",{class:"phone__desc"},$(e.lang("verify_phone_number_step_2_desc_1",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1),h("p",{class:"phone__desc"},[m($(e.lang("verify_phone_number_step_2_desc_2",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE))+" ",1),h("span",{class:"phone__desc-number"},$(d.newPhone),1)])]),u(p,{class:"phone-input"},{default:s(()=>[u(l,{for:"step-verify-code",required:"","tooltip-position":"right-center","info-text":e.lang("verify_phone_number_tooltip",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)},{default:s(()=>[m($(e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1)]),_:1},8,["info-text"]),u(i,{id:"step-verify-code",name:"step-verify-code",type:"text",autocomplete:"off",dusk:"code-field",ref:"stepVerifyCode",placeholder:e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE),"error-message":d.errorMessage,value:d.verifyCode,"model-value":d.verifyCode,"onUpdate:modelValue":t[1]||(t[1]=b=>d.verifyCode=b)},null,8,["placeholder","error-message","value","model-value"])]),_:1})]),key:"1"},d.step===d.STEPS.verifyPhone?{name:"footer",fn:s(()=>[h("div",Ca,[u(y,null,{default:s(()=>[u(g,{kind:"ghost",onClick:a.onClose},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE)),1)]),_:1},8,["onClick"]),u(g,{kind:"primary",onClick:a.setupPhone},{default:s(()=>[m($(e.lang("continue",e.langComponents.COMPONENT_PROFILE)),1)]),_:1},8,["onClick"])]),_:1})])]),key:"2"}:{name:"footer",fn:s(()=>[h("div",{class:"phone__actions step-2"},[u(g,{kind:"tertiary",disabled:d.isResendDisabled,onClick:a.resendPhoneCode},{icon:s(()=>[u(O,{name:"refresh"})]),default:s(()=>[m(" "+$(e.lang("resend_code",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE))+" ",1),d.isResendDisabled?(C(),T(Q,{key:0},[m(" ("+$(e.countdown)+") ",1)],64)):A("",!0)]),_:1},8,["disabled","onClick"]),u(y,null,{default:s(()=>[u(g,{kind:"ghost",onClick:a.onClose},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"]),u(g,{kind:"primary",onClick:a.approvePhone},{default:s(()=>[m($(e.lang("verify_phone",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1)]),_:1},8,["onClick"])]),_:1})])]),key:"3"}]),1032,["active","onClose","stop-propagation"])}const Rt=L(_a,[["render",ba],["__scopeId","data-v-bfc19550"]]),ya={name:"AuthSmsModal",components:{IbFormGroup:z,IbButtonGroup:ne,IbModal:ue,IbInput:te,IbButton:G,IbLabel:q},props:{isActive:{type:Boolean,required:!0},phone:{type:[String,null],required:!0}},directives:{Tooltip:U},mixins:[Pe],emits:["close","resend"],data(){return{verifyCode:null,isLoading:!1,errorMessage:"",isResendDisabled:!0}},watch:{isActive(e){e?(this.appSmsReq(),this.timer=setInterval(this.updateTimer,1e3),this.isResendDisabled=!0,this.countdown=60,this.$nextTick(()=>{this.$refs.codeSms.focus()})):this.clearResendTimer()}},methods:{...J(["setTwoFactorAuth"]),async submitAppSms(){if(!this.verifyCode){this.errorMessage=lang("required_verify_code",this.langComponents.COMPONENT_SUBACCOUNTS_PROFILE);return}this.$loader.show(),this.isLoading=!0,await axios.post(route("profile.security.approve-setup-2fa",{type:I.sms,"2fa_code":this.verifyCode})).then(({data:e})=>{const{status:t,message:n}=e;t?(this.$notifications.success({title:lang("success_2fa_enable",this.langComponents.COMPONENT_PROFILE_SECURITY),body:lang("success_2fa_enable_desc",this.langComponents.COMPONENT_PROFILE_SECURITY)}),this.$emit("close",!0),this.verifyCode="",this.setTwoFactorAuth(2)):this.errorMessage=n}
6).catch(e=>{const{response:t}=e;this.errorMessage=t?.data.message}).finally(()=>{this.$loader.hide(),this.isLoading=!1})},appSmsReq(){this.$loader.show(),axios.get(route("profile.security.setup-2fa",{type:I.sms})).then(()=>{this.showSmsAuthModal=!0}).catch(e=>{this.$notifications.error(e.response.data.message)}).finally(()=>{this.$loader.hide()})},closeModal(){this.verifyCode="",this.errorMessage="",this.$emit("close")},resendSmsCode(){this.startResendTimer(),this.appSmsReq(),this.$emit("resend")}}},va={class:"confirm-methods__title"},Oa={class:"confirm-methods__title-main"},Ea={class:"confirm-methods__actions"};function Pa(e,t,n,o,d,a){const l=c("ib-label"),r=c("ib-input"),p=c("ib-form-group"),i=c("ib-icon"),g=c("ib-button"),y=c("ib-button-group"),O=c("ib-modal");return C(),w(O,{"class-list":"modal-custom",size:"s",active:n.isActive,onClose:a.closeModal,"stop-propagation":d.isLoading},{header:s(()=>[m($(e.lang("set_up_auth_sms",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),body:s(()=>[h("p",va,[m($(e.lang("set_up_auth_sms_desc",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1),h("span",Oa,$(n.phone),1)]),u(p,{class:"confirm-methods__verify-code"},{default:s(()=>[u(l,{for:"code-sms",required:"","tooltip-position":"right-center","info-text":e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY)},{default:s(()=>[m($(e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["info-text"]),u(r,{id:"code-sms",name:"code-sms",type:"text",autocomplete:"off",dusk:"code-field-sms",ref:"codeSms",placeholder:e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY),"error-message":d.errorMessage,value:d.verifyCode,"model-value":d.verifyCode,"onUpdate:modelValue":t[0]||(t[0]=v=>d.verifyCode=v)},null,8,["placeholder","error-message","value","model-value"])]),_:1})]),footer:s(()=>[h("div",Ea,[u(g,{kind:"tertiary",disabled:d.isResendDisabled,onClick:a.resendSmsCode},{icon:s(()=>[u(i,{name:"refresh"})]),default:s(()=>[m(" "+$(e.lang("resend_code",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1),d.isResendDisabled?(C(),T(Q,{key:0},[m(" ("+$(e.countdown)+") ",1)],64)):A("",!0)]),_:1},8,["disabled","onClick"]),u(y,null,{default:s(()=>[u(g,{dusk:"close-sms-auth",kind:"ghost",onClick:a.closeModal},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"]),u(g,{dusk:"confirm-sms",kind:"primary",onClick:a.submitAppSms},{default:s(()=>[m($(e.lang("set_up",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"])]),_:1})])]),_:1},8,["active","onClose","stop-propagation"])}const Ta=L(ya,[["render",Pa]]),Na={name:"SmsAuth",mixins:[Ee],components:{VerifyPhoneStepModal:Rt,IbRadio:ye},directives:{Tooltip:U},data(){return{AUTH_METHODS:I}},computed:{...ee(["phone"])}},Ia={class:"auth"},wa={class:"auth__info"},Ra={class:"auth__title-container"},Sa={class:"auth__title"},Ma={class:"auth__text"},Aa={class:"auth__text-main"};function La(e,t,n,o,d,a){const l=c("ib-radio"),r=H("tooltip");return C(),T("div",Ia,[S(u(l,{value:d.AUTH_METHODS.sms,name:"two_fa",modelValue:e.currentValue,"onUpdate:modelValue":t[0]||(t[0]=p=>e.currentValue=p)},null,8,["value","modelValue"]),[[r,e.radioButtonTooltip(d.AUTH_METHODS.sms)]]),h("div",wa,[h("div",Ra,[h("h4",Sa,$(e.lang("sms_auth",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),h("p",Ma,[m($(e.lang("sms_auth_desc",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1),h("span",Aa,$(e.phone?e.phone:e.lang("no_phone_added",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1)])])])}const Fa=L(Na,[["render",La],["__scopeId","data-v-8761e8cf"]]),ka={name:"EmailAuth",mixins:[Ee],components:{IbRadio:ye},directives:{Tooltip:U},data(){return{AUTH_METHODS:I,showEmailAuthModal:!1}},computed:{...ee(["email"])},emits:["update:value"]},Ua={class:"auth"},Da={class:"auth__info"},Ba={class:"auth__title-container"},Ya={class:"auth__title"},Va={class:"auth__text"},ja={class:"auth__text-main"};function Ga(e,t,n,o,d,a){const l=c("ib-radio"),r=H("tooltip");return C(),T("div",Ua,[S(u(l,{value:d.AUTH_METHODS.email,name:"two_fa",modelValue:e.currentValue,"onUpdate:modelValue":t[0]||(t[0]=p=>e.currentValue=p)},null,8,["value","modelValue"]),[[r,e.radioButtonTooltip(d.AUTH_METHODS.email)]]),h("div",Da,[h("div",Ba,[h("h4",Ya,$(e.lang("email_auth",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),h("p",Va,[m($(e.lang("email_auth_desc",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1),h("span",ja,$(e.email),1)])])])}const Ha=L(ka,[["render",Ga],["__scopeId","data-v-9f1a512d"]]),Ka={name:"SmsAuth",mixins:[Ee],components:{IbRadio:ye},directives:{Tooltip:U},data(){return{AUTH_METHODS:I}}},Wa={class:"auth"},qa={class:"auth__info"},za={class:"auth__title-container"},xa={class:"auth__title"},Za={class:"auth__text"};function Ja(e,t,n,o,d,a){const l=c("ib-radio");return C(),T("div",Wa,[u(l,{value:d.AUTH_METHODS.disabled,name:"two_fa",modelValue:e.currentValue,"onUpdate:modelValue":t[0]||(t[0]=r=>e.currentValue=r)},null,8,["value","modelValue"]),h("div",qa,[h("div",za,[h("h4",xa,$(e.lang("turn_off_two_factor",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),h("p",Za,$(e.lang("turn_off_two_factor_description",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)])])}const Qa=L(Ka,[["render",Ja],["__scopeId","data-v-37badfe0"]]),Xa={name:"TwoFactorAuthentication",components:{AuthAppModal:ua,AuthEmailModal:ma,VerifyPhoneStepModal:Rt,AuthSmsModal:Ta,EmailAuth:Ha,SmsAuth:Fa,AuthApp:ea,DisabledAuth:Qa,IbPanel:Ce,IbButtonGroup:ne,IbButton:G,TitleInfoButton:be},directives:{Tooltip:U},props:{setup2faHelpLink:{type:String,default:""}},data(){return{twoFactorAuthType:0,showAppAuthModal:!1,showAppEmailModal:!1,showVerifyPhoneModal:!1,showAuthSmsModal:!1}},watch:{activeTwoFactorAuthType:{handler(e){this.twoFactorAuthType=e},immediate:!0}},methods:{...J(["resetTwoFactorAuth"]),updateTwoFactor(){switch(this.twoFactorAuthType){case I.app:this.showAppAuthModal=!0;break;case I.email:this.showAppEmailModal=!0;break;case I.sms:if(!this.phone?.length){this.showVerifyPhoneModal=!0;break}this.showAuthSmsModal=!0;break;case I.disabled:this.disableTwoFactorAuth();break}},cancel(){this.twoFactorAuthType=this.activeTwoFactorAuthType}
6,async disableTwoFactorAuth(){const e={title:lang("turn_of_two_factor_authentication",N.COMPONENT_PROFILE_SECURITY),message:lang("turn_of_two_factor_authentication_description",N.COMPONENT_PROFILE_SECURITY),submit:{buttonKind:"danger",text:lang("turn_off",N.COMPONENT_PROFILE_SECURITY)}};await he(e)&&(this.$loader.show(),axios.get(route("profile.security.disable-2fa")).then(()=>{this.resetTwoFactorAuth(),this.$notifications.success({title:lang("success_2fa_disabled",N.COMPONENT_PROFILE_SECURITY),body:lang("success_2fa_disabled_desc",N.COMPONENT_PROFILE_SECURITY)})}).catch(t=>{console.error(t)}).finally(()=>{this.$loader.hide()}))}},computed:{...ee(["user","phone","email","activeTwoFactorAuthType"]),isTwoFactorAuthChanged(){return this.activeTwoFactorAuthType===this.twoFactorAuthType}}},ei={class:"security-settings"},ti={class:"security-settings__title"},ni=["href"],oi={class:"panel-content"};function di(e,t,n,o,d,a){const l=c("ib-icon"),r=c("title-info-button"),p=c("auth-app"),i=c("sms-auth"),g=c("email-auth"),y=c("disabled-auth"),O=c("auth-app-modal"),v=c("auth-email-modal"),b=c("verify-phone-step-modal"),D=c("auth-sms-modal"),Y=c("ib-button"),oe=c("ib-button-group"),K=c("ib-panel"),Te=H("tooltip");return C(),T("div",ei,[u(K,null,{title:s(()=>[h("div",ti,[m($(e.lang("2fa",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1),u(r,{dusk:"help-button",class:"help-button","button-size":"xs",title:e.lang("two_factor_authentication",e.langComponents.COMPONENT_PROFILE_SECURITY)},{buttons:s(()=>[h("a",{target:"_blank",class:"ib-standalone-link",href:n.setup2faHelpLink},[m($(e.lang("how_to_set_up_2fa",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1),u(l,{name:"open-outline"})],8,ni)]),default:s(()=>[m($(e.lang("two_factor_authentication_desc",e.langComponents.COMPONENT_PROFILE_SECURITY))+" ",1)]),_:1},8,["title"])])]),"head-content":s(()=>[h("p",null,$(e.lang("2fa_desc",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),body:s(()=>[h("div",oi,[u(p,{dusk:"auth-app",class:"security-settings__item",value:d.twoFactorAuthType,"onUpdate:value":t[0]||(t[0]=k=>d.twoFactorAuthType=k)},null,8,["value"]),u(i,{dusk:"sms-auth",class:"security-settings__item",value:d.twoFactorAuthType,"onUpdate:value":t[1]||(t[1]=k=>d.twoFactorAuthType=k)},null,8,["value"]),u(g,{dusk:"email-auth",class:"security-settings__item",value:d.twoFactorAuthType,"onUpdate:value":t[2]||(t[2]=k=>d.twoFactorAuthType=k)},null,8,["value"]),e.user.company?.settings?.two_fa===0?(C(),w(y,{key:0,dusk:"disabled-auth",class:"security-settings__item",value:d.twoFactorAuthType,"onUpdate:value":t[3]||(t[3]=k=>d.twoFactorAuthType=k)},null,8,["value"])):A("",!0),u(O,{ref:"auth-app","is-active":d.showAppAuthModal,onClose:t[4]||(t[4]=k=>d.showAppAuthModal=!1)},null,8,["is-active"]),u(v,{ref:"email-app",email:e.email,"is-active":d.showAppEmailModal,onClose:t[5]||(t[5]=k=>d.showAppEmailModal=!1)},null,8,["email","is-active"]),u(b,{ref:"verify-phone","is-active":d.showVerifyPhoneModal,onClose:t[6]||(t[6]=k=>d.showVerifyPhoneModal=!1),onOnSetupPhone:t[7]||(t[7]=k=>d.showAuthSmsModal=!0)},null,8,["is-active"]),u(D,{ref:"phone-app",phone:e.phone,"is-active":d.showAuthSmsModal,onClose:t[8]||(t[8]=k=>d.showAuthSmsModal=!1)},null,8,["phone","is-active"]),u(oe,{class:"security-settings__actions"},{default:s(()=>[u(Y,{dusk:"cancel-button",disabled:a.isTwoFactorAuthChanged,kind:"ghost",onClick:a.cancel},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["disabled","onClick"]),S((C(),w(Y,{kind:"tertiary",dusk:"save-button",disabled:a.isTwoFactorAuthChanged,onClick:a.updateTwoFactor},{default:s(()=>[m($(e.lang("save_changes",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["disabled","onClick"])),[[Te,a.isTwoFactorAuthChanged?e.lang("latest_changes_already_saved",e.langComponents.COMPONENT_PROFILE_SECURITY):""]])]),_:1})])]),_:1})])}const ai=L(Xa,[["render",di],["__scopeId","data-v-56d2f5c3"]]),ii={name:"VerifyPhoneModal",components:{IbFormGroup:z,IbButtonGroup:ne,IbModal:ue,IbInput:te,IbLabel:q,IbButton:G},props:{isActive:{type:Boolean,required:!0},phone:{type:String,required:!0}},directives:{Tooltip:U},mixins:[Pe],emits:["close","onUpdatePhone","resend"],data(){return{verifyCode:null,isLoading:!1,errorMessage:"",isResendDisabled:!0}},watch:{isActive(e){e&&(this.startResendTimer(),this.$nextTick(()=>{this.$refs.verifyCode.focus()}))}},methods:{async submitAppAuth(){if(!this.verifyCode){this.errorMessage=lang("required_verify_code",this.langComponents.COMPONENT_SUBACCOUNTS_PROFILE);return}this.$loader.show(),this.isLoading=!0,await axios.post(route("profile.security.approve-phone-verification",{"2fa_code":this.verifyCode,phone:this.phone})).then(({data:e})=>{const{status:t,message:n}=e;t?(this.$notifications.success({title:lang("changes_saved",this.langComponents.COMPONENT_PROFILE_SECURITY),body:lang("security_changes_saved",this.langComponents.COMPONENT_PROFILE_SECURITY)}),this.$emit("onUpdatePhone",this.phone),this.$emit("close",!0)):this.errorMessage=n}
6).catch(e=>{console.error(e)}).finally(()=>{this.$loader.hide(),this.isLoading=!1})},closeModal(){this.verifyCode="",this.$emit("close")},resendPhoneCode(){this.startResendTimer(),this.$emit("resend")}}},ri={class:"confirm-methods__title"},si={class:"confirm-methods__actions"};function li(e,t,n,o,d,a){const l=c("ib-label"),r=c("ib-input"),p=c("ib-form-group"),i=c("ib-icon"),g=c("ib-button"),y=c("ib-button-group"),O=c("ib-modal");return C(),w(O,{"class-list":"modal-custom",size:"s",active:n.isActive,onClose:a.closeModal,"stop-propagation":d.isLoading},{header:s(()=>[m($(e.lang("verify_phone_number",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1)]),body:s(()=>[h("p",ri,$(e.lang("verify_phone_number_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE,{phone:n.phone})),1),u(p,{class:"confirm-methods__verify-code"},{default:s(()=>[u(l,{for:"verify-code",required:"","tooltip-position":"right-center","info-text":e.lang("verify_phone_number_tooltip",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)},{default:s(()=>[m($(e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["info-text"]),u(r,{id:"verify-code",name:"verify-code",type:"text",autocomplete:"off",dusk:"code-field",ref:"verifyCode",placeholder:e.lang("verify_code",e.langComponents.COMPONENT_PROFILE_SECURITY),"error-message":d.errorMessage,value:d.verifyCode,"model-value":d.verifyCode,"onUpdate:modelValue":t[0]||(t[0]=v=>d.verifyCode=v)},null,8,["placeholder","error-message","value","model-value"])]),_:1})]),footer:s(()=>[h("div",si,[u(g,{kind:"tertiary",disabled:d.isResendDisabled,onClick:a.resendPhoneCode},{icon:s(()=>[u(i,{name:"refresh"})]),default:s(()=>[m(" "+$(e.lang("resend_code",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE))+" ",1),d.isResendDisabled?(C(),T(Q,{key:0},[m(" ("+$(e.countdown)+") ",1)],64)):A("",!0)]),_:1},8,["disabled","onClick"]),u(y,null,{default:s(()=>[u(g,{kind:"ghost",onClick:a.closeModal},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"]),u(g,{kind:"primary",onClick:a.submitAppAuth},{default:s(()=>[m($(e.lang("set_up",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1},8,["onClick"])]),_:1})])]),_:1},8,["active","onClose","stop-propagation"])}const ui=L(ii,[["render",li]]),yt="+1",$i={name:"VerifyPhone",components:{IbFormGroup:z,VerifyPhoneModal:ui,IbPanel:Ce,IbAlert:ge,TitleInfoButton:be,IbPhoneInput:wt,IbButton:G,IbLabel:q},directives:{Tooltip:U},data(){return{phoneValid:!1,newPhone:"",isVerifyModalActive:!1,errorMessage:""}},computed:{...ee(["activeTwoFactorAuthType","phone"]),isPhone2FAEnabled(){return this.activeTwoFactorAuthType===I.sms},isPhoneDialCode(){const e=this.$refs.phoneInput?.dialCode;return this.newPhone===`+${e}`},isSubmitEnable(){return!this.isPhoneDialCode&&this.newPhone!==this.phone},savePhoneTooltip(){return this.isPhone2FAEnabled?lang("cannot_edited_because_phone_used_2fa",N.COMPONENT_PROFILE_SECURITY):lang("phone_verified",N.COMPONENT_ACCOUNT_SETTINGS)},isPhoneValid(){return this.phoneValid||this.isPhoneDialCode||!this.newPhone}},watch:{phone(e){this.newPhone=e,this.errorMessage=""}},methods:{...J(["resetTwoFactorAuth","setPhone"]),async submitPhoneAction(){this.errorMessage="",this.$loader.show(),await axios.post(route("profile.security.setup-phone-verification",{phone:this.newPhone})).then(({data:e})=>{this.isVerifyModalActive=!0}).catch(e=>{this.isVerifyModalActive=!1,e.response.status!==500&&(this.errorMessage=e.response.data.message)}).finally(()=>{this.$loader.hide()})},async deletePhoneAction(){this.$loader.show(),await axios.delete(route("profile.security.delete-phone")).then(({data:e})=>{const{status:t,message:n}=e;t?(this.$notifications.success({title:lang("changes_saved",this.langComponents.COMPONENT_PROFILE_SECURITY),body:lang("security_changes_saved",this.langComponents.COMPONENT_PROFILE_SECURITY)}),this.onUpdatePhoneHandler("")):this.errorMessage=n}).catch(e=>{console.error(e)}).finally(()=>{this.$loader.hide()})},async submitPhone(){if(this.newPhone?.length===0){const e={title:lang("delete_phone_number",N.COMPONENT_PROFILE_SECURITY_PHONE),message:lang("delete_phone_number_desc",N.COMPONENT_PROFILE_SECURITY_PHONE),submit:{buttonKind:"danger",text:lang("delete_phone",N.COMPONENT_PROFILE_SECURITY_PHONE)}};await he(e)?this.deletePhoneAction():this.cancelVerificationInModal()}
6else if(this.activeTwoFactorAuthType===I.sms){const e={title:lang("update_phone_number",N.COMPONENT_PROFILE_SECURITY_PHONE),message:lang("update_phone_number_desc",N.COMPONENT_PROFILE_SECURITY_PHONE),submit:{text:lang("continue",N.COMPONENT_PROFILE_SECURITY_PHONE)}};await he(e)?this.submitPhoneAction():this.cancelVerificationInModal()}else await this.submitPhoneAction()},cancelVerificationInModal(e=!1){this.isVerifyModalActive=!1,!e&&(this.newPhone=this.phone)},onUpdatePhoneHandler(e){this.activeTwoFactorAuthType===I.sms&&this.resetTwoFactorAuth(),this.setPhone(e)},onPhoneReady(){this.newPhone=this.phone??yt},validatePhone(){this.isPhoneValid?this.errorMessage="":this.errorMessage=lang("this_phone_number_is_not_valid",this.langComponents.COMPONENT_PROFILE_SECURITY)},onCancel(){if(this.phone)this.newPhone=this.phone;else{const e=this.$refs.phoneInput?.dialCode;this.newPhone=e?`+${e}`:yt}this.errorMessage=""}}},ci={class:"phone-settings"},pi={class:"phone-settings__title"},fi={target:"_blank",class:"ib-standalone-link",href:"https://intelliboard.atlassian.net/wiki/spaces/KB/pages/2286125103/Update+Telephone+Number"},hi={class:"panel-content"},mi={class:"alert-title"},_i={class:"alert-title"},gi={class:"phone-settings__actions"};function Ci(e,t,n,o,d,a){const l=c("ib-icon"),r=c("title-info-button"),p=c("ib-alert"),i=c("ib-label"),g=c("ib-phone-input"),y=c("ib-form-group"),O=c("ib-button"),v=c("ib-panel"),b=c("verify-phone-modal"),D=H("tooltip");return C(),T("div",ci,[u(v,null,{title:s(()=>[h("div",pi,[m($(e.lang("verify_phone",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE))+" ",1),u(r,{dusk:"help-button",class:"help-button","button-size":"xs",title:e.lang("phone",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)},{buttons:s(()=>[h("a",fi,[m($(e.lang("how_to_change_phone",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE))+" ",1),u(l,{name:"open-outline"})])]),default:s(()=>[m($(e.lang("phone_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE))+" ",1)]),_:1},8,["title"])])]),"head-content":s(()=>[h("p",null,$(e.lang("verify_phone_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1)]),body:s(()=>[h("div",hi,[e.phone?(C(),w(p,{key:0,dusk:"verified-phone-alert",type:"success",class:"phone-alert","show-icon":""},{title:s(()=>[h("p",mi,[m($(e.lang("verify_phone_number_alert",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE))+" ",1),h("span",null,$(e.phone),1)])]),_:1})):(C(),w(p,{key:1,dusk:"not-verified-phone-alert",type:"info",class:"phone-alert","show-icon":""},{title:s(()=>[h("p",_i,[m($(e.lang("verify_phone_number_alert",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE))+" ",1),h("span",null,$(e.lang("no_phone_added",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1)])]),_:1})),u(y,null,{default:s(()=>[u(i,{for:"phone"},{default:s(()=>[m($(e.lang("phone_number",e.langComponents.COMPONENT_PROFILE_SECURITY)),1)]),_:1}),S((C(),T("div",null,[u(g,{modelValue:d.newPhone,"onUpdate:modelValue":t[0]||(t[0]=Y=>d.newPhone=Y),class:"phone-input",ref:"phoneInput","error-message":d.errorMessage,disabled:a.isPhone2FAEnabled,onOnReady:a.onPhoneReady,onValidate:t[1]||(t[1]=Y=>d.phoneValid=Y.valid),onBlur:a.validatePhone,onClose:a.validatePhone},null,8,["modelValue","error-message","disabled","onOnReady","onBlur","onClose"])])),[[D,a.isPhone2FAEnabled?e.lang("cannot_edited_because_phone_used_2fa",e.langComponents.COMPONENT_PROFILE_SECURITY):""]])]),_:1}),h("div",gi,[u(O,{dusk:"cancel-button",class:"cancel-button",kind:"ghost",disabled:!a.isSubmitEnable,onClick:a.onCancel},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE)),1)]),_:1},8,["disabled","onClick"]),S((C(),w(O,{dusk:"submit-button","prevent-default":"",class:"submit-btn",kind:"tertiary",disabled:!a.isSubmitEnable||!a.isPhoneValid,onClick:a.submitPhone},{default:s(()=>[m($(e.lang("save_phone",e.langComponents.COMPONENT_PROFILE_SECURITY_PHONE)),1)]),_:1},8,["disabled","onClick"])),[[D,a.savePhoneTooltip]])])])]),_:1}),u(b,{ref:"verifyModal",phone:d.newPhone,"is-active":d.isVerifyModalActive,onOnUpdatePhone:a.onUpdatePhoneHandler,onClose:a.cancelVerificationInModal,onResend:a.submitPhoneAction},null,8,["phone","is-active","onOnUpdatePhone","onClose","onResend"])])}const bi=L($i,[["render",Ci]]),yi={name:"ChangeEmail",components:{IbFormGroup:z,IbPanel:Ce,IbAlert:ge,TitleInfoButton:be,IbInput:te,IbLabel:q,Tooltip:U,IbButton:G},props:{isSync:Boolean,emailHelpLink:String},directives:{Tooltip:U},mixins:[un],data(){return{newEmail:"",confirmedNewEmail:"",isEmailChanged:!1,approvedEmail
6:"",helpDeskMail:CONFIG.VITE_HELPDESK_EMAIL}},computed:{...ee(["isEmailVerified","email","activeTwoFactorAuthType"]),isErrorsPresent(){return Object.values(this.errorList).flat().length>0||this.newEmail===""||this.confirmedNewEmail===""},isEmail2FAEnabled(){return this.activeTwoFactorAuthType===I.email},emailFieldTooltip(){return this.isSync?lang("cannot_edited_because_user_synchronized",N.COMPONENT_SUBACCOUNTS_PROFILE):this.isEmail2FAEnabled?lang("cannot_edited_because_email_used_2fa",N.COMPONENT_SUBACCOUNTS_PROFILE):""},saveEmailTooltip(){return this.isSync?lang("cannot_edited_because_user_synchronized",N.COMPONENT_SUBACCOUNTS_PROFILE):this.isEmail2FAEnabled?lang("cannot_edited_because_email_used_2fa",N.COMPONENT_SUBACCOUNTS_PROFILE):lang("update_email_tooltip",N.COMPONENT_PROFILE_SECURITY_EMAIL)}},methods:{...J(["resetTwoFactorAuth"]),validateEmailField(){this.setError("new-email",ln(this.newEmail))},validateConfirmedEmail(){this.setError("confirm-email",sn(this.newEmail,this.confirmedNewEmail))},cancelMails(){this.newEmail="",this.confirmedNewEmail=""},async submitNewEmail(){let e=!1,t=null;this.validateEmailField(),this.validateConfirmedEmail();for(const n in this.errorList)if(this.errorList.hasOwnProperty(n)&&this.errorList[n].length){t=this.$refs[n];break}t&&(t.focus(),e=!0),!e&&(this.$loader.show(),await axios.post(route("profile.security.setup-email-verification",{email:this.newEmail,confirm_email:this.confirmedNewEmail})).then(()=>
6{this.$notifications.success({title:lang("changes_saved",this.langComponents.COMPONENT_PROFILE_SECURITY),body:lang("security_changes_saved",this.langComponents.COMPONENT_PROFILE_SECURITY)}),this.isEmailChanged=!0,this.approvedEmail=this.confirmedNewEmail,this.newEmail="",this.confirmedNewEmail="",this.activeTwoFactorAuthType===I.email&&this.resetTwoFactorAuth(0)}).catch(n=>{const{response:o}=n;this.$notifications.error(o.data?.message)}).finally(()=>{this.$loader.hide()}))},async resendLink(){this.$loader.show(),await axios.post(route("profile.security.send-email-verification")).then(({data:e})=>{console.log(e)}).catch(e=>{console.error(e)}).finally(()=>{this.$loader.hide()})},async onSubmit(){if(!this.isErrorsPresent){if(this.activeTwoFactorAuthType===I.email){const e={title:lang("update_email",N.COMPONENT_PROFILE_SECURITY_EMAIL),message:lang("update_email_desc",N.COMPONENT_PROFILE_SECURITY_EMAIL),submit:{text:lang("confirm_change_email",N.COMPONENT_PROFILE_SECURITY_EMAIL)}};if(!await he(e)){this.newEmail="",this.confirmedNewEmail="";return}}this.submitNewEmail()}}}},vi={class:"email-settings"},Oi={class:"email-settings__title"},Ei=["href"],Pi={class:"panel-content"},Ti={class:"alert-title"},Ni=["href"],Ii={class:"resend-button__title"},wi={class:"form-groups"},Ri={class:"email-settings__actions"};function Si(e,t,n,o,d,a){const l=c("ib-icon"),r=c("title-info-button"),p=c("ib-alert"),i=c("ib-button"),g=c("ib-label"),y=c("ib-input"),O=c("ib-form-group"),v=c("ib-panel"),b=H("tooltip");return C(),T("div",vi,[u(v,null,{title:s(()=>[h("div",Oi,[m($(e.lang("change_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL))+" ",1),u(r,{dusk:"help-button",class:"help-button","button-size":"xs",title:e.lang("email_address",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL)},{buttons:s(()=>[h("a",{target:"_blank",class:"ib-standalone-link",href:n.emailHelpLink},[m($(e.lang("how_to_change_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL))+" ",1),u(l,{name:"open-outline"})],8,Ei)]),default:s(()=>[m($(e.lang("email_address_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL))+" ",1)]),_:1},8,["title"])])]),"head-content":s(()=>[h("p",null,$(e.lang("change_email_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL)),1)]),body:s(()=>[h("div",Pi,[e.isEmailVerified&&!d.isEmailChanged?(C(),w(p,{key:0,type:"success",class:"alert","show-icon":"",title:e.lang("verified_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL)},{default:s(()=>[m($(e.email),1)]),_:1},8,["title"])):(C(),w(p,{key:1,type:"warning",class:"alert","show-icon":"",title:` 7`},{title:s(()=>[h("p",Ti,[m($(e.lang("not_verified_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL))+" ",1),h("span",null,$(d.approvedEmail?d.approvedEmail:e.email),1)])]),link:s(()=>[S((C(),w(i,{dusk:"resend-button",class:"resend-button",kind:"ghost",onClick:a.resendLink},{default:s(()=>[u(l,{name:"refresh"}),h("p",Ii,$(e.lang("resend_verification_link",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL)),1)]),_:1},8,["onClick"])),[[b,e.lang("resend_verification_link_tooltip",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL)]])]),default:s(()=>[m(" "+$(e.lang("not_verified_email_desc",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL))+" ",1),S((C(),T("a",{class:"ib-link",href:"mailto:"+d.helpDeskMail},[m($(d.helpDeskMail),1)],8,Ni)),[[b,{title:e.lang("send_email",e.langComponents.COMPONENT_SYSTEM),text:d.helpDeskMail}]])]),_:1})),h("div",wi,[u(O,{class:"form-groups__group"},{default:s(()=>[u(g,{for:"new_email"},{default:s(()=>[m($(e.lang("new_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL)),1)]),_:1}),S(u(y,{id:"new_email",name:"new_email",dusk:"new_email-field",ref:"new_email",placeholder:e.lang("new_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL),"error-message":e.getError("new-email"),readonly:!1,value:d.newEmail,disabled:n.isSync||a.isEmail2FAEnabled,autocomplete:"off",onBlur:a.validateEmailField,onClear:a.validateEmailField,"model-value":d.newEmail,"onUpdate:modelValue":t[0]||(t[0]=D=>d.newEmail=D)},null,8,["placeholder","error-message","value","disabled","onBlur","onClear","model-value"]),[[b,a.emailFieldTooltip]])]),_:1}),u(O,{class:"form-groups__group"},{default:s(()=>[u(g,{for:"confirm_email"},{default:s(()=>[m($(e.lang("confirm_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL)),1)]),_:1}),S(u(y,{id:"confirm_email",name:"confirm_email",dusk:"confirm_email-field",ref:"confirm-email",placeholder:e.lang("confirm_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL),"error-message":e.getError("confirm-email"),readonly:!1,value:d.confirmedNewEmail,disabled:n.isSync||a.isEmail2FAEnabled,autocomplete:"off",onBlur:a.validateConfirmedEmail,onClear:a.validateConfirmedEmail,"model-value":d.confirmedNewEmail,"onUpdate:modelValue":t[1]||(t[1]=D=>d.confirmedNewEmail=D)},null,8,["placeholder","error-message","value","disabled","onBlur","onClear","model-value"]),[[b,a.emailFieldTooltip]])]),_:1})]),h("div",Ri,[u(i,{dusk:"cancel-button",class:"cancel-button",kind:"ghost",onClick:a.cancelMails,disabled:a.isErrorsPresent},{default:s(()=>[m($(e.lang("cancel",e.langComponents.COMPONENT_PROFILE_ASSUMPTION)),1)]),_:1},8,["onClick","disabled"]),S((C(),w(i,{type:"submit",dusk:"submit-button","prevent-default":"",class:"submit-btn",kind:"tertiary",disabled:a.isErrorsPresent||n.isSync,onClick:a.onSubmit},{default:s(()=>[m($(e.lang("save_email",e.langComponents.COMPONENT_PROFILE_SECURITY_EMAIL)),1)]),_:1},8,["disabled","onClick"])),[[b,a.saveEmailTooltip]])])])]),_:1})])}const Mi=L(yi,[["render",Si],["__scopeId","data-v-a3ee97bd"]]),Ai={name:"SecurityPage",props:{user:Object,helpLinks:{type:Object,default:()=>{}}},components:{ChangeEmail:Mi,VerifyPhone:bi,TwoFactorAuthentication:ai,ChangePassword:Wd}},Li={class:"security-container"};function Fi(e,t,n,o,d,a){const l=c("two-factor-authentication"),r=c("verify-phone"),p=c("change-email"),i=c("change-password");return C(),T("div",Li,[u(l,{dusk:"two-factor-authentication","setup-2fa-help-link":n.helpLinks.hot_to_setup_2fa},null,8,["setup-2fa-help-link"]),u(r,{dusk:"verify-phone"}),u(p,{"is-sync":n.user?.is_synchronized,dusk:"change-email","email-help-link":n.helpLinks.how_to_change_my_email},null,8,["is-sync","email-help-link"]),u(i,{dusk:"change-password","password-help-link":n.helpLinks.how_to_change_password},null,8,["password-help-link"])])}const ki=L(Ai,[["render",Fi],["__scopeId","data-v-b6464af5"]]),Ui={mixins:[$n],data(){return{isLoading:!1,user:null}},created(){this.init()},methods:{init(){this.$loader.show(),axios.get(route("profile.security.index")).then(e=>{this.user=e.data,this.isLoading=!0}
7).catch(e=>{this.handleHttpError(e)}).finally(()=>{this.$loader.hide()})}},components:{ProfileLayout:Gt,Security:ki}};function Di(e,t,n,o,d,a){const l=c("ib-icon"),r=c("ib-button"),p=c("security",!0),i=c("profile-layout");return C(),w(i,{breadcrumbs:[{to:{name:"profile.index"},title:e.lang("manage_ib_account",e.langComponents.COMPONENT_SUBACCOUNTS)},{title:e.lang("security",e.langComponents.COMPONENT_PROFILE_SECURITY)}],"page-title":e.lang("security",e.langComponents.COMPONENT_PROFILE_SECURITY),"title-info-button":{title:e.lang("about_security",e.langComponents.COMPONENT_PROFILE_SECURITY),text:e.lang("about_security_desc",e.langComponents.COMPONENT_PROFILE_SECURITY),link:{href:e.SUPPORT_LINKS.ABOUT_SECURITY,text:e.lang("about_security",e.langComponents.COMPONENT_PROFILE_SECURITY)}}},{"back-button":s(()=>[u(r,{to:{name:"profile.index"},class:"back-button",kind:"ghost"},{icon:s(()=>[u(l,{name:"chevron-back-outline"})]),default:s(()=>[m(" "+$(e.lang("back_to_manage_ib_account",e.langComponents.COMPONENT_SUBACCOUNTS)),1)]),_:1},8,["to"])]),default:s(()=>[d.isLoading?(C(),w(p,{key:0,user:d.user,"help-links":{how_to_change_my_email:e.SUPPORT_LINKS.HOW_TO_CHANGE_MY_EMAIL,how_to_change_password:e.SUPPORT_LINKS.HOW_TO_CHANGE_PASSWORD,hot_to_setup_2fa:e.SUPPORT_LINKS.HOW_TO_SET_UP_2FA}},null,8,["user","help-links"])):A("",!0)]),_:1},8,["breadcrumbs","page-title","title-info-button"])}const or=L(Ui,[["render",Di]]);export{or as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.