callix-dialer-widget 1.3.0 → 1.3.2
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 t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{CallixClientParams:()=>s.CallixClientParams,CallixClientProvider:()=>m,CallixClientSdk:()=>s.CallixClientSdk,useCallOperator:()=>C,useCallOperatorAudioInputMuted:()=>M,useCallOperatorAudioOutputControls:()=>P,useCallOperatorAudioOutputMuted:()=>D,useCallOperatorAudioOutputVolume:()=>k,useCallOperatorBreaks:()=>L,useCallOperatorControls:()=>E,useCallOperatorCurrentCall:()=>T,useCallOperatorCurrentCallControls:()=>I,useCallOperatorCurrentCallInfo:()=>A,useCallOperatorDiscardQualifications:()=>O,useCallOperatorEventListener:()=>R,useCallOperatorState:()=>x,useCallOperatorSuccessQualifications:()=>N,useCallixClient:()=>$}),t=a,mf=((e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let d of i(t))!o.call(e,d)&&d!==a&&n(e,d,{get:()=>t[d],enumerable:!(s=r(t,d))||s.enumerable});return e})(n({},"__esModule",{value:!0}),t);var s=sf(),d=sf(),u=hf(),l=bf(),c=p(),f=(0,u.createScope)(null),h=(0,u.molecule)((e,t)=>{let n=t(f);if(!n)throw new Error("Missing CallixClient parameters. You must wrap your component tree with CallixClientProvider.");return new d.CallixClientSdk(n)});function $(){return(0,l.useMolecule)(h)}function m({children:e,...t}){return(0,c.jsx)(l.ScopeProvider,{scope:f,value:t,children:e})}var v=hf(),g=bf(),y=e,b=e;function _(e){return(0,b.useSyncExternalStore)(e.subscribe.bind(e),e.get.bind(e),e.get.bind(e))}var w=(0,v.molecule)(e=>{let t=e(h).createCallOperator();return(0,v.onMount)(()=>{t.start();let e=()=>{t.stop()};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}}),(0,v.onUnmount)(()=>{t.stop()}),t});function C(){return(0,g.useMolecule)(w)}function x(){let e=C(),t=_(e.currentStateKeys);for(let n of t){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:e.currentBreak.get()};if("available.callRinging"===n)return{state:"callRinging",call:e.currentCall.get()};if("manualCall.callSetup"===n)return{state:"manualCallSetup",call:e.currentCall.get()};if("manualCall.callRinging"===n)return{state:"manualCallRinging",call:e.currentCall.get()};if("available"===n||"manualCall.idle"===n)return{state:"idle"};if("inCall"===n)return{state:"callInProgress",call:e.currentCall.get()};if("afterCall"===n)return{state:"afterCall"}}}function S(e,t,n){return Object.fromEntries(n.map(n=>[n,(0,y.useCallback)((...r)=>{if(t){if("function"==typeof t[n])return(null==t?void 0:t[n]).apply(t,r);console.warn(`Method ${String(n)} is not a function on obj ${e}.`)}else console.warn(`Obj ${e} is null or undefined, cannot call method ${String(n)}.`)},[t])]))}function E(){return S("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 S("currentCall",T(),["answer","reject","hangup","isOnHold","hold","unhold","isMuted","mute","unmute"])}function R(e,t){let n=C(),r=(0,y.useRef)(t);r.current=t,(0,y.useEffect)(()=>{if(n)return n.on(e,(...e)=>{r.current.apply(null,e)})},[e,n])}function P(){return S("audioOutput",C().audioOutput,["setVolume","setMute"])}function k(){let e=C(),{setVolume:t}=P();return[_(e.audioOutput.volume),t]}function D(){let e=C(),{setMute:t}=P();return[_(e.audioOutput.isMuted),t]}function M(){let e=T(),[t,n]=(0,y.useState)((null==e?void 0:e.isMuted())??!1);return[t,(0,y.useCallback)(t=>{e&&(t?e.mute():e.unmute(),n(t))},[e])]}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(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[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 e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var xf={}.constructor;function Sf(e){return null!=e&&e.constructor===xf}function Ef(e){return(Ef="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Af(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Nf(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Nf(e){var t=function(e,t){if("object"!=Ef(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Ef(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==Ef(t)?t:t+""}var Of=" ext. ",If=/^\d+$/,Rf=function(){return Af(function e(t){Tf(this,e),jf(t),this.metadata=t,Bf.call(this,t)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return"001"!==e})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&If.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw new Error("Unknown country: ".concat(e));this.numberingPlan=new Pf(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw new Error("Unknown calling code: ".concat(t));this.numberingPlan=new Pf(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];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(e){return this.numberingPlan.type(e)}},{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(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}])}(),Pf=function(){return Af(function e(t,n){Tf(this,e),this.globalMetadataObject=n,this.metadata=t,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(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new kf(t,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[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(e){if(this.hasTypes()&&Lf(this.types(),e))return new Mf(Lf(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?Of:this.metadata[13]||Of}}])}(),kf=function(){return Af(function e(t,n){Tf(this,e),this._format=t,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 e(t,n){Tf(this,e),this.type=t,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(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function jf(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Sf(e)||!Sf(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Sf(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Uf(e)+": "+e,"."))}var Uf=function(e){return Ef(e)};function Ff(e,t){if((t=new Rf(t)).hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Bf(e){var t=e.version;"number"==typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===Cf(t,"1.2.0")?this.v2=!0:-1===Cf(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function qf(e,t,n){return function(e,t,n,r){t&&(r=new Rf(r.metadata)).selectNumberingPlan(t);var i=r.type(n),o=i&&i.possibleLengths()||r.possibleLengths();if(!o)return"IS_POSSIBLE";var a=e.length,s=o[0];if(s===a)return"IS_POSSIBLE";if(s>a)return"TOO_SHORT";if(o[o.length-1]<a)return"TOO_LONG";return o.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(e,t,void 0,n)}function Hf(e,t,n){return"IS_POSSIBLE"===qf(e,t,n)}function zf(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Gf(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Wf(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wf(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Vf=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Kf(e,t,n){if(t=t||{},e.country||e.countryCallingCode){(n=new Rf(n)).selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.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(Vf);!(i=o()).done;){var a=i.value;if(Yf(r,a,n))return a}}}}function Yf(e,t,n){return!(!(t=n.type(t))||!t.pattern())&&(!(t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0)&&zf(e,t.pattern()))}function Xf(e,t,n){var r=new Rf(n).getCountryCodesForCallingCode(e);return r?r.filter(function(e){return function(e,t,n){var r=new Rf(n);if(r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0)return!0;return!1}(t,e,n)}):[]}var Jf="0-90-9٠-٩۰-۹",Zf="".concat("-‐-―−ー-").concat("//").concat("..").concat(" ").concat("()()[]\\[\\]").concat("~⁓∼~"),Qf=new RegExp("(["+Jf+"])");function eh(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return th(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?th(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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 th(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nh(e,t){var n=t.nationalNumber,r=t.metadata,i=r.getCountryCodesForCallingCode(e);if(i)return 1===i.length?i[0]:function(e,t){var n=t.countries,r=t.metadata;r=new Rf(r);for(var i,o=eh(n);!(i=o()).done;){var a=i.value;if(r.selectNumberingPlan(a),r.leadingDigits()){if(e&&0===e.search(r.leadingDigits()))return a}else if(Kf({phone:e,country:a},void 0,r.metadata))return a}}(n,{countries:i,metadata:r.metadata})}function rh(e,t,n){var r=function(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var i,o,a,s=r.length-1,d=s>0&&r[s];if(t.nationalPrefixTransformRule()&&d)i=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(o=r[1]);else{var u=r[0];i=e.slice(u.length),d&&(o=r[1])}if(d){var l=e.indexOf(r[1]);e.slice(0,l)===t.numberingPlan.nationalPrefix()&&(a=t.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:i,nationalPrefix:a,carrierCode:o}}}return{nationalNumber:e}}(e,n),i=r.carrierCode,o=r.nationalNumber;if(o!==e){if(!function(e,t,n){if(zf(e,n.nationalNumberPattern())&&!zf(t,n.nationalNumberPattern()))return!1;return!0}(e,o,n))return{nationalNumber:e};if(n.numberingPlan.possibleLengths()&&(t||(t=nh(n.numberingPlan.callingCode(),{nationalNumber:o,metadata:n})),!function(e,t,n){switch(qf(e,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,t,n)))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:i}}function ih(e,t,n,r,i){if(!e)return{};var o;if("+"!==e[0]){var a=function(e,t,n,r){if(t){var i=new Rf(r);i.selectNumberingPlan(t,n);var o=new RegExp(i.IDDPrefix());if(0===e.search(o)){var a=(e=e.slice(e.match(o)[0].length)).match(Qf);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return e}}}(e,n,r,i);if(!a||a===e){if(n||r){var s=function(e,t,n,r,i){var o=n?Ff(n,i):r;if(0===e.indexOf(o)){(i=new Rf(i)).selectNumberingPlan(n,o);var a=e.slice(o.length),s=rh(a,t,i).nationalNumber,d=rh(e,t,i).nationalNumber;if(!zf(d,i.nationalNumberPattern())&&zf(s,i.nationalNumberPattern())||"TOO_LONG"===qf(d,t,i))return{countryCallingCode:o,number:a}}return{number:e}}(e,t,n,r,i),d=s.countryCallingCode,u=s.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:u}}return{number:e}}o=!0,e="+"+a}if("0"===e[1])return{};i=new Rf(i);for(var l=2;l-1<=3&&l<=e.length;){var c=e.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:e.slice(l)};l++}return{}}var oh=/(\$\d)/;function ah(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix,o=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(oh,t.nationalPrefixFormattingRule()):t.format());return r?function(e){return e.replace(new RegExp("[".concat(Zf,"]+"),"g")," ").trim()}(o):o}var sh=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;var dh=function(e){return"([".concat(Jf,"]{1,").concat(e,"})")};function uh(e){var t="[ \\t,]*",n="[:\\..]?[ \\t,-]*",r="#?",i="[ \\t]*";return";ext="+dh("20")+"|"+(t+"(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)"+n+dh("20")+r)+"|"+(t+"(?:[xx##~~]|int|int)"+n+dh("9")+r)+"|"+("[- ]+"+dh("6")+"#")+"|"+(i+"(?:,{2}|;)"+n+dh("15")+r)+"|"+(i+"(?:,)+"+n+dh("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(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function mh(e,t,n,r){if(n=n?function(){for(var e=1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var i in n[e])n[0][i]=n[e][i];e++}return n[0]}({},$h,n):$h,r=new Rf(r),e.country&&"001"!==e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)return e.phone||"";r.selectNumberingPlan(e.countryCallingCode)}var i,o=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":return a?gh(i=vh(a,e.carrierCode,"NATIONAL",r,n),e.ext,r,n.formatExtension):"";case"INTERNATIONAL":return a?(i=vh(a,null,"INTERNATIONAL",r,n),gh(i="+".concat(o," ").concat(i),e.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return function(e){var t=e.number,n=e.ext;if(!t)return"";if("+"!==t[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}({number:"+".concat(o).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var s=function(e,t,n,r,i){var o=Ff(r,i.metadata);if(o===n){var a=vh(e,t,"NATIONAL",i);return"1"===n?n+" "+a:a}var s=function(e,t,n){var r=new Rf(n);return r.selectNumberingPlan(e,t),r.defaultIDDPrefix()?r.defaultIDDPrefix():sh.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,void 0,i.metadata);if(s)return"".concat(s," ").concat(n," ").concat(vh(e,null,"INTERNATIONAL",i))}(a,e.carrierCode,o,n.fromCountry,r);return gh(s,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function vh(e,t,n,r,i){var o,a,s=(o=r.formats(),a=e,function(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}(o,function(e){if(e.leadingDigitsPatterns().length>0){var t=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(0!==a.search(t))return!1}return zf(a,e.pattern())}));return s?ah(e,s,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!s.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix}):e}function gh(e,t,n,r){return t?r(e,t,n):e}function yh(e){return(yh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bh(Object(n),!0).forEach(function(t){wh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wh(e,t,n){return(t=xh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ch(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xh(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function xh(e){var t=function(e,t){if("object"!=yh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=yh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==yh(t)?t:t+""}var Sh=function(){return Ch(function e(t,n,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new TypeError("First argument is required");if("string"!=typeof t)throw new TypeError("First argument must be a string");if("+"===t[0]&&!n)throw new TypeError("`metadata` argument not passed");if(Sf(n)&&Sf(n.countries)){r=n;var i=t;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(t=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(e,t){var n,r,i=new Rf(t);Eh(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=e;return{country:n,countryCallingCode:r}}(t,r),s=a.country,d=a.countryCallingCode;this.country=s,this.countryCallingCode=d,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}},[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Xf(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function(e,t,n){if(void 0===t&&(t={}),n=new Rf(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Hf(e.phone||e.nationalNumber,e.country,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return e=this,t={v2:!0},n=this.getMetadata(),t=t||{},(n=new Rf(n)).selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes()?void 0!==Kf(e,t,n.metadata):zf(t.v2?e.nationalNumber:e.phone,n.nationalNumberPattern());var e,t,n}},{key:"isNonGeographic",value:function(){return new Rf(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return Kf(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,t){return mh(this,e,t?_h(_h({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}])}(),Eh=function(e){return/^[A-Z]{2}$/.test(e)};var Th=/^\+\d+$/;function Ah(e){return(Ah="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Nh(e,t,n){return t=Ph(t),function(e,t){if(t&&("object"==Ah(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ih()?Reflect.construct(t,n||[],Ph(e).constructor):t.apply(e,n))}function Oh(e){var t="function"==typeof Map?new Map:void 0;return Oh=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(Ih())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Rh(i,n.prototype),i}(e,arguments,Ph(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Rh(n,e)},Oh(e)}function Ih(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ih=function(){return!!e})()}function Rh(e,t){return(Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ph(e){return(Ph=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var kh=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=Nh(this,t,[e]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rh(e,t)}(t,e),n=t,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(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return jh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jh(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Uh(e){for(var t,n="",r=Lh(e.split(""));!(t=r()).done;){n+=Fh(t.value,n)||""}return n}function Fh(e,t,n){if("+"===e){if(t)return;return"+"}return function(e){return Mh[e]}(e)}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(e,t){var n,r=t.extractFormattedPhoneNumber,i=function(e){var t=e.indexOf(Gh);if(t<0)return null;var n=t+15;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}(e);if(!function(e){return null===e||0!==e.length&&(qh.test(e)||Hh.test(e))}(i))throw new kh("NOT_A_NUMBER");if(null===i)n=r(e)||"";else{n="","+"===i.charAt(0)&&(n+=i);var o,a=e.indexOf(zh);o=a>=0?a+4:0;var s=e.indexOf(Gh);n+=e.substring(o,s)}var d=n.indexOf(";isub=");if(d>0&&(n=n.substring(0,d)),""!==n)return n}var Vh=new RegExp("[++"+Jf+"]"),Kh=new RegExp("[^"+Jf+"#]+$");function Yh(e,t,n){if(t=t||{},n=new Rf(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry)){if(t.v2)throw new kh("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(t.defaultCountry))}var r=function(e,t,n){var r=Wh(e,{extractFormattedPhoneNumber:function(e){return function(e,t,n){if(!e)return;if(e.length>250){if(n)throw new kh("TOO_LONG");return}if(!1===t)return e;var r=e.search(Vh);if(r<0)return;return e.slice(r).replace(Kh,"")}(e,n,t)}});if(!r)return{};if(!function(e){return e.length>=2&&ph.test(e)}(r))return function(e){return fh.test(e)}(r)?{error:"TOO_SHORT"}:{};var i=function(e){var t=e.search(Dh);if(t<0)return{};for(var n=e.slice(0,t),r=e.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}}(e,t.v2,t.extract),i=r.number,o=r.ext,a=r.error;if(!i){if(t.v2){if("TOO_SHORT"===a)throw new kh("TOO_SHORT");throw new kh("NOT_A_NUMBER")}return{}}var s=function(e,t,n,r){var i,o=ih(Uh(e),void 0,t,n,r.metadata),a=o.countryCallingCodeSource,s=o.countryCallingCode,d=o.number;if(s)r.selectNumberingPlan(s);else{if(!d||!t&&!n)return{};r.selectNumberingPlan(t,n),t&&(i=t),s=n||Ff(t,r.metadata)}if(!d)return{countryCallingCodeSource:a,countryCallingCode:s};var u=rh(Uh(d),i,r),l=u.nationalNumber,c=u.carrierCode,f=nh(s,{nationalNumber:l,metadata:r});f&&(i=f,"001"===f||r.selectNumberingPlan(i));return{country:i,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:l,carrierCode:c}}(i,t.defaultCountry,t.defaultCallingCode,n),d=s.country,u=s.nationalNumber,l=s.countryCallingCode,c=s.countryCallingCodeSource,f=s.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new kh("INVALID_COUNTRY");return{}}if(!u||u.length<2){if(t.v2)throw new kh("TOO_SHORT");return{}}if(u.length>17){if(t.v2)throw new kh("TOO_LONG");return{}}if(t.v2){var h=new Sh(l,u,n.metadata);return d&&(h.country=d),f&&(h.carrierCode=f),o&&(h.ext=o),h.__countryCallingCodeSource=c,h}var p=!!(t.extended?n.hasSelectedNumberingPlan():d)&&zf(u,n.nationalNumberPattern());return t.extended?{country:d,countryCallingCode:l,carrierCode:f,valid:p,possible:!!p||!(!0!==t.extended||!n.possibleLengths()||!Hf(u,d,n)),phone:u,ext:o}:p?function(e,t,n){var r={country:e,phone:t};n&&(r.ext=n);return r}(d,u,o):{}}function Xh(e){return(Xh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jh(Object(n),!0).forEach(function(t){Qh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qh(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Xh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Xh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ep(e){return(ep="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function np(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ep(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=ep(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ep(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],d=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(d=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);d=!0);}catch(l){u=!0,i=l}finally{try{if(!d&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ip(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ip(e,t):void 0}}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function op(e){var t,n,r,i=rp(Array.prototype.slice.call(e),4),o=i[0],a=i[1],s=i[2],d=i[3];if("string"!=typeof o)throw new TypeError("A text for parsing must be a string.");if(t=o,a&&"string"!=typeof a){if(!Sf(a))throw new Error("Invalid second argument: ".concat(a));s?(n=a,r=s):r=a}else d?(n=s,r=d):(n=void 0,r=s),a&&(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tp(Object(n),!0).forEach(function(t){np(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({defaultCountry:a},n));return{text:t,options:n,metadata:r}}function ap(e){return(ap="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sp(Object(n),!0).forEach(function(t){up(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function up(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ap(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=ap(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ap(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lp(e,t,n){t&&t.defaultCountry&&!function(e,t){return t.countries.hasOwnProperty(e)}(t.defaultCountry,n)&&(t=dp(dp({},t),{},{defaultCountry:void 0}));try{return function(e,t,n){return Yh(e,Zh(Zh({},t),{},{v2:!0}),n)}(e,t,n)}catch(r){if(!(r instanceof kh))throw r}}function cp(e){return(cp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fp(Object(n),!0).forEach(function(t){pp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pp(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=cp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=cp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $p(){var e=op(arguments),t=e.text,n=e.options,r=e.metadata,i=lp(t,n=hp(hp({},n),{},{extract:!1}),r);return i&&i.isValid()||!1}function mp(){return function(e,t){var n=Array.prototype.slice.call(t);return n.push(wf),e.apply(this,n)}($p,arguments)}var vp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},gp=e.createContext&&e.createContext(vp),yp=["attr","size","title"];function bp(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _p(){return _p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_p.apply(this,arguments)}function wp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wp(Object(n),!0).forEach(function(t){xp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xp(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sp(t){return t&&t.map((t,n)=>e.createElement(t.tag,Cp({key:n},t.attr),Sp(t.child)))}function Ep(t){return n=>e.createElement(Tp,_p({attr:Cp({},t.attr)},n),Sp(t.child))}function Tp(t){var n=n=>{var r,{attr:i,size:o,title:a}=t,s=bp(t,yp),d=o||n.size||"1em";return n.className&&(r=n.className),t.className&&(r=(r?r+" ":"")+t.className),e.createElement("svg",_p({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,s,{className:r,style:Cp(Cp({color:t.color||n.color},n.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),a&&e.createElement("title",null,a),t.children)};return void 0!==gp?e.createElement(gp.Consumer,null,e=>n(e)):n(vp)}function Ap(e){return Ep({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:[]}]})(e)}function Np(e){return Ep({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:[]}]})(e)}function Op(e){return Ep({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:[]}]})(e)}function Ip(e){return Ep({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:[]}]})(e)}function Rp(e){return Ep({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:[]}]})(e)}function Pp(e){return Ep({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:[]}]})(e)}function kp(e){return Ep({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:[]}]})(e)}function Dp(e){return Ep({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:[]}]})(e)}function Mp(e){return Ep({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:[]}]})(e)}function Lp(e){return Ep({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:[]}]})(e)}function jp(e){return Ep({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:[]}]})(e)}function Up(e){return Ep({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:[]}]})(e)}function Fp(e){return Ep({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:[]}]})(e)}function Bp(e){return Ep({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:[]}]})(e)}function qp(e){return Ep({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:[]}]})(e)}function Hp(e){return Ep({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:[]}]})(e)}function zp(e){return Ep({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:[]}]})(e)}function Gp(e){return Ep({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:[]}]})(e)}function Wp(e){return Ep({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:[]}]})(e)}function Vp(e){return Ep({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:[]}]})(e)}function Kp(e){return Ep({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:[]}]})(e)}function Yp(e){return Ep({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:[]}]})(e)}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,e$,t$,n$,r$,i$,o$=(e,t)=>!!~e.indexOf(t),a$=(e,t="-")=>e.join(t),s$=(e,t)=>a$(e.filter(Boolean),t),d$=(e,t=1)=>e.slice(t),u$=e=>e,l$=()=>{},c$=e=>e[0].toUpperCase()+d$(e),f$=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),h$=(e,t)=>{for(;"function"==typeof e;)e=e(t);return e},p$=(e,t)=>{e.size>t&&e.delete(e.keys().next().value)},$$=(e,t)=>!o$("@:&",e[0])&&(o$("rg",(typeof t)[5])||Array.isArray(t)),m$=(e,t,n)=>t?Object.keys(t).reduce((e,r)=>{const i=h$(t[r],n);return $$(r,i)?e[f$(r)]=i:e[r]="@"==r[0]&&o$("figa",r[1])?(e[r]||[]).concat(i):m$(e[r]||{},i,n),e},e):e,v$="undefined"!=typeof CSS&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& ")),g$=e=>(Array.isArray(e)||(e=[e]),"@media "+a$(e.map(e=>("string"==typeof e&&(e={min:e}),e.raw||a$(Object.keys(e).map(t=>`(${t}-width:${e[t]})`)," and "))),",")),y$=e=>{for(var t=9,n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return"tw-"+((t^t>>>9)>>>0).toString(36)},b$=(e="")=>(Jp.push(e),""),_$=e=>{Jp.length=Math.max(Jp.lastIndexOf("")+~~e,0)},w$=e=>e&&!o$("!:",e[0]),C$=e=>":"==e[0],x$=(e,t)=>{Zp.push({v:Jp.filter(C$),d:e,n:t,i:o$(Jp,"!"),$:""})},S$=e=>{const t="-"==e[0];t&&(e=d$(e));const n=a$(Jp.filter(w$));return x$("&"==e?n:(n&&n+"-")+e,t),""},E$=(e,t)=>{let n="";for(let r,i=!1,o=0;r=e[o++];)if(i||"["==r)n+=r,i="]"!=r;else switch(r){case":":n=n&&b$(":"+(e[o]==r?e[o++]:"")+n);break;case"(":n=n&&b$(n),b$();break;case"!":b$(r);break;case")":case" ":case"\t":case"\n":case"\r":n=n&&S$(n),_$(")"!==r);break;default:n+=r}n&&(t?b$(":"+n):"-"==n.slice(-1)?b$(n.slice(0,-1)):S$(n))},T$=e=>{b$(),A$(e),_$()},A$=e=>{switch(typeof e){case"string":E$(e);break;case"function":x$(e);break;case"object":Array.isArray(e)?e.forEach(T$):e&&Object.keys(e).forEach(t=>{((e,t)=>{if(t){b$();const n=o$("tbu",(typeof t)[1]);E$(e,n),n&&T$(t),_$()}})(t,e[t])})}},N$=new WeakMap,O$=e=>(Jp=[],Zp=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?(e=>{let t=N$.get(e);if(!t){let n=NaN,r="";t=e.map((t,i)=>{if(n==n||"["!=t.slice(-1)&&!o$(":-(",(e[i+1]||"")[0])||(n=i),i>=n)return o=>{i==n&&(r=""),r+=t,o$("rg",(typeof o)[5])?r+=o:o&&(E$(r),r="",A$(o)),i==e.length-1&&E$(r)};const o=Zp=[];E$(t);const a=[...Jp];return Zp=[],e=>{Zp.push(...o),Jp=[...a],e&&A$(e)}}),N$.set(e,t)}return t})(e[0]).forEach((t,n)=>t(e[n+1])):A$(e),Zp),I$=(e,t)=>("function"==typeof t&&(Qp=!1),t),R$=new WeakMap,P$=(e,t)=>{const n=(e=>{Qp=!0;const t=JSON.stringify(e,I$);return Qp&&t})(t);let r;if(n){var i=R$.get(e);i||R$.set(e,i=new Map),r=i.get(n)}return r||(r=Object.defineProperty((n,r)=>(r=Array.isArray(n)?r:n,h$(e(t,r),r)),"toJSON",{value:()=>n||t}),i&&(i.set(n,r),p$(i,1e4))),r},k$=(e,{css:t})=>t(O$(e)),D$=e=>(t,n,r,i)=>{if(t){const o=n&&e(n);if(o&&o.length>0)return o.reduce((e,n)=>(e[s$([r,n,i])]=t,e),{})}},M$=D$(e=>({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"]}[e])),L$=e=>{const t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},j$=D$(L$),U$=(e,t)=>e+(":"==t[1]?d$(t,2)+":":d$(t))+":",F$=(e,t=e.d)=>"function"==typeof t?"":e.v.reduce(U$,"")+(e.i?"!":"")+(e.n?"-":"")+t,B$=e=>"cols"==e?"columns":"rows",q$=e=>(t,n,r)=>({[e]:r+((e$=a$(t))&&"-"+e$)}),H$=(e,t)=>(n,r,i)=>(e$=a$(n,t))&&{[e||i]:e$},z$=e=>(t,{theme:n},r)=>(e$=n(e||r,t))&&{[e||r]:e$},G$=(e,t)=>(n,{theme:r},i)=>(e$=r(e||i,n,a$(n,t)))&&{[e||i]:e$},W$=(e,t)=>(n,r)=>e(n,r,t),V$=q$("display"),K$=q$("position"),Y$=q$("textTransform"),X$=q$("textDecoration"),J$=q$("fontStyle"),Z$=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),Q$=(e,{theme:t},n)=>(e$=t("inset",e))&&{[n]:e$},em=(e,t,n,r=n)=>(e$=t(r+"Opacity",d$(e)))&&{[`--tw-${n}-opacity`]:e$},tm=(e,t)=>Math.round(parseInt(e,16)*t),nm=(e,t,n)=>e&&"#"==e[0]&&(e$=(e.length-1)/3)&&(n$=[17,1,.062272][e$-1])?`rgba(${tm(e.substr(1,e$),n$)},${tm(e.substr(1+e$,e$),n$)},${tm(e.substr(1+2*e$,e$),n$)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,rm=(e,t,n)=>n&&"string"==typeof n?(e$=nm(n,t+"-opacity"))&&e$!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,e$]}:{[e]:n}:void 0,im=e=>(n$=nm(e,"","0"))==e$?"transparent":n$,om=(e,{theme:t},n,r,i,o)=>(e$={x:["right","left"],y:["bottom","top"]}[e[0]])&&(n$=`--tw-${n}-${e[0]}-reverse`)?"reverse"==e[1]?{[n$]:"1"}:{[n$]:"0",[s$([i,e$[0],o])]:(t$=t(r,d$(e)))&&`calc(${t$} * var(${n$}))`,[s$([i,e$[1],o])]:t$&&[t$,`calc(${t$} * calc(1 - var(${n$})))`]}:void 0,am=(e,t)=>t[0]&&{[e]:(o$("wun",(t[0]||"")[3])?"space-":"")+t[0]},sm=e=>t=>o$(["start","end"],t[0])?{[e]:"flex-"+t[0]}:am(e,t),dm=e=>(t,{theme:n})=>{if(e$=n("grid"+c$(e),t,""))return{["grid-"+e]:e$};switch(t[0]){case"span":return t[1]&&{["grid-"+e]:`span ${t[1]} / span ${t[1]}`};case"start":case"end":return(e$=n("grid"+c$(e)+c$(t[0]),d$(t),a$(d$(t))))&&{[`grid-${e}-${t[0]}`]:e$}}},um=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return H$("borderStyle")(e);case"collapse":case"separate":return H$("borderCollapse")(e);case"opacity":return em(e,t,n)}return(e$=t(n+"Width",e,""))?{borderWidth:e$}:rm("borderColor",n,t(n+"Color",e))},lm=e=>(e?"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=(e,t,n)=>e[0]&&(e$=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:"y"!==e[0]&&e$,[`--tw-${n}-y`]:"x"!==e[0]&&e$,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${e$})`,lm()]},fm=e=>(t,n,r)=>r[1]?j$(n.theme(e,t),r[1],e):z$(e)(t,n,r),hm=fm("padding"),pm=fm("margin"),$m=(e,{theme:t},n)=>(e$={w:"width",h:"height"}[e[0]])&&{[e$=`${n}${c$(e$)}`]:t(e$,d$(e))},mm=(e,{theme:t},n)=>{const r=n.split("-"),i="backdrop"==r[0]?r[0]+"-":"";if(i||e.unshift(...r),"filter"==e[0]){const t=["blur","brightness","contrast","grayscale","hue-rotate","invert",i&&"opacity","saturate","sepia",!i&&"drop-shadow"].filter(Boolean);return"none"==e[1]?{[i+"filter"]:"none"}:t.reduce((e,t)=>(e["--tw-"+i+t]="var(--tw-empty,/*!*/ /*!*/)",e),{[i+"filter"]:t.map(e=>`var(--tw-${i}${e})`).join(" ")})}return n$=e.shift(),o$(["hue","drop"],n$)&&(n$+=c$(e.shift())),(e$=t(i?"backdrop"+c$(n$):n$,e))&&{["--tw-"+i+n$]:(Array.isArray(e$)?e$:[e$]).map(e=>`${f$(n$)}(${e})`).join(" ")}},vm={group:(e,{tag:t},n)=>t(a$([n,...e])),hidden:W$(V$,"none"),inline:V$,block:V$,contents:V$,flow:V$,table:(e,t,n)=>o$(["auto","fixed"],e[0])?{tableLayout:e[0]}:V$(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return{flexDirection:a$("col"==e[0]?["column",...d$(e)]:e)};case"nowrap":case"wrap":return{flexWrap:a$(e)};case"grow":case"shrink":return null!=(e$=t.theme("flex"+c$(e[0]),d$(e),e[1]||1))&&{["flex-"+e[0]]:""+e$}}return(e$=t.theme("flex",e,""))?{flex:e$}:V$(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return(e$=t.theme("gridTemplate"+c$(B$(e[0])),d$(e),2==e.length&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:a$(d$(e))))&&{["gridTemplate-"+B$(e[0])]:e$};case"flow":return e.length>1&&{gridAutoFlow:a$("col"==e[1]?["column",...d$(e,2)]:d$(e)," ")}}return V$(e,t,n)},auto:(e,{theme:t})=>o$(["cols","rows"],e[0])&&(e$=t("gridAuto"+c$(B$(e[0])),d$(e),a$(d$(e))))&&{["gridAuto-"+B$(e[0])]:e$},static:K$,fixed:K$,absolute:K$,relative:K$,sticky:K$,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:e=>({resize:{x:"horizontal",y:"vertical"}[e[0]]||e[0]||"both"}),box:e=>e[0]&&{boxSizing:e[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:(e,{theme:t})=>(e$=L$(e[0]))?j$(t("inset",d$(e)),e[0]):(e$=t("inset",e))&&{top:e$,right:e$,bottom:e$,left:e$},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:(e,t,n)=>(e$=t.theme("fontFamily",e,""))?{fontFamily:e$}:z$("fontWeight")(e,t,n),items:e=>e[0]&&{alignItems:o$(["start","end"],e[0])?"flex-"+e[0]:a$(e)},"justify-self":H$(),"justify-items":H$(),justify:sm("justifyContent"),content:sm("alignContent"),self:sm("alignSelf"),place:e=>e[0]&&am("place-"+e[0],d$(e)),overscroll:e=>e[0]&&{["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]},col:dm("column"),row:dm("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:(e,t,n)=>o$(["ellipsis","clip"],e[0])?H$("textOverflow")(e):e[1]?{["overflow-"+e[0]]:e[1]}:H$()(e,t,n),transform:e=>"none"==e[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"==e[0])},rotate:(e,{theme:t})=>(e$=t("rotate",e))&&{"--tw-rotate":e$,transform:[`rotate(${e$})`,lm()]},scale:cm,translate:cm,skew:cm,gap:(e,t,n)=>(e$={x:"column",y:"row"}[e[0]])?{[e$+"Gap"]:t.theme("gap",d$(e))}:z$("gap")(e,t,n),stroke:(e,t,n)=>(e$=t.theme("stroke",e,""))?{stroke:e$}:z$("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(e$=t("outline",e))&&{outline:e$[0],outlineOffset:e$[1]},"break-normal":{wordBreak:"normal",overflowWrap:"normal"},"break-words":{overflowWrap:"break-word"},"break-all":{wordBreak:"break-all"},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return{textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return Y$([],e$,e[0]);case"opacity":return em(e,t,n)}const r=t("fontSize",e,"");return r?"string"==typeof r?{fontSize:r}:{fontSize:r[0],..."string"==typeof r[1]?{lineHeight:r[1]}:r[1]}:rm("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return H$("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return H$("backgroundPosition"," ")(e);case"no":return"repeat"==e[1]&&H$("backgroundRepeat")(e);case"repeat":return o$("xy",e[1])?H$("backgroundRepeat")(e):{backgroundRepeat:e[1]||e[0]};case"opacity":return em(e,t,n,"background");case"clip":case"origin":return e[1]&&{["background-"+e[0]]:e[1]+("text"==e[1]?"":"-box")};case"blend":return H$("background-blend-mode")(d$(e));case"gradient":if("to"==e[1]&&(e$=L$(e[2])))return{backgroundImage:`linear-gradient(to ${a$(e$," ")},var(--tw-gradient-stops))`}}return(e$=t("backgroundPosition",e,""))?{backgroundPosition:e$}:(e$=t("backgroundSize",e,""))?{backgroundSize:e$}:(e$=t("backgroundImage",e,""))?{backgroundImage:e$}:rm("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(e$=t("gradientColorStops",e))&&{"--tw-gradient-from":e$,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${im(e$)})`},via:(e,{theme:t})=>(e$=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${e$},var(--tw-gradient-to,${im(e$)})`},to:(e,{theme:t})=>(e$=t("gradientColorStops",e))&&{"--tw-gradient-to":e$},border:(e,t,n)=>{var r;const i=null==(r=L$(e[0]))?void 0:r.map(c$);i&&(e=d$(e));let o=um(e,t,n);return i&&o&&"object"==typeof o&&(o=Object.entries(o).reduce((e,[t,n])=>{if(t.startsWith("border"))for(const r of i)e[t.slice(0,6)+r+t.slice(6)]=n;else e[t]=n;return e},{})),o},divide:(e,t,n)=>(e$=om(e,t,n,"divideWidth","border","width")||um(e,t,n))&&{"&>:not([hidden])~:not([hidden])":e$},space:(e,t,n)=>(e$=om(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":e$},placeholder:(e,{theme:t},n)=>(e$="opacity"==e[0]?em(e,t,n):rm("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":e$},shadow:(e,{theme:t})=>(e$=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":"none"==e$?"0 0 transparent":e$,boxShadow:[e$,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(n$=t("animation",e)){const e=n$.split(" ");return(e$=t("keyframes",e[0],t$={}))!==t$?(n$=n(e[0]))&&{animation:n$+" "+a$(d$(e)," "),["@keyframes "+n$]:e$}:{animation:n$}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return em(e,t,n);case"offset":return(e$=t("ringOffsetWidth",d$(e),""))?{"--tw-ring-offset-width":e$}:{"--tw-ring-offset-color":t("ringOffsetColor",d$(e))}}return(e$=t("ringWidth",e,""))?{"--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(${e$} + 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":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":nm(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":nm(t("ringColor",e),"ring-opacity")}},object:(e,t,n)=>o$(["contain","cover","fill","none","scale-down"],a$(e))?{objectFit:a$(e)}:G$("objectPosition"," ")(e,t,n),list:(e,t,n)=>"item"==a$(e)?V$(e,t,n):o$(["inside","outside"],a$(e))?{listStylePosition:e[0]}:G$("listStyleType")(e,t,n),rounded:(e,t,n)=>M$(t.theme("borderRadius",d$(e),""),e[0],"border","radius")||z$("borderRadius")(e,t,n),"transition-none":{transitionProperty:"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{const{screens:n=t("screens"),center:r,padding:i}=t("container"),o=e=>(e$=i&&("string"==typeof i?i:i[e]||i.DEFAULT))?{paddingRight:e$,paddingLeft:e$}:{};return Object.keys(n).reduce((e,t)=>((n$=n[t])&&"string"==typeof n$&&(e[g$(n$)]={"&":{"max-width":n$,...o(t)}}),e),{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=e=>{let t=self[ym];return t||(t=document.head.appendChild(document.createElement("style")),t.id=ym,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},_m=e=>({unknown(e,t=[],n,r){n||this.report({id:"UNKNOWN_THEME_VALUE",key:e+"."+a$(t)},r)},report:({id:t,...n})=>e(`[${t}] ${JSON.stringify(n)}`)}),wm=_m(e=>console.warn(e)),Cm=_m(e=>{throw new Error(e)}),xm=_m(l$),Sm=(e,t,n)=>`${e}:${t}${n?" !important":""}`,Em=(e,t,n)=>{let r="";const i=(o=e,Xp.get(o));var o;i&&(r+=`${Sm(i,t,n)};`);let a=function(e){var t=/^(?:(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(e);return t?t[1]?1:t[2]?2:t[3]?3:5:0}(e);return 1&a&&(r+=`-webkit-${Sm(e,t,n)};`),2&a&&(r+=`-moz-${Sm(e,t,n)};`),4&a&&(r+=`-ms-${Sm(e,t,n)};`),a=function(e,t){var n=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(e);return n?n[1]?/^sti/i.test(t)?1:0:n[2]?/^pat/i.test(t)?1:0:n[3]?/^image-/i.test(t)?1:0:n[4]?"-"===t[3]?2:0:/^(?:inline-)?grid$/i.test(t)?4:0:0}(e,t),1&a&&(r+=`${Sm(e,`-webkit-${t}`,n)};`),2&a&&(r+=`${Sm(e,`-moz-${t}`,n)};`),4&a&&(r+=`${Sm(e,`-ms-${t}`,n)};`),r+=Sm(e,t,n),r},Tm=(e,t)=>{const n={};do{for(let t=1;t<e;t++)n[`${t}/${e}`]=Number((t/e*100).toFixed(6))+"%"}while(++e<=t);return n},Am=(e,t,n=0)=>{const r={};for(;n<=e;n=2*n||1)r[n]=n+t;return r},Nm=(e,t="",n=1,r=0,i=1,o={})=>{for(;r<=e;r+=i)o[r]=r/n+t;return o},Om=e=>t=>t(e),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:e=>({...e("colors"),DEFAULT:e("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:e=>({auto:"auto",...e("spacing"),...Tm(2,6),full:"100%",screen:"100vh"}),inset:e=>({auto:"auto",...e("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:e=>({auto:"auto",...e("spacing")}),maxHeight:e=>({...e("spacing"),full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>({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",...t(e("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:e=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:Om("colors"),ringOffsetWidth:Am(8,"px"),ringOpacity:e=>({DEFAULT:"0.5",...e("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:e=>({DEFAULT:"150ms",...e("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:e=>({...e("spacing"),...Tm(2,4),full:"100%"}),width:e=>({auto:"auto",...e("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=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{const i=e[r];"DEFAULT"==r&&(t[a$(n)]=i,t[a$(n,".")]=i);const o=[...n,r];t[a$(o)]=i,t[a$(o,".")]=i,i&&"object"==typeof i&&Rm(i,t,o)},t),t),Pm={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>"string"==typeof e[t]).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},km=e=>{const t=new Map,n={...Im,...e},r=(e,t)=>{const n=e&&e[t],r="function"==typeof n?n(i,Pm):n;return r&&"colors"==t?Rm(r):r},i=(e,i,o)=>{const a=e.split(".");e=a[0],a.length>1&&(o=i,i=a$(d$(a),"."));let s=t.get(e);if(s||(t.set(e,s={...r(n,e)}),Object.assign(s,r(n.extend,e))),null!=i){const t=((e,t)=>(t="["==t[0]&&"]"==t.slice(-1)&&t.slice(1,-1))&&o$(e,"olor")==/^(#|(hsl|rgb)a?\(|[a-z]+$)/.test(t)&&(o$(t,"calc(")?t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "):t))(e,i=(Array.isArray(i)?a$(i):i)||"DEFAULT")||s[i];return null==t?o:Array.isArray(t)&&!o$(["fontSize","outline","dropShadow"],e)?a$(t,","):t}return s};return i},Dm=/^:(group(?:(?!-focus).+?)*)-(.+)$/,Mm=/^(:not)-(.+)/,Lm=e=>"["==e[1]?d$(e):e,jm=e=>(31&((i$=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+i$[1]/(i$[2]?15:1)/10:0))<<22,Um=e=>{i$=0;for(let t=e.length;t--;)i$+=o$("-:,",e[t]);return i$},Fm=e=>(15&Um(e))<<18,Bm=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],qm=(e,t)=>(n,r)=>{return n|((i$=e("screens",d$(r),""))?1<<27|jm(g$(i$)):":dark"==r?1<<30:"@"==(i$=t[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=(e,t)=>t+"{"+e+"}",zm=(e,t,n)=>{const{theme:r,tag:i}=n,o=(e,t)=>"--"+i(t),a=e=>`${e}`.replace(/--(tw-[\w-]+)\b/g,o);let s;const d=(t,r,i,o,u)=>{if(Array.isArray(o))return void o.forEach(e=>e&&d(t,r,i,e,u));let l="",c=0,f=0;o["@apply"]&&(o=m$(h$(((...e)=>P$(k$,e))(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 t=f$(h);f+=1,c=Math.max(c,(e=>"-"==e[0]?0:Um(e)+((i$=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!i$[1]||-!!i$[2]:0)+1)(t)),l=(l&&l+";")+((t,n,r)=>(t=a(t),Array.isArray(n)?a$(n.filter(Boolean).map(n=>e(t,a(n),r)),";"):e(t,a(n),r)))(t,p,u)}}else if(p)if(":global"==h&&(h="@global"),"@"==h[0])if("g"==h[1])d([],"",0,p,u);else if("f"==h[1])d([],h,0,p,u);else if("k"==h[1]){const e=s.length;d([],"",0,p,u);const t=s.splice(e,s.length-e);s.push({r:Hm(a$(t.map(e=>e.r),""),h),p:t.reduce((e,t)=>e+t.p,0)})}else"i"==h[1]?(Array.isArray(p)?p:[p]).forEach(e=>e&&s.push({p:0,r:`${h} ${e};`})):("c"==h[2]&&(h=g$(n.theme("screens",d$(h,8).trim()))),d([...t,h],r,i|jm(h)|Fm(h),p,u));else d(t,r?r.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(e,t,n)=>h.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(e,n,r)=>(o$(n,"&")?n.replace(/&/g,t):(t&&t+" ")+n)+r)+n):h,i,p,u)}),f&&s.push({r:t.reduceRight(Hm,Hm(l,r)),p:256*i+((15&Math.max(0,15-f))<<4|15&(c||15))})},u=qm(r,t);return(e,t,n,r=0)=>(r<<=28,s=[],d([],t?"."+v$(t):"",n?n.v.reduceRight(u,r):r,e,n&&n.i),s)},Gm=(e,t,n,r=t)=>!1===e?n:!0===e?r:e||t,Wm={_:{value:"",writable:!0}},Vm=(e={})=>{const t=km(e.theme),n=(e=>("string"==typeof e?{t:Cm,a:wm,i:xm}[e[1]]:e)||wm)(e.mode),r=Gm(e.hash,!1,!1,y$),i=e.important;let o={v:[]},a=0;const s=[],d={tw:(...e)=>b(e),theme:(e,r,i)=>{var a;const s=null!=(a=t(e,r,i))?a:n.unknown(e,null==r||Array.isArray(r)?r:r.split("."),null!=i,d);return o.n&&s&&o$("rg",(typeof s)[5])?`calc(${s} * -1)`:s},tag:e=>r?r(e):e,css:e=>{a++;const t=s.length;try{("string"==typeof e?O$([e]):e).forEach(y);const n=Object.create(null,Wm);for(let e=t;e<s.length;e++){const t=s[e];if(t)switch(typeof t){case"object":m$(n,t,d);break;case"string":n._+=(n._&&" ")+t}}return n}finally{s.length=t,a--}}},u=((e,t)=>(n,r)=>{if("function"==typeof n.d)return n.d(t);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(e,n)){const a=e[n];return"function"==typeof a?a(d$(i,o),t,n):"string"==typeof a?t[r?"css":"tw"](a):a}}})({...vm,...e.plugins},d),l={...gm,...e.variants},c=((e,t,{theme:n,tag:r})=>{const i=(i,o)=>(r$=n("screens",d$(o),""))?{[g$(r$)]:i}:":dark"==o&&"class"==e?{".dark &":i}:(r$=Dm.exec(o))?{[`.${v$(r(r$[1]))}:${r$[2]} &`]:i}:{[t[d$(o)]||"&"+o.replace(Mm,(e,t,n)=>t+"("+Lm(":"+n)+")")]:i};return(e,t)=>t.v.reduceRight(i,e)})(e.darkMode||"media",l,d),f=zm(Gm(e.prefix,Em,Sm),l,d),h=e.sheet||("undefined"==typeof window?{target:null,insert:l$}:(({nonce:e,target:t=bm(e).sheet}={})=>{const n=t.cssRules.length;return{target:t,insert:(e,r)=>t.insertRule(e,n+r)}})(e)),{init:p=e=>e()}=h,$=((e,t,n,r)=>{let i,o;return n((e=[])=>i=e),n((e=new Set)=>o=e),({r:n,p:a})=>{if(!o.has(n)){o.add(n);const d=((e,t)=>{for(var n=0,r=e.length;n<r;){const i=r+n>>1;e[i]<=t?n=i+1:r=i}return r})(i,a);try{e.insert(n,d),i.splice(d,0,a)}catch(s){/:-[mwo]/.test(n)||t.report({id:"INJECT_CSS_ERROR",css:n,error:s},r)}}}})(h,n,p,d);let m;p((e=new Map)=>m=e);const v=new WeakMap,g=(e,t)=>"_"==e?void 0:"function"==typeof t?JSON.stringify(h$(t,d),g):t,y=e=>{!a&&o.v.length&&(e={...e,v:[...o.v,...e.v],$:""}),e.$||(e.$=F$(e,v.get(e.d)));let t=a?null:m.get(e.$);if(null==t){let l=(e=>{const t=o;o=e;try{return h$(u(e),d)}finally{o=t}})(e);if(e.$||(e.$=y$(JSON.stringify(l,g)),v.set(e.d,e.$),e.$=F$(e,e.$)),l&&"object"==typeof l)if(e.v=e.v.map(Lm),i&&(e.i=i),l=c(l,e),a)s.push(l);else{const n="function"==typeof e.d?"string"==typeof l._?1:3:2;t=r||"function"==typeof e.d?(r||y$)(n+e.$):e.$,f(l,t,e,n).forEach($),l._&&(t+=" "+l._)}else"string"==typeof l?t=l:(t=e.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:t},d)),a&&"function"!=typeof e.d&&s.push(t);a||(m.set(e.$,t),p$(m,3e4))}return t},b=e=>a$(O$(e).map(y).filter(Boolean)," "),_=Gm(e.preflight,u$,!1);if(_){const e=(e=>({":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:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("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:e("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"}}))(t),n=f("function"==typeof _?h$(_(e,d),d)||e:{...e,..._});p((e=(n.forEach($),!0))=>e)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},d),process:b}},Km=e=>{let t,n=e=>(r(),n(e)),r=e=>{({process:n,init:r}=Vm(e))};return{tw:Object.defineProperties((...e)=>n(e),{theme:{get:(i="theme",()=>(t||n([e=>(t=e,"")]),t[i]))}}),setup:e=>r(e)};var i},{tw:Ym,setup:Xm}=Km();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",...ev(4,"rem",4,.5,.5),...ev(12,"rem",4,5),14:"3.5rem",...ev(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:tv("blur"),backdropBrightness:tv("brightness"),backdropContrast:tv("contrast"),backdropGrayscale:tv("grayscale"),backdropHueRotate:tv("hueRotate"),backdropInvert:tv("invert"),backdropOpacity:tv("opacity"),backdropSaturate:tv("saturate"),backdropSepia:tv("sepia"),backgroundColor:tv("colors"),backgroundImage:{none:"none"},backgroundOpacity:tv("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:{...ev(200,"",100,0,50),...ev(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:e})=>({DEFAULT:e("colors.gray.200","currentColor"),...e("colors")}),borderOpacity:tv("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:tv("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:tv("colors"),caretColor:tv("colors"),accentColor:({theme:e})=>({auto:"auto",...e("colors")}),contrast:{...ev(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:tv("borderColor"),divideOpacity:tv("borderOpacity"),divideWidth:tv("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:e})=>({...e("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:e})=>({...e("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:tv("spacing"),gradientColorStops:tv("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:e})=>({...e("spacing"),...Zm(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:e})=>({...e("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:{...ev(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...e("spacing")}),maxWidth:({theme:e,breakpoints:t})=>({...t(e("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:{...ev(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:tv("spacing"),placeholderColor:tv("colors"),placeholderOpacity:tv("opacity"),outlineColor:tv("colors"),outlineOffset:Qm(8,"px"),outlineWidth:Qm(8,"px"),ringColor:({theme:e})=>({...e("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:tv("colors"),ringOffsetWidth:Qm(8,"px"),ringOpacity:({theme:e})=>({...e("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...Qm(8,"px")},rotate:{...Qm(2,"deg"),...Qm(12,"deg",3),...Qm(180,"deg",45)},saturate:ev(200,"",100,0,50),scale:{...ev(150,"",100,0,50),...ev(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:tv("spacing"),scrollPadding:tv("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...Qm(2,"deg"),...Qm(12,"deg",3)},space:tv("spacing"),stroke:({theme:e})=>({...e("colors"),none:"none"}),strokeWidth:ev(2),textColor:tv("colors"),textDecorationColor:tv("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...Qm(8,"px")},textUnderlineOffset:{auto:"auto",...Qm(8,"px")},textIndent:tv("spacing"),textOpacity:tv("opacity"),transitionDuration:({theme:e})=>({...e("durations"),DEFAULT:"150ms"}),transitionDelay:tv("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:e})=>({...e("spacing"),...Zm(2,4),full:"100%"}),width:({theme:e})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...e("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...ev(50,"",1,0,10),auto:"auto"}};function Zm(e,t){let n={};do{for(var r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%"}while(++e<=t);return n}function Qm(e,t,n=0){let r={};for(;n<=e;n=2*n||1)r[n]=n+t;return r}function ev(e,t="",n=1,r=0,i=1,o={}){for(;r<=e;r+=i)o[r]=r/n+t;return o}function tv(e){return({theme:t})=>t(e)}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(e,t="@media "){return t+iv(e).map(e=>("string"==typeof e&&(e={min:e}),e.raw||Object.keys(e).map(t=>`(${t}-width:${e[t]})`).join(" and "))).join(",")}function iv(e=[]){return Array.isArray(e)?e:null==e?[]:[e]}function ov(e,t){return Math.round(parseInt(e,16)*t)}function av(e,t={}){if("function"==typeof e)return e(t);let{opacityValue:n="1",opacityVariable:r}=t,i=r?`var(${r})`:n;if(e.includes("<alpha-value>"))return e.replace("<alpha-value>",i);if("#"==e[0]&&(4==e.length||7==e.length)){let t=(e.length-1)/3,n=[17,1,.062272][t-1];return`rgba(${[ov(e.substr(1,t),n),ov(e.substr(1+t,t),n),ov(e.substr(1+2*t,t),n),i]})`}return"1"==i?e:"0"==i?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function sv(e,t,n){return[e,dv(t,n)]}function dv(e,t){return"function"==typeof e?e:"string"==typeof e&&/^[\w-]+$/.test(e)?(n,r)=>({[e]:t?t(n,r):uv(n,1)}):t=>e||{[t[1]]:uv(t,2)}}function uv(e,t,n=e.slice(t).find(Boolean)||e.$$||e.input){return"-"==e.input[0]?`calc(${n} * -1)`:n}function lv(e,t,n,r){return[e,cv(t,n,r)]}function cv(e,t,n){let r="string"==typeof t?(e,r)=>({[t]:n?n(e,r):e._}):t||(({1:e,_:t},n,r)=>({[e||r]:t}));return(t,n)=>{let i=mv(e||t[1]),o=n.theme(i,t.$$)??$v(t.$$,i,n);if(null!=o)return t._=uv(t,0,o),r(t,n,i)}}function fv(e,t={},n){return[e,hv(t,n)]}function hv(e={},t){return(n,r)=>{let{section:i=mv(n[0]).replace("-","")+"Color"}=e,[o,a]=(n.$$.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1);if(!o)return;let s=r.theme(i,o)||$v(o,i,r);if(!s||"object"==typeof s)return;let{opacityVariable:d=`--tw-${n[0].replace(/-$/,"")}-opacity`,opacitySection:u=i.replace("Color","Opacity"),property:l=i,selector:c}=e,f=r.theme(u,a||"DEFAULT")||a&&$v(a,u,r),h=t||(({_:e})=>{let t=pv(l,e);return c?{[c]:t}:t});n._={value:av(s,{opacityVariable:d||void 0,opacityValue:f||void 0}),color:e=>av(s,e),opacityVariable:d||void 0,opacityValue:f||void 0};let p=h(n,r);if(!n.dark){let e=r.d(i,o,s);e&&e!==s&&(n._={value:av(e,{opacityVariable:d||void 0,opacityValue:f||"1"}),color:t=>av(e,t),opacityVariable:d||void 0,opacityValue:f||void 0},p={"&":p,[r.v("dark")]:h(n,r)})}return p}}function pv(e,t){let n={};return"string"==typeof t?n[e]=t:(t.opacityVariable&&t.value.includes(t.opacityVariable)&&(n[t.opacityVariable]=t.opacityValue||"1"),n[e]=t.value),n}function $v(e,t,n){if("["==e[0]&&"]"==e.slice(-1)){if(e=vv(function(e,t){return e.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(e,n,r,i,o="")=>{let a=t(r,o);return"function"==typeof a&&/color|fill|stroke/i.test(r)?av(a):""+iv(a).filter(e=>Object(e)!==e)})}(e.slice(1,-1),n.theme)),!t)return e;if(!(/color|fill|stroke/i.test(t)&&!/^color:/.test(e)&&!/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(e)||/image/i.test(t)&&!/^image:/.test(e)&&!/^[a-z-]+\(/.test(e)||/weight/i.test(t)&&!/^(number|any):/.test(e)&&!/^\d+$/.test(e)||/position/i.test(t)&&/^(length|size):/.test(e)))return e.replace(/^[a-z-]+:/,"")}}function mv(e){return e.replace(/-./g,e=>e[1].toUpperCase())}function vv(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,(e,t="",n,r="")=>vv(t)+n+vv(r)):e.replace(/(^|[^\\])_+/g,(e,t)=>t+" ".repeat(e.length-t.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}let gv=[sv("\\[([-\\w]+):(.+)]",({1:e,2:t},n)=>({"@layer overrides":{"&":{[e]:$v(`[${t}]`,"",n)}}})),sv("(group|peer)([~/][^-[]+)?",({input:e},{h:t})=>[{c:t(e)}]),lv("aspect-","aspectRatio"),sv("container",(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:i}=t("container"),o={width:"100%",marginRight:r&&"auto",marginLeft:r&&"auto",...a("xs")};for(let s in n){let e=n[s];"string"==typeof e&&(o[rv(e)]={"&":{maxWidth:e,...a(s)}})}return o;function a(e){let t=i&&("string"==typeof i?i:i[e]||i.DEFAULT);if(t)return{paddingRight:t,paddingLeft:t}}}),lv("content-","content",({_:e})=>({"--tw-content":e,content:"var(--tw-content)"})),sv("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),sv("box-(border|content)","boxSizing",({1:e})=>e+"-box"),sv("hidden",{display:"none"}),sv("table-(auto|fixed)","tableLayout"),sv(["(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)",sv("isolate","isolation"),sv("object-(contain|cover|fill|none|scale-down)","objectFit"),lv("object-","objectPosition"),sv("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",yv),sv("overscroll(-[xy])?-(auto|contain|none)",({1:e="",2:t})=>({["overscroll-behavior"+e]:t})),sv("(static|fixed|absolute|relative|sticky)","position"),lv("-?inset(-[xy])?(?:$|-)","inset",({1:e,_:t})=>({top:"-x"!=e&&t,right:"-y"!=e&&t,bottom:"-x"!=e&&t,left:"-y"!=e&&t})),lv("-?(top|bottom|left|right)(?:$|-)","inset"),sv("(visible|collapse)","visibility"),sv("invisible",{visibility:"hidden"}),lv("-?z-","zIndex"),sv("flex-((row|col)(-reverse)?)","flexDirection",bv),sv("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"),sv("grid-cols-(\\d+)","gridTemplateColumns",Ov),lv("col-","gridColumn"),sv("col-(span)-(\\d+)","gridColumn",Nv),lv("col-start-","gridColumnStart"),sv("col-start-(auto|\\d+)","gridColumnStart"),lv("col-end-","gridColumnEnd"),sv("col-end-(auto|\\d+)","gridColumnEnd"),lv("grid-rows-","gridTemplateRows"),sv("grid-rows-(\\d+)","gridTemplateRows",Ov),lv("row-","gridRow"),sv("row-(span)-(\\d+)","gridRow",Nv),lv("row-start-","gridRowStart"),sv("row-start-(auto|\\d+)","gridRowStart"),lv("row-end-","gridRowEnd"),sv("row-end-(auto|\\d+)","gridRowEnd"),sv("grid-flow-((row|col)(-dense)?)","gridAutoFlow",e=>yv(bv(e))),sv("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))-",sv("justify-","justifyContent",Cv),sv("(content|items|self)-",e=>({["align-"+e[1]]:Cv(e)})),sv("(place-(content|items|self))-",({1:e,$$:t})=>({[e]:("wun".includes(t[3])?"space-":"")+t})),lv("p([xytrbl])?(?:$|-)","padding",xv("padding")),lv("-?m([xytrbl])?(?:$|-)","margin",xv("margin")),lv("-?space-(x|y)(?:$|-)","space",({1:e,_:t})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[e]]:`calc(${t} * calc(1 - var(--tw-space-${e}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[e]]:`calc(${t} * var(--tw-space-${e}-reverse))`}})),sv("space-(x|y)-reverse",({1:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-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",({_:e})=>"string"==typeof(e=iv(e))[1]?{fontFamily:wv(e)}:{fontFamily:wv(e[0]),...e[1]}),sv("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),sv("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),sv("italic","fontStyle"),sv("not-italic",{fontStyle:"normal"}),sv("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:e,2:t="",3:n})=>"normal"==t?{fontVariantNumeric:"normal"}:{["--tw-"+(n?"numeric-fraction":"pt".includes(t[0])?"numeric-spacing":t?"numeric-figure":e)]:e,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"),sv("list-(inside|outside)","listStylePosition"),lv("list-","listStyleType"),sv("list-","listStyleType"),lv("placeholder-opacity-","placeholderOpacity",({_:e})=>({"&::placeholder":{"--tw-placeholder-opacity":e}})),fv("placeholder-",{property:"color",selector:"&::placeholder"}),sv("text-(left|center|right|justify|start|end)","textAlign"),sv("text-(ellipsis|clip)","textOverflow"),lv("text-opacity-","textOpacity","--tw-text-opacity"),fv("text-",{property:"color"}),lv("text-","fontSize",({_:e})=>"string"==typeof e?{fontSize:e}:{fontSize:e[0],..."string"==typeof e[1]?{lineHeight:e[1]}:e[1]}),lv("indent-","textIndent"),sv("(overline|underline|line-through)","textDecorationLine"),sv("no-underline",{textDecorationLine:"none"}),lv("underline-offset-","textUnderlineOffset"),fv("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),lv("decoration-","textDecorationThickness"),sv("decoration-","textDecorationStyle"),sv("(uppercase|lowercase|capitalize)","textTransform"),sv("normal-case",{textTransform:"none"}),sv("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),sv("align-","verticalAlign"),sv("whitespace-","whiteSpace"),sv("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),sv("break-words",{overflowWrap:"break-word"}),sv("break-all",{wordBreak:"break-all"}),sv("break-keep",{wordBreak:"keep-all"}),fv("caret-",{opacityVariable:!1,opacitySection:"opacity"}),fv("accent-",{opacityVariable:!1,opacitySection:"opacity"}),sv("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:e})=>`linear-gradient(to ${_v(e," ")},var(--tw-gradient-stops))`),fv("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-gradient-from":e.value,"--tw-gradient-to":e.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),fv("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-gradient-to":e.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${e.value},var(--tw-gradient-to)`})),fv("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),sv("bg-(fixed|local|scroll)","backgroundAttachment"),sv("bg-origin-(border|padding|content)","backgroundOrigin",({1:e})=>e+"-box"),sv(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),sv("bg-blend-","backgroundBlendMode"),sv("bg-clip-(border|padding|content|text)","backgroundClip",({1:e})=>e+("text"==e?"":"-box")),lv("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),fv("bg-",{section:"backgroundColor"}),lv("bg-","backgroundImage"),lv("bg-","backgroundPosition"),sv("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",yv),lv("bg-","backgroundSize"),lv("rounded(?:$|-)","borderRadius"),lv("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:e,_:t})=>{let n={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[e]||[e,e];return{[`border-${_v(n[0])}-radius`]:t,[`border-${_v(n[1])}-radius`]:t}}),sv("border-(collapse|separate)","borderCollapse"),lv("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),sv("border-(solid|dashed|dotted|double|none)","borderStyle"),lv("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:e,_:t})=>({...Iv({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(e||"-x")]:t,["--tw-border-spacing"+(e||"-y")]:t,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),fv("border-([xytrbl])-",{section:"borderColor"},xv("border","Color")),fv("border-"),lv("border-([xytrbl])(?:$|-)","borderWidth",xv("border","Width")),lv("border(?:$|-)","borderWidth"),lv("divide-opacity(?:$|-)","divideOpacity",({_:e})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":e}})),sv("divide-(solid|dashed|dotted|double|none)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:e}})),sv("divide-([xy]-reverse)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+e]:"1"}})),lv("divide-([xy])(?:$|-)","divideWidth",({1:e,_:t})=>{let n={x:"lr",y:"tb"}[e];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${e}-reverse`]:"0",[`border-${_v(n[0])}Width`]:`calc(${t} * calc(1 - var(--tw-divide-${e}-reverse)))`,[`border-${_v(n[1])}Width`]:`calc(${t} * var(--tw-divide-${e}-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"),sv("ring-inset",{"--tw-ring-inset":"inset"}),fv("ring-",{property:"--tw-ring-color"}),lv("ring(?:$|-)","ringWidth",({_:e},{theme: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-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":av(t("ringOffsetColor","","#fff")),"--tw-ring-color":av(t("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":t("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(${e} + 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"},({_:e})=>({"--tw-shadow-color":e.value,"--tw-shadow":"var(--tw-shadow-colored)"})),lv("shadow(?:$|-)","boxShadow",({_: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-shadow":wv(e),"--tw-shadow-colored":wv(e).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)-"),sv("mix-blend-","mixBlendMode"),...Sv(),...Sv("backdrop-"),lv("transition(?:$|-)","transitionProperty",(e,{theme:t})=>({transitionProperty:wv(e),transitionTimingFunction:"none"==e._?void 0:wv(t("transitionTimingFunction","")),transitionDuration:"none"==e._?void 0:wv(t("transitionDuration",""))})),lv("duration(?:$|-)","transitionDuration","transitionDuration",wv),lv("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",wv),lv("delay(?:$|-)","transitionDelay","transitionDelay",wv),lv("animate(?:$|-)","animation",(e,{theme:t,h:n,e:r})=>{let i=wv(e),o=i.split(" "),a=t("keyframes",o[0]);return a?{["@keyframes "+(o[0]=r(n(o[0])))]:a,animation:o.join(" ")}:{animation:i}}),"(transform)-(none)",sv("transform",Tv),sv("transform-(cpu|gpu)",({1:e})=>({"--tw-transform":Av("gpu"==e)})),lv("scale(-[xy])?-","scale",({1:e,_:t})=>({["--tw-scale"+(e||"-x")]:t,["--tw-scale"+(e||"-y")]:t,...Tv()})),lv("-?(rotate)-","rotate",Ev),lv("-?(translate-[xy])-","translate",Ev),lv("-?(skew-[xy])-","skew",Ev),sv("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",yv),"(appearance)-",lv("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",lv("(cursor)-"),"(cursor)-",sv("snap-(none)","scroll-snap-type"),sv("snap-(x|y|both)",({1:e})=>({...Iv({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":e+" var(--tw-scroll-snap-strictness)"})),sv("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),sv("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),sv("snap-(normal|always)","scroll-snap-stop"),sv("scroll-(auto|smooth)","scroll-behavior"),lv("scroll-p([xytrbl])?(?:$|-)","padding",xv("scroll-padding")),lv("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",xv("scroll-margin")),sv("touch-(auto|none|manipulation)","touch-action"),sv("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:e,2:t,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-${t?"pan-x":n?"pan-y":e}`]:e,"touch-action":"var(--tw-touch-action)"})),sv("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),sv("outline",{outlineStyle:"solid"}),sv("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:e})=>({x:"horizontal",y:"vertical"}[e]||e||"both")],sv("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"),sv("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),sv("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function yv(e){return("string"==typeof e?e:e[1]).replace(/-/g," ").trim()}function bv(e){return("string"==typeof e?e:e[1]).replace("col","column")}function _v(e,t="-"){let n=[];for(let r of e)n.push({t:"top",r:"right",b:"bottom",l:"left"}[r]);return n.join(t)}function wv(e){return e&&""+(e._||e)}function Cv({$$:e}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[e[3]||""]||"")+e}function xv(e,t=""){return({1:n,_:r})=>{let i={x:"lr",y:"tb"}[n]||n+n;return i?{...pv(e+"-"+_v(i[0])+t,r),...pv(e+"-"+_v(i[1])+t,r)}:pv(e+t,r)}}function Sv(e=""){let t=["blur","brightness","contrast","grayscale","hue-rotate","invert",e&&"opacity","saturate","sepia",!e&&"drop-shadow"].filter(Boolean),n={};for(let r of t)n[`--tw-${e}${r}`]="var(--tw-empty,/*!*/ /*!*/)";return n={...Iv(n),[`${e}filter`]:t.map(t=>`var(--tw-${e}${t})`).join(" ")},[`(${e}filter)-(none)`,sv(`${e}filter`,n),...t.map(t=>lv(`${"h"==t[0]?"-?":""}(${e}${t})(?:$|-)`,t,({1:e,_:r})=>({[`--tw-${e}`]:iv(r).map(e=>`${t}(${e})`).join(" "),...n})))]}function Ev({1:e,_:t}){return{["--tw-"+e]:t,...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(e){return[e?"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:e,2:t}){return`${e} ${t} / ${e} ${t}`}function Ov({1:e}){return`repeat(${e},minmax(0,1fr))`}function Iv(e){return{"@layer defaults":{"*,::before,::after":e,"::backdrop":e}}}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:e})=>`@media (orientation:${e})`],["contrast-(more|less)",({1:e})=>`@media (prefers-contrast:${e})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:e})=>`&::${e}`],["(marker|selection)",({1:e})=>`& *::${e},&::${e}`],["file","&::file-selector-button"],["(first|last|only)",({1:e})=>`&:${e}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:e,$$:t},n)=>t&&`&[${e}-${n.theme(e,t)||$v(t,"",n)||`${t}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:e,3:t="",4:n,5:r="",6:i=t},{e:o,h:a,v:s})=>{let d=vv(r)||("["==n[0]?n:s(n.slice(1)));return`${(d.includes("&")?d:"&"+d).replace(/&/g,`:merge(.${o(a(e+i))})`)}${"p"==e[0]?"~":" "}&`}],["(ltr|rtl)",({1:e})=>`[dir="${e}"] &`],["supports-",({$$:e},t)=>{if(e&&(e=t.theme("supports",e)||$v(e,"",t)),e)return e.includes(":")||(e+=":var(--tw)"),/^\w*\s*\(/.test(e)||(e=`(${e})`),`@supports ${e.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:e},t)=>{if(e&&(e=t.theme("screens",e)||$v(e,"",t)),"string"==typeof e)return`@media not all and (min-width:${e})`}],["min-",({$$:e},t)=>(e&&(e=$v(e,"",t)),e&&`@media (min-width:${e})`)],[/^\[(.+)]$/,({1:e})=>/[&@]/.test(e)&&vv(e).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:e}={}){return function({colors:e,disablePreflight:t}={}){return{preflight:t?void 0:nv,theme:{...Jm,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...e}},variants:Rv,rules:gv,finalize:e=>e.n&&e.d&&e.r.some(e=>/^&::(before|after)$/.test(e))&&!/(^|;)content:/.test(e.d)?{...e,d:"content:var(--tw-content);"+e.d}:e}}({colors:Pv,disablePreflight:e})}({disablePreflight:!1})],theme:{extend:{colors:{primary:"#1f7aed",primaryDark:"#1557a5",accent:"#1dd1a1"}}}}),kv.__twindInitialized=!0}async function Dv(e){const t=`/api/campaign-fields/${e}`,n=await fetch(t,{method:"GET",credentials:"same-origin"});if(!n.ok){const e=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(e.error||`Falha ao buscar mapeamento: ${n.status}`)}return await n.json()}async function Mv(e){const t=`/api/campaign-contact/${e}`,n=await fetch(t,{method:"GET",credentials:"same-origin"});if(!n.ok){const e=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(e.error||`Falha ao buscar valores: ${n.status}`)}return await n.json()}function Lv(){const t=_f.useCallOperatorCurrentCallInfo();return e.useEffect(()=>{console.log("[CallInfoDisplay] Call info atualizado:",{callInfo:t,type:null==t?void 0:t.type,hasCampaignInfo:"campaign"===(null==t?void 0:t.type),info:"campaign"===(null==t?void 0:t.type)?t.info:null,campaignContact:"campaign"===(null==t?void 0:t.type)?t.info.campaignContact:null})},[t]),"campaign"===(null==t?void 0:t.type)?m.jsx(jv,{campaignCallInfo:t.info}):t?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(t){const{campaign:n,campaignList:r,campaignContact:i}=t.campaignCallInfo,[o,a]=e.useState({finalData:{},isLoading:!1,error:null}),[s,d]=e.useState(null);e.useEffect(()=>{if(!(null==i?void 0:i.id))return;if(s===i.id)return;let e=!1;return(async()=>{a({finalData:{},isLoading:!0,error:null});try{console.log("[CampaignCallInfoDisplay] 1. Buscando config para contato:",i.id);const t=await async function(e){const t=`/api/campaign-config/${e}`,n=await fetch(t,{method:"GET",credentials:"same-origin"});if(!n.ok){const e=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(e.error||`Falha ao buscar config: ${n.status}`)}return await n.json()}(i.id);if(console.log("[CampaignCallInfoDisplay] 2. Config recebida:",t),!t.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(t.campaignModelId),Mv(i.id)]);console.log("[CampaignCallInfoDisplay] 4. Mapeamento recebido:",n),console.log("[CampaignCallInfoDisplay] 5. Valores recebidos:",r);const o={};Object.entries(r).forEach(([e,t])=>{e in n&&(o[n[e]]=t)}),e||(console.log("[CampaignCallInfoDisplay] ✅ Dados finais mapeados:",o),a({finalData:o,isLoading:!1,error:null}),d(i.id))}catch(t){if(!e){console.error("[CampaignCallInfoDisplay] ❌ Erro ao buscar dados:",t);const e=t instanceof Error?t.message:"Erro ao buscar dados do contato";a({finalData:{},isLoading:!1,error:e})}}})(),()=>{e=!0}},[null==i?void 0:i.id,s]);const u=Object.keys(o.finalData).length>0,l=({fieldName:e,label:t})=>{const n=t||e;let r="-";if(o.finalData[e])r=o.finalData[e];else{const t=Object.keys(o.finalData).find(t=>t.toLowerCase()===e.toLowerCase());t&&(r=o.finalData[t])}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:()=>d(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=1024,Hv=[{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:""}],zv={rttMs:null,bitrateKbps:null,packetLossRatio:null},Gv={jitterMs:null,packetLossRatio:null,audioLevel:null},Wv="candidate-pair",Vv="inbound-rtp";function Kv({isAuthenticated:t,username:n,onLogin:r,onLogout:i,isLoadingSession:o,sessionError:a,variant:s="default"}){const d=e.useRef(null),u=e.useRef(null),l=e.useRef({pointerId:null,offsetX:0,offsetY:0}),c=e.useRef({pointerId:null,originX:0,originY:0,startWidth:Uv.width,startHeight:Uv.height,edge:"corner"}),f=e.useRef(!1),[h,p]=e.useState({x:24,y:24}),[$,v]=e.useState(!1),[g,y]=e.useState(!1),[b,_]=e.useState(!1),[w,C]=e.useState(""),[x,S]=e.useState(null),[E,T]=e.useState({width:Uv.width,height:Uv.height}),A=e.useRef(t),N=e.useMemo(()=>Jv(w),[w]),O="min"===s,I=e.useMemo(()=>{const e=E.width/Uv.width,t=E.height/Uv.height;return rg(Math.min(e,t),.55,2.5)},[E]),R=e.useCallback(e=>{if("undefined"==typeof window)return{width:rg(e.width,Fv,qv),height:rg(e.height,Bv,960)};const t=window.innerWidth,n=window.innerHeight,r=t<640?12:16,i=Math.min(qv,t-2*r),o=Math.min(960,n-2*r);return{width:rg(e.width,Fv,Math.max(Fv,i)),height:rg(e.height,Bv,Math.max(Bv,o))}},[]),P=e.useCallback(e=>{if("undefined"==typeof window)return e;const t=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=x??E??Uv,s=b?a.width:80,u=b?a.height:80,l=i>0?i:s,c=o>0?o:u,f=t<640?12:16,h=f,p=f,$=Math.max(h,t-l-f),m=Math.max(p,n-c-f);let v=e.x,g=e.y;return t<640&&b&&(v=Math.round((t-l)/2),g=f),n<c+2*f&&(g=f),{x:rg(v,h,$),y:rg(g,p,m)}},[b,x,E]),k=e.useCallback(e=>{C(t=>Jv("function"==typeof e?e(t):e))},[]);e.useEffect(()=>{var e,t;if("undefined"==typeof window)return;const n=(null==(e=d.current)?void 0:e.offsetWidth)??96,r=(null==(t=d.current)?void 0:t.offsetHeight)??96,i=window.innerWidth-n-24,o=window.innerHeight-r-24;p(P({x:i,y:o}))},[P]),e.useEffect(()=>{p(e=>P(e))},[b,P]),e.useEffect(()=>{if("undefined"==typeof window)return;const e=()=>{p(e=>P(e)),S(e=>e?R(e):e)};return window.addEventListener("resize",e),window.addEventListener("orientationchange",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[P,R]),e.useEffect(()=>{if(!b)return;const e=u.current;if(!e)return;const t=(e,t)=>{T({width:e,height:t})};if("undefined"!=typeof ResizeObserver){const n=new ResizeObserver(e=>{const n=e[0];if(n){const{width:e,height:r}=n.contentRect;t(e,r)}});return n.observe(e),()=>n.disconnect()}const n=e.getBoundingClientRect();t(n.width,n.height)},[b,x]),e.useEffect(()=>{t&&!A.current&&_(!0),A.current=t},[t]),e.useEffect(()=>{if(!$)return;const e=e=>{var t,n;if(l.current.pointerId!==e.pointerId)return;f.current=!0;const r=(null==(t=d.current)?void 0:t.offsetWidth)??0,i=(null==(n=d.current)?void 0:n.offsetHeight)??0,o=e.clientX-l.current.offsetX,a=e.clientY-l.current.offsetY,s="undefined"!=typeof window?window.innerWidth:0,u=s<640?12:16,c=s-r-u,h=("undefined"!=typeof window?window.innerHeight:0)-i-u,$=Math.max(u,c),m=Math.max(u,h);p({x:rg(o,u,$),y:rg(a,u,m)})},t=e=>{l.current.pointerId===e.pointerId&&(v(!1),l.current={pointerId:null,offsetX:0,offsetY:0})};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t)}},[$]),e.useEffect(()=>{if(!g)return;const e=e=>{if(c.current.pointerId!==e.pointerId)return;e.preventDefault();const{edge:t,startWidth:n,startHeight:r,originX:i,originY:o}=c.current;let a=n,s=r;"right"!==t&&"corner"!==t||(a=n+(e.clientX-i)),"bottom"!==t&&"corner"!==t||(s=r+(e.clientY-o));const d=R({width:a,height:s});S(e=>e&&e.width===d.width&&e.height===d.height?e:d)},t=e=>{var t,n;if(c.current.pointerId===e.pointerId){try{null==(n=null==(t=e.target)?void 0:t.releasePointerCapture)||n.call(t,e.pointerId)}catch{}y(!1),c.current={...c.current,pointerId:null}}};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),window.addEventListener("pointercancel",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t),window.removeEventListener("pointercancel",t)}},[g,R]),e.useEffect(()=>{b||(f.current=!1)},[b]),e.useEffect(()=>{p(e=>P(e))},[x,E,P]);const D=e.useCallback(e=>t=>{var n,r;if(0!==t.button&&"touch"!==t.pointerType)return;t.preventDefault(),t.stopPropagation();const i=u.current,o=null==i?void 0:i.getBoundingClientRect(),a=(null==o?void 0:o.width)??(null==x?void 0:x.width)??Uv.width,s=(null==o?void 0:o.height)??(null==x?void 0:x.height)??Uv.height;c.current={pointerId:t.pointerId,originX:t.clientX,originY:t.clientY,startWidth:a,startHeight:s,edge:e};try{null==(r=(n=t.currentTarget).setPointerCapture)||r.call(n,t.pointerId)}catch{}y(!0)},[x]),M=e.useCallback(e=>{var t;if(0!==e.button)return;const n=null==(t=d.current)?void 0:t.getBoundingClientRect();l.current={pointerId:e.pointerId,offsetX:e.clientX-((null==n?void 0:n.left)??0),offsetY:e.clientY-((null==n?void 0:n.top)??0)},f.current=!1,v(!0)},[]),L=e.useCallback(()=>{f.current?f.current=!1:_(e=>!e)},[]),j=e.useCallback(async e=>{const t=e.trim();t&&await r(t)},[r]),U=t?m.jsx(Xv,{username:n??"",dialValue:N,setDialValue:k,onLogout:i,variant:s}):m.jsx(Yv,{defaultValue:n??"",onSubmit:j,isLoading:o,error:a});if(O)return U;const F=Number.isFinite(I)&&I>0?I:1,B=Uv.width/F,q=Uv.height/F,H={width:x?`${x.width}px`:void 0,height:x?`${x.height}px`:void 0,minWidth:"280px",minHeight:"420px",maxWidth:"min(1024px, calc(100vw - 1.5rem))",maxHeight:"calc(100vh - 3rem)"},z={flex:1,display:"flex",flexDirection:"column",transform:`scale(${F})`,transformOrigin:"top left",width:`${B}px`,minHeight:`${q}px`},G={flex:1,display:"flex",flexDirection:"column",width:`${Uv.width}px`,minHeight:`${Uv.height}px`};return m.jsx("div",{ref:d,className:["callix","mode","full",Ym`fixed z-50 select-none`].join(" "),"data-callix-variant":"default",style:{transform:`translate3d(${h.x}px, ${h.y}px, 0)`,top:0,left:0},children:b?m.jsxs("div",{ref:u,"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:H,children:[m.jsx("div",{className:Ym`flex flex-1 flex-col overflow-hidden`,style:z,children:m.jsxs("div",{"data-floating-dialer-content":!0,className:Ym`flex flex-1 flex-col rounded-3xl overflow-hidden`,style:G,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 text-white shadow-sm`,onPointerDown:M,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`,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-base font-semibold`,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`flex-1 overflow-y-auto p-3`,children:U})]})}),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:D("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:D("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:D("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:M,onClick:L,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 Yv({defaultValue:t,onSubmit:n,isLoading:r,error:i}){const[o,a]=e.useState(t),[s,d]=e.useState(!1);e.useEffect(()=>{a(t)},[t]);const u=s&&!o.trim();return m.jsxs("form",{className:Ym`space-y-4`,onSubmit:async e=>{e.preventDefault(),d(!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:e=>a(e.target.value),onBlur:()=>d(!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 Xv({username:t,dialValue:n,setDialValue:r,onLogout:i,variant:o}){var a,s;const d=_f.useCallOperator(),u="min"===o,l=_f.useCallOperatorState(),c=_f.useCallOperatorCurrentCall(),f=_f.useCallOperatorCurrentCallInfo(),h=_f.useCallOperatorSuccessQualifications(),p=_f.useCallOperatorDiscardQualifications();e.useEffect(()=>{console.log("[FloatingDialer] Estado do operador mudou:",{state:null==l?void 0:l.state,operatorState:l,hasCall:!!c,currentCall:c})},[l,c]),e.useEffect(()=>{console.log("[FloatingDialer] Qualificações:",{success:h,discard:p,callState:null==l?void 0:l.state})},[h,p,null==l?void 0:l.state]),e.useEffect(()=>{"incoming"===(null==c?void 0:c.direction)&&console.log("[FloatingDialer] ⚠️ CHAMADA RECEBIDA:",{call:c,direction:c.direction,state:null==l?void 0:l.state,counterpart:eg(c)})},[c,null==l?void 0:l.state]);const{makeManualCall:$,becomeAvailable:v,finishAfterCall:g}=_f.useCallOperatorControls(),{hangup:y,answer:b,reject:_}=_f.useCallOperatorCurrentCallControls(),[w,C]=e.useState(!1),x=e.useRef(null),S=e.useRef(null),E=e.useRef(null),[T,A]=e.useState(null),[N,O]=e.useState(null),[I,R]=e.useState(null),[P,k]=e.useState(!1),[D,M]=e.useState("success"),[L,j]=e.useState(null),[U,F]=e.useState(0),[B,q]=e.useState(zv),[H,z]=e.useState(Gv),G=e.useRef(null),W=e.useRef(!1),[V,K]=_f.useCallOperatorAudioInputMuted(),[Y,X]=_f.useCallOperatorAudioOutputMuted(),[J,Z]=_f.useCallOperatorAudioOutputVolume(),[Q,ee]=e.useState({inputs:[],outputs:[]}),[te,ne]=e.useState(null),[re,ie]=e.useState(null),[oe,ae]=e.useState(null),[se,de]=e.useState(!1),ue=e.useRef(null),[le,ce]=e.useState(null),[fe,he]=e.useState(!1),[pe,$e]=e.useState(null),me=function(t){const[n,r]=e.useState(null==t?void 0:t.get());return e.useEffect(()=>{if(t)return r(t.get()),t.subscribe(e=>{r(e)});r(void 0)},[t]),n}(null==d?void 0:d.breaks)||[],{goOnBreak:ve,goOffBreak:ge}=function(){const{enterOnBreak:e,becomeAvailable:t}=_f.useCallOperatorControls();return{goOnBreak:e,goOffBreak:t}}(),ye=e.useMemo(()=>n.slice(0,32),[n]),be=e.useMemo(()=>function(e,t){const n=Jv(e);if(!n)return"";const r=n.startsWith("+"),i=n.replace(/[^0-9]/g,""),o=t.replace(/[^0-9]/g,""),a=o.length||2,s=r?i.slice(0,Math.min(a,i.length)):o||i.slice(0,a);let d=r?i.slice(s.length):i;const u=r?`+${s}`:t;if("55"===s&&d.length>=8){return`${u} (${d.slice(0,2)}) ${d.slice(2,Math.max(d.length-4,2))}-${d.slice(-4)}`.replace(/\s+/g," ").trim()}if(!d)return u.trim();const l=[];for(;d.length>4;)l.push(d.slice(0,3)),d=d.slice(3);d&&l.push(d);const c=l.join(" ");return`${u} ${c}`.replace(/\s+/g," ").trim()}(ye,"+55"),[ye]),_e=e.useMemo(()=>function(e,t){const n=Jv(e);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=t.replace(/[^0-9]/g,"");if(!i)return`+${r}`;return`+${i}${r}`}(ye,"+55"),[ye]),we=null==l?void 0:l.state,Ce="idle"===we,xe="onBreak"===we,Se="incoming"===(null==c?void 0:c.direction),Ee="callInProgress"===we,Te="manualCallRinging"===we||"callRinging"===we,Ae="manualCallSetup"===we||Te,Ne=!we||"starting"===we||"idle"===we||"manualCallSetup"===we||"onBreak"===we,Oe=Ne||Ee||Te,Ie=Boolean(_e&&function(e){try{return mp(e)}catch(t){return console.warn("Falha ao validar numero",t),!1}}(_e)),Re=e.useCallback(async e=>{if("function"==typeof v)try{await Promise.resolve(v())}catch(t){console.error(e,t),O(e)}else O(e)},[v]);e.useEffect(()=>{W.current||(W.current=!0,Re("Nao foi possivel ficar disponivel automaticamente."))},[Re]),e.useEffect(()=>{"idle"===we&&(O(null),A(null))},[we]),e.useEffect(()=>{"offline"===we&&(O("Conexao perdida. Tentando reconectar..."),Re("Conexao perdida. Tentando reconectar..."))},[we,Re]),e.useEffect(()=>{if("afterCall"===we){if("campaign"===(null==f?void 0:f.type)&&!0===f.info.campaign.skipCallQualification)return console.log("[FloatingDialer] 🔄 skipCallQualification ativado - finalizando automaticamente"),void("function"==typeof g&&Promise.resolve(g({result:"success",qualificationId:void 0})));const e=h.length>0;M(e?"success":"failure"),j(null),R(null)}},[we,h.length,f,g]),e.useEffect(()=>{if("undefined"==typeof window)return;if("starting"!==we)return;const e=window.setTimeout(()=>{O(e=>e??"Conexao demorando mais que o esperado. Verifique rede ou credenciais.")},8e3);return()=>window.clearTimeout(e)},[we]),e.useEffect(()=>{"manualCallRinging"!==we&&"callInProgress"!==we||r(""),"idle"===we&&ce(null)},[we,r]),e.useEffect(()=>{var e;if("undefined"==typeof navigator||!(null==(e=navigator.mediaDevices)?void 0:e.enumerateDevices))return;let t=!1;const n=async()=>{try{navigator.mediaDevices.getUserMedia&&await navigator.mediaDevices.getUserMedia({audio:!0})}catch(e){console.warn("Permissao de microfone nao concedida ainda",e)}try{const e=await navigator.mediaDevices.enumerateDevices();if(t)return;const n=e.filter(e=>"audioinput"===e.kind),r=e.filter(e=>"audiooutput"===e.kind);ee({inputs:n,outputs:r}),ae(null),ne(e=>{var t;return e??(null==(t=n[0])?void 0:t.deviceId)??null}),ie(e=>{var t;return e??(null==(t=r[0])?void 0:t.deviceId)??null})}catch(e){t||(console.error("Listagem de dispositivos falhou",e),ae("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),()=>{t=!0,"removeEventListener"in i?i.removeEventListener("devicechange",r):"ondevicechange"in i&&(i.ondevicechange=null)}},[]),e.useEffect(()=>{if(!c||"callInProgress"!==we)return F(0),q(zv),void z(Gv);F(Math.floor(c.currentDurationSeconds??0));const e=window.setInterval(()=>{F(Math.floor(c.currentDurationSeconds??0))},1e3);return()=>window.clearInterval(e)},[c,we]),e.useEffect(()=>{if(!c||"callInProgress"!==we)return;const e=e=>{const t=Zv(e,"stat")??{},n="string"==typeof t.type?t.type:void 0;if(n===Wv){const e=tg(t,"currentRoundTripTime"),n=tg(t,"availableOutgoingBitrate");q(t=>({rttMs:null!=e?1e3*e:t.rttMs,bitrateKbps:null!=n?n/1e3:t.bitrateKbps,packetLossRatio:t.packetLossRatio}))}if(n===Vv){const e=tg(t,"packetsReceived")??0,n=tg(t,"packetsLost")??0,r=e+n,i=r>0?n/r:null,o=tg(t,"jitter"),a=tg(t,"audioLevel");z(e=>({jitterMs:null!=o?1e3*o:e.jitterMs,packetLossRatio:i??e.packetLossRatio,audioLevel:a??e.audioLevel})),q(e=>({rttMs:e.rttMs,bitrateKbps:e.bitrateKbps,packetLossRatio:i??e.packetLossRatio}))}};return c.on("webRTCStat",e),()=>{c.off("webRTCStat",e)}},[c,we]),e.useEffect(()=>{var e;if(!te)return;if("undefined"==typeof navigator||!(null==(e=navigator.mediaDevices)?void 0:e.getUserMedia))return;let t=!1;return(async()=>{var e,n,r,i;const o=null==(n=null==(e=ue.current)?void 0:e.getAudioTracks)?void 0:n.call(e)[0],a=null==(r=null==o?void 0:o.getSettings)?void 0:r.call(o).deviceId;let s=ue.current;if(!s||a!==te)try{const e=await navigator.mediaDevices.getUserMedia({audio:{deviceId:{exact:te}}});if(t)return void e.getTracks().forEach(e=>e.stop());ue.current&&ue.current!==e&&ue.current.getTracks().forEach(e=>e.stop()),ue.current=e,s=e}catch(l){return void(t||(console.error("Falha ao acessar microfone selecionado",l),ae("Nao foi possivel acessar o microfone selecionado.")))}if(!s)return;const u=s.getAudioTracks()[0];if(u)try{const e=Qv(d,"setAudioInputDevice");if(e)return await Promise.resolve(e(te)),void ae(null);const t=function(e){const t=Zv(e,"rtcSession")??Zv(e,"_session")??Zv(e,"session"),n=Zv(t,"_connection")??Zv(t,"connection");if(n)return n;return Zv(e,"pc")??void 0}(c),n=null==(i=null==t?void 0:t.getSenders)?void 0:i.call(t).find(e=>{var t;return"audio"===(null==(t=e.track)?void 0:t.kind)});if(null==n?void 0:n.replaceTrack)return await n.replaceTrack(u),void ae(null);const r=Qv(c,"setInputTrack");if(r)return await Promise.resolve(r(u)),void ae(null);const o=Qv(c,"replaceTrack");if(o)return await Promise.resolve(o(u)),void ae(null);console.warn("Nao foi possivel aplicar o microfone via API conhecida"),ae(null)}catch(l){t||(console.error("Erro ao aplicar microfone",l),ae("Nao foi possivel aplicar o microfone selecionado."))}})(),()=>{t=!0}},[te,d,c]),e.useEffect(()=>{if(!re||!d)return;(async()=>{try{const e=Qv(Zv(d,"audioOutput"),"setAudioOutputDevice");if(!e)return void console.warn("Nao foi possivel localizar API para alterar dispositivo de saida.");await Promise.resolve(e(re)),ae(null)}catch(e){console.error("Erro ao aplicar dispositivo de saida",e),ae("Nao foi possivel aplicar a saida de audio selecionada.")}})()},[re,d]),e.useEffect(()=>{if(!c)return;const e=e=>{var t,n;const r=(null==(t=null==e?void 0:e.failure)?void 0:t.message)||(null==(n=null==e?void 0:e.failure)?void 0:n.cause);A(r?`Chamada nao concluida: ${r}`:"Chamada nao concluida.")};return c.on("failed",e),()=>{c.off("failed",e)}},[c]),e.useEffect(()=>()=>{const e=G.current;e&&e.close().catch(()=>{})},[]),e.useEffect(()=>()=>{var e;null==(e=ue.current)||e.getTracks().forEach(e=>e.stop()),ue.current=null},[]);const Pe=e.useCallback(async()=>{if("undefined"==typeof window)return null;const e=window.AudioContext||window.webkitAudioContext;if(!e)return null;if(G.current||(G.current=new e),"suspended"===G.current.state)try{await G.current.resume()}catch(t){console.error("Falha ao retomar audio",t)}return G.current},[]),ke=e.useCallback(async e=>{const t=ng[e];if(!t)return;const n=await Pe();if(!n)return;const r=n.createGain(),[i,o]=t,a=n.createOscillator(),s=n.createOscillator();a.type="sine",s.type="sine",a.frequency.setValueAtTime(i,n.currentTime),s.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),s.connect(r),r.connect(n.destination);const d=n.currentTime,u=d+.2;a.start(d),s.start(d),a.stop(u),s.stop(u);const l=()=>{try{a.disconnect(),s.disconnect(),r.disconnect()}catch(e){console.error("Erro ao limpar tons DTMF",e)}};a.onended=l,s.onended=l},[Pe]),De=e.useCallback(e=>{if(ke(e),c&&(Ee||Te))try{c.sendDtmf(e)}catch(t){console.error("Falha ao enviar DTMF",t),A("Nao foi possivel enviar o tom DTMF.")}else Ne&&(A(null),r(t=>(t+e).slice(0,32)))},[ke,c,Ee,Te,Ne,r]),Me=e.useCallback(()=>{A(null),r("")},[r]),Le=e.useCallback(()=>{A(null),r(e=>e.slice(0,-1))},[r]),je=e.useCallback(async()=>{if(Ce||xe)if(_e)if(Ie)try{A(null),ce(_e),await $(_e)}catch(e){console.error("Erro ao iniciar chamada",e),A("Nao foi possivel iniciar a ligacao.")}else A("Numero invalido. Digite apenas o numero local, sem o +55.");else A("Informe um numero para ligar.")},[Ce,xe,_e,Ie,$]),Ue=e.useCallback(async e=>{try{$e(null),await ve(e),he(!1),console.log("[FloatingDialer] Entrou em pausa com sucesso:",e)}catch(t){console.error("[FloatingDialer] Erro ao entrar em pausa:",t),$e(t instanceof Error?t.message:"Não foi possível entrar em pausa.")}},[ve]),Fe=e.useCallback(async()=>{try{await ge(),console.log("[FloatingDialer] Saiu da pausa com sucesso")}catch(e){console.error("[FloatingDialer] Erro ao sair da pausa:",e),O("Não foi possível sair da pausa.")}},[ge]);e.useEffect(()=>{if(!u&&!w)return;const e=e=>{if(e.metaKey||e.ctrlKey||e.altKey)return;const t=e.key;if("Backspace"===t)return e.preventDefault(),void Le();if("Delete"===t)return e.preventDefault(),void Me();if("Enter"===t)return void(Ce&&(e.preventDefault(),je()));const n="NumpadEnter"===t?null:t;if(n&&["0","1","2","3","4","5","6","7","8","9","#","*","+"].includes(n))return e.preventDefault(),void De(n);if(t.startsWith("Numpad")){const n=t.replace("Numpad","");if("Add"===n)return e.preventDefault(),void De("+");if("Multiply"===n)return e.preventDefault(),void De("*");/^[0-9]$/.test(n)&&(e.preventDefault(),De(n))}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[u,w,Le,Me,De,je,Ce]);const Be=e.useCallback(async()=>{try{await y()}catch(e){console.error("Erro ao encerrar chamada",e),A("Falha ao encerrar chamada.")}},[y]),qe=e.useCallback(async()=>{try{await b()}catch(e){console.error("Erro ao atender chamada",e),A("Nao foi possivel atender.")}},[b]),He=e.useCallback(async()=>{try{await _()}catch(e){console.error("Erro ao rejeitar chamada",e),A("Nao foi possivel rejeitar.")}},[_]),ze=e.useCallback(async()=>{if(("success"===D?h:p).length)if(L)if("function"==typeof g)try{k(!0),R(null),await Promise.resolve(g({result:D,qualificationId:L}))}catch(e){console.error("Erro ao finalizar pos-chamada",e),R("Falha ao finalizar atendimento. Tente novamente.")}finally{k(!1)}else R("Nao foi possivel enviar a qualificacao.");else R("Selecione uma qualificacao para finalizar.");else R("Nenhuma qualificacao configurada para este resultado.")},[D,p,g,L,h]),Ge=e.useCallback(()=>{C(!0)},[]),We=e.useCallback(e=>{const t=e.relatedTarget;x.current&&t&&x.current.contains(t)||C(!1)},[]),Ve=e.useCallback(e=>{const t=e.target.value;ne(t||null)},[]),Ke=e.useCallback(e=>{const t=e.target.value;ie(t||null)},[]),Ye=e.useCallback(e=>{const t=Number.isFinite(e)?e:0,n=Math.min(Math.max(t,0),1);Z(Number((n*(("number"==typeof J?J:0)>1?100:1)).toFixed(2)))},[J,Z]),Xe=l&&"call"in l?l.call:void 0,Je=eg(c)??eg(Xe),Ze=_e||le,Qe=(null==Je?void 0:Je.displayName)??(null==Je?void 0:Je.phoneNumber)??("campaign"===(null==f?void 0:f.type)?f.info.campaignContact.phoneNumber:void 0)??((Ee||Ae)&&Ze?Ze:void 0),et=function(e){switch(e){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"}}(we),tt=be||ye,nt=(null==(a=Q.inputs.find(e=>e.deviceId===te))?void 0:a.label)||"Microfone padrao",rt=(null==(s=Q.outputs.find(e=>e.deviceId===re))?void 0:s.label)||"Saida padrao",it="number"==typeof J?J:0,ot=it>1?100:1,at=Math.min(Math.max(it/ot,0),1),st=Math.round(100*at),dt=Y?Kp:at>.65?Vp:Wp,ut=V?Dp:Mp,lt=function(e){switch(e){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`}}}(we);if("afterCall"===we)return m.jsx(og,{username:t,result:D,onChangeResult:M,successQualifications:h,discardQualifications:p,selectedQualificationId:L,onSelectQualification:j,onSubmit:ze,isSubmitting:P,errorMessage:I,onLogout:i});const ct=fe?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:()=>{he(!1),$e(null)},className:Ym`text-slate-400 hover:text-slate-600 transition`,children:m.jsx(Yp,{className:Ym`text-xl`})})]}),pe&&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:pe})]}),me&&0!==me.length?m.jsx("div",{className:Ym`space-y-2 max-h-96 overflow-y-auto`,children:me.map(e=>m.jsxs("button",{type:"button",onClick:()=>Ue(e.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:e.name}),m.jsxs("p",{className:Ym`text-xs text-slate-500`,children:["ID: ",e.id]})]})]},e.id))}):m.jsx("div",{className:Ym`text-center py-8`,children:m.jsx("p",{className:Ym`text-slate-500`,children:"Nenhuma pausa disponivel"})}),m.jsx("button",{type:"button",onClick:()=>{he(!1),$e(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"})]})}):null;if(u){const e=Ee||Ae,n=ye.length>0,r=!e&&!n,o=!N&&(Oe||Ce||xe);if(console.log("[FloatingDialer Mini] Estado:",{miniCanUseKeypad:o,callButtonDisabled:r,hasNumber:n,dialValue:ye,isNumberValid:Ie,availabilityError:N,callState:we,operatorState:null==l?void 0:l.state}),"afterCall"===we){const e="success"===D?h:p,n=e.length>0;return m.jsxs("div",{className:["callix","mode","min",Ym`flex w-full max-w-full flex-col gap-3 rounded-2xl border border-slate-200 bg-white/95 p-3 shadow-sm text-slate-800`].join(" "),"data-callix-variant":"min",children:[m.jsxs("div",{className:Ym`text-center space-y-1`,children:[m.jsx("p",{className:Ym`text-[10px] 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-3 rounded-xl border border-slate-200 bg-slate-50 px-3 py-3`,children:[m.jsxs("div",{children:[m.jsx("p",{className:Ym`text-xs font-semibold text-slate-700`,children:"Qualifique a chamada"}),m.jsx("p",{className:Ym`text-[10px] text-slate-500`,children:"Esta etapa e obrigatoria para registrar o desfecho do atendimento."})]}),m.jsxs("div",{className:Ym`grid grid-cols-2 gap-1.5`,children:[m.jsx("button",{type:"button",onClick:()=>M("success"),className:Ym`${"success"===D?"bg-emerald-500 text-white shadow-md":"bg-white text-slate-600"} rounded-lg border border-slate-200 px-2 py-1.5 text-[10px] font-semibold transition`,children:"Atendimento concluido"}),m.jsx("button",{type:"button",onClick:()=>M("failure"),className:Ym`${"failure"===D?"bg-rose-500 text-white shadow-md":"bg-white text-slate-600"} rounded-lg border border-slate-200 px-2 py-1.5 text-[10px] font-semibold transition`,children:"Atendimento descartado"})]}),m.jsxs("div",{className:Ym`space-y-1.5`,children:[m.jsx("p",{className:Ym`text-[10px] font-medium text-slate-700`,children:"Selecione uma qualificacao"}),n?m.jsx("div",{className:Ym`max-h-40 space-y-1.5 overflow-y-auto pr-0.5`,children:e.map(e=>{const t=L===e.id;return m.jsx("button",{type:"button",onClick:()=>j(e.id),className:Ym`${t?"ring-1 ring-primary bg-primary/10 border-primary":"border-slate-200 bg-white"} w-full rounded-lg border px-2 py-1.5 text-left transition`,children:m.jsx("p",{className:Ym`text-[11px] font-semibold text-slate-800`,children:e.name})},e.id)})}):m.jsx("div",{className:Ym`rounded-lg border border-amber-200 bg-amber-50 px-2 py-1.5 text-[10px] text-amber-700`,children:"Nenhuma qualificacao disponivel."})]}),I&&m.jsx("p",{className:Ym`text-[10px] text-red-500`,children:I}),m.jsxs("button",{type:"button",onClick:ze,disabled:!n||!L||P,className:Ym`flex w-full items-center justify-center gap-1.5 rounded-lg bg-primary px-3 py-2 text-[11px] font-bold text-white shadow-md transition disabled:cursor-not-allowed disabled:opacity-60`,children:[P&&m.jsx("span",{className:Ym`inline-flex h-3 w-3 animate-spin rounded-full border-2 border-white/40 border-t-white`}),"Finalizar atendimento"]})]}),m.jsxs("button",{type:"button",onClick:i,className:Ym`flex w-full items-center justify-center gap-1.5 rounded-lg border border-slate-200 bg-white px-3 py-1.5 text-[11px] font-semibold text-slate-600 transition hover:text-red-500`,children:[m.jsx(kp,{className:Ym`text-xs`}),"Sair"]})]})}return m.jsxs("div",{className:["callix","mode","min",Ym`flex w-full max-w-full flex-col gap-3 rounded-2xl border border-slate-200 bg-white/95 p-3 shadow-sm text-slate-800`].join(" "),"data-callix-variant":"min",children:[m.jsxs("div",{className:Ym`flex items-center justify-between gap-2`,children:[m.jsxs("div",{className:Ym`${lt.badgeClass} flex items-center gap-1 rounded-full border px-2 py-0.5 text-[10px] font-semibold uppercase leading-tight`,children:[m.jsx(lt.Icon,{className:Ym`text-xs`}),m.jsx("span",{children:et})]}),xe?m.jsxs("button",{type:"button",onClick:()=>Fe(),className:Ym`inline-flex items-center gap-1 rounded-full border border-emerald-400 bg-emerald-50 px-2.5 py-1 text-[10px] font-semibold text-emerald-700 transition hover:bg-emerald-100`,children:[m.jsx(Op,{className:Ym`text-xs`}),"Voltar"]}):m.jsxs("button",{type:"button",onClick:()=>he(!0),className:Ym`inline-flex items-center gap-1 rounded-full border border-amber-300 bg-amber-50 px-2.5 py-1 text-[10px] font-semibold text-amber-700 transition hover:bg-amber-100`,children:[m.jsx(jp,{className:Ym`text-xs`}),"Pausa"]})]}),e?m.jsx("div",{className:Ym`rounded-xl 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 gap-2`,children:[m.jsx("div",{className:Ym`flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-emerald-500 ${U>0?"animate-pulse":""}`,children:m.jsx(Up,{className:Ym`text-xs text-white`})}),m.jsxs("div",{className:Ym`flex min-w-0 flex-1 flex-col gap-0.5`,children:[m.jsx("span",{className:Ym`truncate font-mono text-sm font-bold text-slate-800`,children:(null==Qe?void 0:Qe.replace(/^\+55/,""))||"Conectando..."}),m.jsx("span",{className:Ym`text-[9px] font-medium uppercase tracking-wider text-emerald-600`,children:et})]}),U>0&&m.jsxs("div",{className:Ym`flex shrink-0 items-center gap-1 rounded-lg bg-emerald-500 px-2 py-1`,children:[m.jsx(Ip,{className:Ym`text-[10px] text-white`}),m.jsx("span",{className:Ym`tabular-nums text-xs font-bold text-white`,children:ig(U)})]})]})}):m.jsxs("div",{className:Ym`space-y-1 rounded-xl border border-slate-200 bg-slate-50 px-3 py-2`,children:[m.jsx("span",{className:Ym`text-[10px] font-semibold uppercase tracking-wide text-slate-500`,children:"Numero"}),m.jsxs("div",{className:Ym`flex items-center gap-2`,children:[m.jsx("span",{className:Ym`flex-1 truncate text-sm font-semibold text-slate-800`,children:tt||m.jsx("span",{className:Ym`text-slate-400 text-xs font-normal`,children:"Digite um numero"})}),m.jsx("button",{type:"button",onClick:Le,disabled:!o,className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-300 bg-white text-slate-600 transition hover:border-slate-400 hover:text-slate-800 disabled:opacity-40 disabled:cursor-not-allowed`,"aria-label":"Apagar ultimo digito",children:m.jsx(Rp,{className:Ym`text-base`})}),m.jsx("button",{type:"button",onClick:Me,disabled:!o,className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-lg border border-rose-300 bg-rose-50 text-rose-600 transition hover:border-rose-400 hover:bg-rose-100 disabled:opacity-40 disabled:cursor-not-allowed`,"aria-label":"Limpar numero",children:m.jsx(Yp,{className:Ym`text-sm`})})]})]}),m.jsx("div",{className:Ym`grid grid-cols-3 gap-2`,children:Hv.map(e=>m.jsxs("button",{type:"button",onClick:()=>De(e.value),disabled:!o,className:Ym`flex h-12 flex-col items-center justify-center rounded-lg border border-slate-200 bg-white text-base font-semibold text-slate-800 shadow-sm transition active:scale-95 hover:border-slate-300 hover:shadow-md disabled:cursor-not-allowed disabled:opacity-40`,children:[m.jsx("span",{children:e.value}),e.detail&&m.jsx("span",{className:Ym`text-[8px] font-semibold uppercase tracking-widest text-slate-400`,children:e.detail})]},e.value))}),m.jsxs("button",{type:"button",onClick:()=>{e?Be():je()},disabled:r,className:Ym`${e?"bg-rose-500 hover:bg-rose-600":"bg-emerald-500 hover:bg-emerald-600"} flex h-11 w-full items-center justify-center gap-2 rounded-xl text-sm font-bold text-white shadow-md transition disabled:cursor-not-allowed disabled:opacity-60`,children:[m.jsx(qp,{className:Ym`text-base`}),e?"Encerrar":"Ligar"]}),(T||N||oe)&&m.jsxs("div",{className:Ym`rounded-lg border border-rose-200 bg-rose-50 px-2.5 py-2 text-[11px] text-rose-700`,children:[m.jsx(Np,{className:Ym`mr-1 inline text-xs`}),T||N||oe]}),ct]})}const ft=Ee||Ae;return m.jsxs("div",{ref:x,tabIndex:0,role:"application","aria-label":"Discador manual",onFocusCapture:Ge,onBlurCapture:We,className:Ym`space-y-3 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:t}),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:[Ce&&m.jsxs("button",{type:"button",onClick:()=>he(!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"})]}),xe&&m.jsxs("button",{type:"button",onClick:Fe,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`${lt.badgeClass} inline-flex items-center gap-1.5 rounded-lg border px-2 py-1 text-[10px] font-bold ${Ee?"animate-pulse":""}`,children:[m.jsx(lt.Icon,{className:Ym`text-xs`}),m.jsx("span",{children:et}),m.jsx("span",{className:Ym`${lt.dotClass} inline-flex h-1.5 w-1.5 rounded-full`,"aria-hidden":!0})]})]})]}),ft&&m.jsxs(m.Fragment,{children:[m.jsx(ag,{statusLabel:et,callTarget:Qe,durationSeconds:U}),m.jsx(Lv,{})]}),!ft&&m.jsxs("div",{ref:S,className:Ym`${w?"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 e;return null==(e=x.current)?void 0:e.focus()},children:[m.jsx("input",{ref:E,id:"dialer-number",type:"tel",inputMode:"tel",value:ye,onChange:e=>r(e.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"})]}),w&&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:tt||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:Hv.map(e=>m.jsxs("button",{type:"button",onClick:()=>De(e.value),disabled:!Oe,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:e.value}),e.detail&&m.jsx("span",{className:Ym`text-[8px] font-semibold tracking-widest text-slate-400 uppercase`,children:e.detail})]},e.value))}),m.jsxs("div",{className:Ym`space-y-2`,children:[m.jsxs("div",{className:Ym`flex flex-wrap items-center gap-2`,children:[Ce||xe?m.jsxs("button",{type:"button",onClick:je,disabled:!Ie,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"]}):Se?m.jsxs(m.Fragment,{children:[m.jsxs("button",{type:"button",onClick:He,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:qe,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:Be,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:()=>K(!V),className:Ym`${V?"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(ut,{className:Ym`text-xs`}),V?"Mudo":"Mic"]}),m.jsxs("button",{type:"button",onClick:()=>X(!Y),className:Ym`${Y?"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(dt,{className:Ym`text-xs`}),Y?"Mudo":`${st}%`]}),m.jsx("button",{type:"button",onClick:Le,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:Me,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-3 shadow-sm`,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-sm font-semibold text-slate-800`,children:["Saída ",st,"%"]})]}),m.jsxs("div",{className:Ym`flex items-center gap-2`,children:[m.jsx("button",{type:"button",onClick:()=>Ye((J??0)-.05),className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition hover:border-primary/60 hover:text-primary`,"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(J)?J:0,onChange:e=>Ye(parseFloat(e.target.value)),className:Ym`h-1 w-full max-w-full cursor-pointer appearance-none rounded-full bg-slate-200 accent-primary`,"aria-label":"Volume de saida"}),m.jsx("button",{type:"button",onClick:()=>Ye((J??0)+.05),className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition hover:border-primary/60 hover:text-primary`,"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-xs text-slate-600`,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-full`,children:nt})]}),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-full`,children:rt})]}),(Q.inputs.length>0||Q.outputs.length>0)&&m.jsxs("button",{type:"button",onClick:()=>de(e=>!e),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]`}),se?"Ocultar":"Config"]})]}),se&&m.jsxs("div",{className:Ym`mt-3 grid gap-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-xs shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40`,value:te??"",onChange:Ve,children:[0===Q.inputs.length&&m.jsx("option",{value:"",children:"Padrão"}),Q.inputs.map(e=>m.jsx("option",{value:e.deviceId,children:e.label||"Padrão"},e.deviceId||e.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-xs shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40`,value:re??"",onChange:Ke,children:[0===Q.outputs.length&&m.jsx("option",{value:"",children:"Padrão"}),Q.outputs.map(e=>m.jsx("option",{value:e.deviceId,children:e.label||"Padrão"},e.deviceId||e.label))]})]})]})]})]}),(T||N||oe)&&m.jsxs("div",{className:Ym`space-y-1.5`,children:[T&&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:T})]}),N&&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:N})]}),oe&&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:oe})]})]}),ct,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 Jv(e){if(!e)return"";const t=e.normalize("NFKC");let n="";for(const r of t)(/^[0-9*#]$/.test(r)||"+"===r&&0===n.length)&&(n+=r);return n}function Zv(e,t){const n=function(e){return e&&"object"==typeof e?e:null}(e);if(n&&t in n)return n[t]}function Qv(e,t){const n=Zv(e,t);return"function"==typeof n?n:void 0}function eg(e){const t=Zv(e,"counterpart");return function(e){if(!e||"object"!=typeof e)return!1;const t=e,n=t.displayName,r=t.phoneNumber;return!(null!=n&&"string"!=typeof n||null!=r&&"string"!=typeof r)}(t)?t:null}function tg(e,t){const n=e[t];if("number"==typeof n&&Number.isFinite(n))return n;if("string"==typeof n){const e=Number(n);if(Number.isFinite(e))return e}return null}const ng={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 rg(e,t,n){return Number.isFinite(e)?n<t?t:Math.min(Math.max(e,t),n):t}function ig(e){const t=Math.max(0,Math.floor(e));return`${Math.floor(t/60).toString().padStart(2,"0")}:${(t%60).toString().padStart(2,"0")}`}function og({username:e,result:t,onChangeResult:n,successQualifications:r,discardQualifications:i,selectedQualificationId:o,onSelectQualification:a,onSubmit:s,isSubmitting:d,errorMessage:u,onLogout:l}){const c="success"===t?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:e})]}),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"===t?"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"===t?"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(e=>{const t=o===e.id;return m.jsx("button",{type:"button",onClick:()=>a(e.id),className:Ym`${t?"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:e.name})},e.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:s,disabled:!f||!o||d,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:[d&&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 ag({statusLabel:e,callTarget:t,durationSeconds:n}){const r=n>0?ig(n):"00:00",i=(null==t?void 0:t.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:e})]})]}),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 sg({variant:e="default",...t}){return m.jsxs(m.Fragment,{children:[m.jsx("style",{dangerouslySetInnerHTML:{__html:'\n /* Container externo do HTML - SEM padding/border para não vazar */\n #dialer-inline.callix.mode.min {\n display: block !important;\n width: 100% !important;\n max-width: 100% !important;\n padding: 0 !important;\n border: none !important;\n background: transparent !important;\n box-shadow: none !important;\n }\n\n /* Estilos para modo mini quando Tailwind CDN não processa classes */\n .callix.mode.min {\n display: flex !important;\n flex-direction: column !important;\n gap: 0.75rem !important;\n border-radius: 1rem !important;\n border: 1px solid #e2e8f0 !important;\n background: rgba(255, 255, 255, 0.95) !important;\n padding: 0.75rem !important;\n box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;\n color: #1e293b !important;\n width: 100% !important;\n max-width: 100% !important;\n box-sizing: border-box !important;\n }\n\n /* Visor de número - fonte menor para caber todos os dígitos */\n .callix.mode.min [class*="truncate"] {\n font-size: 0.875rem !important; /* text-sm */\n line-height: 1.25rem !important;\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n }\n\n /* Botões do modo mini */\n .callix.mode.min button {\n cursor: pointer !important;\n transition: all 0.2s ease !important;\n }\n \n .callix.mode.min button:disabled {\n cursor: not-allowed !important;\n opacity: 0.6 !important;\n }\n\n /* Grid do teclado numérico */\n .callix.mode.min [class*="grid-cols-3"] {\n display: grid !important;\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n gap: 0.5rem !important;\n }\n\n /* Botões do teclado */\n .callix.mode.min [class*="grid-cols-3"] button {\n display: flex !important;\n height: 3rem !important;\n flex-direction: column !important;\n align-items: center !important;\n justify-content: center !important;\n border-radius: 0.5rem !important;\n border: 1px solid #e2e8f0 !important;\n background: white !important;\n font-size: 1rem !important;\n font-weight: 600 !important;\n color: #1e293b !important;\n box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;\n }\n\n .callix.mode.min [class*="grid-cols-3"] button:hover:not(:disabled) {\n border-color: #cbd5e1 !important;\n box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;\n }\n\n .callix.mode.min [class*="grid-cols-3"] button:active:not(:disabled) {\n transform: scale(0.95) !important;\n }\n\n /* Botão principal de Ligar/Encerrar */\n .callix.mode.min > button[class*="bg-emerald"],\n .callix.mode.min > button[class*="bg-rose"] {\n display: flex !important;\n height: 2.75rem !important;\n width: 100% !important;\n align-items: center !important;\n justify-content: center !important;\n gap: 0.5rem !important;\n border-radius: 0.75rem !important;\n font-size: 0.875rem !important;\n font-weight: 700 !important;\n color: white !important;\n box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;\n border: none !important;\n }\n\n .callix.mode.min > button[class*="bg-emerald"] {\n background: #10b981 !important;\n }\n\n .callix.mode.min > button[class*="bg-emerald"]:hover:not(:disabled) {\n background: #059669 !important;\n }\n\n .callix.mode.min > button[class*="bg-rose"] {\n background: #f43f5e !important;\n }\n\n .callix.mode.min > button[class*="bg-rose"]:hover:not(:disabled) {\n background: #e11d48 !important;\n }\n '}}),m.jsx(Kv,{...t,variant:e})]})}class dg{constructor(e){this.root=null,this.container=null,this.options=e}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}`);const t=function(e){const t={},n=e.getAttribute("data-callix-mode")||e.dataset.callixMode||e.dataset.mode,r=e.getAttribute("data-callix-username")||e.dataset.callixUsername||e.dataset.username,i=Array.from(e.classList),o=i.map(e=>e.toLowerCase()),a=o.includes("callix"),s=n?n.toLowerCase():void 0;if(("min"===s||"mini"===s||a&&(o.includes("mode-min")||o.includes("mode-mini")||o.includes("mode")&&o.includes("min")))&&(t.uiVariant="min"),!t.presetUsername&&r&&(t.presetUsername=r.trim()),!t.presetUsername)for(const d of i){const e=d.match(/(?:user|username|callix-user)[-_:]([A-Za-z0-9.@_-]+)/i);if(e){t.presetUsername=e[1];break}}return t.presetUsername&&(t.presetUsername=t.presetUsername.trim()),t}(this.container);!this.options.uiVariant&&t.uiVariant&&(this.options.uiVariant=t.uiVariant),!this.options.presetUsername&&t.presetUsername&&(this.options.presetUsername=t.presetUsername),this.root=y.createRoot(this.container),this.root.render(m.jsx(e.StrictMode,{children:m.jsx(fg,{options:this.options})})),this.options.onReady&&this.options.onReady()}catch(t){this.options.onError?this.options.onError(t):console.error("[Callix Dialer] Erro ao inicializar:",t)}}destroy(){this.root&&(this.root.unmount(),this.root=null)}}const ug=e=>({SESSION_TOKEN:`callix_dialer_${e}_session_token`,DOMAIN:`callix_dialer_${e}_domain`,TIMESTAMP:`callix_dialer_${e}_timestamp`}),lg="callix_dialer_last_username",cg=288e5;function fg({options:t}){const[n,r]=e.useState(null),[i,o]=e.useState(!1),[a,s]=e.useState(!1),[d,u]=e.useState(null),[l,c]=e.useState(null),[f,h]=e.useState(null),[p,$]=e.useState(!0),v=t.presetUsername?t.presetUsername.trim():null,g=t.uiVariant??"default",y=e.useRef(!1),b=e.useRef(v);e.useEffect(()=>{if("undefined"!=typeof window)try{const e=localStorage.getItem(lg);if(!e)return void $(!1);if(v&&e!==v)return console.log("[Callix Dialer] Ignorando sessao salva por mismatch com preset:",e,"!=",v),void $(!1);const t=ug(e),n=localStorage.getItem(t.SESSION_TOKEN),i=localStorage.getItem(t.DOMAIN),a=localStorage.getItem(t.TIMESTAMP);if(e&&n&&i&&a){const s=parseInt(a,10);Date.now()-s<cg?(console.log("[Callix Dialer] Restaurando sessão salva:",e),r(e),c(n),h(i),o(!0)):(console.log("[Callix Dialer] Sessão expirada, limpando..."),localStorage.removeItem(lg),localStorage.removeItem(t.SESSION_TOKEN),localStorage.removeItem(t.DOMAIN),localStorage.removeItem(t.TIMESTAMP))}}catch(e){console.error("[Callix Dialer] Erro ao restaurar sessão:",e)}finally{$(!1)}else $(!1)},[]),e.useEffect(()=>{v&&n!==v&&r(v)},[v,n]);const _=e.useCallback(async e=>{s(!0),u(null);try{const i=t.apiUrl||"/api/user-sdk-session",a=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e}),credentials:"same-origin"});if(!a.ok){const e=await a.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(e.error||`Falha na autenticação: ${a.status}`)}const s=await a.json();if(c(s.userSessionToken),h(s.domain||"villelabrasil.callix.com.br"),r(e),o(!0),u(null),"undefined"!=typeof window)try{const t=ug(e);localStorage.setItem(lg,e),localStorage.setItem(t.SESSION_TOKEN,s.userSessionToken),localStorage.setItem(t.DOMAIN,s.domain||"villelabrasil.callix.com.br"),localStorage.setItem(t.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:",e)}catch(n){console.error("[Callix Dialer] Erro ao autenticar:",n),u(n instanceof Error?n.message:"Erro ao autenticar"),o(!1),c(null)}finally{s(!1)}},[t.apiUrl]);e.useEffect(()=>{if(!v)return b.current=null,void(y.current=!1);b.current!==v&&(b.current=v,y.current=!1),i||a||p||y.current||(y.current=!0,_(v))},[v,i,a,p,_]);const w=()=>{const e=n;if(r(v??null),o(!1),c(null),h(null),u(null),y.current=!1,b.current=v??null,"undefined"!=typeof window&&e)try{const t=ug(e);localStorage.removeItem(lg),localStorage.removeItem(t.SESSION_TOKEN),localStorage.removeItem(t.DOMAIN),localStorage.removeItem(t.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)}},C="inline"===t.mode?sg:Kv;return i&&l&&f?m.jsx(_f.CallixClientProvider,{domain:f,userSessionToken:l,children:m.jsx(C,{isAuthenticated:i,username:n,onLogin:_,onLogout:w,isLoadingSession:a,sessionError:d,variant:g})}):m.jsx(C,{isAuthenticated:!1,username:n,onLogin:_,onLogout:w,isLoadingSession:a||p,sessionError:d,variant:g})}const hg={CallixDialerWidget:dg,init:function(e){const t=new dg(e);return t.init(),t}};return"undefined"!=typeof window&&(window.CallixDialer=hg),hg});
|
|
26
|
+
*/var _f=function(){if(vf)return mf;vf=1;var t,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(a,{CallixClientParams:()=>s.CallixClientParams,CallixClientProvider:()=>m,CallixClientSdk:()=>s.CallixClientSdk,useCallOperator:()=>C,useCallOperatorAudioInputMuted:()=>M,useCallOperatorAudioOutputControls:()=>P,useCallOperatorAudioOutputMuted:()=>D,useCallOperatorAudioOutputVolume:()=>k,useCallOperatorBreaks:()=>L,useCallOperatorControls:()=>E,useCallOperatorCurrentCall:()=>T,useCallOperatorCurrentCallControls:()=>I,useCallOperatorCurrentCallInfo:()=>A,useCallOperatorDiscardQualifications:()=>O,useCallOperatorEventListener:()=>R,useCallOperatorState:()=>x,useCallOperatorSuccessQualifications:()=>N,useCallixClient:()=>$}),t=a,mf=((e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let d of i(t))!o.call(e,d)&&d!==a&&n(e,d,{get:()=>t[d],enumerable:!(s=r(t,d))||s.enumerable});return e})(n({},"__esModule",{value:!0}),t);var s=sf(),d=sf(),u=hf(),l=bf(),c=p(),f=(0,u.createScope)(null),h=(0,u.molecule)((e,t)=>{let n=t(f);if(!n)throw new Error("Missing CallixClient parameters. You must wrap your component tree with CallixClientProvider.");return new d.CallixClientSdk(n)});function $(){return(0,l.useMolecule)(h)}function m({children:e,...t}){return(0,c.jsx)(l.ScopeProvider,{scope:f,value:t,children:e})}var v=hf(),g=bf(),y=e,b=e;function _(e){return(0,b.useSyncExternalStore)(e.subscribe.bind(e),e.get.bind(e),e.get.bind(e))}var w=(0,v.molecule)(e=>{let t=e(h).createCallOperator();return(0,v.onMount)(()=>{t.start();let e=()=>{t.stop()};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e)}}),(0,v.onUnmount)(()=>{t.stop()}),t});function C(){return(0,g.useMolecule)(w)}function x(){let e=C(),t=_(e.currentStateKeys);for(let n of t){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:e.currentBreak.get()};if("available.callRinging"===n)return{state:"callRinging",call:e.currentCall.get()};if("manualCall.callSetup"===n)return{state:"manualCallSetup",call:e.currentCall.get()};if("manualCall.callRinging"===n)return{state:"manualCallRinging",call:e.currentCall.get()};if("available"===n||"manualCall.idle"===n)return{state:"idle"};if("inCall"===n)return{state:"callInProgress",call:e.currentCall.get()};if("afterCall"===n)return{state:"afterCall"}}}function S(e,t,n){return Object.fromEntries(n.map(n=>[n,(0,y.useCallback)((...r)=>{if(t){if("function"==typeof t[n])return(null==t?void 0:t[n]).apply(t,r);console.warn(`Method ${String(n)} is not a function on obj ${e}.`)}else console.warn(`Obj ${e} is null or undefined, cannot call method ${String(n)}.`)},[t])]))}function E(){return S("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 S("currentCall",T(),["answer","reject","hangup","isOnHold","hold","unhold","isMuted","mute","unmute"])}function R(e,t){let n=C(),r=(0,y.useRef)(t);r.current=t,(0,y.useEffect)(()=>{if(n)return n.on(e,(...e)=>{r.current.apply(null,e)})},[e,n])}function P(){return S("audioOutput",C().audioOutput,["setVolume","setMute"])}function k(){let e=C(),{setVolume:t}=P();return[_(e.audioOutput.volume),t]}function D(){let e=C(),{setMute:t}=P();return[_(e.audioOutput.isMuted),t]}function M(){let e=T(),[t,n]=(0,y.useState)((null==e?void 0:e.isMuted())??!1);return[t,(0,y.useCallback)(t=>{e&&(t?e.mute():e.unmute(),n(t))},[e])]}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(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),r=t[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 e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var xf={}.constructor;function Sf(e){return null!=e&&e.constructor===xf}function Ef(e){return(Ef="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Tf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Af(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Nf(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Nf(e){var t=function(e,t){if("object"!=Ef(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Ef(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==Ef(t)?t:t+""}var Of=" ext. ",If=/^\d+$/,Rf=function(){return Af(function e(t){Tf(this,e),jf(t),this.metadata=t,Bf.call(this,t)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return"001"!==e})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&If.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw new Error("Unknown country: ".concat(e));this.numberingPlan=new Pf(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw new Error("Unknown calling code: ".concat(t));this.numberingPlan=new Pf(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t){if(1===t.length&&3===t[0].length)return;return t}}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var r=this.countryCallingCodes()[e];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(e){return this.numberingPlan.type(e)}},{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(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}])}(),Pf=function(){return Af(function e(t,n){Tf(this,e),this.globalMetadataObject=n,this.metadata=t,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(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new kf(t,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[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(e){if(this.hasTypes()&&Lf(this.types(),e))return new Mf(Lf(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?Of:this.metadata[13]||Of}}])}(),kf=function(){return Af(function e(t,n){Tf(this,e),this._format=t,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 e(t,n){Tf(this,e),this.type=t,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(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function jf(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Sf(e)||!Sf(e.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Sf(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+Uf(e)+": "+e,"."))}var Uf=function(e){return Ef(e)};function Ff(e,t){if((t=new Rf(t)).hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function Bf(e){var t=e.version;"number"==typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===Cf(t,"1.2.0")?this.v2=!0:-1===Cf(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function qf(e,t,n){return function(e,t,n,r){t&&(r=new Rf(r.metadata)).selectNumberingPlan(t);var i=r.type(n),o=i&&i.possibleLengths()||r.possibleLengths();if(!o)return"IS_POSSIBLE";var a=e.length,s=o[0];if(s===a)return"IS_POSSIBLE";if(s>a)return"TOO_SHORT";if(o[o.length-1]<a)return"TOO_LONG";return o.indexOf(a,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(e,t,void 0,n)}function Hf(e,t,n){return"IS_POSSIBLE"===qf(e,t,n)}function zf(e,t){return e=e||"",new RegExp("^(?:"+t+")$").test(e)}function Gf(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Wf(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Wf(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Vf=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Kf(e,t,n){if(t=t||{},e.country||e.countryCallingCode){(n=new Rf(n)).selectNumberingPlan(e.country,e.countryCallingCode);var r=t.v2?e.nationalNumber:e.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(Vf);!(i=o()).done;){var a=i.value;if(Yf(r,a,n))return a}}}}function Yf(e,t,n){return!(!(t=n.type(t))||!t.pattern())&&(!(t.possibleLengths()&&t.possibleLengths().indexOf(e.length)<0)&&zf(e,t.pattern()))}function Xf(e,t,n){var r=new Rf(n).getCountryCodesForCallingCode(e);return r?r.filter(function(e){return function(e,t,n){var r=new Rf(n);if(r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(e.length)>=0)return!0;return!1}(t,e,n)}):[]}var Jf="0-90-9٠-٩۰-۹",Zf="".concat("-‐-―−ー-").concat("//").concat("..").concat(" ").concat("()()[]\\[\\]").concat("~⁓∼~"),Qf=new RegExp("(["+Jf+"])");function eh(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return th(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?th(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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 th(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nh(e,t){var n=t.nationalNumber,r=t.metadata,i=r.getCountryCodesForCallingCode(e);if(i)return 1===i.length?i[0]:function(e,t){var n=t.countries,r=t.metadata;r=new Rf(r);for(var i,o=eh(n);!(i=o()).done;){var a=i.value;if(r.selectNumberingPlan(a),r.leadingDigits()){if(e&&0===e.search(r.leadingDigits()))return a}else if(Kf({phone:e,country:a},void 0,r.metadata))return a}}(n,{countries:i,metadata:r.metadata})}function rh(e,t,n){var r=function(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(e);if(r){var i,o,a,s=r.length-1,d=s>0&&r[s];if(t.nationalPrefixTransformRule()&&d)i=e.replace(n,t.nationalPrefixTransformRule()),s>1&&(o=r[1]);else{var u=r[0];i=e.slice(u.length),d&&(o=r[1])}if(d){var l=e.indexOf(r[1]);e.slice(0,l)===t.numberingPlan.nationalPrefix()&&(a=t.numberingPlan.nationalPrefix())}else a=r[0];return{nationalNumber:i,nationalPrefix:a,carrierCode:o}}}return{nationalNumber:e}}(e,n),i=r.carrierCode,o=r.nationalNumber;if(o!==e){if(!function(e,t,n){if(zf(e,n.nationalNumberPattern())&&!zf(t,n.nationalNumberPattern()))return!1;return!0}(e,o,n))return{nationalNumber:e};if(n.numberingPlan.possibleLengths()&&(t||(t=nh(n.numberingPlan.callingCode(),{nationalNumber:o,metadata:n})),!function(e,t,n){switch(qf(e,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}(o,t,n)))return{nationalNumber:e}}return{nationalNumber:o,carrierCode:i}}function ih(e,t,n,r,i){if(!e)return{};var o;if("+"!==e[0]){var a=function(e,t,n,r){if(t){var i=new Rf(r);i.selectNumberingPlan(t,n);var o=new RegExp(i.IDDPrefix());if(0===e.search(o)){var a=(e=e.slice(e.match(o)[0].length)).match(Qf);if(!(a&&null!=a[1]&&a[1].length>0&&"0"===a[1]))return e}}}(e,n,r,i);if(!a||a===e){if(n||r){var s=function(e,t,n,r,i){var o=n?Ff(n,i):r;if(0===e.indexOf(o)){(i=new Rf(i)).selectNumberingPlan(n,o);var a=e.slice(o.length),s=rh(a,t,i).nationalNumber,d=rh(e,t,i).nationalNumber;if(!zf(d,i.nationalNumberPattern())&&zf(s,i.nationalNumberPattern())||"TOO_LONG"===qf(d,t,i))return{countryCallingCode:o,number:a}}return{number:e}}(e,t,n,r,i),d=s.countryCallingCode,u=s.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:u}}return{number:e}}o=!0,e="+"+a}if("0"===e[1])return{};i=new Rf(i);for(var l=2;l-1<=3&&l<=e.length;){var c=e.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:e.slice(l)};l++}return{}}var oh=/(\$\d)/;function ah(e,t,n){var r=n.useInternationalFormat,i=n.withNationalPrefix,o=e.replace(new RegExp(t.pattern()),r?t.internationalFormat():i&&t.nationalPrefixFormattingRule()?t.format().replace(oh,t.nationalPrefixFormattingRule()):t.format());return r?function(e){return e.replace(new RegExp("[".concat(Zf,"]+"),"g")," ").trim()}(o):o}var sh=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;var dh=function(e){return"([".concat(Jf,"]{1,").concat(e,"})")};function uh(e){var t="[ \\t,]*",n="[:\\..]?[ \\t,-]*",r="#?",i="[ \\t]*";return";ext="+dh("20")+"|"+(t+"(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)"+n+dh("20")+r)+"|"+(t+"(?:[xx##~~]|int|int)"+n+dh("9")+r)+"|"+("[- ]+"+dh("6")+"#")+"|"+(i+"(?:,{2}|;)"+n+dh("15")+r)+"|"+(i+"(?:,)+"+n+dh("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(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function mh(e,t,n,r){if(n=n?function(){for(var e=1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;e<n.length;){if(n[e])for(var i in n[e])n[0][i]=n[e][i];e++}return n[0]}({},$h,n):$h,r=new Rf(r),e.country&&"001"!==e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)return e.phone||"";r.selectNumberingPlan(e.countryCallingCode)}var i,o=r.countryCallingCode(),a=n.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":return a?gh(i=vh(a,e.carrierCode,"NATIONAL",r,n),e.ext,r,n.formatExtension):"";case"INTERNATIONAL":return a?(i=vh(a,null,"INTERNATIONAL",r,n),gh(i="+".concat(o," ").concat(i),e.ext,r,n.formatExtension)):"+".concat(o);case"E.164":return"+".concat(o).concat(a);case"RFC3966":return function(e){var t=e.number,n=e.ext;if(!t)return"";if("+"!==t[0])throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}({number:"+".concat(o).concat(a),ext:e.ext});case"IDD":if(!n.fromCountry)return;var s=function(e,t,n,r,i){var o=Ff(r,i.metadata);if(o===n){var a=vh(e,t,"NATIONAL",i);return"1"===n?n+" "+a:a}var s=function(e,t,n){var r=new Rf(n);return r.selectNumberingPlan(e,t),r.defaultIDDPrefix()?r.defaultIDDPrefix():sh.test(r.IDDPrefix())?r.IDDPrefix():void 0}(r,void 0,i.metadata);if(s)return"".concat(s," ").concat(n," ").concat(vh(e,null,"INTERNATIONAL",i))}(a,e.carrierCode,o,n.fromCountry,r);return gh(s,e.ext,r,n.formatExtension);default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function vh(e,t,n,r,i){var o,a,s=(o=r.formats(),a=e,function(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}(o,function(e){if(e.leadingDigitsPatterns().length>0){var t=e.leadingDigitsPatterns()[e.leadingDigitsPatterns().length-1];if(0!==a.search(t))return!1}return zf(a,e.pattern())}));return s?ah(e,s,{useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!s.nationalPrefixIsOptionalWhenFormattingInNationalFormat()||!i||!1!==i.nationalPrefix}):e}function gh(e,t,n,r){return t?r(e,t,n):e}function yh(e){return(yh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bh(Object(n),!0).forEach(function(t){wh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function wh(e,t,n){return(t=xh(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ch(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,xh(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function xh(e){var t=function(e,t){if("object"!=yh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=yh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==yh(t)?t:t+""}var Sh=function(){return Ch(function e(t,n,r){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!t)throw new TypeError("First argument is required");if("string"!=typeof t)throw new TypeError("First argument must be a string");if("+"===t[0]&&!n)throw new TypeError("`metadata` argument not passed");if(Sf(n)&&Sf(n.countries)){r=n;var i=t;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(t=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(e,t){var n,r,i=new Rf(t);Eh(e)?(n=e,i.selectNumberingPlan(n),r=i.countryCallingCode()):r=e;return{country:n,countryCallingCode:r}}(t,r),s=a.country,d=a.countryCallingCode;this.country=s,this.countryCallingCode=d,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}},[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Xf(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return function(e,t,n){if(void 0===t&&(t={}),n=new Rf(n),t.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));n.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return Hf(e.phone||e.nationalNumber,e.country,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return e=this,t={v2:!0},n=this.getMetadata(),t=t||{},(n=new Rf(n)).selectNumberingPlan(e.country,e.countryCallingCode),n.hasTypes()?void 0!==Kf(e,t,n.metadata):zf(t.v2?e.nationalNumber:e.phone,n.nationalNumberPattern());var e,t,n}},{key:"isNonGeographic",value:function(){return new Rf(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return Kf(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,t){return mh(this,e,t?_h(_h({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}])}(),Eh=function(e){return/^[A-Z]{2}$/.test(e)};var Th=/^\+\d+$/;function Ah(e){return(Ah="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Nh(e,t,n){return t=Ph(t),function(e,t){if(t&&("object"==Ah(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ih()?Reflect.construct(t,n||[],Ph(e).constructor):t.apply(e,n))}function Oh(e){var t="function"==typeof Map?new Map:void 0;return Oh=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(Ih())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&Rh(i,n.prototype),i}(e,arguments,Ph(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Rh(n,e)},Oh(e)}function Ih(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ih=function(){return!!e})()}function Rh(e,t){return(Rh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Ph(e){return(Ph=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var kh=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=Nh(this,t,[e]),Object.setPrototypeOf(n,t.prototype),n.name=n.constructor.name,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Rh(e,t)}(t,e),n=t,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(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return jh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jh(e,t):void 0}}(e))||t){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Uh(e){for(var t,n="",r=Lh(e.split(""));!(t=r()).done;){n+=Fh(t.value,n)||""}return n}function Fh(e,t,n){if("+"===e){if(t)return;return"+"}return function(e){return Mh[e]}(e)}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(e,t){var n,r=t.extractFormattedPhoneNumber,i=function(e){var t=e.indexOf(Gh);if(t<0)return null;var n=t+15;if(n>=e.length)return"";var r=e.indexOf(";",n);return r>=0?e.substring(n,r):e.substring(n)}(e);if(!function(e){return null===e||0!==e.length&&(qh.test(e)||Hh.test(e))}(i))throw new kh("NOT_A_NUMBER");if(null===i)n=r(e)||"";else{n="","+"===i.charAt(0)&&(n+=i);var o,a=e.indexOf(zh);o=a>=0?a+4:0;var s=e.indexOf(Gh);n+=e.substring(o,s)}var d=n.indexOf(";isub=");if(d>0&&(n=n.substring(0,d)),""!==n)return n}var Vh=new RegExp("[++"+Jf+"]"),Kh=new RegExp("[^"+Jf+"#]+$");function Yh(e,t,n){if(t=t||{},n=new Rf(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry)){if(t.v2)throw new kh("INVALID_COUNTRY");throw new Error("Unknown country: ".concat(t.defaultCountry))}var r=function(e,t,n){var r=Wh(e,{extractFormattedPhoneNumber:function(e){return function(e,t,n){if(!e)return;if(e.length>250){if(n)throw new kh("TOO_LONG");return}if(!1===t)return e;var r=e.search(Vh);if(r<0)return;return e.slice(r).replace(Kh,"")}(e,n,t)}});if(!r)return{};if(!function(e){return e.length>=2&&ph.test(e)}(r))return function(e){return fh.test(e)}(r)?{error:"TOO_SHORT"}:{};var i=function(e){var t=e.search(Dh);if(t<0)return{};for(var n=e.slice(0,t),r=e.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}}(e,t.v2,t.extract),i=r.number,o=r.ext,a=r.error;if(!i){if(t.v2){if("TOO_SHORT"===a)throw new kh("TOO_SHORT");throw new kh("NOT_A_NUMBER")}return{}}var s=function(e,t,n,r){var i,o=ih(Uh(e),void 0,t,n,r.metadata),a=o.countryCallingCodeSource,s=o.countryCallingCode,d=o.number;if(s)r.selectNumberingPlan(s);else{if(!d||!t&&!n)return{};r.selectNumberingPlan(t,n),t&&(i=t),s=n||Ff(t,r.metadata)}if(!d)return{countryCallingCodeSource:a,countryCallingCode:s};var u=rh(Uh(d),i,r),l=u.nationalNumber,c=u.carrierCode,f=nh(s,{nationalNumber:l,metadata:r});f&&(i=f,"001"===f||r.selectNumberingPlan(i));return{country:i,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:l,carrierCode:c}}(i,t.defaultCountry,t.defaultCallingCode,n),d=s.country,u=s.nationalNumber,l=s.countryCallingCode,c=s.countryCallingCodeSource,f=s.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new kh("INVALID_COUNTRY");return{}}if(!u||u.length<2){if(t.v2)throw new kh("TOO_SHORT");return{}}if(u.length>17){if(t.v2)throw new kh("TOO_LONG");return{}}if(t.v2){var h=new Sh(l,u,n.metadata);return d&&(h.country=d),f&&(h.carrierCode=f),o&&(h.ext=o),h.__countryCallingCodeSource=c,h}var p=!!(t.extended?n.hasSelectedNumberingPlan():d)&&zf(u,n.nationalNumberPattern());return t.extended?{country:d,countryCallingCode:l,carrierCode:f,valid:p,possible:!!p||!(!0!==t.extended||!n.possibleLengths()||!Hf(u,d,n)),phone:u,ext:o}:p?function(e,t,n){var r={country:e,phone:t};n&&(r.ext=n);return r}(d,u,o):{}}function Xh(e){return(Xh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Zh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jh(Object(n),!0).forEach(function(t){Qh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Qh(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=Xh(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=Xh(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Xh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ep(e){return(ep="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function np(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ep(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=ep(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ep(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function rp(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],d=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(d=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);d=!0);}catch(l){u=!0,i=l}finally{try{if(!d&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ip(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ip(e,t):void 0}}(e,t)||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(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function op(e){var t,n,r,i=rp(Array.prototype.slice.call(e),4),o=i[0],a=i[1],s=i[2],d=i[3];if("string"!=typeof o)throw new TypeError("A text for parsing must be a string.");if(t=o,a&&"string"!=typeof a){if(!Sf(a))throw new Error("Invalid second argument: ".concat(a));s?(n=a,r=s):r=a}else d?(n=s,r=d):(n=void 0,r=s),a&&(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tp(Object(n),!0).forEach(function(t){np(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({defaultCountry:a},n));return{text:t,options:n,metadata:r}}function ap(e){return(ap="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function sp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sp(Object(n),!0).forEach(function(t){up(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function up(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=ap(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=ap(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ap(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lp(e,t,n){t&&t.defaultCountry&&!function(e,t){return t.countries.hasOwnProperty(e)}(t.defaultCountry,n)&&(t=dp(dp({},t),{},{defaultCountry:void 0}));try{return function(e,t,n){return Yh(e,Zh(Zh({},t),{},{v2:!0}),n)}(e,t,n)}catch(r){if(!(r instanceof kh))throw r}}function cp(e){return(cp="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fp(Object(n),!0).forEach(function(t){pp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pp(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=cp(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=cp(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==cp(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $p(){var e=op(arguments),t=e.text,n=e.options,r=e.metadata,i=lp(t,n=hp(hp({},n),{},{extract:!1}),r);return i&&i.isValid()||!1}function mp(){return function(e,t){var n=Array.prototype.slice.call(t);return n.push(wf),e.apply(this,n)}($p,arguments)}var vp={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},gp=e.createContext&&e.createContext(vp),yp=["attr","size","title"];function bp(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function _p(){return _p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_p.apply(this,arguments)}function wp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Cp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wp(Object(n),!0).forEach(function(t){xp(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wp(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xp(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sp(t){return t&&t.map((t,n)=>e.createElement(t.tag,Cp({key:n},t.attr),Sp(t.child)))}function Ep(t){return n=>e.createElement(Tp,_p({attr:Cp({},t.attr)},n),Sp(t.child))}function Tp(t){var n=n=>{var r,{attr:i,size:o,title:a}=t,s=bp(t,yp),d=o||n.size||"1em";return n.className&&(r=n.className),t.className&&(r=(r?r+" ":"")+t.className),e.createElement("svg",_p({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,i,s,{className:r,style:Cp(Cp({color:t.color||n.color},n.style),t.style),height:d,width:d,xmlns:"http://www.w3.org/2000/svg"}),a&&e.createElement("title",null,a),t.children)};return void 0!==gp?e.createElement(gp.Consumer,null,e=>n(e)):n(vp)}function Ap(e){return Ep({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:[]}]})(e)}function Np(e){return Ep({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:[]}]})(e)}function Op(e){return Ep({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:[]}]})(e)}function Ip(e){return Ep({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:[]}]})(e)}function Rp(e){return Ep({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:[]}]})(e)}function Pp(e){return Ep({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:[]}]})(e)}function kp(e){return Ep({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:[]}]})(e)}function Dp(e){return Ep({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:[]}]})(e)}function Mp(e){return Ep({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:[]}]})(e)}function Lp(e){return Ep({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:[]}]})(e)}function jp(e){return Ep({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:[]}]})(e)}function Up(e){return Ep({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:[]}]})(e)}function Fp(e){return Ep({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:[]}]})(e)}function Bp(e){return Ep({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:[]}]})(e)}function qp(e){return Ep({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:[]}]})(e)}function Hp(e){return Ep({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:[]}]})(e)}function zp(e){return Ep({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:[]}]})(e)}function Gp(e){return Ep({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:[]}]})(e)}function Wp(e){return Ep({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:[]}]})(e)}function Vp(e){return Ep({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:[]}]})(e)}function Kp(e){return Ep({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:[]}]})(e)}function Yp(e){return Ep({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:[]}]})(e)}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,e$,t$,n$,r$,i$,o$=(e,t)=>!!~e.indexOf(t),a$=(e,t="-")=>e.join(t),s$=(e,t)=>a$(e.filter(Boolean),t),d$=(e,t=1)=>e.slice(t),u$=e=>e,l$=()=>{},c$=e=>e[0].toUpperCase()+d$(e),f$=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),h$=(e,t)=>{for(;"function"==typeof e;)e=e(t);return e},p$=(e,t)=>{e.size>t&&e.delete(e.keys().next().value)},$$=(e,t)=>!o$("@:&",e[0])&&(o$("rg",(typeof t)[5])||Array.isArray(t)),m$=(e,t,n)=>t?Object.keys(t).reduce((e,r)=>{const i=h$(t[r],n);return $$(r,i)?e[f$(r)]=i:e[r]="@"==r[0]&&o$("figa",r[1])?(e[r]||[]).concat(i):m$(e[r]||{},i,n),e},e):e,v$="undefined"!=typeof CSS&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& ")),g$=e=>(Array.isArray(e)||(e=[e]),"@media "+a$(e.map(e=>("string"==typeof e&&(e={min:e}),e.raw||a$(Object.keys(e).map(t=>`(${t}-width:${e[t]})`)," and "))),",")),y$=e=>{for(var t=9,n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return"tw-"+((t^t>>>9)>>>0).toString(36)},b$=(e="")=>(Jp.push(e),""),_$=e=>{Jp.length=Math.max(Jp.lastIndexOf("")+~~e,0)},w$=e=>e&&!o$("!:",e[0]),C$=e=>":"==e[0],x$=(e,t)=>{Zp.push({v:Jp.filter(C$),d:e,n:t,i:o$(Jp,"!"),$:""})},S$=e=>{const t="-"==e[0];t&&(e=d$(e));const n=a$(Jp.filter(w$));return x$("&"==e?n:(n&&n+"-")+e,t),""},E$=(e,t)=>{let n="";for(let r,i=!1,o=0;r=e[o++];)if(i||"["==r)n+=r,i="]"!=r;else switch(r){case":":n=n&&b$(":"+(e[o]==r?e[o++]:"")+n);break;case"(":n=n&&b$(n),b$();break;case"!":b$(r);break;case")":case" ":case"\t":case"\n":case"\r":n=n&&S$(n),_$(")"!==r);break;default:n+=r}n&&(t?b$(":"+n):"-"==n.slice(-1)?b$(n.slice(0,-1)):S$(n))},T$=e=>{b$(),A$(e),_$()},A$=e=>{switch(typeof e){case"string":E$(e);break;case"function":x$(e);break;case"object":Array.isArray(e)?e.forEach(T$):e&&Object.keys(e).forEach(t=>{((e,t)=>{if(t){b$();const n=o$("tbu",(typeof t)[1]);E$(e,n),n&&T$(t),_$()}})(t,e[t])})}},N$=new WeakMap,O$=e=>(Jp=[],Zp=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?(e=>{let t=N$.get(e);if(!t){let n=NaN,r="";t=e.map((t,i)=>{if(n==n||"["!=t.slice(-1)&&!o$(":-(",(e[i+1]||"")[0])||(n=i),i>=n)return o=>{i==n&&(r=""),r+=t,o$("rg",(typeof o)[5])?r+=o:o&&(E$(r),r="",A$(o)),i==e.length-1&&E$(r)};const o=Zp=[];E$(t);const a=[...Jp];return Zp=[],e=>{Zp.push(...o),Jp=[...a],e&&A$(e)}}),N$.set(e,t)}return t})(e[0]).forEach((t,n)=>t(e[n+1])):A$(e),Zp),I$=(e,t)=>("function"==typeof t&&(Qp=!1),t),R$=new WeakMap,P$=(e,t)=>{const n=(e=>{Qp=!0;const t=JSON.stringify(e,I$);return Qp&&t})(t);let r;if(n){var i=R$.get(e);i||R$.set(e,i=new Map),r=i.get(n)}return r||(r=Object.defineProperty((n,r)=>(r=Array.isArray(n)?r:n,h$(e(t,r),r)),"toJSON",{value:()=>n||t}),i&&(i.set(n,r),p$(i,1e4))),r},k$=(e,{css:t})=>t(O$(e)),D$=e=>(t,n,r,i)=>{if(t){const o=n&&e(n);if(o&&o.length>0)return o.reduce((e,n)=>(e[s$([r,n,i])]=t,e),{})}},M$=D$(e=>({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"]}[e])),L$=e=>{const t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},j$=D$(L$),U$=(e,t)=>e+(":"==t[1]?d$(t,2)+":":d$(t))+":",F$=(e,t=e.d)=>"function"==typeof t?"":e.v.reduce(U$,"")+(e.i?"!":"")+(e.n?"-":"")+t,B$=e=>"cols"==e?"columns":"rows",q$=e=>(t,n,r)=>({[e]:r+((e$=a$(t))&&"-"+e$)}),H$=(e,t)=>(n,r,i)=>(e$=a$(n,t))&&{[e||i]:e$},z$=e=>(t,{theme:n},r)=>(e$=n(e||r,t))&&{[e||r]:e$},G$=(e,t)=>(n,{theme:r},i)=>(e$=r(e||i,n,a$(n,t)))&&{[e||i]:e$},W$=(e,t)=>(n,r)=>e(n,r,t),V$=q$("display"),K$=q$("position"),Y$=q$("textTransform"),X$=q$("textDecoration"),J$=q$("fontStyle"),Z$=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),Q$=(e,{theme:t},n)=>(e$=t("inset",e))&&{[n]:e$},em=(e,t,n,r=n)=>(e$=t(r+"Opacity",d$(e)))&&{[`--tw-${n}-opacity`]:e$},tm=(e,t)=>Math.round(parseInt(e,16)*t),nm=(e,t,n)=>e&&"#"==e[0]&&(e$=(e.length-1)/3)&&(n$=[17,1,.062272][e$-1])?`rgba(${tm(e.substr(1,e$),n$)},${tm(e.substr(1+e$,e$),n$)},${tm(e.substr(1+2*e$,e$),n$)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,rm=(e,t,n)=>n&&"string"==typeof n?(e$=nm(n,t+"-opacity"))&&e$!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,e$]}:{[e]:n}:void 0,im=e=>(n$=nm(e,"","0"))==e$?"transparent":n$,om=(e,{theme:t},n,r,i,o)=>(e$={x:["right","left"],y:["bottom","top"]}[e[0]])&&(n$=`--tw-${n}-${e[0]}-reverse`)?"reverse"==e[1]?{[n$]:"1"}:{[n$]:"0",[s$([i,e$[0],o])]:(t$=t(r,d$(e)))&&`calc(${t$} * var(${n$}))`,[s$([i,e$[1],o])]:t$&&[t$,`calc(${t$} * calc(1 - var(${n$})))`]}:void 0,am=(e,t)=>t[0]&&{[e]:(o$("wun",(t[0]||"")[3])?"space-":"")+t[0]},sm=e=>t=>o$(["start","end"],t[0])?{[e]:"flex-"+t[0]}:am(e,t),dm=e=>(t,{theme:n})=>{if(e$=n("grid"+c$(e),t,""))return{["grid-"+e]:e$};switch(t[0]){case"span":return t[1]&&{["grid-"+e]:`span ${t[1]} / span ${t[1]}`};case"start":case"end":return(e$=n("grid"+c$(e)+c$(t[0]),d$(t),a$(d$(t))))&&{[`grid-${e}-${t[0]}`]:e$}}},um=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return H$("borderStyle")(e);case"collapse":case"separate":return H$("borderCollapse")(e);case"opacity":return em(e,t,n)}return(e$=t(n+"Width",e,""))?{borderWidth:e$}:rm("borderColor",n,t(n+"Color",e))},lm=e=>(e?"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=(e,t,n)=>e[0]&&(e$=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:"y"!==e[0]&&e$,[`--tw-${n}-y`]:"x"!==e[0]&&e$,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${e$})`,lm()]},fm=e=>(t,n,r)=>r[1]?j$(n.theme(e,t),r[1],e):z$(e)(t,n,r),hm=fm("padding"),pm=fm("margin"),$m=(e,{theme:t},n)=>(e$={w:"width",h:"height"}[e[0]])&&{[e$=`${n}${c$(e$)}`]:t(e$,d$(e))},mm=(e,{theme:t},n)=>{const r=n.split("-"),i="backdrop"==r[0]?r[0]+"-":"";if(i||e.unshift(...r),"filter"==e[0]){const t=["blur","brightness","contrast","grayscale","hue-rotate","invert",i&&"opacity","saturate","sepia",!i&&"drop-shadow"].filter(Boolean);return"none"==e[1]?{[i+"filter"]:"none"}:t.reduce((e,t)=>(e["--tw-"+i+t]="var(--tw-empty,/*!*/ /*!*/)",e),{[i+"filter"]:t.map(e=>`var(--tw-${i}${e})`).join(" ")})}return n$=e.shift(),o$(["hue","drop"],n$)&&(n$+=c$(e.shift())),(e$=t(i?"backdrop"+c$(n$):n$,e))&&{["--tw-"+i+n$]:(Array.isArray(e$)?e$:[e$]).map(e=>`${f$(n$)}(${e})`).join(" ")}},vm={group:(e,{tag:t},n)=>t(a$([n,...e])),hidden:W$(V$,"none"),inline:V$,block:V$,contents:V$,flow:V$,table:(e,t,n)=>o$(["auto","fixed"],e[0])?{tableLayout:e[0]}:V$(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return{flexDirection:a$("col"==e[0]?["column",...d$(e)]:e)};case"nowrap":case"wrap":return{flexWrap:a$(e)};case"grow":case"shrink":return null!=(e$=t.theme("flex"+c$(e[0]),d$(e),e[1]||1))&&{["flex-"+e[0]]:""+e$}}return(e$=t.theme("flex",e,""))?{flex:e$}:V$(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return(e$=t.theme("gridTemplate"+c$(B$(e[0])),d$(e),2==e.length&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:a$(d$(e))))&&{["gridTemplate-"+B$(e[0])]:e$};case"flow":return e.length>1&&{gridAutoFlow:a$("col"==e[1]?["column",...d$(e,2)]:d$(e)," ")}}return V$(e,t,n)},auto:(e,{theme:t})=>o$(["cols","rows"],e[0])&&(e$=t("gridAuto"+c$(B$(e[0])),d$(e),a$(d$(e))))&&{["gridAuto-"+B$(e[0])]:e$},static:K$,fixed:K$,absolute:K$,relative:K$,sticky:K$,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:e=>({resize:{x:"horizontal",y:"vertical"}[e[0]]||e[0]||"both"}),box:e=>e[0]&&{boxSizing:e[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:(e,{theme:t})=>(e$=L$(e[0]))?j$(t("inset",d$(e)),e[0]):(e$=t("inset",e))&&{top:e$,right:e$,bottom:e$,left:e$},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:(e,t,n)=>(e$=t.theme("fontFamily",e,""))?{fontFamily:e$}:z$("fontWeight")(e,t,n),items:e=>e[0]&&{alignItems:o$(["start","end"],e[0])?"flex-"+e[0]:a$(e)},"justify-self":H$(),"justify-items":H$(),justify:sm("justifyContent"),content:sm("alignContent"),self:sm("alignSelf"),place:e=>e[0]&&am("place-"+e[0],d$(e)),overscroll:e=>e[0]&&{["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]},col:dm("column"),row:dm("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:(e,t,n)=>o$(["ellipsis","clip"],e[0])?H$("textOverflow")(e):e[1]?{["overflow-"+e[0]]:e[1]}:H$()(e,t,n),transform:e=>"none"==e[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"==e[0])},rotate:(e,{theme:t})=>(e$=t("rotate",e))&&{"--tw-rotate":e$,transform:[`rotate(${e$})`,lm()]},scale:cm,translate:cm,skew:cm,gap:(e,t,n)=>(e$={x:"column",y:"row"}[e[0]])?{[e$+"Gap"]:t.theme("gap",d$(e))}:z$("gap")(e,t,n),stroke:(e,t,n)=>(e$=t.theme("stroke",e,""))?{stroke:e$}:z$("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(e$=t("outline",e))&&{outline:e$[0],outlineOffset:e$[1]},"break-normal":{wordBreak:"normal",overflowWrap:"normal"},"break-words":{overflowWrap:"break-word"},"break-all":{wordBreak:"break-all"},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return{textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return Y$([],e$,e[0]);case"opacity":return em(e,t,n)}const r=t("fontSize",e,"");return r?"string"==typeof r?{fontSize:r}:{fontSize:r[0],..."string"==typeof r[1]?{lineHeight:r[1]}:r[1]}:rm("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return H$("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return H$("backgroundPosition"," ")(e);case"no":return"repeat"==e[1]&&H$("backgroundRepeat")(e);case"repeat":return o$("xy",e[1])?H$("backgroundRepeat")(e):{backgroundRepeat:e[1]||e[0]};case"opacity":return em(e,t,n,"background");case"clip":case"origin":return e[1]&&{["background-"+e[0]]:e[1]+("text"==e[1]?"":"-box")};case"blend":return H$("background-blend-mode")(d$(e));case"gradient":if("to"==e[1]&&(e$=L$(e[2])))return{backgroundImage:`linear-gradient(to ${a$(e$," ")},var(--tw-gradient-stops))`}}return(e$=t("backgroundPosition",e,""))?{backgroundPosition:e$}:(e$=t("backgroundSize",e,""))?{backgroundSize:e$}:(e$=t("backgroundImage",e,""))?{backgroundImage:e$}:rm("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(e$=t("gradientColorStops",e))&&{"--tw-gradient-from":e$,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${im(e$)})`},via:(e,{theme:t})=>(e$=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${e$},var(--tw-gradient-to,${im(e$)})`},to:(e,{theme:t})=>(e$=t("gradientColorStops",e))&&{"--tw-gradient-to":e$},border:(e,t,n)=>{var r;const i=null==(r=L$(e[0]))?void 0:r.map(c$);i&&(e=d$(e));let o=um(e,t,n);return i&&o&&"object"==typeof o&&(o=Object.entries(o).reduce((e,[t,n])=>{if(t.startsWith("border"))for(const r of i)e[t.slice(0,6)+r+t.slice(6)]=n;else e[t]=n;return e},{})),o},divide:(e,t,n)=>(e$=om(e,t,n,"divideWidth","border","width")||um(e,t,n))&&{"&>:not([hidden])~:not([hidden])":e$},space:(e,t,n)=>(e$=om(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":e$},placeholder:(e,{theme:t},n)=>(e$="opacity"==e[0]?em(e,t,n):rm("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":e$},shadow:(e,{theme:t})=>(e$=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":"none"==e$?"0 0 transparent":e$,boxShadow:[e$,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(n$=t("animation",e)){const e=n$.split(" ");return(e$=t("keyframes",e[0],t$={}))!==t$?(n$=n(e[0]))&&{animation:n$+" "+a$(d$(e)," "),["@keyframes "+n$]:e$}:{animation:n$}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return em(e,t,n);case"offset":return(e$=t("ringOffsetWidth",d$(e),""))?{"--tw-ring-offset-width":e$}:{"--tw-ring-offset-color":t("ringOffsetColor",d$(e))}}return(e$=t("ringWidth",e,""))?{"--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(${e$} + 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":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":nm(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":nm(t("ringColor",e),"ring-opacity")}},object:(e,t,n)=>o$(["contain","cover","fill","none","scale-down"],a$(e))?{objectFit:a$(e)}:G$("objectPosition"," ")(e,t,n),list:(e,t,n)=>"item"==a$(e)?V$(e,t,n):o$(["inside","outside"],a$(e))?{listStylePosition:e[0]}:G$("listStyleType")(e,t,n),rounded:(e,t,n)=>M$(t.theme("borderRadius",d$(e),""),e[0],"border","radius")||z$("borderRadius")(e,t,n),"transition-none":{transitionProperty:"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{const{screens:n=t("screens"),center:r,padding:i}=t("container"),o=e=>(e$=i&&("string"==typeof i?i:i[e]||i.DEFAULT))?{paddingRight:e$,paddingLeft:e$}:{};return Object.keys(n).reduce((e,t)=>((n$=n[t])&&"string"==typeof n$&&(e[g$(n$)]={"&":{"max-width":n$,...o(t)}}),e),{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=e=>{let t=self[ym];return t||(t=document.head.appendChild(document.createElement("style")),t.id=ym,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},_m=e=>({unknown(e,t=[],n,r){n||this.report({id:"UNKNOWN_THEME_VALUE",key:e+"."+a$(t)},r)},report:({id:t,...n})=>e(`[${t}] ${JSON.stringify(n)}`)}),wm=_m(e=>console.warn(e)),Cm=_m(e=>{throw new Error(e)}),xm=_m(l$),Sm=(e,t,n)=>`${e}:${t}${n?" !important":""}`,Em=(e,t,n)=>{let r="";const i=(o=e,Xp.get(o));var o;i&&(r+=`${Sm(i,t,n)};`);let a=function(e){var t=/^(?:(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(e);return t?t[1]?1:t[2]?2:t[3]?3:5:0}(e);return 1&a&&(r+=`-webkit-${Sm(e,t,n)};`),2&a&&(r+=`-moz-${Sm(e,t,n)};`),4&a&&(r+=`-ms-${Sm(e,t,n)};`),a=function(e,t){var n=/^(?:(pos)|(cli)|(background-i)|(flex(?:$|-b)|(?:max-|min-)?(?:block-s|inl|he|widt))|dis)/i.exec(e);return n?n[1]?/^sti/i.test(t)?1:0:n[2]?/^pat/i.test(t)?1:0:n[3]?/^image-/i.test(t)?1:0:n[4]?"-"===t[3]?2:0:/^(?:inline-)?grid$/i.test(t)?4:0:0}(e,t),1&a&&(r+=`${Sm(e,`-webkit-${t}`,n)};`),2&a&&(r+=`${Sm(e,`-moz-${t}`,n)};`),4&a&&(r+=`${Sm(e,`-ms-${t}`,n)};`),r+=Sm(e,t,n),r},Tm=(e,t)=>{const n={};do{for(let t=1;t<e;t++)n[`${t}/${e}`]=Number((t/e*100).toFixed(6))+"%"}while(++e<=t);return n},Am=(e,t,n=0)=>{const r={};for(;n<=e;n=2*n||1)r[n]=n+t;return r},Nm=(e,t="",n=1,r=0,i=1,o={})=>{for(;r<=e;r+=i)o[r]=r/n+t;return o},Om=e=>t=>t(e),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:e=>({...e("colors"),DEFAULT:e("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:e=>({auto:"auto",...e("spacing"),...Tm(2,6),full:"100%",screen:"100vh"}),inset:e=>({auto:"auto",...e("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:e=>({auto:"auto",...e("spacing")}),maxHeight:e=>({...e("spacing"),full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>({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",...t(e("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:e=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:Om("colors"),ringOffsetWidth:Am(8,"px"),ringOpacity:e=>({DEFAULT:"0.5",...e("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:e=>({DEFAULT:"150ms",...e("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:e=>({...e("spacing"),...Tm(2,4),full:"100%"}),width:e=>({auto:"auto",...e("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=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{const i=e[r];"DEFAULT"==r&&(t[a$(n)]=i,t[a$(n,".")]=i);const o=[...n,r];t[a$(o)]=i,t[a$(o,".")]=i,i&&"object"==typeof i&&Rm(i,t,o)},t),t),Pm={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>"string"==typeof e[t]).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},km=e=>{const t=new Map,n={...Im,...e},r=(e,t)=>{const n=e&&e[t],r="function"==typeof n?n(i,Pm):n;return r&&"colors"==t?Rm(r):r},i=(e,i,o)=>{const a=e.split(".");e=a[0],a.length>1&&(o=i,i=a$(d$(a),"."));let s=t.get(e);if(s||(t.set(e,s={...r(n,e)}),Object.assign(s,r(n.extend,e))),null!=i){const t=((e,t)=>(t="["==t[0]&&"]"==t.slice(-1)&&t.slice(1,-1))&&o$(e,"olor")==/^(#|(hsl|rgb)a?\(|[a-z]+$)/.test(t)&&(o$(t,"calc(")?t.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "):t))(e,i=(Array.isArray(i)?a$(i):i)||"DEFAULT")||s[i];return null==t?o:Array.isArray(t)&&!o$(["fontSize","outline","dropShadow"],e)?a$(t,","):t}return s};return i},Dm=/^:(group(?:(?!-focus).+?)*)-(.+)$/,Mm=/^(:not)-(.+)/,Lm=e=>"["==e[1]?d$(e):e,jm=e=>(31&((i$=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+i$[1]/(i$[2]?15:1)/10:0))<<22,Um=e=>{i$=0;for(let t=e.length;t--;)i$+=o$("-:,",e[t]);return i$},Fm=e=>(15&Um(e))<<18,Bm=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],qm=(e,t)=>(n,r)=>{return n|((i$=e("screens",d$(r),""))?1<<27|jm(g$(i$)):":dark"==r?1<<30:"@"==(i$=t[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=(e,t)=>t+"{"+e+"}",zm=(e,t,n)=>{const{theme:r,tag:i}=n,o=(e,t)=>"--"+i(t),a=e=>`${e}`.replace(/--(tw-[\w-]+)\b/g,o);let s;const d=(t,r,i,o,u)=>{if(Array.isArray(o))return void o.forEach(e=>e&&d(t,r,i,e,u));let l="",c=0,f=0;o["@apply"]&&(o=m$(h$(((...e)=>P$(k$,e))(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 t=f$(h);f+=1,c=Math.max(c,(e=>"-"==e[0]?0:Um(e)+((i$=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!i$[1]||-!!i$[2]:0)+1)(t)),l=(l&&l+";")+((t,n,r)=>(t=a(t),Array.isArray(n)?a$(n.filter(Boolean).map(n=>e(t,a(n),r)),";"):e(t,a(n),r)))(t,p,u)}}else if(p)if(":global"==h&&(h="@global"),"@"==h[0])if("g"==h[1])d([],"",0,p,u);else if("f"==h[1])d([],h,0,p,u);else if("k"==h[1]){const e=s.length;d([],"",0,p,u);const t=s.splice(e,s.length-e);s.push({r:Hm(a$(t.map(e=>e.r),""),h),p:t.reduce((e,t)=>e+t.p,0)})}else"i"==h[1]?(Array.isArray(p)?p:[p]).forEach(e=>e&&s.push({p:0,r:`${h} ${e};`})):("c"==h[2]&&(h=g$(n.theme("screens",d$(h,8).trim()))),d([...t,h],r,i|jm(h)|Fm(h),p,u));else d(t,r?r.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(e,t,n)=>h.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,(e,n,r)=>(o$(n,"&")?n.replace(/&/g,t):(t&&t+" ")+n)+r)+n):h,i,p,u)}),f&&s.push({r:t.reduceRight(Hm,Hm(l,r)),p:256*i+((15&Math.max(0,15-f))<<4|15&(c||15))})},u=qm(r,t);return(e,t,n,r=0)=>(r<<=28,s=[],d([],t?"."+v$(t):"",n?n.v.reduceRight(u,r):r,e,n&&n.i),s)},Gm=(e,t,n,r=t)=>!1===e?n:!0===e?r:e||t,Wm={_:{value:"",writable:!0}},Vm=(e={})=>{const t=km(e.theme),n=(e=>("string"==typeof e?{t:Cm,a:wm,i:xm}[e[1]]:e)||wm)(e.mode),r=Gm(e.hash,!1,!1,y$),i=e.important;let o={v:[]},a=0;const s=[],d={tw:(...e)=>b(e),theme:(e,r,i)=>{var a;const s=null!=(a=t(e,r,i))?a:n.unknown(e,null==r||Array.isArray(r)?r:r.split("."),null!=i,d);return o.n&&s&&o$("rg",(typeof s)[5])?`calc(${s} * -1)`:s},tag:e=>r?r(e):e,css:e=>{a++;const t=s.length;try{("string"==typeof e?O$([e]):e).forEach(y);const n=Object.create(null,Wm);for(let e=t;e<s.length;e++){const t=s[e];if(t)switch(typeof t){case"object":m$(n,t,d);break;case"string":n._+=(n._&&" ")+t}}return n}finally{s.length=t,a--}}},u=((e,t)=>(n,r)=>{if("function"==typeof n.d)return n.d(t);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(e,n)){const a=e[n];return"function"==typeof a?a(d$(i,o),t,n):"string"==typeof a?t[r?"css":"tw"](a):a}}})({...vm,...e.plugins},d),l={...gm,...e.variants},c=((e,t,{theme:n,tag:r})=>{const i=(i,o)=>(r$=n("screens",d$(o),""))?{[g$(r$)]:i}:":dark"==o&&"class"==e?{".dark &":i}:(r$=Dm.exec(o))?{[`.${v$(r(r$[1]))}:${r$[2]} &`]:i}:{[t[d$(o)]||"&"+o.replace(Mm,(e,t,n)=>t+"("+Lm(":"+n)+")")]:i};return(e,t)=>t.v.reduceRight(i,e)})(e.darkMode||"media",l,d),f=zm(Gm(e.prefix,Em,Sm),l,d),h=e.sheet||("undefined"==typeof window?{target:null,insert:l$}:(({nonce:e,target:t=bm(e).sheet}={})=>{const n=t.cssRules.length;return{target:t,insert:(e,r)=>t.insertRule(e,n+r)}})(e)),{init:p=e=>e()}=h,$=((e,t,n,r)=>{let i,o;return n((e=[])=>i=e),n((e=new Set)=>o=e),({r:n,p:a})=>{if(!o.has(n)){o.add(n);const d=((e,t)=>{for(var n=0,r=e.length;n<r;){const i=r+n>>1;e[i]<=t?n=i+1:r=i}return r})(i,a);try{e.insert(n,d),i.splice(d,0,a)}catch(s){/:-[mwo]/.test(n)||t.report({id:"INJECT_CSS_ERROR",css:n,error:s},r)}}}})(h,n,p,d);let m;p((e=new Map)=>m=e);const v=new WeakMap,g=(e,t)=>"_"==e?void 0:"function"==typeof t?JSON.stringify(h$(t,d),g):t,y=e=>{!a&&o.v.length&&(e={...e,v:[...o.v,...e.v],$:""}),e.$||(e.$=F$(e,v.get(e.d)));let t=a?null:m.get(e.$);if(null==t){let l=(e=>{const t=o;o=e;try{return h$(u(e),d)}finally{o=t}})(e);if(e.$||(e.$=y$(JSON.stringify(l,g)),v.set(e.d,e.$),e.$=F$(e,e.$)),l&&"object"==typeof l)if(e.v=e.v.map(Lm),i&&(e.i=i),l=c(l,e),a)s.push(l);else{const n="function"==typeof e.d?"string"==typeof l._?1:3:2;t=r||"function"==typeof e.d?(r||y$)(n+e.$):e.$,f(l,t,e,n).forEach($),l._&&(t+=" "+l._)}else"string"==typeof l?t=l:(t=e.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:t},d)),a&&"function"!=typeof e.d&&s.push(t);a||(m.set(e.$,t),p$(m,3e4))}return t},b=e=>a$(O$(e).map(y).filter(Boolean)," "),_=Gm(e.preflight,u$,!1);if(_){const e=(e=>({":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:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("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:e("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"}}))(t),n=f("function"==typeof _?h$(_(e,d),d)||e:{...e,..._});p((e=(n.forEach($),!0))=>e)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},d),process:b}},Km=e=>{let t,n=e=>(r(),n(e)),r=e=>{({process:n,init:r}=Vm(e))};return{tw:Object.defineProperties((...e)=>n(e),{theme:{get:(i="theme",()=>(t||n([e=>(t=e,"")]),t[i]))}}),setup:e=>r(e)};var i},{tw:Ym,setup:Xm}=Km();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",...ev(4,"rem",4,.5,.5),...ev(12,"rem",4,5),14:"3.5rem",...ev(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:tv("blur"),backdropBrightness:tv("brightness"),backdropContrast:tv("contrast"),backdropGrayscale:tv("grayscale"),backdropHueRotate:tv("hueRotate"),backdropInvert:tv("invert"),backdropOpacity:tv("opacity"),backdropSaturate:tv("saturate"),backdropSepia:tv("sepia"),backgroundColor:tv("colors"),backgroundImage:{none:"none"},backgroundOpacity:tv("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:{...ev(200,"",100,0,50),...ev(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:e})=>({DEFAULT:e("colors.gray.200","currentColor"),...e("colors")}),borderOpacity:tv("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:tv("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:tv("colors"),caretColor:tv("colors"),accentColor:({theme:e})=>({auto:"auto",...e("colors")}),contrast:{...ev(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:tv("borderColor"),divideOpacity:tv("borderOpacity"),divideWidth:tv("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:e})=>({...e("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:e})=>({...e("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:tv("spacing"),gradientColorStops:tv("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:e})=>({...e("spacing"),...Zm(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:e})=>({...e("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:{...ev(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...e("spacing")}),maxWidth:({theme:e,breakpoints:t})=>({...t(e("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:{...ev(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:tv("spacing"),placeholderColor:tv("colors"),placeholderOpacity:tv("opacity"),outlineColor:tv("colors"),outlineOffset:Qm(8,"px"),outlineWidth:Qm(8,"px"),ringColor:({theme:e})=>({...e("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:tv("colors"),ringOffsetWidth:Qm(8,"px"),ringOpacity:({theme:e})=>({...e("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...Qm(8,"px")},rotate:{...Qm(2,"deg"),...Qm(12,"deg",3),...Qm(180,"deg",45)},saturate:ev(200,"",100,0,50),scale:{...ev(150,"",100,0,50),...ev(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:tv("spacing"),scrollPadding:tv("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...Qm(2,"deg"),...Qm(12,"deg",3)},space:tv("spacing"),stroke:({theme:e})=>({...e("colors"),none:"none"}),strokeWidth:ev(2),textColor:tv("colors"),textDecorationColor:tv("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...Qm(8,"px")},textUnderlineOffset:{auto:"auto",...Qm(8,"px")},textIndent:tv("spacing"),textOpacity:tv("opacity"),transitionDuration:({theme:e})=>({...e("durations"),DEFAULT:"150ms"}),transitionDelay:tv("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:e})=>({...e("spacing"),...Zm(2,4),full:"100%"}),width:({theme:e})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...e("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...ev(50,"",1,0,10),auto:"auto"}};function Zm(e,t){let n={};do{for(var r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%"}while(++e<=t);return n}function Qm(e,t,n=0){let r={};for(;n<=e;n=2*n||1)r[n]=n+t;return r}function ev(e,t="",n=1,r=0,i=1,o={}){for(;r<=e;r+=i)o[r]=r/n+t;return o}function tv(e){return({theme:t})=>t(e)}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(e,t="@media "){return t+iv(e).map(e=>("string"==typeof e&&(e={min:e}),e.raw||Object.keys(e).map(t=>`(${t}-width:${e[t]})`).join(" and "))).join(",")}function iv(e=[]){return Array.isArray(e)?e:null==e?[]:[e]}function ov(e,t){return Math.round(parseInt(e,16)*t)}function av(e,t={}){if("function"==typeof e)return e(t);let{opacityValue:n="1",opacityVariable:r}=t,i=r?`var(${r})`:n;if(e.includes("<alpha-value>"))return e.replace("<alpha-value>",i);if("#"==e[0]&&(4==e.length||7==e.length)){let t=(e.length-1)/3,n=[17,1,.062272][t-1];return`rgba(${[ov(e.substr(1,t),n),ov(e.substr(1+t,t),n),ov(e.substr(1+2*t,t),n),i]})`}return"1"==i?e:"0"==i?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${i})`)}function sv(e,t,n){return[e,dv(t,n)]}function dv(e,t){return"function"==typeof e?e:"string"==typeof e&&/^[\w-]+$/.test(e)?(n,r)=>({[e]:t?t(n,r):uv(n,1)}):t=>e||{[t[1]]:uv(t,2)}}function uv(e,t,n=e.slice(t).find(Boolean)||e.$$||e.input){return"-"==e.input[0]?`calc(${n} * -1)`:n}function lv(e,t,n,r){return[e,cv(t,n,r)]}function cv(e,t,n){let r="string"==typeof t?(e,r)=>({[t]:n?n(e,r):e._}):t||(({1:e,_:t},n,r)=>({[e||r]:t}));return(t,n)=>{let i=mv(e||t[1]),o=n.theme(i,t.$$)??$v(t.$$,i,n);if(null!=o)return t._=uv(t,0,o),r(t,n,i)}}function fv(e,t={},n){return[e,hv(t,n)]}function hv(e={},t){return(n,r)=>{let{section:i=mv(n[0]).replace("-","")+"Color"}=e,[o,a]=(n.$$.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1);if(!o)return;let s=r.theme(i,o)||$v(o,i,r);if(!s||"object"==typeof s)return;let{opacityVariable:d=`--tw-${n[0].replace(/-$/,"")}-opacity`,opacitySection:u=i.replace("Color","Opacity"),property:l=i,selector:c}=e,f=r.theme(u,a||"DEFAULT")||a&&$v(a,u,r),h=t||(({_:e})=>{let t=pv(l,e);return c?{[c]:t}:t});n._={value:av(s,{opacityVariable:d||void 0,opacityValue:f||void 0}),color:e=>av(s,e),opacityVariable:d||void 0,opacityValue:f||void 0};let p=h(n,r);if(!n.dark){let e=r.d(i,o,s);e&&e!==s&&(n._={value:av(e,{opacityVariable:d||void 0,opacityValue:f||"1"}),color:t=>av(e,t),opacityVariable:d||void 0,opacityValue:f||void 0},p={"&":p,[r.v("dark")]:h(n,r)})}return p}}function pv(e,t){let n={};return"string"==typeof t?n[e]=t:(t.opacityVariable&&t.value.includes(t.opacityVariable)&&(n[t.opacityVariable]=t.opacityValue||"1"),n[e]=t.value),n}function $v(e,t,n){if("["==e[0]&&"]"==e.slice(-1)){if(e=vv(function(e,t){return e.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,(e,n,r,i,o="")=>{let a=t(r,o);return"function"==typeof a&&/color|fill|stroke/i.test(r)?av(a):""+iv(a).filter(e=>Object(e)!==e)})}(e.slice(1,-1),n.theme)),!t)return e;if(!(/color|fill|stroke/i.test(t)&&!/^color:/.test(e)&&!/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(e)||/image/i.test(t)&&!/^image:/.test(e)&&!/^[a-z-]+\(/.test(e)||/weight/i.test(t)&&!/^(number|any):/.test(e)&&!/^\d+$/.test(e)||/position/i.test(t)&&/^(length|size):/.test(e)))return e.replace(/^[a-z-]+:/,"")}}function mv(e){return e.replace(/-./g,e=>e[1].toUpperCase())}function vv(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,(e,t="",n,r="")=>vv(t)+n+vv(r)):e.replace(/(^|[^\\])_+/g,(e,t)=>t+" ".repeat(e.length-t.length)).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 "))}let gv=[sv("\\[([-\\w]+):(.+)]",({1:e,2:t},n)=>({"@layer overrides":{"&":{[e]:$v(`[${t}]`,"",n)}}})),sv("(group|peer)([~/][^-[]+)?",({input:e},{h:t})=>[{c:t(e)}]),lv("aspect-","aspectRatio"),sv("container",(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:i}=t("container"),o={width:"100%",marginRight:r&&"auto",marginLeft:r&&"auto",...a("xs")};for(let s in n){let e=n[s];"string"==typeof e&&(o[rv(e)]={"&":{maxWidth:e,...a(s)}})}return o;function a(e){let t=i&&("string"==typeof i?i:i[e]||i.DEFAULT);if(t)return{paddingRight:t,paddingLeft:t}}}),lv("content-","content",({_:e})=>({"--tw-content":e,content:"var(--tw-content)"})),sv("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),sv("box-(border|content)","boxSizing",({1:e})=>e+"-box"),sv("hidden",{display:"none"}),sv("table-(auto|fixed)","tableLayout"),sv(["(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)",sv("isolate","isolation"),sv("object-(contain|cover|fill|none|scale-down)","objectFit"),lv("object-","objectPosition"),sv("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",yv),sv("overscroll(-[xy])?-(auto|contain|none)",({1:e="",2:t})=>({["overscroll-behavior"+e]:t})),sv("(static|fixed|absolute|relative|sticky)","position"),lv("-?inset(-[xy])?(?:$|-)","inset",({1:e,_:t})=>({top:"-x"!=e&&t,right:"-y"!=e&&t,bottom:"-x"!=e&&t,left:"-y"!=e&&t})),lv("-?(top|bottom|left|right)(?:$|-)","inset"),sv("(visible|collapse)","visibility"),sv("invisible",{visibility:"hidden"}),lv("-?z-","zIndex"),sv("flex-((row|col)(-reverse)?)","flexDirection",bv),sv("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"),sv("grid-cols-(\\d+)","gridTemplateColumns",Ov),lv("col-","gridColumn"),sv("col-(span)-(\\d+)","gridColumn",Nv),lv("col-start-","gridColumnStart"),sv("col-start-(auto|\\d+)","gridColumnStart"),lv("col-end-","gridColumnEnd"),sv("col-end-(auto|\\d+)","gridColumnEnd"),lv("grid-rows-","gridTemplateRows"),sv("grid-rows-(\\d+)","gridTemplateRows",Ov),lv("row-","gridRow"),sv("row-(span)-(\\d+)","gridRow",Nv),lv("row-start-","gridRowStart"),sv("row-start-(auto|\\d+)","gridRowStart"),lv("row-end-","gridRowEnd"),sv("row-end-(auto|\\d+)","gridRowEnd"),sv("grid-flow-((row|col)(-dense)?)","gridAutoFlow",e=>yv(bv(e))),sv("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))-",sv("justify-","justifyContent",Cv),sv("(content|items|self)-",e=>({["align-"+e[1]]:Cv(e)})),sv("(place-(content|items|self))-",({1:e,$$:t})=>({[e]:("wun".includes(t[3])?"space-":"")+t})),lv("p([xytrbl])?(?:$|-)","padding",xv("padding")),lv("-?m([xytrbl])?(?:$|-)","margin",xv("margin")),lv("-?space-(x|y)(?:$|-)","space",({1:e,_:t})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-reverse`]:"0",["margin-"+{y:"top",x:"left"}[e]]:`calc(${t} * calc(1 - var(--tw-space-${e}-reverse)))`,["margin-"+{y:"bottom",x:"right"}[e]]:`calc(${t} * var(--tw-space-${e}-reverse))`}})),sv("space-(x|y)-reverse",({1:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-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",({_:e})=>"string"==typeof(e=iv(e))[1]?{fontFamily:wv(e)}:{fontFamily:wv(e[0]),...e[1]}),sv("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),sv("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),sv("italic","fontStyle"),sv("not-italic",{fontStyle:"normal"}),sv("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:e,2:t="",3:n})=>"normal"==t?{fontVariantNumeric:"normal"}:{["--tw-"+(n?"numeric-fraction":"pt".includes(t[0])?"numeric-spacing":t?"numeric-figure":e)]:e,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"),sv("list-(inside|outside)","listStylePosition"),lv("list-","listStyleType"),sv("list-","listStyleType"),lv("placeholder-opacity-","placeholderOpacity",({_:e})=>({"&::placeholder":{"--tw-placeholder-opacity":e}})),fv("placeholder-",{property:"color",selector:"&::placeholder"}),sv("text-(left|center|right|justify|start|end)","textAlign"),sv("text-(ellipsis|clip)","textOverflow"),lv("text-opacity-","textOpacity","--tw-text-opacity"),fv("text-",{property:"color"}),lv("text-","fontSize",({_:e})=>"string"==typeof e?{fontSize:e}:{fontSize:e[0],..."string"==typeof e[1]?{lineHeight:e[1]}:e[1]}),lv("indent-","textIndent"),sv("(overline|underline|line-through)","textDecorationLine"),sv("no-underline",{textDecorationLine:"none"}),lv("underline-offset-","textUnderlineOffset"),fv("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),lv("decoration-","textDecorationThickness"),sv("decoration-","textDecorationStyle"),sv("(uppercase|lowercase|capitalize)","textTransform"),sv("normal-case",{textTransform:"none"}),sv("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),sv("align-","verticalAlign"),sv("whitespace-","whiteSpace"),sv("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),sv("break-words",{overflowWrap:"break-word"}),sv("break-all",{wordBreak:"break-all"}),sv("break-keep",{wordBreak:"keep-all"}),fv("caret-",{opacityVariable:!1,opacitySection:"opacity"}),fv("accent-",{opacityVariable:!1,opacitySection:"opacity"}),sv("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:e})=>`linear-gradient(to ${_v(e," ")},var(--tw-gradient-stops))`),fv("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-gradient-from":e.value,"--tw-gradient-to":e.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),fv("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-gradient-to":e.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${e.value},var(--tw-gradient-to)`})),fv("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),sv("bg-(fixed|local|scroll)","backgroundAttachment"),sv("bg-origin-(border|padding|content)","backgroundOrigin",({1:e})=>e+"-box"),sv(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),sv("bg-blend-","backgroundBlendMode"),sv("bg-clip-(border|padding|content|text)","backgroundClip",({1:e})=>e+("text"==e?"":"-box")),lv("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),fv("bg-",{section:"backgroundColor"}),lv("bg-","backgroundImage"),lv("bg-","backgroundPosition"),sv("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",yv),lv("bg-","backgroundSize"),lv("rounded(?:$|-)","borderRadius"),lv("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:e,_:t})=>{let n={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[e]||[e,e];return{[`border-${_v(n[0])}-radius`]:t,[`border-${_v(n[1])}-radius`]:t}}),sv("border-(collapse|separate)","borderCollapse"),lv("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),sv("border-(solid|dashed|dotted|double|none)","borderStyle"),lv("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:e,_:t})=>({...Iv({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),["--tw-border-spacing"+(e||"-x")]:t,["--tw-border-spacing"+(e||"-y")]:t,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),fv("border-([xytrbl])-",{section:"borderColor"},xv("border","Color")),fv("border-"),lv("border-([xytrbl])(?:$|-)","borderWidth",xv("border","Width")),lv("border(?:$|-)","borderWidth"),lv("divide-opacity(?:$|-)","divideOpacity",({_:e})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":e}})),sv("divide-(solid|dashed|dotted|double|none)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:e}})),sv("divide-([xy]-reverse)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+e]:"1"}})),lv("divide-([xy])(?:$|-)","divideWidth",({1:e,_:t})=>{let n={x:"lr",y:"tb"}[e];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${e}-reverse`]:"0",[`border-${_v(n[0])}Width`]:`calc(${t} * calc(1 - var(--tw-divide-${e}-reverse)))`,[`border-${_v(n[1])}Width`]:`calc(${t} * var(--tw-divide-${e}-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"),sv("ring-inset",{"--tw-ring-inset":"inset"}),fv("ring-",{property:"--tw-ring-color"}),lv("ring(?:$|-)","ringWidth",({_:e},{theme: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-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":av(t("ringOffsetColor","","#fff")),"--tw-ring-color":av(t("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":t("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(${e} + 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"},({_:e})=>({"--tw-shadow-color":e.value,"--tw-shadow":"var(--tw-shadow-colored)"})),lv("shadow(?:$|-)","boxShadow",({_: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-shadow":wv(e),"--tw-shadow-colored":wv(e).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)-"),sv("mix-blend-","mixBlendMode"),...Sv(),...Sv("backdrop-"),lv("transition(?:$|-)","transitionProperty",(e,{theme:t})=>({transitionProperty:wv(e),transitionTimingFunction:"none"==e._?void 0:wv(t("transitionTimingFunction","")),transitionDuration:"none"==e._?void 0:wv(t("transitionDuration",""))})),lv("duration(?:$|-)","transitionDuration","transitionDuration",wv),lv("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",wv),lv("delay(?:$|-)","transitionDelay","transitionDelay",wv),lv("animate(?:$|-)","animation",(e,{theme:t,h:n,e:r})=>{let i=wv(e),o=i.split(" "),a=t("keyframes",o[0]);return a?{["@keyframes "+(o[0]=r(n(o[0])))]:a,animation:o.join(" ")}:{animation:i}}),"(transform)-(none)",sv("transform",Tv),sv("transform-(cpu|gpu)",({1:e})=>({"--tw-transform":Av("gpu"==e)})),lv("scale(-[xy])?-","scale",({1:e,_:t})=>({["--tw-scale"+(e||"-x")]:t,["--tw-scale"+(e||"-y")]:t,...Tv()})),lv("-?(rotate)-","rotate",Ev),lv("-?(translate-[xy])-","translate",Ev),lv("-?(skew-[xy])-","skew",Ev),sv("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",yv),"(appearance)-",lv("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",lv("(cursor)-"),"(cursor)-",sv("snap-(none)","scroll-snap-type"),sv("snap-(x|y|both)",({1:e})=>({...Iv({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":e+" var(--tw-scroll-snap-strictness)"})),sv("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),sv("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),sv("snap-(normal|always)","scroll-snap-stop"),sv("scroll-(auto|smooth)","scroll-behavior"),lv("scroll-p([xytrbl])?(?:$|-)","padding",xv("scroll-padding")),lv("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",xv("scroll-margin")),sv("touch-(auto|none|manipulation)","touch-action"),sv("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:e,2:t,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-${t?"pan-x":n?"pan-y":e}`]:e,"touch-action":"var(--tw-touch-action)"})),sv("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),sv("outline",{outlineStyle:"solid"}),sv("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:e})=>({x:"horizontal",y:"vertical"}[e]||e||"both")],sv("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"),sv("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),sv("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function yv(e){return("string"==typeof e?e:e[1]).replace(/-/g," ").trim()}function bv(e){return("string"==typeof e?e:e[1]).replace("col","column")}function _v(e,t="-"){let n=[];for(let r of e)n.push({t:"top",r:"right",b:"bottom",l:"left"}[r]);return n.join(t)}function wv(e){return e&&""+(e._||e)}function Cv({$$:e}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[e[3]||""]||"")+e}function xv(e,t=""){return({1:n,_:r})=>{let i={x:"lr",y:"tb"}[n]||n+n;return i?{...pv(e+"-"+_v(i[0])+t,r),...pv(e+"-"+_v(i[1])+t,r)}:pv(e+t,r)}}function Sv(e=""){let t=["blur","brightness","contrast","grayscale","hue-rotate","invert",e&&"opacity","saturate","sepia",!e&&"drop-shadow"].filter(Boolean),n={};for(let r of t)n[`--tw-${e}${r}`]="var(--tw-empty,/*!*/ /*!*/)";return n={...Iv(n),[`${e}filter`]:t.map(t=>`var(--tw-${e}${t})`).join(" ")},[`(${e}filter)-(none)`,sv(`${e}filter`,n),...t.map(t=>lv(`${"h"==t[0]?"-?":""}(${e}${t})(?:$|-)`,t,({1:e,_:r})=>({[`--tw-${e}`]:iv(r).map(e=>`${t}(${e})`).join(" "),...n})))]}function Ev({1:e,_:t}){return{["--tw-"+e]:t,...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(e){return[e?"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:e,2:t}){return`${e} ${t} / ${e} ${t}`}function Ov({1:e}){return`repeat(${e},minmax(0,1fr))`}function Iv(e){return{"@layer defaults":{"*,::before,::after":e,"::backdrop":e}}}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:e})=>`@media (orientation:${e})`],["contrast-(more|less)",({1:e})=>`@media (prefers-contrast:${e})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:e})=>`&::${e}`],["(marker|selection)",({1:e})=>`& *::${e},&::${e}`],["file","&::file-selector-button"],["(first|last|only)",({1:e})=>`&:${e}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:e,$$:t},n)=>t&&`&[${e}-${n.theme(e,t)||$v(t,"",n)||`${t}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:e,3:t="",4:n,5:r="",6:i=t},{e:o,h:a,v:s})=>{let d=vv(r)||("["==n[0]?n:s(n.slice(1)));return`${(d.includes("&")?d:"&"+d).replace(/&/g,`:merge(.${o(a(e+i))})`)}${"p"==e[0]?"~":" "}&`}],["(ltr|rtl)",({1:e})=>`[dir="${e}"] &`],["supports-",({$$:e},t)=>{if(e&&(e=t.theme("supports",e)||$v(e,"",t)),e)return e.includes(":")||(e+=":var(--tw)"),/^\w*\s*\(/.test(e)||(e=`(${e})`),`@supports ${e.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:e},t)=>{if(e&&(e=t.theme("screens",e)||$v(e,"",t)),"string"==typeof e)return`@media not all and (min-width:${e})`}],["min-",({$$:e},t)=>(e&&(e=$v(e,"",t)),e&&`@media (min-width:${e})`)],[/^\[(.+)]$/,({1:e})=>/[&@]/.test(e)&&vv(e).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:e}={}){return function({colors:e,disablePreflight:t}={}){return{preflight:t?void 0:nv,theme:{...Jm,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...e}},variants:Rv,rules:gv,finalize:e=>e.n&&e.d&&e.r.some(e=>/^&::(before|after)$/.test(e))&&!/(^|;)content:/.test(e.d)?{...e,d:"content:var(--tw-content);"+e.d}:e}}({colors:Pv,disablePreflight:e})}({disablePreflight:!1})],theme:{extend:{colors:{primary:"#1f7aed",primaryDark:"#1557a5",accent:"#1dd1a1"}}}}),kv.__twindInitialized=!0}async function Dv(e){const t=`/api/campaign-fields/${e}`,n=await fetch(t,{method:"GET",credentials:"same-origin"});if(!n.ok){const e=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(e.error||`Falha ao buscar mapeamento: ${n.status}`)}return await n.json()}async function Mv(e){const t=`/api/campaign-contact/${e}`,n=await fetch(t,{method:"GET",credentials:"same-origin"});if(!n.ok){const e=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(e.error||`Falha ao buscar valores: ${n.status}`)}return await n.json()}function Lv(){const t=_f.useCallOperatorCurrentCallInfo();return e.useEffect(()=>{console.log("[CallInfoDisplay] Call info atualizado:",{callInfo:t,type:null==t?void 0:t.type,hasCampaignInfo:"campaign"===(null==t?void 0:t.type),info:"campaign"===(null==t?void 0:t.type)?t.info:null,campaignContact:"campaign"===(null==t?void 0:t.type)?t.info.campaignContact:null})},[t]),"campaign"===(null==t?void 0:t.type)?m.jsx(jv,{campaignCallInfo:t.info}):t?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(t){const{campaign:n,campaignList:r,campaignContact:i}=t.campaignCallInfo,[o,a]=e.useState({finalData:{},isLoading:!1,error:null}),[s,d]=e.useState(null);e.useEffect(()=>{if(!(null==i?void 0:i.id))return;if(s===i.id)return;let e=!1;return(async()=>{a({finalData:{},isLoading:!0,error:null});try{console.log("[CampaignCallInfoDisplay] 1. Buscando config para contato:",i.id);const t=await async function(e){const t=`/api/campaign-config/${e}`,n=await fetch(t,{method:"GET",credentials:"same-origin"});if(!n.ok){const e=await n.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(e.error||`Falha ao buscar config: ${n.status}`)}return await n.json()}(i.id);if(console.log("[CampaignCallInfoDisplay] 2. Config recebida:",t),!t.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(t.campaignModelId),Mv(i.id)]);console.log("[CampaignCallInfoDisplay] 4. Mapeamento recebido:",n),console.log("[CampaignCallInfoDisplay] 5. Valores recebidos:",r);const o={};Object.entries(r).forEach(([e,t])=>{e in n&&(o[n[e]]=t)}),e||(console.log("[CampaignCallInfoDisplay] ✅ Dados finais mapeados:",o),a({finalData:o,isLoading:!1,error:null}),d(i.id))}catch(t){if(!e){console.error("[CampaignCallInfoDisplay] ❌ Erro ao buscar dados:",t);const e=t instanceof Error?t.message:"Erro ao buscar dados do contato";a({finalData:{},isLoading:!1,error:e})}}})(),()=>{e=!0}},[null==i?void 0:i.id,s]);const u=Object.keys(o.finalData).length>0,l=({fieldName:e,label:t})=>{const n=t||e;let r="-";if(o.finalData[e])r=o.finalData[e];else{const t=Object.keys(o.finalData).find(t=>t.toLowerCase()===e.toLowerCase());t&&(r=o.finalData[t])}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:()=>d(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=1024,Hv=[{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:""}],zv={rttMs:null,bitrateKbps:null,packetLossRatio:null},Gv={jitterMs:null,packetLossRatio:null,audioLevel:null},Wv="candidate-pair",Vv="inbound-rtp";function Kv({isAuthenticated:t,username:n,onLogin:r,onLogout:i,isLoadingSession:o,sessionError:a,variant:s="default"}){const d=e.useRef(null),u=e.useRef(null),l=e.useRef({pointerId:null,offsetX:0,offsetY:0}),c=e.useRef({pointerId:null,originX:0,originY:0,startWidth:Uv.width,startHeight:Uv.height,edge:"corner"}),f=e.useRef(!1),[h,p]=e.useState({x:24,y:24}),[$,v]=e.useState(!1),[g,y]=e.useState(!1),[b,_]=e.useState(!1),[w,C]=e.useState(""),[x,S]=e.useState(null),[E,T]=e.useState({width:Uv.width,height:Uv.height}),A=e.useRef(t),N=e.useMemo(()=>Jv(w),[w]),O="min"===s,I=e.useMemo(()=>{const e=E.width/Uv.width,t=E.height/Uv.height;return rg(Math.min(e,t),.55,2.5)},[E]),R=e.useCallback(e=>{if("undefined"==typeof window)return{width:rg(e.width,Fv,qv),height:rg(e.height,Bv,960)};const t=window.innerWidth,n=window.innerHeight,r=t<640?12:16,i=Math.min(qv,t-2*r),o=Math.min(960,n-2*r);return{width:rg(e.width,Fv,Math.max(Fv,i)),height:rg(e.height,Bv,Math.max(Bv,o))}},[]),P=e.useCallback(e=>{if("undefined"==typeof window)return e;const t=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=x??E??Uv,s=b?a.width:80,u=b?a.height:80,l=i>0?i:s,c=o>0?o:u,f=t<640?12:16,h=f,p=f,$=Math.max(h,t-l-f),m=Math.max(p,n-c-f);let v=e.x,g=e.y;return t<640&&b&&(v=Math.round((t-l)/2),g=f),n<c+2*f&&(g=f),{x:rg(v,h,$),y:rg(g,p,m)}},[b,x,E]),k=e.useCallback(e=>{C(t=>Jv("function"==typeof e?e(t):e))},[]);e.useEffect(()=>{var e,t;if("undefined"==typeof window)return;const n=(null==(e=d.current)?void 0:e.offsetWidth)??96,r=(null==(t=d.current)?void 0:t.offsetHeight)??96,i=window.innerWidth-n-24,o=window.innerHeight-r-24;p(P({x:i,y:o}))},[P]),e.useEffect(()=>{p(e=>P(e))},[b,P]),e.useEffect(()=>{if("undefined"==typeof window)return;const e=()=>{p(e=>P(e)),S(e=>e?R(e):e)};return window.addEventListener("resize",e),window.addEventListener("orientationchange",e),()=>{window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e)}},[P,R]),e.useEffect(()=>{if(!b)return;const e=u.current;if(!e)return;const t=(e,t)=>{T({width:e,height:t})};if("undefined"!=typeof ResizeObserver){const n=new ResizeObserver(e=>{const n=e[0];if(n){const{width:e,height:r}=n.contentRect;t(e,r)}});return n.observe(e),()=>n.disconnect()}const n=e.getBoundingClientRect();t(n.width,n.height)},[b,x]),e.useEffect(()=>{t&&!A.current&&_(!0),A.current=t},[t]),e.useEffect(()=>{if(!$)return;const e=e=>{var t,n;if(l.current.pointerId!==e.pointerId)return;f.current=!0;const r=(null==(t=d.current)?void 0:t.offsetWidth)??0,i=(null==(n=d.current)?void 0:n.offsetHeight)??0,o=e.clientX-l.current.offsetX,a=e.clientY-l.current.offsetY,s="undefined"!=typeof window?window.innerWidth:0,u=s<640?12:16,c=s-r-u,h=("undefined"!=typeof window?window.innerHeight:0)-i-u,$=Math.max(u,c),m=Math.max(u,h);p({x:rg(o,u,$),y:rg(a,u,m)})},t=e=>{l.current.pointerId===e.pointerId&&(v(!1),l.current={pointerId:null,offsetX:0,offsetY:0})};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t)}},[$]),e.useEffect(()=>{if(!g)return;const e=e=>{if(c.current.pointerId!==e.pointerId)return;e.preventDefault();const{edge:t,startWidth:n,startHeight:r,originX:i,originY:o}=c.current;let a=n,s=r;"right"!==t&&"corner"!==t||(a=n+(e.clientX-i)),"bottom"!==t&&"corner"!==t||(s=r+(e.clientY-o));const d=R({width:a,height:s});S(e=>e&&e.width===d.width&&e.height===d.height?e:d)},t=e=>{var t,n;if(c.current.pointerId===e.pointerId){try{null==(n=null==(t=e.target)?void 0:t.releasePointerCapture)||n.call(t,e.pointerId)}catch{}y(!1),c.current={...c.current,pointerId:null}}};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),window.addEventListener("pointercancel",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t),window.removeEventListener("pointercancel",t)}},[g,R]),e.useEffect(()=>{b||(f.current=!1)},[b]),e.useEffect(()=>{p(e=>P(e))},[x,E,P]);const D=e.useCallback(e=>t=>{var n,r;if(0!==t.button&&"touch"!==t.pointerType)return;t.preventDefault(),t.stopPropagation();const i=u.current,o=null==i?void 0:i.getBoundingClientRect(),a=(null==o?void 0:o.width)??(null==x?void 0:x.width)??Uv.width,s=(null==o?void 0:o.height)??(null==x?void 0:x.height)??Uv.height;c.current={pointerId:t.pointerId,originX:t.clientX,originY:t.clientY,startWidth:a,startHeight:s,edge:e};try{null==(r=(n=t.currentTarget).setPointerCapture)||r.call(n,t.pointerId)}catch{}y(!0)},[x]),M=e.useCallback(e=>{var t;if(0!==e.button)return;const n=null==(t=d.current)?void 0:t.getBoundingClientRect();l.current={pointerId:e.pointerId,offsetX:e.clientX-((null==n?void 0:n.left)??0),offsetY:e.clientY-((null==n?void 0:n.top)??0)},f.current=!1,v(!0)},[]),L=e.useCallback(()=>{f.current?f.current=!1:_(e=>!e)},[]),j=e.useCallback(async e=>{const t=e.trim();t&&await r(t)},[r]),U=t?m.jsx(Xv,{username:n??"",dialValue:N,setDialValue:k,onLogout:i,variant:s}):m.jsx(Yv,{defaultValue:n??"",onSubmit:j,isLoading:o,error:a});if(O)return U;const F=Number.isFinite(I)&&I>0?I:1,B=Uv.width/F,q=Uv.height/F,H={width:x?`${x.width}px`:void 0,height:x?`${x.height}px`:void 0,minWidth:"280px",minHeight:"420px",maxWidth:"min(1024px, calc(100vw - 1.5rem))",maxHeight:"calc(100vh - 3rem)"},z={flex:1,display:"flex",flexDirection:"column",transform:`scale(${F})`,transformOrigin:"top left",width:`${B}px`,minHeight:`${q}px`},G={flex:1,display:"flex",flexDirection:"column",width:`${Uv.width}px`,minHeight:`${Uv.height}px`};return m.jsx("div",{ref:d,className:["callix","mode","full",Ym`fixed z-50 select-none`].join(" "),"data-callix-variant":"default",style:{transform:`translate3d(${h.x}px, ${h.y}px, 0)`,top:0,left:0},children:b?m.jsxs("div",{ref:u,"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:H,children:[m.jsx("div",{className:Ym`flex flex-1 flex-col overflow-hidden`,style:z,children:m.jsxs("div",{"data-floating-dialer-content":!0,className:Ym`flex flex-1 flex-col rounded-3xl overflow-hidden`,style:G,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 text-white shadow-sm`,onPointerDown:M,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`,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-base font-semibold`,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`flex-1 overflow-y-auto p-3`,children:U})]})}),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:D("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:D("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:D("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:M,onClick:L,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 Yv({defaultValue:t,onSubmit:n,isLoading:r,error:i}){const[o,a]=e.useState(t),[s,d]=e.useState(!1);e.useEffect(()=>{a(t)},[t]);const u=s&&!o.trim();return m.jsxs("form",{className:Ym`space-y-4`,onSubmit:async e=>{e.preventDefault(),d(!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:e=>a(e.target.value),onBlur:()=>d(!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 Xv({username:t,dialValue:n,setDialValue:r,onLogout:i,variant:o}){var a,s;const d=_f.useCallOperator(),u="min"===o,l=_f.useCallOperatorState(),c=_f.useCallOperatorCurrentCall(),f=_f.useCallOperatorCurrentCallInfo(),h=_f.useCallOperatorSuccessQualifications(),p=_f.useCallOperatorDiscardQualifications();e.useEffect(()=>{console.log("[FloatingDialer] Estado do operador mudou:",{state:null==l?void 0:l.state,operatorState:l,hasCall:!!c,currentCall:c})},[l,c]),e.useEffect(()=>{console.log("[FloatingDialer] Qualificações:",{success:h,discard:p,callState:null==l?void 0:l.state})},[h,p,null==l?void 0:l.state]),e.useEffect(()=>{"incoming"===(null==c?void 0:c.direction)&&console.log("[FloatingDialer] ⚠️ CHAMADA RECEBIDA:",{call:c,direction:c.direction,state:null==l?void 0:l.state,counterpart:eg(c)})},[c,null==l?void 0:l.state]);const{makeManualCall:$,becomeAvailable:v,finishAfterCall:g}=_f.useCallOperatorControls(),{hangup:y,answer:b,reject:_}=_f.useCallOperatorCurrentCallControls(),[w,C]=e.useState(!1),x=e.useRef(null),S=e.useRef(null),E=e.useRef(null),[T,A]=e.useState(null),[N,O]=e.useState(null),[I,R]=e.useState(null),[P,k]=e.useState(!1),[D,M]=e.useState("success"),[L,j]=e.useState(null),[U,F]=e.useState(0),[B,q]=e.useState(zv),[H,z]=e.useState(Gv),G=e.useRef(null),W=e.useRef(!1),[V,K]=_f.useCallOperatorAudioInputMuted(),[Y,X]=_f.useCallOperatorAudioOutputMuted(),[J,Z]=_f.useCallOperatorAudioOutputVolume(),[Q,ee]=e.useState({inputs:[],outputs:[]}),[te,ne]=e.useState(null),[re,ie]=e.useState(null),[oe,ae]=e.useState(null),[se,de]=e.useState(!1),ue=e.useRef(null),[le,ce]=e.useState(null),[fe,he]=e.useState(!1),[pe,$e]=e.useState(null),me=function(t){const[n,r]=e.useState(null==t?void 0:t.get());return e.useEffect(()=>{if(t)return r(t.get()),t.subscribe(e=>{r(e)});r(void 0)},[t]),n}(null==d?void 0:d.breaks)||[],{goOnBreak:ve,goOffBreak:ge}=function(){const{enterOnBreak:e,becomeAvailable:t}=_f.useCallOperatorControls();return{goOnBreak:e,goOffBreak:t}}(),ye=e.useMemo(()=>n.slice(0,32),[n]),be=e.useMemo(()=>function(e,t){const n=Jv(e);if(!n)return"";const r=n.startsWith("+"),i=n.replace(/[^0-9]/g,""),o=t.replace(/[^0-9]/g,""),a=o.length||2,s=r?i.slice(0,Math.min(a,i.length)):o||i.slice(0,a);let d=r?i.slice(s.length):i;const u=r?`+${s}`:t;if("55"===s&&d.length>=8){return`${u} (${d.slice(0,2)}) ${d.slice(2,Math.max(d.length-4,2))}-${d.slice(-4)}`.replace(/\s+/g," ").trim()}if(!d)return u.trim();const l=[];for(;d.length>4;)l.push(d.slice(0,3)),d=d.slice(3);d&&l.push(d);const c=l.join(" ");return`${u} ${c}`.replace(/\s+/g," ").trim()}(ye,"+55"),[ye]),_e=e.useMemo(()=>function(e,t){const n=Jv(e);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=t.replace(/[^0-9]/g,"");if(!i)return`+${r}`;return`+${i}${r}`}(ye,"+55"),[ye]),we=null==l?void 0:l.state,Ce="idle"===we,xe="onBreak"===we,Se="incoming"===(null==c?void 0:c.direction),Ee="callInProgress"===we,Te="manualCallRinging"===we||"callRinging"===we,Ae="manualCallSetup"===we||Te,Ne=!we||"starting"===we||"idle"===we||"manualCallSetup"===we||"onBreak"===we,Oe=Ne||Ee||Te,Ie=Boolean(_e&&function(e){try{return mp(e)}catch(t){return console.warn("Falha ao validar numero",t),!1}}(_e)),Re=e.useCallback(async e=>{if("function"==typeof v)try{await Promise.resolve(v())}catch(t){console.error(e,t),O(e)}else O(e)},[v]);e.useEffect(()=>{W.current||(W.current=!0,Re("Nao foi possivel ficar disponivel automaticamente."))},[Re]),e.useEffect(()=>{"idle"===we&&(O(null),A(null))},[we]),e.useEffect(()=>{"offline"===we&&(O("Conexao perdida. Tentando reconectar..."),Re("Conexao perdida. Tentando reconectar..."))},[we,Re]),e.useEffect(()=>{if("afterCall"===we){if("campaign"===(null==f?void 0:f.type)&&!0===f.info.campaign.skipCallQualification)return console.log("[FloatingDialer] 🔄 skipCallQualification ativado - finalizando automaticamente"),void("function"==typeof g&&Promise.resolve(g({result:"success",qualificationId:void 0})));const e=h.length>0;M(e?"success":"failure"),j(null),R(null)}},[we,h.length,f,g]),e.useEffect(()=>{if("undefined"==typeof window)return;if("starting"!==we)return;const e=window.setTimeout(()=>{O(e=>e??"Conexao demorando mais que o esperado. Verifique rede ou credenciais.")},8e3);return()=>window.clearTimeout(e)},[we]),e.useEffect(()=>{"manualCallRinging"!==we&&"callInProgress"!==we||r(""),"idle"===we&&ce(null)},[we,r]),e.useEffect(()=>{var e;if("undefined"==typeof navigator||!(null==(e=navigator.mediaDevices)?void 0:e.enumerateDevices))return;let t=!1;const n=async()=>{try{navigator.mediaDevices.getUserMedia&&await navigator.mediaDevices.getUserMedia({audio:!0})}catch(e){console.warn("Permissao de microfone nao concedida ainda",e)}try{const e=await navigator.mediaDevices.enumerateDevices();if(t)return;const n=e.filter(e=>"audioinput"===e.kind),r=e.filter(e=>"audiooutput"===e.kind);ee({inputs:n,outputs:r}),ae(null),ne(e=>{var t;return e??(null==(t=n[0])?void 0:t.deviceId)??null}),ie(e=>{var t;return e??(null==(t=r[0])?void 0:t.deviceId)??null})}catch(e){t||(console.error("Listagem de dispositivos falhou",e),ae("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),()=>{t=!0,"removeEventListener"in i?i.removeEventListener("devicechange",r):"ondevicechange"in i&&(i.ondevicechange=null)}},[]),e.useEffect(()=>{if(!c||"callInProgress"!==we)return U>0&&console.log("[FloatingDialer] ⏱️ Timer resetado (chamada não está em progresso)"),F(0),q(zv),void z(Gv);const e=Math.floor(c.currentDurationSeconds??0);F(e),console.log("[FloatingDialer] ⏱️ Timer iniciado:",{initialDuration:e,currentDurationSeconds:c.currentDurationSeconds,callState:we});const t=window.setInterval(()=>{const e=Math.floor(c.currentDurationSeconds??0);F(e),e%5==0&&e>0&&console.log("[FloatingDialer] ⏱️ Timer atualizado:",e,"segundos")},1e3);return()=>{console.log("[FloatingDialer] ⏱️ Timer parado"),window.clearInterval(t)}},[c,we]),e.useEffect(()=>{if(!c||"callInProgress"!==we)return;const e=e=>{const t=Zv(e,"stat")??{},n="string"==typeof t.type?t.type:void 0;if(n===Wv){const e=tg(t,"currentRoundTripTime"),n=tg(t,"availableOutgoingBitrate");q(t=>({rttMs:null!=e?1e3*e:t.rttMs,bitrateKbps:null!=n?n/1e3:t.bitrateKbps,packetLossRatio:t.packetLossRatio}))}if(n===Vv){const e=tg(t,"packetsReceived")??0,n=tg(t,"packetsLost")??0,r=e+n,i=r>0?n/r:null,o=tg(t,"jitter"),a=tg(t,"audioLevel");z(e=>({jitterMs:null!=o?1e3*o:e.jitterMs,packetLossRatio:i??e.packetLossRatio,audioLevel:a??e.audioLevel})),q(e=>({rttMs:e.rttMs,bitrateKbps:e.bitrateKbps,packetLossRatio:i??e.packetLossRatio}))}};return c.on("webRTCStat",e),()=>{c.off("webRTCStat",e)}},[c,we]),e.useEffect(()=>{var e;if(!te)return;if("undefined"==typeof navigator||!(null==(e=navigator.mediaDevices)?void 0:e.getUserMedia))return;let t=!1;return(async()=>{var e,n,r,i;const o=null==(n=null==(e=ue.current)?void 0:e.getAudioTracks)?void 0:n.call(e)[0],a=null==(r=null==o?void 0:o.getSettings)?void 0:r.call(o).deviceId;let s=ue.current;if(!s||a!==te)try{const e=await navigator.mediaDevices.getUserMedia({audio:{deviceId:{exact:te}}});if(t)return void e.getTracks().forEach(e=>e.stop());ue.current&&ue.current!==e&&ue.current.getTracks().forEach(e=>e.stop()),ue.current=e,s=e}catch(l){return void(t||(console.error("Falha ao acessar microfone selecionado",l),ae("Nao foi possivel acessar o microfone selecionado.")))}if(!s)return;const u=s.getAudioTracks()[0];if(u)try{const e=Qv(d,"setAudioInputDevice");if(e)return await Promise.resolve(e(te)),void ae(null);const t=function(e){const t=Zv(e,"rtcSession")??Zv(e,"_session")??Zv(e,"session"),n=Zv(t,"_connection")??Zv(t,"connection");if(n)return n;return Zv(e,"pc")??void 0}(c),n=null==(i=null==t?void 0:t.getSenders)?void 0:i.call(t).find(e=>{var t;return"audio"===(null==(t=e.track)?void 0:t.kind)});if(null==n?void 0:n.replaceTrack)return await n.replaceTrack(u),void ae(null);const r=Qv(c,"setInputTrack");if(r)return await Promise.resolve(r(u)),void ae(null);const o=Qv(c,"replaceTrack");if(o)return await Promise.resolve(o(u)),void ae(null);console.warn("Nao foi possivel aplicar o microfone via API conhecida"),ae(null)}catch(l){t||(console.error("Erro ao aplicar microfone",l),ae("Nao foi possivel aplicar o microfone selecionado."))}})(),()=>{t=!0}},[te,d,c]),e.useEffect(()=>{if(!re||!d)return;(async()=>{try{const e=Qv(Zv(d,"audioOutput"),"setAudioOutputDevice");if(!e)return void console.warn("Nao foi possivel localizar API para alterar dispositivo de saida.");await Promise.resolve(e(re)),ae(null)}catch(e){console.error("Erro ao aplicar dispositivo de saida",e),ae("Nao foi possivel aplicar a saida de audio selecionada.")}})()},[re,d]),e.useEffect(()=>{if(!c)return;const e=e=>{var t,n;const r=(null==(t=null==e?void 0:e.failure)?void 0:t.message)||(null==(n=null==e?void 0:e.failure)?void 0:n.cause);A(r?`Chamada nao concluida: ${r}`:"Chamada nao concluida.")};return c.on("failed",e),()=>{c.off("failed",e)}},[c]),e.useEffect(()=>()=>{const e=G.current;e&&e.close().catch(()=>{})},[]),e.useEffect(()=>()=>{var e;null==(e=ue.current)||e.getTracks().forEach(e=>e.stop()),ue.current=null},[]);const Pe=e.useCallback(async()=>{if("undefined"==typeof window)return null;const e=window.AudioContext||window.webkitAudioContext;if(!e)return null;if(G.current||(G.current=new e),"suspended"===G.current.state)try{await G.current.resume()}catch(t){console.error("Falha ao retomar audio",t)}return G.current},[]),ke=e.useCallback(async e=>{const t=ng[e];if(!t)return;const n=await Pe();if(!n)return;const r=n.createGain(),[i,o]=t,a=n.createOscillator(),s=n.createOscillator();a.type="sine",s.type="sine",a.frequency.setValueAtTime(i,n.currentTime),s.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),s.connect(r),r.connect(n.destination);const d=n.currentTime,u=d+.2;a.start(d),s.start(d),a.stop(u),s.stop(u);const l=()=>{try{a.disconnect(),s.disconnect(),r.disconnect()}catch(e){console.error("Erro ao limpar tons DTMF",e)}};a.onended=l,s.onended=l},[Pe]),De=e.useCallback(e=>{if(ke(e),c&&(Ee||Te))try{c.sendDtmf(e)}catch(t){console.error("Falha ao enviar DTMF",t),A("Nao foi possivel enviar o tom DTMF.")}else Ne&&(A(null),r(t=>(t+e).slice(0,32)))},[ke,c,Ee,Te,Ne,r]),Me=e.useCallback(()=>{A(null),r("")},[r]),Le=e.useCallback(()=>{A(null),r(e=>e.slice(0,-1))},[r]),je=e.useCallback(async()=>{if(Ce||xe)if(_e)if(Ie)try{A(null),ce(_e),await $(_e)}catch(e){console.error("Erro ao iniciar chamada",e),A("Nao foi possivel iniciar a ligacao.")}else A("Numero invalido. Digite apenas o numero local, sem o +55.");else A("Informe um numero para ligar.")},[Ce,xe,_e,Ie,$]),Ue=e.useCallback(async e=>{try{$e(null),await ve(e),he(!1),console.log("[FloatingDialer] Entrou em pausa com sucesso:",e)}catch(t){console.error("[FloatingDialer] Erro ao entrar em pausa:",t),$e(t instanceof Error?t.message:"Não foi possível entrar em pausa.")}},[ve]),Fe=e.useCallback(async()=>{try{await ge(),console.log("[FloatingDialer] Saiu da pausa com sucesso")}catch(e){console.error("[FloatingDialer] Erro ao sair da pausa:",e),O("Não foi possível sair da pausa.")}},[ge]);e.useEffect(()=>{if(!u&&!w)return;const e=e=>{if(e.metaKey||e.ctrlKey||e.altKey)return;const t=e.key;if("Backspace"===t)return e.preventDefault(),void Le();if("Delete"===t)return e.preventDefault(),void Me();if("Enter"===t)return void(Ce&&(e.preventDefault(),je()));const n="NumpadEnter"===t?null:t;if(n&&["0","1","2","3","4","5","6","7","8","9","#","*","+"].includes(n))return e.preventDefault(),void De(n);if(t.startsWith("Numpad")){const n=t.replace("Numpad","");if("Add"===n)return e.preventDefault(),void De("+");if("Multiply"===n)return e.preventDefault(),void De("*");/^[0-9]$/.test(n)&&(e.preventDefault(),De(n))}};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[u,w,Le,Me,De,je,Ce]);const Be=e.useCallback(async()=>{try{await y()}catch(e){console.error("Erro ao encerrar chamada",e),A("Falha ao encerrar chamada.")}},[y]),qe=e.useCallback(async()=>{try{await b()}catch(e){console.error("Erro ao atender chamada",e),A("Nao foi possivel atender.")}},[b]),He=e.useCallback(async()=>{try{await _()}catch(e){console.error("Erro ao rejeitar chamada",e),A("Nao foi possivel rejeitar.")}},[_]),ze=e.useCallback(async()=>{if(("success"===D?h:p).length)if(L)if("function"==typeof g)try{k(!0),R(null),await Promise.resolve(g({result:D,qualificationId:L}))}catch(e){console.error("Erro ao finalizar pos-chamada",e),R("Falha ao finalizar atendimento. Tente novamente.")}finally{k(!1)}else R("Nao foi possivel enviar a qualificacao.");else R("Selecione uma qualificacao para finalizar.");else R("Nenhuma qualificacao configurada para este resultado.")},[D,p,g,L,h]),Ge=e.useCallback(()=>{C(!0)},[]),We=e.useCallback(e=>{const t=e.relatedTarget;x.current&&t&&x.current.contains(t)||C(!1)},[]),Ve=e.useCallback(e=>{const t=e.target.value;ne(t||null)},[]),Ke=e.useCallback(e=>{const t=e.target.value;ie(t||null)},[]),Ye=e.useCallback(e=>{const t=Number.isFinite(e)?e:0,n=Math.min(Math.max(t,0),1);Z(Number((n*(("number"==typeof J?J:0)>1?100:1)).toFixed(2)))},[J,Z]),Xe=l&&"call"in l?l.call:void 0,Je=eg(c)??eg(Xe),Ze=_e||le,Qe=(null==Je?void 0:Je.displayName)??(null==Je?void 0:Je.phoneNumber)??("campaign"===(null==f?void 0:f.type)?f.info.campaignContact.phoneNumber:void 0)??((Ee||Ae)&&Ze?Ze:void 0),et=function(e){switch(e){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"}}(we),tt=be||ye,nt=(null==(a=Q.inputs.find(e=>e.deviceId===te))?void 0:a.label)||"Microfone padrao",rt=(null==(s=Q.outputs.find(e=>e.deviceId===re))?void 0:s.label)||"Saida padrao",it="number"==typeof J?J:0,ot=it>1?100:1,at=Math.min(Math.max(it/ot,0),1),st=Math.round(100*at),dt=Y?Kp:at>.65?Vp:Wp,ut=V?Dp:Mp,lt=function(e){switch(e){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`}}}(we);if("afterCall"===we)return m.jsx(og,{username:t,result:D,onChangeResult:M,successQualifications:h,discardQualifications:p,selectedQualificationId:L,onSelectQualification:j,onSubmit:ze,isSubmitting:P,errorMessage:I,onLogout:i});const ct=fe?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:()=>{he(!1),$e(null)},className:Ym`text-slate-400 hover:text-slate-600 transition`,children:m.jsx(Yp,{className:Ym`text-xl`})})]}),pe&&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:pe})]}),me&&0!==me.length?m.jsx("div",{className:Ym`space-y-2 max-h-96 overflow-y-auto`,children:me.map(e=>m.jsxs("button",{type:"button",onClick:()=>Ue(e.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:e.name}),m.jsxs("p",{className:Ym`text-xs text-slate-500`,children:["ID: ",e.id]})]})]},e.id))}):m.jsx("div",{className:Ym`text-center py-8`,children:m.jsx("p",{className:Ym`text-slate-500`,children:"Nenhuma pausa disponivel"})}),m.jsx("button",{type:"button",onClick:()=>{he(!1),$e(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"})]})}):null;if(u){const e=Ee||Ae,t=ye.length>0,n=!e&&!t,r=!N&&(Oe||Ce||xe);if(console.log("[FloatingDialer Mini] Estado:",{miniCanUseKeypad:r,callButtonDisabled:n,hasNumber:t,dialValue:ye,isNumberValid:Ie,availabilityError:N,callState:we,operatorState:null==l?void 0:l.state}),"afterCall"===we){const e="success"===D?h:p,t=e.length>0;return console.log("[FloatingDialer Mini] 🎯 TELA DE QUALIFICAÇÃO:",{callState:we,afterCallResult:D,successQualifications:h.length,discardQualifications:p.length,hasOptions:t,selectedQualificationId:L}),m.jsx("div",{className:["callix","mode","min",Ym`flex w-full max-w-full flex-col gap-2 rounded-2xl border border-slate-200 bg-white/95 p-2.5 shadow-sm text-slate-800`].join(" "),"data-callix-variant":"min",children:m.jsxs("div",{className:Ym`space-y-2 rounded-xl border border-slate-200 bg-slate-50 px-2.5 py-2`,children:[m.jsxs("div",{children:[m.jsx("p",{className:Ym`text-[11px] font-semibold text-slate-700`,children:"Qualifique a chamada"}),m.jsx("p",{className:Ym`text-[9px] text-slate-500`,children:"Esta etapa e obrigatoria."})]}),m.jsxs("div",{className:Ym`grid grid-cols-2 gap-1.5`,children:[m.jsx("button",{type:"button",onClick:()=>M("success"),className:Ym`${"success"===D?"bg-emerald-500 text-white shadow-md":"bg-white text-slate-600"} rounded-lg border border-slate-200 px-2 py-1 text-[9px] font-semibold transition`,children:"Atendimento concluido"}),m.jsx("button",{type:"button",onClick:()=>M("failure"),className:Ym`${"failure"===D?"bg-rose-500 text-white shadow-md":"bg-white text-slate-600"} rounded-lg border border-slate-200 px-2 py-1 text-[9px] font-semibold transition`,children:"Atendimento descartado"})]}),m.jsxs("div",{className:Ym`space-y-1`,children:[m.jsx("p",{className:Ym`text-[9px] font-medium text-slate-700`,children:"Selecione uma qualificacao"}),t?m.jsx("div",{className:Ym`max-h-32 space-y-1 overflow-y-auto pr-0.5`,children:e.map(e=>{const t=L===e.id;return m.jsx("button",{type:"button",onClick:()=>j(e.id),className:Ym`${t?"ring-1 ring-primary bg-primary/10 border-primary":"border-slate-200 bg-white"} w-full rounded-lg border px-2 py-1 text-left transition`,children:m.jsx("p",{className:Ym`text-[10px] font-semibold text-slate-800 leading-tight`,children:e.name})},e.id)})}):m.jsx("div",{className:Ym`rounded-lg border border-amber-200 bg-amber-50 px-2 py-1 text-[9px] text-amber-700`,children:"Nenhuma qualificacao disponivel."})]}),I&&m.jsx("p",{className:Ym`text-[9px] text-red-500`,children:I}),m.jsxs("button",{type:"button",onClick:ze,disabled:!t||!L||P,className:Ym`flex w-full items-center justify-center gap-1.5 rounded-lg bg-primary px-3 py-1.5 text-[10px] font-bold text-white shadow-md transition disabled:cursor-not-allowed disabled:opacity-60`,children:[P&&m.jsx("span",{className:Ym`inline-flex h-3 w-3 animate-spin rounded-full border-2 border-white/40 border-t-white`}),"Finalizar atendimento"]})]})})}return console.log("[FloatingDialer Mini] 📞 Estado da Chamada:",{isCallActive:e,callState:we,statusLabel:et,isInCall:Ee,isConnecting:Ae,isRinging:Te,callDurationSeconds:U,callTarget:Qe,statusVisualUsed:e?"GREEN (emerald)":"statusVisual",timerVisible:e&&U>0}),m.jsxs("div",{className:["callix","mode","min",Ym`flex w-full max-w-full flex-col gap-3 rounded-2xl border border-slate-200 bg-white/95 p-3 shadow-sm text-slate-800`].join(" "),"data-callix-variant":"min",children:[m.jsxs("div",{className:Ym`flex items-center justify-between gap-2`,children:[m.jsxs("div",{className:Ym`${e?"border-emerald-200 bg-emerald-50 text-emerald-700":lt.badgeClass} flex items-center gap-1 rounded-full border px-2 py-0.5 text-[10px] font-semibold uppercase leading-tight`,children:[m.jsx(lt.Icon,{className:Ym`text-xs`}),m.jsx("span",{children:et})]}),xe?m.jsxs("button",{type:"button",onClick:()=>Fe(),className:Ym`inline-flex items-center gap-1 rounded-full border border-emerald-400 bg-emerald-50 px-2.5 py-1 text-[10px] font-semibold text-emerald-700 transition hover:bg-emerald-100`,children:[m.jsx(Op,{className:Ym`text-xs`}),"Voltar"]}):m.jsxs("button",{type:"button",onClick:()=>he(!0),className:Ym`inline-flex items-center gap-1 rounded-full border border-amber-300 bg-amber-50 px-2.5 py-1 text-[10px] font-semibold text-amber-700 transition hover:bg-amber-100`,children:[m.jsx(jp,{className:Ym`text-xs`}),"Pausa"]})]}),e?m.jsx("div",{className:Ym`rounded-xl 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 gap-2`,children:[m.jsx("div",{className:Ym`flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-emerald-500 ${U>0?"animate-pulse":""}`,children:m.jsx(Up,{className:Ym`text-xs text-white`})}),m.jsxs("div",{className:Ym`flex min-w-0 flex-1 flex-col gap-0.5`,children:[m.jsx("span",{className:Ym`truncate font-mono text-sm font-bold text-slate-800`,children:(null==Qe?void 0:Qe.replace(/^\+55/,""))||"Conectando..."}),m.jsx("span",{className:Ym`text-[9px] font-medium uppercase tracking-wider text-emerald-600`,children:et})]}),U>0&&m.jsxs("div",{className:Ym`flex shrink-0 items-center gap-1 rounded-lg bg-emerald-500 px-2 py-1`,children:[m.jsx(Ip,{className:Ym`text-[10px] text-white`}),m.jsx("span",{className:Ym`tabular-nums text-xs font-bold text-white`,children:ig(U)})]})]})}):m.jsxs("div",{className:Ym`space-y-1 rounded-xl border border-slate-200 bg-slate-50 px-3 py-2`,children:[m.jsx("span",{className:Ym`text-[10px] font-semibold uppercase tracking-wide text-slate-500`,children:"Numero"}),m.jsxs("div",{className:Ym`flex items-center gap-2`,children:[m.jsx("span",{className:Ym`flex-1 truncate text-sm font-semibold text-slate-800`,children:tt||m.jsx("span",{className:Ym`text-slate-400 text-xs font-normal`,children:"Digite um numero"})}),m.jsx("button",{type:"button",onClick:Le,disabled:!r,className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-lg border border-slate-300 bg-white text-slate-600 transition hover:border-slate-400 hover:text-slate-800 disabled:opacity-40 disabled:cursor-not-allowed`,"aria-label":"Apagar ultimo digito",children:m.jsx(Rp,{className:Ym`text-base`})}),m.jsx("button",{type:"button",onClick:Me,disabled:!r,className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-lg border border-rose-300 bg-rose-50 text-rose-600 transition hover:border-rose-400 hover:bg-rose-100 disabled:opacity-40 disabled:cursor-not-allowed`,"aria-label":"Limpar numero",children:m.jsx(Yp,{className:Ym`text-sm`})})]})]}),m.jsx("div",{className:Ym`grid grid-cols-3 gap-2`,children:Hv.map(e=>m.jsxs("button",{type:"button",onClick:()=>De(e.value),disabled:!r,className:Ym`flex h-12 flex-col items-center justify-center rounded-lg border border-slate-200 bg-white text-base font-semibold text-slate-800 shadow-sm transition active:scale-95 hover:border-slate-300 hover:shadow-md disabled:cursor-not-allowed disabled:opacity-40`,children:[m.jsx("span",{children:e.value}),e.detail&&m.jsx("span",{className:Ym`text-[8px] font-semibold uppercase tracking-widest text-slate-400`,children:e.detail})]},e.value))}),m.jsxs("button",{type:"button",onClick:()=>{e?Be():je()},disabled:n,className:Ym`${e?"bg-rose-500 hover:bg-rose-600":"bg-emerald-500 hover:bg-emerald-600"} flex h-11 w-full items-center justify-center gap-2 rounded-xl text-sm font-bold text-white shadow-md transition disabled:cursor-not-allowed disabled:opacity-60`,children:[m.jsx(qp,{className:Ym`text-base`}),e?"Encerrar":"Ligar"]}),(T||N||oe)&&m.jsxs("div",{className:Ym`rounded-lg border border-rose-200 bg-rose-50 px-2.5 py-2 text-[11px] text-rose-700`,children:[m.jsx(Np,{className:Ym`mr-1 inline text-xs`}),T||N||oe]}),ct]})}const ft=Ee||Ae;return m.jsxs("div",{ref:x,tabIndex:0,role:"application","aria-label":"Discador manual",onFocusCapture:Ge,onBlurCapture:We,className:Ym`space-y-3 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:t}),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:[Ce&&m.jsxs("button",{type:"button",onClick:()=>he(!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"})]}),xe&&m.jsxs("button",{type:"button",onClick:Fe,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`${lt.badgeClass} inline-flex items-center gap-1.5 rounded-lg border px-2 py-1 text-[10px] font-bold ${Ee?"animate-pulse":""}`,children:[m.jsx(lt.Icon,{className:Ym`text-xs`}),m.jsx("span",{children:et}),m.jsx("span",{className:Ym`${lt.dotClass} inline-flex h-1.5 w-1.5 rounded-full`,"aria-hidden":!0})]})]})]}),ft&&m.jsxs(m.Fragment,{children:[m.jsx(ag,{statusLabel:et,callTarget:Qe,durationSeconds:U}),m.jsx(Lv,{})]}),!ft&&m.jsxs("div",{ref:S,className:Ym`${w?"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 e;return null==(e=x.current)?void 0:e.focus()},children:[m.jsx("input",{ref:E,id:"dialer-number",type:"tel",inputMode:"tel",value:ye,onChange:e=>r(e.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"})]}),w&&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:tt||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:Hv.map(e=>m.jsxs("button",{type:"button",onClick:()=>De(e.value),disabled:!Oe,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:e.value}),e.detail&&m.jsx("span",{className:Ym`text-[8px] font-semibold tracking-widest text-slate-400 uppercase`,children:e.detail})]},e.value))}),m.jsxs("div",{className:Ym`space-y-2`,children:[m.jsxs("div",{className:Ym`flex flex-wrap items-center gap-2`,children:[Ce||xe?m.jsxs("button",{type:"button",onClick:je,disabled:!Ie,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"]}):Se?m.jsxs(m.Fragment,{children:[m.jsxs("button",{type:"button",onClick:He,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:qe,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:Be,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:()=>K(!V),className:Ym`${V?"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(ut,{className:Ym`text-xs`}),V?"Mudo":"Mic"]}),m.jsxs("button",{type:"button",onClick:()=>X(!Y),className:Ym`${Y?"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(dt,{className:Ym`text-xs`}),Y?"Mudo":`${st}%`]}),m.jsx("button",{type:"button",onClick:Le,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:Me,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-3 shadow-sm`,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-sm font-semibold text-slate-800`,children:["Saída ",st,"%"]})]}),m.jsxs("div",{className:Ym`flex items-center gap-2`,children:[m.jsx("button",{type:"button",onClick:()=>Ye((J??0)-.05),className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition hover:border-primary/60 hover:text-primary`,"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(J)?J:0,onChange:e=>Ye(parseFloat(e.target.value)),className:Ym`h-1 w-full max-w-full cursor-pointer appearance-none rounded-full bg-slate-200 accent-primary`,"aria-label":"Volume de saida"}),m.jsx("button",{type:"button",onClick:()=>Ye((J??0)+.05),className:Ym`inline-flex h-8 w-8 items-center justify-center rounded-full border border-slate-200 bg-white text-slate-600 transition hover:border-primary/60 hover:text-primary`,"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-xs text-slate-600`,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-full`,children:nt})]}),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-full`,children:rt})]}),(Q.inputs.length>0||Q.outputs.length>0)&&m.jsxs("button",{type:"button",onClick:()=>de(e=>!e),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]`}),se?"Ocultar":"Config"]})]}),se&&m.jsxs("div",{className:Ym`mt-3 grid gap-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-xs shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40`,value:te??"",onChange:Ve,children:[0===Q.inputs.length&&m.jsx("option",{value:"",children:"Padrão"}),Q.inputs.map(e=>m.jsx("option",{value:e.deviceId,children:e.label||"Padrão"},e.deviceId||e.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-xs shadow-inner focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/40`,value:re??"",onChange:Ke,children:[0===Q.outputs.length&&m.jsx("option",{value:"",children:"Padrão"}),Q.outputs.map(e=>m.jsx("option",{value:e.deviceId,children:e.label||"Padrão"},e.deviceId||e.label))]})]})]})]})]}),(T||N||oe)&&m.jsxs("div",{className:Ym`space-y-1.5`,children:[T&&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:T})]}),N&&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:N})]}),oe&&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:oe})]})]}),ct,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 Jv(e){if(!e)return"";const t=e.normalize("NFKC");let n="";for(const r of t)(/^[0-9*#]$/.test(r)||"+"===r&&0===n.length)&&(n+=r);return n}function Zv(e,t){const n=function(e){return e&&"object"==typeof e?e:null}(e);if(n&&t in n)return n[t]}function Qv(e,t){const n=Zv(e,t);return"function"==typeof n?n:void 0}function eg(e){const t=Zv(e,"counterpart");return function(e){if(!e||"object"!=typeof e)return!1;const t=e,n=t.displayName,r=t.phoneNumber;return!(null!=n&&"string"!=typeof n||null!=r&&"string"!=typeof r)}(t)?t:null}function tg(e,t){const n=e[t];if("number"==typeof n&&Number.isFinite(n))return n;if("string"==typeof n){const e=Number(n);if(Number.isFinite(e))return e}return null}const ng={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 rg(e,t,n){return Number.isFinite(e)?n<t?t:Math.min(Math.max(e,t),n):t}function ig(e){const t=Math.max(0,Math.floor(e));return`${Math.floor(t/60).toString().padStart(2,"0")}:${(t%60).toString().padStart(2,"0")}`}function og({username:e,result:t,onChangeResult:n,successQualifications:r,discardQualifications:i,selectedQualificationId:o,onSelectQualification:a,onSubmit:s,isSubmitting:d,errorMessage:u,onLogout:l}){const c="success"===t?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:e})]}),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"===t?"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"===t?"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(e=>{const t=o===e.id;return m.jsx("button",{type:"button",onClick:()=>a(e.id),className:Ym`${t?"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:e.name})},e.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:s,disabled:!f||!o||d,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:[d&&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 ag({statusLabel:e,callTarget:t,durationSeconds:n}){const r=n>0?ig(n):"00:00",i=(null==t?void 0:t.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:e})]})]}),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 sg({variant:e="default",...t}){return m.jsxs(m.Fragment,{children:[m.jsx("style",{dangerouslySetInnerHTML:{__html:'\n /* Container externo do HTML - SEM padding/border para não vazar */\n #dialer-inline.callix.mode.min {\n display: block !important;\n width: 100% !important;\n max-width: 100% !important;\n padding: 0 !important;\n border: none !important;\n background: transparent !important;\n box-shadow: none !important;\n }\n\n /* Estilos para modo mini quando Tailwind CDN não processa classes */\n .callix.mode.min {\n display: flex !important;\n flex-direction: column !important;\n gap: 0.75rem !important;\n border-radius: 1rem !important;\n border: 1px solid #e2e8f0 !important;\n background: rgba(255, 255, 255, 0.95) !important;\n padding: 0.75rem !important;\n box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;\n color: #1e293b !important;\n width: 100% !important;\n max-width: 100% !important;\n box-sizing: border-box !important;\n }\n\n /* Visor de número - fonte menor para caber todos os dígitos */\n .callix.mode.min [class*="truncate"] {\n font-size: 0.875rem !important; /* text-sm */\n line-height: 1.25rem !important;\n overflow: hidden !important;\n text-overflow: ellipsis !important;\n white-space: nowrap !important;\n }\n\n /* Botões do modo mini */\n .callix.mode.min button {\n cursor: pointer !important;\n transition: all 0.2s ease !important;\n }\n \n .callix.mode.min button:disabled {\n cursor: not-allowed !important;\n opacity: 0.6 !important;\n }\n\n /* Grid do teclado numérico */\n .callix.mode.min [class*="grid-cols-3"] {\n display: grid !important;\n grid-template-columns: repeat(3, minmax(0, 1fr)) !important;\n gap: 0.5rem !important;\n }\n\n /* Botões do teclado */\n .callix.mode.min [class*="grid-cols-3"] button {\n display: flex !important;\n height: 3rem !important;\n flex-direction: column !important;\n align-items: center !important;\n justify-content: center !important;\n border-radius: 0.5rem !important;\n border: 1px solid #e2e8f0 !important;\n background: white !important;\n font-size: 1rem !important;\n font-weight: 600 !important;\n color: #1e293b !important;\n box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05) !important;\n }\n\n .callix.mode.min [class*="grid-cols-3"] button:hover:not(:disabled) {\n border-color: #cbd5e1 !important;\n box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;\n }\n\n .callix.mode.min [class*="grid-cols-3"] button:active:not(:disabled) {\n transform: scale(0.95) !important;\n }\n\n /* Botão principal de Ligar/Encerrar */\n .callix.mode.min > button[class*="bg-emerald"],\n .callix.mode.min > button[class*="bg-rose"] {\n display: flex !important;\n height: 2.75rem !important;\n width: 100% !important;\n align-items: center !important;\n justify-content: center !important;\n gap: 0.5rem !important;\n border-radius: 0.75rem !important;\n font-size: 0.875rem !important;\n font-weight: 700 !important;\n color: white !important;\n box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1) !important;\n border: none !important;\n }\n\n .callix.mode.min > button[class*="bg-emerald"] {\n background: #10b981 !important;\n }\n\n .callix.mode.min > button[class*="bg-emerald"]:hover:not(:disabled) {\n background: #059669 !important;\n }\n\n .callix.mode.min > button[class*="bg-rose"] {\n background: #f43f5e !important;\n }\n\n .callix.mode.min > button[class*="bg-rose"]:hover:not(:disabled) {\n background: #e11d48 !important;\n }\n '}}),m.jsx(Kv,{...t,variant:e})]})}class dg{constructor(e){this.root=null,this.container=null,this.options=e}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}`);const t=function(e){const t={},n=e.getAttribute("data-callix-mode")||e.dataset.callixMode||e.dataset.mode,r=e.getAttribute("data-callix-username")||e.dataset.callixUsername||e.dataset.username,i=Array.from(e.classList),o=i.map(e=>e.toLowerCase()),a=o.includes("callix"),s=n?n.toLowerCase():void 0;if(("min"===s||"mini"===s||a&&(o.includes("mode-min")||o.includes("mode-mini")||o.includes("mode")&&o.includes("min")))&&(t.uiVariant="min"),!t.presetUsername&&r&&(t.presetUsername=r.trim()),!t.presetUsername)for(const d of i){const e=d.match(/(?:user|username|callix-user)[-_:]([A-Za-z0-9.@_-]+)/i);if(e){t.presetUsername=e[1];break}}return t.presetUsername&&(t.presetUsername=t.presetUsername.trim()),t}(this.container);!this.options.uiVariant&&t.uiVariant&&(this.options.uiVariant=t.uiVariant),!this.options.presetUsername&&t.presetUsername&&(this.options.presetUsername=t.presetUsername),this.root=y.createRoot(this.container),this.root.render(m.jsx(e.StrictMode,{children:m.jsx(fg,{options:this.options})})),this.options.onReady&&this.options.onReady()}catch(t){this.options.onError?this.options.onError(t):console.error("[Callix Dialer] Erro ao inicializar:",t)}}destroy(){this.root&&(this.root.unmount(),this.root=null)}}const ug=e=>({SESSION_TOKEN:`callix_dialer_${e}_session_token`,DOMAIN:`callix_dialer_${e}_domain`,TIMESTAMP:`callix_dialer_${e}_timestamp`}),lg="callix_dialer_last_username",cg=288e5;function fg({options:t}){const[n,r]=e.useState(null),[i,o]=e.useState(!1),[a,s]=e.useState(!1),[d,u]=e.useState(null),[l,c]=e.useState(null),[f,h]=e.useState(null),[p,$]=e.useState(!0),v=t.presetUsername?t.presetUsername.trim():null,g=t.uiVariant??"default",y=e.useRef(!1),b=e.useRef(v);e.useEffect(()=>{if("undefined"!=typeof window)try{const e=localStorage.getItem(lg);if(!e)return void $(!1);if(v&&e!==v)return console.log("[Callix Dialer] Ignorando sessao salva por mismatch com preset:",e,"!=",v),void $(!1);const t=ug(e),n=localStorage.getItem(t.SESSION_TOKEN),i=localStorage.getItem(t.DOMAIN),a=localStorage.getItem(t.TIMESTAMP);if(e&&n&&i&&a){const s=parseInt(a,10);Date.now()-s<cg?(console.log("[Callix Dialer] Restaurando sessão salva:",e),r(e),c(n),h(i),o(!0)):(console.log("[Callix Dialer] Sessão expirada, limpando..."),localStorage.removeItem(lg),localStorage.removeItem(t.SESSION_TOKEN),localStorage.removeItem(t.DOMAIN),localStorage.removeItem(t.TIMESTAMP))}}catch(e){console.error("[Callix Dialer] Erro ao restaurar sessão:",e)}finally{$(!1)}else $(!1)},[]),e.useEffect(()=>{v&&n!==v&&r(v)},[v,n]);const _=e.useCallback(async e=>{s(!0),u(null);try{const i=t.apiUrl||"/api/user-sdk-session",a=await fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:e}),credentials:"same-origin"});if(!a.ok){const e=await a.json().catch(()=>({error:"Erro desconhecido"}));throw new Error(e.error||`Falha na autenticação: ${a.status}`)}const s=await a.json();if(c(s.userSessionToken),h(s.domain||"villelabrasil.callix.com.br"),r(e),o(!0),u(null),"undefined"!=typeof window)try{const t=ug(e);localStorage.setItem(lg,e),localStorage.setItem(t.SESSION_TOKEN,s.userSessionToken),localStorage.setItem(t.DOMAIN,s.domain||"villelabrasil.callix.com.br"),localStorage.setItem(t.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:",e)}catch(n){console.error("[Callix Dialer] Erro ao autenticar:",n),u(n instanceof Error?n.message:"Erro ao autenticar"),o(!1),c(null)}finally{s(!1)}},[t.apiUrl]);e.useEffect(()=>{if(!v)return b.current=null,void(y.current=!1);b.current!==v&&(b.current=v,y.current=!1),i||a||p||y.current||(y.current=!0,_(v))},[v,i,a,p,_]);const w=()=>{const e=n;if(r(v??null),o(!1),c(null),h(null),u(null),y.current=!1,b.current=v??null,"undefined"!=typeof window&&e)try{const t=ug(e);localStorage.removeItem(lg),localStorage.removeItem(t.SESSION_TOKEN),localStorage.removeItem(t.DOMAIN),localStorage.removeItem(t.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)}},C="inline"===t.mode?sg:Kv;return i&&l&&f?m.jsx(_f.CallixClientProvider,{domain:f,userSessionToken:l,children:m.jsx(C,{isAuthenticated:i,username:n,onLogin:_,onLogout:w,isLoadingSession:a,sessionError:d,variant:g})}):m.jsx(C,{isAuthenticated:!1,username:n,onLogin:_,onLogout:w,isLoadingSession:a||p,sessionError:d,variant:g})}const hg={CallixDialerWidget:dg,init:function(e){const t=new dg(e);return t.init(),t}};return"undefined"!=typeof window&&(window.CallixDialer=hg),hg});
|
|
27
27
|
//# sourceMappingURL=callix-dialer.umd.js.map
|