callix-dialer-widget 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
* Callix Client SDK React
|
|
24
24
|
* @version 0.0.8
|
|
25
25
|
* @license Proprietary
|
|
26
|
-
*/var _f=function(){if(vf)return mf;vf=1;var e,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})})(a,{CallixClientParams:()=>d.CallixClientParams,CallixClientProvider:()=>m,CallixClientSdk:()=>d.CallixClientSdk,useCallOperator:()=>C,useCallOperatorAudioInputMuted:()=>M,useCallOperatorAudioOutputControls:()=>P,useCallOperatorAudioOutputMuted:()=>D,useCallOperatorAudioOutputVolume:()=>k,useCallOperatorBreaks:()=>L,useCallOperatorControls:()=>x,useCallOperatorCurrentCall:()=>T,useCallOperatorCurrentCallControls:()=>I,useCallOperatorCurrentCallInfo:()=>A,useCallOperatorDiscardQualifications:()=>O,useCallOperatorEventListener:()=>R,useCallOperatorState:()=>S,useCallOperatorSuccessQualifications:()=>N,useCallixClient:()=>$}),e=a,mf=((t,e,a,d)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let s of i(e))!o.call(t,s)&&s!==a&&n(t,s,{get:()=>e[s],enumerable:!(d=r(e,s))||d.enumerable});return t})(n({},"__esModule",{value:!0}),e);var d=df(),s=df(),u=hf(),l=bf(),c=p(),f=(0,u.createScope)(null),h=(0,u.molecule)((t,e)=>{let n=e(f);if(!n)throw new Error("Missing CallixClient parameters. You must wrap your component tree with CallixClientProvider.");return new s.CallixClientSdk(n)});function $(){return(0,l.useMolecule)(h)}function m({children:t,...e}){return(0,c.jsx)(l.ScopeProvider,{scope:f,value:e,children:t})}var v=hf(),g=bf(),y=t,b=t;function _(t){return(0,b.useSyncExternalStore)(t.subscribe.bind(t),t.get.bind(t),t.get.bind(t))}var w=(0,v.molecule)(t=>{let e=t(h).createCallOperator();return(0,v.onMount)(()=>{e.start();let t=()=>{e.stop()};return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}}),(0,v.onUnmount)(()=>{e.stop()}),e});function C(){return(0,g.useMolecule)(w)}function S(){let t=C(),e=_(t.currentStateKeys);for(let n of e){if("startup.error"===n||"manualCall.callFailed"===n)return{state:"error"};if("startup"===n)return{state:"starting"};if("offline"===n||"available.networkDown"===n||"onBreak.networkDown"===n)return{state:"offline"};if("onBreak"===n)return{state:"onBreak",break:t.currentBreak.get()};if("available.callRinging"===n)return{state:"callRinging",call:t.currentCall.get()};if("manualCall.callSetup"===n)return{state:"manualCallSetup",call:t.currentCall.get()};if("manualCall.callRinging"===n)return{state:"manualCallRinging",call:t.currentCall.get()};if("available"===n||"manualCall.idle"===n)return{state:"idle"};if("inCall"===n)return{state:"callInProgress",call:t.currentCall.get()};if("afterCall"===n)return{state:"afterCall"}}}function E(t,e,n){return Object.fromEntries(n.map(n=>[n,(0,y.useCallback)((...r)=>{if(e){if("function"==typeof e[n])return(null==e?void 0:e[n]).apply(e,r);console.warn(`Method ${String(n)} is not a function on obj ${t}.`)}else console.warn(`Obj ${t} is null or undefined, cannot call method ${String(n)}.`)},[e])]))}function x(){return E("callOperator",C(),["becomeAvailable","goOffline","enterOnBreak","makeManualCall","finishAfterCall"])}function T(){return _(C().currentCall)}function A(){return _(C().currentCallInfo)}function N(){return _(C().successQualifications)}function O(){return _(C().discardQualifications)}function I(){return E("currentCall",T(),["answer","reject","hangup","isOnHold","hold","unhold","isMuted","mute","unmute"])}function R(t,e){let n=C(),r=(0,y.useRef)(e);r.current=e,(0,y.useEffect)(()=>{if(n)return n.on(t,(...t)=>{r.current.apply(null,t)})},[t,n])}function P(){return E("audioOutput",C().audioOutput,["setVolume","setMute"])}function k(){let t=C(),{setVolume:e}=P();return[_(t.audioOutput.volume),e]}function D(){let t=C(),{setMute:e}=P();return[_(t.audioOutput.isMuted),e]}function M(){let t=T(),[e,n]=(0,y.useState)((null==t?void 0:t.isMuted())??!1);return[e,(0,y.useCallback)(e=>{t&&(e?t.mute():t.unmute(),n(e))},[t])]}function L(){return _(C().breaks)}return mf}();const wf={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|(?: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[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|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,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|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}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33622|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"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-8]|5[0-5]|8[0-7]))\\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|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[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-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{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(?:[1245]|3[12])"]],["(\\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|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function Cf(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),i=0;i<3;i++){var o=Number(n[i]),a=Number(r[i]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]<e[1]?-1:0:!t[1]&&e[1]?1:t[1]&&!e[1]?-1:0}var Sf={}.constructor;function Ef(t){return null!=t&&t.constructor===Sf}function xf(t){return(xf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Af(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Nf(r.key),r)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Nf(t){var e=function(t,e){if("object"!=xf(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=xf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==xf(e)?e:e+""}var Of=" ext. ",If=/^\d+$/,Rf=function(){return Af(function t(e){Tf(this,t),jf(e),this.metadata=e,Bf.call(this,e)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(t){return"001"!==t})}},{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 void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var e=this.countryCallingCodes()[t];if(e&&1===e.length&&"001"===e[0])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,e){if(t&&If.test(t)&&(e=t,t=null),t&&"001"!==t){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new Pf(this.getCountryMetadata(t),this)}else if(e){if(!this.hasCallingCode(e))throw new Error("Unknown calling code: ".concat(e));this.numberingPlan=new Pf(this.getNumberingPlanMetadata(e),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var e=this.countryCallingCodes()[t];if(e){if(1===e.length&&3===e[0].length)return;return e}}},{key:"getCountryCodeForCallingCode",value:function(t){var e=this.getCountryCodesForCallingCode(t);if(e)return e[0]}},{key:"getNumberingPlanMetadata",value:function(t){var e=this.getCountryCodeForCallingCode(t);if(e)return this.getCountryMetadata(e);if(this.nonGeographic()){var n=this.nonGeographic()[t];if(n)return n}else{var r=this.countryCallingCodes()[t];if(r&&1===r.length&&"001"===r[0])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 void 0!==this.numberingPlan}}])}(),Pf=function(){return Af(function t(e,n){Tf(this,t),this.globalMetadataObject=n,this.metadata=e,Bf.call(this,n.metadata)},[{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;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(e){return new kf(e,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()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(t){if(this.hasTypes()&&Lf(this.types(),t))return new Mf(Lf(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?Of:this.metadata[13]||Of}}])}(),kf=function(){return Af(function t(e,n){Tf(this,t),this._format=e,this.metadata=n},[{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()||Df.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])}(),Df=/^\(?\$1\)?$/,Mf=function(){return Af(function t(e,n){Tf(this,t),this.type=e,this.metadata=n},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function Lf(t,e){switch(e){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}function jf(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Ef(t)||!Ef(t.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(Ef(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+Uf(t)+": "+t,"."))}var Uf=function(t){return xf(t)};function Ff(t,e){if((e=new Rf(e)).hasCountry(t))return e.selectNumberingPlan(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function Bf(t){var e=t.version;"number"==typeof e?(this.v1=1===e,this.v2=2===e,this.v3=3===e,this.v4=4===e):e?-1===Cf(e,"1.2.0")?this.v2=!0:-1===Cf(e,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function qf(t,e,n){return function(t,e,n,r){e&&(r=new Rf(r.metadata)).selectNumberingPlan(e);var i=r.type(n),o=i&&i.possibleLengths()||r.possibleLengths();if(!o)return"IS_POSSIBLE";var a=t.length,d=o[0];if(d===a)return"IS_POSSIBLE";if(d>a)return"TOO_SHORT";if(o[o.length-1]<a)return"TOO_LONG";return o.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(t,e,void 0,n)}function Hf(t,e,n){return"IS_POSSIBLE"===qf(t,e,n)}function zf(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function Gf(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Wf(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wf(t,e):void 0}}(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Wf(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var Kf=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Vf(t,e,n){if(e=e||{},t.country||t.countryCallingCode){(n=new Rf(n)).selectNumberingPlan(t.country,t.countryCallingCode);var r=e.v2?t.nationalNumber:t.phone;if(zf(r,n.nationalNumberPattern())){if(Yf(r,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":n.type("MOBILE")?Yf(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var i,o=Gf(Kf);!(i=o()).done;){var a=i.value;if(Yf(r,a,n))return a}}}}function Yf(t,e,n){return!(!(e=n.type(e))||!e.pattern())&&(!(e.possibleLengths()&&e.possibleLengths().indexOf(t.length)<0)&&zf(t,e.pattern()))}function Xf(t,e,n){var r=new Rf(n).getCountryCodesForCallingCode(t);return r?r.filter(function(t){return function(t,e,n){var r=new Rf(n);if(r.selectNumberingPlan(e),r.numberingPlan.possibleLengths().indexOf(t.length)>=0)return!0;return!1}(e,t,n)}):[]}var Jf="0-90-9٠-٩۰-۹",Zf="".concat("-‐-―−ー-").concat("//").concat("..").concat(" ").concat("()()[]\\[\\]").concat("~⁓∼~"),Qf=new RegExp("(["+Jf+"])");function th(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return eh(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eh(t,e):void 0}}(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function nh(t,e){var n=e.nationalNumber,r=e.metadata,i=r.getCountryCodesForCallingCode(t);if(i)return 1===i.length?i[0]:function(t,e){var n=e.countries,r=e.metadata;r=new Rf(r);for(var i,o=th(n);!(i=o()).done;){var a=i.value;if(r.selectNumberingPlan(a),r.leadingDigits()){if(t&&0===t.search(r.leadingDigits()))return a}else if(Vf({phone:t,country:a},void 0,r.metadata))return a}}(n,{countries:i,metadata:r.metadata})}function rh(t,e,n){var r=function(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var i,o,a,d=r.length-1,s=d>0&&r[d];if(e.nationalPrefixTransformRule()&&s)i=t.replace(n,e.nationalPrefixTransformRule()),d>1&&(o=r[1]);else{var u=r[0];i=t.slice(u.length),s&&(o=r[1])}if(s){var l=t.indexOf(r[1]);t.slice(0,l)===e.numberingPlan.nationalPrefix()&&(a=e.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:i,nationalPrefix:a,carrierCode:o}}}return{nationalNumber:t}}(t,n),i=r.carrierCode,o=r.nationalNumber;if(o!==t){if(!function(t,e,n){if(zf(t,n.nationalNumberPattern())&&!zf(e,n.nationalNumberPattern()))return!1;return!0}(t,o,n))return{nationalNumber:t};if(n.numberingPlan.possibleLengths()&&(e||(e=nh(n.numberingPlan.callingCode(),{nationalNumber:o,metadata:n})),!function(t,e,n){switch(qf(t,e,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,e,n)))return{nationalNumber:t}}return{nationalNumber:o,carrierCode:i}}function ih(t,e,n,r,i){if(!t)return{};var o;if("+"!==t[0]){var a=function(t,e,n,r){if(e){var i=new Rf(r);i.selectNumberingPlan(e,n);var o=new RegExp(i.IDDPrefix());if(0===t.search(o)){var a=(t=t.slice(t.match(o)[0].length)).match(Qf);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return t}}}(t,n,r,i);if(!a||a===t){if(n||r){var d=function(t,e,n,r,i){var o=n?Ff(n,i):r;if(0===t.indexOf(o)){(i=new Rf(i)).selectNumberingPlan(n,o);var a=t.slice(o.length),d=rh(a,e,i).nationalNumber,s=rh(t,e,i).nationalNumber;if(!zf(s,i.nationalNumberPattern())&&zf(d,i.nationalNumberPattern())||"TOO_LONG"===qf(s,e,i))return{countryCallingCode:o,number:a}}return{number:t}}(t,e,n,r,i),s=d.countryCallingCode,u=d.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:u}}return{number:t}}o=!0,t="+"+a}if("0"===t[1])return{};i=new Rf(i);for(var l=2;l-1<=3&&l<=t.length;){var c=t.slice(1,l);if(i.hasCallingCode(c))return i.selectNumberingPlan(c),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:c,number:t.slice(l)};l++}return{}}var oh=/(\$\d)/;function ah(t,e,n){var r=n.useInternationalFormat,i=n.withNationalPrefix,o=t.replace(new RegExp(e.pattern()),r?e.internationalFormat():i&&e.nationalPrefixFormattingRule()?e.format().replace(oh,e.nationalPrefixFormattingRule()):e.format());return r?function(t){return t.replace(new RegExp("[".concat(Zf,"]+"),"g")," ").trim()}(o):o}var dh=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;var sh=function(t){return"([".concat(Jf,"]{1,").concat(t,"})")};function uh(t){var e="[ \\t,]*",n="[:\\..]?[ \\t,-]*",r="#?",i="[ \\t]*";return";ext="+sh("20")+"|"+(e+"(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)"+n+sh("20")+r)+"|"+(e+"(?:[xx##~~]|int|int)"+n+sh("9")+r)+"|"+("[- ]+"+sh("6")+"#")+"|"+(i+"(?:,{2}|;)"+n+sh("15")+r)+"|"+(i+"(?:,)+"+n+sh("9")+r)}var lh="["+Jf+"]{2}",ch="[++]{0,1}(?:["+Zf+"]*["+Jf+"]){3,}["+Zf+Jf+"]*",fh=new RegExp("^[++]{0,1}(?:["+Zf+"]*["+Jf+"]){1,2}$","i"),hh=ch+"(?:"+uh()+")?",ph=new RegExp("^"+lh+"$|^"+hh+"$","i");var $h={formatExtension:function(t,e,n){return"".concat(t).concat(n.ext()).concat(e)}};function mh(t,e,n,r){if(n=n?function(){for(var t=1,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(;t<n.length;){if(n[t])for(var i in n[t])n[0][i]=n[t][i];t++}return n[0]}({},$h,n):$h,r=new Rf(r),t.country&&"001"!==t.country){if(!r.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));r.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)return t.phone||"";r.selectNumberingPlan(t.countryCallingCode)}var i,o=r.countryCallingCode(),a=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":return a?gh(i=vh(a,t.carrierCode,"NATIONAL",r,n),t.ext,r,n.formatExtension):"";case"INTERNATIONAL":return a?(i=vh(a,null,"INTERNATIONAL",r,n),gh(i="+".concat(o," ").concat(i),t.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return function(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}({number:"+".concat(o).concat(a),ext:t.ext});case"IDD":if(!n.fromCountry)return;var d=function(t,e,n,r,i){var o=Ff(r,i.metadata);if(o===n){var a=vh(t,e,"NATIONAL",i);return"1"===n?n+" "+a:a}var d=function(t,e,n){var r=new Rf(n);return r.selectNumberingPlan(t,e),r.defaultIDDPrefix()?r.defaultIDDPrefix():dh.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,void 0,i.metadata);if(d)return"".concat(d," ").concat(n," ").concat(vh(t,null,"INTERNATIONAL",i))}(a,t.carrierCode,o,n.fromCountry,r);return gh(d,t.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}function vh(t,e,n,r,i){var o,a,d=(o=r.formats(),a=t,function(t,e){for(var n=0;n<t.length;){if(e(t[n]))return t[n];n++}}(o,function(t){if(t.leadingDigitsPatterns().length>0){var e=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==a.search(e))return!1}return zf(a,t.pattern())}));return d?ah(t,d,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!d.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix}):t}function gh(t,e,n,r){return e?r(t,e,n):t}function yh(t){return(yh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function _h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bh(Object(n),!0).forEach(function(e){wh(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function wh(t,e,n){return(e=Sh(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ch(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Sh(r.key),r)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Sh(t){var e=function(t,e){if("object"!=yh(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=yh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==yh(e)?e:e+""}var Eh=function(){return Ch(function t(e,n,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("First argument is required");if("string"!=typeof e)throw new TypeError("First argument must be a string");if("+"===e[0]&&!n)throw new TypeError("`metadata` argument not passed");if(Ef(n)&&Ef(n.countries)){r=n;var i=e;if(!Th.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var o=ih(i,void 0,void 0,void 0,r);if(e=o.countryCallingCode,!(n=o.number))throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if("string"!=typeof n)throw new TypeError("`nationalNumber` argument must be a string");jf(r);var a=function(t,e){var n,r,i=new Rf(e);xh(t)?(n=t,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=t;return{country:n,countryCallingCode:r}}(e,r),d=a.country,s=a.countryCallingCode;this.country=d,this.countryCallingCode=s,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}},[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Xf(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function(t,e,n){if(void 0===e&&(e={}),n=new Rf(n),e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return Hf(t.phone||t.nationalNumber,t.country,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return t=this,e={v2:!0},n=this.getMetadata(),e=e||{},(n=new Rf(n)).selectNumberingPlan(t.country,t.countryCallingCode),n.hasTypes()?void 0!==Vf(t,e,n.metadata):zf(e.v2?t.nationalNumber:t.phone,n.nationalNumberPattern());var t,e,n}},{key:"isNonGeographic",value:function(){return new Rf(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return Vf(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,e){return mh(this,t,e?_h(_h({},e),{},{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)}}])}(),xh=function(t){return/^[A-Z]{2}$/.test(t)};var Th=/^\+\d+$/;function Ah(t){return(Ah="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Nh(t,e,n){return e=Ph(e),function(t,e){if(e&&("object"==Ah(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Ih()?Reflect.construct(e,n||[],Ph(t).constructor):e.apply(t,n))}function Oh(t){var e="function"==typeof Map?new Map:void 0;return Oh=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(Ih())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var i=new(t.bind.apply(t,r));return n&&Rh(i,n.prototype),i}(t,arguments,Ph(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Rh(n,t)},Oh(t)}function Ih(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ih=function(){return!!t})()}function Rh(t,e){return(Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Ph(t){return(Ph=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var kh=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=Nh(this,e,[t]),Object.setPrototypeOf(n,e.prototype),n.name=n.constructor.name,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Rh(t,e)}(e,t),n=e,Object.defineProperty(n,"prototype",{writable:!1}),n;var n}(Oh(Error)),Dh=new RegExp("(?:"+uh()+")$","i");var Mh={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Lh(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return jh(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jh(t,e):void 0}}(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function jh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Uh(t){for(var e,n="",r=Lh(t.split(""));!(e=r()).done;){n+=Fh(e.value,n)||""}return n}function Fh(t,e,n){if("+"===t){if(e)return;return"+"}return function(t){return Mh[t]}(t)}var Bh="(["+Jf+"]|[\\-\\.\\(\\)]?)",qh=new RegExp("^\\+"+Bh+"*["+Jf+"]"+Bh+"*$","g"),Hh=new RegExp("^("+("["+Jf+"]+((\\-)*["+Jf+"])*")+"\\.)*"+("[a-zA-Z]+((\\-)*["+Jf+"])*")+"\\.?$","g"),zh="tel:",Gh=";phone-context=";function Wh(t,e){var n,r=e.extractFormattedPhoneNumber,i=function(t){var e=t.indexOf(Gh);if(e<0)return null;var n=e+15;if(n>=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}(t);if(!function(t){return null===t||0!==t.length&&(qh.test(t)||Hh.test(t))}(i))throw new kh("NOT_A_NUMBER");if(null===i)n=r(t)||"";else{n="","+"===i.charAt(0)&&(n+=i);var o,a=t.indexOf(zh);o=a>=0?a+4:0;var d=t.indexOf(Gh);n+=t.substring(o,d)}var s=n.indexOf(";isub=");if(s>0&&(n=n.substring(0,s)),""!==n)return n}var Kh=new RegExp("[++"+Jf+"]"),Vh=new RegExp("[^"+Jf+"#]+$");function Yh(t,e,n){if(e=e||{},n=new Rf(n),e.defaultCountry&&!n.hasCountry(e.defaultCountry)){if(e.v2)throw new kh("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(e.defaultCountry))}var r=function(t,e,n){var r=Wh(t,{extractFormattedPhoneNumber:function(t){return function(t,e,n){if(!t)return;if(t.length>250){if(n)throw new kh("TOO_LONG");return}if(!1===e)return t;var r=t.search(Kh);if(r<0)return;return t.slice(r).replace(Vh,"")}(t,n,e)}});if(!r)return{};if(!function(t){return t.length>=2&&ph.test(t)}(r))return function(t){return fh.test(t)}(r)?{error:"TOO_SHORT"}:{};var i=function(t){var e=t.search(Dh);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(Dh),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}(r);if(i.ext)return i;return{number:r}}(t,e.v2,e.extract),i=r.number,o=r.ext,a=r.error;if(!i){if(e.v2){if("TOO_SHORT"===a)throw new kh("TOO_SHORT");throw new kh("NOT_A_NUMBER")}return{}}var d=function(t,e,n,r){var i,o=ih(Uh(t),void 0,e,n,r.metadata),a=o.countryCallingCodeSource,d=o.countryCallingCode,s=o.number;if(d)r.selectNumberingPlan(d);else{if(!s||!e&&!n)return{};r.selectNumberingPlan(e,n),e&&(i=e),d=n||Ff(e,r.metadata)}if(!s)return{countryCallingCodeSource:a,countryCallingCode:d};var u=rh(Uh(s),i,r),l=u.nationalNumber,c=u.carrierCode,f=nh(d,{nationalNumber:l,metadata:r});f&&(i=f,"001"===f||r.selectNumberingPlan(i));return{country:i,countryCallingCode:d,countryCallingCodeSource:a,nationalNumber:l,carrierCode:c}}(i,e.defaultCountry,e.defaultCallingCode,n),s=d.country,u=d.nationalNumber,l=d.countryCallingCode,c=d.countryCallingCodeSource,f=d.carrierCode;if(!n.hasSelectedNumberingPlan()){if(e.v2)throw new kh("INVALID_COUNTRY");return{}}if(!u||u.length<2){if(e.v2)throw new kh("TOO_SHORT");return{}}if(u.length>17){if(e.v2)throw new kh("TOO_LONG");return{}}if(e.v2){var h=new Eh(l,u,n.metadata);return s&&(h.country=s),f&&(h.carrierCode=f),o&&(h.ext=o),h.__countryCallingCodeSource=c,h}var p=!!(e.extended?n.hasSelectedNumberingPlan():s)&&zf(u,n.nationalNumberPattern());return e.extended?{country:s,countryCallingCode:l,carrierCode:f,valid:p,possible:!!p||!(!0!==e.extended||!n.possibleLengths()||!Hf(u,s,n)),phone:u,ext:o}:p?function(t,e,n){var r={country:t,phone:e};n&&(r.ext=n);return r}(s,u,o):{}}function Xh(t){return(Xh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Jh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Zh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jh(Object(n),!0).forEach(function(e){Qh(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Qh(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=Xh(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=Xh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xh(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tp(t){return(tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ep(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function np(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=tp(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=tp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tp(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,d=[],s=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e);else for(;!(s=(r=o.call(n)).done)&&(d.push(r.value),d.length!==e);s=!0);}catch(l){u=!0,i=l}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return d}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ip(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ip(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ip(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function op(t){var e,n,r,i=rp(Array.prototype.slice.call(t),4),o=i[0],a=i[1],d=i[2],s=i[3];if("string"!=typeof o)throw new TypeError("A text for parsing must be a string.");if(e=o,a&&"string"!=typeof a){if(!Ef(a))throw new Error("Invalid second argument: ".concat(a));d?(n=a,r=d):r=a}else s?(n=d,r=s):(n=void 0,r=d),a&&(n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ep(Object(n),!0).forEach(function(e){np(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ep(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({defaultCountry:a},n));return{text:e,options:n,metadata:r}}function ap(t){return(ap="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function sp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dp(Object(n),!0).forEach(function(e){up(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function up(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=ap(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=ap(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ap(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lp(t,e,n){e&&e.defaultCountry&&!function(t,e){return e.countries.hasOwnProperty(t)}(e.defaultCountry,n)&&(e=sp(sp({},e),{},{defaultCountry:void 0}));try{return function(t,e,n){return Yh(t,Zh(Zh({},e),{},{v2:!0}),n)}(t,e,n)}catch(r){if(!(r instanceof kh))throw r}}function cp(t){return(cp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function hp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fp(Object(n),!0).forEach(function(e){pp(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function pp(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=cp(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=cp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cp(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $p(){var t=op(arguments),e=t.text,n=t.options,r=t.metadata,i=lp(e,n=hp(hp({},n),{},{extract:!1}),r);return i&&i.isValid()||!1}function mp(){return function(t,e){var n=Array.prototype.slice.call(e);return n.push(wf),t.apply(this,n)}($p,arguments)}var vp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},gp=t.createContext&&t.createContext(vp),yp=["attr","size","title"];function bp(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function _p(){return _p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_p.apply(this,arguments)}function wp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Cp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wp(Object(n),!0).forEach(function(e){Sp(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Sp(t,e,n){var r;return(e="symbol"==typeof(r=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?r:r+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ep(e){return e&&e.map((e,n)=>t.createElement(e.tag,Cp({key:n},e.attr),Ep(e.child)))}function xp(e){return n=>t.createElement(Tp,_p({attr:Cp({},e.attr)},n),Ep(e.child))}function Tp(e){var n=n=>{var r,{attr:i,size:o,title:a}=e,d=bp(e,yp),s=o||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",_p({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,d,{className:r,style:Cp(Cp({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&t.createElement("title",null,a),e.children)};return void 0!==gp?t.createElement(gp.Consumer,null,t=>n(t)):n(vp)}function Ap(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"22 12 18 12 15 21 9 3 6 12 2 12"},child:[]}]})(t)}function Np(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},child:[]},{tag:"line",attr:{x1:"12",y1:"9",x2:"12",y2:"13"},child:[]},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"},child:[]}]})(t)}function Op(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"},child:[]},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"},child:[]}]})(t)}function Ip(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"polyline",attr:{points:"12 6 12 12 16 14"},child:[]}]})(t)}function Rp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"},child:[]},{tag:"line",attr:{x1:"18",y1:"9",x2:"12",y2:"15"},child:[]},{tag:"line",attr:{x1:"12",y1:"9",x2:"18",y2:"15"},child:[]}]})(t)}function Pp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 18v-6a9 9 0 0 1 18 0v6"},child:[]},{tag:"path",attr:{d:"M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"},child:[]}]})(t)}function kp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"},child:[]},{tag:"polyline",attr:{points:"16 17 21 12 16 7"},child:[]},{tag:"line",attr:{x1:"21",y1:"12",x2:"9",y2:"12"},child:[]}]})(t)}function Dp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"1",y1:"1",x2:"23",y2:"23"},child:[]},{tag:"path",attr:{d:"M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"},child:[]},{tag:"path",attr:{d:"M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"},child:[]},{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"23"},child:[]},{tag:"line",attr:{x1:"8",y1:"23",x2:"16",y2:"23"},child:[]}]})(t)}function Mp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"},child:[]},{tag:"path",attr:{d:"M19 10v2a7 7 0 0 1-14 0v-2"},child:[]},{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"23"},child:[]},{tag:"line",attr:{x1:"8",y1:"23",x2:"16",y2:"23"},child:[]}]})(t)}function Lp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function jp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"10",y1:"15",x2:"10",y2:"9"},child:[]},{tag:"line",attr:{x1:"14",y1:"15",x2:"14",y2:"9"},child:[]}]})(t)}function Up(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"},child:[]}]})(t)}function Fp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"16 2 16 8 22 8"},child:[]},{tag:"line",attr:{x1:"23",y1:"1",x2:"16",y2:"8"},child:[]},{tag:"path",attr:{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"},child:[]}]})(t)}function Bp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91"},child:[]},{tag:"line",attr:{x1:"23",y1:"1",x2:"1",y2:"23"},child:[]}]})(t)}function qp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"},child:[]}]})(t)}function Hp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function zp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]},{tag:"path",attr:{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"},child:[]}]})(t)}function Gp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"},child:[]},{tag:"circle",attr:{cx:"12",cy:"7",r:"4"},child:[]}]})(t)}function Wp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"},child:[]},{tag:"path",attr:{d:"M15.54 8.46a5 5 0 0 1 0 7.07"},child:[]}]})(t)}function Kp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"},child:[]},{tag:"path",attr:{d:"M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"},child:[]}]})(t)}function Vp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"},child:[]},{tag:"line",attr:{x1:"23",y1:"9",x2:"17",y2:"15"},child:[]},{tag:"line",attr:{x1:"17",y1:"9",x2:"23",y2:"15"},child:[]}]})(t)}function Yp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(t)}var Xp=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["forced-color-adjust","-ms-high-contrast-adjust"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["mask-border","-webkit-mask-box-image"],["mask-border-outset","-webkit-mask-box-image-outset"],["mask-border-slice","-webkit-mask-box-image-slice"],["mask-border-source","-webkit-mask-box-image-source"],["mask-border-repeat","-webkit-mask-box-image-repeat"],["mask-border-width","-webkit-mask-box-image-width"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["print-color-adjust","color-adjust"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);var Jp,Zp,Qp,t$,e$,n$,r$,i$,o$=(t,e)=>!!~t.indexOf(e),a$=(t,e="-")=>t.join(e),d$=(t,e)=>a$(t.filter(Boolean),e),s$=(t,e=1)=>t.slice(e),u$=t=>t,l$=()=>{},c$=t=>t[0].toUpperCase()+s$(t),f$=t=>t.replace(/[A-Z]/g,"-$&").toLowerCase(),h$=(t,e)=>{for(;"function"==typeof t;)t=t(e);return t},p$=(t,e)=>{t.size>e&&t.delete(t.keys().next().value)},$$=(t,e)=>!o$("@:&",t[0])&&(o$("rg",(typeof e)[5])||Array.isArray(e)),m$=(t,e,n)=>e?Object.keys(e).reduce((t,r)=>{const i=h$(e[r],n);return $$(r,i)?t[f$(r)]=i:t[r]="@"==r[0]&&o$("figa",r[1])?(t[r]||[]).concat(i):m$(t[r]||{},i,n),t},t):t,v$="undefined"!=typeof CSS&&CSS.escape||(t=>t.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& ")),g$=t=>(Array.isArray(t)||(t=[t]),"@media "+a$(t.map(t=>("string"==typeof t&&(t={min:t}),t.raw||a$(Object.keys(t).map(e=>`(${e}-width:${t[e]})`)," and "))),",")),y$=t=>{for(var e=9,n=t.length;n--;)e=Math.imul(e^t.charCodeAt(n),1597334677);return"tw-"+((e^e>>>9)>>>0).toString(36)},b$=(t="")=>(Jp.push(t),""),_$=t=>{Jp.length=Math.max(Jp.lastIndexOf("")+~~t,0)},w$=t=>t&&!o$("!:",t[0]),C$=t=>":"==t[0],S$=(t,e)=>{Zp.push({v:Jp.filter(C$),d:t,n:e,i:o$(Jp,"!"),$:""})},E$=t=>{const e="-"==t[0];e&&(t=s$(t));const n=a$(Jp.filter(w$));return S$("&"==t?n:(n&&n+"-")+t,e),""},x$=(t,e)=>{let n="";for(let r,i=!1,o=0;r=t[o++];)if(i||"["==r)n+=r,i="]"!=r;else switch(r){case":":n=n&&b$(":"+(t[o]==r?t[o++]:"")+n);break;case"(":n=n&&b$(n),b$();break;case"!":b$(r);break;case")":case" ":case"\t":case"\n":case"\r":n=n&&E$(n),_$(")"!==r);break;default:n+=r}n&&(e?b$(":"+n):"-"==n.slice(-1)?b$(n.slice(0,-1)):E$(n))},T$=t=>{b$(),A$(t),_$()},A$=t=>{switch(typeof t){case"string":x$(t);break;case"function":S$(t);break;case"object":Array.isArray(t)?t.forEach(T$):t&&Object.keys(t).forEach(e=>{((t,e)=>{if(e){b$();const n=o$("tbu",(typeof e)[1]);x$(t,n),n&&T$(e),_$()}})(e,t[e])})}},N$=new WeakMap,O$=t=>(Jp=[],Zp=[],Array.isArray(t[0])&&Array.isArray(t[0].raw)?(t=>{let e=N$.get(t);if(!e){let n=NaN,r="";e=t.map((e,i)=>{if(n==n||"["!=e.slice(-1)&&!o$(":-(",(t[i+1]||"")[0])||(n=i),i>=n)return o=>{i==n&&(r=""),r+=e,o$("rg",(typeof o)[5])?r+=o:o&&(x$(r),r="",A$(o)),i==t.length-1&&x$(r)};const o=Zp=[];x$(e);const a=[...Jp];return Zp=[],t=>{Zp.push(...o),Jp=[...a],t&&A$(t)}}),N$.set(t,e)}return e})(t[0]).forEach((e,n)=>e(t[n+1])):A$(t),Zp),I$=(t,e)=>("function"==typeof e&&(Qp=!1),e),R$=new WeakMap,P$=(t,e)=>{const n=(t=>{Qp=!0;const e=JSON.stringify(t,I$);return Qp&&e})(e);let r;if(n){var i=R$.get(t);i||R$.set(t,i=new Map),r=i.get(n)}return r||(r=Object.defineProperty((n,r)=>(r=Array.isArray(n)?r:n,h$(t(e,r),r)),"toJSON",{value:()=>n||e}),i&&(i.set(n,r),p$(i,1e4))),r},k$=(t,{css:e})=>e(O$(t)),D$=t=>(e,n,r,i)=>{if(e){const o=n&&t(n);if(o&&o.length>0)return o.reduce((t,n)=>(t[d$([r,n,i])]=e,t),{})}},M$=D$(t=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]}[t])),L$=t=>{const e=({x:"lr",y:"tb"}[t]||t||"").split("").sort();for(let n=e.length;n--;)if(!(e[n]={t:"top",r:"right",b:"bottom",l:"left"}[e[n]]))return;if(e.length)return e},j$=D$(L$),U$=(t,e)=>t+(":"==e[1]?s$(e,2)+":":s$(e))+":",F$=(t,e=t.d)=>"function"==typeof e?"":t.v.reduce(U$,"")+(t.i?"!":"")+(t.n?"-":"")+e,B$=t=>"cols"==t?"columns":"rows",q$=t=>(e,n,r)=>({[t]:r+((t$=a$(e))&&"-"+t$)}),H$=(t,e)=>(n,r,i)=>(t$=a$(n,e))&&{[t||i]:t$},z$=t=>(e,{theme:n},r)=>(t$=n(t||r,e))&&{[t||r]:t$},G$=(t,e)=>(n,{theme:r},i)=>(t$=r(t||i,n,a$(n,e)))&&{[t||i]:t$},W$=(t,e)=>(n,r)=>t(n,r,e),K$=q$("display"),V$=q$("position"),Y$=q$("textTransform"),X$=q$("textDecoration"),J$=q$("fontStyle"),Z$=t=>(e,n,r)=>({["--tw-"+t]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),Q$=(t,{theme:e},n)=>(t$=e("inset",t))&&{[n]:t$},tm=(t,e,n,r=n)=>(t$=e(r+"Opacity",s$(t)))&&{[`--tw-${n}-opacity`]:t$},em=(t,e)=>Math.round(parseInt(t,16)*e),nm=(t,e,n)=>t&&"#"==t[0]&&(t$=(t.length-1)/3)&&(n$=[17,1,.062272][t$-1])?`rgba(${em(t.substr(1,t$),n$)},${em(t.substr(1+t$,t$),n$)},${em(t.substr(1+2*t$,t$),n$)},${e?`var(--tw-${e}${n?","+n:""})`:n||1})`:t,rm=(t,e,n)=>n&&"string"==typeof n?(t$=nm(n,e+"-opacity"))&&t$!==n?{[`--tw-${e}-opacity`]:"1",[t]:[n,t$]}:{[t]:n}:void 0,im=t=>(n$=nm(t,"","0"))==t$?"transparent":n$,om=(t,{theme:e},n,r,i,o)=>(t$={x:["right","left"],y:["bottom","top"]}[t[0]])&&(n$=`--tw-${n}-${t[0]}-reverse`)?"reverse"==t[1]?{[n$]:"1"}:{[n$]:"0",[d$([i,t$[0],o])]:(e$=e(r,s$(t)))&&`calc(${e$} * var(${n$}))`,[d$([i,t$[1],o])]:e$&&[e$,`calc(${e$} * calc(1 - var(${n$})))`]}:void 0,am=(t,e)=>e[0]&&{[t]:(o$("wun",(e[0]||"")[3])?"space-":"")+e[0]},dm=t=>e=>o$(["start","end"],e[0])?{[t]:"flex-"+e[0]}:am(t,e),sm=t=>(e,{theme:n})=>{if(t$=n("grid"+c$(t),e,""))return{["grid-"+t]:t$};switch(e[0]){case"span":return e[1]&&{["grid-"+t]:`span ${e[1]} / span ${e[1]}`};case"start":case"end":return(t$=n("grid"+c$(t)+c$(e[0]),s$(e),a$(s$(e))))&&{[`grid-${t}-${e[0]}`]:t$}}},um=(t,{theme:e},n)=>{switch(t[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return H$("borderStyle")(t);case"collapse":case"separate":return H$("borderCollapse")(t);case"opacity":return tm(t,e,n)}return(t$=e(n+"Width",t,""))?{borderWidth:t$}:rm("borderColor",n,e(n+"Color",t))},lm=t=>(t?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",cm=(t,e,n)=>t[0]&&(t$=e.theme(n,t[1]||t[0]))&&{[`--tw-${n}-x`]:"y"!==t[0]&&t$,[`--tw-${n}-y`]:"x"!==t[0]&&t$,transform:[`${n}${t[1]?t[0].toUpperCase():""}(${t$})`,lm()]},fm=t=>(e,n,r)=>r[1]?j$(n.theme(t,e),r[1],t):z$(t)(e,n,r),hm=fm("padding"),pm=fm("margin"),$m=(t,{theme:e},n)=>(t$={w:"width",h:"height"}[t[0]])&&{[t$=`${n}${c$(t$)}`]:e(t$,s$(t))},mm=(t,{theme:e},n)=>{const r=n.split("-"),i="backdrop"==r[0]?r[0]+"-":"";if(i||t.unshift(...r),"filter"==t[0]){const e=["blur","brightness","contrast","grayscale","hue-rotate","invert",i&&"opacity","saturate","sepia",!i&&"drop-shadow"].filter(Boolean);return"none"==t[1]?{[i+"filter"]:"none"}:e.reduce((t,e)=>(t["--tw-"+i+e]="var(--tw-empty,/*!*/ /*!*/)",t),{[i+"filter"]:e.map(t=>`var(--tw-${i}${t})`).join(" ")})}return n$=t.shift(),o$(["hue","drop"],n$)&&(n$+=c$(t.shift())),(t$=e(i?"backdrop"+c$(n$):n$,t))&&{["--tw-"+i+n$]:(Array.isArray(t$)?t$:[t$]).map(t=>`${f$(n$)}(${t})`).join(" ")}},vm={group:(t,{tag:e},n)=>e(a$([n,...t])),hidden:W$(K$,"none"),inline:K$,block:K$,contents:K$,flow:K$,table:(t,e,n)=>o$(["auto","fixed"],t[0])?{tableLayout:t[0]}:K$(t,e,n),flex(t,e,n){switch(t[0]){case"row":case"col":return{flexDirection:a$("col"==t[0]?["column",...s$(t)]:t)};case"nowrap":case"wrap":return{flexWrap:a$(t)};case"grow":case"shrink":return null!=(t$=e.theme("flex"+c$(t[0]),s$(t),t[1]||1))&&{["flex-"+t[0]]:""+t$}}return(t$=e.theme("flex",t,""))?{flex:t$}:K$(t,e,n)},grid(t,e,n){switch(t[0]){case"cols":case"rows":return(t$=e.theme("gridTemplate"+c$(B$(t[0])),s$(t),2==t.length&&Number(t[1])?`repeat(${t[1]},minmax(0,1fr))`:a$(s$(t))))&&{["gridTemplate-"+B$(t[0])]:t$};case"flow":return t.length>1&&{gridAutoFlow:a$("col"==t[1]?["column",...s$(t,2)]:s$(t)," ")}}return K$(t,e,n)},auto:(t,{theme:e})=>o$(["cols","rows"],t[0])&&(t$=e("gridAuto"+c$(B$(t[0])),s$(t),a$(s$(t))))&&{["gridAuto-"+B$(t[0])]:t$},static:V$,fixed:V$,absolute:V$,relative:V$,sticky:V$,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:t=>({resize:{x:"horizontal",y:"vertical"}[t[0]]||t[0]||"both"}),box:t=>t[0]&&{boxSizing:t[0]+"-box"},appearance:H$(),cursor:G$(),float:H$(),clear:H$(),decoration:H$("boxDecorationBreak"),isolate:{isolation:"isolate"},isolation:H$(),"mix-blend":H$("mixBlendMode"),top:Q$,right:Q$,bottom:Q$,left:Q$,inset:(t,{theme:e})=>(t$=L$(t[0]))?j$(e("inset",s$(t)),t[0]):(t$=e("inset",t))&&{top:t$,right:t$,bottom:t$,left:t$},underline:X$,"line-through":X$,"no-underline":W$(X$,"none"),"text-underline":W$(X$,"underline"),"text-no-underline":W$(X$,"none"),"text-line-through":W$(X$,"line-through"),uppercase:Y$,lowercase:Y$,capitalize:Y$,"normal-case":W$(Y$,"none"),"text-normal-case":W$(Y$,"none"),italic:J$,"not-italic":W$(J$,"normal"),"font-italic":W$(J$,"italic"),"font-not-italic":W$(J$,"normal"),font:(t,e,n)=>(t$=e.theme("fontFamily",t,""))?{fontFamily:t$}:z$("fontWeight")(t,e,n),items:t=>t[0]&&{alignItems:o$(["start","end"],t[0])?"flex-"+t[0]:a$(t)},"justify-self":H$(),"justify-items":H$(),justify:dm("justifyContent"),content:dm("alignContent"),self:dm("alignSelf"),place:t=>t[0]&&am("place-"+t[0],s$(t)),overscroll:t=>t[0]&&{["overscrollBehavior"+(t[1]?"-"+t[0]:"")]:t[1]||t[0]},col:sm("column"),row:sm("row"),duration:z$("transitionDuration"),delay:z$("transitionDelay"),tracking:z$("letterSpacing"),leading:z$("lineHeight"),z:z$("zIndex"),opacity:z$(),ease:z$("transitionTimingFunction"),p:hm,py:hm,px:hm,pt:hm,pr:hm,pb:hm,pl:hm,m:pm,my:pm,mx:pm,mt:pm,mr:pm,mb:pm,ml:pm,w:z$("width"),h:z$("height"),min:$m,max:$m,fill:z$(),order:z$(),origin:G$("transformOrigin"," "),select:H$("userSelect"),"pointer-events":H$(),align:H$("verticalAlign"),whitespace:H$("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:Z$("ordinal"),"slashed-zero":Z$("slashed-zero"),"lining-nums":Z$("numeric-figure"),"oldstyle-nums":Z$("numeric-figure"),"proportional-nums":Z$("numeric-spacing"),"tabular-nums":Z$("numeric-spacing"),"diagonal-fractions":Z$("numeric-fraction"),"stacked-fractions":Z$("numeric-fraction"),overflow:(t,e,n)=>o$(["ellipsis","clip"],t[0])?H$("textOverflow")(t):t[1]?{["overflow-"+t[0]]:t[1]}:H$()(t,e,n),transform:t=>"none"==t[0]?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:lm("gpu"==t[0])},rotate:(t,{theme:e})=>(t$=e("rotate",t))&&{"--tw-rotate":t$,transform:[`rotate(${t$})`,lm()]},scale:cm,translate:cm,skew:cm,gap:(t,e,n)=>(t$={x:"column",y:"row"}[t[0]])?{[t$+"Gap"]:e.theme("gap",s$(t))}:z$("gap")(t,e,n),stroke:(t,e,n)=>(t$=e.theme("stroke",t,""))?{stroke:t$}:z$("strokeWidth")(t,e,n),outline:(t,{theme:e})=>(t$=e("outline",t))&&{outline:t$[0],outlineOffset:t$[1]},"break-normal":{wordBreak:"normal",overflowWrap:"normal"},"break-words":{overflowWrap:"break-word"},"break-all":{wordBreak:"break-all"},text(t,{theme:e},n){switch(t[0]){case"left":case"center":case"right":case"justify":return{textAlign:t[0]};case"uppercase":case"lowercase":case"capitalize":return Y$([],t$,t[0]);case"opacity":return tm(t,e,n)}const r=e("fontSize",t,"");return r?"string"==typeof r?{fontSize:r}:{fontSize:r[0],..."string"==typeof r[1]?{lineHeight:r[1]}:r[1]}:rm("color","text",e("textColor",t))},bg(t,{theme:e},n){switch(t[0]){case"fixed":case"local":case"scroll":return H$("backgroundAttachment",",")(t);case"bottom":case"center":case"left":case"right":case"top":return H$("backgroundPosition"," ")(t);case"no":return"repeat"==t[1]&&H$("backgroundRepeat")(t);case"repeat":return o$("xy",t[1])?H$("backgroundRepeat")(t):{backgroundRepeat:t[1]||t[0]};case"opacity":return tm(t,e,n,"background");case"clip":case"origin":return t[1]&&{["background-"+t[0]]:t[1]+("text"==t[1]?"":"-box")};case"blend":return H$("background-blend-mode")(s$(t));case"gradient":if("to"==t[1]&&(t$=L$(t[2])))return{backgroundImage:`linear-gradient(to ${a$(t$," ")},var(--tw-gradient-stops))`}}return(t$=e("backgroundPosition",t,""))?{backgroundPosition:t$}:(t$=e("backgroundSize",t,""))?{backgroundSize:t$}:(t$=e("backgroundImage",t,""))?{backgroundImage:t$}:rm("backgroundColor","bg",e("backgroundColor",t))},from:(t,{theme:e})=>(t$=e("gradientColorStops",t))&&{"--tw-gradient-from":t$,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${im(t$)})`},via:(t,{theme:e})=>(t$=e("gradientColorStops",t))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${t$},var(--tw-gradient-to,${im(t$)})`},to:(t,{theme:e})=>(t$=e("gradientColorStops",t))&&{"--tw-gradient-to":t$},border:(t,e,n)=>{var r;const i=null==(r=L$(t[0]))?void 0:r.map(c$);i&&(t=s$(t));let o=um(t,e,n);return i&&o&&"object"==typeof o&&(o=Object.entries(o).reduce((t,[e,n])=>{if(e.startsWith("border"))for(const r of i)t[e.slice(0,6)+r+e.slice(6)]=n;else t[e]=n;return t},{})),o},divide:(t,e,n)=>(t$=om(t,e,n,"divideWidth","border","width")||um(t,e,n))&&{"&>:not([hidden])~:not([hidden])":t$},space:(t,e,n)=>(t$=om(t,e,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":t$},placeholder:(t,{theme:e},n)=>(t$="opacity"==t[0]?tm(t,e,n):rm("color","placeholder",e("placeholderColor",t)))&&{"&::placeholder":t$},shadow:(t,{theme:e})=>(t$=e("boxShadow",t))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":"none"==t$?"0 0 transparent":t$,boxShadow:[t$,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(t,{theme:e,tag:n})=>{if(n$=e("animation",t)){const t=n$.split(" ");return(t$=e("keyframes",t[0],e$={}))!==e$?(n$=n(t[0]))&&{animation:n$+" "+a$(s$(t)," "),["@keyframes "+n$]:t$}:{animation:n$}}},ring(t,{theme:e},n){switch(t[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return tm(t,e,n);case"offset":return(t$=e("ringOffsetWidth",s$(t),""))?{"--tw-ring-offset-width":t$}:{"--tw-ring-offset-color":e("ringOffsetColor",s$(t))}}return(t$=e("ringWidth",t,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${t$} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":e("ringOffsetWidth","","0px"),"--tw-ring-offset-color":e("ringOffsetColor","","#fff"),"--tw-ring-color":nm(e("ringColor","","#93c5fd"),"ring-opacity",e("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":nm(e("ringColor",t),"ring-opacity")}},object:(t,e,n)=>o$(["contain","cover","fill","none","scale-down"],a$(t))?{objectFit:a$(t)}:G$("objectPosition"," ")(t,e,n),list:(t,e,n)=>"item"==a$(t)?K$(t,e,n):o$(["inside","outside"],a$(t))?{listStylePosition:t[0]}:G$("listStyleType")(t,e,n),rounded:(t,e,n)=>M$(e.theme("borderRadius",s$(t),""),t[0],"border","radius")||z$("borderRadius")(t,e,n),"transition-none":{transitionProperty:"none"},transition:(t,{theme:e})=>({transitionProperty:e("transitionProperty",t),transitionTimingFunction:e("transitionTimingFunction",""),transitionDuration:e("transitionDuration","")}),container:(t,{theme:e})=>{const{screens:n=e("screens"),center:r,padding:i}=e("container"),o=t=>(t$=i&&("string"==typeof i?i:i[t]||i.DEFAULT))?{paddingRight:t$,paddingLeft:t$}:{};return Object.keys(n).reduce((t,e)=>((n$=n[e])&&"string"==typeof n$&&(t[g$(n$)]={"&":{"max-width":n$,...o(e)}}),t),{width:"100%",...r?{marginRight:"auto",marginLeft:"auto"}:{},...o("xs")})},filter:mm,blur:mm,brightness:mm,contrast:mm,grayscale:mm,"hue-rotate":mm,invert:mm,saturate:mm,sepia:mm,"drop-shadow":mm,backdrop:mm},gm={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"},ym="__twind",bm=t=>{let e=self[ym];return e||(e=document.head.appendChild(document.createElement("style")),e.id=ym,t&&(e.nonce=t),e.appendChild(document.createTextNode(""))),e},_m=t=>({unknown(t,e=[],n,r){n||this.report({id:"UNKNOWN_THEME_VALUE",key:t+"."+a$(e)},r)},report:({id:e,...n})=>t(`[${e}] ${JSON.stringify(n)}`)}),wm=_m(t=>console.warn(t)),Cm=_m(t=>{throw new Error(t)}),Sm=_m(l$),Em=(t,e,n)=>`${t}:${e}${n?" !important":""}`,xm=(t,e,n)=>{let r="";const i=(o=t,Xp.get(o));var o;i&&(r+=`${Em(i,e,n)};`);let a=function(t){var e=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|mask(?:$|-[ispro]|-cl)|pr|hyphena|flex-d)|(tab-|column(?!-s)|text-align-l)|(ap)|u|hy)/i.exec(t);return e?e[1]?1:e[2]?2:e[3]?3:5:0}(t);return 1&a&&(r+=`-webkit-${Em(t,e,n)};`),2&a&&(r+=`-moz-${Em(t,e,n)};`),4&a&&(r+=`-ms-${Em(t,e,n)};`),a=function(t,e){var n=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(t);return n?n[1]?/^sti/i.test(e)?1:0:n[2]?/^pat/i.test(e)?1:0:n[3]?/^image-/i.test(e)?1:0:n[4]?"-"===e[3]?2:0:/^(?:inline-)?grid$/i.test(e)?4:0:0}(t,e),1&a&&(r+=`${Em(t,`-webkit-${e}`,n)};`),2&a&&(r+=`${Em(t,`-moz-${e}`,n)};`),4&a&&(r+=`${Em(t,`-ms-${e}`,n)};`),r+=Em(t,e,n),r},Tm=(t,e)=>{const n={};do{for(let e=1;e<t;e++)n[`${e}/${t}`]=Number((e/t*100).toFixed(6))+"%"}while(++t<=e);return n},Am=(t,e,n=0)=>{const r={};for(;n<=t;n=2*n||1)r[n]=n+e;return r},Nm=(t,e="",n=1,r=0,i=1,o={})=>{for(;r<=t;r+=i)o[r]=r/n+e;return o},Om=t=>e=>e(t),Im={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:{px:"1px",0:"0px",...Nm(4,"rem",4,.5,.5),...Nm(12,"rem",4,5),14:"3.5rem",...Nm(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},backdropBlur:Om("blur"),backdropBrightness:Om("brightness"),backdropContrast:Om("contrast"),backdropGrayscale:Om("grayscale"),backdropHueRotate:Om("hueRotate"),backdropInvert:Om("invert"),backdropOpacity:Om("opacity"),backdropSaturate:Om("saturate"),backdropSepia:Om("sepia"),backgroundColor:Om("colors"),backgroundImage:{none:"none"},backgroundOpacity:Om("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...Nm(200,"",100,0,50),...Nm(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:t=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:Om("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderWidth:{DEFAULT:"1px",...Am(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none"},contrast:{...Nm(200,"",100,0,50),75:"0.75",125:"1.25"},divideColor:Om("borderColor"),divideOpacity:Om("borderOpacity"),divideWidth:Om("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:{current:"currentColor"},grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gridTemplateColumns:{},gridTemplateRows:{},gridAutoColumns:{min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gap:Om("spacing"),gradientColorStops:Om("colors"),height:t=>({auto:"auto",...t("spacing"),...Tm(2,6),full:"100%",screen:"100vh"}),inset:t=>({auto:"auto",...t("spacing"),...Tm(2,4),full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",...Nm(10,"rem",4,3)},margin:t=>({auto:"auto",...t("spacing")}),maxHeight:t=>({...t("spacing"),full:"100%",screen:"100vh"}),maxWidth:(t,{breakpoints:e})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",prose:"65ch",...e(t("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:{...Nm(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0",...Nm(12,"",1,1)},outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:Om("spacing"),placeholderColor:Om("colors"),placeholderOpacity:Om("opacity"),ringColor:t=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:Om("colors"),ringOffsetWidth:Am(8,"px"),ringOpacity:t=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",...Am(8,"px")},rotate:{...Am(2,"deg"),...Am(12,"deg",3),...Am(180,"deg",45)},saturate:Nm(200,"",100,0,50),scale:{...Nm(150,"",100,0,50),...Nm(110,"",100,90,5),75:"0.75",125:"1.25"},sepia:{0:"0",DEFAULT:"100%"},skew:{...Am(2,"deg"),...Am(12,"deg",3)},space:Om("spacing"),stroke:{current:"currentColor"},strokeWidth:Nm(2),textColor:Om("colors"),textOpacity:Om("opacity"),transitionDuration:t=>({DEFAULT:"150ms",...t("durations")}),transitionDelay:Om("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"background-color,border-color,color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:t=>({...t("spacing"),...Tm(2,4),full:"100%"}),width:t=>({auto:"auto",...t("spacing"),...Tm(2,6),...Tm(12,12),screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:{auto:"auto",...Nm(50,"",1,0,10)}},Rm=(t,e={},n=[])=>(Object.keys(t).forEach(r=>{const i=t[r];"DEFAULT"==r&&(e[a$(n)]=i,e[a$(n,".")]=i);const o=[...n,r];e[a$(o)]=i,e[a$(o,".")]=i,i&&"object"==typeof i&&Rm(i,e,o)},e),e),Pm={negative:()=>({}),breakpoints:t=>Object.keys(t).filter(e=>"string"==typeof t[e]).reduce((e,n)=>(e["screen-"+n]=t[n],e),{})},km=t=>{const e=new Map,n={...Im,...t},r=(t,e)=>{const n=t&&t[e],r="function"==typeof n?n(i,Pm):n;return r&&"colors"==e?Rm(r):r},i=(t,i,o)=>{const a=t.split(".");t=a[0],a.length>1&&(o=i,i=a$(s$(a),"."));let d=e.get(t);if(d||(e.set(t,d={...r(n,t)}),Object.assign(d,r(n.extend,t))),null!=i){const e=((t,e)=>(e="["==e[0]&&"]"==e.slice(-1)&&e.slice(1,-1))&&o$(t,"olor")==/^(#|(hsl|rgb)a?\(|[a-z]+$)/.test(e)&&(o$(e,"calc(")?e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "):e))(t,i=(Array.isArray(i)?a$(i):i)||"DEFAULT")||d[i];return null==e?o:Array.isArray(e)&&!o$(["fontSize","outline","dropShadow"],t)?a$(e,","):e}return d};return i},Dm=/^:(group(?:(?!-focus).+?)*)-(.+)$/,Mm=/^(:not)-(.+)/,Lm=t=>"["==t[1]?s$(t):t,jm=t=>(31&((i$=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(t))?+i$[1]/(i$[2]?15:1)/10:0))<<22,Um=t=>{i$=0;for(let e=t.length;e--;)i$+=o$("-:,",t[e]);return i$},Fm=t=>(15&Um(t))<<18,Bm=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],qm=(t,e)=>(n,r)=>{return n|((i$=t("screens",s$(r),""))?1<<27|jm(g$(i$)):":dark"==r?1<<30:"@"==(i$=e[r]||r.replace(Mm,":$2"))[0]?Fm(i$):(i=r,1<<(~(i$=Bm.indexOf(i.replace(Dm,":$2").slice(3,8)))?i$:17)));var i},Hm=(t,e)=>e+"{"+t+"}",zm=(t,e,n)=>{const{theme:r,tag:i}=n,o=(t,e)=>"--"+i(e),a=t=>`${t}`.replace(/--(tw-[\w-]+)\b/g,o);let d;const s=(e,r,i,o,u)=>{if(Array.isArray(o))return void o.forEach(t=>t&&s(e,r,i,t,u));let l="",c=0,f=0;o["@apply"]&&(o=m$(h$(((...t)=>P$(k$,t))(o["@apply"]),n),{...o,"@apply":void 0},n)),Object.keys(o).forEach(h=>{const p=h$(o[h],n);if($$(h,p)){if(""!==p&&h.length>1){const e=f$(h);f+=1,c=Math.max(c,(t=>"-"==t[0]?0:Um(t)+((i$=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(t))?+!!i$[1]||-!!i$[2]:0)+1)(e)),l=(l&&l+";")+((e,n,r)=>(e=a(e),Array.isArray(n)?a$(n.filter(Boolean).map(n=>t(e,a(n),r)),";"):t(e,a(n),r)))(e,p,u)}}else if(p)if(":global"==h&&(h="@global"),"@"==h[0])if("g"==h[1])s([],"",0,p,u);else if("f"==h[1])s([],h,0,p,u);else if("k"==h[1]){const t=d.length;s([],"",0,p,u);const e=d.splice(t,d.length-t);d.push({r:Hm(a$(e.map(t=>t.r),""),h),p:e.reduce((t,e)=>t+e.p,0)})}else"i"==h[1]?(Array.isArray(p)?p:[p]).forEach(t=>t&&d.push({p:0,r:`${h} ${t};`})):("c"==h[2]&&(h=g$(n.theme("screens",s$(h,8).trim()))),s([...e,h],r,i|jm(h)|Fm(h),p,u));else s(e,r?r.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(t,e,n)=>h.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(t,n,r)=>(o$(n,"&")?n.replace(/&/g,e):(e&&e+" ")+n)+r)+n):h,i,p,u)}),f&&d.push({r:e.reduceRight(Hm,Hm(l,r)),p:256*i+((15&Math.max(0,15-f))<<4|15&(c||15))})},u=qm(r,e);return(t,e,n,r=0)=>(r<<=28,d=[],s([],e?"."+v$(e):"",n?n.v.reduceRight(u,r):r,t,n&&n.i),d)},Gm=(t,e,n,r=e)=>!1===t?n:!0===t?r:t||e,Wm={_:{value:"",writable:!0}},Km=(t={})=>{const e=km(t.theme),n=(t=>("string"==typeof t?{t:Cm,a:wm,i:Sm}[t[1]]:t)||wm)(t.mode),r=Gm(t.hash,!1,!1,y$),i=t.important;let o={v:[]},a=0;const d=[],s={tw:(...t)=>b(t),theme:(t,r,i)=>{var a;const d=null!=(a=e(t,r,i))?a:n.unknown(t,null==r||Array.isArray(r)?r:r.split("."),null!=i,s);return o.n&&d&&o$("rg",(typeof d)[5])?`calc(${d} * -1)`:d},tag:t=>r?r(t):t,css:t=>{a++;const e=d.length;try{("string"==typeof t?O$([t]):t).forEach(y);const n=Object.create(null,Wm);for(let t=e;t<d.length;t++){const e=d[t];if(e)switch(typeof e){case"object":m$(n,e,s);break;case"string":n._+=(n._&&" ")+e}}return n}finally{d.length=e,a--}}},u=((t,e)=>(n,r)=>{if("function"==typeof n.d)return n.d(e);const i=n.d.split(/-(?![^[]*])/g);if(!r&&"tw"==i[0]&&n.$==n.d)return n.$;for(let o=i.length;o;o--){const n=a$(i.slice(0,o));if(Object.prototype.hasOwnProperty.call(t,n)){const a=t[n];return"function"==typeof a?a(s$(i,o),e,n):"string"==typeof a?e[r?"css":"tw"](a):a}}})({...vm,...t.plugins},s),l={...gm,...t.variants},c=((t,e,{theme:n,tag:r})=>{const i=(i,o)=>(r$=n("screens",s$(o),""))?{[g$(r$)]:i}:":dark"==o&&"class"==t?{".dark &":i}:(r$=Dm.exec(o))?{[`.${v$(r(r$[1]))}:${r$[2]} &`]:i}:{[e[s$(o)]||"&"+o.replace(Mm,(t,e,n)=>e+"("+Lm(":"+n)+")")]:i};return(t,e)=>e.v.reduceRight(i,t)})(t.darkMode||"media",l,s),f=zm(Gm(t.prefix,xm,Em),l,s),h=t.sheet||("undefined"==typeof window?{target:null,insert:l$}:(({nonce:t,target:e=bm(t).sheet}={})=>{const n=e.cssRules.length;return{target:e,insert:(t,r)=>e.insertRule(t,n+r)}})(t)),{init:p=t=>t()}=h,$=((t,e,n,r)=>{let i,o;return n((t=[])=>i=t),n((t=new Set)=>o=t),({r:n,p:a})=>{if(!o.has(n)){o.add(n);const s=((t,e)=>{for(var n=0,r=t.length;n<r;){const i=r+n>>1;t[i]<=e?n=i+1:r=i}return r})(i,a);try{t.insert(n,s),i.splice(s,0,a)}catch(d){/:-[mwo]/.test(n)||e.report({id:"INJECT_CSS_ERROR",css:n,error:d},r)}}}})(h,n,p,s);let m;p((t=new Map)=>m=t);const v=new WeakMap,g=(t,e)=>"_"==t?void 0:"function"==typeof e?JSON.stringify(h$(e,s),g):e,y=t=>{!a&&o.v.length&&(t={...t,v:[...o.v,...t.v],$:""}),t.$||(t.$=F$(t,v.get(t.d)));let e=a?null:m.get(t.$);if(null==e){let l=(t=>{const e=o;o=t;try{return h$(u(t),s)}finally{o=e}})(t);if(t.$||(t.$=y$(JSON.stringify(l,g)),v.set(t.d,t.$),t.$=F$(t,t.$)),l&&"object"==typeof l)if(t.v=t.v.map(Lm),i&&(t.i=i),l=c(l,t),a)d.push(l);else{const n="function"==typeof t.d?"string"==typeof l._?1:3:2;e=r||"function"==typeof t.d?(r||y$)(n+t.$):t.$,f(l,e,t,n).forEach($),l._&&(e+=" "+l._)}else"string"==typeof l?e=l:(e=t.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:e},s)),a&&"function"!=typeof t.d&&d.push(e);a||(m.set(t.$,e),p$(m,3e4))}return e},b=t=>a$(O$(t).map(y).filter(Boolean)," "),_=Gm(t.preflight,u$,!1);if(_){const t=(t=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:t("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${t("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:t("placeholderColor.DEFAULT",t("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:t("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}}))(e),n=f("function"==typeof _?h$(_(t,s),s)||t:{...t,..._});p((t=(n.forEach($),!0))=>t)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},s),process:b}},Vm=t=>{let e,n=t=>(r(),n(t)),r=t=>{({process:n,init:r}=Km(t))};return{tw:Object.defineProperties((...t)=>n(t),{theme:{get:(i="theme",()=>(e||n([t=>(e=t,"")]),e[i]))}}),setup:t=>r(t)};var i},{tw:Ym,setup:Xm}=Vm();let Jm={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},columns:{auto:"auto","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",...tv(4,"rem",4,.5,.5),...tv(12,"rem",4,5),14:"3.5rem",...tv(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0,0,0.2,1) infinite",pulse:"pulse 2s cubic-bezier(0.4,0,0.6,1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1/1",video:"16/9"},backdropBlur:ev("blur"),backdropBrightness:ev("brightness"),backdropContrast:ev("contrast"),backdropGrayscale:ev("grayscale"),backdropHueRotate:ev("hueRotate"),backdropInvert:ev("invert"),backdropOpacity:ev("opacity"),backdropSaturate:ev("saturate"),backdropSepia:ev("sepia"),backgroundColor:ev("colors"),backgroundImage:{none:"none"},backgroundOpacity:ev("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{none:"none",0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...tv(200,"",100,0,50),...tv(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:t})=>({DEFAULT:t("colors.gray.200","currentColor"),...t("colors")}),borderOpacity:ev("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderSpacing:ev("spacing"),borderWidth:{DEFAULT:"1px",...Qm(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},boxShadowColor:ev("colors"),caretColor:ev("colors"),accentColor:({theme:t})=>({auto:"auto",...t("colors")}),contrast:{...tv(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:ev("borderColor"),divideOpacity:ev("borderOpacity"),divideWidth:ev("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:({theme:t})=>({...t("colors"),none:"none"}),grayscale:{DEFAULT:"100%",0:"0"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{DEFAULT:"100%",0:"0"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({...t("spacing"),...Zm(2,6),...Zm(12,12),auto:"auto",full:"100%"}),flexGrow:{DEFAULT:1,0:0},flexShrink:{DEFAULT:1,0:0},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:ev("spacing"),gradientColorStops:ev("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gridTemplateColumns:{none:"none"},gridTemplateRows:{none:"none"},height:({theme:t})=>({...t("spacing"),...Zm(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:t})=>({...t("spacing"),...Zm(2,4),auto:"auto",full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{...tv(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),maxHeight:({theme:t})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...t("spacing")}),maxWidth:({theme:t,breakpoints:e})=>({...e(t("screens")),none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch"}),minHeight:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},opacity:{...tv(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:ev("spacing"),placeholderColor:ev("colors"),placeholderOpacity:ev("opacity"),outlineColor:ev("colors"),outlineOffset:Qm(8,"px"),outlineWidth:Qm(8,"px"),ringColor:({theme:t})=>({...t("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:ev("colors"),ringOffsetWidth:Qm(8,"px"),ringOpacity:({theme:t})=>({...t("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...Qm(8,"px")},rotate:{...Qm(2,"deg"),...Qm(12,"deg",3),...Qm(180,"deg",45)},saturate:tv(200,"",100,0,50),scale:{...tv(150,"",100,0,50),...tv(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:ev("spacing"),scrollPadding:ev("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...Qm(2,"deg"),...Qm(12,"deg",3)},space:ev("spacing"),stroke:({theme:t})=>({...t("colors"),none:"none"}),strokeWidth:tv(2),textColor:ev("colors"),textDecorationColor:ev("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...Qm(8,"px")},textUnderlineOffset:{auto:"auto",...Qm(8,"px")},textIndent:ev("spacing"),textOpacity:ev("opacity"),transitionDuration:({theme:t})=>({...t("durations"),DEFAULT:"150ms"}),transitionDelay:ev("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"color,background-color,border-color,text-decoration-color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:({theme:t})=>({...t("spacing"),...Zm(2,4),full:"100%"}),width:({theme:t})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...t("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...tv(50,"",1,0,10),auto:"auto"}};function Zm(t,e){let n={};do{for(var r=1;r<t;r++)n[`${r}/${t}`]=Number((r/t*100).toFixed(6))+"%"}while(++t<=e);return n}function Qm(t,e,n=0){let r={};for(;n<=t;n=2*n||1)r[n]=n+e;return r}function tv(t,e="",n=1,r=0,i=1,o={}){for(;r<=t;r+=i)o[r]=r/n+e;return o}function ev(t){return({theme:e})=>e(t)}let nv={"*,::before,::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"theme(borderColor.DEFAULT, currentColor)"},"::before,::after":{"--tw-content":"''"},html:{lineHeight:1.5,WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:4,fontFamily:`theme(fontFamily.sans, ${Jm.fontFamily.sans})`,fontFeatureSettings:"theme(fontFamily.sans[1].fontFeatureSettings, normal)"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b,strong":{fontWeight:"bolder"},"code,kbd,samp,pre":{fontFamily:`theme(fontFamily.mono, ${Jm.fontFamily.mono})`,fontFeatureSettings:"theme(fontFamily.mono[1].fontFeatureSettings, normal)",fontSize:"1em"},small:{fontSize:"80%"},"sub,sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",color:"inherit",margin:"0",padding:"0"},"button,select":{textTransform:"none"},"button,[type='button'],[type='reset'],[type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol,ul,menu":{listStyle:"none",margin:"0",padding:"0"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:1,color:"theme(colors.gray.400, #9ca3af)"},'button,[role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"}};function rv(t,e="@media "){return e+iv(t).map(t=>("string"==typeof t&&(t={min:t}),t.raw||Object.keys(t).map(e=>`(${e}-width:${t[e]})`).join(" and "))).join(",")}function iv(t=[]){return Array.isArray(t)?t:null==t?[]:[t]}function ov(t,e){return Math.round(parseInt(t,16)*e)}function av(t,e={}){if("function"==typeof t)return t(e);let{opacityValue:n="1",opacityVariable:r}=e,i=r?`var(${r})`:n;if(t.includes("<alpha-value>"))return t.replace("<alpha-value>",i);if("#"==t[0]&&(4==t.length||7==t.length)){let e=(t.length-1)/3,n=[17,1,.062272][e-1];return`rgba(${[ov(t.substr(1,e),n),ov(t.substr(1+e,e),n),ov(t.substr(1+2*e,e),n),i]})`}return"1"==i?t:"0"==i?"#0000":t.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function dv(t,e,n){return[t,sv(e,n)]}function sv(t,e){return"function"==typeof t?t:"string"==typeof t&&/^[\w-]+$/.test(t)?(n,r)=>({[t]:e?e(n,r):uv(n,1)}):e=>t||{[e[1]]:uv(e,2)}}function uv(t,e,n=t.slice(e).find(Boolean)||t.$$||t.input){return"-"==t.input[0]?`calc(${n} * -1)`:n}function lv(t,e,n,r){return[t,cv(e,n,r)]}function cv(t,e,n){let r="string"==typeof e?(t,r)=>({[e]:n?n(t,r):t._}):e||(({1:t,_:e},n,r)=>({[t||r]:e}));return(e,n)=>{let i=mv(t||e[1]),o=n.theme(i,e.$$)??$v(e.$$,i,n);if(null!=o)return e._=uv(e,0,o),r(e,n,i)}}function fv(t,e={},n){return[t,hv(e,n)]}function hv(t={},e){return(n,r)=>{let{section:i=mv(n[0]).replace("-","")+"Color"}=t,[o,a]=(n.$$.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1);if(!o)return;let d=r.theme(i,o)||$v(o,i,r);if(!d||"object"==typeof d)return;let{opacityVariable:s=`--tw-${n[0].replace(/-$/,"")}-opacity`,opacitySection:u=i.replace("Color","Opacity"),property:l=i,selector:c}=t,f=r.theme(u,a||"DEFAULT")||a&&$v(a,u,r),h=e||(({_:t})=>{let e=pv(l,t);return c?{[c]:e}:e});n._={value:av(d,{opacityVariable:s||void 0,opacityValue:f||void 0}),color:t=>av(d,t),opacityVariable:s||void 0,opacityValue:f||void 0};let p=h(n,r);if(!n.dark){let t=r.d(i,o,d);t&&t!==d&&(n._={value:av(t,{opacityVariable:s||void 0,opacityValue:f||"1"}),color:e=>av(t,e),opacityVariable:s||void 0,opacityValue:f||void 0},p={"&":p,[r.v("dark")]:h(n,r)})}return p}}function pv(t,e){let n={};return"string"==typeof e?n[t]=e:(e.opacityVariable&&e.value.includes(e.opacityVariable)&&(n[e.opacityVariable]=e.opacityValue||"1"),n[t]=e.value),n}function $v(t,e,n){if("["==t[0]&&"]"==t.slice(-1)){if(t=vv(function(t,e){return t.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(t,n,r,i,o="")=>{let a=e(r,o);return"function"==typeof a&&/color|fill|stroke/i.test(r)?av(a):""+iv(a).filter(t=>Object(t)!==t)})}(t.slice(1,-1),n.theme)),!e)return t;if(!(/color|fill|stroke/i.test(e)&&!/^color:/.test(t)&&!/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(t)||/image/i.test(e)&&!/^image:/.test(t)&&!/^[a-z-]+\(/.test(t)||/weight/i.test(e)&&!/^(number|any):/.test(t)&&!/^\d+$/.test(t)||/position/i.test(e)&&/^(length|size):/.test(t)))return t.replace(/^[a-z-]+:/,"")}}function mv(t){return t.replace(/-./g,t=>t[1].toUpperCase())}function vv(t){return t.includes("url(")?t.replace(/(.*?)(url\(.*?\))(.*?)/g,(t,e="",n,r="")=>vv(e)+n+vv(r)):t.replace(/(^|[^\\])_+/g,(t,e)=>e+" ".repeat(t.length-e.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,t=>t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}let gv=[dv("\\[([-\\w]+):(.+)]",({1:t,2:e},n)=>({"@layer overrides":{"&":{[t]:$v(`[${e}]`,"",n)}}})),dv("(group|peer)([~/][^-[]+)?",({input:t},{h:e})=>[{c:e(t)}]),lv("aspect-","aspectRatio"),dv("container",(t,{theme:e})=>{let{screens:n=e("screens"),center:r,padding:i}=e("container"),o={width:"100%",marginRight:r&&"auto",marginLeft:r&&"auto",...a("xs")};for(let d in n){let t=n[d];"string"==typeof t&&(o[rv(t)]={"&":{maxWidth:t,...a(d)}})}return o;function a(t){let e=i&&("string"==typeof i?i:i[t]||i.DEFAULT);if(e)return{paddingRight:e,paddingLeft:e}}}),lv("content-","content",({_:t})=>({"--tw-content":t,content:"var(--tw-content)"})),dv("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),dv("box-(border|content)","boxSizing",({1:t})=>t+"-box"),dv("hidden",{display:"none"}),dv("table-(auto|fixed)","tableLayout"),dv(["(block|flex|table|grid|inline|contents|flow-root|list-item)","(inline-(block|flex|table|grid))","(table-(caption|cell|column|row|(column|row|footer|header)-group))"],"display"),"(float)-(left|right|none)","(clear)-(left|right|none|both)","(overflow(?:-[xy])?)-(auto|hidden|clip|visible|scroll)","(isolation)-(auto)",dv("isolate","isolation"),dv("object-(contain|cover|fill|none|scale-down)","objectFit"),lv("object-","objectPosition"),dv("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",yv),dv("overscroll(-[xy])?-(auto|contain|none)",({1:t="",2:e})=>({["overscroll-behavior"+t]:e})),dv("(static|fixed|absolute|relative|sticky)","position"),lv("-?inset(-[xy])?(?:$|-)","inset",({1:t,_:e})=>({top:"-x"!=t&&e,right:"-y"!=t&&e,bottom:"-x"!=t&&e,left:"-y"!=t&&e})),lv("-?(top|bottom|left|right)(?:$|-)","inset"),dv("(visible|collapse)","visibility"),dv("invisible",{visibility:"hidden"}),lv("-?z-","zIndex"),dv("flex-((row|col)(-reverse)?)","flexDirection",bv),dv("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),lv("(flex-(?:grow|shrink))(?:$|-)"),lv("(flex)-"),lv("grow(?:$|-)","flexGrow"),lv("shrink(?:$|-)","flexShrink"),lv("basis-","flexBasis"),lv("-?(order)-"),"-?(order)-(\\d+)",lv("grid-cols-","gridTemplateColumns"),dv("grid-cols-(\\d+)","gridTemplateColumns",Ov),lv("col-","gridColumn"),dv("col-(span)-(\\d+)","gridColumn",Nv),lv("col-start-","gridColumnStart"),dv("col-start-(auto|\\d+)","gridColumnStart"),lv("col-end-","gridColumnEnd"),dv("col-end-(auto|\\d+)","gridColumnEnd"),lv("grid-rows-","gridTemplateRows"),dv("grid-rows-(\\d+)","gridTemplateRows",Ov),lv("row-","gridRow"),dv("row-(span)-(\\d+)","gridRow",Nv),lv("row-start-","gridRowStart"),dv("row-start-(auto|\\d+)","gridRowStart"),lv("row-end-","gridRowEnd"),dv("row-end-(auto|\\d+)","gridRowEnd"),dv("grid-flow-((row|col)(-dense)?)","gridAutoFlow",t=>yv(bv(t))),dv("grid-flow-(dense)","gridAutoFlow"),lv("auto-cols-","gridAutoColumns"),lv("auto-rows-","gridAutoRows"),lv("gap-x(?:$|-)","gap","columnGap"),lv("gap-y(?:$|-)","gap","rowGap"),lv("gap(?:$|-)","gap"),"(justify-(?:items|self))-",dv("justify-","justifyContent",Cv),dv("(content|items|self)-",t=>({["align-"+t[1]]:Cv(t)})),dv("(place-(content|items|self))-",({1:t,$$:e})=>({[t]:("wun".includes(e[3])?"space-":"")+e})),lv("p([xytrbl])?(?:$|-)","padding",Sv("padding")),lv("-?m([xytrbl])?(?:$|-)","margin",Sv("margin")),lv("-?space-(x|y)(?:$|-)","space",({1:t,_:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${t}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[t]]:`calc(${e} * calc(1 - var(--tw-space-${t}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[t]]:`calc(${e} * var(--tw-space-${t}-reverse))`}})),dv("space-(x|y)-reverse",({1:t})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${t}-reverse`]:"1"}})),lv("w-","width"),lv("min-w-","minWidth"),lv("max-w-","maxWidth"),lv("h-","height"),lv("min-h-","minHeight"),lv("max-h-","maxHeight"),lv("font-","fontWeight"),lv("font-","fontFamily",({_:t})=>"string"==typeof(t=iv(t))[1]?{fontFamily:wv(t)}:{fontFamily:wv(t[0]),...t[1]}),dv("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),dv("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),dv("italic","fontStyle"),dv("not-italic",{fontStyle:"normal"}),dv("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:t,2:e="",3:n})=>"normal"==e?{fontVariantNumeric:"normal"}:{["--tw-"+(n?"numeric-fraction":"pt".includes(e[0])?"numeric-spacing":e?"numeric-figure":t)]:t,fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)",...Iv({"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)"})}),lv("tracking-","letterSpacing"),lv("leading-","lineHeight"),dv("list-(inside|outside)","listStylePosition"),lv("list-","listStyleType"),dv("list-","listStyleType"),lv("placeholder-opacity-","placeholderOpacity",({_:t})=>({"&::placeholder":{"--tw-placeholder-opacity":t}})),fv("placeholder-",{property:"color",selector:"&::placeholder"}),dv("text-(left|center|right|justify|start|end)","textAlign"),dv("text-(ellipsis|clip)","textOverflow"),lv("text-opacity-","textOpacity","--tw-text-opacity"),fv("text-",{property:"color"}),lv("text-","fontSize",({_:t})=>"string"==typeof t?{fontSize:t}:{fontSize:t[0],..."string"==typeof t[1]?{lineHeight:t[1]}:t[1]}),lv("indent-","textIndent"),dv("(overline|underline|line-through)","textDecorationLine"),dv("no-underline",{textDecorationLine:"none"}),lv("underline-offset-","textUnderlineOffset"),fv("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),lv("decoration-","textDecorationThickness"),dv("decoration-","textDecorationStyle"),dv("(uppercase|lowercase|capitalize)","textTransform"),dv("normal-case",{textTransform:"none"}),dv("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),dv("align-","verticalAlign"),dv("whitespace-","whiteSpace"),dv("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),dv("break-words",{overflowWrap:"break-word"}),dv("break-all",{wordBreak:"break-all"}),dv("break-keep",{wordBreak:"keep-all"}),fv("caret-",{opacityVariable:!1,opacitySection:"opacity"}),fv("accent-",{opacityVariable:!1,opacitySection:"opacity"}),dv("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:t})=>`linear-gradient(to ${_v(t," ")},var(--tw-gradient-stops))`),fv("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-gradient-from":t.value,"--tw-gradient-to":t.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),fv("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-gradient-to":t.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${t.value},var(--tw-gradient-to)`})),fv("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),dv("bg-(fixed|local|scroll)","backgroundAttachment"),dv("bg-origin-(border|padding|content)","backgroundOrigin",({1:t})=>t+"-box"),dv(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),dv("bg-blend-","backgroundBlendMode"),dv("bg-clip-(border|padding|content|text)","backgroundClip",({1:t})=>t+("text"==t?"":"-box")),lv("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),fv("bg-",{section:"backgroundColor"}),lv("bg-","backgroundImage"),lv("bg-","backgroundPosition"),dv("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",yv),lv("bg-","backgroundSize"),lv("rounded(?:$|-)","borderRadius"),lv("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:t,_:e})=>{let n={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[t]||[t,t];return{[`border-${_v(n[0])}-radius`]:e,[`border-${_v(n[1])}-radius`]:e}}),dv("border-(collapse|separate)","borderCollapse"),lv("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),dv("border-(solid|dashed|dotted|double|none)","borderStyle"),lv("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:t,_:e})=>({...Iv({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(t||"-x")]:e,["--tw-border-spacing"+(t||"-y")]:e,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),fv("border-([xytrbl])-",{section:"borderColor"},Sv("border","Color")),fv("border-"),lv("border-([xytrbl])(?:$|-)","borderWidth",Sv("border","Width")),lv("border(?:$|-)","borderWidth"),lv("divide-opacity(?:$|-)","divideOpacity",({_:t})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":t}})),dv("divide-(solid|dashed|dotted|double|none)",({1:t})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:t}})),dv("divide-([xy]-reverse)",({1:t})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+t]:"1"}})),lv("divide-([xy])(?:$|-)","divideWidth",({1:t,_:e})=>{let n={x:"lr",y:"tb"}[t];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${t}-reverse`]:"0",[`border-${_v(n[0])}Width`]:`calc(${e} * calc(1 - var(--tw-divide-${t}-reverse)))`,[`border-${_v(n[1])}Width`]:`calc(${e} * var(--tw-divide-${t}-reverse))`}}}),fv("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),lv("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),fv("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),lv("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),dv("ring-inset",{"--tw-ring-inset":"inset"}),fv("ring-",{property:"--tw-ring-color"}),lv("ring(?:$|-)","ringWidth",({_:t},{theme:e})=>({...Iv({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000","&":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":e("ringOffsetWidth","","0px"),"--tw-ring-offset-color":av(e("ringOffsetColor","","#fff")),"--tw-ring-color":av(e("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":e("ringOpacity","","0.5")}}),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${t} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),fv("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-shadow-color":t.value,"--tw-shadow":"var(--tw-shadow-colored)"})),lv("shadow(?:$|-)","boxShadow",({_:t})=>({...Iv({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),"--tw-shadow":wv(t),"--tw-shadow-colored":wv(t).replace(/([^,]\s+)(?:#[a-f\d]+|(?:(?:hsl|rgb)a?|hwb|lab|lch|color|var)\(.+?\)|[a-z]+)(,|$)/g,"$1var(--tw-shadow-color)$2"),boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),lv("(opacity)-"),dv("mix-blend-","mixBlendMode"),...Ev(),...Ev("backdrop-"),lv("transition(?:$|-)","transitionProperty",(t,{theme:e})=>({transitionProperty:wv(t),transitionTimingFunction:"none"==t._?void 0:wv(e("transitionTimingFunction","")),transitionDuration:"none"==t._?void 0:wv(e("transitionDuration",""))})),lv("duration(?:$|-)","transitionDuration","transitionDuration",wv),lv("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",wv),lv("delay(?:$|-)","transitionDelay","transitionDelay",wv),lv("animate(?:$|-)","animation",(t,{theme:e,h:n,e:r})=>{let i=wv(t),o=i.split(" "),a=e("keyframes",o[0]);return a?{["@keyframes "+(o[0]=r(n(o[0])))]:a,animation:o.join(" ")}:{animation:i}}),"(transform)-(none)",dv("transform",Tv),dv("transform-(cpu|gpu)",({1:t})=>({"--tw-transform":Av("gpu"==t)})),lv("scale(-[xy])?-","scale",({1:t,_:e})=>({["--tw-scale"+(t||"-x")]:e,["--tw-scale"+(t||"-y")]:e,...Tv()})),lv("-?(rotate)-","rotate",xv),lv("-?(translate-[xy])-","translate",xv),lv("-?(skew-[xy])-","skew",xv),dv("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",yv),"(appearance)-",lv("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",lv("(cursor)-"),"(cursor)-",dv("snap-(none)","scroll-snap-type"),dv("snap-(x|y|both)",({1:t})=>({...Iv({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":t+" var(--tw-scroll-snap-strictness)"})),dv("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),dv("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),dv("snap-(normal|always)","scroll-snap-stop"),dv("scroll-(auto|smooth)","scroll-behavior"),lv("scroll-p([xytrbl])?(?:$|-)","padding",Sv("scroll-padding")),lv("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",Sv("scroll-margin")),dv("touch-(auto|none|manipulation)","touch-action"),dv("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:t,2:e,3:n})=>({...Iv({"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),[`--tw-${e?"pan-x":n?"pan-y":t}`]:t,"touch-action":"var(--tw-touch-action)"})),dv("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),dv("outline",{outlineStyle:"solid"}),dv("outline-(dashed|dotted|double)","outlineStyle"),lv("-?(outline-offset)-"),fv("outline-",{opacityVariable:!1,opacitySection:"opacity"}),lv("outline-","outlineWidth"),"(pointer-events)-",lv("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:t})=>({x:"horizontal",y:"vertical"}[t]||t||"both")],dv("select-(none|text|all|auto)","userSelect"),fv("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),fv("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),lv("stroke-","strokeWidth"),dv("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),dv("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function yv(t){return("string"==typeof t?t:t[1]).replace(/-/g," ").trim()}function bv(t){return("string"==typeof t?t:t[1]).replace("col","column")}function _v(t,e="-"){let n=[];for(let r of t)n.push({t:"top",r:"right",b:"bottom",l:"left"}[r]);return n.join(e)}function wv(t){return t&&""+(t._||t)}function Cv({$$:t}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[t[3]||""]||"")+t}function Sv(t,e=""){return({1:n,_:r})=>{let i={x:"lr",y:"tb"}[n]||n+n;return i?{...pv(t+"-"+_v(i[0])+e,r),...pv(t+"-"+_v(i[1])+e,r)}:pv(t+e,r)}}function Ev(t=""){let e=["blur","brightness","contrast","grayscale","hue-rotate","invert",t&&"opacity","saturate","sepia",!t&&"drop-shadow"].filter(Boolean),n={};for(let r of e)n[`--tw-${t}${r}`]="var(--tw-empty,/*!*/ /*!*/)";return n={...Iv(n),[`${t}filter`]:e.map(e=>`var(--tw-${t}${e})`).join(" ")},[`(${t}filter)-(none)`,dv(`${t}filter`,n),...e.map(e=>lv(`${"h"==e[0]?"-?":""}(${t}${e})(?:$|-)`,e,({1:t,_:r})=>({[`--tw-${t}`]:iv(r).map(t=>`${e}(${t})`).join(" "),...n})))]}function xv({1:t,_:e}){return{["--tw-"+t]:e,...Tv()}}function Tv(){return{...Iv({"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1","--tw-transform":Av()}),transform:"var(--tw-transform)"}}function Av(t){return[t?"translate3d(var(--tw-translate-x),var(--tw-translate-y),0)":"translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}function Nv({1:t,2:e}){return`${t} ${e} / ${t} ${e}`}function Ov({1:t}){return`repeat(${t},minmax(0,1fr))`}function Iv(t){return{"@layer defaults":{"*,::before,::after":t,"::backdrop":t}}}let Rv=[["sticky","@supports ((position: -webkit-sticky) or (position:sticky))"],["motion-reduce","@media (prefers-reduced-motion:reduce)"],["motion-safe","@media (prefers-reduced-motion:no-preference)"],["print","@media print"],["(portrait|landscape)",({1:t})=>`@media (orientation:${t})`],["contrast-(more|less)",({1:t})=>`@media (prefers-contrast:${t})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:t})=>`&::${t}`],["(marker|selection)",({1:t})=>`& *::${t},&::${t}`],["file","&::file-selector-button"],["(first|last|only)",({1:t})=>`&:${t}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:t,$$:e},n)=>e&&`&[${t}-${n.theme(t,e)||$v(e,"",n)||`${e}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:t,3:e="",4:n,5:r="",6:i=e},{e:o,h:a,v:d})=>{let s=vv(r)||("["==n[0]?n:d(n.slice(1)));return`${(s.includes("&")?s:"&"+s).replace(/&/g,`:merge(.${o(a(t+i))})`)}${"p"==t[0]?"~":" "}&`}],["(ltr|rtl)",({1:t})=>`[dir="${t}"] &`],["supports-",({$$:t},e)=>{if(t&&(t=e.theme("supports",t)||$v(t,"",e)),t)return t.includes(":")||(t+=":var(--tw)"),/^\w*\s*\(/.test(t)||(t=`(${t})`),`@supports ${t.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:t},e)=>{if(t&&(t=e.theme("screens",t)||$v(t,"",e)),"string"==typeof t)return`@media not all and (min-width:${t})`}],["min-",({$$:t},e)=>(t&&(t=$v(t,"",e)),t&&`@media (min-width:${t})`)],[/^\[(.+)]$/,({1:t})=>/[&@]/.test(t)&&vv(t).replace(/[}]+$/,"").split("{")]];let Pv={__proto__:null,slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"}};const kv=globalThis;if(!kv.__twindInitialized){Xm({presets:[function({disablePreflight:t}={}){return function({colors:t,disablePreflight:e}={}){return{preflight:e?void 0:nv,theme:{...Jm,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...t}},variants:Rv,rules:gv,finalize:t=>t.n&&t.d&&t.r.some(t=>/^&::(before|after)$/.test(t))&&!/(^|;)content:/.test(t.d)?{...t,d:"content:var(--tw-content);"+t.d}:t}}({colors:Pv,disablePreflight:t})}({disablePreflight:!1})],theme:{extend:{colors:{primary:"#1f7aed",primaryDark:"#1557a5",accent:"#1dd1a1"}}}}),kv.__twindInitialized=!0}async function Dv(t){const e=`/api/campaign-fields/${t}`,n=await fetch(e,{method:"GET",credentials:"same-origin"});if(!n.ok){const t=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(t.error||`Falha ao buscar mapeamento: ${n.status}`)}return await n.json()}async function Mv(t){const e=`/api/campaign-contact/${t}`,n=await fetch(e,{method:"GET",credentials:"same-origin"});if(!n.ok){const t=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(t.error||`Falha ao buscar valores: ${n.status}`)}return await n.json()}function Lv(){const e=_f.useCallOperatorCurrentCallInfo();return t.useEffect(()=>{console.log("[CallInfoDisplay] Call info atualizado:",{callInfo:e,type:null==e?void 0:e.type,hasCampaignInfo:"campaign"===(null==e?void 0:e.type),info:"campaign"===(null==e?void 0:e.type)?e.info:null,campaignContact:"campaign"===(null==e?void 0:e.type)?e.info.campaignContact:null})},[e]),"campaign"===(null==e?void 0:e.type)?m.jsx(jv,{campaignCallInfo:e.info}):e?m.jsx("div",{className:"bg-yellow-50 rounded-lg p-3 mb-4",children:m.jsx("p",{className:"text-xs text-yellow-700",children:"Chamada manual (sem informações de campanha)"})}):null}function jv(e){const{campaign:n,campaignList:r,campaignContact:i}=e.campaignCallInfo,[o,a]=t.useState({finalData:{},isLoading:!1,error:null}),[d,s]=t.useState(null);t.useEffect(()=>{if(!(null==i?void 0:i.id))return;if(d===i.id)return;let t=!1;return(async()=>{a({finalData:{},isLoading:!0,error:null});try{console.log("[CampaignCallInfoDisplay] 1. Buscando config para contato:",i.id);const e=await async function(t){const e=`/api/campaign-config/${t}`,n=await fetch(e,{method:"GET",credentials:"same-origin"});if(!n.ok){const t=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(t.error||`Falha ao buscar config: ${n.status}`)}return await n.json()}(i.id);if(console.log("[CampaignCallInfoDisplay] 2. Config recebida:",e),!e.campaignModelId)throw new Error("campaignModelId não encontrado");console.log("[CampaignCallInfoDisplay] 3. Buscando mapeamento e valores em paralelo...");const[n,r]=await Promise.all([Dv(e.campaignModelId),Mv(i.id)]);console.log("[CampaignCallInfoDisplay] 4. Mapeamento recebido:",n),console.log("[CampaignCallInfoDisplay] 5. Valores recebidos:",r);const o={};Object.entries(r).forEach(([t,e])=>{t in n&&(o[n[t]]=e)}),t||(console.log("[CampaignCallInfoDisplay] ✅ Dados finais mapeados:",o),a({finalData:o,isLoading:!1,error:null}),s(i.id))}catch(e){if(!t){console.error("[CampaignCallInfoDisplay] ❌ Erro ao buscar dados:",e);const t=e instanceof Error?e.message:"Erro ao buscar dados do contato";a({finalData:{},isLoading:!1,error:t})}}})(),()=>{t=!0}},[null==i?void 0:i.id,d]);const u=Object.keys(o.finalData).length>0,l=({fieldName:t,label:e})=>{const n=e||t;let r="-";if(o.finalData[t])r=o.finalData[t];else{const e=Object.keys(o.finalData).find(e=>e.toLowerCase()===t.toLowerCase());e&&(r=o.finalData[e])}return m.jsxs("div",{className:"bg-white/60 rounded-lg p-2 border border-blue-100",children:[m.jsx("p",{className:"text-[9px] text-slate-500 uppercase tracking-wide font-semibold mb-0.5 truncate",children:n}),m.jsx("p",{className:"text-xs text-slate-800 font-semibold break-words line-clamp-2",children:r})]})};return m.jsxs("div",{className:"bg-gradient-to-br from-blue-50 to-indigo-50 rounded-xl p-3 mb-4 shadow-sm border border-blue-100",children:[m.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[m.jsx("div",{className:"inline-flex h-6 w-6 items-center justify-center rounded-lg bg-blue-500 text-white",children:m.jsx("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),m.jsx("h3",{className:"text-sm font-bold text-slate-800",children:"Informações da Campanha"})]}),o.isLoading&&m.jsxs("div",{className:"bg-white/60 rounded-lg p-6 border border-blue-100 text-center",children:[m.jsx("div",{className:"inline-block h-6 w-6 animate-spin rounded-full border-2 border-blue-500 border-t-transparent"}),m.jsx("p",{className:"text-xs text-slate-600 mt-2 font-medium",children:"Carregando dados do contato..."})]}),o.error&&m.jsxs("div",{className:"bg-red-50 rounded-lg p-3 border border-red-200",children:[m.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[m.jsx("svg",{className:"w-4 h-4 text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),m.jsx("p",{className:"text-xs text-red-700 font-semibold",children:"Erro ao carregar dados"})]}),m.jsx("p",{className:"text-[10px] text-red-600 ml-6",children:o.error}),o.error.includes("Muitas requisições")&&m.jsx("button",{onClick:()=>s(null),className:"mt-2 ml-6 text-[10px] text-red-700 underline hover:text-red-800",children:"Tentar novamente"})]}),!o.isLoading&&!o.error&&u&&m.jsxs("div",{className:"space-y-1.5",children:[m.jsxs("div",{className:"grid grid-cols-3 gap-1.5",children:[m.jsx(l,{fieldName:"CNPJ",label:"CNPJ"}),m.jsx(l,{fieldName:"EMPRESA",label:"EMPRESA"}),m.jsx(l,{fieldName:"TOTAL BENEFICIO",label:"TOTAL BENEFÍCIO"})]}),m.jsxs("div",{className:"grid grid-cols-3 gap-1.5",children:[m.jsx(l,{fieldName:"DECISOR",label:"DECISOR"}),m.jsx(l,{fieldName:"PRODUTO PROSPECTADO",label:"PRODUTO PROSPECTADO"}),m.jsx(l,{fieldName:"VALOR QUE PAGA POR MÊS EM PARCELAMENTOS",label:"VALOR PARCELAMENTO"})]}),m.jsxs("div",{className:"grid grid-cols-3 gap-1.5",children:[m.jsx(l,{fieldName:"TOTAL SALDO DEVEDOR PGFN",label:"SALDO DEVEDOR PGFN"}),m.jsx(l,{fieldName:"TOTAL SALDO DEVEDOR RFB",label:"SALDO DEVEDOR RFB"}),m.jsx(l,{fieldName:"DIVIDA ATIVA",label:"DÍVIDA ATIVA"})]}),m.jsxs("div",{className:"grid grid-cols-4 gap-1.5",children:[m.jsx(l,{fieldName:"CORRESPONSABILIDADE SOCIO",label:"CORRESP. SÓCIO"}),m.jsx(l,{fieldName:"EXECUÇÃO FISCAL",label:"EXECUÇÃO FISCAL"}),m.jsx(l,{fieldName:"TRANSAÇÃO COM BENEFICIO",label:"TRANSAÇÃO BENEFÍCIO"}),m.jsx(l,{fieldName:"REGIME TRIBUTARIO",label:"REGIME TRIBUTÁRIO"})]})]})]})}const Uv=[{value:"1",detail:""},{value:"2",detail:"ABC"},{value:"3",detail:"DEF"},{value:"4",detail:"GHI"},{value:"5",detail:"JKL"},{value:"6",detail:"MNO"},{value:"7",detail:"PQRS"},{value:"8",detail:"TUV"},{value:"9",detail:"WXYZ"},{value:"*",detail:""},{value:"0",detail:"+"},{value:"#",detail:""}],Fv={rttMs:null,bitrateKbps:null,packetLossRatio:null},Bv={jitterMs:null,packetLossRatio:null,audioLevel:null},qv="candidate-pair",Hv="inbound-rtp";function zv({isAuthenticated:e,username:n,onLogin:r,onLogout:i,isLoadingSession:o,sessionError:a}){const d=t.useRef(null),s=t.useRef({pointerId:null,offsetX:0,offsetY:0}),u=t.useRef(!1),[l,c]=t.useState({x:24,y:24}),[f,h]=t.useState(!1),[p,$]=t.useState(!1),[v,g]=t.useState(""),y=t.useRef(e),b=t.useMemo(()=>Kv(v),[v]),_=t.useCallback(t=>{if("undefined"==typeof window)return t;const e=window.innerWidth,n=window.innerHeight,r=d.current,i=(null==r?void 0:r.offsetWidth)??0,o=(null==r?void 0:r.offsetHeight)??0,a=i>0?i:p?360:80,s=o>0?o:p?520:80,u=e<640?12:16,l=u,c=u,f=e-a-u,h=n-s-u;let $=t.x,m=t.y;return e<640&&p&&($=Math.round((e-a)/2),m=u),n<s+2*u&&(m=u),{x:Qv($,l,f),y:Qv(m,c,h)}},[p]),w=t.useCallback(t=>{g(e=>Kv("function"==typeof t?t(e):t))},[]);t.useEffect(()=>{var t,e;if("undefined"==typeof window)return;const n=(null==(t=d.current)?void 0:t.offsetWidth)??96,r=(null==(e=d.current)?void 0:e.offsetHeight)??96,i=window.innerWidth-n-24,o=window.innerHeight-r-24;c(_({x:i,y:o}))},[_]),t.useEffect(()=>{c(t=>_(t))},[p,_]),t.useEffect(()=>{if("undefined"==typeof window)return;const t=()=>{c(t=>_(t))};return window.addEventListener("resize",t),window.addEventListener("orientationchange",t),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}},[_]),t.useEffect(()=>{e&&!y.current&&$(!0),y.current=e},[e]),t.useEffect(()=>{if(!f)return;const t=t=>{var e,n;if(s.current.pointerId!==t.pointerId)return;u.current=!0;const r=(null==(e=d.current)?void 0:e.offsetWidth)??0,i=(null==(n=d.current)?void 0:n.offsetHeight)??0,o=t.clientX-s.current.offsetX,a=t.clientY-s.current.offsetY,l=("undefined"!=typeof window?window.innerWidth:0)-r-16,f=("undefined"!=typeof window?window.innerHeight:0)-i-16;c({x:Qv(o,16,l),y:Qv(a,16,f)})},e=t=>{s.current.pointerId===t.pointerId&&(h(!1),s.current={pointerId:null,offsetX:0,offsetY:0})};return window.addEventListener("pointermove",t),window.addEventListener("pointerup",e),()=>{window.removeEventListener("pointermove",t),window.removeEventListener("pointerup",e)}},[f]),t.useEffect(()=>{p||(u.current=!1)},[p]);const C=t.useCallback(t=>{var e;if(0!==t.button)return;const n=null==(e=d.current)?void 0:e.getBoundingClientRect();s.current={pointerId:t.pointerId,offsetX:t.clientX-((null==n?void 0:n.left)??0),offsetY:t.clientY-((null==n?void 0:n.top)??0)},u.current=!1,h(!0)},[]),S=t.useCallback(()=>{u.current?u.current=!1:$(t=>!t)},[]),E=t.useCallback(async t=>{const e=t.trim();e&&await r(e)},[r]),x=e?m.jsx(Wv,{username:n??"",dialValue:b,setDialValue:w,onLogout:i}):m.jsx(Gv,{defaultValue:n??"",onSubmit:E,isLoading:o,error:a});return m.jsx("div",{ref:d,className:Ym`fixed z-50 select-none`,style:{transform:`translate3d(${l.x}px, ${l.y}px, 0)`,top:0,left:0},children:p?m.jsxs("div",{className:Ym`w-[min(32rem,calc(100vw-1.5rem))] max-w-[calc(100vw-1.5rem)] sm:w-[28rem] md:w-[30rem] rounded-3xl border border-slate-200/60 bg-gradient-to-br from-white/95 via-slate-50/95 to-white/90 shadow-2xl backdrop-blur-lg overflow-y-auto sm:overflow-hidden max-h-[calc(100vh-3rem)] sm:max-h-none transition-all duration-300`,children:[m.jsxs("div",{className:Ym`cursor-grab touch-none active:cursor-grabbing flex items-center justify-between bg-gradient-to-r from-primary to-primaryDark px-4 py-3 sm:px-5 sm:py-4 text-white shadow-sm`,onPointerDown:C,children:[m.jsxs("div",{className:Ym`flex items-center gap-3`,children:[m.jsx("span",{className:Ym`inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-white/15 shadow-inner sm:h-11 sm:w-11`,children:m.jsx(Up,{className:Ym`text-xl`})}),m.jsxs("div",{className:Ym`space-y-0.5`,children:[m.jsx("p",{className:Ym`text-[11px] uppercase tracking-[0.2em] text-white/70`,children:"Discadora"}),m.jsx("p",{className:Ym`text-sm font-semibold sm:text-base`,children:n??"Visitante"})]})]}),m.jsx("button",{type:"button",className:Ym`rounded-full p-2 text-white/80 transition hover:bg-white/15 hover:text-white`,onClick:()=>$(!1),"aria-label":"Fechar discadora",children:m.jsx(Yp,{className:Ym`text-lg`})})]}),m.jsx("div",{className:Ym`p-3 sm:p-4`,children:x})]}):m.jsx("button",{type:"button",onPointerDown:C,onClick:S,className:Ym`flex h-16 w-16 items-center justify-center rounded-full bg-primary text-white shadow-xl transition-transform hover:scale-105 hover:bg-primaryDark focus:outline-none focus:ring-4 focus:ring-primary/30`,"aria-label":"Abrir discadora",children:m.jsx(qp,{className:Ym`text-2xl`})})})}function Gv({defaultValue:e,onSubmit:n,isLoading:r,error:i}){const[o,a]=t.useState(e),[d,s]=t.useState(!1);t.useEffect(()=>{a(e)},[e]);const u=d&&!o.trim();return m.jsxs("form",{className:Ym`space-y-4`,onSubmit:async t=>{t.preventDefault(),s(!0),o.trim()&&await n(o)},children:[m.jsxs("div",{className:Ym`space-y-2`,children:[m.jsxs("label",{className:Ym`flex items-center gap-2 text-sm font-medium text-slate-700`,htmlFor:"dialer-username",children:[m.jsx(Gp,{className:Ym`text-base text-primary`}),"Usuario"]}),m.jsx("input",{id:"dialer-username",type:"text",placeholder:"Digite seu usuario Callix",className:Ym`w-full rounded-xl border border-slate-200 bg-white px-3 py-2 text-base shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40`,value:o,onChange:t=>a(t.target.value),onBlur:()=>s(!0),disabled:r}),u&&m.jsx("p",{className:Ym`text-xs text-red-500`,children:"Informe um usuario para continuar."}),i&&m.jsx("p",{className:Ym`text-xs text-red-500`,children:i})]}),m.jsxs("button",{type:"submit",disabled:r,className:Ym`flex w-full items-center justify-center gap-2 rounded-xl bg-primary px-4 py-2 text-white shadow-lg transition hover:bg-primaryDark disabled:cursor-not-allowed disabled:opacity-60`,children:[r&&m.jsx("span",{className:Ym`inline-flex h-4 w-4 animate-spin rounded-full border-2 border-white/40 border-t-white`}),"Entrar"]})]})}function Wv({username:e,dialValue:n,setDialValue:r,onLogout:i}){var o,a;const d=_f.useCallOperator(),s=_f.useCallOperatorState(),u=_f.useCallOperatorCurrentCall(),l=_f.useCallOperatorCurrentCallInfo(),c=_f.useCallOperatorSuccessQualifications(),f=_f.useCallOperatorDiscardQualifications();t.useEffect(()=>{console.log("[FloatingDialer] Estado do operador mudou:",{state:null==s?void 0:s.state,operatorState:s,hasCall:!!u,currentCall:u})},[s,u]),t.useEffect(()=>{console.log("[FloatingDialer] Qualificações:",{success:c,discard:f,callState:null==s?void 0:s.state})},[c,f,null==s?void 0:s.state]),t.useEffect(()=>{"incoming"===(null==u?void 0:u.direction)&&console.log("[FloatingDialer] ⚠️ CHAMADA RECEBIDA:",{call:u,direction:u.direction,state:null==s?void 0:s.state,counterpart:Xv(u)})},[u,null==s?void 0:s.state]);const{makeManualCall:h,becomeAvailable:p,finishAfterCall:$}=_f.useCallOperatorControls(),{hangup:v,answer:g,reject:y}=_f.useCallOperatorCurrentCallControls(),[b,_]=t.useState(!1),w=t.useRef(null),C=t.useRef(null),S=t.useRef(null),[E,x]=t.useState(null),[T,A]=t.useState(null),[N,O]=t.useState(null),[I,R]=t.useState(!1),[P,k]=t.useState("success"),[D,M]=t.useState(null),[L,j]=t.useState(0),[U,F]=t.useState(Fv),[B,q]=t.useState(Bv),H=t.useRef(null),z=t.useRef(!1),[G,W]=_f.useCallOperatorAudioInputMuted(),[K,V]=_f.useCallOperatorAudioOutputMuted(),[Y,X]=_f.useCallOperatorAudioOutputVolume(),[J,Z]=t.useState({inputs:[],outputs:[]}),[Q,tt]=t.useState(null),[et,nt]=t.useState(null),[rt,it]=t.useState(null),[ot,at]=t.useState(!1),dt=t.useRef(null),[st,ut]=t.useState(null),[lt,ct]=t.useState(!1),[ft,ht]=t.useState(null),pt=function(e){const[n,r]=t.useState(null==e?void 0:e.get());return t.useEffect(()=>{if(e)return r(e.get()),e.subscribe(t=>{r(t)});r(void 0)},[e]),n}(null==d?void 0:d.breaks)||[],{goOnBreak:$t,goOffBreak:mt}=function(){const{enterOnBreak:t,becomeAvailable:e}=_f.useCallOperatorControls();return{goOnBreak:t,goOffBreak:e}}(),vt=t.useMemo(()=>n.slice(0,32),[n]),gt=t.useMemo(()=>function(t,e){const n=Kv(t);if(!n)return"";const r=n.startsWith("+"),i=n.replace(/[^0-9]/g,""),o=e.replace(/[^0-9]/g,""),a=o.length||2,d=r?i.slice(0,Math.min(a,i.length)):o||i.slice(0,a);let s=r?i.slice(d.length):i;const u=r?`+${d}`:e;if("55"===d&&s.length>=8){return`${u} (${s.slice(0,2)}) ${s.slice(2,Math.max(s.length-4,2))}-${s.slice(-4)}`.replace(/\s+/g," ").trim()}if(!s)return u.trim();const l=[];for(;s.length>4;)l.push(s.slice(0,3)),s=s.slice(3);s&&l.push(s);const c=l.join(" ");return`${u} ${c}`.replace(/\s+/g," ").trim()}(vt,"+55"),[vt]),yt=t.useMemo(()=>function(t,e){const n=Kv(t);if(!n)return null;if(n.startsWith("+"))return n.replace(/[^0-9+]/g,"");const r=n.replace(/[^0-9]/g,"");if(!r)return null;const i=e.replace(/[^0-9]/g,"");if(!i)return`+${r}`;return`+${i}${r}`}(vt,"+55"),[vt]),bt=null==s?void 0:s.state,_t="idle"===bt,wt="onBreak"===bt,Ct="incoming"===(null==u?void 0:u.direction),St="callInProgress"===bt,Et="manualCallRinging"===bt||"callRinging"===bt,xt="manualCallSetup"===bt||Et,Tt=!bt||"starting"===bt||"idle"===bt||"manualCallSetup"===bt||"onBreak"===bt,At=Tt||St||Et,Nt=Boolean(yt&&function(t){try{return mp(t)}catch(e){return console.warn("Falha ao validar numero",e),!1}}(yt)),Ot=t.useCallback(async t=>{if("function"==typeof p)try{await Promise.resolve(p())}catch(e){console.error(t,e),A(t)}else A(t)},[p]);t.useEffect(()=>{z.current||(z.current=!0,Ot("Nao foi possivel ficar disponivel automaticamente."))},[Ot]),t.useEffect(()=>{"idle"===bt&&(A(null),x(null))},[bt]),t.useEffect(()=>{"offline"===bt&&(A("Conexao perdida. Tentando reconectar..."),Ot("Conexao perdida. Tentando reconectar..."))},[bt,Ot]),t.useEffect(()=>{if("afterCall"===bt){if("campaign"===(null==l?void 0:l.type)&&!0===l.info.campaign.skipCallQualification)return console.log("[FloatingDialer] 🔄 skipCallQualification ativado - finalizando automaticamente"),void("function"==typeof $&&Promise.resolve($({result:"success",qualificationId:void 0})));const t=c.length>0;k(t?"success":"failure"),M(null),O(null)}},[bt,c.length,l,$]),t.useEffect(()=>{if("undefined"==typeof window)return;if("starting"!==bt)return;const t=window.setTimeout(()=>{A(t=>t??"Conexao demorando mais que o esperado. Verifique rede ou credenciais.")},8e3);return()=>window.clearTimeout(t)},[bt]),t.useEffect(()=>{"manualCallRinging"!==bt&&"callInProgress"!==bt||r(""),"idle"===bt&&ut(null)},[bt,r]),t.useEffect(()=>{var t;if("undefined"==typeof navigator||!(null==(t=navigator.mediaDevices)?void 0:t.enumerateDevices))return;let e=!1;const n=async()=>{try{navigator.mediaDevices.getUserMedia&&await navigator.mediaDevices.getUserMedia({audio:!0})}catch(t){console.warn("Permissao de microfone nao concedida ainda",t)}try{const t=await navigator.mediaDevices.enumerateDevices();if(e)return;const n=t.filter(t=>"audioinput"===t.kind),r=t.filter(t=>"audiooutput"===t.kind);Z({inputs:n,outputs:r}),it(null),tt(t=>{var e;return t??(null==(e=n[0])?void 0:e.deviceId)??null}),nt(t=>{var e;return t??(null==(e=r[0])?void 0:e.deviceId)??null})}catch(t){e||(console.error("Listagem de dispositivos falhou",t),it("Nao foi possivel listar dispositivos de audio. Verifique as permissoes."))}};n();const r=()=>{n()},i=navigator.mediaDevices;return"addEventListener"in i?i.addEventListener("devicechange",r):"ondevicechange"in i&&(i.ondevicechange=r),()=>{e=!0,"removeEventListener"in i?i.removeEventListener("devicechange",r):"ondevicechange"in i&&(i.ondevicechange=null)}},[]),t.useEffect(()=>{if(!u||"callInProgress"!==bt)return j(0),F(Fv),void q(Bv);j(Math.floor(u.currentDurationSeconds??0));const t=window.setInterval(()=>{j(Math.floor(u.currentDurationSeconds??0))},1e3);return()=>window.clearInterval(t)},[u,bt]),t.useEffect(()=>{if(!u||"callInProgress"!==bt)return;const t=t=>{const e=Vv(t,"stat")??{},n="string"==typeof e.type?e.type:void 0;if(n===qv){const t=Jv(e,"currentRoundTripTime"),n=Jv(e,"availableOutgoingBitrate");F(e=>({rttMs:null!=t?1e3*t:e.rttMs,bitrateKbps:null!=n?n/1e3:e.bitrateKbps,packetLossRatio:e.packetLossRatio}))}if(n===Hv){const t=Jv(e,"packetsReceived")??0,n=Jv(e,"packetsLost")??0,r=t+n,i=r>0?n/r:null,o=Jv(e,"jitter"),a=Jv(e,"audioLevel");q(t=>({jitterMs:null!=o?1e3*o:t.jitterMs,packetLossRatio:i??t.packetLossRatio,audioLevel:a??t.audioLevel})),F(t=>({rttMs:t.rttMs,bitrateKbps:t.bitrateKbps,packetLossRatio:i??t.packetLossRatio}))}};return u.on("webRTCStat",t),()=>{u.off("webRTCStat",t)}},[u,bt]),t.useEffect(()=>{var t;if(!Q)return;if("undefined"==typeof navigator||!(null==(t=navigator.mediaDevices)?void 0:t.getUserMedia))return;let e=!1;return(async()=>{var t,n,r,i;const o=null==(n=null==(t=dt.current)?void 0:t.getAudioTracks)?void 0:n.call(t)[0],a=null==(r=null==o?void 0:o.getSettings)?void 0:r.call(o).deviceId;let s=dt.current;if(!s||a!==Q)try{const t=await navigator.mediaDevices.getUserMedia({audio:{deviceId:{exact:Q}}});if(e)return void t.getTracks().forEach(t=>t.stop());dt.current&&dt.current!==t&&dt.current.getTracks().forEach(t=>t.stop()),dt.current=t,s=t}catch(c){return void(e||(console.error("Falha ao acessar microfone selecionado",c),it("Nao foi possivel acessar o microfone selecionado.")))}if(!s)return;const l=s.getAudioTracks()[0];if(l)try{const t=Yv(d,"setAudioInputDevice");if(t)return await Promise.resolve(t(Q)),void it(null);const e=function(t){const e=Vv(t,"rtcSession")??Vv(t,"_session")??Vv(t,"session"),n=Vv(e,"_connection")??Vv(e,"connection");if(n)return n;return Vv(t,"pc")??void 0}(u),n=null==(i=null==e?void 0:e.getSenders)?void 0:i.call(e).find(t=>{var e;return"audio"===(null==(e=t.track)?void 0:e.kind)});if(null==n?void 0:n.replaceTrack)return await n.replaceTrack(l),void it(null);const r=Yv(u,"setInputTrack");if(r)return await Promise.resolve(r(l)),void it(null);const o=Yv(u,"replaceTrack");if(o)return await Promise.resolve(o(l)),void it(null);console.warn("Nao foi possivel aplicar o microfone via API conhecida"),it(null)}catch(c){e||(console.error("Erro ao aplicar microfone",c),it("Nao foi possivel aplicar o microfone selecionado."))}})(),()=>{e=!0}},[Q,d,u]),t.useEffect(()=>{if(!et||!d)return;(async()=>{try{const t=Yv(Vv(d,"audioOutput"),"setAudioOutputDevice");if(!t)return void console.warn("Nao foi possivel localizar API para alterar dispositivo de saida.");await Promise.resolve(t(et)),it(null)}catch(t){console.error("Erro ao aplicar dispositivo de saida",t),it("Nao foi possivel aplicar a saida de audio selecionada.")}})()},[et,d]),t.useEffect(()=>{if(!u)return;const t=t=>{var e,n;const r=(null==(e=null==t?void 0:t.failure)?void 0:e.message)||(null==(n=null==t?void 0:t.failure)?void 0:n.cause);x(r?`Chamada nao concluida: ${r}`:"Chamada nao concluida.")};return u.on("failed",t),()=>{u.off("failed",t)}},[u]),t.useEffect(()=>()=>{const t=H.current;t&&t.close().catch(()=>{})},[]),t.useEffect(()=>()=>{var t;null==(t=dt.current)||t.getTracks().forEach(t=>t.stop()),dt.current=null},[]);const It=t.useCallback(async()=>{if("undefined"==typeof window)return null;const t=window.AudioContext||window.webkitAudioContext;if(!t)return null;if(H.current||(H.current=new t),"suspended"===H.current.state)try{await H.current.resume()}catch(e){console.error("Falha ao retomar audio",e)}return H.current},[]),Rt=t.useCallback(async t=>{const e=Zv[t];if(!e)return;const n=await It();if(!n)return;const r=n.createGain(),[i,o]=e,a=n.createOscillator(),d=n.createOscillator();a.type="sine",d.type="sine",a.frequency.setValueAtTime(i,n.currentTime),d.frequency.setValueAtTime(o,n.currentTime),r.gain.setValueAtTime(0,n.currentTime),r.gain.linearRampToValueAtTime(.22,n.currentTime+.01),r.gain.linearRampToValueAtTime(0,n.currentTime+.18),a.connect(r),d.connect(r),r.connect(n.destination);const s=n.currentTime,u=s+.2;a.start(s),d.start(s),a.stop(u),d.stop(u);const l=()=>{try{a.disconnect(),d.disconnect(),r.disconnect()}catch(t){console.error("Erro ao limpar tons DTMF",t)}};a.onended=l,d.onended=l},[It]),Pt=t.useCallback(t=>{if(Rt(t),u&&(St||Et))try{u.sendDtmf(t)}catch(e){console.error("Falha ao enviar DTMF",e),x("Nao foi possivel enviar o tom DTMF.")}else Tt&&(x(null),r(e=>(e+t).slice(0,32)))},[Rt,u,St,Et,Tt,r]),kt=t.useCallback(()=>{x(null),r("")},[r]),Dt=t.useCallback(()=>{x(null),r(t=>t.slice(0,-1))},[r]),Mt=t.useCallback(async()=>{if(_t||wt)if(yt)if(Nt)try{x(null),ut(yt),await h(yt)}catch(t){console.error("Erro ao iniciar chamada",t),x("Nao foi possivel iniciar a ligacao.")}else x("Numero invalido. Digite apenas o numero local, sem o +55.");else x("Informe um numero para ligar.")},[_t,wt,yt,Nt,h]),Lt=t.useCallback(async t=>{try{ht(null),await $t(t),ct(!1),console.log("[FloatingDialer] Entrou em pausa com sucesso:",t)}catch(e){console.error("[FloatingDialer] Erro ao entrar em pausa:",e),ht(e instanceof Error?e.message:"Não foi possível entrar em pausa.")}},[$t]),jt=t.useCallback(async()=>{try{await mt(),console.log("[FloatingDialer] Saiu da pausa com sucesso")}catch(t){console.error("[FloatingDialer] Erro ao sair da pausa:",t),A("Não foi possível sair da pausa.")}},[mt]);t.useEffect(()=>{if(!b)return;const t=t=>{if(t.metaKey||t.ctrlKey||t.altKey)return;const e=t.key;if("Backspace"===e)return t.preventDefault(),void Dt();if("Delete"===e)return t.preventDefault(),void kt();if("Enter"===e)return void(_t&&(t.preventDefault(),Mt()));const n="NumpadEnter"===e?null:e;if(n&&["0","1","2","3","4","5","6","7","8","9","#","*","+"].includes(n))return t.preventDefault(),void Pt(n);if(e.startsWith("Numpad")){const n=e.replace("Numpad","");if("Add"===n)return t.preventDefault(),void Pt("+");if("Multiply"===n)return t.preventDefault(),void Pt("*");/^[0-9]$/.test(n)&&(t.preventDefault(),Pt(n))}};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[b,Dt,kt,Pt,Mt,_t]);const Ut=t.useCallback(async()=>{try{await v()}catch(t){console.error("Erro ao encerrar chamada",t),x("Falha ao encerrar chamada.")}},[v]),Ft=t.useCallback(async()=>{try{await g()}catch(t){console.error("Erro ao atender chamada",t),x("Nao foi possivel atender.")}},[g]),Bt=t.useCallback(async()=>{try{await y()}catch(t){console.error("Erro ao rejeitar chamada",t),x("Nao foi possivel rejeitar.")}},[y]),qt=t.useCallback(async()=>{if(("success"===P?c:f).length)if(D)if("function"==typeof $)try{R(!0),O(null),await Promise.resolve($({result:P,qualificationId:D}))}catch(t){console.error("Erro ao finalizar pos-chamada",t),O("Falha ao finalizar atendimento. Tente novamente.")}finally{R(!1)}else O("Nao foi possivel enviar a qualificacao.");else O("Selecione uma qualificacao para finalizar.");else O("Nenhuma qualificacao configurada para este resultado.")},[P,f,$,D,c]),Ht=t.useCallback(()=>{_(!0)},[]),zt=t.useCallback(t=>{const e=t.relatedTarget;w.current&&e&&w.current.contains(e)||_(!1)},[]),Gt=t.useCallback(t=>{const e=t.target.value;tt(e||null)},[]),Wt=t.useCallback(t=>{const e=t.target.value;nt(e||null)},[]),Kt=t.useCallback(t=>{const e=Number.isFinite(t)?t:0,n=Math.min(Math.max(e,0),1);X(Number((n*(("number"==typeof Y?Y:0)>1?100:1)).toFixed(2)))},[Y,X]),Vt=s&&"call"in s?s.call:void 0,Yt=Xv(u)??Xv(Vt),Xt=yt||st,Jt=(null==Yt?void 0:Yt.displayName)??(null==Yt?void 0:Yt.phoneNumber)??("campaign"===(null==l?void 0:l.type)?l.info.campaignContact.phoneNumber:void 0)??((St||xt)&&Xt?Xt:void 0),Zt=function(t){switch(t){case"starting":return"Conectando";case"idle":return"Disponível";case"manualCallSetup":return"Preparando";case"manualCallRinging":return"Chamando";case"callRinging":return"Recebida";case"callInProgress":return"Em chamada";case"afterCall":return"Finalizando";case"onBreak":return"Em pausa";case"offline":return"Offline";case"error":return"Erro";default:return"Aguardando"}}(bt),Qt=gt||vt,te=(null==(o=J.inputs.find(t=>t.deviceId===Q))?void 0:o.label)||"Microfone padrao",ee=(null==(a=J.outputs.find(t=>t.deviceId===et))?void 0:a.label)||"Saida padrao",ne="number"==typeof Y?Y:0,re=ne>1?100:1,ie=Math.min(Math.max(ne/re,0),1),oe=Math.round(100*ie),ae=K?Vp:ie>.65?Kp:Wp,de=G?Dp:Mp,se=function(t){switch(t){case"idle":return{Icon:Op,badgeClass:Ym`border-emerald-200 bg-emerald-50 text-emerald-700`,dotClass:Ym`bg-emerald-500`};case"callInProgress":case"manualCallSetup":case"manualCallRinging":case"callRinging":return{Icon:Ap,badgeClass:Ym`border-primary/30 bg-primary/10 text-primary`,dotClass:Ym`bg-primary`};case"onBreak":return{Icon:jp,badgeClass:Ym`border-amber-200 bg-amber-50 text-amber-700`,dotClass:Ym`bg-amber-500`};case"offline":case"error":return{Icon:Np,badgeClass:Ym`border-rose-200 bg-rose-50 text-rose-700`,dotClass:Ym`bg-rose-500`};default:return{Icon:Up,badgeClass:Ym`border-slate-200 bg-slate-50 text-slate-600`,dotClass:Ym`bg-slate-500`}}}(bt);if("afterCall"===bt)return m.jsx(tg,{username:e,result:P,onChangeResult:k,successQualifications:c,discardQualifications:f,selectedQualificationId:D,onSelectQualification:M,onSubmit:qt,isSubmitting:I,errorMessage:N,onLogout:i});const ue=St||xt;return m.jsxs("div",{ref:w,tabIndex:0,role:"application","aria-label":"Discador manual",onFocusCapture:Ht,onBlurCapture:zt,className:Ym`space-y-3 sm:space-y-4 rounded-2xl outline-none`,children:[m.jsxs("div",{className:Ym`flex items-center justify-between gap-2`,children:[m.jsxs("div",{className:Ym`flex items-center gap-2 min-w-0 flex-1`,children:[m.jsx("span",{className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-lg bg-primary/10 text-primary shrink-0`,children:m.jsx(Gp,{className:Ym`text-sm`})}),m.jsxs("div",{className:Ym`min-w-0 flex-1`,children:[m.jsx("p",{className:Ym`text-sm font-bold text-slate-800 truncate`,children:e}),m.jsx("p",{className:Ym`text-[9px] uppercase tracking-wide text-slate-500 font-medium`,children:"Operador"})]})]}),m.jsxs("div",{className:Ym`flex items-center gap-2 shrink-0`,children:[_t&&m.jsxs("button",{type:"button",onClick:()=>ct(!0),className:Ym`inline-flex items-center gap-1 rounded-lg border border-amber-300 bg-amber-50 px-2 py-1 text-[10px] font-bold text-amber-700 transition-all hover:bg-amber-100 hover:shadow-sm`,"aria-label":"Entrar em pausa",children:[m.jsx(jp,{className:Ym`text-xs`}),m.jsx("span",{children:"Pausa"})]}),wt&&m.jsxs("button",{type:"button",onClick:jt,className:Ym`inline-flex items-center gap-1 rounded-lg border border-emerald-300 bg-emerald-50 px-2 py-1 text-[10px] font-bold text-emerald-700 transition-all hover:bg-emerald-100 hover:shadow-sm`,"aria-label":"Sair da pausa",children:[m.jsx(Op,{className:Ym`text-xs`}),m.jsx("span",{children:"Voltar"})]}),m.jsxs("div",{className:Ym`${se.badgeClass} inline-flex items-center gap-1.5 rounded-lg border px-2 py-1 text-[10px] font-bold ${St?"animate-pulse":""}`,children:[m.jsx(se.Icon,{className:Ym`text-xs`}),m.jsx("span",{children:Zt}),m.jsx("span",{className:Ym`${se.dotClass} inline-flex h-1.5 w-1.5 rounded-full`,"aria-hidden":!0})]})]})]}),ue&&m.jsxs(m.Fragment,{children:[m.jsx(eg,{statusLabel:Zt,callTarget:Jt,durationSeconds:L}),m.jsx(Lv,{})]}),!ue&&m.jsxs("div",{ref:C,className:Ym`${b?"ring-2 ring-primary/50 shadow-lg":"shadow-sm"} relative overflow-hidden rounded-xl border border-slate-200 bg-gradient-to-br from-white to-slate-50 px-4 py-3 transition-all hover:shadow-md`,onClick:()=>{var t;return null==(t=w.current)?void 0:t.focus()},children:[m.jsx("input",{ref:S,id:"dialer-number",type:"tel",inputMode:"tel",value:vt,onChange:t=>r(t.target.value),className:Ym`sr-only`,tabIndex:-1,"aria-hidden":"true"}),m.jsxs("div",{className:Ym`flex items-center justify-between mb-2`,children:[m.jsxs("div",{className:Ym`flex items-center gap-1.5`,children:[m.jsx(qp,{className:Ym`text-sm text-primary`}),m.jsx("span",{className:Ym`text-[10px] uppercase tracking-wider text-slate-500 font-semibold`,children:"Número"})]}),b&&m.jsxs("span",{className:Ym`inline-flex items-center gap-1 rounded-full bg-primary/10 px-2 py-0.5 text-[9px] font-semibold text-primary`,children:[m.jsx("span",{className:Ym`inline-block h-1.5 w-1.5 rounded-full bg-primary animate-pulse`}),"Ativo"]})]}),m.jsx("div",{className:Ym`min-h-[2.5rem] flex items-center`,children:m.jsx("p",{className:Ym`text-2xl font-semibold tabular-nums tracking-tight text-slate-800 flex-1 truncate`,children:Qt||m.jsx("span",{className:Ym`text-slate-400 text-lg font-normal`,children:"Digite um número"})})})]}),m.jsx("div",{className:Ym`grid grid-cols-3 gap-2`,children:Uv.map(t=>m.jsxs("button",{type:"button",onClick:()=>Pt(t.value),disabled:!At,className:Ym`relative flex h-14 flex-col items-center justify-center rounded-lg border border-slate-200 bg-gradient-to-b from-white to-slate-50 text-lg font-bold text-slate-800 shadow-sm transition-all active:scale-95 hover:border-slate-300 hover:shadow-md outline-none disabled:cursor-not-allowed disabled:opacity-40`,children:[m.jsx("span",{children:t.value}),t.detail&&m.jsx("span",{className:Ym`text-[8px] font-semibold tracking-widest text-slate-400 uppercase`,children:t.detail})]},t.value))}),m.jsxs("div",{className:Ym`space-y-2`,children:[m.jsxs("div",{className:Ym`flex flex-wrap items-center gap-2`,children:[_t||wt?m.jsxs("button",{type:"button",onClick:Mt,disabled:!Nt,className:Ym`flex flex-1 min-w-[7rem] items-center justify-center gap-2 rounded-lg bg-emerald-500 px-4 py-2.5 text-sm font-bold text-white shadow-lg transition-all hover:bg-emerald-600 hover:shadow-xl disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:shadow-lg`,children:[m.jsx(qp,{className:Ym`text-base`}),"Ligar"]}):Ct?m.jsxs(m.Fragment,{children:[m.jsxs("button",{type:"button",onClick:Bt,className:Ym`flex flex-1 min-w-[6rem] items-center justify-center gap-1.5 rounded-lg bg-rose-500 px-3 py-2 text-xs font-bold text-white shadow-md transition-all hover:bg-rose-600 hover:shadow-lg`,children:[m.jsx(Bp,{className:Ym`text-sm`}),"Recusar"]}),m.jsxs("button",{type:"button",onClick:Ft,className:Ym`flex flex-1 min-w-[6rem] items-center justify-center gap-1.5 rounded-lg bg-emerald-500 px-3 py-2 text-xs font-bold text-white shadow-md transition-all hover:bg-emerald-600 hover:shadow-lg`,children:[m.jsx(Fp,{className:Ym`text-sm`}),"Atender"]})]}):m.jsxs("button",{type:"button",onClick:Ut,className:Ym`flex flex-1 min-w-[7rem] items-center justify-center gap-2 rounded-lg bg-rose-500 px-4 py-2.5 text-sm font-bold text-white shadow-lg transition-all hover:bg-rose-600 hover:shadow-xl`,children:[m.jsx(Bp,{className:Ym`text-base`}),"Encerrar"]}),m.jsxs("button",{type:"button",onClick:()=>W(!G),className:Ym`${G?"border-rose-300 bg-rose-50 text-rose-600":"border-slate-300 bg-white text-slate-700"} flex h-9 min-w-[4.5rem] flex-1 items-center justify-center gap-1 rounded-lg border px-2 py-1.5 text-[10px] font-bold transition-all hover:border-slate-400 hover:shadow-md disabled:cursor-not-allowed`,children:[m.jsx(de,{className:Ym`text-xs`}),G?"Mudo":"Mic"]}),m.jsxs("button",{type:"button",onClick:()=>V(!K),className:Ym`${K?"border-amber-300 bg-amber-50 text-amber-700":"border-slate-300 bg-white text-slate-700"} flex h-9 min-w-[4.5rem] flex-1 items-center justify-center gap-1 rounded-lg border px-2 py-1.5 text-[10px] font-bold transition-all hover:border-slate-400 hover:shadow-md`,children:[m.jsx(ae,{className:Ym`text-xs`}),K?"Mudo":`${oe}%`]}),m.jsx("button",{type:"button",onClick:Dt,className:Ym`flex h-9 w-9 items-center justify-center rounded-lg border border-slate-300 bg-white text-slate-700 transition-all hover:border-slate-400 hover:shadow-md`,"aria-label":"Apagar ultimo digito",children:m.jsx(Rp,{className:Ym`text-base`})}),m.jsx("button",{type:"button",onClick:kt,className:Ym`flex h-9 w-9 items-center justify-center rounded-lg border border-rose-300 bg-rose-50 text-rose-700 font-bold text-xs transition-all hover:border-rose-400 hover:bg-rose-100 hover:shadow-md active:bg-rose-200`,"aria-label":"Limpar numero",children:"C"})]}),m.jsxs("div",{className:Ym`rounded-xl border border-slate-200 bg-white/80 p-2.5 shadow-sm sm:p-3`,children:[m.jsxs("div",{className:Ym`flex flex-wrap items-center justify-between gap-2`,children:[m.jsxs("div",{children:[m.jsx("p",{className:Ym`text-[10px] uppercase tracking-wide text-slate-500`,children:"Volume"}),m.jsxs("p",{className:Ym`text-xs font-semibold text-slate-800 sm:text-sm`,children:["Saída ",oe,"%"]})]}),m.jsxs("div",{className:Ym`flex items-center gap-1.5 sm:gap-2`,children:[m.jsx("button",{type:"button",onClick:()=>Kt((Y??0)-.05),className:Ym`inline-flex h-7 w-7 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition hover:border-primary/60 hover:text-primary sm:h-8 sm:w-8`,"aria-label":"Diminuir volume",children:m.jsx(Lp,{className:Ym`text-sm`})}),m.jsx("input",{type:"range",min:0,max:1,step:.01,value:Number.isFinite(Y)?Y:0,onChange:t=>Kt(parseFloat(t.target.value)),className:Ym`h-1 w-full max-w-[9rem] cursor-pointer appearance-none rounded-full bg-slate-200 accent-primary sm:max-w-none sm:w-32`,"aria-label":"Volume de saida"}),m.jsx("button",{type:"button",onClick:()=>Kt((Y??0)+.05),className:Ym`inline-flex h-7 w-7 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition hover:border-primary/60 hover:text-primary sm:h-8 sm:w-8`,"aria-label":"Aumentar volume",children:m.jsx(Hp,{className:Ym`text-sm`})})]})]}),m.jsxs("div",{className:Ym`mt-2 flex flex-wrap items-center gap-2 text-[11px] text-slate-600 sm:text-xs`,children:[m.jsxs("div",{className:Ym`flex items-center gap-1.5`,children:[m.jsx(Mp,{className:Ym`text-sm text-primary`}),m.jsx("span",{className:Ym`truncate max-w-[8rem] sm:max-w-none`,children:te})]}),m.jsxs("div",{className:Ym`flex items-center gap-1.5`,children:[m.jsx(Pp,{className:Ym`text-sm text-primary`}),m.jsx("span",{className:Ym`truncate max-w-[8rem] sm:max-w-none`,children:ee})]}),(J.inputs.length>0||J.outputs.length>0)&&m.jsxs("button",{type:"button",onClick:()=>at(t=>!t),className:Ym`inline-flex items-center gap-1 rounded-md border border-slate-300 bg-white px-2 py-0.5 text-[9px] font-bold text-slate-700 transition-all hover:border-slate-400 hover:shadow-sm`,children:[m.jsx(zp,{className:Ym`text-[10px]`}),ot?"Ocultar":"Config"]})]}),ot&&m.jsxs("div",{className:Ym`mt-3 grid gap-2 sm:grid-cols-2`,children:[m.jsxs("label",{className:Ym`space-y-1 text-xs text-slate-700`,children:[m.jsxs("span",{className:Ym`flex items-center gap-1.5 font-semibold`,children:[m.jsx(Mp,{className:Ym`text-sm text-primary`}),"Entrada"]}),m.jsxs("select",{className:Ym`w-full rounded-lg border border-slate-200 bg-white px-2.5 py-1.5 text-[11px] shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40 sm:text-xs`,value:Q??"",onChange:Gt,children:[0===J.inputs.length&&m.jsx("option",{value:"",children:"Padrão"}),J.inputs.map(t=>m.jsx("option",{value:t.deviceId,children:t.label||"Padrão"},t.deviceId||t.label))]})]}),m.jsxs("label",{className:Ym`space-y-1 text-xs text-slate-700`,children:[m.jsxs("span",{className:Ym`flex items-center gap-1.5 font-semibold`,children:[m.jsx(Pp,{className:Ym`text-sm text-primary`}),"Saída"]}),m.jsxs("select",{className:Ym`w-full rounded-lg border border-slate-200 bg-white px-2.5 py-1.5 text-[11px] shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40 sm:text-xs`,value:et??"",onChange:Wt,children:[0===J.outputs.length&&m.jsx("option",{value:"",children:"Padrão"}),J.outputs.map(t=>m.jsx("option",{value:t.deviceId,children:t.label||"Padrão"},t.deviceId||t.label))]})]})]})]})]}),(E||T||rt)&&m.jsxs("div",{className:Ym`space-y-1.5`,children:[E&&m.jsxs("div",{className:Ym`flex items-start gap-2 rounded-xl border border-rose-200 bg-rose-50 px-2.5 py-2 text-[11px] text-rose-700`,children:[m.jsx(Np,{className:Ym`mt-0.5 text-xs`}),m.jsx("span",{children:E})]}),T&&m.jsxs("div",{className:Ym`flex items-start gap-2 rounded-xl border border-amber-200 bg-amber-50 px-2.5 py-2 text-[11px] text-amber-700`,children:[m.jsx(Np,{className:Ym`mt-0.5 text-xs`}),m.jsx("span",{children:T})]}),rt&&m.jsxs("div",{className:Ym`flex items-start gap-2 rounded-xl border border-sky-200 bg-sky-50 px-2.5 py-2 text-[11px] text-sky-700`,children:[m.jsx(Np,{className:Ym`mt-0.5 text-xs`}),m.jsx("span",{children:rt})]})]}),lt&&m.jsx("div",{className:Ym`fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4`,children:m.jsxs("div",{className:Ym`bg-white rounded-2xl shadow-2xl max-w-md w-full p-6 space-y-4`,children:[m.jsxs("div",{className:Ym`flex items-center justify-between`,children:[m.jsx("h3",{className:Ym`text-lg font-bold text-slate-800`,children:"Selecione uma Pausa"}),m.jsx("button",{type:"button",onClick:()=>{ct(!1),ht(null)},className:Ym`text-slate-400 hover:text-slate-600 transition`,children:m.jsx(Yp,{className:Ym`text-xl`})})]}),ft&&m.jsxs("div",{className:Ym`rounded-lg bg-red-50 border border-red-200 px-3 py-2 flex items-start gap-2`,children:[m.jsx(Np,{className:Ym`text-red-500 shrink-0 mt-0.5`}),m.jsx("p",{className:Ym`text-sm text-red-700`,children:ft})]}),pt&&0!==pt.length?m.jsx("div",{className:Ym`space-y-2 max-h-96 overflow-y-auto`,children:pt.map(t=>m.jsxs("button",{type:"button",onClick:()=>Lt(t.id),className:Ym`w-full flex items-center gap-3 rounded-lg border border-slate-200 bg-white px-4 py-3 text-left transition-all hover:border-amber-300 hover:bg-amber-50 hover:shadow-md`,children:[m.jsx(jp,{className:Ym`text-xl text-amber-600 shrink-0`}),m.jsxs("div",{className:Ym`flex-1 min-w-0`,children:[m.jsx("p",{className:Ym`font-semibold text-slate-800 truncate`,children:t.name}),m.jsxs("p",{className:Ym`text-xs text-slate-500`,children:["ID: ",t.id]})]})]},t.id))}):m.jsx("div",{className:Ym`text-center py-8`,children:m.jsx("p",{className:Ym`text-slate-500`,children:"Nenhuma pausa disponível"})}),m.jsx("button",{type:"button",onClick:()=>{ct(!1),ht(null)},className:Ym`w-full rounded-lg border border-slate-200 bg-slate-50 px-4 py-2 text-sm font-semibold text-slate-600 transition hover:bg-slate-100`,children:"Cancelar"})]})}),m.jsxs("button",{type:"button",onClick:i,className:Ym`flex w-full items-center justify-center gap-2 rounded-2xl border border-slate-200 bg-white px-4 py-3 text-sm font-semibold text-slate-600 transition hover:border-red-400 hover:text-red-500`,children:[m.jsx(kp,{className:Ym`text-base`}),"Sair"]})]})}function Kv(t){if(!t)return"";const e=t.normalize("NFKC");let n="";for(const r of e)(/^[0-9*#]$/.test(r)||"+"===r&&0===n.length)&&(n+=r);return n}function Vv(t,e){const n=function(t){return t&&"object"==typeof t?t:null}(t);if(n&&e in n)return n[e]}function Yv(t,e){const n=Vv(t,e);return"function"==typeof n?n:void 0}function Xv(t){const e=Vv(t,"counterpart");return function(t){if(!t||"object"!=typeof t)return!1;const e=t,n=e.displayName,r=e.phoneNumber;return!(null!=n&&"string"!=typeof n||null!=r&&"string"!=typeof r)}(e)?e:null}function Jv(t,e){const n=t[e];if("number"==typeof n&&Number.isFinite(n))return n;if("string"==typeof n){const t=Number(n);if(Number.isFinite(t))return t}return null}const Zv={1:[1209,697],2:[1336,697],3:[1477,697],4:[1209,770],5:[1336,770],6:[1477,770],7:[1209,852],8:[1336,852],9:[1477,852],"*":[1209,941],0:[1336,941],"#":[1477,941]};function Qv(t,e,n){return Number.isFinite(t)?n<e?e:Math.min(Math.max(t,e),n):e}function tg({username:t,result:e,onChangeResult:n,successQualifications:r,discardQualifications:i,selectedQualificationId:o,onSelectQualification:a,onSubmit:d,isSubmitting:s,errorMessage:u,onLogout:l}){const c="success"===e?r:i,f=c.length>0;return m.jsxs("div",{className:Ym`space-y-5`,children:[m.jsxs("div",{className:Ym`space-y-1`,children:[m.jsx("p",{className:Ym`text-xs uppercase tracking-wide text-slate-500`,children:"Logado como"}),m.jsx("p",{className:Ym`text-sm font-semibold text-slate-800`,children:t})]}),m.jsxs("div",{className:Ym`space-y-4 rounded-2xl border border-slate-200 bg-slate-50 px-4 py-5`,children:[m.jsxs("div",{children:[m.jsx("p",{className:Ym`text-sm font-semibold text-slate-700`,children:"Qualifique a chamada"}),m.jsx("p",{className:Ym`text-xs text-slate-500`,children:"Esta etapa e obrigatoria para registrar o desfecho do atendimento."})]}),m.jsxs("div",{className:Ym`grid grid-cols-2 gap-2`,children:[m.jsx("button",{type:"button",onClick:()=>n("success"),className:Ym`${"success"===e?"bg-emerald-500 text-white shadow-lg":"bg-white text-slate-600"} rounded-xl border border-slate-200 px-3 py-2 text-sm font-semibold transition hover:border-emerald-400`,children:"Atendimento concluido"}),m.jsx("button",{type:"button",onClick:()=>n("failure"),className:Ym`${"failure"===e?"bg-rose-500 text-white shadow-lg":"bg-white text-slate-600"} rounded-xl border border-slate-200 px-3 py-2 text-sm font-semibold transition hover:border-rose-400`,children:"Atendimento descartado"})]}),m.jsxs("div",{className:Ym`space-y-2`,children:[m.jsx("p",{className:Ym`text-sm font-medium text-slate-700`,children:"Selecione uma qualificacao"}),f?m.jsx("div",{className:Ym`max-h-52 space-y-2 overflow-y-auto pr-1`,children:c.map(t=>{const e=o===t.id;return m.jsx("button",{type:"button",onClick:()=>a(t.id),className:Ym`${e?"ring-2 ring-primary bg-primary/5 border-primary":"border-slate-200 bg-white"} w-full rounded-xl border px-3 py-2 text-left transition hover:border-primary`,children:m.jsx("p",{className:Ym`text-sm font-semibold text-slate-800`,children:t.name})},t.id)})}):m.jsx("div",{className:Ym`rounded-xl border border-amber-200 bg-amber-50 px-3 py-2 text-sm text-amber-700`,children:"Nenhuma qualificacao disponivel para este tipo de resultado."})]}),u&&m.jsx("p",{className:Ym`text-xs text-red-500`,children:u}),m.jsxs("button",{type:"button",onClick:d,disabled:!f||!o||s,className:Ym`flex w-full items-center justify-center gap-2 rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white shadow-lg transition hover:bg-primaryDark disabled:cursor-not-allowed disabled:opacity-60`,children:[s&&m.jsx("span",{className:Ym`inline-flex h-4 w-4 animate-spin rounded-full border-2 border-white/40 border-t-white`}),"Finalizar atendimento"]})]}),m.jsxs("button",{type:"button",onClick:l,className:Ym`flex w-full items-center justify-center gap-2 rounded-xl border border-slate-200 bg-white px-4 py-2 text-sm font-semibold text-slate-600 transition hover:border-red-400 hover:text-red-500`,children:[m.jsx(kp,{className:Ym`text-base`}),"Sair"]})]})}function eg({statusLabel:t,callTarget:e,durationSeconds:n}){const r=n>0?function(t){const e=Math.max(0,Math.floor(t));return`${Math.floor(e/60).toString().padStart(2,"0")}:${(e%60).toString().padStart(2,"0")}`}(n):"00:00",i=(null==e?void 0:e.replace(/^\+55/,""))||"Conectando...";return m.jsx("div",{className:Ym`rounded-lg border border-emerald-200 bg-gradient-to-br from-emerald-50 to-white px-3 py-2`,children:m.jsxs("div",{className:Ym`flex items-center justify-between gap-3`,children:[m.jsxs("div",{className:Ym`flex items-center gap-2.5 min-w-0 flex-1`,children:[m.jsx("div",{className:Ym`flex items-center justify-center w-8 h-8 rounded-full bg-emerald-500 shrink-0 ${n>0?"animate-pulse":""}`,children:m.jsx(Up,{className:Ym`text-sm text-white`})}),m.jsxs("div",{className:Ym`flex flex-col gap-0.5 min-w-0 flex-1`,children:[m.jsx("span",{className:Ym`text-base font-bold text-slate-800 truncate font-mono`,children:i}),m.jsx("span",{className:Ym`text-[9px] font-medium text-emerald-600 uppercase tracking-wider`,children:t})]})]}),n>0&&m.jsxs("div",{className:Ym`flex items-center gap-1.5 bg-emerald-500 rounded-lg px-2.5 py-1.5 shrink-0`,children:[m.jsx(Ip,{className:Ym`text-xs text-white`}),m.jsx("span",{className:Ym`text-sm font-bold tabular-nums text-white`,children:r})]})]})})}function ng(t){return m.jsxs("div",{style:{width:"100%",height:"100%"},children:[m.jsx("style",{dangerouslySetInnerHTML:{__html:"\n .callix-inline-wrapper > div {\n position: static !important;\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n height: 100% !important;\n max-height: 100% !important;\n min-height: 0 !important;\n left: auto !important;\n top: auto !important;\n transform: none !important;\n }\n .callix-inline-wrapper > div > div {\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n height: auto !important;\n max-height: none !important;\n min-height: 0 !important;\n overflow: visible !important;\n }\n "}}),m.jsx("div",{className:"callix-inline-wrapper",children:m.jsx(zv,{...t})})]})}class rg{constructor(t){this.root=null,this.container=null,this.options=t}init(){try{if("string"==typeof this.options.container?this.container=document.querySelector(this.options.container):this.container=this.options.container,!this.container)throw new Error(`Container não encontrado: ${this.options.container}`);this.root=y.createRoot(this.container),this.root.render(m.jsx(t.StrictMode,{children:m.jsx(og,{options:this.options})})),this.options.onReady&&this.options.onReady()}catch(e){this.options.onError?this.options.onError(e):console.error("[Callix Dialer] Erro ao inicializar:",e)}}destroy(){this.root&&(this.root.unmount(),this.root=null)}}const ig=288e5;function og({options:e}){const[n,r]=t.useState(null),[i,o]=t.useState(!1),[a,d]=t.useState(!1),[s,u]=t.useState(null),[l,c]=t.useState(null),[f,h]=t.useState(null),[p,$]=t.useState(!0);t.useEffect(()=>{if("undefined"!=typeof window)try{const t=localStorage.getItem(STORAGE_KEYS.USERNAME),e=localStorage.getItem(STORAGE_KEYS.SESSION_TOKEN),n=localStorage.getItem(STORAGE_KEYS.DOMAIN),i=localStorage.getItem(STORAGE_KEYS.TIMESTAMP);if(t&&e&&n&&i){const a=parseInt(i,10);Date.now()-a<ig?(console.log("[Callix Dialer] Restaurando sessão salva:",t),r(t),c(e),h(n),o(!0)):(console.log("[Callix Dialer] Sessão expirada, limpando..."),localStorage.removeItem(STORAGE_KEYS.USERNAME),localStorage.removeItem(STORAGE_KEYS.SESSION_TOKEN),localStorage.removeItem(STORAGE_KEYS.DOMAIN),localStorage.removeItem(STORAGE_KEYS.TIMESTAMP))}}catch(t){console.error("[Callix Dialer] Erro ao restaurar sessão:",t)}finally{$(!1)}else $(!1)},[]);const v=async t=>{d(!0),u(null);try{const i=e.apiUrl||"/api/user-sdk-session",a=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:t}),credentials:"same-origin"});if(!a.ok){const t=await a.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(t.error||`Falha na autenticação: ${a.status}`)}const d=await a.json();if(c(d.userSessionToken),h(d.domain||"villelabrasil.callix.com.br"),r(t),o(!0),u(null),"undefined"!=typeof window)try{localStorage.setItem(STORAGE_KEYS.USERNAME,t),localStorage.setItem(STORAGE_KEYS.SESSION_TOKEN,d.userSessionToken),localStorage.setItem(STORAGE_KEYS.DOMAIN,d.domain||"villelabrasil.callix.com.br"),localStorage.setItem(STORAGE_KEYS.TIMESTAMP,Date.now().toString()),console.log("[Callix Dialer] Sessão salva no localStorage")}catch(n){console.warn("[Callix Dialer] Não foi possível salvar sessão:",n)}console.log("[Callix Dialer] Autenticado com sucesso:",t)}catch(n){console.error("[Callix Dialer] Erro ao autenticar:",n),u(n instanceof Error?n.message:"Erro ao autenticar"),o(!1),c(null)}finally{d(!1)}},g=()=>{if(r(null),o(!1),c(null),h(null),u(null),"undefined"!=typeof window)try{localStorage.removeItem(STORAGE_KEYS.USERNAME),localStorage.removeItem(STORAGE_KEYS.SESSION_TOKEN),localStorage.removeItem(STORAGE_KEYS.DOMAIN),localStorage.removeItem(STORAGE_KEYS.TIMESTAMP),console.log("[Callix Dialer] Sessão removida do localStorage")}catch(t){console.warn("[Callix Dialer] Não foi possível limpar sessão:",t)}},y="inline"===e.mode?ng:zv;return i&&l&&f?m.jsx(_f.CallixClientProvider,{domain:f,userSessionToken:l,children:m.jsx(y,{isAuthenticated:i,username:n,onLogin:v,onLogout:g,isLoadingSession:a,sessionError:s})}):m.jsx(y,{isAuthenticated:!1,username:n,onLogin:v,onLogout:g,isLoadingSession:a||p,sessionError:s})}const ag={CallixDialerWidget:rg,init:function(t){const e=new rg(t);return e.init(),e}};return"undefined"!=typeof window&&(window.CallixDialer=ag),ag});
|
|
26
|
+
*/var _f=function(){if(vf)return mf;vf=1;var e,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})})(a,{CallixClientParams:()=>d.CallixClientParams,CallixClientProvider:()=>m,CallixClientSdk:()=>d.CallixClientSdk,useCallOperator:()=>C,useCallOperatorAudioInputMuted:()=>M,useCallOperatorAudioOutputControls:()=>P,useCallOperatorAudioOutputMuted:()=>D,useCallOperatorAudioOutputVolume:()=>k,useCallOperatorBreaks:()=>L,useCallOperatorControls:()=>x,useCallOperatorCurrentCall:()=>T,useCallOperatorCurrentCallControls:()=>I,useCallOperatorCurrentCallInfo:()=>A,useCallOperatorDiscardQualifications:()=>O,useCallOperatorEventListener:()=>R,useCallOperatorState:()=>S,useCallOperatorSuccessQualifications:()=>N,useCallixClient:()=>$}),e=a,mf=((t,e,a,d)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let s of i(e))!o.call(t,s)&&s!==a&&n(t,s,{get:()=>e[s],enumerable:!(d=r(e,s))||d.enumerable});return t})(n({},"__esModule",{value:!0}),e);var d=df(),s=df(),u=hf(),l=bf(),c=p(),f=(0,u.createScope)(null),h=(0,u.molecule)((t,e)=>{let n=e(f);if(!n)throw new Error("Missing CallixClient parameters. You must wrap your component tree with CallixClientProvider.");return new s.CallixClientSdk(n)});function $(){return(0,l.useMolecule)(h)}function m({children:t,...e}){return(0,c.jsx)(l.ScopeProvider,{scope:f,value:e,children:t})}var v=hf(),g=bf(),y=t,b=t;function _(t){return(0,b.useSyncExternalStore)(t.subscribe.bind(t),t.get.bind(t),t.get.bind(t))}var w=(0,v.molecule)(t=>{let e=t(h).createCallOperator();return(0,v.onMount)(()=>{e.start();let t=()=>{e.stop()};return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}}),(0,v.onUnmount)(()=>{e.stop()}),e});function C(){return(0,g.useMolecule)(w)}function S(){let t=C(),e=_(t.currentStateKeys);for(let n of e){if("startup.error"===n||"manualCall.callFailed"===n)return{state:"error"};if("startup"===n)return{state:"starting"};if("offline"===n||"available.networkDown"===n||"onBreak.networkDown"===n)return{state:"offline"};if("onBreak"===n)return{state:"onBreak",break:t.currentBreak.get()};if("available.callRinging"===n)return{state:"callRinging",call:t.currentCall.get()};if("manualCall.callSetup"===n)return{state:"manualCallSetup",call:t.currentCall.get()};if("manualCall.callRinging"===n)return{state:"manualCallRinging",call:t.currentCall.get()};if("available"===n||"manualCall.idle"===n)return{state:"idle"};if("inCall"===n)return{state:"callInProgress",call:t.currentCall.get()};if("afterCall"===n)return{state:"afterCall"}}}function E(t,e,n){return Object.fromEntries(n.map(n=>[n,(0,y.useCallback)((...r)=>{if(e){if("function"==typeof e[n])return(null==e?void 0:e[n]).apply(e,r);console.warn(`Method ${String(n)} is not a function on obj ${t}.`)}else console.warn(`Obj ${t} is null or undefined, cannot call method ${String(n)}.`)},[e])]))}function x(){return E("callOperator",C(),["becomeAvailable","goOffline","enterOnBreak","makeManualCall","finishAfterCall"])}function T(){return _(C().currentCall)}function A(){return _(C().currentCallInfo)}function N(){return _(C().successQualifications)}function O(){return _(C().discardQualifications)}function I(){return E("currentCall",T(),["answer","reject","hangup","isOnHold","hold","unhold","isMuted","mute","unmute"])}function R(t,e){let n=C(),r=(0,y.useRef)(e);r.current=e,(0,y.useEffect)(()=>{if(n)return n.on(t,(...t)=>{r.current.apply(null,t)})},[t,n])}function P(){return E("audioOutput",C().audioOutput,["setVolume","setMute"])}function k(){let t=C(),{setVolume:e}=P();return[_(t.audioOutput.volume),e]}function D(){let t=C(),{setMute:e}=P();return[_(t.audioOutput.isMuted),e]}function M(){let t=T(),[e,n]=(0,y.useState)((null==t?void 0:t.isMuted())??!1);return[e,(0,y.useCallback)(e=>{t&&(e?t.mute():t.unmute(),n(e))},[t])]}function L(){return _(C().breaks)}return mf}();const wf={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:2(?:(?:[0-26-9]\\d|3[0-8]|5[0135-9])\\d|4(?:[02-9]\\d|10))|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90))|7(?:[013-57-9]\\d|2[0-8])\\d)\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|(?: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[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-478])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|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,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|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,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|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}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33622|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"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-8]|5[0-5]|8[0-7]))\\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|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[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-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{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(?:[1245]|3[12])"]],["(\\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|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function Cf(t,e){t=t.split("-"),e=e.split("-");for(var n=t[0].split("."),r=e[0].split("."),i=0;i<3;i++){var o=Number(n[i]),a=Number(r[i]);if(o>a)return 1;if(a>o)return-1;if(!isNaN(o)&&isNaN(a))return 1;if(isNaN(o)&&!isNaN(a))return-1}return t[1]&&e[1]?t[1]>e[1]?1:t[1]<e[1]?-1:0:!t[1]&&e[1]?1:t[1]&&!e[1]?-1:0}var Sf={}.constructor;function Ef(t){return null!=t&&t.constructor===Sf}function xf(t){return(xf="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Tf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Af(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Nf(r.key),r)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Nf(t){var e=function(t,e){if("object"!=xf(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=xf(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==xf(e)?e:e+""}var Of=" ext. ",If=/^\d+$/,Rf=function(){return Af(function t(e){Tf(this,t),jf(e),this.metadata=e,Bf.call(this,e)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(t){return"001"!==t})}},{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 void 0!==this.getCountryMetadata(t)}},{key:"hasCallingCode",value:function(t){if(this.getCountryCodesForCallingCode(t))return!0;if(this.nonGeographic()){if(this.nonGeographic()[t])return!0}else{var e=this.countryCallingCodes()[t];if(e&&1===e.length&&"001"===e[0])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,e){if(t&&If.test(t)&&(e=t,t=null),t&&"001"!==t){if(!this.hasCountry(t))throw new Error("Unknown country: ".concat(t));this.numberingPlan=new Pf(this.getCountryMetadata(t),this)}else if(e){if(!this.hasCallingCode(e))throw new Error("Unknown calling code: ".concat(e));this.numberingPlan=new Pf(this.getNumberingPlanMetadata(e),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(t){var e=this.countryCallingCodes()[t];if(e){if(1===e.length&&3===e[0].length)return;return e}}},{key:"getCountryCodeForCallingCode",value:function(t){var e=this.getCountryCodesForCallingCode(t);if(e)return e[0]}},{key:"getNumberingPlanMetadata",value:function(t){var e=this.getCountryCodeForCallingCode(t);if(e)return this.getCountryMetadata(e);if(this.nonGeographic()){var n=this.nonGeographic()[t];if(n)return n}else{var r=this.countryCallingCodes()[t];if(r&&1===r.length&&"001"===r[0])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 void 0!==this.numberingPlan}}])}(),Pf=function(){return Af(function t(e,n){Tf(this,t),this.globalMetadataObject=n,this.metadata=e,Bf.call(this,n.metadata)},[{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;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(e){return new kf(e,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()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(t){if(this.hasTypes()&&Lf(this.types(),t))return new Mf(Lf(this.types(),t),this)}},{key:"ext",value:function(){return this.v1||this.v2?Of:this.metadata[13]||Of}}])}(),kf=function(){return Af(function t(e,n){Tf(this,t),this._format=e,this.metadata=n},[{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()||Df.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])}(),Df=/^\(?\$1\)?$/,Mf=function(){return Af(function t(e,n){Tf(this,t),this.type=e,this.metadata=n},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])}();function Lf(t,e){switch(e){case"FIXED_LINE":return t[0];case"MOBILE":return t[1];case"TOLL_FREE":return t[2];case"PREMIUM_RATE":return t[3];case"PERSONAL_NUMBER":return t[4];case"VOICEMAIL":return t[5];case"UAN":return t[6];case"PAGER":return t[7];case"VOIP":return t[8];case"SHARED_COST":return t[9]}}function jf(t){if(!t)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Ef(t)||!Ef(t.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(Ef(t)?"an object of shape: { "+Object.keys(t).join(", ")+" }":"a "+Uf(t)+": "+t,"."))}var Uf=function(t){return xf(t)};function Ff(t,e){if((e=new Rf(e)).hasCountry(t))return e.selectNumberingPlan(t).countryCallingCode();throw new Error("Unknown country: ".concat(t))}function Bf(t){var e=t.version;"number"==typeof e?(this.v1=1===e,this.v2=2===e,this.v3=3===e,this.v4=4===e):e?-1===Cf(e,"1.2.0")?this.v2=!0:-1===Cf(e,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function qf(t,e,n){return function(t,e,n,r){e&&(r=new Rf(r.metadata)).selectNumberingPlan(e);var i=r.type(n),o=i&&i.possibleLengths()||r.possibleLengths();if(!o)return"IS_POSSIBLE";var a=t.length,d=o[0];if(d===a)return"IS_POSSIBLE";if(d>a)return"TOO_SHORT";if(o[o.length-1]<a)return"TOO_LONG";return o.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(t,e,void 0,n)}function Hf(t,e,n){return"IS_POSSIBLE"===qf(t,e,n)}function zf(t,e){return t=t||"",new RegExp("^(?:"+e+")$").test(t)}function Gf(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return Wf(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wf(t,e):void 0}}(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Wf(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var Kf=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Vf(t,e,n){if(e=e||{},t.country||t.countryCallingCode){(n=new Rf(n)).selectNumberingPlan(t.country,t.countryCallingCode);var r=e.v2?t.nationalNumber:t.phone;if(zf(r,n.nationalNumberPattern())){if(Yf(r,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()?"FIXED_LINE_OR_MOBILE":n.type("MOBILE")?Yf(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE":"FIXED_LINE_OR_MOBILE";for(var i,o=Gf(Kf);!(i=o()).done;){var a=i.value;if(Yf(r,a,n))return a}}}}function Yf(t,e,n){return!(!(e=n.type(e))||!e.pattern())&&(!(e.possibleLengths()&&e.possibleLengths().indexOf(t.length)<0)&&zf(t,e.pattern()))}function Xf(t,e,n){var r=new Rf(n).getCountryCodesForCallingCode(t);return r?r.filter(function(t){return function(t,e,n){var r=new Rf(n);if(r.selectNumberingPlan(e),r.numberingPlan.possibleLengths().indexOf(t.length)>=0)return!0;return!1}(e,t,n)}):[]}var Jf="0-90-9٠-٩۰-۹",Zf="".concat("-‐-―−ー-").concat("//").concat("..").concat(" ").concat("()()[]\\[\\]").concat("~⁓∼~"),Qf=new RegExp("(["+Jf+"])");function th(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return eh(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eh(t,e):void 0}}(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function eh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function nh(t,e){var n=e.nationalNumber,r=e.metadata,i=r.getCountryCodesForCallingCode(t);if(i)return 1===i.length?i[0]:function(t,e){var n=e.countries,r=e.metadata;r=new Rf(r);for(var i,o=th(n);!(i=o()).done;){var a=i.value;if(r.selectNumberingPlan(a),r.leadingDigits()){if(t&&0===t.search(r.leadingDigits()))return a}else if(Vf({phone:t,country:a},void 0,r.metadata))return a}}(n,{countries:i,metadata:r.metadata})}function rh(t,e,n){var r=function(t,e){if(t&&e.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+e.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(t);if(r){var i,o,a,d=r.length-1,s=d>0&&r[d];if(e.nationalPrefixTransformRule()&&s)i=t.replace(n,e.nationalPrefixTransformRule()),d>1&&(o=r[1]);else{var u=r[0];i=t.slice(u.length),s&&(o=r[1])}if(s){var l=t.indexOf(r[1]);t.slice(0,l)===e.numberingPlan.nationalPrefix()&&(a=e.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:i,nationalPrefix:a,carrierCode:o}}}return{nationalNumber:t}}(t,n),i=r.carrierCode,o=r.nationalNumber;if(o!==t){if(!function(t,e,n){if(zf(t,n.nationalNumberPattern())&&!zf(e,n.nationalNumberPattern()))return!1;return!0}(t,o,n))return{nationalNumber:t};if(n.numberingPlan.possibleLengths()&&(e||(e=nh(n.numberingPlan.callingCode(),{nationalNumber:o,metadata:n})),!function(t,e,n){switch(qf(t,e,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,e,n)))return{nationalNumber:t}}return{nationalNumber:o,carrierCode:i}}function ih(t,e,n,r,i){if(!t)return{};var o;if("+"!==t[0]){var a=function(t,e,n,r){if(e){var i=new Rf(r);i.selectNumberingPlan(e,n);var o=new RegExp(i.IDDPrefix());if(0===t.search(o)){var a=(t=t.slice(t.match(o)[0].length)).match(Qf);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return t}}}(t,n,r,i);if(!a||a===t){if(n||r){var d=function(t,e,n,r,i){var o=n?Ff(n,i):r;if(0===t.indexOf(o)){(i=new Rf(i)).selectNumberingPlan(n,o);var a=t.slice(o.length),d=rh(a,e,i).nationalNumber,s=rh(t,e,i).nationalNumber;if(!zf(s,i.nationalNumberPattern())&&zf(d,i.nationalNumberPattern())||"TOO_LONG"===qf(s,e,i))return{countryCallingCode:o,number:a}}return{number:t}}(t,e,n,r,i),s=d.countryCallingCode,u=d.number;if(s)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:s,number:u}}return{number:t}}o=!0,t="+"+a}if("0"===t[1])return{};i=new Rf(i);for(var l=2;l-1<=3&&l<=t.length;){var c=t.slice(1,l);if(i.hasCallingCode(c))return i.selectNumberingPlan(c),{countryCallingCodeSource:o?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:c,number:t.slice(l)};l++}return{}}var oh=/(\$\d)/;function ah(t,e,n){var r=n.useInternationalFormat,i=n.withNationalPrefix,o=t.replace(new RegExp(e.pattern()),r?e.internationalFormat():i&&e.nationalPrefixFormattingRule()?e.format().replace(oh,e.nationalPrefixFormattingRule()):e.format());return r?function(t){return t.replace(new RegExp("[".concat(Zf,"]+"),"g")," ").trim()}(o):o}var dh=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;var sh=function(t){return"([".concat(Jf,"]{1,").concat(t,"})")};function uh(t){var e="[ \\t,]*",n="[:\\..]?[ \\t,-]*",r="#?",i="[ \\t]*";return";ext="+sh("20")+"|"+(e+"(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)"+n+sh("20")+r)+"|"+(e+"(?:[xx##~~]|int|int)"+n+sh("9")+r)+"|"+("[- ]+"+sh("6")+"#")+"|"+(i+"(?:,{2}|;)"+n+sh("15")+r)+"|"+(i+"(?:,)+"+n+sh("9")+r)}var lh="["+Jf+"]{2}",ch="[++]{0,1}(?:["+Zf+"]*["+Jf+"]){3,}["+Zf+Jf+"]*",fh=new RegExp("^[++]{0,1}(?:["+Zf+"]*["+Jf+"]){1,2}$","i"),hh=ch+"(?:"+uh()+")?",ph=new RegExp("^"+lh+"$|^"+hh+"$","i");var $h={formatExtension:function(t,e,n){return"".concat(t).concat(n.ext()).concat(e)}};function mh(t,e,n,r){if(n=n?function(){for(var t=1,e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(;t<n.length;){if(n[t])for(var i in n[t])n[0][i]=n[t][i];t++}return n[0]}({},$h,n):$h,r=new Rf(r),t.country&&"001"!==t.country){if(!r.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));r.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)return t.phone||"";r.selectNumberingPlan(t.countryCallingCode)}var i,o=r.countryCallingCode(),a=n.v2?t.nationalNumber:t.phone;switch(e){case"NATIONAL":return a?gh(i=vh(a,t.carrierCode,"NATIONAL",r,n),t.ext,r,n.formatExtension):"";case"INTERNATIONAL":return a?(i=vh(a,null,"INTERNATIONAL",r,n),gh(i="+".concat(o," ").concat(i),t.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return function(t){var e=t.number,n=t.ext;if(!e)return"";if("+"!==e[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(e).concat(n?";ext="+n:"")}({number:"+".concat(o).concat(a),ext:t.ext});case"IDD":if(!n.fromCountry)return;var d=function(t,e,n,r,i){var o=Ff(r,i.metadata);if(o===n){var a=vh(t,e,"NATIONAL",i);return"1"===n?n+" "+a:a}var d=function(t,e,n){var r=new Rf(n);return r.selectNumberingPlan(t,e),r.defaultIDDPrefix()?r.defaultIDDPrefix():dh.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,void 0,i.metadata);if(d)return"".concat(d," ").concat(n," ").concat(vh(t,null,"INTERNATIONAL",i))}(a,t.carrierCode,o,n.fromCountry,r);return gh(d,t.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(e,'"'))}}function vh(t,e,n,r,i){var o,a,d=(o=r.formats(),a=t,function(t,e){for(var n=0;n<t.length;){if(e(t[n]))return t[n];n++}}(o,function(t){if(t.leadingDigitsPatterns().length>0){var e=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==a.search(e))return!1}return zf(a,t.pattern())}));return d?ah(t,d,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!d.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix}):t}function gh(t,e,n,r){return e?r(t,e,n):t}function yh(t){return(yh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function bh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function _h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?bh(Object(n),!0).forEach(function(e){wh(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function wh(t,e,n){return(e=Sh(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ch(t,e,n){return e&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Sh(r.key),r)}}(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function Sh(t){var e=function(t,e){if("object"!=yh(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=yh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t,"string");return"symbol"==yh(e)?e:e+""}var Eh=function(){return Ch(function t(e,n,r){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("First argument is required");if("string"!=typeof e)throw new TypeError("First argument must be a string");if("+"===e[0]&&!n)throw new TypeError("`metadata` argument not passed");if(Ef(n)&&Ef(n.countries)){r=n;var i=e;if(!Th.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var o=ih(i,void 0,void 0,void 0,r);if(e=o.countryCallingCode,!(n=o.number))throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if("string"!=typeof n)throw new TypeError("`nationalNumber` argument must be a string");jf(r);var a=function(t,e){var n,r,i=new Rf(e);xh(t)?(n=t,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=t;return{country:n,countryCallingCode:r}}(e,r),d=a.country,s=a.countryCallingCode;this.country=d,this.countryCallingCode=s,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}},[{key:"setExt",value:function(t){this.ext=t}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Xf(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function(t,e,n){if(void 0===e&&(e={}),n=new Rf(n),e.v2){if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}else{if(!t.phone)return!1;if(t.country){if(!n.hasCountry(t.country))throw new Error("Unknown country: ".concat(t.country));n.selectNumberingPlan(t.country)}else{if(!t.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(t.countryCallingCode)}}if(n.possibleLengths())return Hf(t.phone||t.nationalNumber,t.country,n);if(t.countryCallingCode&&n.isNonGeographicCallingCode(t.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return t=this,e={v2:!0},n=this.getMetadata(),e=e||{},(n=new Rf(n)).selectNumberingPlan(t.country,t.countryCallingCode),n.hasTypes()?void 0!==Vf(t,e,n.metadata):zf(e.v2?t.nationalNumber:t.phone,n.nationalNumberPattern());var t,e,n}},{key:"isNonGeographic",value:function(){return new Rf(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(t){return this.number===t.number&&this.ext===t.ext}},{key:"getType",value:function(){return Vf(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(t,e){return mh(this,t,e?_h(_h({},e),{},{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)}}])}(),xh=function(t){return/^[A-Z]{2}$/.test(t)};var Th=/^\+\d+$/;function Ah(t){return(Ah="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Nh(t,e,n){return e=Ph(e),function(t,e){if(e&&("object"==Ah(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,Ih()?Reflect.construct(e,n||[],Ph(t).constructor):e.apply(t,n))}function Oh(t){var e="function"==typeof Map?new Map:void 0;return Oh=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(Ih())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var i=new(t.bind.apply(t,r));return n&&Rh(i,n.prototype),i}(t,arguments,Ph(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Rh(n,t)},Oh(t)}function Ih(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ih=function(){return!!t})()}function Rh(t,e){return(Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Ph(t){return(Ph=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var kh=function(t){function e(t){var n;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),n=Nh(this,e,[t]),Object.setPrototypeOf(n,e.prototype),n.name=n.constructor.name,n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Rh(t,e)}(e,t),n=e,Object.defineProperty(n,"prototype",{writable:!1}),n;var n}(Oh(Error)),Dh=new RegExp("(?:"+uh()+")$","i");var Mh={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function Lh(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return jh(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jh(t,e):void 0}}(t))||e){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function jh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function Uh(t){for(var e,n="",r=Lh(t.split(""));!(e=r()).done;){n+=Fh(e.value,n)||""}return n}function Fh(t,e,n){if("+"===t){if(e)return;return"+"}return function(t){return Mh[t]}(t)}var Bh="(["+Jf+"]|[\\-\\.\\(\\)]?)",qh=new RegExp("^\\+"+Bh+"*["+Jf+"]"+Bh+"*$","g"),Hh=new RegExp("^("+("["+Jf+"]+((\\-)*["+Jf+"])*")+"\\.)*"+("[a-zA-Z]+((\\-)*["+Jf+"])*")+"\\.?$","g"),zh="tel:",Gh=";phone-context=";function Wh(t,e){var n,r=e.extractFormattedPhoneNumber,i=function(t){var e=t.indexOf(Gh);if(e<0)return null;var n=e+15;if(n>=t.length)return"";var r=t.indexOf(";",n);return r>=0?t.substring(n,r):t.substring(n)}(t);if(!function(t){return null===t||0!==t.length&&(qh.test(t)||Hh.test(t))}(i))throw new kh("NOT_A_NUMBER");if(null===i)n=r(t)||"";else{n="","+"===i.charAt(0)&&(n+=i);var o,a=t.indexOf(zh);o=a>=0?a+4:0;var d=t.indexOf(Gh);n+=t.substring(o,d)}var s=n.indexOf(";isub=");if(s>0&&(n=n.substring(0,s)),""!==n)return n}var Kh=new RegExp("[++"+Jf+"]"),Vh=new RegExp("[^"+Jf+"#]+$");function Yh(t,e,n){if(e=e||{},n=new Rf(n),e.defaultCountry&&!n.hasCountry(e.defaultCountry)){if(e.v2)throw new kh("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(e.defaultCountry))}var r=function(t,e,n){var r=Wh(t,{extractFormattedPhoneNumber:function(t){return function(t,e,n){if(!t)return;if(t.length>250){if(n)throw new kh("TOO_LONG");return}if(!1===e)return t;var r=t.search(Kh);if(r<0)return;return t.slice(r).replace(Vh,"")}(t,n,e)}});if(!r)return{};if(!function(t){return t.length>=2&&ph.test(t)}(r))return function(t){return fh.test(t)}(r)?{error:"TOO_SHORT"}:{};var i=function(t){var e=t.search(Dh);if(e<0)return{};for(var n=t.slice(0,e),r=t.match(Dh),i=1;i<r.length;){if(r[i])return{number:n,ext:r[i]};i++}}(r);if(i.ext)return i;return{number:r}}(t,e.v2,e.extract),i=r.number,o=r.ext,a=r.error;if(!i){if(e.v2){if("TOO_SHORT"===a)throw new kh("TOO_SHORT");throw new kh("NOT_A_NUMBER")}return{}}var d=function(t,e,n,r){var i,o=ih(Uh(t),void 0,e,n,r.metadata),a=o.countryCallingCodeSource,d=o.countryCallingCode,s=o.number;if(d)r.selectNumberingPlan(d);else{if(!s||!e&&!n)return{};r.selectNumberingPlan(e,n),e&&(i=e),d=n||Ff(e,r.metadata)}if(!s)return{countryCallingCodeSource:a,countryCallingCode:d};var u=rh(Uh(s),i,r),l=u.nationalNumber,c=u.carrierCode,f=nh(d,{nationalNumber:l,metadata:r});f&&(i=f,"001"===f||r.selectNumberingPlan(i));return{country:i,countryCallingCode:d,countryCallingCodeSource:a,nationalNumber:l,carrierCode:c}}(i,e.defaultCountry,e.defaultCallingCode,n),s=d.country,u=d.nationalNumber,l=d.countryCallingCode,c=d.countryCallingCodeSource,f=d.carrierCode;if(!n.hasSelectedNumberingPlan()){if(e.v2)throw new kh("INVALID_COUNTRY");return{}}if(!u||u.length<2){if(e.v2)throw new kh("TOO_SHORT");return{}}if(u.length>17){if(e.v2)throw new kh("TOO_LONG");return{}}if(e.v2){var h=new Eh(l,u,n.metadata);return s&&(h.country=s),f&&(h.carrierCode=f),o&&(h.ext=o),h.__countryCallingCodeSource=c,h}var p=!!(e.extended?n.hasSelectedNumberingPlan():s)&&zf(u,n.nationalNumberPattern());return e.extended?{country:s,countryCallingCode:l,carrierCode:f,valid:p,possible:!!p||!(!0!==e.extended||!n.possibleLengths()||!Hf(u,s,n)),phone:u,ext:o}:p?function(t,e,n){var r={country:t,phone:e};n&&(r.ext=n);return r}(s,u,o):{}}function Xh(t){return(Xh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Jh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Zh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jh(Object(n),!0).forEach(function(e){Qh(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jh(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Qh(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=Xh(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=Xh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xh(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tp(t){return(tp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ep(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function np(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=tp(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=tp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==tp(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o,a,d=[],s=!0,u=!1;try{if(o=(n=n.call(t)).next,0===e);else for(;!(s=(r=o.call(n)).done)&&(d.push(r.value),d.length!==e);s=!0);}catch(l){u=!0,i=l}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return d}}(t,e)||function(t,e){if(t){if("string"==typeof t)return ip(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ip(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ip(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function op(t){var e,n,r,i=rp(Array.prototype.slice.call(t),4),o=i[0],a=i[1],d=i[2],s=i[3];if("string"!=typeof o)throw new TypeError("A text for parsing must be a string.");if(e=o,a&&"string"!=typeof a){if(!Ef(a))throw new Error("Invalid second argument: ".concat(a));d?(n=a,r=d):r=a}else s?(n=d,r=s):(n=void 0,r=d),a&&(n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ep(Object(n),!0).forEach(function(e){np(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ep(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({defaultCountry:a},n));return{text:e,options:n,metadata:r}}function ap(t){return(ap="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function sp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dp(Object(n),!0).forEach(function(e){up(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function up(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=ap(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=ap(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ap(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lp(t,e,n){e&&e.defaultCountry&&!function(t,e){return e.countries.hasOwnProperty(t)}(e.defaultCountry,n)&&(e=sp(sp({},e),{},{defaultCountry:void 0}));try{return function(t,e,n){return Yh(t,Zh(Zh({},e),{},{v2:!0}),n)}(t,e,n)}catch(r){if(!(r instanceof kh))throw r}}function cp(t){return(cp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function hp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?fp(Object(n),!0).forEach(function(e){pp(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function pp(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=cp(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=cp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==cp(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $p(){var t=op(arguments),e=t.text,n=t.options,r=t.metadata,i=lp(e,n=hp(hp({},n),{},{extract:!1}),r);return i&&i.isValid()||!1}function mp(){return function(t,e){var n=Array.prototype.slice.call(e);return n.push(wf),t.apply(this,n)}($p,arguments)}var vp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},gp=t.createContext&&t.createContext(vp),yp=["attr","size","title"];function bp(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function _p(){return _p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_p.apply(this,arguments)}function wp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function Cp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wp(Object(n),!0).forEach(function(e){Sp(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wp(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function Sp(t,e,n){var r;return(e="symbol"==typeof(r=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"))?r:r+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ep(e){return e&&e.map((e,n)=>t.createElement(e.tag,Cp({key:n},e.attr),Ep(e.child)))}function xp(e){return n=>t.createElement(Tp,_p({attr:Cp({},e.attr)},n),Ep(e.child))}function Tp(e){var n=n=>{var r,{attr:i,size:o,title:a}=e,d=bp(e,yp),s=o||n.size||"1em";return n.className&&(r=n.className),e.className&&(r=(r?r+" ":"")+e.className),t.createElement("svg",_p({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,d,{className:r,style:Cp(Cp({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),a&&t.createElement("title",null,a),e.children)};return void 0!==gp?t.createElement(gp.Consumer,null,t=>n(t)):n(vp)}function Ap(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"22 12 18 12 15 21 9 3 6 12 2 12"},child:[]}]})(t)}function Np(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},child:[]},{tag:"line",attr:{x1:"12",y1:"9",x2:"12",y2:"13"},child:[]},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"},child:[]}]})(t)}function Op(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"},child:[]},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"},child:[]}]})(t)}function Ip(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"polyline",attr:{points:"12 6 12 12 16 14"},child:[]}]})(t)}function Rp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"},child:[]},{tag:"line",attr:{x1:"18",y1:"9",x2:"12",y2:"15"},child:[]},{tag:"line",attr:{x1:"12",y1:"9",x2:"18",y2:"15"},child:[]}]})(t)}function Pp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M3 18v-6a9 9 0 0 1 18 0v6"},child:[]},{tag:"path",attr:{d:"M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"},child:[]}]})(t)}function kp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"},child:[]},{tag:"polyline",attr:{points:"16 17 21 12 16 7"},child:[]},{tag:"line",attr:{x1:"21",y1:"12",x2:"9",y2:"12"},child:[]}]})(t)}function Dp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"1",y1:"1",x2:"23",y2:"23"},child:[]},{tag:"path",attr:{d:"M9 9v3a3 3 0 0 0 5.12 2.12M15 9.34V4a3 3 0 0 0-5.94-.6"},child:[]},{tag:"path",attr:{d:"M17 16.95A7 7 0 0 1 5 12v-2m14 0v2a7 7 0 0 1-.11 1.23"},child:[]},{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"23"},child:[]},{tag:"line",attr:{x1:"8",y1:"23",x2:"16",y2:"23"},child:[]}]})(t)}function Mp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"},child:[]},{tag:"path",attr:{d:"M19 10v2a7 7 0 0 1-14 0v-2"},child:[]},{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"23"},child:[]},{tag:"line",attr:{x1:"8",y1:"23",x2:"16",y2:"23"},child:[]}]})(t)}function Lp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function jp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"},child:[]},{tag:"line",attr:{x1:"10",y1:"15",x2:"10",y2:"9"},child:[]},{tag:"line",attr:{x1:"14",y1:"15",x2:"14",y2:"9"},child:[]}]})(t)}function Up(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15.05 5A5 5 0 0 1 19 8.95M15.05 1A9 9 0 0 1 23 8.94m-1 7.98v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"},child:[]}]})(t)}function Fp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"16 2 16 8 22 8"},child:[]},{tag:"line",attr:{x1:"23",y1:"1",x2:"16",y2:"8"},child:[]},{tag:"path",attr:{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"},child:[]}]})(t)}function Bp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.68 13.31a16 16 0 0 0 3.41 2.6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7 2 2 0 0 1 1.72 2v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.42 19.42 0 0 1-3.33-2.67m-2.67-3.34a19.79 19.79 0 0 1-3.07-8.63A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91"},child:[]},{tag:"line",attr:{x1:"23",y1:"1",x2:"1",y2:"23"},child:[]}]})(t)}function qp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"},child:[]}]})(t)}function Hp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"},child:[]},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"},child:[]}]})(t)}function zp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"},child:[]},{tag:"path",attr:{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"},child:[]}]})(t)}function Gp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"},child:[]},{tag:"circle",attr:{cx:"12",cy:"7",r:"4"},child:[]}]})(t)}function Wp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"},child:[]},{tag:"path",attr:{d:"M15.54 8.46a5 5 0 0 1 0 7.07"},child:[]}]})(t)}function Kp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"},child:[]},{tag:"path",attr:{d:"M19.07 4.93a10 10 0 0 1 0 14.14M15.54 8.46a5 5 0 0 1 0 7.07"},child:[]}]})(t)}function Vp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"11 5 6 9 2 9 2 15 6 15 11 19 11 5"},child:[]},{tag:"line",attr:{x1:"23",y1:"9",x2:"17",y2:"15"},child:[]},{tag:"line",attr:{x1:"17",y1:"9",x2:"23",y2:"15"},child:[]}]})(t)}function Yp(t){return xp({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"},child:[]},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"},child:[]}]})(t)}var Xp=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["forced-color-adjust","-ms-high-contrast-adjust"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["mask-border","-webkit-mask-box-image"],["mask-border-outset","-webkit-mask-box-image-outset"],["mask-border-slice","-webkit-mask-box-image-slice"],["mask-border-source","-webkit-mask-box-image-source"],["mask-border-repeat","-webkit-mask-box-image-repeat"],["mask-border-width","-webkit-mask-box-image-width"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["print-color-adjust","color-adjust"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);var Jp,Zp,Qp,t$,e$,n$,r$,i$,o$=(t,e)=>!!~t.indexOf(e),a$=(t,e="-")=>t.join(e),d$=(t,e)=>a$(t.filter(Boolean),e),s$=(t,e=1)=>t.slice(e),u$=t=>t,l$=()=>{},c$=t=>t[0].toUpperCase()+s$(t),f$=t=>t.replace(/[A-Z]/g,"-$&").toLowerCase(),h$=(t,e)=>{for(;"function"==typeof t;)t=t(e);return t},p$=(t,e)=>{t.size>e&&t.delete(t.keys().next().value)},$$=(t,e)=>!o$("@:&",t[0])&&(o$("rg",(typeof e)[5])||Array.isArray(e)),m$=(t,e,n)=>e?Object.keys(e).reduce((t,r)=>{const i=h$(e[r],n);return $$(r,i)?t[f$(r)]=i:t[r]="@"==r[0]&&o$("figa",r[1])?(t[r]||[]).concat(i):m$(t[r]||{},i,n),t},t):t,v$="undefined"!=typeof CSS&&CSS.escape||(t=>t.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& ")),g$=t=>(Array.isArray(t)||(t=[t]),"@media "+a$(t.map(t=>("string"==typeof t&&(t={min:t}),t.raw||a$(Object.keys(t).map(e=>`(${e}-width:${t[e]})`)," and "))),",")),y$=t=>{for(var e=9,n=t.length;n--;)e=Math.imul(e^t.charCodeAt(n),1597334677);return"tw-"+((e^e>>>9)>>>0).toString(36)},b$=(t="")=>(Jp.push(t),""),_$=t=>{Jp.length=Math.max(Jp.lastIndexOf("")+~~t,0)},w$=t=>t&&!o$("!:",t[0]),C$=t=>":"==t[0],S$=(t,e)=>{Zp.push({v:Jp.filter(C$),d:t,n:e,i:o$(Jp,"!"),$:""})},E$=t=>{const e="-"==t[0];e&&(t=s$(t));const n=a$(Jp.filter(w$));return S$("&"==t?n:(n&&n+"-")+t,e),""},x$=(t,e)=>{let n="";for(let r,i=!1,o=0;r=t[o++];)if(i||"["==r)n+=r,i="]"!=r;else switch(r){case":":n=n&&b$(":"+(t[o]==r?t[o++]:"")+n);break;case"(":n=n&&b$(n),b$();break;case"!":b$(r);break;case")":case" ":case"\t":case"\n":case"\r":n=n&&E$(n),_$(")"!==r);break;default:n+=r}n&&(e?b$(":"+n):"-"==n.slice(-1)?b$(n.slice(0,-1)):E$(n))},T$=t=>{b$(),A$(t),_$()},A$=t=>{switch(typeof t){case"string":x$(t);break;case"function":S$(t);break;case"object":Array.isArray(t)?t.forEach(T$):t&&Object.keys(t).forEach(e=>{((t,e)=>{if(e){b$();const n=o$("tbu",(typeof e)[1]);x$(t,n),n&&T$(e),_$()}})(e,t[e])})}},N$=new WeakMap,O$=t=>(Jp=[],Zp=[],Array.isArray(t[0])&&Array.isArray(t[0].raw)?(t=>{let e=N$.get(t);if(!e){let n=NaN,r="";e=t.map((e,i)=>{if(n==n||"["!=e.slice(-1)&&!o$(":-(",(t[i+1]||"")[0])||(n=i),i>=n)return o=>{i==n&&(r=""),r+=e,o$("rg",(typeof o)[5])?r+=o:o&&(x$(r),r="",A$(o)),i==t.length-1&&x$(r)};const o=Zp=[];x$(e);const a=[...Jp];return Zp=[],t=>{Zp.push(...o),Jp=[...a],t&&A$(t)}}),N$.set(t,e)}return e})(t[0]).forEach((e,n)=>e(t[n+1])):A$(t),Zp),I$=(t,e)=>("function"==typeof e&&(Qp=!1),e),R$=new WeakMap,P$=(t,e)=>{const n=(t=>{Qp=!0;const e=JSON.stringify(t,I$);return Qp&&e})(e);let r;if(n){var i=R$.get(t);i||R$.set(t,i=new Map),r=i.get(n)}return r||(r=Object.defineProperty((n,r)=>(r=Array.isArray(n)?r:n,h$(t(e,r),r)),"toJSON",{value:()=>n||e}),i&&(i.set(n,r),p$(i,1e4))),r},k$=(t,{css:e})=>e(O$(t)),D$=t=>(e,n,r,i)=>{if(e){const o=n&&t(n);if(o&&o.length>0)return o.reduce((t,n)=>(t[d$([r,n,i])]=e,t),{})}},M$=D$(t=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]}[t])),L$=t=>{const e=({x:"lr",y:"tb"}[t]||t||"").split("").sort();for(let n=e.length;n--;)if(!(e[n]={t:"top",r:"right",b:"bottom",l:"left"}[e[n]]))return;if(e.length)return e},j$=D$(L$),U$=(t,e)=>t+(":"==e[1]?s$(e,2)+":":s$(e))+":",F$=(t,e=t.d)=>"function"==typeof e?"":t.v.reduce(U$,"")+(t.i?"!":"")+(t.n?"-":"")+e,B$=t=>"cols"==t?"columns":"rows",q$=t=>(e,n,r)=>({[t]:r+((t$=a$(e))&&"-"+t$)}),H$=(t,e)=>(n,r,i)=>(t$=a$(n,e))&&{[t||i]:t$},z$=t=>(e,{theme:n},r)=>(t$=n(t||r,e))&&{[t||r]:t$},G$=(t,e)=>(n,{theme:r},i)=>(t$=r(t||i,n,a$(n,e)))&&{[t||i]:t$},W$=(t,e)=>(n,r)=>t(n,r,e),K$=q$("display"),V$=q$("position"),Y$=q$("textTransform"),X$=q$("textDecoration"),J$=q$("fontStyle"),Z$=t=>(e,n,r)=>({["--tw-"+t]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),Q$=(t,{theme:e},n)=>(t$=e("inset",t))&&{[n]:t$},tm=(t,e,n,r=n)=>(t$=e(r+"Opacity",s$(t)))&&{[`--tw-${n}-opacity`]:t$},em=(t,e)=>Math.round(parseInt(t,16)*e),nm=(t,e,n)=>t&&"#"==t[0]&&(t$=(t.length-1)/3)&&(n$=[17,1,.062272][t$-1])?`rgba(${em(t.substr(1,t$),n$)},${em(t.substr(1+t$,t$),n$)},${em(t.substr(1+2*t$,t$),n$)},${e?`var(--tw-${e}${n?","+n:""})`:n||1})`:t,rm=(t,e,n)=>n&&"string"==typeof n?(t$=nm(n,e+"-opacity"))&&t$!==n?{[`--tw-${e}-opacity`]:"1",[t]:[n,t$]}:{[t]:n}:void 0,im=t=>(n$=nm(t,"","0"))==t$?"transparent":n$,om=(t,{theme:e},n,r,i,o)=>(t$={x:["right","left"],y:["bottom","top"]}[t[0]])&&(n$=`--tw-${n}-${t[0]}-reverse`)?"reverse"==t[1]?{[n$]:"1"}:{[n$]:"0",[d$([i,t$[0],o])]:(e$=e(r,s$(t)))&&`calc(${e$} * var(${n$}))`,[d$([i,t$[1],o])]:e$&&[e$,`calc(${e$} * calc(1 - var(${n$})))`]}:void 0,am=(t,e)=>e[0]&&{[t]:(o$("wun",(e[0]||"")[3])?"space-":"")+e[0]},dm=t=>e=>o$(["start","end"],e[0])?{[t]:"flex-"+e[0]}:am(t,e),sm=t=>(e,{theme:n})=>{if(t$=n("grid"+c$(t),e,""))return{["grid-"+t]:t$};switch(e[0]){case"span":return e[1]&&{["grid-"+t]:`span ${e[1]} / span ${e[1]}`};case"start":case"end":return(t$=n("grid"+c$(t)+c$(e[0]),s$(e),a$(s$(e))))&&{[`grid-${t}-${e[0]}`]:t$}}},um=(t,{theme:e},n)=>{switch(t[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return H$("borderStyle")(t);case"collapse":case"separate":return H$("borderCollapse")(t);case"opacity":return tm(t,e,n)}return(t$=e(n+"Width",t,""))?{borderWidth:t$}:rm("borderColor",n,e(n+"Color",t))},lm=t=>(t?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",cm=(t,e,n)=>t[0]&&(t$=e.theme(n,t[1]||t[0]))&&{[`--tw-${n}-x`]:"y"!==t[0]&&t$,[`--tw-${n}-y`]:"x"!==t[0]&&t$,transform:[`${n}${t[1]?t[0].toUpperCase():""}(${t$})`,lm()]},fm=t=>(e,n,r)=>r[1]?j$(n.theme(t,e),r[1],t):z$(t)(e,n,r),hm=fm("padding"),pm=fm("margin"),$m=(t,{theme:e},n)=>(t$={w:"width",h:"height"}[t[0]])&&{[t$=`${n}${c$(t$)}`]:e(t$,s$(t))},mm=(t,{theme:e},n)=>{const r=n.split("-"),i="backdrop"==r[0]?r[0]+"-":"";if(i||t.unshift(...r),"filter"==t[0]){const e=["blur","brightness","contrast","grayscale","hue-rotate","invert",i&&"opacity","saturate","sepia",!i&&"drop-shadow"].filter(Boolean);return"none"==t[1]?{[i+"filter"]:"none"}:e.reduce((t,e)=>(t["--tw-"+i+e]="var(--tw-empty,/*!*/ /*!*/)",t),{[i+"filter"]:e.map(t=>`var(--tw-${i}${t})`).join(" ")})}return n$=t.shift(),o$(["hue","drop"],n$)&&(n$+=c$(t.shift())),(t$=e(i?"backdrop"+c$(n$):n$,t))&&{["--tw-"+i+n$]:(Array.isArray(t$)?t$:[t$]).map(t=>`${f$(n$)}(${t})`).join(" ")}},vm={group:(t,{tag:e},n)=>e(a$([n,...t])),hidden:W$(K$,"none"),inline:K$,block:K$,contents:K$,flow:K$,table:(t,e,n)=>o$(["auto","fixed"],t[0])?{tableLayout:t[0]}:K$(t,e,n),flex(t,e,n){switch(t[0]){case"row":case"col":return{flexDirection:a$("col"==t[0]?["column",...s$(t)]:t)};case"nowrap":case"wrap":return{flexWrap:a$(t)};case"grow":case"shrink":return null!=(t$=e.theme("flex"+c$(t[0]),s$(t),t[1]||1))&&{["flex-"+t[0]]:""+t$}}return(t$=e.theme("flex",t,""))?{flex:t$}:K$(t,e,n)},grid(t,e,n){switch(t[0]){case"cols":case"rows":return(t$=e.theme("gridTemplate"+c$(B$(t[0])),s$(t),2==t.length&&Number(t[1])?`repeat(${t[1]},minmax(0,1fr))`:a$(s$(t))))&&{["gridTemplate-"+B$(t[0])]:t$};case"flow":return t.length>1&&{gridAutoFlow:a$("col"==t[1]?["column",...s$(t,2)]:s$(t)," ")}}return K$(t,e,n)},auto:(t,{theme:e})=>o$(["cols","rows"],t[0])&&(t$=e("gridAuto"+c$(B$(t[0])),s$(t),a$(s$(t))))&&{["gridAuto-"+B$(t[0])]:t$},static:V$,fixed:V$,absolute:V$,relative:V$,sticky:V$,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:t=>({resize:{x:"horizontal",y:"vertical"}[t[0]]||t[0]||"both"}),box:t=>t[0]&&{boxSizing:t[0]+"-box"},appearance:H$(),cursor:G$(),float:H$(),clear:H$(),decoration:H$("boxDecorationBreak"),isolate:{isolation:"isolate"},isolation:H$(),"mix-blend":H$("mixBlendMode"),top:Q$,right:Q$,bottom:Q$,left:Q$,inset:(t,{theme:e})=>(t$=L$(t[0]))?j$(e("inset",s$(t)),t[0]):(t$=e("inset",t))&&{top:t$,right:t$,bottom:t$,left:t$},underline:X$,"line-through":X$,"no-underline":W$(X$,"none"),"text-underline":W$(X$,"underline"),"text-no-underline":W$(X$,"none"),"text-line-through":W$(X$,"line-through"),uppercase:Y$,lowercase:Y$,capitalize:Y$,"normal-case":W$(Y$,"none"),"text-normal-case":W$(Y$,"none"),italic:J$,"not-italic":W$(J$,"normal"),"font-italic":W$(J$,"italic"),"font-not-italic":W$(J$,"normal"),font:(t,e,n)=>(t$=e.theme("fontFamily",t,""))?{fontFamily:t$}:z$("fontWeight")(t,e,n),items:t=>t[0]&&{alignItems:o$(["start","end"],t[0])?"flex-"+t[0]:a$(t)},"justify-self":H$(),"justify-items":H$(),justify:dm("justifyContent"),content:dm("alignContent"),self:dm("alignSelf"),place:t=>t[0]&&am("place-"+t[0],s$(t)),overscroll:t=>t[0]&&{["overscrollBehavior"+(t[1]?"-"+t[0]:"")]:t[1]||t[0]},col:sm("column"),row:sm("row"),duration:z$("transitionDuration"),delay:z$("transitionDelay"),tracking:z$("letterSpacing"),leading:z$("lineHeight"),z:z$("zIndex"),opacity:z$(),ease:z$("transitionTimingFunction"),p:hm,py:hm,px:hm,pt:hm,pr:hm,pb:hm,pl:hm,m:pm,my:pm,mx:pm,mt:pm,mr:pm,mb:pm,ml:pm,w:z$("width"),h:z$("height"),min:$m,max:$m,fill:z$(),order:z$(),origin:G$("transformOrigin"," "),select:H$("userSelect"),"pointer-events":H$(),align:H$("verticalAlign"),whitespace:H$("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:Z$("ordinal"),"slashed-zero":Z$("slashed-zero"),"lining-nums":Z$("numeric-figure"),"oldstyle-nums":Z$("numeric-figure"),"proportional-nums":Z$("numeric-spacing"),"tabular-nums":Z$("numeric-spacing"),"diagonal-fractions":Z$("numeric-fraction"),"stacked-fractions":Z$("numeric-fraction"),overflow:(t,e,n)=>o$(["ellipsis","clip"],t[0])?H$("textOverflow")(t):t[1]?{["overflow-"+t[0]]:t[1]}:H$()(t,e,n),transform:t=>"none"==t[0]?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:lm("gpu"==t[0])},rotate:(t,{theme:e})=>(t$=e("rotate",t))&&{"--tw-rotate":t$,transform:[`rotate(${t$})`,lm()]},scale:cm,translate:cm,skew:cm,gap:(t,e,n)=>(t$={x:"column",y:"row"}[t[0]])?{[t$+"Gap"]:e.theme("gap",s$(t))}:z$("gap")(t,e,n),stroke:(t,e,n)=>(t$=e.theme("stroke",t,""))?{stroke:t$}:z$("strokeWidth")(t,e,n),outline:(t,{theme:e})=>(t$=e("outline",t))&&{outline:t$[0],outlineOffset:t$[1]},"break-normal":{wordBreak:"normal",overflowWrap:"normal"},"break-words":{overflowWrap:"break-word"},"break-all":{wordBreak:"break-all"},text(t,{theme:e},n){switch(t[0]){case"left":case"center":case"right":case"justify":return{textAlign:t[0]};case"uppercase":case"lowercase":case"capitalize":return Y$([],t$,t[0]);case"opacity":return tm(t,e,n)}const r=e("fontSize",t,"");return r?"string"==typeof r?{fontSize:r}:{fontSize:r[0],..."string"==typeof r[1]?{lineHeight:r[1]}:r[1]}:rm("color","text",e("textColor",t))},bg(t,{theme:e},n){switch(t[0]){case"fixed":case"local":case"scroll":return H$("backgroundAttachment",",")(t);case"bottom":case"center":case"left":case"right":case"top":return H$("backgroundPosition"," ")(t);case"no":return"repeat"==t[1]&&H$("backgroundRepeat")(t);case"repeat":return o$("xy",t[1])?H$("backgroundRepeat")(t):{backgroundRepeat:t[1]||t[0]};case"opacity":return tm(t,e,n,"background");case"clip":case"origin":return t[1]&&{["background-"+t[0]]:t[1]+("text"==t[1]?"":"-box")};case"blend":return H$("background-blend-mode")(s$(t));case"gradient":if("to"==t[1]&&(t$=L$(t[2])))return{backgroundImage:`linear-gradient(to ${a$(t$," ")},var(--tw-gradient-stops))`}}return(t$=e("backgroundPosition",t,""))?{backgroundPosition:t$}:(t$=e("backgroundSize",t,""))?{backgroundSize:t$}:(t$=e("backgroundImage",t,""))?{backgroundImage:t$}:rm("backgroundColor","bg",e("backgroundColor",t))},from:(t,{theme:e})=>(t$=e("gradientColorStops",t))&&{"--tw-gradient-from":t$,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${im(t$)})`},via:(t,{theme:e})=>(t$=e("gradientColorStops",t))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${t$},var(--tw-gradient-to,${im(t$)})`},to:(t,{theme:e})=>(t$=e("gradientColorStops",t))&&{"--tw-gradient-to":t$},border:(t,e,n)=>{var r;const i=null==(r=L$(t[0]))?void 0:r.map(c$);i&&(t=s$(t));let o=um(t,e,n);return i&&o&&"object"==typeof o&&(o=Object.entries(o).reduce((t,[e,n])=>{if(e.startsWith("border"))for(const r of i)t[e.slice(0,6)+r+e.slice(6)]=n;else t[e]=n;return t},{})),o},divide:(t,e,n)=>(t$=om(t,e,n,"divideWidth","border","width")||um(t,e,n))&&{"&>:not([hidden])~:not([hidden])":t$},space:(t,e,n)=>(t$=om(t,e,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":t$},placeholder:(t,{theme:e},n)=>(t$="opacity"==t[0]?tm(t,e,n):rm("color","placeholder",e("placeholderColor",t)))&&{"&::placeholder":t$},shadow:(t,{theme:e})=>(t$=e("boxShadow",t))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":"none"==t$?"0 0 transparent":t$,boxShadow:[t$,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(t,{theme:e,tag:n})=>{if(n$=e("animation",t)){const t=n$.split(" ");return(t$=e("keyframes",t[0],e$={}))!==e$?(n$=n(t[0]))&&{animation:n$+" "+a$(s$(t)," "),["@keyframes "+n$]:t$}:{animation:n$}}},ring(t,{theme:e},n){switch(t[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return tm(t,e,n);case"offset":return(t$=e("ringOffsetWidth",s$(t),""))?{"--tw-ring-offset-width":t$}:{"--tw-ring-offset-color":e("ringOffsetColor",s$(t))}}return(t$=e("ringWidth",t,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${t$} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":e("ringOffsetWidth","","0px"),"--tw-ring-offset-color":e("ringOffsetColor","","#fff"),"--tw-ring-color":nm(e("ringColor","","#93c5fd"),"ring-opacity",e("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":nm(e("ringColor",t),"ring-opacity")}},object:(t,e,n)=>o$(["contain","cover","fill","none","scale-down"],a$(t))?{objectFit:a$(t)}:G$("objectPosition"," ")(t,e,n),list:(t,e,n)=>"item"==a$(t)?K$(t,e,n):o$(["inside","outside"],a$(t))?{listStylePosition:t[0]}:G$("listStyleType")(t,e,n),rounded:(t,e,n)=>M$(e.theme("borderRadius",s$(t),""),t[0],"border","radius")||z$("borderRadius")(t,e,n),"transition-none":{transitionProperty:"none"},transition:(t,{theme:e})=>({transitionProperty:e("transitionProperty",t),transitionTimingFunction:e("transitionTimingFunction",""),transitionDuration:e("transitionDuration","")}),container:(t,{theme:e})=>{const{screens:n=e("screens"),center:r,padding:i}=e("container"),o=t=>(t$=i&&("string"==typeof i?i:i[t]||i.DEFAULT))?{paddingRight:t$,paddingLeft:t$}:{};return Object.keys(n).reduce((t,e)=>((n$=n[e])&&"string"==typeof n$&&(t[g$(n$)]={"&":{"max-width":n$,...o(e)}}),t),{width:"100%",...r?{marginRight:"auto",marginLeft:"auto"}:{},...o("xs")})},filter:mm,blur:mm,brightness:mm,contrast:mm,grayscale:mm,"hue-rotate":mm,invert:mm,saturate:mm,sepia:mm,"drop-shadow":mm,backdrop:mm},gm={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"},ym="__twind",bm=t=>{let e=self[ym];return e||(e=document.head.appendChild(document.createElement("style")),e.id=ym,t&&(e.nonce=t),e.appendChild(document.createTextNode(""))),e},_m=t=>({unknown(t,e=[],n,r){n||this.report({id:"UNKNOWN_THEME_VALUE",key:t+"."+a$(e)},r)},report:({id:e,...n})=>t(`[${e}] ${JSON.stringify(n)}`)}),wm=_m(t=>console.warn(t)),Cm=_m(t=>{throw new Error(t)}),Sm=_m(l$),Em=(t,e,n)=>`${t}:${e}${n?" !important":""}`,xm=(t,e,n)=>{let r="";const i=(o=t,Xp.get(o));var o;i&&(r+=`${Em(i,e,n)};`);let a=function(t){var e=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|mask(?:$|-[ispro]|-cl)|pr|hyphena|flex-d)|(tab-|column(?!-s)|text-align-l)|(ap)|u|hy)/i.exec(t);return e?e[1]?1:e[2]?2:e[3]?3:5:0}(t);return 1&a&&(r+=`-webkit-${Em(t,e,n)};`),2&a&&(r+=`-moz-${Em(t,e,n)};`),4&a&&(r+=`-ms-${Em(t,e,n)};`),a=function(t,e){var n=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(t);return n?n[1]?/^sti/i.test(e)?1:0:n[2]?/^pat/i.test(e)?1:0:n[3]?/^image-/i.test(e)?1:0:n[4]?"-"===e[3]?2:0:/^(?:inline-)?grid$/i.test(e)?4:0:0}(t,e),1&a&&(r+=`${Em(t,`-webkit-${e}`,n)};`),2&a&&(r+=`${Em(t,`-moz-${e}`,n)};`),4&a&&(r+=`${Em(t,`-ms-${e}`,n)};`),r+=Em(t,e,n),r},Tm=(t,e)=>{const n={};do{for(let e=1;e<t;e++)n[`${e}/${t}`]=Number((e/t*100).toFixed(6))+"%"}while(++t<=e);return n},Am=(t,e,n=0)=>{const r={};for(;n<=t;n=2*n||1)r[n]=n+e;return r},Nm=(t,e="",n=1,r=0,i=1,o={})=>{for(;r<=t;r+=i)o[r]=r/n+e;return o},Om=t=>e=>e(t),Im={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:{px:"1px",0:"0px",...Nm(4,"rem",4,.5,.5),...Nm(12,"rem",4,5),14:"3.5rem",...Nm(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},backdropBlur:Om("blur"),backdropBrightness:Om("brightness"),backdropContrast:Om("contrast"),backdropGrayscale:Om("grayscale"),backdropHueRotate:Om("hueRotate"),backdropInvert:Om("invert"),backdropOpacity:Om("opacity"),backdropSaturate:Om("saturate"),backdropSepia:Om("sepia"),backgroundColor:Om("colors"),backgroundImage:{none:"none"},backgroundOpacity:Om("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...Nm(200,"",100,0,50),...Nm(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:t=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:Om("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderWidth:{DEFAULT:"1px",...Am(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none"},contrast:{...Nm(200,"",100,0,50),75:"0.75",125:"1.25"},divideColor:Om("borderColor"),divideOpacity:Om("borderOpacity"),divideWidth:Om("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:{current:"currentColor"},grayscale:{0:"0",DEFAULT:"100%"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{0:"0",DEFAULT:"100%"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gridTemplateColumns:{},gridTemplateRows:{},gridAutoColumns:{min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gap:Om("spacing"),gradientColorStops:Om("colors"),height:t=>({auto:"auto",...t("spacing"),...Tm(2,6),full:"100%",screen:"100vh"}),inset:t=>({auto:"auto",...t("spacing"),...Tm(2,4),full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",...Nm(10,"rem",4,3)},margin:t=>({auto:"auto",...t("spacing")}),maxHeight:t=>({...t("spacing"),full:"100%",screen:"100vh"}),maxWidth:(t,{breakpoints:e})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",prose:"65ch",...e(t("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:{...Nm(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0",...Nm(12,"",1,1)},outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:Om("spacing"),placeholderColor:Om("colors"),placeholderOpacity:Om("opacity"),ringColor:t=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:Om("colors"),ringOffsetWidth:Am(8,"px"),ringOpacity:t=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",...Am(8,"px")},rotate:{...Am(2,"deg"),...Am(12,"deg",3),...Am(180,"deg",45)},saturate:Nm(200,"",100,0,50),scale:{...Nm(150,"",100,0,50),...Nm(110,"",100,90,5),75:"0.75",125:"1.25"},sepia:{0:"0",DEFAULT:"100%"},skew:{...Am(2,"deg"),...Am(12,"deg",3)},space:Om("spacing"),stroke:{current:"currentColor"},strokeWidth:Nm(2),textColor:Om("colors"),textOpacity:Om("opacity"),transitionDuration:t=>({DEFAULT:"150ms",...t("durations")}),transitionDelay:Om("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"background-color,border-color,color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:t=>({...t("spacing"),...Tm(2,4),full:"100%"}),width:t=>({auto:"auto",...t("spacing"),...Tm(2,6),...Tm(12,12),screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:{auto:"auto",...Nm(50,"",1,0,10)}},Rm=(t,e={},n=[])=>(Object.keys(t).forEach(r=>{const i=t[r];"DEFAULT"==r&&(e[a$(n)]=i,e[a$(n,".")]=i);const o=[...n,r];e[a$(o)]=i,e[a$(o,".")]=i,i&&"object"==typeof i&&Rm(i,e,o)},e),e),Pm={negative:()=>({}),breakpoints:t=>Object.keys(t).filter(e=>"string"==typeof t[e]).reduce((e,n)=>(e["screen-"+n]=t[n],e),{})},km=t=>{const e=new Map,n={...Im,...t},r=(t,e)=>{const n=t&&t[e],r="function"==typeof n?n(i,Pm):n;return r&&"colors"==e?Rm(r):r},i=(t,i,o)=>{const a=t.split(".");t=a[0],a.length>1&&(o=i,i=a$(s$(a),"."));let d=e.get(t);if(d||(e.set(t,d={...r(n,t)}),Object.assign(d,r(n.extend,t))),null!=i){const e=((t,e)=>(e="["==e[0]&&"]"==e.slice(-1)&&e.slice(1,-1))&&o$(t,"olor")==/^(#|(hsl|rgb)a?\(|[a-z]+$)/.test(e)&&(o$(e,"calc(")?e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "):e))(t,i=(Array.isArray(i)?a$(i):i)||"DEFAULT")||d[i];return null==e?o:Array.isArray(e)&&!o$(["fontSize","outline","dropShadow"],t)?a$(e,","):e}return d};return i},Dm=/^:(group(?:(?!-focus).+?)*)-(.+)$/,Mm=/^(:not)-(.+)/,Lm=t=>"["==t[1]?s$(t):t,jm=t=>(31&((i$=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(t))?+i$[1]/(i$[2]?15:1)/10:0))<<22,Um=t=>{i$=0;for(let e=t.length;e--;)i$+=o$("-:,",t[e]);return i$},Fm=t=>(15&Um(t))<<18,Bm=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],qm=(t,e)=>(n,r)=>{return n|((i$=t("screens",s$(r),""))?1<<27|jm(g$(i$)):":dark"==r?1<<30:"@"==(i$=e[r]||r.replace(Mm,":$2"))[0]?Fm(i$):(i=r,1<<(~(i$=Bm.indexOf(i.replace(Dm,":$2").slice(3,8)))?i$:17)));var i},Hm=(t,e)=>e+"{"+t+"}",zm=(t,e,n)=>{const{theme:r,tag:i}=n,o=(t,e)=>"--"+i(e),a=t=>`${t}`.replace(/--(tw-[\w-]+)\b/g,o);let d;const s=(e,r,i,o,u)=>{if(Array.isArray(o))return void o.forEach(t=>t&&s(e,r,i,t,u));let l="",c=0,f=0;o["@apply"]&&(o=m$(h$(((...t)=>P$(k$,t))(o["@apply"]),n),{...o,"@apply":void 0},n)),Object.keys(o).forEach(h=>{const p=h$(o[h],n);if($$(h,p)){if(""!==p&&h.length>1){const e=f$(h);f+=1,c=Math.max(c,(t=>"-"==t[0]?0:Um(t)+((i$=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(t))?+!!i$[1]||-!!i$[2]:0)+1)(e)),l=(l&&l+";")+((e,n,r)=>(e=a(e),Array.isArray(n)?a$(n.filter(Boolean).map(n=>t(e,a(n),r)),";"):t(e,a(n),r)))(e,p,u)}}else if(p)if(":global"==h&&(h="@global"),"@"==h[0])if("g"==h[1])s([],"",0,p,u);else if("f"==h[1])s([],h,0,p,u);else if("k"==h[1]){const t=d.length;s([],"",0,p,u);const e=d.splice(t,d.length-t);d.push({r:Hm(a$(e.map(t=>t.r),""),h),p:e.reduce((t,e)=>t+e.p,0)})}else"i"==h[1]?(Array.isArray(p)?p:[p]).forEach(t=>t&&d.push({p:0,r:`${h} ${t};`})):("c"==h[2]&&(h=g$(n.theme("screens",s$(h,8).trim()))),s([...e,h],r,i|jm(h)|Fm(h),p,u));else s(e,r?r.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(t,e,n)=>h.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(t,n,r)=>(o$(n,"&")?n.replace(/&/g,e):(e&&e+" ")+n)+r)+n):h,i,p,u)}),f&&d.push({r:e.reduceRight(Hm,Hm(l,r)),p:256*i+((15&Math.max(0,15-f))<<4|15&(c||15))})},u=qm(r,e);return(t,e,n,r=0)=>(r<<=28,d=[],s([],e?"."+v$(e):"",n?n.v.reduceRight(u,r):r,t,n&&n.i),d)},Gm=(t,e,n,r=e)=>!1===t?n:!0===t?r:t||e,Wm={_:{value:"",writable:!0}},Km=(t={})=>{const e=km(t.theme),n=(t=>("string"==typeof t?{t:Cm,a:wm,i:Sm}[t[1]]:t)||wm)(t.mode),r=Gm(t.hash,!1,!1,y$),i=t.important;let o={v:[]},a=0;const d=[],s={tw:(...t)=>b(t),theme:(t,r,i)=>{var a;const d=null!=(a=e(t,r,i))?a:n.unknown(t,null==r||Array.isArray(r)?r:r.split("."),null!=i,s);return o.n&&d&&o$("rg",(typeof d)[5])?`calc(${d} * -1)`:d},tag:t=>r?r(t):t,css:t=>{a++;const e=d.length;try{("string"==typeof t?O$([t]):t).forEach(y);const n=Object.create(null,Wm);for(let t=e;t<d.length;t++){const e=d[t];if(e)switch(typeof e){case"object":m$(n,e,s);break;case"string":n._+=(n._&&" ")+e}}return n}finally{d.length=e,a--}}},u=((t,e)=>(n,r)=>{if("function"==typeof n.d)return n.d(e);const i=n.d.split(/-(?![^[]*])/g);if(!r&&"tw"==i[0]&&n.$==n.d)return n.$;for(let o=i.length;o;o--){const n=a$(i.slice(0,o));if(Object.prototype.hasOwnProperty.call(t,n)){const a=t[n];return"function"==typeof a?a(s$(i,o),e,n):"string"==typeof a?e[r?"css":"tw"](a):a}}})({...vm,...t.plugins},s),l={...gm,...t.variants},c=((t,e,{theme:n,tag:r})=>{const i=(i,o)=>(r$=n("screens",s$(o),""))?{[g$(r$)]:i}:":dark"==o&&"class"==t?{".dark &":i}:(r$=Dm.exec(o))?{[`.${v$(r(r$[1]))}:${r$[2]} &`]:i}:{[e[s$(o)]||"&"+o.replace(Mm,(t,e,n)=>e+"("+Lm(":"+n)+")")]:i};return(t,e)=>e.v.reduceRight(i,t)})(t.darkMode||"media",l,s),f=zm(Gm(t.prefix,xm,Em),l,s),h=t.sheet||("undefined"==typeof window?{target:null,insert:l$}:(({nonce:t,target:e=bm(t).sheet}={})=>{const n=e.cssRules.length;return{target:e,insert:(t,r)=>e.insertRule(t,n+r)}})(t)),{init:p=t=>t()}=h,$=((t,e,n,r)=>{let i,o;return n((t=[])=>i=t),n((t=new Set)=>o=t),({r:n,p:a})=>{if(!o.has(n)){o.add(n);const s=((t,e)=>{for(var n=0,r=t.length;n<r;){const i=r+n>>1;t[i]<=e?n=i+1:r=i}return r})(i,a);try{t.insert(n,s),i.splice(s,0,a)}catch(d){/:-[mwo]/.test(n)||e.report({id:"INJECT_CSS_ERROR",css:n,error:d},r)}}}})(h,n,p,s);let m;p((t=new Map)=>m=t);const v=new WeakMap,g=(t,e)=>"_"==t?void 0:"function"==typeof e?JSON.stringify(h$(e,s),g):e,y=t=>{!a&&o.v.length&&(t={...t,v:[...o.v,...t.v],$:""}),t.$||(t.$=F$(t,v.get(t.d)));let e=a?null:m.get(t.$);if(null==e){let l=(t=>{const e=o;o=t;try{return h$(u(t),s)}finally{o=e}})(t);if(t.$||(t.$=y$(JSON.stringify(l,g)),v.set(t.d,t.$),t.$=F$(t,t.$)),l&&"object"==typeof l)if(t.v=t.v.map(Lm),i&&(t.i=i),l=c(l,t),a)d.push(l);else{const n="function"==typeof t.d?"string"==typeof l._?1:3:2;e=r||"function"==typeof t.d?(r||y$)(n+t.$):t.$,f(l,e,t,n).forEach($),l._&&(e+=" "+l._)}else"string"==typeof l?e=l:(e=t.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:e},s)),a&&"function"!=typeof t.d&&d.push(e);a||(m.set(t.$,e),p$(m,3e4))}return e},b=t=>a$(O$(t).map(y).filter(Boolean)," "),_=Gm(t.preflight,u$,!1);if(_){const t=(t=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:t("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${t("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:t("placeholderColor.DEFAULT",t("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:t("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}}))(e),n=f("function"==typeof _?h$(_(t,s),s)||t:{...t,..._});p((t=(n.forEach($),!0))=>t)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},s),process:b}},Vm=t=>{let e,n=t=>(r(),n(t)),r=t=>{({process:n,init:r}=Km(t))};return{tw:Object.defineProperties((...t)=>n(t),{theme:{get:(i="theme",()=>(e||n([t=>(e=t,"")]),e[i]))}}),setup:t=>r(t)};var i},{tw:Ym,setup:Xm}=Vm();let Jm={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},columns:{auto:"auto","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:{px:"1px",0:"0px",...tv(4,"rem",4,.5,.5),...tv(12,"rem",4,5),14:"3.5rem",...tv(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0,0,0.2,1) infinite",pulse:"pulse 2s cubic-bezier(0.4,0,0.6,1) infinite",bounce:"bounce 1s infinite"},aspectRatio:{auto:"auto",square:"1/1",video:"16/9"},backdropBlur:ev("blur"),backdropBrightness:ev("brightness"),backdropContrast:ev("contrast"),backdropGrayscale:ev("grayscale"),backdropHueRotate:ev("hueRotate"),backdropInvert:ev("invert"),backdropOpacity:ev("opacity"),backdropSaturate:ev("saturate"),backdropSepia:ev("sepia"),backgroundColor:ev("colors"),backgroundImage:{none:"none"},backgroundOpacity:ev("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{none:"none",0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:{...tv(200,"",100,0,50),...tv(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:t})=>({DEFAULT:t("colors.gray.200","currentColor"),...t("colors")}),borderOpacity:ev("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderSpacing:ev("spacing"),borderWidth:{DEFAULT:"1px",...Qm(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0,0,0,0.05)",DEFAULT:"0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},boxShadowColor:ev("colors"),caretColor:ev("colors"),accentColor:({theme:t})=>({auto:"auto",...t("colors")}),contrast:{...tv(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:ev("borderColor"),divideOpacity:ev("borderOpacity"),divideWidth:ev("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:({theme:t})=>({...t("colors"),none:"none"}),grayscale:{DEFAULT:"100%",0:"0"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{DEFAULT:"100%",0:"0"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({...t("spacing"),...Zm(2,6),...Zm(12,12),auto:"auto",full:"100%"}),flexGrow:{DEFAULT:1,0:0},flexShrink:{DEFAULT:1,0:0},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:ev("spacing"),gradientColorStops:ev("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gridTemplateColumns:{none:"none"},gridTemplateRows:{none:"none"},height:({theme:t})=>({...t("spacing"),...Zm(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:t})=>({...t("spacing"),...Zm(2,4),auto:"auto",full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{...tv(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:t})=>({auto:"auto",...t("spacing")}),maxHeight:({theme:t})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...t("spacing")}),maxWidth:({theme:t,breakpoints:e})=>({...e(t("screens")),none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch"}),minHeight:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},opacity:{...tv(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:ev("spacing"),placeholderColor:ev("colors"),placeholderOpacity:ev("opacity"),outlineColor:ev("colors"),outlineOffset:Qm(8,"px"),outlineWidth:Qm(8,"px"),ringColor:({theme:t})=>({...t("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:ev("colors"),ringOffsetWidth:Qm(8,"px"),ringOpacity:({theme:t})=>({...t("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...Qm(8,"px")},rotate:{...Qm(2,"deg"),...Qm(12,"deg",3),...Qm(180,"deg",45)},saturate:tv(200,"",100,0,50),scale:{...tv(150,"",100,0,50),...tv(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:ev("spacing"),scrollPadding:ev("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...Qm(2,"deg"),...Qm(12,"deg",3)},space:ev("spacing"),stroke:({theme:t})=>({...t("colors"),none:"none"}),strokeWidth:tv(2),textColor:ev("colors"),textDecorationColor:ev("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...Qm(8,"px")},textUnderlineOffset:{auto:"auto",...Qm(8,"px")},textIndent:ev("spacing"),textOpacity:ev("opacity"),transitionDuration:({theme:t})=>({...t("durations"),DEFAULT:"150ms"}),transitionDelay:ev("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"color,background-color,border-color,text-decoration-color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:({theme:t})=>({...t("spacing"),...Zm(2,4),full:"100%"}),width:({theme:t})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...t("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...tv(50,"",1,0,10),auto:"auto"}};function Zm(t,e){let n={};do{for(var r=1;r<t;r++)n[`${r}/${t}`]=Number((r/t*100).toFixed(6))+"%"}while(++t<=e);return n}function Qm(t,e,n=0){let r={};for(;n<=t;n=2*n||1)r[n]=n+e;return r}function tv(t,e="",n=1,r=0,i=1,o={}){for(;r<=t;r+=i)o[r]=r/n+e;return o}function ev(t){return({theme:e})=>e(t)}let nv={"*,::before,::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"theme(borderColor.DEFAULT, currentColor)"},"::before,::after":{"--tw-content":"''"},html:{lineHeight:1.5,WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:4,fontFamily:`theme(fontFamily.sans, ${Jm.fontFamily.sans})`,fontFeatureSettings:"theme(fontFamily.sans[1].fontFeatureSettings, normal)"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b,strong":{fontWeight:"bolder"},"code,kbd,samp,pre":{fontFamily:`theme(fontFamily.mono, ${Jm.fontFamily.mono})`,fontFeatureSettings:"theme(fontFamily.mono[1].fontFeatureSettings, normal)",fontSize:"1em"},small:{fontSize:"80%"},"sub,sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",color:"inherit",margin:"0",padding:"0"},"button,select":{textTransform:"none"},"button,[type='button'],[type='reset'],[type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},"[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol,ul,menu":{listStyle:"none",margin:"0",padding:"0"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:1,color:"theme(colors.gray.400, #9ca3af)"},'button,[role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"}};function rv(t,e="@media "){return e+iv(t).map(t=>("string"==typeof t&&(t={min:t}),t.raw||Object.keys(t).map(e=>`(${e}-width:${t[e]})`).join(" and "))).join(",")}function iv(t=[]){return Array.isArray(t)?t:null==t?[]:[t]}function ov(t,e){return Math.round(parseInt(t,16)*e)}function av(t,e={}){if("function"==typeof t)return t(e);let{opacityValue:n="1",opacityVariable:r}=e,i=r?`var(${r})`:n;if(t.includes("<alpha-value>"))return t.replace("<alpha-value>",i);if("#"==t[0]&&(4==t.length||7==t.length)){let e=(t.length-1)/3,n=[17,1,.062272][e-1];return`rgba(${[ov(t.substr(1,e),n),ov(t.substr(1+e,e),n),ov(t.substr(1+2*e,e),n),i]})`}return"1"==i?t:"0"==i?"#0000":t.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function dv(t,e,n){return[t,sv(e,n)]}function sv(t,e){return"function"==typeof t?t:"string"==typeof t&&/^[\w-]+$/.test(t)?(n,r)=>({[t]:e?e(n,r):uv(n,1)}):e=>t||{[e[1]]:uv(e,2)}}function uv(t,e,n=t.slice(e).find(Boolean)||t.$$||t.input){return"-"==t.input[0]?`calc(${n} * -1)`:n}function lv(t,e,n,r){return[t,cv(e,n,r)]}function cv(t,e,n){let r="string"==typeof e?(t,r)=>({[e]:n?n(t,r):t._}):e||(({1:t,_:e},n,r)=>({[t||r]:e}));return(e,n)=>{let i=mv(t||e[1]),o=n.theme(i,e.$$)??$v(e.$$,i,n);if(null!=o)return e._=uv(e,0,o),r(e,n,i)}}function fv(t,e={},n){return[t,hv(e,n)]}function hv(t={},e){return(n,r)=>{let{section:i=mv(n[0]).replace("-","")+"Color"}=t,[o,a]=(n.$$.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1);if(!o)return;let d=r.theme(i,o)||$v(o,i,r);if(!d||"object"==typeof d)return;let{opacityVariable:s=`--tw-${n[0].replace(/-$/,"")}-opacity`,opacitySection:u=i.replace("Color","Opacity"),property:l=i,selector:c}=t,f=r.theme(u,a||"DEFAULT")||a&&$v(a,u,r),h=e||(({_:t})=>{let e=pv(l,t);return c?{[c]:e}:e});n._={value:av(d,{opacityVariable:s||void 0,opacityValue:f||void 0}),color:t=>av(d,t),opacityVariable:s||void 0,opacityValue:f||void 0};let p=h(n,r);if(!n.dark){let t=r.d(i,o,d);t&&t!==d&&(n._={value:av(t,{opacityVariable:s||void 0,opacityValue:f||"1"}),color:e=>av(t,e),opacityVariable:s||void 0,opacityValue:f||void 0},p={"&":p,[r.v("dark")]:h(n,r)})}return p}}function pv(t,e){let n={};return"string"==typeof e?n[t]=e:(e.opacityVariable&&e.value.includes(e.opacityVariable)&&(n[e.opacityVariable]=e.opacityValue||"1"),n[t]=e.value),n}function $v(t,e,n){if("["==t[0]&&"]"==t.slice(-1)){if(t=vv(function(t,e){return t.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(t,n,r,i,o="")=>{let a=e(r,o);return"function"==typeof a&&/color|fill|stroke/i.test(r)?av(a):""+iv(a).filter(t=>Object(t)!==t)})}(t.slice(1,-1),n.theme)),!e)return t;if(!(/color|fill|stroke/i.test(e)&&!/^color:/.test(t)&&!/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(t)||/image/i.test(e)&&!/^image:/.test(t)&&!/^[a-z-]+\(/.test(t)||/weight/i.test(e)&&!/^(number|any):/.test(t)&&!/^\d+$/.test(t)||/position/i.test(e)&&/^(length|size):/.test(t)))return t.replace(/^[a-z-]+:/,"")}}function mv(t){return t.replace(/-./g,t=>t[1].toUpperCase())}function vv(t){return t.includes("url(")?t.replace(/(.*?)(url\(.*?\))(.*?)/g,(t,e="",n,r="")=>vv(e)+n+vv(r)):t.replace(/(^|[^\\])_+/g,(t,e)=>e+" ".repeat(t.length-e.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,t=>t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}let gv=[dv("\\[([-\\w]+):(.+)]",({1:t,2:e},n)=>({"@layer overrides":{"&":{[t]:$v(`[${e}]`,"",n)}}})),dv("(group|peer)([~/][^-[]+)?",({input:t},{h:e})=>[{c:e(t)}]),lv("aspect-","aspectRatio"),dv("container",(t,{theme:e})=>{let{screens:n=e("screens"),center:r,padding:i}=e("container"),o={width:"100%",marginRight:r&&"auto",marginLeft:r&&"auto",...a("xs")};for(let d in n){let t=n[d];"string"==typeof t&&(o[rv(t)]={"&":{maxWidth:t,...a(d)}})}return o;function a(t){let e=i&&("string"==typeof i?i:i[t]||i.DEFAULT);if(e)return{paddingRight:e,paddingLeft:e}}}),lv("content-","content",({_:t})=>({"--tw-content":t,content:"var(--tw-content)"})),dv("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),dv("box-(border|content)","boxSizing",({1:t})=>t+"-box"),dv("hidden",{display:"none"}),dv("table-(auto|fixed)","tableLayout"),dv(["(block|flex|table|grid|inline|contents|flow-root|list-item)","(inline-(block|flex|table|grid))","(table-(caption|cell|column|row|(column|row|footer|header)-group))"],"display"),"(float)-(left|right|none)","(clear)-(left|right|none|both)","(overflow(?:-[xy])?)-(auto|hidden|clip|visible|scroll)","(isolation)-(auto)",dv("isolate","isolation"),dv("object-(contain|cover|fill|none|scale-down)","objectFit"),lv("object-","objectPosition"),dv("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",yv),dv("overscroll(-[xy])?-(auto|contain|none)",({1:t="",2:e})=>({["overscroll-behavior"+t]:e})),dv("(static|fixed|absolute|relative|sticky)","position"),lv("-?inset(-[xy])?(?:$|-)","inset",({1:t,_:e})=>({top:"-x"!=t&&e,right:"-y"!=t&&e,bottom:"-x"!=t&&e,left:"-y"!=t&&e})),lv("-?(top|bottom|left|right)(?:$|-)","inset"),dv("(visible|collapse)","visibility"),dv("invisible",{visibility:"hidden"}),lv("-?z-","zIndex"),dv("flex-((row|col)(-reverse)?)","flexDirection",bv),dv("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),lv("(flex-(?:grow|shrink))(?:$|-)"),lv("(flex)-"),lv("grow(?:$|-)","flexGrow"),lv("shrink(?:$|-)","flexShrink"),lv("basis-","flexBasis"),lv("-?(order)-"),"-?(order)-(\\d+)",lv("grid-cols-","gridTemplateColumns"),dv("grid-cols-(\\d+)","gridTemplateColumns",Ov),lv("col-","gridColumn"),dv("col-(span)-(\\d+)","gridColumn",Nv),lv("col-start-","gridColumnStart"),dv("col-start-(auto|\\d+)","gridColumnStart"),lv("col-end-","gridColumnEnd"),dv("col-end-(auto|\\d+)","gridColumnEnd"),lv("grid-rows-","gridTemplateRows"),dv("grid-rows-(\\d+)","gridTemplateRows",Ov),lv("row-","gridRow"),dv("row-(span)-(\\d+)","gridRow",Nv),lv("row-start-","gridRowStart"),dv("row-start-(auto|\\d+)","gridRowStart"),lv("row-end-","gridRowEnd"),dv("row-end-(auto|\\d+)","gridRowEnd"),dv("grid-flow-((row|col)(-dense)?)","gridAutoFlow",t=>yv(bv(t))),dv("grid-flow-(dense)","gridAutoFlow"),lv("auto-cols-","gridAutoColumns"),lv("auto-rows-","gridAutoRows"),lv("gap-x(?:$|-)","gap","columnGap"),lv("gap-y(?:$|-)","gap","rowGap"),lv("gap(?:$|-)","gap"),"(justify-(?:items|self))-",dv("justify-","justifyContent",Cv),dv("(content|items|self)-",t=>({["align-"+t[1]]:Cv(t)})),dv("(place-(content|items|self))-",({1:t,$$:e})=>({[t]:("wun".includes(e[3])?"space-":"")+e})),lv("p([xytrbl])?(?:$|-)","padding",Sv("padding")),lv("-?m([xytrbl])?(?:$|-)","margin",Sv("margin")),lv("-?space-(x|y)(?:$|-)","space",({1:t,_:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${t}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[t]]:`calc(${e} * calc(1 - var(--tw-space-${t}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[t]]:`calc(${e} * var(--tw-space-${t}-reverse))`}})),dv("space-(x|y)-reverse",({1:t})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${t}-reverse`]:"1"}})),lv("w-","width"),lv("min-w-","minWidth"),lv("max-w-","maxWidth"),lv("h-","height"),lv("min-h-","minHeight"),lv("max-h-","maxHeight"),lv("font-","fontWeight"),lv("font-","fontFamily",({_:t})=>"string"==typeof(t=iv(t))[1]?{fontFamily:wv(t)}:{fontFamily:wv(t[0]),...t[1]}),dv("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),dv("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),dv("italic","fontStyle"),dv("not-italic",{fontStyle:"normal"}),dv("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:t,2:e="",3:n})=>"normal"==e?{fontVariantNumeric:"normal"}:{["--tw-"+(n?"numeric-fraction":"pt".includes(e[0])?"numeric-spacing":e?"numeric-figure":t)]:t,fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)",...Iv({"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)"})}),lv("tracking-","letterSpacing"),lv("leading-","lineHeight"),dv("list-(inside|outside)","listStylePosition"),lv("list-","listStyleType"),dv("list-","listStyleType"),lv("placeholder-opacity-","placeholderOpacity",({_:t})=>({"&::placeholder":{"--tw-placeholder-opacity":t}})),fv("placeholder-",{property:"color",selector:"&::placeholder"}),dv("text-(left|center|right|justify|start|end)","textAlign"),dv("text-(ellipsis|clip)","textOverflow"),lv("text-opacity-","textOpacity","--tw-text-opacity"),fv("text-",{property:"color"}),lv("text-","fontSize",({_:t})=>"string"==typeof t?{fontSize:t}:{fontSize:t[0],..."string"==typeof t[1]?{lineHeight:t[1]}:t[1]}),lv("indent-","textIndent"),dv("(overline|underline|line-through)","textDecorationLine"),dv("no-underline",{textDecorationLine:"none"}),lv("underline-offset-","textUnderlineOffset"),fv("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),lv("decoration-","textDecorationThickness"),dv("decoration-","textDecorationStyle"),dv("(uppercase|lowercase|capitalize)","textTransform"),dv("normal-case",{textTransform:"none"}),dv("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),dv("align-","verticalAlign"),dv("whitespace-","whiteSpace"),dv("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),dv("break-words",{overflowWrap:"break-word"}),dv("break-all",{wordBreak:"break-all"}),dv("break-keep",{wordBreak:"keep-all"}),fv("caret-",{opacityVariable:!1,opacitySection:"opacity"}),fv("accent-",{opacityVariable:!1,opacitySection:"opacity"}),dv("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:t})=>`linear-gradient(to ${_v(t," ")},var(--tw-gradient-stops))`),fv("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-gradient-from":t.value,"--tw-gradient-to":t.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),fv("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-gradient-to":t.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${t.value},var(--tw-gradient-to)`})),fv("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),dv("bg-(fixed|local|scroll)","backgroundAttachment"),dv("bg-origin-(border|padding|content)","backgroundOrigin",({1:t})=>t+"-box"),dv(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),dv("bg-blend-","backgroundBlendMode"),dv("bg-clip-(border|padding|content|text)","backgroundClip",({1:t})=>t+("text"==t?"":"-box")),lv("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),fv("bg-",{section:"backgroundColor"}),lv("bg-","backgroundImage"),lv("bg-","backgroundPosition"),dv("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",yv),lv("bg-","backgroundSize"),lv("rounded(?:$|-)","borderRadius"),lv("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:t,_:e})=>{let n={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[t]||[t,t];return{[`border-${_v(n[0])}-radius`]:e,[`border-${_v(n[1])}-radius`]:e}}),dv("border-(collapse|separate)","borderCollapse"),lv("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),dv("border-(solid|dashed|dotted|double|none)","borderStyle"),lv("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:t,_:e})=>({...Iv({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(t||"-x")]:e,["--tw-border-spacing"+(t||"-y")]:e,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),fv("border-([xytrbl])-",{section:"borderColor"},Sv("border","Color")),fv("border-"),lv("border-([xytrbl])(?:$|-)","borderWidth",Sv("border","Width")),lv("border(?:$|-)","borderWidth"),lv("divide-opacity(?:$|-)","divideOpacity",({_:t})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":t}})),dv("divide-(solid|dashed|dotted|double|none)",({1:t})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:t}})),dv("divide-([xy]-reverse)",({1:t})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+t]:"1"}})),lv("divide-([xy])(?:$|-)","divideWidth",({1:t,_:e})=>{let n={x:"lr",y:"tb"}[t];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${t}-reverse`]:"0",[`border-${_v(n[0])}Width`]:`calc(${e} * calc(1 - var(--tw-divide-${t}-reverse)))`,[`border-${_v(n[1])}Width`]:`calc(${e} * var(--tw-divide-${t}-reverse))`}}}),fv("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),lv("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),fv("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),lv("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),dv("ring-inset",{"--tw-ring-inset":"inset"}),fv("ring-",{property:"--tw-ring-color"}),lv("ring(?:$|-)","ringWidth",({_:t},{theme:e})=>({...Iv({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000","&":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":e("ringOffsetWidth","","0px"),"--tw-ring-offset-color":av(e("ringOffsetColor","","#fff")),"--tw-ring-color":av(e("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":e("ringOpacity","","0.5")}}),"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${t} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),fv("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:t})=>({"--tw-shadow-color":t.value,"--tw-shadow":"var(--tw-shadow-colored)"})),lv("shadow(?:$|-)","boxShadow",({_:t})=>({...Iv({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),"--tw-shadow":wv(t),"--tw-shadow-colored":wv(t).replace(/([^,]\s+)(?:#[a-f\d]+|(?:(?:hsl|rgb)a?|hwb|lab|lch|color|var)\(.+?\)|[a-z]+)(,|$)/g,"$1var(--tw-shadow-color)$2"),boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),lv("(opacity)-"),dv("mix-blend-","mixBlendMode"),...Ev(),...Ev("backdrop-"),lv("transition(?:$|-)","transitionProperty",(t,{theme:e})=>({transitionProperty:wv(t),transitionTimingFunction:"none"==t._?void 0:wv(e("transitionTimingFunction","")),transitionDuration:"none"==t._?void 0:wv(e("transitionDuration",""))})),lv("duration(?:$|-)","transitionDuration","transitionDuration",wv),lv("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",wv),lv("delay(?:$|-)","transitionDelay","transitionDelay",wv),lv("animate(?:$|-)","animation",(t,{theme:e,h:n,e:r})=>{let i=wv(t),o=i.split(" "),a=e("keyframes",o[0]);return a?{["@keyframes "+(o[0]=r(n(o[0])))]:a,animation:o.join(" ")}:{animation:i}}),"(transform)-(none)",dv("transform",Tv),dv("transform-(cpu|gpu)",({1:t})=>({"--tw-transform":Av("gpu"==t)})),lv("scale(-[xy])?-","scale",({1:t,_:e})=>({["--tw-scale"+(t||"-x")]:e,["--tw-scale"+(t||"-y")]:e,...Tv()})),lv("-?(rotate)-","rotate",xv),lv("-?(translate-[xy])-","translate",xv),lv("-?(skew-[xy])-","skew",xv),dv("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",yv),"(appearance)-",lv("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",lv("(cursor)-"),"(cursor)-",dv("snap-(none)","scroll-snap-type"),dv("snap-(x|y|both)",({1:t})=>({...Iv({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":t+" var(--tw-scroll-snap-strictness)"})),dv("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),dv("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),dv("snap-(normal|always)","scroll-snap-stop"),dv("scroll-(auto|smooth)","scroll-behavior"),lv("scroll-p([xytrbl])?(?:$|-)","padding",Sv("scroll-padding")),lv("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",Sv("scroll-margin")),dv("touch-(auto|none|manipulation)","touch-action"),dv("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:t,2:e,3:n})=>({...Iv({"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),[`--tw-${e?"pan-x":n?"pan-y":t}`]:t,"touch-action":"var(--tw-touch-action)"})),dv("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),dv("outline",{outlineStyle:"solid"}),dv("outline-(dashed|dotted|double)","outlineStyle"),lv("-?(outline-offset)-"),fv("outline-",{opacityVariable:!1,opacitySection:"opacity"}),lv("outline-","outlineWidth"),"(pointer-events)-",lv("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:t})=>({x:"horizontal",y:"vertical"}[t]||t||"both")],dv("select-(none|text|all|auto)","userSelect"),fv("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),fv("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),lv("stroke-","strokeWidth"),dv("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),dv("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function yv(t){return("string"==typeof t?t:t[1]).replace(/-/g," ").trim()}function bv(t){return("string"==typeof t?t:t[1]).replace("col","column")}function _v(t,e="-"){let n=[];for(let r of t)n.push({t:"top",r:"right",b:"bottom",l:"left"}[r]);return n.join(e)}function wv(t){return t&&""+(t._||t)}function Cv({$$:t}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[t[3]||""]||"")+t}function Sv(t,e=""){return({1:n,_:r})=>{let i={x:"lr",y:"tb"}[n]||n+n;return i?{...pv(t+"-"+_v(i[0])+e,r),...pv(t+"-"+_v(i[1])+e,r)}:pv(t+e,r)}}function Ev(t=""){let e=["blur","brightness","contrast","grayscale","hue-rotate","invert",t&&"opacity","saturate","sepia",!t&&"drop-shadow"].filter(Boolean),n={};for(let r of e)n[`--tw-${t}${r}`]="var(--tw-empty,/*!*/ /*!*/)";return n={...Iv(n),[`${t}filter`]:e.map(e=>`var(--tw-${t}${e})`).join(" ")},[`(${t}filter)-(none)`,dv(`${t}filter`,n),...e.map(e=>lv(`${"h"==e[0]?"-?":""}(${t}${e})(?:$|-)`,e,({1:t,_:r})=>({[`--tw-${t}`]:iv(r).map(t=>`${e}(${t})`).join(" "),...n})))]}function xv({1:t,_:e}){return{["--tw-"+t]:e,...Tv()}}function Tv(){return{...Iv({"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1","--tw-transform":Av()}),transform:"var(--tw-transform)"}}function Av(t){return[t?"translate3d(var(--tw-translate-x),var(--tw-translate-y),0)":"translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}function Nv({1:t,2:e}){return`${t} ${e} / ${t} ${e}`}function Ov({1:t}){return`repeat(${t},minmax(0,1fr))`}function Iv(t){return{"@layer defaults":{"*,::before,::after":t,"::backdrop":t}}}let Rv=[["sticky","@supports ((position: -webkit-sticky) or (position:sticky))"],["motion-reduce","@media (prefers-reduced-motion:reduce)"],["motion-safe","@media (prefers-reduced-motion:no-preference)"],["print","@media print"],["(portrait|landscape)",({1:t})=>`@media (orientation:${t})`],["contrast-(more|less)",({1:t})=>`@media (prefers-contrast:${t})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:t})=>`&::${t}`],["(marker|selection)",({1:t})=>`& *::${t},&::${t}`],["file","&::file-selector-button"],["(first|last|only)",({1:t})=>`&:${t}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:t,$$:e},n)=>e&&`&[${t}-${n.theme(t,e)||$v(e,"",n)||`${e}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:t,3:e="",4:n,5:r="",6:i=e},{e:o,h:a,v:d})=>{let s=vv(r)||("["==n[0]?n:d(n.slice(1)));return`${(s.includes("&")?s:"&"+s).replace(/&/g,`:merge(.${o(a(t+i))})`)}${"p"==t[0]?"~":" "}&`}],["(ltr|rtl)",({1:t})=>`[dir="${t}"] &`],["supports-",({$$:t},e)=>{if(t&&(t=e.theme("supports",t)||$v(t,"",e)),t)return t.includes(":")||(t+=":var(--tw)"),/^\w*\s*\(/.test(t)||(t=`(${t})`),`@supports ${t.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:t},e)=>{if(t&&(t=e.theme("screens",t)||$v(t,"",e)),"string"==typeof t)return`@media not all and (min-width:${t})`}],["min-",({$$:t},e)=>(t&&(t=$v(t,"",e)),t&&`@media (min-width:${t})`)],[/^\[(.+)]$/,({1:t})=>/[&@]/.test(t)&&vv(t).replace(/[}]+$/,"").split("{")]];let Pv={__proto__:null,slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"}};const kv=globalThis;if(!kv.__twindInitialized){Xm({presets:[function({disablePreflight:t}={}){return function({colors:t,disablePreflight:e}={}){return{preflight:e?void 0:nv,theme:{...Jm,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...t}},variants:Rv,rules:gv,finalize:t=>t.n&&t.d&&t.r.some(t=>/^&::(before|after)$/.test(t))&&!/(^|;)content:/.test(t.d)?{...t,d:"content:var(--tw-content);"+t.d}:t}}({colors:Pv,disablePreflight:t})}({disablePreflight:!1})],theme:{extend:{colors:{primary:"#1f7aed",primaryDark:"#1557a5",accent:"#1dd1a1"}}}}),kv.__twindInitialized=!0}async function Dv(t){const e=`/api/campaign-fields/${t}`,n=await fetch(e,{method:"GET",credentials:"same-origin"});if(!n.ok){const t=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(t.error||`Falha ao buscar mapeamento: ${n.status}`)}return await n.json()}async function Mv(t){const e=`/api/campaign-contact/${t}`,n=await fetch(e,{method:"GET",credentials:"same-origin"});if(!n.ok){const t=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(t.error||`Falha ao buscar valores: ${n.status}`)}return await n.json()}function Lv(){const e=_f.useCallOperatorCurrentCallInfo();return t.useEffect(()=>{console.log("[CallInfoDisplay] Call info atualizado:",{callInfo:e,type:null==e?void 0:e.type,hasCampaignInfo:"campaign"===(null==e?void 0:e.type),info:"campaign"===(null==e?void 0:e.type)?e.info:null,campaignContact:"campaign"===(null==e?void 0:e.type)?e.info.campaignContact:null})},[e]),"campaign"===(null==e?void 0:e.type)?m.jsx(jv,{campaignCallInfo:e.info}):e?m.jsx("div",{className:"bg-yellow-50 rounded-lg p-3 mb-4",children:m.jsx("p",{className:"text-xs text-yellow-700",children:"Chamada manual (sem informações de campanha)"})}):null}function jv(e){const{campaign:n,campaignList:r,campaignContact:i}=e.campaignCallInfo,[o,a]=t.useState({finalData:{},isLoading:!1,error:null}),[d,s]=t.useState(null);t.useEffect(()=>{if(!(null==i?void 0:i.id))return;if(d===i.id)return;let t=!1;return(async()=>{a({finalData:{},isLoading:!0,error:null});try{console.log("[CampaignCallInfoDisplay] 1. Buscando config para contato:",i.id);const e=await async function(t){const e=`/api/campaign-config/${t}`,n=await fetch(e,{method:"GET",credentials:"same-origin"});if(!n.ok){const t=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(t.error||`Falha ao buscar config: ${n.status}`)}return await n.json()}(i.id);if(console.log("[CampaignCallInfoDisplay] 2. Config recebida:",e),!e.campaignModelId)throw new Error("campaignModelId não encontrado");console.log("[CampaignCallInfoDisplay] 3. Buscando mapeamento e valores em paralelo...");const[n,r]=await Promise.all([Dv(e.campaignModelId),Mv(i.id)]);console.log("[CampaignCallInfoDisplay] 4. Mapeamento recebido:",n),console.log("[CampaignCallInfoDisplay] 5. Valores recebidos:",r);const o={};Object.entries(r).forEach(([t,e])=>{t in n&&(o[n[t]]=e)}),t||(console.log("[CampaignCallInfoDisplay] ✅ Dados finais mapeados:",o),a({finalData:o,isLoading:!1,error:null}),s(i.id))}catch(e){if(!t){console.error("[CampaignCallInfoDisplay] ❌ Erro ao buscar dados:",e);const t=e instanceof Error?e.message:"Erro ao buscar dados do contato";a({finalData:{},isLoading:!1,error:t})}}})(),()=>{t=!0}},[null==i?void 0:i.id,d]);const u=Object.keys(o.finalData).length>0,l=({fieldName:t,label:e})=>{const n=e||t;let r="-";if(o.finalData[t])r=o.finalData[t];else{const e=Object.keys(o.finalData).find(e=>e.toLowerCase()===t.toLowerCase());e&&(r=o.finalData[e])}return m.jsxs("div",{className:"bg-white/60 rounded-lg p-2 border border-blue-100",children:[m.jsx("p",{className:"text-[9px] text-slate-500 uppercase tracking-wide font-semibold mb-0.5 truncate",children:n}),m.jsx("p",{className:"text-xs text-slate-800 font-semibold break-words line-clamp-2",children:r})]})};return m.jsxs("div",{className:"bg-gradient-to-br from-blue-50 to-indigo-50 rounded-xl p-3 mb-4 shadow-sm border border-blue-100",children:[m.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[m.jsx("div",{className:"inline-flex h-6 w-6 items-center justify-center rounded-lg bg-blue-500 text-white",children:m.jsx("svg",{className:"w-3 h-3",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})})}),m.jsx("h3",{className:"text-sm font-bold text-slate-800",children:"Informações da Campanha"})]}),o.isLoading&&m.jsxs("div",{className:"bg-white/60 rounded-lg p-6 border border-blue-100 text-center",children:[m.jsx("div",{className:"inline-block h-6 w-6 animate-spin rounded-full border-2 border-blue-500 border-t-transparent"}),m.jsx("p",{className:"text-xs text-slate-600 mt-2 font-medium",children:"Carregando dados do contato..."})]}),o.error&&m.jsxs("div",{className:"bg-red-50 rounded-lg p-3 border border-red-200",children:[m.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[m.jsx("svg",{className:"w-4 h-4 text-red-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:m.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),m.jsx("p",{className:"text-xs text-red-700 font-semibold",children:"Erro ao carregar dados"})]}),m.jsx("p",{className:"text-[10px] text-red-600 ml-6",children:o.error}),o.error.includes("Muitas requisições")&&m.jsx("button",{onClick:()=>s(null),className:"mt-2 ml-6 text-[10px] text-red-700 underline hover:text-red-800",children:"Tentar novamente"})]}),!o.isLoading&&!o.error&&u&&m.jsxs("div",{className:"space-y-1.5",children:[m.jsxs("div",{className:"grid grid-cols-3 gap-1.5",children:[m.jsx(l,{fieldName:"CNPJ",label:"CNPJ"}),m.jsx(l,{fieldName:"EMPRESA",label:"EMPRESA"}),m.jsx(l,{fieldName:"TOTAL BENEFICIO",label:"TOTAL BENEFÍCIO"})]}),m.jsxs("div",{className:"grid grid-cols-3 gap-1.5",children:[m.jsx(l,{fieldName:"DECISOR",label:"DECISOR"}),m.jsx(l,{fieldName:"PRODUTO PROSPECTADO",label:"PRODUTO PROSPECTADO"}),m.jsx(l,{fieldName:"VALOR QUE PAGA POR MÊS EM PARCELAMENTOS",label:"VALOR PARCELAMENTO"})]}),m.jsxs("div",{className:"grid grid-cols-3 gap-1.5",children:[m.jsx(l,{fieldName:"TOTAL SALDO DEVEDOR PGFN",label:"SALDO DEVEDOR PGFN"}),m.jsx(l,{fieldName:"TOTAL SALDO DEVEDOR RFB",label:"SALDO DEVEDOR RFB"}),m.jsx(l,{fieldName:"DIVIDA ATIVA",label:"DÍVIDA ATIVA"})]}),m.jsxs("div",{className:"grid grid-cols-4 gap-1.5",children:[m.jsx(l,{fieldName:"CORRESPONSABILIDADE SOCIO",label:"CORRESP. SÓCIO"}),m.jsx(l,{fieldName:"EXECUÇÃO FISCAL",label:"EXECUÇÃO FISCAL"}),m.jsx(l,{fieldName:"TRANSAÇÃO COM BENEFICIO",label:"TRANSAÇÃO BENEFÍCIO"}),m.jsx(l,{fieldName:"REGIME TRIBUTARIO",label:"REGIME TRIBUTÁRIO"})]})]})]})}const Uv={width:448,height:640},Fv=280,Bv=420,qv=[{value:"1",detail:""},{value:"2",detail:"ABC"},{value:"3",detail:"DEF"},{value:"4",detail:"GHI"},{value:"5",detail:"JKL"},{value:"6",detail:"MNO"},{value:"7",detail:"PQRS"},{value:"8",detail:"TUV"},{value:"9",detail:"WXYZ"},{value:"*",detail:""},{value:"0",detail:"+"},{value:"#",detail:""}],Hv={rttMs:null,bitrateKbps:null,packetLossRatio:null},zv={jitterMs:null,packetLossRatio:null,audioLevel:null},Gv="candidate-pair",Wv="inbound-rtp";function Kv({isAuthenticated:e,username:n,onLogin:r,onLogout:i,isLoadingSession:o,sessionError:a}){const d=t.useRef(null),s=t.useRef(null),u=t.useRef({pointerId:null,offsetX:0,offsetY:0}),l=t.useRef({pointerId:null,originX:0,originY:0,startWidth:Uv.width,startHeight:Uv.height,edge:"corner"}),c=t.useRef(!1),[f,h]=t.useState({x:24,y:24}),[p,$]=t.useState(!1),[v,g]=t.useState(!1),[y,b]=t.useState(!1),[_,w]=t.useState(""),[C,S]=t.useState(null),[E,x]=t.useState({width:Uv.width,height:Uv.height}),T=t.useRef(e),A=t.useMemo(()=>Xv(_),[_]),N=t.useMemo(()=>{const t=E.width/Uv.width,e=E.height/Uv.height;return ng(Math.min(t,e),.7,1.25)},[E]),O=t.useCallback(t=>{if("undefined"==typeof window)return{width:ng(t.width,Fv,720),height:ng(t.height,Bv,900)};const e=window.innerWidth,n=window.innerHeight,r=e<640?12:16,i=Math.min(720,e-2*r),o=Math.min(900,n-2*r);return{width:ng(t.width,Fv,Math.max(Fv,i)),height:ng(t.height,Bv,Math.max(Bv,o))}},[]),I=t.useCallback(t=>{if("undefined"==typeof window)return t;const e=window.innerWidth,n=window.innerHeight,r=d.current,i=(null==r?void 0:r.offsetWidth)??0,o=(null==r?void 0:r.offsetHeight)??0,a=C??E??Uv,s=y?a.width:80,u=y?a.height:80,l=i>0?i:s,c=o>0?o:u,f=e<640?12:16,h=f,p=f,$=Math.max(h,e-l-f),m=Math.max(p,n-c-f);let v=t.x,g=t.y;return e<640&&y&&(v=Math.round((e-l)/2),g=f),n<c+2*f&&(g=f),{x:ng(v,h,$),y:ng(g,p,m)}},[y,C,E]),R=t.useCallback(t=>{w(e=>Xv("function"==typeof t?t(e):t))},[]);t.useEffect(()=>{var t,e;if("undefined"==typeof window)return;const n=(null==(t=d.current)?void 0:t.offsetWidth)??96,r=(null==(e=d.current)?void 0:e.offsetHeight)??96,i=window.innerWidth-n-24,o=window.innerHeight-r-24;h(I({x:i,y:o}))},[I]),t.useEffect(()=>{h(t=>I(t))},[y,I]),t.useEffect(()=>{if("undefined"==typeof window)return;const t=()=>{h(t=>I(t)),S(t=>t?O(t):t)};return window.addEventListener("resize",t),window.addEventListener("orientationchange",t),()=>{window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}},[I,O]),t.useEffect(()=>{if(!y)return;const t=s.current;if(!t)return;const e=(t,e)=>{x({width:t,height:e})};if("undefined"!=typeof ResizeObserver){const n=new ResizeObserver(t=>{const n=t[0];if(n){const{width:t,height:r}=n.contentRect;e(t,r)}});return n.observe(t),()=>n.disconnect()}const n=t.getBoundingClientRect();e(n.width,n.height)},[y,C]),t.useEffect(()=>{e&&!T.current&&b(!0),T.current=e},[e]),t.useEffect(()=>{if(!p)return;const t=t=>{var e,n;if(u.current.pointerId!==t.pointerId)return;c.current=!0;const r=(null==(e=d.current)?void 0:e.offsetWidth)??0,i=(null==(n=d.current)?void 0:n.offsetHeight)??0,o=t.clientX-u.current.offsetX,a=t.clientY-u.current.offsetY,s="undefined"!=typeof window?window.innerWidth:0,l=s<640?12:16,f=s-r-l,p=("undefined"!=typeof window?window.innerHeight:0)-i-l,$=Math.max(l,f),m=Math.max(l,p);h({x:ng(o,l,$),y:ng(a,l,m)})},e=t=>{u.current.pointerId===t.pointerId&&($(!1),u.current={pointerId:null,offsetX:0,offsetY:0})};return window.addEventListener("pointermove",t),window.addEventListener("pointerup",e),()=>{window.removeEventListener("pointermove",t),window.removeEventListener("pointerup",e)}},[p]),t.useEffect(()=>{if(!v)return;const t=t=>{if(l.current.pointerId!==t.pointerId)return;t.preventDefault();const{edge:e,startWidth:n,startHeight:r,originX:i,originY:o}=l.current;let a=n,d=r;"right"!==e&&"corner"!==e||(a=n+(t.clientX-i)),"bottom"!==e&&"corner"!==e||(d=r+(t.clientY-o));const s=O({width:a,height:d});S(t=>t&&t.width===s.width&&t.height===s.height?t:s)},e=t=>{var e,n;if(l.current.pointerId===t.pointerId){try{null==(n=null==(e=t.target)?void 0:e.releasePointerCapture)||n.call(e,t.pointerId)}catch{}g(!1),l.current={...l.current,pointerId:null}}};return window.addEventListener("pointermove",t),window.addEventListener("pointerup",e),window.addEventListener("pointercancel",e),()=>{window.removeEventListener("pointermove",t),window.removeEventListener("pointerup",e),window.removeEventListener("pointercancel",e)}},[v,O]),t.useEffect(()=>{y||(c.current=!1)},[y]),t.useEffect(()=>{h(t=>I(t))},[C,E,I]);const P=t.useCallback(t=>e=>{var n,r;if(0!==e.button&&"touch"!==e.pointerType)return;e.preventDefault(),e.stopPropagation();const i=s.current,o=null==i?void 0:i.getBoundingClientRect(),a=(null==o?void 0:o.width)??(null==C?void 0:C.width)??Uv.width,d=(null==o?void 0:o.height)??(null==C?void 0:C.height)??Uv.height;l.current={pointerId:e.pointerId,originX:e.clientX,originY:e.clientY,startWidth:a,startHeight:d,edge:t};try{null==(r=(n=e.currentTarget).setPointerCapture)||r.call(n,e.pointerId)}catch{}g(!0)},[C]),k=t.useCallback(t=>{var e;if(0!==t.button)return;const n=null==(e=d.current)?void 0:e.getBoundingClientRect();u.current={pointerId:t.pointerId,offsetX:t.clientX-((null==n?void 0:n.left)??0),offsetY:t.clientY-((null==n?void 0:n.top)??0)},c.current=!1,$(!0)},[]),D=t.useCallback(()=>{c.current?c.current=!1:b(t=>!t)},[]),M=t.useCallback(async t=>{const e=t.trim();e&&await r(e)},[r]),L=e?m.jsx(Yv,{username:n??"",dialValue:A,setDialValue:R,onLogout:i}):m.jsx(Vv,{defaultValue:n??"",onSubmit:M,isLoading:o,error:a}),j=Number.isFinite(N)&&N>0?N:1,U={width:C?`${C.width}px`:void 0,height:C?`${C.height}px`:void 0,minWidth:"280px",minHeight:"420px",maxWidth:"min(720px, calc(100vw - 1.5rem))",maxHeight:"calc(100vh - 3rem)"},F={flex:1,display:"flex",flexDirection:"column",transform:`scale(${j})`,transformOrigin:"top left",width:`${Uv.width}px`,minHeight:`${Uv.height}px`},B={flex:1,display:"flex",flexDirection:"column",minHeight:`${Uv.height}px`,width:`${Uv.width}px`};return m.jsx("div",{ref:d,className:Ym`fixed z-50 select-none`,style:{transform:`translate3d(${f.x}px, ${f.y}px, 0)`,top:0,left:0},children:y?m.jsxs("div",{ref:s,"data-floating-dialer-card":"true",className:Ym`relative flex flex-col items-start overflow-hidden rounded-3xl border border-slate-200/60 bg-gradient-to-br from-white/95 via-slate-50/95 to-white/90 shadow-2xl backdrop-blur-lg transition-all duration-300 w-[min(32rem,calc(100vw-1.5rem))] max-w-[calc(100vw-1.5rem)] sm:w-[28rem] md:w-[30rem] max-h-[calc(100vh-3rem)] sm:max-h-none`,style:U,children:[m.jsx("div",{className:Ym`flex flex-1 flex-col overflow-hidden`,style:F,children:m.jsxs("div",{className:Ym`flex flex-1 flex-col rounded-3xl overflow-hidden`,style:B,children:[m.jsxs("div",{className:Ym`cursor-grab touch-none active:cursor-grabbing flex items-center justify-between bg-gradient-to-r from-primary to-primaryDark px-4 py-3 sm:px-5 sm:py-4 text-white shadow-sm`,onPointerDown:k,children:[m.jsxs("div",{className:Ym`flex items-center gap-3`,children:[m.jsx("span",{className:Ym`inline-flex h-10 w-10 items-center justify-center rounded-2xl bg-white/15 shadow-inner sm:h-11 sm:w-11`,children:m.jsx(Up,{className:Ym`text-xl`})}),m.jsxs("div",{className:Ym`space-y-0.5`,children:[m.jsx("p",{className:Ym`text-[11px] uppercase tracking-[0.2em] text-white/70`,children:"Discadora"}),m.jsx("p",{className:Ym`text-sm font-semibold sm:text-base`,children:n??"Visitante"})]})]}),m.jsx("button",{type:"button",className:Ym`rounded-full p-2 text-white/80 transition hover:bg-white/15 hover:text-white`,onClick:()=>b(!1),"aria-label":"Fechar discadora",children:m.jsx(Yp,{className:Ym`text-lg`})})]}),m.jsx("div",{className:Ym`flex-1 overflow-y-auto p-3 sm:p-4`,children:L})]})}),m.jsx("div",{role:"presentation","data-floating-dialer-resize":"right","aria-hidden":"true",className:Ym`absolute right-0 top-16 bottom-12 w-3 cursor-ew-resize touch-none rounded-md border border-transparent transition-colors duration-150 hover:border-primary/30 hover:bg-primary/10`,onPointerDown:P("right")}),m.jsx("div",{role:"presentation","data-floating-dialer-resize":"bottom","aria-hidden":"true",className:Ym`absolute left-16 right-12 bottom-0 h-3 cursor-ns-resize touch-none rounded-md border border-transparent transition-colors duration-150 hover:border-primary/30 hover:bg-primary/10`,onPointerDown:P("bottom")}),m.jsx("div",{role:"presentation","data-floating-dialer-resize":"corner",className:Ym`absolute bottom-1 right-1 flex h-6 w-6 items-center justify-center cursor-nwse-resize touch-none`,onPointerDown:P("corner"),"aria-label":"Redimensionar discadora",children:m.jsx("span",{className:Ym`h-3 w-3 rotate-45 rounded-sm border border-slate-300 bg-white/80 shadow`})})]}):m.jsx("button",{type:"button",onPointerDown:k,onClick:D,className:Ym`flex h-16 w-16 items-center justify-center rounded-full bg-primary text-white shadow-xl transition-transform hover:scale-105 hover:bg-primaryDark focus:outline-none focus:ring-4 focus:ring-primary/30`,"aria-label":"Abrir discadora",children:m.jsx(qp,{className:Ym`text-2xl`})})})}function Vv({defaultValue:e,onSubmit:n,isLoading:r,error:i}){const[o,a]=t.useState(e),[d,s]=t.useState(!1);t.useEffect(()=>{a(e)},[e]);const u=d&&!o.trim();return m.jsxs("form",{className:Ym`space-y-4`,onSubmit:async t=>{t.preventDefault(),s(!0),o.trim()&&await n(o)},children:[m.jsxs("div",{className:Ym`space-y-2`,children:[m.jsxs("label",{className:Ym`flex items-center gap-2 text-sm font-medium text-slate-700`,htmlFor:"dialer-username",children:[m.jsx(Gp,{className:Ym`text-base text-primary`}),"Usuario"]}),m.jsx("input",{id:"dialer-username",type:"text",placeholder:"Digite seu usuario Callix",className:Ym`w-full rounded-xl border border-slate-200 bg-white px-3 py-2 text-base shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40`,value:o,onChange:t=>a(t.target.value),onBlur:()=>s(!0),disabled:r}),u&&m.jsx("p",{className:Ym`text-xs text-red-500`,children:"Informe um usuario para continuar."}),i&&m.jsx("p",{className:Ym`text-xs text-red-500`,children:i})]}),m.jsxs("button",{type:"submit",disabled:r,className:Ym`flex w-full items-center justify-center gap-2 rounded-xl bg-primary px-4 py-2 text-white shadow-lg transition hover:bg-primaryDark disabled:cursor-not-allowed disabled:opacity-60`,children:[r&&m.jsx("span",{className:Ym`inline-flex h-4 w-4 animate-spin rounded-full border-2 border-white/40 border-t-white`}),"Entrar"]})]})}function Yv({username:e,dialValue:n,setDialValue:r,onLogout:i}){var o,a;const d=_f.useCallOperator(),s=_f.useCallOperatorState(),u=_f.useCallOperatorCurrentCall(),l=_f.useCallOperatorCurrentCallInfo(),c=_f.useCallOperatorSuccessQualifications(),f=_f.useCallOperatorDiscardQualifications();t.useEffect(()=>{console.log("[FloatingDialer] Estado do operador mudou:",{state:null==s?void 0:s.state,operatorState:s,hasCall:!!u,currentCall:u})},[s,u]),t.useEffect(()=>{console.log("[FloatingDialer] Qualificações:",{success:c,discard:f,callState:null==s?void 0:s.state})},[c,f,null==s?void 0:s.state]),t.useEffect(()=>{"incoming"===(null==u?void 0:u.direction)&&console.log("[FloatingDialer] ⚠️ CHAMADA RECEBIDA:",{call:u,direction:u.direction,state:null==s?void 0:s.state,counterpart:Qv(u)})},[u,null==s?void 0:s.state]);const{makeManualCall:h,becomeAvailable:p,finishAfterCall:$}=_f.useCallOperatorControls(),{hangup:v,answer:g,reject:y}=_f.useCallOperatorCurrentCallControls(),[b,_]=t.useState(!1),w=t.useRef(null),C=t.useRef(null),S=t.useRef(null),[E,x]=t.useState(null),[T,A]=t.useState(null),[N,O]=t.useState(null),[I,R]=t.useState(!1),[P,k]=t.useState("success"),[D,M]=t.useState(null),[L,j]=t.useState(0),[U,F]=t.useState(Hv),[B,q]=t.useState(zv),H=t.useRef(null),z=t.useRef(!1),[G,W]=_f.useCallOperatorAudioInputMuted(),[K,V]=_f.useCallOperatorAudioOutputMuted(),[Y,X]=_f.useCallOperatorAudioOutputVolume(),[J,Z]=t.useState({inputs:[],outputs:[]}),[Q,tt]=t.useState(null),[et,nt]=t.useState(null),[rt,it]=t.useState(null),[ot,at]=t.useState(!1),dt=t.useRef(null),[st,ut]=t.useState(null),[lt,ct]=t.useState(!1),[ft,ht]=t.useState(null),pt=function(e){const[n,r]=t.useState(null==e?void 0:e.get());return t.useEffect(()=>{if(e)return r(e.get()),e.subscribe(t=>{r(t)});r(void 0)},[e]),n}(null==d?void 0:d.breaks)||[],{goOnBreak:$t,goOffBreak:mt}=function(){const{enterOnBreak:t,becomeAvailable:e}=_f.useCallOperatorControls();return{goOnBreak:t,goOffBreak:e}}(),vt=t.useMemo(()=>n.slice(0,32),[n]),gt=t.useMemo(()=>function(t,e){const n=Xv(t);if(!n)return"";const r=n.startsWith("+"),i=n.replace(/[^0-9]/g,""),o=e.replace(/[^0-9]/g,""),a=o.length||2,d=r?i.slice(0,Math.min(a,i.length)):o||i.slice(0,a);let s=r?i.slice(d.length):i;const u=r?`+${d}`:e;if("55"===d&&s.length>=8){return`${u} (${s.slice(0,2)}) ${s.slice(2,Math.max(s.length-4,2))}-${s.slice(-4)}`.replace(/\s+/g," ").trim()}if(!s)return u.trim();const l=[];for(;s.length>4;)l.push(s.slice(0,3)),s=s.slice(3);s&&l.push(s);const c=l.join(" ");return`${u} ${c}`.replace(/\s+/g," ").trim()}(vt,"+55"),[vt]),yt=t.useMemo(()=>function(t,e){const n=Xv(t);if(!n)return null;if(n.startsWith("+"))return n.replace(/[^0-9+]/g,"");const r=n.replace(/[^0-9]/g,"");if(!r)return null;const i=e.replace(/[^0-9]/g,"");if(!i)return`+${r}`;return`+${i}${r}`}(vt,"+55"),[vt]),bt=null==s?void 0:s.state,_t="idle"===bt,wt="onBreak"===bt,Ct="incoming"===(null==u?void 0:u.direction),St="callInProgress"===bt,Et="manualCallRinging"===bt||"callRinging"===bt,xt="manualCallSetup"===bt||Et,Tt=!bt||"starting"===bt||"idle"===bt||"manualCallSetup"===bt||"onBreak"===bt,At=Tt||St||Et,Nt=Boolean(yt&&function(t){try{return mp(t)}catch(e){return console.warn("Falha ao validar numero",e),!1}}(yt)),Ot=t.useCallback(async t=>{if("function"==typeof p)try{await Promise.resolve(p())}catch(e){console.error(t,e),A(t)}else A(t)},[p]);t.useEffect(()=>{z.current||(z.current=!0,Ot("Nao foi possivel ficar disponivel automaticamente."))},[Ot]),t.useEffect(()=>{"idle"===bt&&(A(null),x(null))},[bt]),t.useEffect(()=>{"offline"===bt&&(A("Conexao perdida. Tentando reconectar..."),Ot("Conexao perdida. Tentando reconectar..."))},[bt,Ot]),t.useEffect(()=>{if("afterCall"===bt){if("campaign"===(null==l?void 0:l.type)&&!0===l.info.campaign.skipCallQualification)return console.log("[FloatingDialer] 🔄 skipCallQualification ativado - finalizando automaticamente"),void("function"==typeof $&&Promise.resolve($({result:"success",qualificationId:void 0})));const t=c.length>0;k(t?"success":"failure"),M(null),O(null)}},[bt,c.length,l,$]),t.useEffect(()=>{if("undefined"==typeof window)return;if("starting"!==bt)return;const t=window.setTimeout(()=>{A(t=>t??"Conexao demorando mais que o esperado. Verifique rede ou credenciais.")},8e3);return()=>window.clearTimeout(t)},[bt]),t.useEffect(()=>{"manualCallRinging"!==bt&&"callInProgress"!==bt||r(""),"idle"===bt&&ut(null)},[bt,r]),t.useEffect(()=>{var t;if("undefined"==typeof navigator||!(null==(t=navigator.mediaDevices)?void 0:t.enumerateDevices))return;let e=!1;const n=async()=>{try{navigator.mediaDevices.getUserMedia&&await navigator.mediaDevices.getUserMedia({audio:!0})}catch(t){console.warn("Permissao de microfone nao concedida ainda",t)}try{const t=await navigator.mediaDevices.enumerateDevices();if(e)return;const n=t.filter(t=>"audioinput"===t.kind),r=t.filter(t=>"audiooutput"===t.kind);Z({inputs:n,outputs:r}),it(null),tt(t=>{var e;return t??(null==(e=n[0])?void 0:e.deviceId)??null}),nt(t=>{var e;return t??(null==(e=r[0])?void 0:e.deviceId)??null})}catch(t){e||(console.error("Listagem de dispositivos falhou",t),it("Nao foi possivel listar dispositivos de audio. Verifique as permissoes."))}};n();const r=()=>{n()},i=navigator.mediaDevices;return"addEventListener"in i?i.addEventListener("devicechange",r):"ondevicechange"in i&&(i.ondevicechange=r),()=>{e=!0,"removeEventListener"in i?i.removeEventListener("devicechange",r):"ondevicechange"in i&&(i.ondevicechange=null)}},[]),t.useEffect(()=>{if(!u||"callInProgress"!==bt)return j(0),F(Hv),void q(zv);j(Math.floor(u.currentDurationSeconds??0));const t=window.setInterval(()=>{j(Math.floor(u.currentDurationSeconds??0))},1e3);return()=>window.clearInterval(t)},[u,bt]),t.useEffect(()=>{if(!u||"callInProgress"!==bt)return;const t=t=>{const e=Jv(t,"stat")??{},n="string"==typeof e.type?e.type:void 0;if(n===Gv){const t=tg(e,"currentRoundTripTime"),n=tg(e,"availableOutgoingBitrate");F(e=>({rttMs:null!=t?1e3*t:e.rttMs,bitrateKbps:null!=n?n/1e3:e.bitrateKbps,packetLossRatio:e.packetLossRatio}))}if(n===Wv){const t=tg(e,"packetsReceived")??0,n=tg(e,"packetsLost")??0,r=t+n,i=r>0?n/r:null,o=tg(e,"jitter"),a=tg(e,"audioLevel");q(t=>({jitterMs:null!=o?1e3*o:t.jitterMs,packetLossRatio:i??t.packetLossRatio,audioLevel:a??t.audioLevel})),F(t=>({rttMs:t.rttMs,bitrateKbps:t.bitrateKbps,packetLossRatio:i??t.packetLossRatio}))}};return u.on("webRTCStat",t),()=>{u.off("webRTCStat",t)}},[u,bt]),t.useEffect(()=>{var t;if(!Q)return;if("undefined"==typeof navigator||!(null==(t=navigator.mediaDevices)?void 0:t.getUserMedia))return;let e=!1;return(async()=>{var t,n,r,i;const o=null==(n=null==(t=dt.current)?void 0:t.getAudioTracks)?void 0:n.call(t)[0],a=null==(r=null==o?void 0:o.getSettings)?void 0:r.call(o).deviceId;let s=dt.current;if(!s||a!==Q)try{const t=await navigator.mediaDevices.getUserMedia({audio:{deviceId:{exact:Q}}});if(e)return void t.getTracks().forEach(t=>t.stop());dt.current&&dt.current!==t&&dt.current.getTracks().forEach(t=>t.stop()),dt.current=t,s=t}catch(c){return void(e||(console.error("Falha ao acessar microfone selecionado",c),it("Nao foi possivel acessar o microfone selecionado.")))}if(!s)return;const l=s.getAudioTracks()[0];if(l)try{const t=Zv(d,"setAudioInputDevice");if(t)return await Promise.resolve(t(Q)),void it(null);const e=function(t){const e=Jv(t,"rtcSession")??Jv(t,"_session")??Jv(t,"session"),n=Jv(e,"_connection")??Jv(e,"connection");if(n)return n;return Jv(t,"pc")??void 0}(u),n=null==(i=null==e?void 0:e.getSenders)?void 0:i.call(e).find(t=>{var e;return"audio"===(null==(e=t.track)?void 0:e.kind)});if(null==n?void 0:n.replaceTrack)return await n.replaceTrack(l),void it(null);const r=Zv(u,"setInputTrack");if(r)return await Promise.resolve(r(l)),void it(null);const o=Zv(u,"replaceTrack");if(o)return await Promise.resolve(o(l)),void it(null);console.warn("Nao foi possivel aplicar o microfone via API conhecida"),it(null)}catch(c){e||(console.error("Erro ao aplicar microfone",c),it("Nao foi possivel aplicar o microfone selecionado."))}})(),()=>{e=!0}},[Q,d,u]),t.useEffect(()=>{if(!et||!d)return;(async()=>{try{const t=Zv(Jv(d,"audioOutput"),"setAudioOutputDevice");if(!t)return void console.warn("Nao foi possivel localizar API para alterar dispositivo de saida.");await Promise.resolve(t(et)),it(null)}catch(t){console.error("Erro ao aplicar dispositivo de saida",t),it("Nao foi possivel aplicar a saida de audio selecionada.")}})()},[et,d]),t.useEffect(()=>{if(!u)return;const t=t=>{var e,n;const r=(null==(e=null==t?void 0:t.failure)?void 0:e.message)||(null==(n=null==t?void 0:t.failure)?void 0:n.cause);x(r?`Chamada nao concluida: ${r}`:"Chamada nao concluida.")};return u.on("failed",t),()=>{u.off("failed",t)}},[u]),t.useEffect(()=>()=>{const t=H.current;t&&t.close().catch(()=>{})},[]),t.useEffect(()=>()=>{var t;null==(t=dt.current)||t.getTracks().forEach(t=>t.stop()),dt.current=null},[]);const It=t.useCallback(async()=>{if("undefined"==typeof window)return null;const t=window.AudioContext||window.webkitAudioContext;if(!t)return null;if(H.current||(H.current=new t),"suspended"===H.current.state)try{await H.current.resume()}catch(e){console.error("Falha ao retomar audio",e)}return H.current},[]),Rt=t.useCallback(async t=>{const e=eg[t];if(!e)return;const n=await It();if(!n)return;const r=n.createGain(),[i,o]=e,a=n.createOscillator(),d=n.createOscillator();a.type="sine",d.type="sine",a.frequency.setValueAtTime(i,n.currentTime),d.frequency.setValueAtTime(o,n.currentTime),r.gain.setValueAtTime(0,n.currentTime),r.gain.linearRampToValueAtTime(.22,n.currentTime+.01),r.gain.linearRampToValueAtTime(0,n.currentTime+.18),a.connect(r),d.connect(r),r.connect(n.destination);const s=n.currentTime,u=s+.2;a.start(s),d.start(s),a.stop(u),d.stop(u);const l=()=>{try{a.disconnect(),d.disconnect(),r.disconnect()}catch(t){console.error("Erro ao limpar tons DTMF",t)}};a.onended=l,d.onended=l},[It]),Pt=t.useCallback(t=>{if(Rt(t),u&&(St||Et))try{u.sendDtmf(t)}catch(e){console.error("Falha ao enviar DTMF",e),x("Nao foi possivel enviar o tom DTMF.")}else Tt&&(x(null),r(e=>(e+t).slice(0,32)))},[Rt,u,St,Et,Tt,r]),kt=t.useCallback(()=>{x(null),r("")},[r]),Dt=t.useCallback(()=>{x(null),r(t=>t.slice(0,-1))},[r]),Mt=t.useCallback(async()=>{if(_t||wt)if(yt)if(Nt)try{x(null),ut(yt),await h(yt)}catch(t){console.error("Erro ao iniciar chamada",t),x("Nao foi possivel iniciar a ligacao.")}else x("Numero invalido. Digite apenas o numero local, sem o +55.");else x("Informe um numero para ligar.")},[_t,wt,yt,Nt,h]),Lt=t.useCallback(async t=>{try{ht(null),await $t(t),ct(!1),console.log("[FloatingDialer] Entrou em pausa com sucesso:",t)}catch(e){console.error("[FloatingDialer] Erro ao entrar em pausa:",e),ht(e instanceof Error?e.message:"Não foi possível entrar em pausa.")}},[$t]),jt=t.useCallback(async()=>{try{await mt(),console.log("[FloatingDialer] Saiu da pausa com sucesso")}catch(t){console.error("[FloatingDialer] Erro ao sair da pausa:",t),A("Não foi possível sair da pausa.")}},[mt]);t.useEffect(()=>{if(!b)return;const t=t=>{if(t.metaKey||t.ctrlKey||t.altKey)return;const e=t.key;if("Backspace"===e)return t.preventDefault(),void Dt();if("Delete"===e)return t.preventDefault(),void kt();if("Enter"===e)return void(_t&&(t.preventDefault(),Mt()));const n="NumpadEnter"===e?null:e;if(n&&["0","1","2","3","4","5","6","7","8","9","#","*","+"].includes(n))return t.preventDefault(),void Pt(n);if(e.startsWith("Numpad")){const n=e.replace("Numpad","");if("Add"===n)return t.preventDefault(),void Pt("+");if("Multiply"===n)return t.preventDefault(),void Pt("*");/^[0-9]$/.test(n)&&(t.preventDefault(),Pt(n))}};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}},[b,Dt,kt,Pt,Mt,_t]);const Ut=t.useCallback(async()=>{try{await v()}catch(t){console.error("Erro ao encerrar chamada",t),x("Falha ao encerrar chamada.")}},[v]),Ft=t.useCallback(async()=>{try{await g()}catch(t){console.error("Erro ao atender chamada",t),x("Nao foi possivel atender.")}},[g]),Bt=t.useCallback(async()=>{try{await y()}catch(t){console.error("Erro ao rejeitar chamada",t),x("Nao foi possivel rejeitar.")}},[y]),qt=t.useCallback(async()=>{if(("success"===P?c:f).length)if(D)if("function"==typeof $)try{R(!0),O(null),await Promise.resolve($({result:P,qualificationId:D}))}catch(t){console.error("Erro ao finalizar pos-chamada",t),O("Falha ao finalizar atendimento. Tente novamente.")}finally{R(!1)}else O("Nao foi possivel enviar a qualificacao.");else O("Selecione uma qualificacao para finalizar.");else O("Nenhuma qualificacao configurada para este resultado.")},[P,f,$,D,c]),Ht=t.useCallback(()=>{_(!0)},[]),zt=t.useCallback(t=>{const e=t.relatedTarget;w.current&&e&&w.current.contains(e)||_(!1)},[]),Gt=t.useCallback(t=>{const e=t.target.value;tt(e||null)},[]),Wt=t.useCallback(t=>{const e=t.target.value;nt(e||null)},[]),Kt=t.useCallback(t=>{const e=Number.isFinite(t)?t:0,n=Math.min(Math.max(e,0),1);X(Number((n*(("number"==typeof Y?Y:0)>1?100:1)).toFixed(2)))},[Y,X]),Vt=s&&"call"in s?s.call:void 0,Yt=Qv(u)??Qv(Vt),Xt=yt||st,Jt=(null==Yt?void 0:Yt.displayName)??(null==Yt?void 0:Yt.phoneNumber)??("campaign"===(null==l?void 0:l.type)?l.info.campaignContact.phoneNumber:void 0)??((St||xt)&&Xt?Xt:void 0),Zt=function(t){switch(t){case"starting":return"Conectando";case"idle":return"Disponível";case"manualCallSetup":return"Preparando";case"manualCallRinging":return"Chamando";case"callRinging":return"Recebida";case"callInProgress":return"Em chamada";case"afterCall":return"Finalizando";case"onBreak":return"Em pausa";case"offline":return"Offline";case"error":return"Erro";default:return"Aguardando"}}(bt),Qt=gt||vt,te=(null==(o=J.inputs.find(t=>t.deviceId===Q))?void 0:o.label)||"Microfone padrao",ee=(null==(a=J.outputs.find(t=>t.deviceId===et))?void 0:a.label)||"Saida padrao",ne="number"==typeof Y?Y:0,re=ne>1?100:1,ie=Math.min(Math.max(ne/re,0),1),oe=Math.round(100*ie),ae=K?Vp:ie>.65?Kp:Wp,de=G?Dp:Mp,se=function(t){switch(t){case"idle":return{Icon:Op,badgeClass:Ym`border-emerald-200 bg-emerald-50 text-emerald-700`,dotClass:Ym`bg-emerald-500`};case"callInProgress":case"manualCallSetup":case"manualCallRinging":case"callRinging":return{Icon:Ap,badgeClass:Ym`border-primary/30 bg-primary/10 text-primary`,dotClass:Ym`bg-primary`};case"onBreak":return{Icon:jp,badgeClass:Ym`border-amber-200 bg-amber-50 text-amber-700`,dotClass:Ym`bg-amber-500`};case"offline":case"error":return{Icon:Np,badgeClass:Ym`border-rose-200 bg-rose-50 text-rose-700`,dotClass:Ym`bg-rose-500`};default:return{Icon:Up,badgeClass:Ym`border-slate-200 bg-slate-50 text-slate-600`,dotClass:Ym`bg-slate-500`}}}(bt);if("afterCall"===bt)return m.jsx(rg,{username:e,result:P,onChangeResult:k,successQualifications:c,discardQualifications:f,selectedQualificationId:D,onSelectQualification:M,onSubmit:qt,isSubmitting:I,errorMessage:N,onLogout:i});const ue=St||xt;return m.jsxs("div",{ref:w,tabIndex:0,role:"application","aria-label":"Discador manual",onFocusCapture:Ht,onBlurCapture:zt,className:Ym`space-y-3 sm:space-y-4 rounded-2xl outline-none`,children:[m.jsxs("div",{className:Ym`flex items-center justify-between gap-2`,children:[m.jsxs("div",{className:Ym`flex items-center gap-2 min-w-0 flex-1`,children:[m.jsx("span",{className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-lg bg-primary/10 text-primary shrink-0`,children:m.jsx(Gp,{className:Ym`text-sm`})}),m.jsxs("div",{className:Ym`min-w-0 flex-1`,children:[m.jsx("p",{className:Ym`text-sm font-bold text-slate-800 truncate`,children:e}),m.jsx("p",{className:Ym`text-[9px] uppercase tracking-wide text-slate-500 font-medium`,children:"Operador"})]})]}),m.jsxs("div",{className:Ym`flex items-center gap-2 shrink-0`,children:[_t&&m.jsxs("button",{type:"button",onClick:()=>ct(!0),className:Ym`inline-flex items-center gap-1 rounded-lg border border-amber-300 bg-amber-50 px-2 py-1 text-[10px] font-bold text-amber-700 transition-all hover:bg-amber-100 hover:shadow-sm`,"aria-label":"Entrar em pausa",children:[m.jsx(jp,{className:Ym`text-xs`}),m.jsx("span",{children:"Pausa"})]}),wt&&m.jsxs("button",{type:"button",onClick:jt,className:Ym`inline-flex items-center gap-1 rounded-lg border border-emerald-300 bg-emerald-50 px-2 py-1 text-[10px] font-bold text-emerald-700 transition-all hover:bg-emerald-100 hover:shadow-sm`,"aria-label":"Sair da pausa",children:[m.jsx(Op,{className:Ym`text-xs`}),m.jsx("span",{children:"Voltar"})]}),m.jsxs("div",{className:Ym`${se.badgeClass} inline-flex items-center gap-1.5 rounded-lg border px-2 py-1 text-[10px] font-bold ${St?"animate-pulse":""}`,children:[m.jsx(se.Icon,{className:Ym`text-xs`}),m.jsx("span",{children:Zt}),m.jsx("span",{className:Ym`${se.dotClass} inline-flex h-1.5 w-1.5 rounded-full`,"aria-hidden":!0})]})]})]}),ue&&m.jsxs(m.Fragment,{children:[m.jsx(ig,{statusLabel:Zt,callTarget:Jt,durationSeconds:L}),m.jsx(Lv,{})]}),!ue&&m.jsxs("div",{ref:C,className:Ym`${b?"ring-2 ring-primary/50 shadow-lg":"shadow-sm"} relative overflow-hidden rounded-xl border border-slate-200 bg-gradient-to-br from-white to-slate-50 px-4 py-3 transition-all hover:shadow-md`,onClick:()=>{var t;return null==(t=w.current)?void 0:t.focus()},children:[m.jsx("input",{ref:S,id:"dialer-number",type:"tel",inputMode:"tel",value:vt,onChange:t=>r(t.target.value),className:Ym`sr-only`,tabIndex:-1,"aria-hidden":"true"}),m.jsxs("div",{className:Ym`flex items-center justify-between mb-2`,children:[m.jsxs("div",{className:Ym`flex items-center gap-1.5`,children:[m.jsx(qp,{className:Ym`text-sm text-primary`}),m.jsx("span",{className:Ym`text-[10px] uppercase tracking-wider text-slate-500 font-semibold`,children:"Número"})]}),b&&m.jsxs("span",{className:Ym`inline-flex items-center gap-1 rounded-full bg-primary/10 px-2 py-0.5 text-[9px] font-semibold text-primary`,children:[m.jsx("span",{className:Ym`inline-block h-1.5 w-1.5 rounded-full bg-primary animate-pulse`}),"Ativo"]})]}),m.jsx("div",{className:Ym`min-h-[2.5rem] flex items-center`,children:m.jsx("p",{className:Ym`text-2xl font-semibold tabular-nums tracking-tight text-slate-800 flex-1 truncate`,children:Qt||m.jsx("span",{className:Ym`text-slate-400 text-lg font-normal`,children:"Digite um número"})})})]}),m.jsx("div",{className:Ym`grid grid-cols-3 gap-2`,children:qv.map(t=>m.jsxs("button",{type:"button",onClick:()=>Pt(t.value),disabled:!At,className:Ym`relative flex h-14 flex-col items-center justify-center rounded-lg border border-slate-200 bg-gradient-to-b from-white to-slate-50 text-lg font-bold text-slate-800 shadow-sm transition-all active:scale-95 hover:border-slate-300 hover:shadow-md outline-none disabled:cursor-not-allowed disabled:opacity-40`,children:[m.jsx("span",{children:t.value}),t.detail&&m.jsx("span",{className:Ym`text-[8px] font-semibold tracking-widest text-slate-400 uppercase`,children:t.detail})]},t.value))}),m.jsxs("div",{className:Ym`space-y-2`,children:[m.jsxs("div",{className:Ym`flex flex-wrap items-center gap-2`,children:[_t||wt?m.jsxs("button",{type:"button",onClick:Mt,disabled:!Nt,className:Ym`flex flex-1 min-w-[7rem] items-center justify-center gap-2 rounded-lg bg-emerald-500 px-4 py-2.5 text-sm font-bold text-white shadow-lg transition-all hover:bg-emerald-600 hover:shadow-xl disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:shadow-lg`,children:[m.jsx(qp,{className:Ym`text-base`}),"Ligar"]}):Ct?m.jsxs(m.Fragment,{children:[m.jsxs("button",{type:"button",onClick:Bt,className:Ym`flex flex-1 min-w-[6rem] items-center justify-center gap-1.5 rounded-lg bg-rose-500 px-3 py-2 text-xs font-bold text-white shadow-md transition-all hover:bg-rose-600 hover:shadow-lg`,children:[m.jsx(Bp,{className:Ym`text-sm`}),"Recusar"]}),m.jsxs("button",{type:"button",onClick:Ft,className:Ym`flex flex-1 min-w-[6rem] items-center justify-center gap-1.5 rounded-lg bg-emerald-500 px-3 py-2 text-xs font-bold text-white shadow-md transition-all hover:bg-emerald-600 hover:shadow-lg`,children:[m.jsx(Fp,{className:Ym`text-sm`}),"Atender"]})]}):m.jsxs("button",{type:"button",onClick:Ut,className:Ym`flex flex-1 min-w-[7rem] items-center justify-center gap-2 rounded-lg bg-rose-500 px-4 py-2.5 text-sm font-bold text-white shadow-lg transition-all hover:bg-rose-600 hover:shadow-xl`,children:[m.jsx(Bp,{className:Ym`text-base`}),"Encerrar"]}),m.jsxs("button",{type:"button",onClick:()=>W(!G),className:Ym`${G?"border-rose-300 bg-rose-50 text-rose-600":"border-slate-300 bg-white text-slate-700"} flex h-9 min-w-[4.5rem] flex-1 items-center justify-center gap-1 rounded-lg border px-2 py-1.5 text-[10px] font-bold transition-all hover:border-slate-400 hover:shadow-md disabled:cursor-not-allowed`,children:[m.jsx(de,{className:Ym`text-xs`}),G?"Mudo":"Mic"]}),m.jsxs("button",{type:"button",onClick:()=>V(!K),className:Ym`${K?"border-amber-300 bg-amber-50 text-amber-700":"border-slate-300 bg-white text-slate-700"} flex h-9 min-w-[4.5rem] flex-1 items-center justify-center gap-1 rounded-lg border px-2 py-1.5 text-[10px] font-bold transition-all hover:border-slate-400 hover:shadow-md`,children:[m.jsx(ae,{className:Ym`text-xs`}),K?"Mudo":`${oe}%`]}),m.jsx("button",{type:"button",onClick:Dt,className:Ym`flex h-9 w-9 items-center justify-center rounded-lg border border-slate-300 bg-white text-slate-700 transition-all hover:border-slate-400 hover:shadow-md`,"aria-label":"Apagar ultimo digito",children:m.jsx(Rp,{className:Ym`text-base`})}),m.jsx("button",{type:"button",onClick:kt,className:Ym`flex h-9 w-9 items-center justify-center rounded-lg border border-rose-300 bg-rose-50 text-rose-700 font-bold text-xs transition-all hover:border-rose-400 hover:bg-rose-100 hover:shadow-md active:bg-rose-200`,"aria-label":"Limpar numero",children:"C"})]}),m.jsxs("div",{className:Ym`rounded-xl border border-slate-200 bg-white/80 p-2.5 shadow-sm sm:p-3`,children:[m.jsxs("div",{className:Ym`flex flex-wrap items-center justify-between gap-2`,children:[m.jsxs("div",{children:[m.jsx("p",{className:Ym`text-[10px] uppercase tracking-wide text-slate-500`,children:"Volume"}),m.jsxs("p",{className:Ym`text-xs font-semibold text-slate-800 sm:text-sm`,children:["Saída ",oe,"%"]})]}),m.jsxs("div",{className:Ym`flex items-center gap-1.5 sm:gap-2`,children:[m.jsx("button",{type:"button",onClick:()=>Kt((Y??0)-.05),className:Ym`inline-flex h-7 w-7 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition hover:border-primary/60 hover:text-primary sm:h-8 sm:w-8`,"aria-label":"Diminuir volume",children:m.jsx(Lp,{className:Ym`text-sm`})}),m.jsx("input",{type:"range",min:0,max:1,step:.01,value:Number.isFinite(Y)?Y:0,onChange:t=>Kt(parseFloat(t.target.value)),className:Ym`h-1 w-full max-w-[9rem] cursor-pointer appearance-none rounded-full bg-slate-200 accent-primary sm:max-w-none sm:w-32`,"aria-label":"Volume de saida"}),m.jsx("button",{type:"button",onClick:()=>Kt((Y??0)+.05),className:Ym`inline-flex h-7 w-7 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition hover:border-primary/60 hover:text-primary sm:h-8 sm:w-8`,"aria-label":"Aumentar volume",children:m.jsx(Hp,{className:Ym`text-sm`})})]})]}),m.jsxs("div",{className:Ym`mt-2 flex flex-wrap items-center gap-2 text-[11px] text-slate-600 sm:text-xs`,children:[m.jsxs("div",{className:Ym`flex items-center gap-1.5`,children:[m.jsx(Mp,{className:Ym`text-sm text-primary`}),m.jsx("span",{className:Ym`truncate max-w-[8rem] sm:max-w-none`,children:te})]}),m.jsxs("div",{className:Ym`flex items-center gap-1.5`,children:[m.jsx(Pp,{className:Ym`text-sm text-primary`}),m.jsx("span",{className:Ym`truncate max-w-[8rem] sm:max-w-none`,children:ee})]}),(J.inputs.length>0||J.outputs.length>0)&&m.jsxs("button",{type:"button",onClick:()=>at(t=>!t),className:Ym`inline-flex items-center gap-1 rounded-md border border-slate-300 bg-white px-2 py-0.5 text-[9px] font-bold text-slate-700 transition-all hover:border-slate-400 hover:shadow-sm`,children:[m.jsx(zp,{className:Ym`text-[10px]`}),ot?"Ocultar":"Config"]})]}),ot&&m.jsxs("div",{className:Ym`mt-3 grid gap-2 sm:grid-cols-2`,children:[m.jsxs("label",{className:Ym`space-y-1 text-xs text-slate-700`,children:[m.jsxs("span",{className:Ym`flex items-center gap-1.5 font-semibold`,children:[m.jsx(Mp,{className:Ym`text-sm text-primary`}),"Entrada"]}),m.jsxs("select",{className:Ym`w-full rounded-lg border border-slate-200 bg-white px-2.5 py-1.5 text-[11px] shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40 sm:text-xs`,value:Q??"",onChange:Gt,children:[0===J.inputs.length&&m.jsx("option",{value:"",children:"Padrão"}),J.inputs.map(t=>m.jsx("option",{value:t.deviceId,children:t.label||"Padrão"},t.deviceId||t.label))]})]}),m.jsxs("label",{className:Ym`space-y-1 text-xs text-slate-700`,children:[m.jsxs("span",{className:Ym`flex items-center gap-1.5 font-semibold`,children:[m.jsx(Pp,{className:Ym`text-sm text-primary`}),"Saída"]}),m.jsxs("select",{className:Ym`w-full rounded-lg border border-slate-200 bg-white px-2.5 py-1.5 text-[11px] shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40 sm:text-xs`,value:et??"",onChange:Wt,children:[0===J.outputs.length&&m.jsx("option",{value:"",children:"Padrão"}),J.outputs.map(t=>m.jsx("option",{value:t.deviceId,children:t.label||"Padrão"},t.deviceId||t.label))]})]})]})]})]}),(E||T||rt)&&m.jsxs("div",{className:Ym`space-y-1.5`,children:[E&&m.jsxs("div",{className:Ym`flex items-start gap-2 rounded-xl border border-rose-200 bg-rose-50 px-2.5 py-2 text-[11px] text-rose-700`,children:[m.jsx(Np,{className:Ym`mt-0.5 text-xs`}),m.jsx("span",{children:E})]}),T&&m.jsxs("div",{className:Ym`flex items-start gap-2 rounded-xl border border-amber-200 bg-amber-50 px-2.5 py-2 text-[11px] text-amber-700`,children:[m.jsx(Np,{className:Ym`mt-0.5 text-xs`}),m.jsx("span",{children:T})]}),rt&&m.jsxs("div",{className:Ym`flex items-start gap-2 rounded-xl border border-sky-200 bg-sky-50 px-2.5 py-2 text-[11px] text-sky-700`,children:[m.jsx(Np,{className:Ym`mt-0.5 text-xs`}),m.jsx("span",{children:rt})]})]}),lt&&m.jsx("div",{className:Ym`fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4`,children:m.jsxs("div",{className:Ym`bg-white rounded-2xl shadow-2xl max-w-md w-full p-6 space-y-4`,children:[m.jsxs("div",{className:Ym`flex items-center justify-between`,children:[m.jsx("h3",{className:Ym`text-lg font-bold text-slate-800`,children:"Selecione uma Pausa"}),m.jsx("button",{type:"button",onClick:()=>{ct(!1),ht(null)},className:Ym`text-slate-400 hover:text-slate-600 transition`,children:m.jsx(Yp,{className:Ym`text-xl`})})]}),ft&&m.jsxs("div",{className:Ym`rounded-lg bg-red-50 border border-red-200 px-3 py-2 flex items-start gap-2`,children:[m.jsx(Np,{className:Ym`text-red-500 shrink-0 mt-0.5`}),m.jsx("p",{className:Ym`text-sm text-red-700`,children:ft})]}),pt&&0!==pt.length?m.jsx("div",{className:Ym`space-y-2 max-h-96 overflow-y-auto`,children:pt.map(t=>m.jsxs("button",{type:"button",onClick:()=>Lt(t.id),className:Ym`w-full flex items-center gap-3 rounded-lg border border-slate-200 bg-white px-4 py-3 text-left transition-all hover:border-amber-300 hover:bg-amber-50 hover:shadow-md`,children:[m.jsx(jp,{className:Ym`text-xl text-amber-600 shrink-0`}),m.jsxs("div",{className:Ym`flex-1 min-w-0`,children:[m.jsx("p",{className:Ym`font-semibold text-slate-800 truncate`,children:t.name}),m.jsxs("p",{className:Ym`text-xs text-slate-500`,children:["ID: ",t.id]})]})]},t.id))}):m.jsx("div",{className:Ym`text-center py-8`,children:m.jsx("p",{className:Ym`text-slate-500`,children:"Nenhuma pausa disponível"})}),m.jsx("button",{type:"button",onClick:()=>{ct(!1),ht(null)},className:Ym`w-full rounded-lg border border-slate-200 bg-slate-50 px-4 py-2 text-sm font-semibold text-slate-600 transition hover:bg-slate-100`,children:"Cancelar"})]})}),m.jsxs("button",{type:"button",onClick:i,className:Ym`flex w-full items-center justify-center gap-2 rounded-2xl border border-slate-200 bg-white px-4 py-3 text-sm font-semibold text-slate-600 transition hover:border-red-400 hover:text-red-500`,children:[m.jsx(kp,{className:Ym`text-base`}),"Sair"]})]})}function Xv(t){if(!t)return"";const e=t.normalize("NFKC");let n="";for(const r of e)(/^[0-9*#]$/.test(r)||"+"===r&&0===n.length)&&(n+=r);return n}function Jv(t,e){const n=function(t){return t&&"object"==typeof t?t:null}(t);if(n&&e in n)return n[e]}function Zv(t,e){const n=Jv(t,e);return"function"==typeof n?n:void 0}function Qv(t){const e=Jv(t,"counterpart");return function(t){if(!t||"object"!=typeof t)return!1;const e=t,n=e.displayName,r=e.phoneNumber;return!(null!=n&&"string"!=typeof n||null!=r&&"string"!=typeof r)}(e)?e:null}function tg(t,e){const n=t[e];if("number"==typeof n&&Number.isFinite(n))return n;if("string"==typeof n){const t=Number(n);if(Number.isFinite(t))return t}return null}const eg={1:[1209,697],2:[1336,697],3:[1477,697],4:[1209,770],5:[1336,770],6:[1477,770],7:[1209,852],8:[1336,852],9:[1477,852],"*":[1209,941],0:[1336,941],"#":[1477,941]};function ng(t,e,n){return Number.isFinite(t)?n<e?e:Math.min(Math.max(t,e),n):e}function rg({username:t,result:e,onChangeResult:n,successQualifications:r,discardQualifications:i,selectedQualificationId:o,onSelectQualification:a,onSubmit:d,isSubmitting:s,errorMessage:u,onLogout:l}){const c="success"===e?r:i,f=c.length>0;return m.jsxs("div",{className:Ym`space-y-5`,children:[m.jsxs("div",{className:Ym`space-y-1`,children:[m.jsx("p",{className:Ym`text-xs uppercase tracking-wide text-slate-500`,children:"Logado como"}),m.jsx("p",{className:Ym`text-sm font-semibold text-slate-800`,children:t})]}),m.jsxs("div",{className:Ym`space-y-4 rounded-2xl border border-slate-200 bg-slate-50 px-4 py-5`,children:[m.jsxs("div",{children:[m.jsx("p",{className:Ym`text-sm font-semibold text-slate-700`,children:"Qualifique a chamada"}),m.jsx("p",{className:Ym`text-xs text-slate-500`,children:"Esta etapa e obrigatoria para registrar o desfecho do atendimento."})]}),m.jsxs("div",{className:Ym`grid grid-cols-2 gap-2`,children:[m.jsx("button",{type:"button",onClick:()=>n("success"),className:Ym`${"success"===e?"bg-emerald-500 text-white shadow-lg":"bg-white text-slate-600"} rounded-xl border border-slate-200 px-3 py-2 text-sm font-semibold transition hover:border-emerald-400`,children:"Atendimento concluido"}),m.jsx("button",{type:"button",onClick:()=>n("failure"),className:Ym`${"failure"===e?"bg-rose-500 text-white shadow-lg":"bg-white text-slate-600"} rounded-xl border border-slate-200 px-3 py-2 text-sm font-semibold transition hover:border-rose-400`,children:"Atendimento descartado"})]}),m.jsxs("div",{className:Ym`space-y-2`,children:[m.jsx("p",{className:Ym`text-sm font-medium text-slate-700`,children:"Selecione uma qualificacao"}),f?m.jsx("div",{className:Ym`max-h-52 space-y-2 overflow-y-auto pr-1`,children:c.map(t=>{const e=o===t.id;return m.jsx("button",{type:"button",onClick:()=>a(t.id),className:Ym`${e?"ring-2 ring-primary bg-primary/5 border-primary":"border-slate-200 bg-white"} w-full rounded-xl border px-3 py-2 text-left transition hover:border-primary`,children:m.jsx("p",{className:Ym`text-sm font-semibold text-slate-800`,children:t.name})},t.id)})}):m.jsx("div",{className:Ym`rounded-xl border border-amber-200 bg-amber-50 px-3 py-2 text-sm text-amber-700`,children:"Nenhuma qualificacao disponivel para este tipo de resultado."})]}),u&&m.jsx("p",{className:Ym`text-xs text-red-500`,children:u}),m.jsxs("button",{type:"button",onClick:d,disabled:!f||!o||s,className:Ym`flex w-full items-center justify-center gap-2 rounded-xl bg-primary px-4 py-2 text-sm font-semibold text-white shadow-lg transition hover:bg-primaryDark disabled:cursor-not-allowed disabled:opacity-60`,children:[s&&m.jsx("span",{className:Ym`inline-flex h-4 w-4 animate-spin rounded-full border-2 border-white/40 border-t-white`}),"Finalizar atendimento"]})]}),m.jsxs("button",{type:"button",onClick:l,className:Ym`flex w-full items-center justify-center gap-2 rounded-xl border border-slate-200 bg-white px-4 py-2 text-sm font-semibold text-slate-600 transition hover:border-red-400 hover:text-red-500`,children:[m.jsx(kp,{className:Ym`text-base`}),"Sair"]})]})}function ig({statusLabel:t,callTarget:e,durationSeconds:n}){const r=n>0?function(t){const e=Math.max(0,Math.floor(t));return`${Math.floor(e/60).toString().padStart(2,"0")}:${(e%60).toString().padStart(2,"0")}`}(n):"00:00",i=(null==e?void 0:e.replace(/^\+55/,""))||"Conectando...";return m.jsx("div",{className:Ym`rounded-lg border border-emerald-200 bg-gradient-to-br from-emerald-50 to-white px-3 py-2`,children:m.jsxs("div",{className:Ym`flex items-center justify-between gap-3`,children:[m.jsxs("div",{className:Ym`flex items-center gap-2.5 min-w-0 flex-1`,children:[m.jsx("div",{className:Ym`flex items-center justify-center w-8 h-8 rounded-full bg-emerald-500 shrink-0 ${n>0?"animate-pulse":""}`,children:m.jsx(Up,{className:Ym`text-sm text-white`})}),m.jsxs("div",{className:Ym`flex flex-col gap-0.5 min-w-0 flex-1`,children:[m.jsx("span",{className:Ym`text-base font-bold text-slate-800 truncate font-mono`,children:i}),m.jsx("span",{className:Ym`text-[9px] font-medium text-emerald-600 uppercase tracking-wider`,children:t})]})]}),n>0&&m.jsxs("div",{className:Ym`flex items-center gap-1.5 bg-emerald-500 rounded-lg px-2.5 py-1.5 shrink-0`,children:[m.jsx(Ip,{className:Ym`text-xs text-white`}),m.jsx("span",{className:Ym`text-sm font-bold tabular-nums text-white`,children:r})]})]})})}function og(t){return m.jsxs("div",{style:{width:"100%",height:"100%"},children:[m.jsx("style",{dangerouslySetInnerHTML:{__html:"\n .callix-inline-wrapper {\n position: relative;\n display: flex;\n width: 100%;\n height: 100%;\n }\n .callix-inline-wrapper > div {\n position: static !important;\n inset: auto !important;\n transform: none !important;\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n height: 100% !important;\n max-height: 100% !important;\n min-height: 0 !important;\n }\n .callix-inline-wrapper [data-floating-dialer-card] {\n width: 100% !important;\n max-width: 100% !important;\n min-width: 0 !important;\n height: 100% !important;\n max-height: 100% !important;\n min-height: 0 !important;\n box-shadow: none !important;\n backdrop-filter: none !important;\n }\n .callix-inline-wrapper [data-floating-dialer-card] > * {\n width: 100% !important;\n height: 100% !important;\n }\n .callix-inline-wrapper [data-floating-dialer-resize] {\n display: none !important;\n }\n "}}),m.jsx("div",{className:"callix-inline-wrapper",children:m.jsx(Kv,{...t})})]})}class ag{constructor(t){this.root=null,this.container=null,this.options=t}init(){try{if("string"==typeof this.options.container?this.container=document.querySelector(this.options.container):this.container=this.options.container,!this.container)throw new Error(`Container não encontrado: ${this.options.container}`);this.root=y.createRoot(this.container),this.root.render(m.jsx(t.StrictMode,{children:m.jsx(sg,{options:this.options})})),this.options.onReady&&this.options.onReady()}catch(e){this.options.onError?this.options.onError(e):console.error("[Callix Dialer] Erro ao inicializar:",e)}}destroy(){this.root&&(this.root.unmount(),this.root=null)}}const dg=288e5;function sg({options:e}){const[n,r]=t.useState(null),[i,o]=t.useState(!1),[a,d]=t.useState(!1),[s,u]=t.useState(null),[l,c]=t.useState(null),[f,h]=t.useState(null),[p,$]=t.useState(!0);t.useEffect(()=>{if("undefined"!=typeof window)try{const t=localStorage.getItem(STORAGE_KEYS.USERNAME),e=localStorage.getItem(STORAGE_KEYS.SESSION_TOKEN),n=localStorage.getItem(STORAGE_KEYS.DOMAIN),i=localStorage.getItem(STORAGE_KEYS.TIMESTAMP);if(t&&e&&n&&i){const a=parseInt(i,10);Date.now()-a<dg?(console.log("[Callix Dialer] Restaurando sessão salva:",t),r(t),c(e),h(n),o(!0)):(console.log("[Callix Dialer] Sessão expirada, limpando..."),localStorage.removeItem(STORAGE_KEYS.USERNAME),localStorage.removeItem(STORAGE_KEYS.SESSION_TOKEN),localStorage.removeItem(STORAGE_KEYS.DOMAIN),localStorage.removeItem(STORAGE_KEYS.TIMESTAMP))}}catch(t){console.error("[Callix Dialer] Erro ao restaurar sessão:",t)}finally{$(!1)}else $(!1)},[]);const v=async t=>{d(!0),u(null);try{const i=e.apiUrl||"/api/user-sdk-session",a=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:t}),credentials:"same-origin"});if(!a.ok){const t=await a.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(t.error||`Falha na autenticação: ${a.status}`)}const d=await a.json();if(c(d.userSessionToken),h(d.domain||"villelabrasil.callix.com.br"),r(t),o(!0),u(null),"undefined"!=typeof window)try{localStorage.setItem(STORAGE_KEYS.USERNAME,t),localStorage.setItem(STORAGE_KEYS.SESSION_TOKEN,d.userSessionToken),localStorage.setItem(STORAGE_KEYS.DOMAIN,d.domain||"villelabrasil.callix.com.br"),localStorage.setItem(STORAGE_KEYS.TIMESTAMP,Date.now().toString()),console.log("[Callix Dialer] Sessão salva no localStorage")}catch(n){console.warn("[Callix Dialer] Não foi possível salvar sessão:",n)}console.log("[Callix Dialer] Autenticado com sucesso:",t)}catch(n){console.error("[Callix Dialer] Erro ao autenticar:",n),u(n instanceof Error?n.message:"Erro ao autenticar"),o(!1),c(null)}finally{d(!1)}},g=()=>{if(r(null),o(!1),c(null),h(null),u(null),"undefined"!=typeof window)try{localStorage.removeItem(STORAGE_KEYS.USERNAME),localStorage.removeItem(STORAGE_KEYS.SESSION_TOKEN),localStorage.removeItem(STORAGE_KEYS.DOMAIN),localStorage.removeItem(STORAGE_KEYS.TIMESTAMP),console.log("[Callix Dialer] Sessão removida do localStorage")}catch(t){console.warn("[Callix Dialer] Não foi possível limpar sessão:",t)}},y="inline"===e.mode?og:Kv;return i&&l&&f?m.jsx(_f.CallixClientProvider,{domain:f,userSessionToken:l,children:m.jsx(y,{isAuthenticated:i,username:n,onLogin:v,onLogout:g,isLoadingSession:a,sessionError:s})}):m.jsx(y,{isAuthenticated:!1,username:n,onLogin:v,onLogout:g,isLoadingSession:a||p,sessionError:s})}const ug={CallixDialerWidget:ag,init:function(t){const e=new ag(t);return e.init(),e}};return"undefined"!=typeof window&&(window.CallixDialer=ug),ug});
|
|
27
27
|
//# sourceMappingURL=callix-dialer.umd.js.map
|