@opens/widget-ui 1.7.3 → 1.7.5
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.
- package/dist/app-article-page.vue.d.ts.map +1 -0
- package/dist/app-identification-page.vue.d.ts.map +1 -0
- package/dist/composables/use-widget-copy.d.ts +4 -0
- package/dist/inputs/app-text-input.vue.d.ts.map +1 -0
- package/dist/utils/widget-copy.d.ts +3 -0
- package/dist/widget/app-widget-view.vue.d.ts +1 -1
- package/dist/yunique_widget_ui.cjs.js +15 -15
- package/dist/yunique_widget_ui.css +1 -1
- package/dist/yunique_widget_ui.es.js +2333 -2294
- package/dist/yunique_widget_ui.umd.js +16 -16
- package/package.json +3 -3
- package/dist/app-text-input.vue.d.ts.map +0 -1
- package/dist/pages/app-article-page.vue.d.ts.map +0 -1
- package/dist/pages/app-identification-page.vue.d.ts.map +0 -1
- /package/dist/{pages/app-article-page.vue.d.ts → app-article-page.vue.d.ts} +0 -0
- /package/dist/{pages/app-identification-page.vue.d.ts → app-identification-page.vue.d.ts} +0 -0
- /package/dist/{app-text-input.vue.d.ts → inputs/app-text-input.vue.d.ts} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),is={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|[2-467])\\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,[["(?:(?:241|349)0\\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)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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)|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","[024-7]\\d{7}",[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{8}",[10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\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","90\\d{5}|(?:0800|[2-6]|(?:7|800)\\d)\\d{6}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[2-6]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\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]|[67]3)|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]|3[23]|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-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],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})","$1 $2",["101","1010","10100"],"0$1"],["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[15]|35|49|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|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]|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|9[0-35-9])|[39]7[0-79]","10(?:12|9[56])|2[0-57-9](?:1[02]|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:123|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:123|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["101","1010"]],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[15]|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|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]|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])","(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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]))[19]","(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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])","(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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",["[48]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-6])|4(?:1[25-9]|[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])|(?:31|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\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]|94"]],["(\\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-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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[03-68]","15(?:[0568]|3[13]|41)"],"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,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|3[01]|5[0-5]))\\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}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","400\\d{6}|(?:51|[6-9]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"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{2})(\\d{2})(\\d{2})","$1 $2 $3",["[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-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|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{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"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","[48]\\d{8}|[2-9]\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|4(?:[0-35]|4[16-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[48]"]]]],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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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(?:05|[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-5]|80[2-46]","11|2[02]|33|4[04]|79[1-5]|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[1245]|3(?:[02-9]|1[0-24-9]))|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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|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|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|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",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[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|427|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",["[47]"],"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","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","(?:2\\d|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",["2"],"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",["20"]],["(\\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]"]],["(\\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",["20"]]],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{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\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",["[67]"],"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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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",["11|2[16]"],"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","7091\\d{5}|(?:[56]9|[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{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-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-9]"]],["(\\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[02-46-9]"]],["(\\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",["30|(?: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","30|(?: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","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,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",["3[289]|4[246-8]|61|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-8])"],"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,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?: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","(?:[2378]\\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",["[237-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,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[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(?:[0-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","(?:[2569]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[2569]"],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[013]|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{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-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","[25-7]\\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",["[25-7]"]],["(\\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|[3689]\\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|66)\\d{7}",[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",["\\d"]]],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-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[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$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{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?: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","20240"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["20[0-35-7]|4(?:6[45]|[7-9])|[7-9]","20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[2-4]"],"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,[["983[2-57-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[02469]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[02589]|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-2478]|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],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{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1357-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","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?: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","8\\d{6}(?:\\d{3})?|[235-8]\\d{8}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[256]|39|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",["3"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"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|5[12]"]],["(\\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})|5(?:0\\d{3}|2[0-2]))\\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 as(e,n){var o=Array.prototype.slice.call(n);return o.push(is),e.apply(this,o)}function wr(e,n){e=e.split("-"),n=n.split("-");for(var o=e[0].split("."),r=n[0].split("."),i=0;i<3;i++){var a=Number(o[i]),s=Number(r[i]);if(a>s)return 1;if(s>a)return-1;if(!isNaN(a)&&isNaN(s))return 1;if(isNaN(a)&&!isNaN(s))return-1}return e[1]&&n[1]?e[1]>n[1]?1:e[1]<n[1]?-1:0:!e[1]&&n[1]?1:e[1]&&!n[1]?-1:0}var ss={}.constructor;function Ke(e){return e!=null&&e.constructor===ss}var ds=/^\d+$/;function ls(e){return ds.test(e)}function qe(e){"@babel/helpers - typeof";return qe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},qe(e)}function Tn(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function us(e,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,cs(r.key),r)}}function En(e,n,o){return n&&us(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function cs(e){var n=ps(e,"string");return qe(n)=="symbol"?n:n+""}function ps(e,n){if(qe(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(qe(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var fs="1.2.0",ms="1.7.35",$r=" ext. ",ee=(function(){function e(n){Tn(this,e),Di(n),this.metadata=n,ji.call(this,n)}return En(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(o){return o!=="001"})}},{key:"getCountryMetadata",value:function(o){return this.metadata.countries[o]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(o){return this.getCountryMetadata(o)!==void 0}},{key:"hasCallingCode",value:function(o){if(this.getCountryCodesForCallingCode(o))return!0;if(this.nonGeographic()){if(this.nonGeographic()[o])return!0}else{var r=this.countryCallingCodes()[o];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(o){return this.nonGeographic()?!!this.nonGeographic()[o]:!this.getCountryCodesForCallingCode(o)}},{key:"country",value:function(o){return this.selectNumberingPlan(o)}},{key:"selectNumberingPlan",value:function(o,r){var i,a;if(o&&(ls(o)?a=o:i=o),r&&(a=r),i&&i!=="001"){var s=this.getCountryMetadata(i);if(!s)throw new Error("Unknown country: ".concat(i));this.numberingPlan=new yr(s,this)}else if(a){if(!this.hasCallingCode(a))throw new Error("Unknown calling code: ".concat(a));this.numberingPlan=new yr(this.getNumberingPlanMetadata(a),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(o){var r=this.countryCallingCodes()[o];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(o){var r=this.getCountryCodesForCallingCode(o);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(o){var r=this.getCountryCodeForCallingCode(o);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var i=this.nonGeographic()[o];if(i)return i}else{var a=this.countryCallingCodes()[o];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(o){return this.numberingPlan.type(o)}},{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(o){return this.selectNumberingPlan(o)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})(),yr=(function(){function e(n,o){Tn(this,e),this.globalMetadataObject=o,this.metadata=n,ji.call(this,o.metadata)}return En(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{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(o){return o[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var o=this,r=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return r.map(function(i){return new gs(i,o)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(o){return o[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{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._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(o){if(this.hasTypes()&&vr(this.types(),o))return new ws(vr(this.types(),o),this)}},{key:"ext",value:function(){return this.v1||this.v2?$r:this.metadata[13]||$r}}])})(),gs=(function(){function e(n,o){Tn(this,e),this._format=n,this.metadata=o}return En(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!hs.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),hs=/^\(?\$1\)?$/,ws=(function(){function e(n,o){Tn(this,e),this.type=n,this.metadata=o}return En(e,[{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 vr(e,n){switch(n){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 Di(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Ke(e)||!Ke(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(Ke(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+$s(e)+": "+e,"."))}var $s=function(n){return qe(n)};function Bi(e,n){var o=new ee(n);if(o.hasCountry(e))return o.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function ys(e,n){return n.countries.hasOwnProperty(e)}function ji(e){var n=e.version;typeof n=="number"?(this.v1=n===1,this.v2=n===2,this.v3=n===3,this.v4=n===4):n?wr(n,fs)===-1?this.v2=!0:wr(n,ms)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function zo(e,n,o){return vs(e,void 0,n,o)}function vs(e,n,o,r){o&&(r=new ee(r.metadata),r.selectNumberingPlan(o));var i=r.type(n),a=i&&i.possibleLengths()||r.possibleLengths();if(!a)return"IS_POSSIBLE";var s=e.length,d=a[0];return d===s?"IS_POSSIBLE":d>s?"TOO_SHORT":a[a.length-1]<s?"TOO_LONG":a.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function bs(e,n,o){n===void 0&&(n={});var r=new ee(o);if(n.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.country||e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode)}}if(r.possibleLengths())return Pi(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Pi(e,n){switch(zo(e,void 0,n)){case"IS_POSSIBLE":return!0;default:return!1}}function ke(e,n){return e=e||"",new RegExp("^(?:"+n+")$").test(e)}function xs(e,n){var o=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o)return(o=o.call(e)).next.bind(o);if(Array.isArray(e)||(o=Cs(e))||n){o&&(e=o);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.
|
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hs(e,n){if(e){if(typeof e=="string")return xr(e,n);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?xr(e,n):void 0}}function xr(e,n){(n==null||n>e.length)&&(n=e.length);for(var o=0,r=Array(n);o<n;o++)r[o]=e[o];return r}function Us(e,n,o){for(var r=new ee(o),i=Vs(n),a;!(a=i()).done;){var s=a.value;if(r.selectNumberingPlan(s),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return s}else if(Ro({phone:e,country:s},void 0,r.metadata))return s}}function _i(e,n){var o=n.nationalNumber,r=n.metadata,i=r.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:Us(o,i,r.metadata)}function po(e,n,o){var r=Fs(e,o),i=r.carrierCode,a=r.nationalNumber;if(a!==e){if(!Gs(e,a,o))return{nationalNumber:e};if(o.numberingPlan.possibleLengths()&&(n||(n=_i(o.numberingPlan.callingCode(),{nationalNumber:a,metadata:o})),!Ws(a,n,o)))return{nationalNumber:e}}return{nationalNumber:a,carrierCode:i}}function Gs(e,n,o){return!(ke(e,o.nationalNumberPattern())&&!ke(n,o.nationalNumberPattern()))}function Ws(e,n,o){switch(zo(e,n,o)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Ys(e,n,o,r,i){if(!(o||r))return{number:e};var a=o?Bi(o,i):r;if(e.indexOf(a)===0){var s=new ee(i);s.selectNumberingPlan(o||r);var d=e.slice(a.length),l=po(d,void 0,s),u=l.nationalNumber,p=po(e,void 0,s),c=p.nationalNumber;if(!ke(c,s.nationalNumberPattern())&&ke(u,s.nationalNumberPattern())||zo(c,void 0,s)==="TOO_LONG")return{countryCallingCode:a,number:d}}return{number:e}}function Oi(e,n,o,r,i){if(!e)return{};var a;if(e[0]!=="+"){var s=Rs(e,o,r,i);if(s&&s!==e)a=!0,e="+"+s;else{if(o||r){var d=Ys(e,n,o,r,i),l=d.countryCallingCode,u=d.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:u}}return{number:e}}}if(e[1]==="0")return{};for(var p=new ee(i),c=2;c-1<=Ls&&c<=e.length;){var f=e.slice(1,c);if(p.hasCallingCode(f))return p.selectNumberingPlan(f),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(c)};c++}return{}}function Zs(e){return e.replace(new RegExp("[".concat(Wt,"]+"),"g")," ").trim()}var Qs=/(\$\d)/;function Js(e,n,o){var r=o.useInternationalFormat,i=o.withNationalPrefix,a=e.replace(new RegExp(n.pattern()),r?n.internationalFormat():i&&n.nationalPrefixFormattingRule()?n.format().replace(Qs,n.nationalPrefixFormattingRule()):n.format());return r?Zs(a):a}var Ks=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function Xs(e,n,o){var r=new ee(o);if(r.selectNumberingPlan(e||n),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(Ks.test(r.IDDPrefix()))return r.IDDPrefix()}var qs=";ext=",Ye=function(n){return"([".concat(ce,"]{1,").concat(n,"})")};function zi(e){var n="20",o="15",r="9",i="6",a="[ \\t,]*",s="[:\\..]?[ \\t,-]*",d="#?",l="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",u="(?:[xx##~~]|int|int)",p="[- ]+",c="[ \\t]*",f="(?:,{2}|;)",m=qs+Ye(n),g=a+l+s+Ye(n)+d,h=a+u+s+Ye(r)+d,w=p+Ye(i)+"#",v=c+f+s+Ye(o)+d,b=c+"(?:,)+"+s+Ye(r)+d;return m+"|"+g+"|"+h+"|"+w+"|"+v+"|"+b}var ed="["+ce+"]{"+Fo+"}",td="["+Vo+"]{0,1}(?:["+Wt+"]*["+ce+"]){3,}["+Wt+ce+"]*",nd=new RegExp("^["+Vo+"]{0,1}(?:["+Wt+"]*["+ce+"]){1,2}$","i"),od=td+"(?:"+zi()+")?",rd=new RegExp("^"+ed+"$|^"+od+"$","i");function id(e){return e.length>=Fo&&rd.test(e)}function ad(e){return nd.test(e)}function sd(e){var n=e.number,o=e.ext;if(!n)return"";if(n[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(n).concat(o?";ext="+o:"")}var Cr={formatExtension:function(n,o,r){return"".concat(n).concat(r.ext()).concat(o)}};function dd(e,n,o,r){o?o=cd({},Cr,o):o=Cr;var i=new ee(r);if(e.country&&e.country!=="001"){if(!i.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));i.selectNumberingPlan(e.country)}else if(e.countryCallingCode)i.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var a=i.countryCallingCode(),s=o.v2?e.nationalNumber:e.phone,d;switch(n){case"NATIONAL":return s?(d=Yt(s,e.carrierCode,"NATIONAL",i,o),Yn(d,e.ext,i,o.formatExtension)):"";case"INTERNATIONAL":return s?(d=Yt(s,null,"INTERNATIONAL",i,o),d="+".concat(a," ").concat(d),Yn(d,e.ext,i,o.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(s);case"RFC3966":return sd({number:"+".concat(a).concat(s),ext:e.ext});case"IDD":if(!o.fromCountry)return;var l=ud(s,e.carrierCode,a,o.fromCountry,i);return l?Yn(l,e.ext,i,o.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n,'"'))}}function Yt(e,n,o,r,i){var a=ld(r.formats(),e);return a?Js(e,a,{useInternationalFormat:o==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1)}):e}function ld(e,n){return pd(e,function(o){if(o.leadingDigitsPatterns().length>0){var r=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(n.search(r)!==0)return!1}return ke(n,o.pattern())})}function Yn(e,n,o,r){return n?r(e,n,o):e}function ud(e,n,o,r,i){var a=Bi(r,i.metadata);if(a===o){var s=Yt(e,n,"NATIONAL",i);return o==="1"?o+" "+s:s}var d=Xs(r,void 0,i.metadata);if(d)return"".concat(d," ").concat(o," ").concat(Yt(e,null,"INTERNATIONAL",i))}function cd(){for(var e=1,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];for(;e<o.length;){if(o[e])for(var i in o[e])o[0][i]=o[e][i];e++}return o[0]}function pd(e,n){for(var o=0;o<e.length;){if(n(e[o]))return e[o];o++}}function vt(e){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},vt(e)}function Nr(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,r)}return o}function kr(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?Nr(Object(o),!0).forEach(function(r){fd(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Nr(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function fd(e,n,o){return(n=Ri(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function md(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function gd(e,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Ri(r.key),r)}}function hd(e,n,o){return n&&gd(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Ri(e){var n=wd(e,"string");return vt(n)=="symbol"?n:n+""}function wd(e,n){if(vt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(vt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var $d=(function(){function e(n,o,r){if(md(this,e),!n)throw new TypeError("First argument is required");if(typeof n!="string")throw new TypeError("First argument must be a string");if(n[0]==="+"&&!o)throw new TypeError("`metadata` argument not passed");if(Ke(o)&&Ke(o.countries)){r=o;var i=n;if(!yd.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=Oi(i,void 0,void 0,void 0,r),s=a.countryCallingCode,d=a.number;if(o=d,n=s,!o)throw new Error("Invalid `number` argument passed: too short")}if(!o)throw new TypeError("`nationalNumber` argument is required");if(typeof o!="string")throw new TypeError("`nationalNumber` argument must be a string");Di(r);var l=Is(n,r),u=l.country,p=l.callingCode;this.country=u,this.countryCallingCode=p,this.nationalNumber=o,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return hd(e,[{key:"setExt",value:function(o){this.ext=o}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Ts(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return bs(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return ks(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var o=new ee(this.getMetadata());return o.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(o){return this.number===o.number&&this.ext===o.ext}},{key:"getType",value:function(){return Ro(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(o,r){return dd(this,o,r?kr(kr({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(o){return this.format("NATIONAL",o)}},{key:"formatInternational",value:function(o){return this.format("INTERNATIONAL",o)}},{key:"getURI",value:function(o){return this.format("RFC3966",o)}}])})(),yd=/^\+\d+$/;function fo(e){"@babel/helpers - typeof";return fo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},fo(e)}function vd(e,n,o){return Object.defineProperty(e,"prototype",{writable:!1}),e}function bd(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function xd(e,n,o){return n=xt(n),Cd(e,Ho()?Reflect.construct(n,o||[],xt(e).constructor):n.apply(e,o))}function Cd(e,n){if(n&&(fo(n)=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Nd(e)}function Nd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kd(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&bt(e,n)}function mo(e){var n=typeof Map=="function"?new Map:void 0;return mo=function(r){if(r===null||!Ad(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(n!==void 0){if(n.has(r))return n.get(r);n.set(r,i)}function i(){return Md(r,arguments,xt(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),bt(i,r)},mo(e)}function Md(e,n,o){if(Ho())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,n);var i=new(e.bind.apply(e,r));return o&&bt(i,o.prototype),i}function Ho(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Ho=function(){return!!e})()}function Ad(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function bt(e,n){return bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},bt(e,n)}function xt(e){return xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(e)}var xe=(function(e){function n(o){var r;return bd(this,n),r=xd(this,n,[o]),Object.setPrototypeOf(r,n.prototype),r.name=r.constructor.name,r}return kd(n,e),vd(n)})(mo(Error)),Mr=new RegExp("(?:"+zi()+")$","i");function Id(e){var n=e.search(Mr);if(n<0)return{};for(var o=e.slice(0,n),r=e.match(Mr),i=1;i<r.length;){if(r[i])return{number:o,ext:r[i]};i++}}var Td={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 Ed(e){return Td[e]}function Sd(e,n){var o=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o)return(o=o.call(e)).next.bind(o);if(Array.isArray(e)||(o=Ld(e))||n){o&&(e=o);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.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function
|
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ul(e,n){if(e){if(typeof e=="string")return Br(e,n);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Br(e,n):void 0}}function Br(e,n){(n==null||n>e.length)&&(n=e.length);for(var o=0,r=Array(n);o<n;o++)r[o]=e[o];return r}function cl(e,n){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var r,i,a,s,d=[],l=!0,u=!1;try{if(a=(o=o.call(e)).next,n!==0)for(;!(l=(r=a.call(o)).done)&&(d.push(r.value),d.length!==n);l=!0);}catch(p){u=!0,i=p}finally{try{if(!l&&o.return!=null&&(s=o.return(),Object(s)!==s))return}finally{if(u)throw i}}return d}}function pl(e){if(Array.isArray(e))return e}function fl(e){var n=Array.prototype.slice.call(e),o=dl(n,4),r=o[0],i=o[1],a=o[2],s=o[3],d,l,u;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")s?(l=a,u=s):(l=void 0,u=a),i&&(l=rl({defaultCountry:i},l));else if(Ke(i))a?(l=i,u=a):u=i;else throw new Error("Invalid second argument: ".concat(i));return{text:d,options:l,metadata:u}}function kt(e){"@babel/helpers - typeof";return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},kt(e)}function jr(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,r)}return o}function Pr(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?jr(Object(o),!0).forEach(function(r){ml(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jr(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function ml(e,n,o){return(n=gl(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function gl(e){var n=hl(e,"string");return kt(n)=="symbol"?n:n+""}function hl(e,n){if(kt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(kt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function wl(e,n,o){n&&n.defaultCountry&&!ys(n.defaultCountry,o)&&(n=Pr(Pr({},n),{},{defaultCountry:void 0}));try{return ol(e,n,o)}catch(r){if(!(r instanceof xe))throw r}}function Mt(e){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Mt(e)}function _r(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,r)}return o}function Or(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?_r(Object(o),!0).forEach(function(r){$l(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_r(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function $l(e,n,o){return(n=yl(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function yl(e){var n=vl(e,"string");return Mt(n)=="symbol"?n:n+""}function vl(e,n){if(Mt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(Mt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function bl(){var e=fl(arguments),n=e.text,o=e.options,r=e.metadata;o=Or(Or({},o),{},{extract:!1});var i=wl(n,o,r);return i&&i.isValid()||!1}function Zn(){return as(bl,arguments)}const xl=new Set(["name","nome"]),Cl=new Set(["email","e-mail","correo"]),Nl=new Set(["phone","telefone","celular","mobile","tel","whatsapp"]),kl=new Set(["cpf"]),Ml=new Set(["order","pedido"]),Ce=e=>{const n=e.trim().toLowerCase();return xl.has(n)?"name":Cl.has(n)?"email":Nl.has(n)?"phone":kl.has(n)?"cpf":Ml.has(n)?"order":"other"},Zt=e=>Ce(e)==="name",zr={"pt-BR":{requiredField:"Campo obrigatório",step:(e,n)=>`Passo ${e} de ${n}`,nameTitle:"Como podemos te chamar?",nameSubtitle:"Primeiro, nos diga o seu nome.",almostThere:e=>e?`Quase lá, ${e}.`:"Quase lá.",hello:e=>e?`Olá, ${e}.`:"Olá.",requiredFieldSubtitle:e=>`Informe seu ${e} para continuar.`,optionalFieldSubtitle:e=>`Gostaria de deixar seu ${e}?`,labelName:"Nome",labelPhone:"Telefone",labelEmail:"E-mail",labelCpf:"CPF",labelOrder:"Pedido",placeholderName:"Seu nome",placeholderPhone:"Seu telefone",placeholderEmail:"Seu e-mail",placeholderCpf:"000.000.000-00",invalidEmail:"Email inválido",invalidPhone:"Telefone inválido",incompleteCpf:"CPF incompleto",invalidCpf:"CPF inválido",back:"Voltar",continue:"Continuar",finish:"Finalizar"},"en-US":{requiredField:"Required field",step:(e,n)=>`Step ${e} of ${n}`,nameTitle:"What should we call you?",nameSubtitle:"First, tell us your name.",almostThere:e=>e?`Almost there, ${e}.`:"Almost there.",hello:e=>e?`Hi, ${e}.`:"Hi.",requiredFieldSubtitle:e=>`Enter your ${e} to continue.`,optionalFieldSubtitle:e=>`Would you like to leave your ${e}?`,labelName:"Name",labelPhone:"Phone",labelEmail:"Email",labelCpf:"CPF",labelOrder:"Order",placeholderName:"Your name",placeholderPhone:"Your phone",placeholderEmail:"Your email",placeholderCpf:"000.000.000-00",invalidEmail:"Invalid email",invalidPhone:"Invalid phone",incompleteCpf:"Incomplete CPF",invalidCpf:"Invalid CPF",back:"Back",continue:"Continue",finish:"Finish"},"es-ES":{requiredField:"Campo obligatorio",step:(e,n)=>`Paso ${e} de ${n}`,nameTitle:"¿Cómo podemos llamarte?",nameSubtitle:"Primero, dinos tu nombre.",almostThere:e=>e?`Casi listo, ${e}.`:"Casi listo.",hello:e=>e?`Hola, ${e}.`:"Hola.",requiredFieldSubtitle:e=>`Ingresa tu ${e} para continuar.`,optionalFieldSubtitle:e=>`¿Te gustaría dejar tu ${e}?`,labelName:"Nombre",labelPhone:"Teléfono",labelEmail:"Correo",labelCpf:"CPF",labelOrder:"Pedido",placeholderName:"Tu nombre",placeholderPhone:"Tu teléfono",placeholderEmail:"Tu correo",placeholderCpf:"000.000.000-00",invalidEmail:"Correo inválido",invalidPhone:"Teléfono inválido",incompleteCpf:"CPF incompleto",invalidCpf:"CPF inválido",back:"Volver",continue:"Continuar",finish:"Finalizar"}},Sn=e=>zr[e]??zr["pt-BR"],Rr=(e,n)=>{const o=Sn(n),r=Ce(e);if(r==="name")return o.labelName;if(r==="phone")return o.labelPhone;if(r==="email")return o.labelEmail;if(r==="cpf")return o.labelCpf;if(r==="order")return o.labelOrder},Al=(e,n)=>{const o=Sn(n),r=Ce(e);if(r==="name")return o.placeholderName;if(r==="phone")return o.placeholderPhone;if(r==="email")return o.placeholderEmail;if(r==="cpf")return o.placeholderCpf},Il=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,Tl=/^(\d)\1{10}$/,Fr=(e,n)=>{let o=0;for(let i=0;i<n-1;i+=1)o+=Number(e[i])*(n-i);const r=o*10%11;return r===10?0:r},Vi=e=>e?!Il.test(e):!1,Hi=e=>{const n=e.replace(/\D/g,"");return n?!!(n.length!==11||Tl.test(n)||Fr(n,10)!==Number(n[9])||Fr(n,11)!==Number(n[10])):!1},El=e=>{const n=e.replace(/\D/g,"");return n?n.length<11:!1},Ui=e=>{const n=e.replace(/\D/g,"");if(!n)return!1;const o=e.trim();try{return o.startsWith("+")?!Zn(o):!(Zn(o,"BR")||Zn(`+${n}`))}catch{return!0}},Gi=(e,n)=>{const o=Ce(e);return o==="email"?Vi(n):o==="phone"?Ui(n):o==="cpf"?Hi(n):!1},Sl=(e,n,o="pt-BR")=>{const r=Sn(o),i=Ce(e);if(i==="email"&&Vi(n))return r.invalidEmail;if(i==="phone"&&Ui(n))return r.invalidPhone;if(i==="cpf"){if(El(n))return r.incompleteCpf;if(Hi(n))return r.invalidCpf}return null},ne=(e,n)=>e==null?"":typeof e=="string"?e:e[n]??e["pt-BR"]??Object.values(e).find(o=>!!o)??"";function Ll(){return{maskPhone:i=>{if(!i)return"";const a=i.trim().startsWith("+");let s=i.replace(/\D/g,"");return a?(s=s.slice(0,15),s?`+${s}`:"+"):s.length<=4?s:(s.startsWith("0")&&!s.startsWith("0800")&&s.length>3&&(s=s.replace(/^0+/,"")),s.startsWith("0800")?(s=s.slice(0,11),s.replace(/(0800)(\d{0,3})(\d{0,4})/,(d,l,u,p)=>[l,u,p].filter(Boolean).join(" "))):s.length>11?s.slice(0,15):s.length<=8?s.replace(/(\d{4})(\d{0,4})/,"$1-$2").replace(/-$/,""):s.length===9?s.replace(/(\d{5})(\d{0,4})/,"$1-$2"):s.length===10?s.replace(/(\d{2})(\d{0,4})(\d{0,4})/,"($1) $2-$3").replace(/-$/,""):s.replace(/(\d{2})(\d{0,5})(\d{0,4})/,"($1) $2-$3").replace(/-$/,""))},maskCnpj:i=>{const a=i.toUpperCase().replace(/[^0-9A-Z]/g,"");let s="";for(const d of a){if(s.length>=14)break;(s.length<12||/\d/.test(d))&&(s+=d)}return s.replace(/^([0-9A-Z]{2})([0-9A-Z])/,"$1.$2").replace(/^([0-9A-Z]{2})\.([0-9A-Z]{3})([0-9A-Z])/,"$1.$2.$3").replace(/^([0-9A-Z]{2})\.([0-9A-Z]{3})\.([0-9A-Z]{3})([0-9A-Z])/,"$1.$2.$3/$4").replace(/^([0-9A-Z]{2})\.([0-9A-Z]{3})\.([0-9A-Z]{3})\/([0-9A-Z]{4})(\d)/,"$1.$2.$3/$4-$5")},maskCep:i=>i.replace(/\D/g,"").slice(0,8).replace(/^(\d{5})(\d)/,"$1-$2"),maskCpf:i=>i.replace(/\D/g,"").slice(0,11).replace(/^(\d{3})(\d)/,"$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/,"$1.$2.$3").replace(/^(\d{3})\.(\d{3})\.(\d{3})(\d)/,"$1.$2.$3-$4")}}const Wi=["en-US","es-ES","pt-BR"],Yi=(e,n)=>{const o=e.toLowerCase(),r=n.find(a=>a.toLowerCase()===o);if(r)return r;const i=o.split("-")[0];return n.find(a=>{const s=a.toLowerCase();return s===i||s.startsWith(`${i}-`)})},Dl=e=>{if(!e?.length)return["pt-BR"];const n=e.map(o=>Yi(o,Wi)).filter(o=>!!o);return n.length?[...new Set(n)]:["pt-BR"]},Bl=e=>typeof navigator<"u"&&navigator.language?navigator.language:"pt-BR",jl=(e,n)=>{const o=Dl(e);if(o.length===1)return o[0];const r=Yi(Bl(),o);if(r)return r;for(const i of Wi)if(o.includes(i))return i;return o[0]??"pt-BR"};function Zi(){return{}}const Ln=e=>e.from==="system"||e.from==="operator"||e.from==="contact"?e.from:e.provider?e.provider==="opens"?"operator":"contact":"system",Dn=e=>{const n=e.attachments?.data;return Array.isArray(n)?n:[]},Se=e=>Dn(e)[0],Qi=e=>typeof e.caption=="string"?e.caption.trim():"",Pl=e=>e.messageBody?.trim()??"",_l=e=>{if(!e)return"";const n=e instanceof Date?e:new Date(e);return Number.isNaN(n.getTime())?"":n.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"})},Ji=e=>e.type==="document"&&e.filename.toLowerCase().endsWith(".pdf"),Ol=(e,n)=>{const o=n.metadata&&typeof n.metadata=="object"?n.metadata:null,r=e.selectedValue||(typeof o?.selectedValue=="string"?o.selectedValue:void 0),i=e.selectedOption||(typeof o?.selectedOption=="string"?o.selectedOption:void 0),a=e.selectedAt||(typeof o?.selectedAt=="string"?o.selectedAt:void 0);return{selectedValue:r,selectedOption:i,selectedAt:a}},Qt=e=>{const n=e.messageBody;if(!n)return null;try{const o=typeof n=="string"?JSON.parse(n):n;if(!o||!Array.isArray(o.menu))return null;const{selectedValue:r,selectedOption:i,selectedAt:a}=Ol(o,e),d=!!(r||i)||e.canBeInteractedWith===!1;return{description:o.description||"",selectedOption:i,selectedValue:r,selectedAt:a,menu:o.menu.map(l=>{const u=!!(r&&l.value===r||i&&l.label===i);return{...l,selected:u,disabled:d?!0:!!l.disabled}})}}catch{return null}},zl=(e,n)=>{if(!e||!n)return!1;const o=new Date(e),r=new Date(n);return Number.isNaN(o.getTime())||Number.isNaN(r.getTime())?!1:Math.floor(o.getTime()/6e4)===Math.floor(r.getTime()/6e4)},Rl=e=>!!(e&&e.messageType==="image"&&!Qi(e)),Fl=(e=[])=>{if(!e.length)return[];const n=[];let o=[];const r=()=>{if(o.length){if(o.length===1)n.push(o[0]);else{const i=o[0];n.push({id:typeof i.id=="number"?i.id:void 0,provider:i.provider,recipientId:i.recipientId,from:i.from,messageType:"_grouped_images",messageBody:"",createdAt:i.createdAt,canBeInteractedWith:!1,messages:[...o]})}o=[]}};for(const i of e){if(!Rl(i)){r(),n.push(i);continue}if(!o.length){o.push(i);continue}const a=o[o.length-1];if(a.from===i.from&&zl(a.createdAt,i.createdAt)){o.push(i);continue}r(),o.push(i)}return r(),n},Vl=e=>e?.data?.length?{data:e.data.map(n=>({...n}))}:null,Hl=e=>e?.map(n=>wo(n)),wo=e=>({...e,from:Ln(e),caption:e.caption??null,attachments:Vl(e.attachments),...e.messages?{messages:Hl(e.messages)}:{}});class et{payload;constructor(n){this.payload=wo(n)}static fromJSON(n){return new et(n)}static toJSON(n){return wo(n.payload)}toJSON(){return et.toJSON(this)}get from(){return Ln(this.payload)}get isSystemLike(){return this.from==="system"}get attachments(){return Dn(this.payload)}get primaryAttachment(){return Se(this.payload)}}const Ul=["canBeInteractedWith","recipientId","chatRoomId","companyId","createdAt","provider","metadata","id"],Gl=e=>{const n={};for(const o of Ul)e[o]!==void 0&&(n[o]=e[o]);return n},Vr=(e,n="")=>typeof e=="string"?e:e==null?n:String(e);class Uo{payload={messageType:"text",messageBody:""};constructor(){}static create(){return new Uo}withRaw(n){const o=typeof n.caption=="string"||n.caption===null?n.caption:n.caption===void 0?void 0:null;return this.payload={...this.payload,...Gl(n),messageType:Vr(n.messageType,"text")||"text",messageBody:Vr(n.messageBody),...o!==void 0?{caption:o}:{}},this}withAttachments(n){return this.payload.attachments=n.length?{data:n.map(o=>({...o}))}:null,this}build(){return et.fromJSON({...this.payload,messageType:this.payload.messageType||"text",messageBody:this.payload.messageBody??"",attachments:this.payload.attachments??null})}}const Qn=t.ref([]),Jn=t.ref([]),Wl=t.ref(""),Yl=t.shallowRef([]),Zl=t.shallowRef(null),Ql=t.ref(!1),Jl=t.ref(!1),Kl=t.ref(!1),Xl=t.ref(!1),ql=t.ref(!1),_t=e=>et.fromJSON(e).toJSON();function Ki(){const e=a=>{Qn.value.push(_t(a))},n=a=>{Qn.value=a.map(_t)};return{unreadMessagesCount:t.computed(()=>Jn.value.length),isSendingMessage:Ql,isErrorLoading:Jl,attachments:Yl,isFinished:Kl,isLoading:Xl,messages:Qn,isTyping:ql,audio:Zl,text:Wl,setUnreadMessages:a=>{Jn.value=a.map(_t)},addUnreadMessage:a=>{Jn.value.push(_t(a))},setMessages:n,addMessage:e}}function Xi(){const e=Ki(),n=Zi();return{chat:e,voice:n}}const Kn=t.ref(!1),dt=t.ref([]),Xn=t.ref(void 0),Me=t.ref(void 0),qn=t.ref(void 0),$o=t.ref(void 0),qi=e=>!!(e?.logo?.trim()||ne(e?.title,"pt-BR").trim()||ne(e?.subtitle,"pt-BR").trim()),Hr=e=>{!e||!qi(e)||($o.value={...e})},je=()=>{const e=$=>{const y=new Set(Object.values($.edges??{}).flatMap(x=>x.map(N=>N.nextRuleId)));return $.rules.find(x=>!y.has(x.id))??$.rules[0]},n=($,y)=>{const x=new Map($.rules.map(N=>[N.id,N]));return($.edges[y]??[]).flatMap(N=>{const I=x.get(N.nextRuleId);return I?[I]:[]})},o=t.computed(()=>new Map((Me.value?.rules??[]).map($=>[$.id,$]))),r=t.computed(()=>Me.value?e(Me.value):void 0),i=t.computed(()=>{const $=Xn.value;return $&&o.value.get($)||r.value}),a=t.computed(()=>!Me.value||!i.value?[]:n(Me.value,i.value.id)),s=t.computed(()=>{const $=i.value?.settings?.header;return qi($)?$:$o.value}),d=t.computed(()=>{const $=qn.value?.configurations.general;return Array.isArray($?.languages)&&$.languages.length>0?[...$.languages]:$?.language?[$.language]:["pt-BR"]}),l=t.computed(()=>jl(d.value)),u=Xi();return{currentRuleId:Xn,currentHeader:s,currentRule:i,rootRule:r,workflow:Me,languages:d,language:l,history:dt,isOpen:Kn,config:qn,edges:a,open:()=>{Kn.value=!0},close:()=>{Kn.value=!1},setCurrentRuleId:$=>{Xn.value=$,Hr(i.value?.settings?.header)},clearHistory:()=>{dt.value=[]},setWorkflow:$=>{Me.value?.id!==$?.id&&($o.value=void 0),Me.value=$,Hr(i.value?.settings?.header)},setConfig:$=>{qn.value=$},pushHistory:$=>{dt.value.push($)},setHistory:$=>{dt.value=[...$]},popHistory:()=>dt.value.pop(),...u}},eu=14,tu=20,yo=e=>!!e?.trim(),Ur=(e,n)=>yo(n)?!Gi(e.name,n??""):!e.required,nu=e=>{const n=e.filter(r=>Zt(r.name)),o=e.filter(r=>!Zt(r.name));return[...n,...o]};function ou(e,n){const{maskPhone:o,maskCpf:r}=Ll(),{history:i,language:a}=je(),s=t.ref(0),d=t.ref("forward"),l=t.ref(null),u=t.computed(()=>a.value),p=t.computed(()=>Sn(u.value)),c=t.computed(()=>{const L=t.toValue(e),P=L.settings?.form&&L.settings.form.fields||[];return nu(P)}),f=t.reactive(Object.fromEntries(c.value.map(L=>[L.name,""]))),m=t.computed(()=>c.value[s.value]),g=t.computed(()=>s.value>=c.value.length-1),h=t.computed(()=>i.value.length>0||s.value>0),w=t.computed(()=>d.value==="back"?"step-back":"step-forward"),v=async()=>{await t.nextTick();const L=l.value;if(!L)return;const P=L.querySelector(".is-active input")??L.querySelector("input");P&&(P.focus({preventScroll:!0}),P.select())};t.watch(s,()=>{v()}),t.onMounted(()=>{v()});const b=t.computed(()=>c.value.every(L=>Ur(L,f[L.name]))),$=L=>{const P=f[L.name]??"";return L.required&&!yo(P)?!0:Gi(L.name,P)},y=L=>{const P=f[L.name]??"";return L.required&&!yo(P)?p.value.requiredField:Sl(L.name,P,u.value)},x=L=>{const P=c.value[L];return P?Ur(P,f[P.name])?L>=c.value.length-1?b.value:!0:!1:b.value},N=t.computed(()=>x(s.value)),I=t.computed(()=>{const L=c.value.find(P=>Zt(P.name));return L?f[L.name]?.trim().split(/\s+/)[0]??"":""}),M=L=>{const P=c.value[L],jt=I.value,pe=p.value,rt=c.value.length?pe.step(L+1,c.value.length):"",$e=t.toValue(e),Ue=L>=c.value.length-1,it=u.value;if(!P)return{eyebrow:rt,title:ne($e.settings?.body?.title,it)||$e.name||"",subtitle:ne($e.settings?.body?.subtitle,it)};if(Zt(P.name))return{eyebrow:rt,title:pe.nameTitle,subtitle:pe.nameSubtitle};const Ge=Rr(P.name,it)??P.label??P.name,Vn=Ue?pe.almostThere(jt||void 0):pe.hello(jt||void 0),at=P.required?pe.requiredFieldSubtitle(Ge):pe.optionalFieldSubtitle(Ge);return{eyebrow:rt,title:Vn,subtitle:at}},C=t.computed(()=>M(s.value)),T=L=>{const P=Ce(L);return P==="email"?"email":P==="phone"?"tel":"text"},B=L=>{const P=Ce(L);return P==="email"?"email":P==="phone"?"call":P==="name"?"person":P==="order"?"receipt":"badge"},F=L=>{const P=Rr(L.name,u.value)??L.label??L.name;return L.required?`${P} *`:P},H=L=>Al(L.name,u.value)??L.placeholder??"",O=L=>{const P=Ce(L);if(P==="phone")return o;if(P==="cpf")return r},Y=L=>{const P=Ce(L);if(P==="cpf")return eu;if(P==="phone")return tu},G=t.computed(()=>g.value?p.value.finish:p.value.continue),Q=t.computed(()=>p.value.back),Z=L=>L>=c.value.length-1?p.value.finish:p.value.continue,J=()=>{b.value&&n("submit",{...f})};return{stepTransition:w,currentField:m,canContinue:N,currentStep:s,isLastStep:g,stepIntro:C,fieldHost:l,showBack:h,fields:c,form:f,continueStep:()=>{if(N.value){if(g.value||c.value.length===0)return J();d.value="forward",s.value+=1}},canContinueAt:x,introFor:M,fieldLabel:F,fieldPlaceholder:H,fieldType:T,fieldMask:O,fieldMaxLength:Y,fieldIcon:B,isFieldInvalid:$,fieldFeedback:y,continueLabel:G,backLabel:Q,actionLabelAt:Z,goBack:()=>{if(s.value>0){d.value="back",s.value-=1;return}n("back")}}}function ea(e){const n=t.computed(()=>e.small?"!wu-h-8 !wu-min-h-[2rem]":"!wu-h-12 !wu-min-h-[3rem]"),o=t.computed(()=>"!wu-text-xs"),r=t.computed(()=>e.fluid?"!wu-w-full":"wu-w-fit");return{height:n,textSize:o,width:r}}function ru(e,n){const o=t.computed(()=>({"!wu-font-plus":n.plus,"!wu-font-inter":n.inter,"!wu-font-titillium":n.titillium,"!wu-font-mono":n.mono})),r=t.computed(()=>({"!wu-text-white":n.white,"!wu-text-primary":n.primary,"!wu-text-secondary":n.secondary,"!wu-text-base":n.neutral,"!wu-text-neutral dark:!wu-text-neutral-200":n.gray})),i=t.computed(()=>({"!wu-font-thin":n.thin,"!wu-font-extralight":n.extralight,"!wu-font-light":n.light,"!wu-font-normal":n.normal,"!wu-font-medium":n.medium,"!wu-font-semibold":n.semibold,"!wu-font-bold":n.bold,"!wu-font-extrabold":n.extrabold,"!wu-font-black":n.black})),a=t.computed(()=>({...{title:{"!wu-text-xl":n.small,"!wu-text-2xl":n.base,"!wu-text-3xl":n.large,"!wu-text-4xl":n.extraLarge},subtitle:{"!wu-text-sm":n.small,"!wu-text-md":n.base,"!wu-text-xl":n.large},text:{"!wu-text-xxs":n.extraSmall,"!wu-text-xs":n.small,"!wu-text-sm":n.base,"!wu-text-lg":n.large,"!wu-text-2xl":n.extraLarge}}[e]}));return{fontClass:o,colorClass:r,weightClass:i,sizeClass:a}}const iu=t.defineComponent({__name:"app-text",props:{extraSmall:{type:Boolean},inter:{type:Boolean},plus:{type:Boolean},titillium:{type:Boolean},mono:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extraLarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean},white:{type:Boolean}},setup(e){const n=e,{fontClass:o,colorClass:r,weightClass:i,sizeClass:a}=ru("text",n);return(s,d)=>(t.openBlock(),t.createElementBlock("p",{class:t.normalizeClass(["wu-font-primary wu-text-sm wu-font-normal wu-text-gray-900 dark:wu-text-neutral-100",[t.unref(o),t.unref(r),t.unref(i),t.unref(a)]])},[t.renderSlot(s.$slots,"default",{},void 0,!0)],2))}}),ot=(e,n)=>{const o=e.__vccOpts||e;for(const[r,i]of n)o[r]=i;return o},D=ot(iu,[["__scopeId","data-v-5fc0fe9d"]]),z=t.defineComponent({__name:"app-group",props:{fit:{type:Boolean},full:{type:Boolean},row:{type:Boolean},col:{type:Boolean},gapNone:{type:Boolean},gapXs:{type:Boolean},gapBase:{type:Boolean},gapSm:{type:Boolean},gapMd:{type:Boolean},gapLg:{type:Boolean},wrap:{type:Boolean},paddingNone:{type:Boolean},paddingBase:{type:Boolean},paddingXs:{type:Boolean},paddingSm:{type:Boolean},paddingMd:{type:Boolean},paddingLg:{type:Boolean},center:{type:Boolean},justifyEnd:{type:Boolean},centerBetween:{type:Boolean},border:{type:Boolean},borderPrimary:{type:Boolean},rounded:{type:Boolean},roundedTop:{type:Boolean},roundedBottom:{type:Boolean},bgPrimary:{type:Boolean},bgWhite:{type:Boolean},divisor:{type:Boolean}},setup(e){const n=e,o=t.computed(()=>n.fit?"wu-w-fit wu-h-fit":n.full?"wu-w-full wu-h-full":""),r=t.computed(()=>n.justifyEnd?"wu-items-end wu-justify-end":n.center?"wu-items-center wu-justify-center":n.centerBetween?"wu-items-center wu-justify-between":""),i=t.computed(()=>n.row?"wu-flex-row":n.col?"wu-flex-col":"wu-flex-row"),a=t.computed(()=>n.gapBase?"wu-gap-4":n.gapXs?"wu-gap-1":n.gapSm?"wu-gap-2":n.gapMd?"wu-gap-6":n.gapLg?"wu-gap-8":n.gapNone?"wu-gap-0":"wu-gap-4"),s=t.computed(()=>n.wrap?"wu-flex-wrap":""),d=t.computed(()=>n.paddingXs?"wu-p-1":n.paddingSm?"wu-p-2":n.paddingBase?"wu-p-4":n.paddingMd?"wu-p-6":n.paddingLg?"wu-p-8":""),l=t.computed(()=>n.border?"wu-border":n.borderPrimary?"wu-border wu-border-primary":""),u=t.computed(()=>n.rounded?"wu-rounded-lg":n.roundedTop?"wu-rounded-t-md":n.roundedBottom?"wu-rounded-b-md":""),p=t.computed(()=>n.bgPrimary?"wu-bg-primary":n.bgWhite?"wu-bg-white":""),c=t.computed(()=>n.divisor&&n.col?"wu-divide-y":n.divisor&&n.row?"wu-divide-x":""),f=t.computed(()=>[i.value,a.value,s.value,d.value,r.value,l.value,u.value,p.value,o.value,c.value]);return(m,g)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-flex",f.value])},[t.renderSlot(m.$slots,"default")],2))}}),au={class:"wu-flex wu-flex-col wu-items-stretch wu-w-full wu-cursor-text wu-gap-1","data-testid":"app-form-text-input"},su=["value","type","placeholder","disabled","maxlength","aria-invalid"],Go=t.defineComponent({__name:"app-form-text-input",props:{modelValue:{default:""},type:{default:"text"},placeholder:{},maxLength:{},disabled:{type:Boolean},invalid:{type:Boolean},valid:{type:Boolean},fluid:{type:Boolean},maskFunction:{}},emits:["update:modelValue","keyup-enter"],setup(e,{expose:n,emit:o}){const r=e,i=o,a=t.computed(()=>t.useSlots());function s(w){return!!a.value[w]}const d=t.ref(""),l=t.ref(!1);function u(w){if(!r.maskFunction)return w;try{const v=r.maskFunction(w);return typeof v=="string"?v:w}catch{return w}}t.watch(()=>r.modelValue,w=>{if(w==null){d.value="";return}d.value=r.maskFunction?u(w):w},{immediate:!0});const{width:p}=ea(r),c=t.computed(()=>r.invalid?"wu-text-red-500":r.valid?"wu-text-green-500":""),f=t.computed(()=>r.invalid?"wu-text-red-600 placeholder:wu-text-red-300 placeholder:wu-font-medium":r.valid?"wu-text-green-700 placeholder:wu-font-medium":"wu-text-gray-900 placeholder:wu-text-gray-400 placeholder:wu-font-medium dark:wu-text-neutral-100 dark:placeholder:wu-text-neutral-500"),m=t.computed(()=>r.invalid?"wu-text-red-500":r.valid?"wu-text-green-500":"wu-text-gray-500"),g=t.computed(()=>r.disabled?"wu-opacity-50 wu-pointer-events-none":"");function h(w){const v=w.target,b=r.maskFunction?u(v.value):v.value;d.value=b,v.value!==b&&(v.value=b),i("update:modelValue",d.value)}return n({focus:l,content:d}),(w,v)=>(t.openBlock(),t.createBlock(z,{class:t.normalizeClass([t.unref(p),g.value]),col:"","gap-none":""},{default:t.withCtx(()=>[t.createElementVNode("label",au,[s("default")?(t.openBlock(),t.createBlock(D,{key:0,small:"",gray:"",class:t.normalizeClass([c.value])},{default:t.withCtx(()=>[t.renderSlot(w.$slots,"default")]),_:3},8,["class"])):t.createCommentVNode("",!0),t.createElementVNode("input",{class:t.normalizeClass(["wu-w-full wu-bg-transparent wu-border-0 wu-outline-none wu-p-0 wu-m-0 wu-appearance-none wu-font-primary wu-text-2xl wu-leading-tight wu-caret-gray-900 dark:wu-caret-white",[f.value]]),value:d.value,type:e.type,placeholder:e.placeholder,disabled:e.disabled,maxlength:e.maxLength,"aria-invalid":e.invalid?!0:void 0,onInput:h,onFocus:v[0]||(v[0]=b=>l.value=!0),onBlur:v[1]||(v[1]=b=>l.value=!1),onKeyup:v[2]||(v[2]=t.withKeys(b=>i("keyup-enter"),["enter"]))},null,42,su)]),s("feedback")?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["wu-mt-1",[m.value]])},[t.renderSlot(w.$slots,"feedback")],2)):t.createCommentVNode("",!0)]),_:3},8,["class"]))}});function du(e){const n=t.computed(()=>e.fit?"wu-h-auto wu-min-h-0":e.small?"!wu-h-8 !wu-min-h-[2rem]":""),o=t.computed(()=>"!wu-text-xs"),r=t.computed(()=>e.fit?"wu-px-3 wu-py-2":e.small?"wu-px-[0.625rem]":"wu-p-[0.9rem]"),i=t.computed(()=>e.fluid?"!wu-w-full":e.fit?"wu-w-fit wu-max-w-full":"wu-w-fit");return{height:n,textSize:o,padding:r,width:i}}const S=t.defineComponent({__name:"app-icon",props:{small:Boolean,large:Boolean,extraLarge:Boolean,gray:Boolean,base:Boolean,light:Boolean,dark:Boolean,outlined:Boolean},setup(e){const n=e,o=t.computed(()=>n.small?"!wu-text-xs wu-w-4 wu-h-4":n.large?"!wu-text-xl wu-w-8 wu-h-8":n.extraLarge?"!wu-text-4xl wu-w-10 wu-h-10":"!wu-text-base wu-w-6 wu-h-6"),r=t.computed(()=>n.dark?"wu-text-neutral-800 dark:wu-text-white":n.light?"wu-text-white dark:wu-text-neutral-800":n.gray?"wu-text-gray-500 dark:wu-text-neutral-400":""),i=t.computed(()=>n.outlined?"material-symbols-outlined":"wu-material-icons");return(a,s)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["notranslate wu-flex wu-items-center wu-justify-center wu-text-center",[o.value,r.value,i.value]]),"data-testid":"app-icon"},[t.renderSlot(a.$slots,"default")],2))}}),lu=["disabled"],uu={class:"wu-flex wu-items-center wu-justify-center wu-gap-2"},U=t.defineComponent({__name:"app-button",props:{small:Boolean,soft:Boolean,outline:Boolean,ghost:Boolean,link:Boolean,round:Boolean,icon:Boolean,fluid:Boolean,fit:Boolean,disabled:Boolean,loading:Boolean,alert:Boolean,warning:Boolean,success:Boolean,block:Boolean},emits:["click"],setup(e){const n=e,o=t.computed(()=>t.useSlots());function r(g){return!!o.value[g]}const{height:i,textSize:a,padding:s,width:d}=du(n),l=t.computed(()=>n.soft?"wu-bg-[var(--wu-action-50)] !wu-text-[var(--wu-action)]":n.alert?"wu-bg-red-500 !wu-text-white":n.warning?"wu-bg-amber-500 !wu-text-white":n.success?"wu-bg-green-500 !wu-text-white":n.outline?"wu-bg-transparent !wu-border-gray-200 hover:!wu-bg-gray-100 hover:!wu-border-gray-300 dark:!wu-border-neutral-600 dark:hover:!wu-bg-neutral-700 dark:hover:!wu-border-neutral-500 dark:!wu-text-neutral-100":n.ghost?"wu-bg-transparent !wu-text-gray-700 hover:!wu-bg-gray-100 dark:!wu-text-neutral-200 dark:hover:!wu-bg-neutral-700":n.link?"wu-bg-transparent !wu-text-blue-600 hover:wu-underline":"wu-bg-[var(--wu-action)] !wu-text-[var(--wu-action-fg)]"),u=t.computed(()=>n.block?"wu-rounded-none":n.round?"wu-rounded-full":"wu-rounded-lg"),p=t.computed(()=>n.icon&&n.small?"!wu-w-8 !wu-h-8 wu-p-0":n.icon?"!wu-w-11 !wu-h-11 wu-p-0":s.value),c=t.computed(()=>n.icon?"wu-justify-center":n.fit?"wu-justify-start wu-text-left":"wu-justify-between"),f=t.computed(()=>n.fit?"wu-leading-snug [overflow-wrap:anywhere]":""),m=t.computed(()=>n.disabled||n.loading?"wu-opacity-50 wu-pointer-events-none":"");return(g,h)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["wu-inline-flex wu-items-center wu-gap-2 wu-cursor-pointer wu-transition-all wu-border wu-border-transparent disabled:wu-opacity-50 disabled:wu-pointer-events-none hover:wu-opacity-80 focus:wu-outline-hidden focus:wu-opacity-80",[t.unref(a),l.value,u.value,t.unref(d),t.unref(i),m.value,p.value,c.value,f.value]]),type:"button",disabled:e.disabled||e.loading,"data-testid":"app-button",onClick:h[0]||(h[0]=w=>g.$emit("click",w))},[t.createElementVNode("div",uu,[e.loading?(t.openBlock(),t.createBlock(S,{key:0,class:"wu-animate-spin wu-flex wu-items-center wu-justify-center",small:"",outlined:""},{default:t.withCtx(()=>[...h[1]||(h[1]=[t.createTextVNode("progress_activity",-1)])]),_:1})):r("icon")?(t.openBlock(),t.createBlock(S,{key:1,small:""},{default:t.withCtx(()=>[t.renderSlot(g.$slots,"icon")]),_:3})):t.createCommentVNode("",!0),!e.loading&&r("default")?(t.openBlock(),t.createBlock(D,{key:2,class:"!wu-text-inherit",small:""},{default:t.withCtx(()=>[t.renderSlot(g.$slots,"default")]),_:3})):t.createCommentVNode("",!0)]),!e.loading&&r("trailing")?(t.openBlock(),t.createBlock(S,{key:0,small:""},{default:t.withCtx(()=>[t.renderSlot(g.$slots,"trailing")]),_:3})):t.createCommentVNode("",!0)],10,lu))}}),cu=["aria-hidden"],pu=t.defineComponent({__name:"app-carousel",props:{modelValue:{default:0},vertical:{type:Boolean},fill:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:n,emit:o}){const r=e,i=o,a=t.useSlots(),s=t.ref(null),d=t.ref(null),l=t.ref(0),u=t.ref(0),p=t.ref(!1);let c=null;const f=t.computed(()=>Math.max(r.modelValue,0)),m=()=>(a.default?.()??[]).flatMap(M=>M.type===t.Comment||M.type===t.Text?[]:M.type===t.Fragment?(M.children??[]).filter(C=>!!C&&typeof C=="object"&&C.type!==t.Comment&&C.type!==t.Text):[M]),g=M=>{const C=Math.abs(M-f.value);return C===0?"is-active":C===1?"is-adjacent":"is-far"},h=M=>{const C=d.value?.childElementCount||m().length,T=Math.min(Math.max(M,0),Math.max(C-1,0));T!==r.modelValue&&i("update:modelValue",T)},w=()=>{const M=s.value;M&&(M.scrollLeft&&(M.scrollLeft=0),M.scrollTop&&(M.scrollTop=0))},v=(M,C)=>{const T=getComputedStyle(M)[C].trim(),B=parseFloat(T);if(!Number.isFinite(B)||B<=0)return 0;if(T.endsWith("%")){const F=C==="scrollPaddingTop"?M.clientHeight:M.clientWidth;return B/100*F}return B},b=()=>{const M=s.value,C=d.value;if(!M||!C)return;w();const T=[...C.children],B=parseFloat(getComputedStyle(C).gap)||0,F=r.vertical?"scrollPaddingTop":"scrollPaddingLeft",H=v(M,F),O=Z=>r.vertical?Z.offsetHeight:Z.offsetWidth,Y=T[f.value]?O(T[f.value]):0,G=r.vertical&&r.fill?Math.max((M.clientHeight-Y)/2,0):H,Q=T.slice(0,f.value).reduce((Z,J)=>Z+O(J)+B,0);l.value=G-Q,u.value=r.vertical&&!r.fill?Y+H*2:0,p.value=!0},$=()=>{c?.disconnect();const M=s.value,C=d.value;if(!(!M||!C)&&(b(),!(typeof ResizeObserver>"u"))){if(c=new ResizeObserver(b),c.observe(M),r.vertical)for(const T of C.children)c.observe(T);M.removeEventListener("scroll",w),M.addEventListener("scroll",w,{passive:!0})}},y=t.computed(()=>[r.vertical?"wu-carousel--vertical":"wu-carousel--horizontal",{"is-ready":p.value,"wu-carousel--fill":r.fill}]),x=t.computed(()=>r.vertical?"wu-flex-col wu-items-stretch":"wu-flex-row wu-items-center"),N=t.computed(()=>{if(!(!r.vertical||r.fill||!u.value))return{height:`${u.value}px`}}),I=t.computed(()=>{const M=`${l.value}px`;return{transform:r.vertical?`translate3d(0, ${M}, 0)`:`translate3d(${M}, 0, 0)`}});return t.watch(()=>[r.vertical,r.fill,r.modelValue],async()=>{await t.nextTick(),$()}),t.onMounted(async()=>{await t.nextTick(),$()}),t.onBeforeUnmount(()=>{c?.disconnect(),s.value?.removeEventListener("scroll",w)}),n({next:()=>h(f.value+1),prev:()=>h(f.value-1),goTo:h}),(M,C)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-relative wu-w-full wu-overflow-hidden",y.value]),ref_key:"rootRef",ref:s,"data-testid":"app-carousel",style:t.normalizeStyle(N.value)},[t.createElementVNode("div",{class:t.normalizeClass(["wu-carousel-track wu-flex",x.value]),ref_key:"trackRef",ref:d,style:t.normalizeStyle(I.value)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m(),(T,B)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-carousel-slide",g(B)]),key:T.key??B,"aria-hidden":B!==f.value,"data-testid":"app-carousel-slide"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(T)))],10,cu))),128))],6)],6))}}),Bn=ot(pu,[["__scopeId","data-v-96f06600"]]),fu={class:"wu-flex wu-flex-col wu-w-full wu-h-full"},mu={class:"wu-relative wu-flex wu-items-center wu-w-full wu-shrink-0"},gu={class:"wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4"},hu={class:"wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-pointer-events-none"},wu={class:"wu-flex wu-items-center wu-gap-1.5"},Wo=t.defineComponent({__name:"app-identification-page",props:{rule:{},edges:{}},emits:["submit","back"],setup(e,{emit:n}){const o=e,r=n,{currentStep:i,fieldHost:a,showBack:s,fields:d,form:l,continueStep:u,canContinueAt:p,introFor:c,fieldLabel:f,fieldPlaceholder:m,fieldType:g,fieldMask:h,fieldMaxLength:w,isFieldInvalid:v,fieldFeedback:b,backLabel:$,actionLabelAt:y,goBack:x}=ou(()=>o.rule,r);return(N,I)=>(t.openBlock(),t.createElementBlock("div",fu,[t.createElementVNode("div",mu,[t.createElementVNode("div",gu,[t.createElementVNode("div",{class:t.normalizeClass(["wu-flex wu-items-center wu-w-fit wu-justify-center wu-cursor-pointer wu-group",{"wu-invisible wu-pointer-events-none":!t.unref(s)}]),onClick:I[0]||(I[0]=(...M)=>t.unref(x)&&t.unref(x)(...M))},[t.createVNode(S,{class:"wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200",small:"",gray:""},{default:t.withCtx(()=>[...I[2]||(I[2]=[t.createTextVNode("chevron_left",-1)])]),_:1}),t.createVNode(D,{class:"wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200","extra-small":"",medium:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref($)),1)]),_:1})],2)]),t.createElementVNode("div",hu,[t.createElementVNode("div",wu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(d),(M,C)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-h-1 wu-w-6 wu-rounded-full wu-transition-colors",C<=t.unref(i)?"wu-bg-gray-900 dark:wu-bg-white":"wu-bg-gray-200 dark:wu-bg-neutral-600"]),key:C},null,2))),128))])])]),t.createElementVNode("div",{class:"wu-flex-1 wu-min-h-0 wu-w-full wu-px-6 wu-pb-12",ref_key:"fieldHost",ref:a},[t.createVNode(Bn,{class:"wu-w-full wu-h-full",modelValue:t.unref(i),"onUpdate:modelValue":I[1]||(I[1]=M=>t.isRef(i)?i.value=M:null),vertical:"",fill:""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(d),(M,C)=>(t.openBlock(),t.createBlock(z,{class:"wu-w-full wu-gap-8",key:M.name,col:"",center:""},{default:t.withCtx(()=>[t.createVNode(z,{class:"wu-w-full wu-relative wu-pr-6",col:"","gap-sm":""},{default:t.withCtx(()=>[t.unref(c)(C).title?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-text-left","extra-large":"",semibold:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(c)(C).title),1)]),_:2},1024)):t.createCommentVNode("",!0),t.unref(c)(C).subtitle?(t.openBlock(),t.createBlock(D,{key:1,class:"wu-text-left",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(c)(C).subtitle),1)]),_:2},1024)):t.createCommentVNode("",!0),t.createVNode(D,{class:"wu-opacity-50 wu-absolute -wu-top-2 wu-right-0",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(C+1),1)]),_:2},1024)]),_:2},1024),t.createVNode(z,{class:"wu-w-full wu-items-center",col:"","gap-md":""},{default:t.withCtx(()=>[t.createVNode(Go,{modelValue:t.unref(l)[M.name],"onUpdate:modelValue":T=>t.unref(l)[M.name]=T,"mask-function":t.unref(h)(M.name),"max-length":t.unref(w)(M.name),placeholder:t.unref(m)(M),type:t.unref(g)(M.name),invalid:t.unref(v)(M),onKeyupEnter:t.unref(u),fluid:""},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(f)(M)),1)]),_:2},[t.unref(b)(M)?{name:"feedback",fn:t.withCtx(()=>[t.createVNode(D,{small:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(b)(M)),1)]),_:2},1024)]),key:"0"}:void 0]),1032,["modelValue","onUpdate:modelValue","mask-function","max-length","placeholder","type","invalid","onKeyupEnter"]),t.createVNode(U,{fluid:"",disabled:!t.unref(p)(C),onClick:t.unref(u)},{trailing:t.withCtx(()=>[...I[3]||(I[3]=[t.createTextVNode("arrow_forward",-1)])]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(y)(C)),1)]),_:2},1032,["disabled","onClick"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modelValue"])],512)]))}}),$u=["disabled"],yu=["src"],Yo=t.defineComponent({__name:"app-widget-anchor",props:{small:Boolean,large:Boolean,logo:{type:String,default:""},label:{type:String,default:""},outline:Boolean,ghost:Boolean,disabled:Boolean,loading:Boolean},emits:["click"],setup(e){const n=e,o=t.computed(()=>!!n.label.trim()),r=t.computed(()=>n.outline?"wu-bg-transparent !wu-border-gray-200 hover:!wu-bg-gray-100 hover:!wu-border-gray-300":n.ghost?"wu-bg-transparent !wu-text-gray-700 hover:!wu-bg-gray-100":"wu-bg-primary !wu-text-[var(--wu-primary-fg)]"),i=t.computed(()=>o.value?n.small?"wu-h-12 wu-w-fit wu-px-3 wu-gap-2":n.large?"wu-h-16 wu-w-fit wu-px-5 wu-gap-3":"wu-h-14 wu-w-fit wu-px-4 wu-gap-2":n.small?"wu-w-12 wu-h-12 wu-p-0":n.large?"wu-w-16 wu-h-16 wu-p-0":"wu-w-14 wu-h-14 wu-p-0"),a=t.computed(()=>n.small?"wu-w-6 wu-h-6":n.large?"wu-w-8 wu-h-8":"wu-w-7 wu-h-7"),s=t.computed(()=>n.disabled||n.loading?"wu-opacity-50 wu-pointer-events-none":"");return(d,l)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["wu-rounded-full wu-inline-flex wu-items-center wu-justify-center wu-cursor-pointer wu-overflow-hidden wu-transition-all wu-border wu-border-transparent hover:wu-opacity-80 focus:wu-outline-hidden focus:wu-opacity-80 disabled:wu-opacity-50 disabled:wu-pointer-events-none",[i.value,r.value,s.value]]),type:"button","data-testid":"app-anchor",disabled:e.disabled||e.loading,onClick:l[0]||(l[0]=u=>d.$emit("click",u))},[e.loading?(t.openBlock(),t.createBlock(S,{key:0,class:"wu-animate-spin",outlined:"",large:!e.small&&!e.large,"extra-large":e.large},{default:t.withCtx(()=>[...l[1]||(l[1]=[t.createTextVNode("progress_activity",-1)])]),_:1},8,["large","extra-large"])):e.logo?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(["wu-object-contain wu-pointer-events-none wu-select-none wu-shrink-0",a.value]),src:e.logo,alt:"","data-testid":"app-anchor-logo"},null,10,yu)):t.createCommentVNode("",!0),o.value?(t.openBlock(),t.createBlock(D,{key:2,class:"!wu-text-inherit wu-whitespace-nowrap",small:!e.large,"data-testid":"app-anchor-label"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.label),1)]),_:1},8,["small"])):t.createCommentVNode("",!0)],10,$u))}}),vu="widgets",bu={"widget-identification-screen":"assignment","widget-base-screen":"desktop_windows","widget-article-screen":"description","widget-service-screen":"chat"},Gr={chat:"chat",voice:"phone_in_talk"},xu=e=>{if(e.action==="widget-service-screen"){const n=e.settings?.behavior;if(n&&n in Gr)return Gr[n]}return bu[e.action]??vu},Cu={key:0,class:"wu-flex wu-flex-col wu-items-center wu-gap-2","data-testid":"app-edge"},Nu=["src"],ku={key:1,class:"wu-w-full wu-max-w-[25rem]","data-testid":"app-edge"},Mu=["src"],Wr="!wu-text-[var(--wu-action-ink)]",tt=t.defineComponent({__name:"app-edge",props:{edge:{},icon:{type:Boolean}},emits:["click"],setup(e,{emit:n}){const o=e,r=n,{language:i}=je(),a=t.computed(()=>o.edge.settings?.header?.logo),s=t.computed(()=>xu(o.edge)),d=t.computed(()=>ne(o.edge.settings?.label,i.value).trim());return(l,u)=>e.icon?(t.openBlock(),t.createElementBlock("div",Cu,[t.createVNode(U,{outline:"",icon:"",onClick:u[0]||(u[0]=p=>r("click",e.edge))},{icon:t.withCtx(()=>[a.value?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-5 wu-h-5 wu-object-contain",src:a.value,alt:""},null,8,Nu)):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(Wr)},t.toDisplayString(s.value),1))]),_:1}),t.createVNode(D,{class:"wu-w-20 wu-text-center wu-leading-3 wu-line-clamp-2","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value),1)]),_:1})])):(t.openBlock(),t.createElementBlock("div",ku,[t.createVNode(U,{class:"hover:wu-translate-x-1",outline:"",fluid:"",onClick:u[1]||(u[1]=p=>r("click",e.edge))},{icon:t.withCtx(()=>[a.value?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-4 wu-h-4 wu-object-contain",src:a.value,alt:""},null,8,Mu)):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(Wr)},t.toDisplayString(s.value),1))]),trailing:t.withCtx(()=>[...u[2]||(u[2]=[t.createTextVNode("chevron_right",-1)])]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value),1)]),_:1})]))}}),Au={class:"wu-flex wu-flex-col wu-w-full wu-gap-8"},Iu={key:0,class:"wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0"},Tu=["innerHTML"],Eu={key:2,class:"wu-flex wu-flex-col wu-items-center wu-justify-start wu-gap-2 wu-px-6 wu-w-full"},Su=t.defineComponent({__name:"app-article-page",props:{rule:{},edges:{}},emits:["edge-click"],setup(e,{emit:n}){const o=e,r=n,{history:i,language:a}=je(),s=t.computed(()=>i.value.length>0),d=t.computed(()=>o.edges??[]),l=t.computed(()=>d.value.slice(0,3)),u=t.computed(()=>d.value.slice(3)),p=t.computed(()=>o.rule.settings?.body),c=t.computed(()=>ne(p.value?.content,a.value));return(f,m)=>(t.openBlock(),t.createElementBlock("div",Au,[s.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Iu)),c.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:"wu-px-6 wu-w-full wu-article-content wu-font-primary wu-text-neutral wu-overflow-x-auto dark:wu-text-neutral-200","data-testid":"app-article-content",innerHTML:c.value},null,8,Tu)):t.createCommentVNode("",!0),d.value.length?(t.openBlock(),t.createElementBlock("div",Eu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,g=>(t.openBlock(),t.createBlock(tt,{key:g.id,edge:g,onClick:m[0]||(m[0]=h=>r("edge-click",h))},null,8,["edge"]))),128)),u.value.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["wu-flex wu-items-start wu-overflow-x-auto wu-w-full invisible-scrollbar wu-pt-6",{"wu-justify-start":u.value.length>4,"wu-justify-center":u.value.length<=4}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.value,g=>(t.openBlock(),t.createBlock(tt,{key:g.id,edge:g,icon:"",onClick:m[1]||(m[1]=h=>r("edge-click",h))},null,8,["edge"]))),128))],2)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),m[2]||(m[2]=t.createElementVNode("div",{class:"wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0"},null,-1))]))}}),Zo=ot(Su,[["__scopeId","data-v-e558a3fb"]]),Lu=120,Du=()=>typeof MediaRecorder>"u"?"audio/webm":MediaRecorder.isTypeSupported("audio/webm;codecs=opus")?"audio/webm;codecs=opus":MediaRecorder.isTypeSupported("audio/webm")?"audio/webm":MediaRecorder.isTypeSupported("audio/mp4")?"audio/mp4":"audio/webm",Bu=e=>e.includes("mp4")?"m4a":"webm",Yr=e=>e.toString().padStart(2,"0");function ju(){const e=t.ref(!1),n=t.ref(0),o=t.ref(null);let r=null,i=null,a=[],s=null,d="audio/webm",l=!1,u=null;const p=t.computed(()=>{const b=Math.floor(n.value/60),$=n.value%60;return`${Yr(b)}:${Yr($)}`}),c=()=>{s&&(clearInterval(s),s=null)},f=()=>{i?.getTracks().forEach(b=>b.stop()),i=null},m=()=>{c(),f(),r=null,a=[],n.value=0,e.value=!1},g=()=>{if(!a.length)return null;const b=d.split(";")[0]||"audio/webm",$=new Blob(a,{type:b});return new File([$],`recording.${Bu(b)}`,{type:b})},h=async()=>{if(o.value=null,typeof navigator>"u"||!navigator.mediaDevices?.getUserMedia)return o.value="Gravação de áudio não é suportada neste navegador",!1;try{return i=await navigator.mediaDevices.getUserMedia({audio:!0}),d=Du(),a=[],r=new MediaRecorder(i,{mimeType:d}),r.ondataavailable=b=>{b.data.size>0&&a.push(b.data)},r.onstop=()=>{const b=l?null:g(),$=u;u=null,l=!1,m(),$?.(b)},r.start(),e.value=!0,n.value=0,s=setInterval(()=>{n.value+=1,n.value>=Lu&&w()},1e3),!0}catch{return m(),o.value="Não foi possível acessar o microfone",!1}},w=()=>!r||r.state==="inactive"?(m(),Promise.resolve(null)):(c(),e.value=!1,new Promise(b=>{u=b,r?.stop(),f()})),v=async()=>{l=!0,a=[],await w()};return t.onUnmounted(()=>{v()}),{formattedDuration:p,durationSeconds:n,isRecording:e,error:o,cancel:v,start:h,stop:w}}const Pu=["src","alt"],_u=["src"],Ou=["src"],zu=["title"],jn=t.defineComponent({__name:"app-media-preview",props:{open:{type:Boolean},items:{},index:{}},emits:["close","update:index"],setup(e,{emit:n}){const o=e,r=n,i=t.computed({get:()=>o.index??0,set:f=>r("update:index",f)}),a=t.computed(()=>i.value>0),s=t.computed(()=>i.value<o.items.length-1),d=t.computed(()=>o.items.length>1),l=()=>r("close"),u=()=>{a.value&&(i.value-=1)},p=()=>{s.value&&(i.value+=1)},c=f=>{o.open&&(f.key==="Escape"&&l(),f.key==="ArrowLeft"&&u(),f.key==="ArrowRight"&&p())};return t.watch(()=>o.open,f=>{f?window.addEventListener("keydown",c):window.removeEventListener("keydown",c)}),t.onBeforeUnmount(()=>{window.removeEventListener("keydown",c)}),(f,m)=>(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[e.open&&e.items.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:"wu-fixed wu-inset-0 wu-flex wu-items-center wu-justify-center wu-overflow-hidden wu-bg-black wu-bg-opacity-90 wu-z-[100000]","data-testid":"app-media-preview",onClick:l},[t.createElementVNode("button",{class:"wu-absolute wu-top-4 wu-right-4 wu-flex wu-items-center wu-justify-center wu-w-10 wu-h-10 wu-rounded-full wu-bg-black wu-bg-opacity-50 wu-border-0 wu-cursor-pointer",type:"button","data-testid":"app-media-preview-close",onClick:t.withModifiers(l,["stop"])},[t.createVNode(S,{light:""},{default:t.withCtx(()=>[...m[2]||(m[2]=[t.createTextVNode("close",-1)])]),_:1})]),d.value&&a.value?(t.openBlock(),t.createElementBlock("button",{key:0,class:"wu-absolute wu-left-4 wu-z-10 wu-flex wu-items-center wu-justify-center wu-w-10 wu-h-10 wu-rounded-full wu-bg-black wu-bg-opacity-50 wu-border-0 wu-cursor-pointer",type:"button","data-testid":"app-media-preview-prev",onClick:t.withModifiers(u,["stop"])},[t.createVNode(S,{light:""},{default:t.withCtx(()=>[...m[3]||(m[3]=[t.createTextVNode("chevron_left",-1)])]),_:1})])):t.createCommentVNode("",!0),d.value&&s.value?(t.openBlock(),t.createElementBlock("button",{key:1,class:"wu-absolute wu-right-4 wu-z-10 wu-flex wu-items-center wu-justify-center wu-w-10 wu-h-10 wu-rounded-full wu-bg-black wu-bg-opacity-50 wu-border-0 wu-cursor-pointer",type:"button","data-testid":"app-media-preview-next",onClick:t.withModifiers(p,["stop"])},[t.createVNode(S,{light:""},{default:t.withCtx(()=>[...m[4]||(m[4]=[t.createTextVNode("chevron_right",-1)])]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"wu-w-full wu-h-full wu-flex wu-items-center wu-justify-center",onClick:m[1]||(m[1]=t.withModifiers(()=>{},["stop"]))},[t.createVNode(Bn,{class:"wu-w-full",modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=g=>i.value=g)},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(g,h)=>(t.openBlock(),t.createElementBlock("div",{class:"wu-flex wu-flex-col wu-items-center wu-justify-center wu-gap-3",key:`${g.src}-${h}`},[g.type==="image"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-rounded wu-object-contain wu-w-full wu-max-h-[80vh]",src:g.src,alt:g.filename||"Imagem"},null,8,Pu)):g.type==="video"?(t.openBlock(),t.createElementBlock("video",{key:1,class:"wu-rounded wu-object-contain wu-w-full wu-max-h-[80vh]",src:g.src,controls:""},null,8,_u)):g.type==="pdf"?(t.openBlock(),t.createElementBlock("iframe",{key:2,class:"wu-bg-white wu-rounded wu-w-full wu-h-[85vh]",src:g.src,frameborder:"0"},null,8,Ou)):t.createCommentVNode("",!0),g.filename?(t.openBlock(),t.createElementBlock("p",{key:3,class:"wu-text-white wu-text-xs wu-opacity-75 wu-truncate wu-max-w-full",title:g.filename},t.toDisplayString(g.filename),9,zu)):t.createCommentVNode("",!0)]))),128))]),_:1},8,["modelValue"])])])):t.createCommentVNode("",!0)]))}}),Ru=["onClick"],Fu=["src","alt"],Vu={key:1,class:"wu-flex wu-items-center wu-justify-center wu-w-full wu-h-full"},Hu={key:2,class:"wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-bg-black wu-bg-opacity-50"},Uu={class:"wu-text-white wu-text-lg wu-font-semibold"},Gu=t.defineComponent({__name:"app-message-grouped-images",props:{message:{}},setup(e){const n=e,o=t.computed(()=>n.message.messages||[]),r=t.computed(()=>o.value.slice(0,4)),i=t.computed(()=>Math.max(0,o.value.length-4)),a=p=>Se(p)?.link||"",s=t.ref(!1),d=t.ref(0),l=t.computed(()=>{const p=[];for(const c of o.value){const f=Se(c);f?.link&&p.push({src:f.link,type:"image",filename:f.filename})}return p}),u=p=>{l.value.length&&(d.value=Math.min(p,l.value.length-1),s.value=!0)};return(p,c)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-grid wu-gap-1 wu-rounded wu-overflow-hidden wu-min-w-[12rem]",r.value.length===1?"wu-grid-cols-1":"wu-grid-cols-2"]),"data-testid":"app-message-grouped-images"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(f,m)=>(t.openBlock(),t.createElementBlock("div",{class:"wu-relative wu-aspect-square wu-bg-gray-100 wu-cursor-pointer dark:wu-bg-neutral-800",key:f.id??m,onClick:g=>u(m)},[a(f)?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-full wu-h-full wu-object-cover",src:a(f),alt:t.unref(Se)(f)?.filename||"Imagem"},null,8,Fu)):(t.openBlock(),t.createElementBlock("div",Vu,[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[...c[2]||(c[2]=[t.createTextVNode("image",-1)])]),_:1})])),m===r.value.length-1&&i.value>0?(t.openBlock(),t.createElementBlock("div",Hu,[t.createElementVNode("span",Uu,t.toDisplayString(`+${i.value}`),1)])):t.createCommentVNode("",!0)],8,Ru))),128)),t.createVNode(jn,{open:s.value,items:l.value,index:d.value,onClose:c[0]||(c[0]=f=>s.value=!1),"onUpdate:index":c[1]||(c[1]=f=>d.value=f)},null,8,["open","items","index"])],2))}}),Wu=["disabled"],Bt=t.defineComponent({__name:"app-audio-player",props:{src:{},file:{}},setup(e){const n=e,o=t.ref(null),r=t.ref(!1),i=t.ref(0),a=t.ref(0),s=t.ref(1),d=t.ref(null),l=C=>Math.floor(C).toString().padStart(2,"0"),u=C=>{if(!Number.isFinite(C)||C<0)return"00:00";const T=Math.floor(C/60),B=Math.floor(C%60);return`${l(T)}:${l(B)}`},p=t.computed(()=>!a.value||!Number.isFinite(a.value)?0:Math.min(100,i.value/a.value*100)),c=t.computed(()=>Number.isFinite(a.value)&&a.value>0),f=t.computed(()=>`${u(i.value)} / ${u(a.value)}`),m=()=>{d.value&&(URL.revokeObjectURL(d.value),d.value=null)},g=()=>{if(m(),n.src)return n.src;if(n.file)return d.value=URL.createObjectURL(t.toRaw(n.file)),d.value},h=()=>{a.value=o.value?.duration||0},w=()=>{i.value=o.value?.currentTime||0},v=()=>{r.value=!1,i.value=0,o.value&&(o.value.currentTime=0)},b=()=>{o.value&&(o.value.pause(),o.value.removeEventListener("loadedmetadata",h),o.value.removeEventListener("timeupdate",w),o.value.removeEventListener("ended",v),o.value=null,r.value=!1,i.value=0,a.value=0)},$=()=>{b();const C=g();if(!C)return;const T=new Audio(C);T.addEventListener("loadedmetadata",h),T.addEventListener("timeupdate",w),T.addEventListener("ended",v),T.playbackRate=s.value,o.value=T},y=async()=>{!o.value||!c.value||(await o.value.play(),r.value=!0)},x=()=>{o.value&&(o.value.pause(),r.value=!1)},N=()=>{r.value?x():y()},I=C=>{if(!o.value||!c.value)return;const B=C.currentTarget.getBoundingClientRect(),F=Math.min(1,Math.max(0,(C.clientX-B.left)/B.width));o.value.currentTime=F*a.value,i.value=o.value.currentTime},M=()=>{s.value=Math.max(1,(s.value+.5)%2.5),o.value&&(o.value.playbackRate=s.value)};return t.watch(()=>[n.src,n.file],()=>$(),{immediate:!0}),t.onBeforeUnmount(()=>{b(),m()}),(C,T)=>(t.openBlock(),t.createBlock(z,{class:"wu-w-full wu-min-w-0 wu-items-center","data-testid":"app-audio-player","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(U,{"data-testid":"app-audio-player-toggle",onClick:N,disabled:!c.value,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.value?"pause":"play_arrow"),1)]),_:1})]),_:1},8,["disabled"]),t.createVNode(z,{class:"wu-flex-1 wu-min-w-0",col:"","gap-xs":""},{default:t.withCtx(()=>[t.createElementVNode("button",{class:"wu-relative wu-w-full wu-rounded-full wu-cursor-pointer wu-h-1.5 wu-bg-gray-400 dark:wu-bg-neutral-500 disabled:wu-cursor-default",type:"button","data-testid":"app-audio-player-seek",disabled:!c.value,onClick:I},[t.createElementVNode("div",{class:"wu-absolute wu-left-0 wu-top-0 wu-bottom-0 wu-rounded-full wu-bg-primary wu-transition-all",style:t.normalizeStyle({width:`${p.value}%`})},null,4),t.createElementVNode("div",{class:"wu-absolute wu-w-2 wu-h-2 wu-rounded-full wu-bg-primary wu-shrink-0 wu-transition-all -wu-translate-x-1/2 -wu-translate-y-1/2 wu-top-1/2",style:t.normalizeStyle({left:`${p.value}%`})},null,4)],8,Wu),t.createVNode(D,{"extra-small":"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(f.value),1)]),_:1})]),_:1}),t.createVNode(U,{"data-testid":"app-audio-player-speed",onClick:M,disabled:!c.value,ghost:"",small:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(s.value)+"x",1)]),_:1},8,["disabled"])]),_:1}))}}),Yu={class:"wu-flex wu-flex-col wu-gap-2 wu-min-w-[12rem]","data-testid":"app-message-attachments"},Zu=["innerHTML"],Qu=["onClick"],Ju=["src","alt"],Ku=["src"],Xu={key:2,class:"wu-flex wu-items-center wu-justify-center wu-w-full wu-h-full"},qu={key:3,class:"wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-bg-black wu-bg-opacity-50"},ec={class:"wu-text-white wu-text-lg wu-font-semibold"},tc={key:0,class:"wu-flex-1 wu-min-w-0"},nc=t.defineComponent({__name:"app-message-attachments",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Dn(o.message)),a=t.computed(()=>i.value.filter($=>$.type==="image"||$.type==="video")),s=t.computed(()=>i.value.filter($=>$.type!=="image"&&$.type!=="video")),d=t.computed(()=>a.value.slice(0,4)),l=t.computed(()=>Math.max(0,a.value.length-4)),u=t.computed(()=>Pl(o.message)),p=t.computed(()=>Qi(o.message)),c=t.computed(()=>!!(d.value.length||s.value.length)),f=t.ref(!1),m=t.ref(0),g=t.ref([]),h=$=>{g.value=a.value.filter(y=>y.link).map(y=>({src:y.link,type:y.type==="video"?"video":"image",filename:y.filename})),g.value.length&&(m.value=Math.min($,g.value.length-1),f.value=!0)},w=$=>{$.link&&(g.value=[{src:$.link,type:"pdf",filename:$.filename}],m.value=0,f.value=!0)},v=()=>{f.value=!1,g.value=[]},b=$=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:$})};return($,y)=>(t.openBlock(),t.createElementBlock("div",Yu,[u.value?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-whitespace-pre-wrap","data-testid":"app-message-attachments-body",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:u.value},null,8,Zu)]),_:1})):t.createCommentVNode("",!0),d.value.length?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["wu-grid wu-gap-1 wu-rounded wu-overflow-hidden",d.value.length===1?"wu-grid-cols-1":"wu-grid-cols-2"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.value,(x,N)=>(t.openBlock(),t.createElementBlock("div",{class:"wu-relative wu-aspect-square wu-bg-gray-100 wu-cursor-pointer dark:wu-bg-neutral-800",key:x.id,onClick:I=>h(N)},[x.type==="image"&&x.link?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-full wu-h-full wu-object-cover",src:x.link,alt:x.filename},null,8,Ju)):x.type==="video"&&x.link?(t.openBlock(),t.createElementBlock("video",{key:1,class:"wu-w-full wu-h-full wu-object-cover",src:x.link,preload:"metadata"},null,8,Ku)):(t.openBlock(),t.createElementBlock("div",Xu,[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(x.type==="video"?"videocam":"image"),1)]),_:2},1024)])),N===d.value.length-1&&l.value>0?(t.openBlock(),t.createElementBlock("div",qu,[t.createElementVNode("span",ec,t.toDisplayString(`+${l.value}`),1)])):t.createCommentVNode("",!0),t.createVNode(U,{class:"wu-absolute wu-bottom-1 wu-right-1 !wu-bg-black/55 hover:!wu-bg-black/75 !wu-text-white !wu-border-0",onClick:t.withModifiers(I=>b(x),["stop"]),ghost:"",small:"",icon:"",round:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"!wu-text-white dark:!wu-text-white"},{default:t.withCtx(()=>[...y[1]||(y[1]=[t.createTextVNode("download",-1)])]),_:1})]),_:1},8,["onClick"])],8,Qu))),128))],2)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,x=>(t.openBlock(),t.createBlock(z,{class:"wu-items-center wu-bg-white dark:wu-bg-neutral-800",key:x.id,"padding-sm":"",rounded:"",border:"","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(z,{class:"wu-w-8 wu-h-8 wu-bg-gray-200 wu-shrink-0 dark:wu-bg-neutral-700",center:"",rounded:""},{default:t.withCtx(()=>[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(x.type==="audio"?"mic":"file_present"),1)]),_:2},1024)]),_:2},1024),x.type==="audio"&&x.link?(t.openBlock(),t.createElementBlock("div",tc,[t.createVNode(Bt,{src:x.link},null,8,["src"])])):(t.openBlock(),t.createBlock(D,{key:1,class:"wu-flex-1 wu-min-w-0 [overflow-wrap:anywhere]",title:x.filename,semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(x.filename),1)]),_:2},1032,["title"])),t.unref(Ji)(x)?(t.openBlock(),t.createBlock(U,{key:2,onClick:N=>w(x),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...y[2]||(y[2]=[t.createTextVNode("visibility",-1)])]),_:1})]),_:1},8,["onClick"])):t.createCommentVNode("",!0),t.createVNode(U,{onClick:N=>b(x),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...y[3]||(y[3]=[t.createTextVNode("download",-1)])]),_:1})]),_:1},8,["onClick"])]),_:2},1024))),128)),p.value&&c.value?(t.openBlock(),t.createBlock(D,{key:2,class:"wu-whitespace-pre-wrap","data-testid":"app-message-attachments-caption",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(p.value),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(jn,{open:f.value,items:g.value,index:m.value,onClose:v,"onUpdate:index":y[0]||(y[0]=x=>m.value=x)},null,8,["open","items","index"])]))}}),oc={class:"wu-w-full wu-px-3 wu-py-2 wu-bg-primary"},rc=["disabled","onClick"],ic=t.defineComponent({__name:"app-message-interactive",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.ref(Qt(o.message));t.watch(()=>[o.message.messageBody,o.message.metadata,o.message.canBeInteractedWith],()=>{i.value=Qt(o.message)});const a=t.computed(()=>!!(o.message.canBeInteractedWith&&i.value)),s=d=>{a.value&&(d.disabled||d.selected||(r("chat-service-message-action",{action:"select-option",message:o.message,option:d}),i.value&&(i.value={...i.value,selectedOption:d.label,selectedValue:d.value,selectedAt:new Date().toISOString(),menu:i.value.menu.map(l=>({...l,selected:l.value===d.value,disabled:!0}))})))};return(d,l)=>i.value?(t.openBlock(),t.createBlock(z,{key:0,class:"wu-w-full wu-overflow-hidden wu-bg-white wu-min-w-[14rem] dark:wu-bg-neutral-800",col:"","gap-none":"",rounded:"",border:"","data-testid":"app-message-interactive"},{default:t.withCtx(()=>[t.createElementVNode("div",oc,[t.createVNode(D,{class:"!wu-text-[var(--wu-primary-fg)]",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value.description),1)]),_:1})]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value.menu,(u,p)=>(t.openBlock(),t.createElementBlock("button",{class:"wu-flex wu-w-full wu-items-center wu-justify-between wu-gap-2 wu-px-3 wu-py-3 wu-text-left wu-bg-transparent wu-border-0 wu-border-t wu-border-gray-100 dark:wu-border-neutral-700 disabled:wu-opacity-50",key:`${u.value}-${p}`,type:"button",disabled:!a.value||u.disabled,onClick:c=>s(u)},[t.createVNode(z,{class:"wu-items-start wu-flex-1 wu-min-w-0",col:"","gap-none":""},{default:t.withCtx(()=>[t.createVNode(D,{semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.label),1)]),_:2},1024),u.description?(t.openBlock(),t.createBlock(D,{key:0,"extra-small":"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.description),1)]),_:2},1024)):t.createCommentVNode("",!0)]),_:2},1024),t.createVNode(S,{class:t.normalizeClass(u.selected?"wu-text-green-500":""),gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.selected?"check_circle":"radio_button_unchecked"),1)]),_:2},1032,["class"])],8,rc))),128))]),_:1})):t.createCommentVNode("",!0)}}),ac={class:"wu-flex wu-flex-col wu-gap-2 wu-min-w-[14rem]","data-testid":"app-message-document"},sc=t.defineComponent({__name:"app-message-document",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Se(o.message)),a=t.computed(()=>i.value?.filename||o.message.messageBody||"Documento"),s=t.computed(()=>!!(i.value?.link&&Ji(i.value))),d=t.ref(!1),l=t.computed(()=>!s.value||!i.value?.link?[]:[{src:i.value.link,type:"pdf",filename:i.value.filename}]),u=()=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:i.value})};return(p,c)=>(t.openBlock(),t.createElementBlock("div",ac,[t.createVNode(z,{class:"wu-items-center wu-bg-white dark:wu-bg-neutral-800","padding-sm":"",rounded:"",border:"","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(z,{class:"wu-w-8 wu-h-8 wu-bg-gray-200 wu-shrink-0 dark:wu-bg-neutral-700",center:"",rounded:""},{default:t.withCtx(()=>[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[...c[2]||(c[2]=[t.createTextVNode("file_present",-1)])]),_:1})]),_:1}),t.createVNode(D,{class:"wu-flex-1 wu-min-w-0 [overflow-wrap:anywhere]",title:a.value,semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value),1)]),_:1},8,["title"]),s.value?(t.openBlock(),t.createBlock(U,{key:0,onClick:c[0]||(c[0]=f=>d.value=!0),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...c[3]||(c[3]=[t.createTextVNode("visibility",-1)])]),_:1})]),_:1})):t.createCommentVNode("",!0),t.createVNode(U,{onClick:u,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...c[4]||(c[4]=[t.createTextVNode("download",-1)])]),_:1})]),_:1})]),_:1}),e.message.caption?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-whitespace-pre-wrap",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.message.caption),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(jn,{open:d.value,items:l.value,index:0,onClose:c[1]||(c[1]=f=>d.value=!1)},null,8,["open","items"])]))}}),dc={class:"wu-w-full wu-px-3 wu-py-2 wu-bg-primary"},lc=["disabled","onClick"],uc=t.defineComponent({__name:"app-message-survey",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.ref(Qt(o.message));t.watch(()=>[o.message.messageBody,o.message.metadata,o.message.canBeInteractedWith],()=>{i.value=Qt(o.message)});const a=t.computed(()=>!!(o.message.canBeInteractedWith&&i.value)),s=t.computed(()=>!!i.value?.menu.some(l=>l.selected)),d=l=>{a.value&&(l.disabled||l.selected||(r("chat-service-message-action",{action:"select-survey",message:o.message,option:l}),i.value&&(i.value={...i.value,menu:i.value.menu.map(u=>({...u,selected:u.value===l.value,disabled:!0}))})))};return(l,u)=>i.value?(t.openBlock(),t.createBlock(z,{key:0,class:"wu-w-full wu-overflow-hidden wu-bg-white wu-min-w-[14rem] dark:wu-bg-neutral-800",col:"","gap-none":"",rounded:"",border:"","data-testid":"app-message-survey"},{default:t.withCtx(()=>[t.createElementVNode("div",dc,[t.createVNode(D,{class:"!wu-text-[var(--wu-primary-fg)]",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value.description),1)]),_:1})]),a.value&&!s.value?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(i.value.menu,(p,c)=>(t.openBlock(),t.createElementBlock("button",{class:"wu-flex wu-w-full wu-items-center wu-justify-between wu-gap-2 wu-px-3 wu-py-3 wu-text-left wu-bg-transparent wu-border-0 wu-border-t wu-border-gray-100 dark:wu-border-neutral-700 disabled:wu-opacity-50",key:`${p.value}-${c}`,type:"button",disabled:p.disabled,onClick:f=>d(p)},[t.createVNode(D,{semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(p.label),1)]),_:2},1024),t.createVNode(S,{class:t.normalizeClass(p.selected?"wu-text-green-500":""),gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(p.selected?"check_circle":"radio_button_unchecked"),1)]),_:2},1032,["class"])],8,lc))),128)):(t.openBlock(),t.createBlock(z,{key:1,class:"wu-items-center wu-justify-center wu-px-3 wu-py-3 wu-border-t wu-border-gray-100 dark:wu-border-neutral-700","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(D,{small:"",gray:""},{default:t.withCtx(()=>[...u[0]||(u[0]=[t.createTextVNode("Pesquisa de satisfação já respondida",-1)])]),_:1}),t.createVNode(S,{class:"wu-text-green-500"},{default:t.withCtx(()=>[...u[1]||(u[1]=[t.createTextVNode("check_circle",-1)])]),_:1})]),_:1}))]),_:1})):t.createCommentVNode("",!0)}}),vo=t.defineComponent({__name:"app-message-audio",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Se(o.message)),a=t.computed(()=>i.value?.link||""),s=()=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:i.value})};return(d,l)=>(t.openBlock(),t.createBlock(z,{class:"wu-items-center wu-min-w-[14rem]","gap-sm":"","data-testid":"app-message-audio"},{default:t.withCtx(()=>[a.value?(t.openBlock(),t.createBlock(Bt,{key:0,class:"wu-flex-1",src:a.value},null,8,["src"])):(t.openBlock(),t.createBlock(z,{key:1,class:"wu-items-center wu-justify-center wu-h-10 wu-flex-1 wu-rounded wu-bg-gray-100 dark:wu-bg-neutral-800"},{default:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...l[0]||(l[0]=[t.createTextVNode("mic",-1)])]),_:1})]),_:1})),t.createVNode(U,{onClick:s,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...l[1]||(l[1]=[t.createTextVNode("download",-1)])]),_:1})]),_:1})]),_:1}))}}),cc={class:"wu-flex wu-flex-col wu-gap-2 wu-min-w-[10rem]","data-testid":"app-message-image"},pc={class:"wu-relative wu-rounded wu-overflow-hidden wu-bg-gray-100 dark:wu-bg-neutral-800"},fc=["src","alt"],mc={key:1,class:"wu-flex wu-items-center wu-justify-center wu-h-32"},gc=t.defineComponent({__name:"app-message-image",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Se(o.message)),a=t.computed(()=>i.value?.link||""),s=t.ref(!1),d=t.computed(()=>a.value?[{src:a.value,type:"image",filename:i.value?.filename}]:[]),l=()=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:i.value})};return(u,p)=>(t.openBlock(),t.createElementBlock("div",cc,[t.createElementVNode("div",pc,[a.value?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-full wu-max-h-64 wu-object-cover wu-cursor-pointer",src:a.value,alt:i.value?.filename||e.message.caption||"Imagem",onClick:p[0]||(p[0]=c=>s.value=!0)},null,8,fc)):(t.openBlock(),t.createElementBlock("div",mc,[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[...p[2]||(p[2]=[t.createTextVNode("image",-1)])]),_:1})])),t.createVNode(U,{class:"wu-absolute wu-bottom-2 wu-right-2 !wu-bg-black/55 hover:!wu-bg-black/75 !wu-text-white !wu-border-0",onClick:t.withModifiers(l,["stop"]),ghost:"",small:"",icon:"",round:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"!wu-text-white dark:!wu-text-white"},{default:t.withCtx(()=>[...p[3]||(p[3]=[t.createTextVNode("download",-1)])]),_:1})]),_:1})]),e.message.caption?(t.openBlock(),t.createBlock(D,{key:0,gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.message.caption),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(jn,{open:s.value,items:d.value,index:0,onClose:p[1]||(p[1]=c=>s.value=!1)},null,8,["open","items"])]))}}),hc={class:"wu-flex wu-flex-col wu-gap-2 wu-min-w-[12rem]","data-testid":"app-message-video"},wc={class:"wu-relative wu-rounded wu-overflow-hidden wu-bg-black"},$c=["src"],yc={key:1,class:"wu-flex wu-items-center wu-justify-center wu-h-32"},vc=t.defineComponent({__name:"app-message-video",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Se(o.message)),a=t.computed(()=>i.value?.link||""),s=()=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:i.value})};return(d,l)=>(t.openBlock(),t.createElementBlock("div",hc,[t.createElementVNode("div",wc,[a.value?(t.openBlock(),t.createElementBlock("video",{key:0,class:"wu-w-full wu-max-h-64",src:a.value,controls:"",preload:"metadata"},null,8,$c)):(t.openBlock(),t.createElementBlock("div",yc,[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[...l[0]||(l[0]=[t.createTextVNode("videocam",-1)])]),_:1})])),t.createVNode(U,{class:"wu-absolute wu-bottom-2 wu-right-2 !wu-bg-black/55 hover:!wu-bg-black/75 !wu-text-white !wu-border-0",onClick:s,ghost:"",small:"",icon:"",round:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"!wu-text-white dark:!wu-text-white"},{default:t.withCtx(()=>[...l[1]||(l[1]=[t.createTextVNode("download",-1)])]),_:1})]),_:1})]),e.message.caption?(t.openBlock(),t.createBlock(D,{key:0,gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.message.caption),1)]),_:1})):t.createCommentVNode("",!0)]))}}),bc=["href"],xc=["src","alt"],Cc={class:"wu-flex wu-min-w-0 wu-flex-1 wu-flex-col wu-items-start wu-overflow-hidden wu-pr-4 wu-gap-0.5"},Nc={class:"wu-truncate"},kc=t.defineComponent({__name:"app-message-link-preview",props:{preview:{}},setup(e){const n=e,o=t.ref(!1),r=t.computed(()=>n.preview.url||"#"),i=t.computed(()=>n.preview.images?.[0]||n.preview.favicons?.[0]||""),a=t.computed(()=>!o.value&&!!n.preview.title);return(s,d)=>a.value?(t.openBlock(),t.createElementBlock("a",{key:0,class:"wu-relative wu-flex wu-items-center wu-gap-2 wu-rounded-lg wu-border wu-border-gray-200 wu-bg-white wu-p-2 wu-no-underline dark:wu-border-neutral-700 dark:wu-bg-neutral-800","data-testid":"app-message-link-preview",href:r.value,target:"_blank",rel:"noopener noreferrer"},[t.createElementVNode("button",{class:"wu-absolute wu-right-1 wu-top-1 wu-border-0 wu-bg-transparent wu-p-0 wu-cursor-pointer",type:"button","aria-label":"Fechar preview",onClick:d[0]||(d[0]=t.withModifiers(l=>o.value=!0,["prevent"]))},[t.createVNode(S,{gray:"",small:""},{default:t.withCtx(()=>[...d[1]||(d[1]=[t.createTextVNode("close",-1)])]),_:1})]),i.value?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-h-12 wu-w-12 wu-shrink-0 wu-rounded wu-object-cover",src:i.value,alt:e.preview.title||"Link preview"},null,8,xc)):t.createCommentVNode("",!0),t.createElementVNode("div",Cc,[t.createVNode(D,{class:"wu-line-clamp-1 wu-leading-3",semibold:"","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.preview.title),1)]),_:1}),e.preview.description?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-line-clamp-2 wu-leading-3",gray:"","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.preview.description),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(D,{class:"wu-flex wu-max-w-full wu-items-center wu-gap-1 wu-truncate",gray:"","extra-small":""},{default:t.withCtx(()=>[t.createVNode(S,{gray:"",small:""},{default:t.withCtx(()=>[...d[2]||(d[2]=[t.createTextVNode("link",-1)])]),_:1}),t.createElementVNode("span",Nc,t.toDisplayString(e.preview.url),1)]),_:1})])],8,bc)):t.createCommentVNode("",!0)}}),Mc="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos6kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12b0cam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",Ac="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",bo="numeric",xo="ascii",Co="alpha",ut="asciinumeric",lt="alphanumeric",No="domain",ta="emoji",Ic="scheme",Tc="slashscheme",eo="whitespace";function Ec(e,n){return e in n||(n[e]=[]),n[e]}function Re(e,n,o){n[bo]&&(n[ut]=!0,n[lt]=!0),n[xo]&&(n[ut]=!0,n[Co]=!0),n[ut]&&(n[lt]=!0),n[Co]&&(n[lt]=!0),n[lt]&&(n[No]=!0),n[ta]&&(n[No]=!0);for(const r in n){const i=Ec(r,o);i.indexOf(e)<0&&i.push(e)}}function Sc(e,n){const o={};for(const r in n)n[r].indexOf(e)>=0&&(o[r]=!0);return o}function te(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}te.groups={};te.prototype={accepts(){return!!this.t},go(e){const n=this,o=n.j[e];if(o)return o;for(let r=0;r<n.jr.length;r++){const i=n.jr[r][0],a=n.jr[r][1];if(a&&i.test(e))return a}return n.jd},has(e,n=!1){return n?e in this.j:!!this.go(e)},ta(e,n,o,r){for(let i=0;i<e.length;i++)this.tt(e[i],n,o,r)},tr(e,n,o,r){r=r||te.groups;let i;return n&&n.j?i=n:(i=new te(n),o&&r&&Re(n,o,r)),this.jr.push([e,i]),i},ts(e,n,o,r){let i=this;const a=e.length;if(!a)return i;for(let s=0;s<a-1;s++)i=i.tt(e[s]);return i.tt(e[a-1],n,o,r)},tt(e,n,o,r){r=r||te.groups;const i=this;if(n&&n.j)return i.j[e]=n,n;const a=n;let s,d=i.go(e);if(d?(s=new te,Object.assign(s.j,d.j),s.jr.push.apply(s.jr,d.jr),s.jd=d.jd,s.t=d.t):s=new te,a){if(r)if(s.t&&typeof s.t=="string"){const l=Object.assign(Sc(s.t,r),o);Re(a,l,r)}else o&&Re(a,o,r);s.t=a}return i.j[e]=s,s}};const _=(e,n,o,r,i)=>e.ta(n,o,r,i),W=(e,n,o,r,i)=>e.tr(n,o,r,i),Zr=(e,n,o,r,i)=>e.ts(n,o,r,i),k=(e,n,o,r,i)=>e.tt(n,o,r,i),be="WORD",ko="UWORD",na="ASCIINUMERICAL",oa="ALPHANUMERICAL",At="LOCALHOST",Mo="TLD",Ao="UTLD",Ht="SCHEME",Ze="SLASH_SCHEME",Qo="NUM",Io="WS",Jo="NL",ct="OPENBRACE",pt="CLOSEBRACE",Jt="OPENBRACKET",Kt="CLOSEBRACKET",Xt="OPENPAREN",qt="CLOSEPAREN",en="OPENANGLEBRACKET",tn="CLOSEANGLEBRACKET",nn="FULLWIDTHLEFTPAREN",on="FULLWIDTHRIGHTPAREN",rn="LEFTCORNERBRACKET",an="RIGHTCORNERBRACKET",sn="LEFTWHITECORNERBRACKET",dn="RIGHTWHITECORNERBRACKET",ln="FULLWIDTHLESSTHAN",un="FULLWIDTHGREATERTHAN",cn="AMPERSAND",pn="APOSTROPHE",fn="ASTERISK",Ee="AT",mn="BACKSLASH",gn="BACKTICK",hn="CARET",Fe="COLON",Ko="COMMA",wn="DOLLAR",fe="DOT",$n="EQUALS",Xo="EXCLAMATION",ae="HYPHEN",ft="PERCENT",yn="PIPE",vn="PLUS",Je="POUND",ze="QUERY",qo="QUOTE",ra="FULLWIDTHMIDDLEDOT",er="SEMI",me="SLASH",mt="TILDE",bn="UNDERSCORE",ia="EMOJI",xn="SYM";var aa=Object.freeze({__proto__:null,ALPHANUMERICAL:oa,AMPERSAND:cn,APOSTROPHE:pn,ASCIINUMERICAL:na,ASTERISK:fn,AT:Ee,BACKSLASH:mn,BACKTICK:gn,CARET:hn,CLOSEANGLEBRACKET:tn,CLOSEBRACE:pt,CLOSEBRACKET:Kt,CLOSEPAREN:qt,COLON:Fe,COMMA:Ko,DOLLAR:wn,DOT:fe,EMOJI:ia,EQUALS:$n,EXCLAMATION:Xo,FULLWIDTHGREATERTHAN:un,FULLWIDTHLEFTPAREN:nn,FULLWIDTHLESSTHAN:ln,FULLWIDTHMIDDLEDOT:ra,FULLWIDTHRIGHTPAREN:on,HYPHEN:ae,LEFTCORNERBRACKET:rn,LEFTWHITECORNERBRACKET:sn,LOCALHOST:At,NL:Jo,NUM:Qo,OPENANGLEBRACKET:en,OPENBRACE:ct,OPENBRACKET:Jt,OPENPAREN:Xt,PERCENT:ft,PIPE:yn,PLUS:vn,POUND:Je,QUERY:ze,QUOTE:qo,RIGHTCORNERBRACKET:an,RIGHTWHITECORNERBRACKET:dn,SCHEME:Ht,SEMI:er,SLASH:me,SLASH_SCHEME:Ze,SYM:xn,TILDE:mt,TLD:Mo,UNDERSCORE:bn,UTLD:Ao,UWORD:ko,WORD:be,WS:Io});const ye=/[a-z]/;let Qe=/[a-z]/i,Ut=/[\u{1F000}-\u{1FAFF}\u{2600}-\u{27BF}]|\u{FE0F}/u;try{Qe=new RegExp("\\p{L}","u"),Ut=new RegExp("\\p{Emoji}","u")}catch{}const ve=/\d/,to=/\s/,Qr="\r",no=`
|
|
6
|
-
`,
|
|
7
|
-
`)}var
|
|
8
|
-
`){var a=this.tagNameBuffer.toLowerCase();(a==="pre"||a==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var i=this.peek(),a=this.tagNameBuffer;i==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):i==="&"&&a!=="script"&&a!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(i))},tagOpen:function(){var i=this.consume();i==="!"?this.transitionTo("markupDeclarationOpen"):i==="/"?this.transitionTo("endTagOpen"):(i==="@"||i===":"||qr(i))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(i))},markupDeclarationOpen:function(){var i=this.consume();if(i==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var a=i.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();a==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var i=this.consume();X(i)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var i=this.consume();X(i)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase()))},doctypeName:function(){var i=this.consume();X(i)?this.transitionTo("afterDoctypeName"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase())},afterDoctypeName:function(){var i=this.consume();if(!X(i))if(i===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var a=i.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),s=a.toUpperCase()==="PUBLIC",d=a.toUpperCase()==="SYSTEM";(s||d)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),s?this.transitionTo("afterDoctypePublicKeyword"):d&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var i=this.peek();X(i)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):i==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):i==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):i===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},doctypePublicIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},afterDoctypePublicIdentifier:function(){var i=this.consume();X(i)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var i=this.consume();X(i)||(i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},doctypeSystemIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},afterDoctypeSystemIdentifier:function(){var i=this.consume();X(i)||i===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var i=this.consume();i==="-"&&this.peek()==="-"?this.transitionTo("commentStartDash"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(i),this.transitionTo("comment"))},commentStartDash:function(){var i=this.consume();i==="-"?this.transitionTo("commentEnd"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var i=this.consume();i==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(i)},commentEndDash:function(){var i=this.consume();i==="-"&&this.peek()==="-"?this.delegate.appendToCommentData(i):i==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+i),this.transitionTo("comment"))},commentEnd:function(){var i=this.consume();i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+i),this.transitionTo("comment"))},tagName:function(){var i=this.consume();X(i)?this.transitionTo("beforeAttributeName"):i==="/"?this.transitionTo("selfClosingStartTag"):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(i)},endTagName:function(){var i=this.consume();X(i)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):i==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(i)},beforeAttributeName:function(){var i=this.peek();if(X(i)){this.consume();return}else i==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var i=this.peek();X(i)?(this.transitionTo("afterAttributeName"),this.consume()):i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==='"'||i==="'"||i==="<"?(this.delegate.reportSyntaxError(i+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(i)):(this.consume(),this.delegate.appendToAttributeName(i))},afterAttributeName:function(){var i=this.peek();if(X(i)){this.consume();return}else i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i))},beforeAttributeValue:function(){var i=this.peek();X(i)?this.consume():i==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(i))},attributeValueDoubleQuoted:function(){var i=this.consume();i==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueSingleQuoted:function(){var i=this.consume();i==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueUnquoted:function(){var i=this.peek();X(i)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):i===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(i))},afterAttributeValueQuoted:function(){var i=this.peek();X(i)?(this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var i=this.peek();i===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var i=this.consume();(i==="@"||i===":"||qr(i))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(i))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(n){this.state=n},e.prototype.tokenize=function(n){this.reset(),this.tokenizePart(n),this.tokenizeEOF()},e.prototype.tokenizePart=function(n){for(this.input+=Qc(n);this.index<this.input.length;){var o=this.states[this.state];if(o!==void 0)o.call(this);else throw new Error("unhandled state "+this.state)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){this.state==="data"&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var n=this.peek();return this.index++,n===`
|
|
9
|
-
`?(this.line++,this.column=0):this.column++,n},e.prototype.consumeCharRef=function(){var n=this.input.indexOf(";",this.index);if(n!==-1){var o=this.input.slice(this.index,n),r=this.entityParser.parse(o);if(r){for(var i=o.length;i;)this.consume(),i--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(n){this.tagNameBuffer+=n,this.delegate.appendToTagName(n)},e.prototype.isIgnoredEndTag=function(){var n=this.tagNameBuffer;return n==="title"&&this.input.substring(this.index,this.index+8)!=="</title>"||n==="style"&&this.input.substring(this.index,this.index+8)!=="</style>"||n==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},e})(),Kc=(function(){function e(n,o){o===void 0&&(o={}),this.options=o,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new Jc(this,n,o.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(n){return this.tokens=[],this.tokenizer.tokenize(n),this.tokens},e.prototype.tokenizePart=function(n){return this.tokens=[],this.tokenizer.tokenizePart(n),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var n=this.token;if(n===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return n;for(var o=0;o<arguments.length;o++)if(n.type===arguments[o])return n;throw new Error("token type was unexpectedly "+n.type)},e.prototype.push=function(n){this.token=n,this.tokens.push(n)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(n){this.current("Doctype").name+=n},e.prototype.appendToDoctypePublicIdentifier=function(n){var o=this.current("Doctype");o.publicIdentifier===void 0?o.publicIdentifier=n:o.publicIdentifier+=n},e.prototype.appendToDoctypeSystemIdentifier=function(n){var o=this.current("Doctype");o.systemIdentifier===void 0?o.systemIdentifier=n:o.systemIdentifier+=n},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(n){this.current("Chars").chars+=n},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(n){this.current("Comment").chars+=n},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(n){this.current("StartTag","EndTag").tagName+=n},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(n){this.currentAttribute()[0]+=n},e.prototype.beginAttributeValue=function(n){this.currentAttribute()[2]=n},e.prototype.appendToAttributeValue=function(n){this.currentAttribute()[1]+=n},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(n){this.current().syntaxError=n},e})();function Xc(e,n){var o=new Kc(new Gc(Fc),n);return o.tokenize(e)}const ua="LinkifyResult",Cn="StartTag",ca="EndTag",To="Chars",qc="Comment",e0="Doctype";function t0(e,n={}){const o=Xc(e),r=[],i=[],a=new tr(n,r0);for(let s=0;s<o.length;s++){const d=o[s];if(d.type===Cn){r.push(d);const l=d.tagName.toUpperCase();if(!(l==="A"||a.ignoreTags.indexOf(l)>=0||a.isIgnoredClass(s0(d.attributes,"class")))||d.selfClosing)continue;let p=r.length;o0(l,o,++s,r),s+=r.length-p-1}else if(d.type!==To)r.push(d);else{const l=n0(d.chars,a);r.push.apply(r,l)}}for(let s=0;s<r.length;s++){const d=r[s];switch(d.type){case ua:i.push(d.rendered);break;case Cn:{let l="<"+d.tagName;d.attributes.length>0&&(l+=" "+a0(d.attributes).join(" ")),d.selfClosing&&(l+=" /"),l+=">",i.push(l);break}case ca:i.push(`</${d.tagName}>`);break;case To:i.push(Eo(d.chars));break;case qc:i.push(`<!--${Eo(d.chars)}-->`);break;case e0:{let l=`<!DOCTYPE ${d.name}`;d.publicIdentifier&&(l+=` PUBLIC "${d.publicIdentifier}"`),d.systemIdentifier&&(l+=` "${d.systemIdentifier}"`),l+=">",i.push(l);break}}}return i.join("")}function n0(e,n){const o=la(e),r=[];for(let i=0;i<o.length;i++){const a=o[i];a.t==="nl"&&n.get("nl2br")?r.push({type:Cn,tagName:"br",attributes:[],selfClosing:!0}):!a.isLink||!n.check(a)?r.push({type:To,chars:a.toString()}):r.push({type:ua,rendered:n.render(a)})}return r}function o0(e,n,o,r){let i=1;for(;o<n.length&&i>0;){let a=n[o];a.type===Cn&&a.tagName.toUpperCase()===e?i++:a.type===ca&&a.tagName.toUpperCase()===e&&i--,r.push(a),o++}return r}function r0({tagName:e,attributes:n,content:o}){return`<${e} ${i0(n)}>${Eo(o)}</${e}>`}function Eo(e){return e.replace(/</g,"<").replace(/>/g,">")}function pa(e){return e.replace(/"/g,""")}function i0(e){const n=[];for(const o in e){const r=e[o]+"";n.push(`${o}="${pa(r)}"`)}return n.join(" ")}function a0(e){const n=[];for(let o=0;o<e.length;o++){const r=e[o][0],i=e[o][1]+"";n.push(`${r}="${pa(i)}"`)}return n}function s0(e,n){for(let o=0;o<e.length;o++)if(e[o][0].toLowerCase()===n)return e[o][1];return null}const d0={class:"wu-flex wu-flex-col wu-gap-2","data-testid":"app-message-text"},l0=["innerHTML"],So=t.defineComponent({__name:"app-message-text",props:{message:{}},setup(e){const n=e,o=t.computed(()=>{const i=n.message.metadata?.linkPreview;return!i?.title||Ln(n.message)==="contact"?null:i}),r=t.computed(()=>{const i=n.message.messageBody||"";return/<a\s/i.test(i)?i:t0(i,{defaultProtocol:"https",target:"_blank",rel:"noopener noreferrer",className:"wu-underline"})});return(i,a)=>(t.openBlock(),t.createElementBlock("div",d0,[o.value?(t.openBlock(),t.createBlock(kc,{key:0,preview:o.value},null,8,["preview"])):t.createCommentVNode("",!0),t.createVNode(D,{class:"wu-whitespace-pre-wrap",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:r.value},null,8,l0)]),_:1})]))}}),u0={_grouped_images:Gu,interactive:ic,document:sc,automatic:So,survey:uc,audio:vo,video:vc,voice:vo,image:gc,text:So},c0=e=>{const n=e.messageType;return n==="audio"||n==="voice"?vo:Dn(e).length>0?nc:u0[n]??So},p0={"image/jpeg":5,"image/png":5,"image/gif":5,"image/webp":5,"application/pdf":64,"audio/mpeg":16,"audio/mp3":16,"video/mp4":16},f0=25,m0=e=>p0[e.type]??f0,ei=e=>{const n=[],o=[];for(const r of e){const i=m0(r);if(r.size/1024/1024>i){o.push(`O arquivo ${r.name} é maior que o limite de ${i}MB e não foi adicionado.`);continue}n.push(r)}return{validFiles:n,errors:o}},g0={key:0,class:"wu-w-full wu-flex wu-justify-end wu-h-2","data-testid":"app-message-trailing"},gt=t.defineComponent({__name:"app-message",props:{primary:Boolean,secondary:Boolean,tertiary:Boolean},setup(e){const n=e,o=t.computed(()=>t.useSlots());function r(l){return!!o.value[l]}const i=t.computed(()=>n.tertiary),a=t.computed(()=>!i.value&&n.secondary),s=t.computed(()=>i.value?"wu-justify-center":a.value?"wu-flex-row-reverse":""),d=t.computed(()=>i.value?"wu-items-center wu-flex":a.value?["wu-rounded-br-none wu-p-3","wu-bg-[var(--wu-message-outgoing-bg)] dark:wu-bg-[var(--wu-message-outgoing-bg-dark)]"].join(" "):"wu-rounded-bl-none wu-bg-gray-200 wu-p-3 dark:wu-bg-neutral-700");return(l,u)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-flex wu-items-end wu-gap-2 wu-w-full",s.value]),"data-testid":"app-message"},[t.createElementVNode("div",{class:t.normalizeClass(["wu-rounded-lg wu-relative wu-min-h-8 [overflow-wrap:anywhere]",d.value]),"data-testid":"app-message-bubble"},[t.renderSlot(l.$slots,"default"),r("trailing")?(t.openBlock(),t.createElementBlock("div",g0,[t.renderSlot(l.$slots,"trailing")])):t.createCommentVNode("",!0)],2)],2))}}),nr=t.defineComponent({__name:"app-skeleton",props:{round:Boolean,fluid:Boolean,block:Boolean},setup(e){const n=e,o=t.computed(()=>n.fluid?"!wu-w-full":""),r=t.computed(()=>n.round?"!wu-rounded-full":n.block?"!wu-rounded-none":"!wu-rounded-lg");return(i,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-animate-pulse wu-bg-gray-200 dark:wu-bg-neutral-700",[r.value,o.value]])},null,2))}}),h0={class:"wu-typing__dots","aria-hidden":"true"},w0=t.defineComponent({__name:"app-typing",props:{small:Boolean},setup(e){const n=e,o=t.computed(()=>n.small?"wu-gap-1.5 wu-min-h-4":"wu-gap-2 wu-min-h-5"),r=t.computed(()=>n.small?"wu-typing__dot--small":"wu-typing__dot");return(i,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-inline-flex wu-items-center wu-text-gray-500",[o.value,"dark:wu-text-neutral-300"]]),role:"status","aria-live":"polite","aria-label":"Digitando","data-testid":"app-typing"},[t.createElementVNode("div",h0,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(3,s=>t.createElementVNode("span",{key:s,class:t.normalizeClass(r.value),style:t.normalizeStyle({"--i":s}),"data-testid":"app-typing-dot"},null,6)),64))])],2))}}),or=ot(w0,[["__scopeId","data-v-b0aad068"]]),rr=t.defineComponent({__name:"app-empty",props:{error:{type:Boolean,default:!1}},emits:["refetch"],setup(e,{emit:n}){const o=n,r=t.computed(()=>t.useSlots());function i(a){return!!r.value[a]}return(a,s)=>(t.openBlock(),t.createBlock(z,{"gap-sm":"",center:"",col:""},{default:t.withCtx(()=>[e.error?(t.openBlock(),t.createBlock(S,{key:0,class:"wu-text-gray-500",large:""},{default:t.withCtx(()=>[...s[1]||(s[1]=[t.createTextVNode("error_outline",-1)])]),_:1})):i("icon")?t.renderSlot(a.$slots,"icon",{key:1}):(t.openBlock(),t.createBlock(S,{key:2,class:"wu-text-gray-500",large:""},{default:t.withCtx(()=>[...s[2]||(s[2]=[t.createTextVNode("list",-1)])]),_:1})),t.createVNode(D,{class:"wu-text-center",gray:""},{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3}),e.error?(t.openBlock(),t.createBlock(U,{key:3,onClick:s[0]||(s[0]=d=>o("refetch")),outline:"",small:"","data-testid":"refetch-button"},{icon:t.withCtx(()=>[...s[3]||(s[3]=[t.createTextVNode("refresh",-1)])]),default:t.withCtx(()=>[s[4]||(s[4]=t.createTextVNode("Tentar novamente",-1))]),_:1})):t.createCommentVNode("",!0)]),_:3}))}}),$0={key:0,class:"wu-absolute wu-inset-0 wu-z-10 wu-flex wu-flex-col wu-items-center wu-justify-center wu-gap-2 wu-border-2 wu-border-dashed wu-border-primary wu-bg-white wu-bg-opacity-90 dark:wu-bg-neutral-900 dark:wu-bg-opacity-90","data-testid":"app-chat-drag-overlay"},y0={class:"wu-relative wu-flex wu-flex-col wu-flex-1 wu-min-h-0 wu-w-full"},v0={key:0,class:"wu-w-full wu-min-h-4","data-testid":"app-chat-top-spacer"},b0={key:2,class:"wu-w-full wu-shrink-0 wu-border-t wu-border-gray-200 wu-flex wu-flex-col dark:wu-border-neutral-700"},x0={class:"wu-relative wu-flex wu-items-center wu-justify-center wu-w-8 wu-h-8 wu-rounded-full wu-bg-red-500 wu-bg-opacity-10"},C0={key:0,class:"wu-absolute wu-inset-0 wu-rounded-full wu-bg-red-500 wu-bg-opacity-20 wu-animate-ping"},N0=["src","alt"],k0=["onKeydown","disabled"],M0={class:"wu-flex wu-items-center wu-gap-2 wu-w-full wu-justify-end wu-px-6 wu-py-2"},A0=100,I0=t.defineComponent({__name:"app-chat-service",props:{rule:{},edges:{}},emits:["chat-service-action","chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,{history:i,chat:a,language:s}=je(),{isSendingMessage:d,isErrorLoading:l,attachments:u,isFinished:p,isLoading:c,messages:f,isTyping:m,audio:g,text:h}=a,{isRecording:w,formattedDuration:v,start:b,stop:$,cancel:y}=ju(),x=t.computed(()=>i.value.length>0),N=t.ref(null),I=t.ref(null),M=t.ref(!1),C=t.ref(!1),T=t.computed(()=>Fl(f.value)),B=t.ref(null),F=t.ref(null),H=async()=>{await t.nextTick(),F.value?.focus()},O=t.computed(()=>!!(u.value.length||g.value)),Y=t.computed(()=>!!(O.value||h.value.trim())),G=t.computed(()=>!!o.rule.settings?.features?.sendAttachment),Q=t.computed(()=>d.value||!!g.value||C.value),Z=t.computed(()=>d.value||O.value||C.value),J=t.computed(()=>G.value&&!Q.value),Pe=t.ref(!1),He=t.ref([]);let L=null;const P=t.computed(()=>{const E=o.rule.settings?.features?.quickReplies??[],A=s.value;return E.map(j=>ne(j,A)).filter(Boolean)}),jt=t.computed(()=>P.value.length>0&&f.value.length===0&&!p.value),pe=t.computed(()=>d.value||O.value||C.value),rt=()=>{const E=N.value;if(!E)return;const A=E.scrollHeight-E.scrollTop-E.clientHeight;M.value=A>A0},$e=(E=!0)=>{const A=N.value;A&&(A.scrollTo({top:A.scrollHeight,behavior:E?"smooth":"auto"}),M.value=!1)},Ue=(E=!0)=>{M.value||$e(E)},it=()=>{Q.value||B.value?.click()},Ge=E=>{E&&URL.revokeObjectURL(E)},Vn=()=>{u.value.forEach(E=>Ge(E.previewUrl)),u.value=[]},at=()=>{Ge(g.value?.previewUrl),g.value=null},Va=E=>E.type.startsWith("image/")?"image":"document",Hn=E=>{if(!E.length)return;const{validFiles:A,errors:j}=ei(E);He.value=j,A.length&&(at(),u.value=[...u.value,...A.map(K=>{const Pt=Va(K);return{file:K,type:Pt,previewUrl:Pt==="image"?URL.createObjectURL(K):void 0}})])},Ha=E=>{const{validFiles:A,errors:j}=ei([E]);He.value=j,A.length&&(Vn(),at(),h.value="",g.value={file:A[0],previewUrl:URL.createObjectURL(A[0])})},Ua=E=>{const A=E.target,j=Array.from(A.files??[]);Hn(j),A.value=""},Ga=E=>{if(!E)return[];const A=Array.from(E.items??[]).filter(j=>j.kind==="file").map(j=>j.getAsFile()).filter(j=>!!j);return A.length?A:Array.from(E.files??[])},Un=E=>{const A=E.dataTransfer?.types;return A?Array.from(A).includes("Files"):!1},Gn=()=>{L&&(clearTimeout(L),L=null)},pr=()=>{Gn(),L=setTimeout(()=>{Pe.value=!1},300)},Wa=E=>{if(!J.value)return;const A=Ga(E.clipboardData);A.length&&(E.preventDefault(),Hn(A))},Ya=E=>{!J.value||!Un(E)||(E.preventDefault(),E.dataTransfer&&(E.dataTransfer.dropEffect="copy"),Pe.value=!0,pr())},Za=E=>{!J.value||!Un(E)||pr()},Qa=E=>{if(!J.value||!Un(E))return;E.preventDefault(),Gn(),Pe.value=!1;const A=Array.from(E.dataTransfer?.files??[]);A.length&&Hn(A)},Ja=E=>{Ge(u.value[E]?.previewUrl),u.value=u.value.filter((A,j)=>j!==E)},Ka=()=>{at()},Xa=async()=>{Z.value||!await b()||(h.value="",C.value=!0)},qa=async()=>{await y(),C.value=!1},es=async()=>{const E=await $();C.value=!1,E&&Ha(E)},st=E=>r("chat-service-action",E),fr=t.computed(()=>Y.value&&!C.value&&!d.value),mr=()=>{fr.value&&(He.value=[],$e(),st({action:"send-message"}))};t.watch(d,E=>{E||H()});const ts=E=>{pe.value||!E.trim()||(h.value=E,$e(),st({action:"send-message"}))};t.watch(()=>T.value.length,async()=>{await t.nextTick(),Ue()}),t.watch(m,E=>{E&&Ue()});let We=null;const gr=()=>{We?.disconnect(),We=null;const E=I.value;!E||typeof ResizeObserver>"u"||(We=new ResizeObserver(()=>{Ue(!1)}),We.observe(E))};t.watch(c,async E=>{E||(await t.nextTick(),gr(),Ue(!1))}),t.onMounted(async()=>{$e(!1),await t.nextTick(),gr()}),t.onBeforeUnmount(()=>{Gn(),We?.disconnect(),We=null});const hr=E=>E.from==="contact"?"contact":"operator",ns=(E,A,j)=>A[j-1]?hr(A[j-1])===hr(E)?"wu-mt-1":"wu-mt-4":"wu-mt-0",os=E=>_l(E.createdAt)||"12:58",rs=E=>r("chat-service-message-action",E);return(E,A)=>(t.openBlock(),t.createElementBlock("div",{class:"wu-relative wu-flex wu-flex-col wu-items-center wu-h-full wu-w-full wu-overflow-hidden","data-testid":"app-chat-service",onDragover:Ya,onDragleave:Za,onDrop:Qa},[Pe.value?(t.openBlock(),t.createElementBlock("div",$0,[t.createVNode(S,{class:"wu-text-primary",large:""},{default:t.withCtx(()=>[...A[5]||(A[5]=[t.createTextVNode("upload",-1)])]),_:1}),t.createVNode(D,{semibold:"",gray:""},{default:t.withCtx(()=>[...A[6]||(A[6]=[t.createTextVNode("Solte os arquivos para anexar",-1)])]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",y0,[t.createElementVNode("div",{class:"wu-flex wu-flex-col wu-flex-1 wu-min-h-0 wu-w-full wu-px-6 wu-overflow-y-auto",ref_key:"messagesList",ref:N,"data-testid":"app-service-messages",onScroll:rt},[t.createElementVNode("div",{class:"wu-w-full wu-flex wu-flex-col",ref_key:"messagesContent",ref:I},[x.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",v0)),t.unref(c)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},t.renderList(10,(j,K)=>t.createVNode(gt,{key:K,primary:K%2===0,secondary:K%2===1},{default:t.withCtx(()=>[t.createVNode(nr,{class:"wu-h-4 wu-w-32",block:""})]),_:1},8,["primary","secondary"])),64)):t.unref(l)?(t.openBlock(),t.createBlock(rr,{key:2,class:"wu-h-full",onRefetch:A[0]||(A[0]=j=>st({action:"retry-loading"})),error:""},{default:t.withCtx(()=>[...A[7]||(A[7]=[t.createTextVNode("Ocorreu um erro ao carregar o atendimento.",-1)])]),_:1})):(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(T.value,(j,K)=>(t.openBlock(),t.createBlock(gt,{key:j.id??K,primary:j.from!=="contact",secondary:j.from==="contact",class:t.normalizeClass([ns(j,T.value,K)])},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(c0)(j)),{message:j,onChatServiceMessageAction:rs},null,40,["message"]))]),trailing:t.withCtx(()=>[t.createVNode(D,{gray:"","extra-small":"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(os(j)),1)]),_:2},1024)]),_:2},1032,["primary","secondary","class"]))),128)),t.unref(m)?(t.openBlock(),t.createBlock(gt,{key:0,class:"wu-mt-1",primary:""},{default:t.withCtx(()=>[t.createVNode(or,{small:""})]),_:1})):t.createCommentVNode("",!0),t.unref(p)?(t.openBlock(),t.createBlock(z,{key:1,class:"wu-mt-4","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(U,{"data-testid":"app-chat-start-new-service",onClick:A[1]||(A[1]=j=>st({action:"start-new-service"})),small:""},{icon:t.withCtx(()=>[t.createVNode(S,{small:""},{default:t.withCtx(()=>[...A[8]||(A[8]=[t.createTextVNode("chat",-1)])]),_:1})]),default:t.withCtx(()=>[A[9]||(A[9]=t.createTextVNode("Iniciar novo atendimento",-1))]),_:1}),t.createVNode(U,{"data-testid":"app-chat-back",onClick:A[2]||(A[2]=j=>st({action:"back"})),small:"",outline:""},{icon:t.withCtx(()=>[t.createVNode(S,{small:""},{default:t.withCtx(()=>[...A[10]||(A[10]=[t.createTextVNode("arrow_back",-1)])]),_:1})]),default:t.withCtx(()=>[A[11]||(A[11]=t.createTextVNode("Voltar",-1))]),_:1})]),_:1})):t.createCommentVNode("",!0)],64)),A[12]||(A[12]=t.createElementVNode("div",{class:"wu-w-full wu-min-h-4"},null,-1))],512)],544),M.value?(t.openBlock(),t.createBlock(U,{key:0,class:"wu-absolute wu-right-9 wu-bottom-3 wu-z-10 wu-shadow-md !wu-bg-white dark:!wu-bg-neutral-800","data-testid":"app-chat-scroll-to-bottom",onClick:A[3]||(A[3]=j=>$e()),round:"",small:"",icon:"",outline:""},{icon:t.withCtx(()=>[t.createVNode(S,{small:"",gray:""},{default:t.withCtx(()=>[...A[13]||(A[13]=[t.createTextVNode("keyboard_double_arrow_down",-1)])]),_:1})]),_:1})):t.createCommentVNode("",!0)]),!t.unref(c)&&!t.unref(l)&&jt.value?(t.openBlock(),t.createBlock(z,{key:1,class:"wu-items-end wu-w-full","data-testid":"app-chat-quick-replies","padding-md":"","gap-sm":"",col:""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(P.value,(j,K)=>(t.openBlock(),t.createBlock(U,{key:K,onClick:Pt=>ts(j),disabled:pe.value,outline:"",round:"",fit:""},{trailing:t.withCtx(()=>[...A[14]||(A[14]=[t.createTextVNode("chevron_right",-1)])]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(j),1)]),_:2},1032,["onClick","disabled"]))),128))]),_:1})):t.createCommentVNode("",!0),!t.unref(c)&&!t.unref(l)&&e.rule.settings?.features?.sendMessage?(t.openBlock(),t.createElementBlock("div",b0,[C.value?(t.openBlock(),t.createBlock(z,{key:0,"data-testid":"app-chat-audio-recording","padding-md":"","center-between":""},{default:t.withCtx(()=>[t.createVNode(U,{"data-testid":"app-chat-audio-cancel",onClick:qa,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...A[15]||(A[15]=[t.createTextVNode("close",-1)])]),_:1})]),_:1}),t.createVNode(z,{class:"wu-items-center","gap-sm":""},{default:t.withCtx(()=>[t.createElementVNode("div",x0,[t.unref(w)?(t.openBlock(),t.createElementBlock("div",C0)):t.createCommentVNode("",!0),t.createVNode(S,{class:"wu-text-red-500",large:""},{default:t.withCtx(()=>[...A[16]||(A[16]=[t.createTextVNode("mic",-1)])]),_:1})]),t.createVNode(D,{semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(v)),1)]),_:1})]),_:1}),t.createVNode(U,{"data-testid":"app-chat-audio-stop",onClick:es,disabled:!t.unref(w),small:"",icon:"",success:""},{icon:t.withCtx(()=>[t.createVNode(S,{light:""},{default:t.withCtx(()=>[...A[17]||(A[17]=[t.createTextVNode("check",-1)])]),_:1})]),_:1},8,["disabled"])]),_:1})):t.unref(g)?(t.openBlock(),t.createBlock(z,{key:1,"data-testid":"app-chat-audio-preview","padding-md":""},{default:t.withCtx(()=>[t.createVNode(z,{class:"wu-w-full wu-items-center","padding-sm":"",rounded:"",border:"","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(Bt,{class:"wu-flex-1",src:t.unref(g).previewUrl},null,8,["src"]),t.createVNode(U,{"data-testid":"app-chat-audio-discard",onClick:Ka,disabled:t.unref(d),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...A[18]||(A[18]=[t.createTextVNode("close",-1)])]),_:1})]),_:1},8,["disabled"])]),_:1})]),_:1})):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.unref(u).length?(t.openBlock(),t.createBlock(z,{key:0,class:"wu-px-6 wu-pt-6 wu-overflow-x-auto invisible-scrollbar","data-testid":"app-chat-attachment-preview"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(u),(j,K)=>(t.openBlock(),t.createBlock(z,{class:"wu-items-center",key:K,"padding-sm":"",rounded:"",border:"","gap-sm":""},{default:t.withCtx(()=>[j.type==="image"&&j.previewUrl?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-10 wu-h-10 wu-rounded wu-object-cover",src:j.previewUrl,alt:j.file.name},null,8,N0)):(t.openBlock(),t.createBlock(z,{key:1,class:"wu-w-7 wu-h-7 wu-bg-gray-200",center:"","padding-base":"",rounded:""},{default:t.withCtx(()=>[t.createVNode(S,{large:"",gray:""},{default:t.withCtx(()=>[...A[19]||(A[19]=[t.createTextVNode("file_present",-1)])]),_:1})]),_:1})),t.createVNode(z,{class:"wu-flex-1 wu-items-start wu-min-w-0",col:"","gap-none":""},{default:t.withCtx(()=>[t.createVNode(D,{class:"[overflow-wrap:anywhere]",semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(j.file.name),1)]),_:2},1024),t.createVNode(D,{"extra-small":"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(j.file.type),1)]),_:2},1024)]),_:2},1024),t.createVNode(U,{"data-testid":"app-chat-attachment-discard",onClick:Pt=>Ja(K),disabled:t.unref(d),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...A[20]||(A[20]=[t.createTextVNode("close",-1)])]),_:1})]),_:1},8,["onClick","disabled"])]),_:2},1024))),128))]),_:1})):t.createCommentVNode("",!0),He.value.length?(t.openBlock(),t.createBlock(z,{key:1,class:"wu-px-6 wu-pt-2 wu-flex-col wu-items-start wu-gap-1","data-testid":"app-chat-attachment-errors"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(He.value,(j,K)=>(t.openBlock(),t.createBlock(D,{class:"!wu-text-red-500",key:K,"extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(j),1)]),_:2},1024))),128))]),_:1})):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("textarea",{class:"wu-w-full wu-p-6 wu-resize-none wu-font-primary wu-text-xs wu-bg-transparent wu-text-gray-900 placeholder:wu-text-neutral placeholder:wu-text-xs placeholder:wu-font-normal focus:wu-outline-none dark:wu-text-neutral-100 [&:disabled]:wu-opacity-50",ref_key:"composerInput",ref:F,"onUpdate:modelValue":A[4]||(A[4]=j=>t.isRef(h)?h.value=j:null),onKeydown:t.withKeys(t.withModifiers(mr,["exact","prevent"]),["enter"]),onPaste:Wa,placeholder:"Escreva uma mensagem...",disabled:t.unref(d)},null,40,k0),[[t.vModelText,t.unref(h)]])],64)),t.withDirectives(t.createElementVNode("input",{ref_key:"fileInput",ref:B,type:"file",multiple:"","data-testid":"app-chat-file-input",onChange:Ua},null,544),[[t.vShow,!1]]),t.createElementVNode("div",M0,[G.value?(t.openBlock(),t.createBlock(U,{key:0,"data-testid":"app-chat-attach-file",onClick:it,disabled:Q.value,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"wu-rotate-45",large:"",gray:""},{default:t.withCtx(()=>[...A[21]||(A[21]=[t.createTextVNode("attach_file",-1)])]),_:1})]),_:1},8,["disabled"])):t.createCommentVNode("",!0),G.value?(t.openBlock(),t.createBlock(U,{key:1,"data-testid":"app-chat-record-audio",onClick:Xa,disabled:Z.value,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{large:"",gray:""},{default:t.withCtx(()=>[...A[22]||(A[22]=[t.createTextVNode("mic",-1)])]),_:1})]),_:1},8,["disabled"])):t.createCommentVNode("",!0),t.createVNode(U,{onClick:mr,loading:t.unref(d),disabled:!fr.value,small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"-wu-rotate-45 wu-translate-x-[0.10rem] -wu-translate-y-[0.12rem]",outlined:"",large:""},{default:t.withCtx(()=>[...A[23]||(A[23]=[t.createTextVNode("send",-1)])]),_:1})]),_:1},8,["loading","disabled"])])])):t.createCommentVNode("",!0)],32))}}),T0={class:"wu-flex wu-flex-col wu-items-center wu-justify-center wu-h-full wu-w-full wu-px-6","data-testid":"app-voice-service"},E0={class:"wu-flex wu-items-center wu-justify-center wu-rounded-full wu-bg-gray-100 wu-w-20 wu-h-20 dark:wu-bg-neutral-700"},S0=t.defineComponent({__name:"app-voice-service",props:{rule:{},edges:{}},setup(e){const n=e,o=t.computed(()=>n.rule.name||"Ligação");return(r,i)=>(t.openBlock(),t.createElementBlock("div",T0,[t.createVNode(z,{class:"wu-w-full",col:"",center:"","gap-lg":""},{default:t.withCtx(()=>[t.createVNode(z,{col:"",center:"","gap-base":""},{default:t.withCtx(()=>[t.createElementVNode("div",E0,[t.createVNode(S,{"extra-large":"",gray:""},{default:t.withCtx(()=>[...i[0]||(i[0]=[t.createTextVNode("phone_in_talk",-1)])]),_:1})]),t.createVNode(D,{class:"wu-text-center","extra-large":"",semibold:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(o.value),1)]),_:1}),t.createVNode(D,{class:"wu-text-center",small:"",gray:""},{default:t.withCtx(()=>[...i[1]||(i[1]=[t.createTextVNode("Aguardando conexão",-1)])]),_:1})]),_:1}),t.createVNode(z,{center:"","gap-md":""},{default:t.withCtx(()=>[t.createVNode(U,{ghost:"",icon:"",round:"",disabled:""},{icon:t.withCtx(()=>[t.createVNode(S,{large:"",gray:""},{default:t.withCtx(()=>[...i[2]||(i[2]=[t.createTextVNode("mic",-1)])]),_:1})]),_:1}),t.createVNode(U,{alert:"",icon:"",round:"",disabled:""},{icon:t.withCtx(()=>[t.createVNode(S,{large:""},{default:t.withCtx(()=>[...i[3]||(i[3]=[t.createTextVNode("call_end",-1)])]),_:1})]),_:1}),t.createVNode(U,{ghost:"",icon:"",round:"",disabled:""},{icon:t.withCtx(()=>[t.createVNode(S,{large:"",gray:""},{default:t.withCtx(()=>[...i[4]||(i[4]=[t.createTextVNode("volume_up",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]))}}),ir=t.defineComponent({__name:"app-service-page",props:{rule:{},edges:{}},emits:["chat-service-action","chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>o.rule.settings?.behavior==="voice"?S0:I0);return(a,s)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(i.value),{rule:e.rule,edges:e.edges,onChatServiceAction:s[0]||(s[0]=d=>r("chat-service-action",d)),onChatServiceMessageAction:s[1]||(s[1]=d=>r("chat-service-message-action",d))},null,40,["rule","edges"]))}}),ti=e=>{const n=o=>o.toString(16).padStart(2,"0");return`#${n(e.r)}${n(e.g)}${n(e.b)}`},L0=()=>{const e="#6D3595",n=l=>{const u=l.replace("#","").trim(),p=u.length===3&&/^[0-9a-fA-F]{3}$/.test(u)?`${u[0]}${u[0]}${u[1]}${u[1]}${u[2]}${u[2]}`:u;return p.length!==6||!/^[0-9a-fA-F]{6}$/.test(p)?null:{r:parseInt(p.slice(0,2),16),g:parseInt(p.slice(2,4),16),b:parseInt(p.slice(4,6),16)}},o=l=>{const u=n(l)??n(e);return u?ti(u):e.toLowerCase()},r=l=>{const u=n(l);return u?(u.r*299+u.g*587+u.b*114)/1e3:null};return{getLuminance:r,isLightHex:l=>{const u=r(l);return u!==null&&u>160},isNearWhiteHex:l=>{const u=n(l);return u?u.r>=245&&u.g>=245&&u.b>=245:!1},isTooDarkForDarkCanvas:l=>{const u=r(l);return u!==null&&u<55},mixWithWhite:(l,u)=>{const p=n(l);if(!p)return o(l);const c=Math.min(1,Math.max(0,u));return ti({r:Math.round(p.r+(255-p.r)*c),g:Math.round(p.g+(255-p.g)*c),b:Math.round(p.b+(255-p.b)*c)})},normalizeHex:o,parseHex:n}},D0=()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(prefers-color-scheme: dark)").matches,fa=e=>{const{isLightHex:n,isNearWhiteHex:o,isTooDarkForDarkCanvas:r,mixWithWhite:i,normalizeHex:a,parseHex:s}=L0(),d="#374151",l=.45,u=.72,p=(y,x)=>y==="dark"?"dark":y==="light"?"light":x?"dark":"light",c=(y,x)=>o(y)?x==="light"?d:y:x==="dark"&&r(y)?i(y,l):y,f=(y,x,N)=>N==="dark"&&r(y)?i(y,u):x,m=y=>{const x=s(y)??{r:109,g:53,b:149},N=n(y),I=`color-mix(in srgb, ${y} 22%, white)`,M=`color-mix(in srgb, ${y} 22%, black)`;return{hex:y,rgb:x,light:N,tone50:`color-mix(in srgb, ${y} 8%, white)`,tone100:I,tone200:`color-mix(in srgb, ${y} 38%, white)`,tone300:`color-mix(in srgb, ${y} 55%, white)`,tone400:N?`color-mix(in srgb, ${y} 70%, black)`:`color-mix(in srgb, ${y} 78%, white)`,tone600:`color-mix(in srgb, ${y} 82%, black)`,tone700:`color-mix(in srgb, ${y} 64%, black)`,tone800:`color-mix(in srgb, ${y} 42%, black)`,tone900:M,fg:N?"#1c1917":"#ffffff",border:N?"#e5e7eb":"color-mix(in srgb, var(--wu-primary-fg) 22%, transparent)"}},g=(y,x)=>{const N=a(y),I=c(N,x),M=f(N,I,x),C=m(N),T=m(I),B=m(M);return{"--wu-primary":C.hex,"--wu-primary-rgb":`${C.rgb.r} ${C.rgb.g} ${C.rgb.b}`,"--wu-primary-fg":C.fg,"--wu-primary-border":C.border,"--wu-primary-50":C.tone50,"--wu-primary-100":C.tone100,"--wu-primary-200":C.tone200,"--wu-primary-300":C.tone300,"--wu-primary-400":C.tone400,"--wu-primary-500":C.hex,"--wu-primary-600":C.tone600,"--wu-primary-700":C.tone700,"--wu-primary-800":C.tone800,"--wu-primary-900":C.tone900,"--wu-action":T.hex,"--wu-action-rgb":`${T.rgb.r} ${T.rgb.g} ${T.rgb.b}`,"--wu-action-fg":T.fg,"--wu-action-50":T.tone50,"--wu-action-ink":B.hex,"--wu-message-outgoing-bg":T.tone100,"--wu-message-outgoing-bg-dark":T.tone900}},h=y=>{const x=t.ref(D0()),N=t.computed(()=>p(t.toValue(y),x.value)),I=t.computed(()=>N.value==="dark"),M=t.computed(()=>I.value?"wu-dark":"");return t.onMounted(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const C=window.matchMedia("(prefers-color-scheme: dark)");x.value=C.matches;const T=B=>{x.value=B.matches};C.addEventListener("change",T),t.onBeforeUnmount(()=>C.removeEventListener("change",T))}),{isDark:I,resolvedTheme:N,themeClass:M}},{isDark:w,themeClass:v,resolvedTheme:b}=h(()=>t.toValue(e).theme),$=t.computed(()=>({...g(t.toValue(e).primaryColor,b.value),colorScheme:b.value}));return{isDark:w,themeClass:v,resolvedTheme:b,appearanceStyle:$}},B0={class:"wu-flex wu-flex-col wu-w-full wu-gap-8"},j0={key:0,class:"wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0"},P0=["src"],_0={key:1,class:"wu-flex wu-flex-col wu-items-center wu-justify-start wu-gap-2 wu-px-6 wu-w-full"},ar=t.defineComponent({__name:"app-screen-page",props:{rule:{},edges:{}},emits:["edge-click"],setup(e,{emit:n}){const o=e,r=n,{history:i,language:a}=je(),s=t.computed(()=>i.value.length>0),d=t.computed(()=>o.edges??[]),l=t.computed(()=>o.rule.settings?.body),u=t.computed(()=>d.value.slice(0,3)),p=t.computed(()=>d.value.slice(3)),c=t.computed(()=>a.value),f=t.computed(()=>ne(l.value?.eyebrow,c.value)),m=t.computed(()=>ne(l.value?.title,c.value)),g=t.computed(()=>ne(l.value?.subtitle,c.value));return(h,w)=>(t.openBlock(),t.createElementBlock("div",B0,[s.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",j0)),t.createVNode(z,{class:"wu-px-6 wu-w-full",col:"",center:"","gap-base":""},{default:t.withCtx(()=>[l.value?.logo?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-10 wu-h-10 wu-object-contain",src:l.value.logo,alt:""},null,8,P0)):t.createCommentVNode("",!0),f.value?(t.openBlock(),t.createBlock(D,{key:1,class:"wu-text-center wu-uppercase wu-tracking-widest wu-leading-none","extra-small":"",gray:"",mono:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(f.value),1)]),_:1})):t.createCommentVNode("",!0),m.value?(t.openBlock(),t.createBlock(D,{key:2,class:"wu-text-center","extra-large":"",semibold:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(m.value),1)]),_:1})):t.createCommentVNode("",!0),g.value?(t.openBlock(),t.createBlock(D,{key:3,class:"wu-w-64 wu-text-center",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.value),1)]),_:1})):t.createCommentVNode("",!0),t.unref(i).length>0?(t.openBlock(),t.createBlock(z,{key:4,class:"wu-rounded-full wu-px-2 wu-h-6 wu-bg-[var(--wu-action)]","padding-sm":"","gap-sm":"",center:""},{default:t.withCtx(()=>[t.createVNode(S,{class:"!wu-text-[var(--wu-action-fg)]",small:""},{default:t.withCtx(()=>[...w[2]||(w[2]=[t.createTextVNode("check",-1)])]),_:1}),t.createVNode(D,{class:"!wu-text-[var(--wu-action-fg)]",semibold:"","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.rule?.name),1)]),_:1})]),_:1})):t.createCommentVNode("",!0)]),_:1}),d.value.length?(t.openBlock(),t.createElementBlock("div",_0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.value,v=>(t.openBlock(),t.createBlock(tt,{key:v.id,edge:v,onClick:w[0]||(w[0]=b=>r("edge-click",b))},null,8,["edge"]))),128)),p.value.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["wu-flex wu-items-start wu-overflow-x-auto wu-w-full invisible-scrollbar wu-pt-6",{"wu-justify-start":p.value.length>4,"wu-justify-center":p.value.length<=4}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(p.value,v=>(t.openBlock(),t.createBlock(tt,{key:v.id,edge:v,icon:"",onClick:w[1]||(w[1]=b=>r("edge-click",b))},null,8,["edge"]))),128))],2)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]))}}),O0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAVCAYAAAAnzezqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVtSURBVHgBpVVriFVVFF6Pvc+5c+/MOM2Yo2hq41tDU1EsC50pU9NySqZUDCQiCwWZSKJQGOpHZjhpomOGNkE4pBQUgUIPGAz9Of0oGS0tCpWY0dIf93nO3q1zzzn3Xh+J1oHLPfusvb/v299ea22EO3hmz35RN2XGNyimOrZYr8g0aFZ1RH49k63VbIcogrsI4S6Wb4qhToGRmHwjk5IYypoLiu0hzjrbNn77xiW8FeHS+vdrdQOtR7ZPC8FkhbZOQIDRgIxByU/A5V/GaC2zEMQxLMatxJGL8wwU1wbvEtNk+zGTncc3p7b4+LhhS1SKPhKAdbJwlPwSjGAFFFWJPCQKCYq7sxQQczAHICQ3VkUilGxXYhCtb1Aupm9wYMm9eychwy6FfrMAOEVSARRgGy40AZiNCEMhoQj5FokruWGBKubEDgQiojW/lgTMH3qgpro21y7A7RIcwmWykm2lXcuuigICkBCsTH7NEUFkfXhU5aMxESakVUD+6PiuxcpmdxBioyz+XianZdJ98j+FA9sE/FoBEAriCBgt8o3Hcq2oIqEBSVRLRfFFoWepdWzXWGXsIUDyQJn5Z/Xgyiqb3TCiALOE/G3F5jryEJhjG9HEZ2orRNhYqPyCHCjFCMPNBGMi/Epl2bwpZZNOg7d8qOGWqVj/k9WWLpE9nshnn0ClR8uiuUR2IBLys9j6kOxifAR0kcA/KmBSntDCYB1xpldio8SdExJvkflN8p6Rbz0iplHGj4gDuRzmO3HZhL0DAH6PsXZLyrEXZEIqVihkrxL6fRppTiNU7x5M/F3nopkIKvej67v7RNSElI8LTcIsVWDPofLqFeBWhYMLyW0Yw8ZPkZs/5xrdJyY847KtId+m2cFJhGZE66Ft70hP8V1GHFRUGMaoErGlQfmIkHuUhq/JGhiAS1UJ4DNSt0ll3BccNh0IOMO6djKBeUx8/XPIwIgtucaLrTXpBiw45oi4NC2ZqRruJ7wT5OSvWJ/nogsrRLhHycttQf6RWHFaiKbAVTgvifdLOZHk3BT1SiebGJxllatHir3JwB1AM7lKq8tgC1cdyF9R5B9z0esr3H1xpVidhLqgZ9haweGcylTLZlLaqD0OQX+ygGvBy7/05P796UCAOEB7FHoHsZ6/YJNbRqS3S4LVSLJ+nvTtcd+Fb0RETzVnTuXA3cWE9yvM7/Wsv9BRNAvBP02Mm4DgiuRKL7HfJPkdlR2AZyCoin5A/ztFtMu45ljrJ52b4/JXR05t6F47fedy2fk+1k5nUtFWT9usk4epvvK/lDqdIVb2ZD13dEL5n0nh73ZJr0A0r8lxDWfG88yFNcqolAh/Oej7iJnpijQFx+kmaLpGmCkDR1xa7fxR3V/Z+EqNaN3M9553yWwVu8YU7SdLHOcCweua/F4RclJihkulCRgdmYlqn+JykzuhWO86KlsKy/Lwko+3P1spgOKX7r72g57NLZIS+kAI0kylboYaTZNCfCDIBWmtFDSeiDyub1Jxb6C4xmNxIU4gRHJmx/Wt/6a34eYH3xoHpFdLpm+SnQ2N22h4sQgYhgTXdb+wQVV8q2xg0tQ+XdT97qrbEhA/Hcs7kphxnhMHXhGQCSIg6v8QVkkwrrA7uqyKIsN2W7wJAwHS17w5zd07f7sjASUhHR1UcxIXCFg7sV0sgnTZARNdMCAiDKqKS6d8kZmNzQc799wM+7YExE9bWxu3ZKctEGvbmf1FQuaWGxdAOQHLF5EIPqN0et7DXV1//W8BlU/XUx3Dqtlbr8msF7KRlW6UckaaHLC3qvnDnT/8G85/FhA/h9s6HFKZVulya6SC5Ao30l3xdym7o5C2B5p7dgzeav0/0mtgehRo/YYAAAAASUVORK5CYII=",z0={class:"wu-flex wu-flex-col wu-h-full wu-w-full wu-bg-white wu-overflow-hidden dark:wu-bg-neutral-800"},R0={class:"wu-w-full wu-shrink-0 wu-border-b wu-flex wu-items-center wu-px-4 wu-justify-between wu-gap-2 wu-bg-primary wu-h-[4.4rem] wu-text-[var(--wu-primary-fg)] wu-border-[var(--wu-primary-border)]"},F0={class:"wu-flex wu-items-center wu-gap-3 wu-min-w-0 wu-flex-1"},V0=["src"],H0={class:"wu-flex wu-flex-col wu-justify-center wu-min-w-0 wu-overflow-hidden"},U0={class:"wu-flex wu-flex-col wu-w-full wu-flex-1 wu-min-h-0"},G0={key:0,class:"wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4"},W0={class:"wu-flex wu-flex-col wu-w-full wu-flex-1 wu-min-h-0 wu-overflow-y-auto wu-gap-8"},Y0={class:"wu-h-7 wu-w-full wu-shrink-0 wu-border-t wu-border-gray-200 wu-flex wu-items-center wu-justify-center wu-p-2 wu-gap-1 wu-bg-white dark:wu-border-neutral-700 dark:wu-bg-neutral-800"},Z0=["src"],Q0=t.defineComponent({inheritAttrs:!1,__name:"app-widget-view",props:{workflow:{},config:{},fullscreen:{type:Boolean}},emits:["chat-service-action","edge-click","chat-service-message-action","submit","close","back"],setup(e,{emit:n}){const o=e,r=n,{history:i,currentRule:a,currentHeader:s,edges:d,language:l,setWorkflow:u,setConfig:p}=je(),{appearanceStyle:c,themeClass:f}=fa(()=>o.config.configurations.appearance);u(o.workflow),p(o.config),t.watch(()=>o.workflow,x=>u(x)),t.watch(()=>o.config,x=>p(x));const m=t.computed(()=>i.value.length>0),g=t.computed(()=>m.value&&a.value?.action!=="widget-identification-screen"),h=t.computed(()=>o.config.configurations.general.isClosable),w=t.computed(()=>ne(s.value?.title,l.value)),v=t.computed(()=>ne(s.value?.subtitle,l.value)),b={"widget-identification-screen":Wo,"widget-article-screen":Zo,"widget-service-screen":ir,"widget-base-screen":ar},$=t.computed(()=>{const x=a.value?.action;return x&&x in b?b[x]:void 0}),y=t.computed(()=>o.fullscreen?"wu-w-full wu-h-[100dvh] wu-max-h-full":"wu-w-[24.5rem] wu-h-[43rem] wu-max-h-[calc(100dvh-2*var(--widget-offset-y,1rem))] widget-shadow wu-rounded-2xl");return(x,N)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["yunique wu-overflow-hidden wu-relative",[y.value,t.unref(f)]]),"data-testid":"app-widget-view",style:t.normalizeStyle(t.unref(c))},[t.createElementVNode("div",z0,[t.createElementVNode("div",R0,[t.createElementVNode("div",F0,[t.unref(s)?.logo?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-9 wu-h-9 wu-object-contain wu-shrink-0",src:t.unref(s).logo,alt:""},null,8,V0)):t.createCommentVNode("",!0),t.createElementVNode("div",H0,[w.value?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-w-full wu-truncate !wu-text-inherit",bold:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(w.value),1)]),_:1})):t.createCommentVNode("",!0),v.value?(t.openBlock(),t.createBlock(D,{key:1,class:"wu-w-full wu-truncate !wu-text-inherit wu-opacity-75","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(v.value),1)]),_:1})):t.createCommentVNode("",!0)])]),h.value?(t.openBlock(),t.createBlock(U,{key:0,class:"wu-shrink-0 !wu-bg-transparent hover:!wu-bg-[color-mix(in_srgb,var(--wu-primary-fg)_12%,transparent)]",onClick:N[0]||(N[0]=I=>r("close")),"data-testid":"app-widget-close",small:"",icon:""},{default:t.withCtx(()=>[t.createVNode(S,null,{default:t.withCtx(()=>[...N[7]||(N[7]=[t.createTextVNode("close",-1)])]),_:1})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("div",U0,[t.createVNode(t.Transition,{name:"page-transition",mode:"out-in"},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock("div",{class:"wu-flex wu-flex-col wu-w-full wu-h-full wu-min-h-0",key:t.unref(a)?.id},[g.value?(t.openBlock(),t.createElementBlock("div",G0,[t.createElementVNode("div",{class:"wu-flex wu-items-center wu-w-fit wu-justify-center wu-cursor-pointer wu-group",onClick:N[1]||(N[1]=I=>r("back"))},[t.createVNode(S,{class:"wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200",small:"",gray:""},{default:t.withCtx(()=>[...N[8]||(N[8]=[t.createTextVNode("chevron_left",-1)])]),_:1}),t.createVNode(D,{class:"wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200","extra-small":"",medium:"",gray:""},{default:t.withCtx(()=>[...N[9]||(N[9]=[t.createTextVNode("Voltar",-1)])]),_:1})])])):t.createCommentVNode("",!0),t.createElementVNode("div",W0,[$.value&&t.unref(a)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent($.value),{key:0,rule:t.unref(a),edges:t.unref(d),onSubmit:N[2]||(N[2]=I=>r("submit",I)),onBack:N[3]||(N[3]=I=>r("back")),onEdgeClick:N[4]||(N[4]=I=>r("edge-click",I)),onChatServiceAction:N[5]||(N[5]=I=>r("chat-service-action",I)),onChatServiceMessageAction:N[6]||(N[6]=I=>r("chat-service-message-action",I))},null,40,["rule","edges"])):t.createCommentVNode("",!0)])]))]),_:1})]),t.createElementVNode("div",Y0,[t.createElementVNode("img",{class:"wu-w-3 wu-h-2",src:t.unref(O0),alt:"Opens"},null,8,Z0),t.createVNode(D,{class:"!wu-text-xxs",gray:""},{default:t.withCtx(()=>[...N[10]||(N[10]=[t.createTextVNode("Powered By",-1),t.createElementVNode("b",{class:"wu-ml-1"},"Opens",-1)])]),_:1})])])],6))}}),sr=ot(Q0,[["__scopeId","data-v-19999fa9"]]),J0={class:"wu-flex wu-h-full wu-pl-3 wu-gap-2 wu-z-10 wu-pointer-events-none"},K0={class:"wu-h-full wu-flex wu-items-center wu-justify-center"},X0=["value","type","disabled","maxlength"],q0={class:"wu-absolute wu-right-2 wu-z-10 wu-flex wu-items-center wu-gap-1 wu-text-gray-500"},ma=t.defineComponent({__name:"app-text-input",props:{modelValue:{default:""},type:{default:"text"},maxLength:{},disabled:{type:Boolean},loading:{type:Boolean},invalid:{type:Boolean},small:{type:Boolean},fluid:{type:Boolean},round:{type:Boolean},valid:{type:Boolean},block:{type:Boolean},maskFunction:{},passwordToggle:{type:Boolean}},emits:["update:modelValue","keyup-enter"],setup(e,{expose:n,emit:o}){const r=e,i=o,a=t.computed(()=>t.useSlots());function s(N){return!!a.value[N]}const d=t.ref(""),l=t.ref(!1),u=t.ref(!1);function p(N){if(!r.maskFunction)return N;try{const I=r.maskFunction(N);return typeof I=="string"?I:N}catch{return N}}t.watch(()=>r.modelValue,N=>{if(N==null){d.value="";return}d.value=r.maskFunction?p(N):N},{immediate:!0});function c(){return!(l.value||d.value)}const{height:f,textSize:m,width:g}=ea(r),h=t.computed(()=>r.invalid?"wu-border-red-500 focus-within:wu-border-red-500":r.valid?"wu-border-green-500 focus-within:wu-border-green-500":"wu-border-gray-200 focus-within:!wu-border-primary/40 hover:wu-border-gray-300"),w=t.computed(()=>r.invalid?"wu-text-red-500":r.valid?"wu-text-green-500":"wu-text-gray-500"),v=t.computed(()=>r.small&&c()?"wu-translate-y-[7px]":r.small&&!c()?"wu-translate-y-0":c()?"wu-translate-y-[11px]":"wu-translate-y-0"),b=t.computed(()=>s("icon")||r.loading?"wu-pl-[34px]":"wu-pl-3"),$=t.computed(()=>r.block?"wu-rounded-none":r.round?"wu-rounded-full":"wu-rounded-lg"),y=t.computed(()=>r.disabled||r.loading?"wu-opacity-50 wu-pointer-events-none":"");function x(N){const M=N.target.value;d.value=r.maskFunction?p(M):M,i("update:modelValue",d.value)}return n({focus:l,content:d}),(N,I)=>(t.openBlock(),t.createBlock(z,{class:t.normalizeClass([t.unref(g)]),col:"","gap-none":""},{default:t.withCtx(()=>[t.createVNode(z,{col:"","gap-sm":""},{default:t.withCtx(()=>[s("label")?(t.openBlock(),t.createBlock(D,{key:0,small:"",medium:""},{default:t.withCtx(()=>[t.renderSlot(N.$slots,"label")]),_:3})):t.createCommentVNode("",!0),t.createElementVNode("label",{class:t.normalizeClass(["wu-relative wu-flex wu-flex-col wu-justify-center wu-items-start wu-border wu-cursor-text wu-transition-colors wu-w-full wu-bg-transparent",[$.value,y.value,t.unref(f),h.value]]),"data-testid":"app-text-input"},[t.createElementVNode("div",J0,[t.createElementVNode("div",K0,[!e.loading&&s("icon")?(t.openBlock(),t.createBlock(S,{key:0,small:""},{default:t.withCtx(()=>[t.renderSlot(N.$slots,"icon")]),_:3})):t.createCommentVNode("",!0),e.loading?(t.openBlock(),t.createBlock(S,{key:1,class:"wu-animate-spin",small:"",outlined:""},{default:t.withCtx(()=>[...I[4]||(I[4]=[t.createTextVNode("progress_activity",-1)])]),_:1})):t.createCommentVNode("",!0)]),t.createVNode(D,{class:t.normalizeClass(["wu-py-1 wu-transition",[v.value]]),small:"",medium:"",gray:""},{default:t.withCtx(()=>[t.renderSlot(N.$slots,"default")]),_:3},8,["class"])]),t.createElementVNode("input",{class:t.normalizeClass(["wu-absolute wu-inset-0 wu-w-full wu-h-full wu-outline-none wu-appearance-none wu-bg-transparent wu-pt-3 wu-pr-3 wu-text-gray-700 wu-font-primary wu-z-0",[t.unref(m),b.value,$.value]]),value:d.value,type:e.passwordToggle&&u.value?"text":e.type,disabled:e.disabled||e.loading,maxlength:e.maxLength,onInput:x,onFocus:I[0]||(I[0]=M=>l.value=!0),onBlur:I[1]||(I[1]=M=>l.value=!1),onKeyup:I[2]||(I[2]=t.withKeys(M=>i("keyup-enter"),["enter"]))},null,42,X0),t.createElementVNode("div",q0,[e.maxLength?(t.openBlock(),t.createBlock(D,{key:0,small:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(`${d.value.length} / ${e.maxLength}`),1)]),_:1})):t.createCommentVNode("",!0),e.type==="password"&&e.passwordToggle?(t.openBlock(),t.createElementBlock("button",{key:1,class:"wu-bg-transparent wu-border-0 wu-p-0 wu-cursor-pointer wu-flex wu-items-center",type:"button",tabindex:"-1",onClick:I[3]||(I[3]=M=>u.value=!u.value)},[t.createVNode(S,{small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.value?"visibility_off":"visibility"),1)]),_:1})])):t.createCommentVNode("",!0),t.renderSlot(N.$slots,"suffix")])],2)]),_:3}),s("feedback")?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["wu-mt-1",[w.value]])},[t.renderSlot(N.$slots,"feedback")],2)):t.createCommentVNode("",!0)]),_:3},8,["class"]))}}),e1=()=>({getOffset:(r,i)=>{const a=`${i.x}px`,s=`${i.y}px`;switch(r){case"bottom-left":return{bottom:s,left:a};case"top-left":return{top:s,left:a};case"top-right":return{top:s,right:a};default:return{bottom:s,right:a}}},getPosition:r=>{switch(r){case"bottom-left":return"bottom left";case"top-left":return"top left";case"top-right":return"top right";default:return"bottom right"}},getTone:r=>({backgroundImage:"none",backgroundColor:"var(--wu-primary)",color:"var(--wu-primary-fg)"})}),t1={key:0,class:"wu-flex wu-relative"},n1=t.defineComponent({__name:"app-widget",props:{workflow:{},config:{},fullscreen:{type:Boolean}},emits:["chat-service-message-action","chat-service-action","edge-click","submit","close","back","open"],setup(e,{emit:n}){const o=e,r=n,{isOpen:i,config:a,chat:s,language:d,open:l,close:u,setWorkflow:p,setConfig:c}=je(),{getOffset:f,getPosition:m}=e1(),{appearanceStyle:g,themeClass:h}=fa(()=>o.config.configurations.appearance),w=t.computed(()=>o.config.configurations.notifications?.enabled??!0),v=t.computed(()=>w.value&&s.unreadMessagesCount.value>0),b=o.config.configurations.general.defaultBehavior==="active",$=t.ref(!b);b?l():u();const y=t.computed(()=>o.config.configurations.anchor),x=t.computed(()=>{if(!(i.value&&o.fullscreen))return{...f(y.value.position,y.value.offset),"--widget-offset-y":`${y.value.offset.y}px`}}),N=t.computed(()=>m(y.value.position)),I=t.computed(()=>({workflow:o.workflow,config:o.config,fullscreen:o.fullscreen})),M=t.computed(()=>({small:y.value.size==="small",large:y.value.size==="large",logo:y.value.logo??"",label:ne(y.value.label,d.value)})),C=async()=>{i.value||($.value=!1,await t.nextTick(),l(),r("open"))},T=()=>{i.value&&(u(),r("close"))},B=()=>{$.value=!0};return p(o.workflow),c(o.config),t.watch(()=>o.workflow,F=>p(F)),t.watch(()=>o.config,F=>c(F)),t.watch(()=>a.value?.configurations.general.defaultBehavior,F=>{F==="active"?C():T()},{immediate:!0}),t.watch(i,F=>{F&&($.value=!1)}),(F,H)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-fixed yunique wu-z-[99999]",[t.unref(h),t.unref(i)&&e.fullscreen?"wu-inset-0 wu-overflow-hidden":""]]),"data-testid":"app-widget",style:t.normalizeStyle([{"--widget-origin":N.value},x.value,t.unref(g)])},[t.createVNode(t.Transition,{name:"widget",onAfterLeave:B},{default:t.withCtx(()=>[t.unref(i)?(t.openBlock(),t.createBlock(sr,t.mergeProps({key:0},I.value,{onClose:T,onBack:H[0]||(H[0]=O=>r("back")),onSubmit:H[1]||(H[1]=O=>r("submit",O)),onEdgeClick:H[2]||(H[2]=O=>r("edge-click",O)),onChatServiceAction:H[3]||(H[3]=O=>r("chat-service-action",O)),onChatServiceMessageAction:H[4]||(H[4]=O=>r("chat-service-message-action",O))}),null,16)):t.createCommentVNode("",!0)]),_:1}),$.value?(t.openBlock(),t.createElementBlock("div",t1,[t.createVNode(Yo,{small:M.value.small,large:M.value.large,logo:M.value.logo,label:M.value.label,onClick:C},null,8,["small","large","logo","label"]),v.value?(t.openBlock(),t.createBlock(z,{key:0,class:"wu-rounded-full wu-absolute -wu-top-2 -wu-right-1 wu-h-5 wu-w-5 wu-bg-red-600","data-testid":"app-widget-unread-badge",center:""},{default:t.withCtx(()=>[t.createVNode(D,{small:"",bold:"",white:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(s).unreadMessagesCount>9?"9+":t.unref(s).unreadMessagesCount),1)]),_:1})]),_:1})):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],6))}}),ga=ot(n1,[["__scopeId","data-v-186731ce"]]),o1=["top","right","bottom","left"],ni=["start","end"],oi=o1.reduce((e,n)=>e.concat(n,n+"-"+ni[0],n+"-"+ni[1]),[]),Tt=Math.min,Oe=Math.max,r1={left:"right",right:"left",bottom:"top",top:"bottom"},i1={start:"end",end:"start"};function Lo(e,n,o){return Oe(e,Tt(n,o))}function Ve(e,n){return typeof e=="function"?e(n):e}function we(e){return e.split("-")[0]}function le(e){return e.split("-")[1]}function ha(e){return e==="x"?"y":"x"}function dr(e){return e==="y"?"height":"width"}const a1=new Set(["top","bottom"]);function Ne(e){return a1.has(we(e))?"y":"x"}function lr(e){return ha(Ne(e))}function wa(e,n,o){o===void 0&&(o=!1);const r=le(e),i=lr(e),a=dr(i);let s=i==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[a]>n.floating[a]&&(s=kn(s)),[s,kn(s)]}function s1(e){const n=kn(e);return[Nn(e),n,Nn(n)]}function Nn(e){return e.replace(/start|end/g,n=>i1[n])}const ri=["left","right"],ii=["right","left"],d1=["top","bottom"],l1=["bottom","top"];function u1(e,n,o){switch(e){case"top":case"bottom":return o?n?ii:ri:n?ri:ii;case"left":case"right":return n?d1:l1;default:return[]}}function c1(e,n,o,r){const i=le(e);let a=u1(we(e),o==="start",r);return i&&(a=a.map(s=>s+"-"+i),n&&(a=a.concat(a.map(Nn)))),a}function kn(e){return e.replace(/left|right|bottom|top/g,n=>r1[n])}function p1(e){return{top:0,right:0,bottom:0,left:0,...e}}function $a(e){return typeof e!="number"?p1(e):{top:e,right:e,bottom:e,left:e}}function ht(e){const{x:n,y:o,width:r,height:i}=e;return{width:r,height:i,top:o,left:n,right:n+r,bottom:o+i,x:n,y:o}}function ai(e,n,o){let{reference:r,floating:i}=e;const a=Ne(n),s=lr(n),d=dr(s),l=we(n),u=a==="y",p=r.x+r.width/2-i.width/2,c=r.y+r.height/2-i.height/2,f=r[d]/2-i[d]/2;let m;switch(l){case"top":m={x:p,y:r.y-i.height};break;case"bottom":m={x:p,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:c};break;case"left":m={x:r.x-i.width,y:c};break;default:m={x:r.x,y:r.y}}switch(le(n)){case"start":m[s]-=f*(o&&u?-1:1);break;case"end":m[s]+=f*(o&&u?-1:1);break}return m}const f1=async(e,n,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,d=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(n));let u=await s.getElementRects({reference:e,floating:n,strategy:i}),{x:p,y:c}=ai(u,r,l),f=r,m={},g=0;for(let h=0;h<d.length;h++){const{name:w,fn:v}=d[h],{x:b,y:$,data:y,reset:x}=await v({x:p,y:c,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:u,platform:s,elements:{reference:e,floating:n}});p=b??p,c=$??c,m={...m,[w]:{...m[w],...y}},x&&g<=50&&(g++,typeof x=="object"&&(x.placement&&(f=x.placement),x.rects&&(u=x.rects===!0?await s.getElementRects({reference:e,floating:n,strategy:i}):x.rects),{x:p,y:c}=ai(u,f,l)),h=-1)}return{x:p,y:c,placement:f,strategy:i,middlewareData:m}};async function _n(e,n){var o;n===void 0&&(n={});const{x:r,y:i,platform:a,rects:s,elements:d,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:c="floating",altBoundary:f=!1,padding:m=0}=Ve(n,e),g=$a(m),w=d[f?c==="floating"?"reference":"floating":c],v=ht(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(w)))==null||o?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(d.floating)),boundary:u,rootBoundary:p,strategy:l})),b=c==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d.floating)),y=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},x=ht(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:b,offsetParent:$,strategy:l}):b);return{top:(v.top-x.top+g.top)/y.y,bottom:(x.bottom-v.bottom+g.bottom)/y.y,left:(v.left-x.left+g.left)/y.x,right:(x.right-v.right+g.right)/y.x}}const m1=e=>({name:"arrow",options:e,async fn(n){const{x:o,y:r,placement:i,rects:a,platform:s,elements:d,middlewareData:l}=n,{element:u,padding:p=0}=Ve(e,n)||{};if(u==null)return{};const c=$a(p),f={x:o,y:r},m=lr(i),g=dr(m),h=await s.getDimensions(u),w=m==="y",v=w?"top":"left",b=w?"bottom":"right",$=w?"clientHeight":"clientWidth",y=a.reference[g]+a.reference[m]-f[m]-a.floating[g],x=f[m]-a.reference[m],N=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let I=N?N[$]:0;(!I||!await(s.isElement==null?void 0:s.isElement(N)))&&(I=d.floating[$]||a.floating[g]);const M=y/2-x/2,C=I/2-h[g]/2-1,T=Tt(c[v],C),B=Tt(c[b],C),F=T,H=I-h[g]-B,O=I/2-h[g]/2+M,Y=Lo(F,O,H),G=!l.arrow&&le(i)!=null&&O!==Y&&a.reference[g]/2-(O<F?T:B)-h[g]/2<0,Q=G?O<F?O-F:O-H:0;return{[m]:f[m]+Q,data:{[m]:Y,centerOffset:O-Y-Q,...G&&{alignmentOffset:Q}},reset:G}}});function g1(e,n,o){return(e?[...o.filter(i=>le(i)===e),...o.filter(i=>le(i)!==e)]:o.filter(i=>we(i)===i)).filter(i=>e?le(i)===e||(n?Nn(i)!==i:!1):!0)}const h1=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(n){var o,r,i;const{rects:a,middlewareData:s,placement:d,platform:l,elements:u}=n,{crossAxis:p=!1,alignment:c,allowedPlacements:f=oi,autoAlignment:m=!0,...g}=Ve(e,n),h=c!==void 0||f===oi?g1(c||null,m,f):f,w=await _n(n,g),v=((o=s.autoPlacement)==null?void 0:o.index)||0,b=h[v];if(b==null)return{};const $=wa(b,a,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(d!==b)return{reset:{placement:h[0]}};const y=[w[we(b)],w[$[0]],w[$[1]]],x=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:b,overflows:y}],N=h[v+1];if(N)return{data:{index:v+1,overflows:x},reset:{placement:N}};const I=x.map(T=>{const B=le(T.placement);return[T.placement,B&&p?T.overflows.slice(0,2).reduce((F,H)=>F+H,0):T.overflows[0],T.overflows]}).sort((T,B)=>T[1]-B[1]),C=((i=I.filter(T=>T[2].slice(0,le(T[0])?2:3).every(B=>B<=0))[0])==null?void 0:i[0])||I[0][0];return C!==d?{data:{index:v+1,overflows:x},reset:{placement:C}}:{}}}},w1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var o,r;const{placement:i,middlewareData:a,rects:s,initialPlacement:d,platform:l,elements:u}=n,{mainAxis:p=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...w}=Ve(e,n);if((o=a.arrow)!=null&&o.alignmentOffset)return{};const v=we(i),b=Ne(d),$=we(d)===d,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),x=f||($||!h?[kn(d)]:s1(d)),N=g!=="none";!f&&N&&x.push(...c1(d,h,g,y));const I=[d,...x],M=await _n(n,w),C=[];let T=((r=a.flip)==null?void 0:r.overflows)||[];if(p&&C.push(M[v]),c){const O=wa(i,s,y);C.push(M[O[0]],M[O[1]])}if(T=[...T,{placement:i,overflows:C}],!C.every(O=>O<=0)){var B,F;const O=(((B=a.flip)==null?void 0:B.index)||0)+1,Y=I[O];if(Y&&(!(c==="alignment"?b!==Ne(Y):!1)||T.every(Z=>Ne(Z.placement)===b?Z.overflows[0]>0:!0)))return{data:{index:O,overflows:T},reset:{placement:Y}};let G=(F=T.filter(Q=>Q.overflows[0]<=0).sort((Q,Z)=>Q.overflows[1]-Z.overflows[1])[0])==null?void 0:F.placement;if(!G)switch(m){case"bestFit":{var H;const Q=(H=T.filter(Z=>{if(N){const J=Ne(Z.placement);return J===b||J==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(J=>J>0).reduce((J,Pe)=>J+Pe,0)]).sort((Z,J)=>Z[1]-J[1])[0])==null?void 0:H[0];Q&&(G=Q);break}case"initialPlacement":G=d;break}if(i!==G)return{reset:{placement:G}}}return{}}}},$1=new Set(["left","top"]);async function y1(e,n){const{placement:o,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=we(o),d=le(o),l=Ne(o)==="y",u=$1.has(s)?-1:1,p=a&&l?-1:1,c=Ve(n,e);let{mainAxis:f,crossAxis:m,alignmentAxis:g}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return d&&typeof g=="number"&&(m=d==="end"?g*-1:g),l?{x:m*p,y:f*u}:{x:f*u,y:m*p}}const v1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var o,r;const{x:i,y:a,placement:s,middlewareData:d}=n,l=await y1(n,e);return s===((o=d.offset)==null?void 0:o.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:s}}}}},b1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:o,y:r,placement:i}=n,{mainAxis:a=!0,crossAxis:s=!1,limiter:d={fn:w=>{let{x:v,y:b}=w;return{x:v,y:b}}},...l}=Ve(e,n),u={x:o,y:r},p=await _n(n,l),c=Ne(we(i)),f=ha(c);let m=u[f],g=u[c];if(a){const w=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=m+p[w],$=m-p[v];m=Lo(b,m,$)}if(s){const w=c==="y"?"top":"left",v=c==="y"?"bottom":"right",b=g+p[w],$=g-p[v];g=Lo(b,g,$)}const h=d.fn({...n,[f]:m,[c]:g});return{...h,data:{x:h.x-o,y:h.y-r,enabled:{[f]:a,[c]:s}}}}}},x1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var o,r;const{placement:i,rects:a,platform:s,elements:d}=n,{apply:l=()=>{},...u}=Ve(e,n),p=await _n(n,u),c=we(i),f=le(i),m=Ne(i)==="y",{width:g,height:h}=a.floating;let w,v;c==="top"||c==="bottom"?(w=c,v=f===(await(s.isRTL==null?void 0:s.isRTL(d.floating))?"start":"end")?"left":"right"):(v=c,w=f==="end"?"top":"bottom");const b=h-p.top-p.bottom,$=g-p.left-p.right,y=Tt(h-p[w],b),x=Tt(g-p[v],$),N=!n.middlewareData.shift;let I=y,M=x;if((o=n.middlewareData.shift)!=null&&o.enabled.x&&(M=$),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(I=b),N&&!f){const T=Oe(p.left,0),B=Oe(p.right,0),F=Oe(p.top,0),H=Oe(p.bottom,0);m?M=g-2*(T!==0||B!==0?T+B:Oe(p.left,p.right)):I=h-2*(F!==0||H!==0?F+H:Oe(p.top,p.bottom))}await l({...n,availableWidth:M,availableHeight:I});const C=await s.getDimensions(d.floating);return g!==C.width||h!==C.height?{reset:{rects:!0}}:{}}}};function se(e){var n;return((n=e.ownerDocument)==null?void 0:n.defaultView)||window}function ge(e){return se(e).getComputedStyle(e)}const si=Math.min,wt=Math.max,Mn=Math.round;function ya(e){const n=ge(e);let o=parseFloat(n.width),r=parseFloat(n.height);const i=e.offsetWidth,a=e.offsetHeight,s=Mn(o)!==i||Mn(r)!==a;return s&&(o=i,r=a),{width:o,height:r,fallback:s}}function Be(e){return ba(e)?(e.nodeName||"").toLowerCase():""}let Ft;function va(){if(Ft)return Ft;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ft=e.brands.map((n=>n.brand+"/"+n.version)).join(" "),Ft):navigator.userAgent}function he(e){return e instanceof se(e).HTMLElement}function Le(e){return e instanceof se(e).Element}function ba(e){return e instanceof se(e).Node}function di(e){return typeof ShadowRoot>"u"?!1:e instanceof se(e).ShadowRoot||e instanceof ShadowRoot}function On(e){const{overflow:n,overflowX:o,overflowY:r,display:i}=ge(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+o)&&!["inline","contents"].includes(i)}function C1(e){return["table","td","th"].includes(Be(e))}function Do(e){const n=/firefox/i.test(va()),o=ge(e),r=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!r&&r!=="none"||n&&o.willChange==="filter"||n&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some((i=>o.willChange.includes(i)))||["paint","layout","strict","content"].some((i=>{const a=o.contain;return a!=null&&a.includes(i)}))}function xa(){return!/^((?!chrome|android).)*safari/i.test(va())}function ur(e){return["html","body","#document"].includes(Be(e))}function Ca(e){return Le(e)?e:e.contextElement}const Na={x:1,y:1};function Xe(e){const n=Ca(e);if(!he(n))return Na;const o=n.getBoundingClientRect(),{width:r,height:i,fallback:a}=ya(n);let s=(a?Mn(o.width):o.width)/r,d=(a?Mn(o.height):o.height)/i;return s&&Number.isFinite(s)||(s=1),d&&Number.isFinite(d)||(d=1),{x:s,y:d}}function Et(e,n,o,r){var i,a;n===void 0&&(n=!1),o===void 0&&(o=!1);const s=e.getBoundingClientRect(),d=Ca(e);let l=Na;n&&(r?Le(r)&&(l=Xe(r)):l=Xe(e));const u=d?se(d):window,p=!xa()&&o;let c=(s.left+(p&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,f=(s.top+(p&&((a=u.visualViewport)==null?void 0:a.offsetTop)||0))/l.y,m=s.width/l.x,g=s.height/l.y;if(d){const h=se(d),w=r&&Le(r)?se(r):r;let v=h.frameElement;for(;v&&r&&w!==h;){const b=Xe(v),$=v.getBoundingClientRect(),y=getComputedStyle(v);$.x+=(v.clientLeft+parseFloat(y.paddingLeft))*b.x,$.y+=(v.clientTop+parseFloat(y.paddingTop))*b.y,c*=b.x,f*=b.y,m*=b.x,g*=b.y,c+=$.x,f+=$.y,v=se(v).frameElement}}return{width:m,height:g,top:f,right:c+m,bottom:f+g,left:c,x:c,y:f}}function De(e){return((ba(e)?e.ownerDocument:e.document)||window.document).documentElement}function zn(e){return Le(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ka(e){return Et(De(e)).left+zn(e).scrollLeft}function St(e){if(Be(e)==="html")return e;const n=e.assignedSlot||e.parentNode||di(e)&&e.host||De(e);return di(n)?n.host:n}function Ma(e){const n=St(e);return ur(n)?n.ownerDocument.body:he(n)&&On(n)?n:Ma(n)}function An(e,n){var o;n===void 0&&(n=[]);const r=Ma(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),a=se(r);return i?n.concat(a,a.visualViewport||[],On(r)?r:[]):n.concat(r,An(r))}function li(e,n,o){return n==="viewport"?ht((function(r,i){const a=se(r),s=De(r),d=a.visualViewport;let l=s.clientWidth,u=s.clientHeight,p=0,c=0;if(d){l=d.width,u=d.height;const f=xa();(f||!f&&i==="fixed")&&(p=d.offsetLeft,c=d.offsetTop)}return{width:l,height:u,x:p,y:c}})(e,o)):Le(n)?ht((function(r,i){const a=Et(r,!0,i==="fixed"),s=a.top+r.clientTop,d=a.left+r.clientLeft,l=he(r)?Xe(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:d*l.x,y:s*l.y}})(n,o)):ht((function(r){const i=De(r),a=zn(r),s=r.ownerDocument.body,d=wt(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),l=wt(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight);let u=-a.scrollLeft+ka(r);const p=-a.scrollTop;return ge(s).direction==="rtl"&&(u+=wt(i.clientWidth,s.clientWidth)-d),{width:d,height:l,x:u,y:p}})(De(e)))}function ui(e){return he(e)&&ge(e).position!=="fixed"?e.offsetParent:null}function ci(e){const n=se(e);let o=ui(e);for(;o&&C1(o)&&ge(o).position==="static";)o=ui(o);return o&&(Be(o)==="html"||Be(o)==="body"&&ge(o).position==="static"&&!Do(o))?n:o||(function(r){let i=St(r);for(;he(i)&&!ur(i);){if(Do(i))return i;i=St(i)}return null})(e)||n}function N1(e,n,o){const r=he(n),i=De(n),a=Et(e,!0,o==="fixed",n);let s={scrollLeft:0,scrollTop:0};const d={x:0,y:0};if(r||!r&&o!=="fixed")if((Be(n)!=="body"||On(i))&&(s=zn(n)),he(n)){const l=Et(n,!0);d.x=l.x+n.clientLeft,d.y=l.y+n.clientTop}else i&&(d.x=ka(i));return{x:a.left+s.scrollLeft-d.x,y:a.top+s.scrollTop-d.y,width:a.width,height:a.height}}const k1={getClippingRect:function(e){let{element:n,boundary:o,rootBoundary:r,strategy:i}=e;const a=o==="clippingAncestors"?(function(u,p){const c=p.get(u);if(c)return c;let f=An(u).filter((w=>Le(w)&&Be(w)!=="body")),m=null;const g=ge(u).position==="fixed";let h=g?St(u):u;for(;Le(h)&&!ur(h);){const w=ge(h),v=Do(h);(g?v||m:v||w.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=w:f=f.filter((b=>b!==h)),h=St(h)}return p.set(u,f),f})(n,this._c):[].concat(o),s=[...a,r],d=s[0],l=s.reduce(((u,p)=>{const c=li(n,p,i);return u.top=wt(c.top,u.top),u.right=si(c.right,u.right),u.bottom=si(c.bottom,u.bottom),u.left=wt(c.left,u.left),u}),li(n,d,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:n,offsetParent:o,strategy:r}=e;const i=he(o),a=De(o);if(o===a)return n;let s={scrollLeft:0,scrollTop:0},d={x:1,y:1};const l={x:0,y:0};if((i||!i&&r!=="fixed")&&((Be(o)!=="body"||On(a))&&(s=zn(o)),he(o))){const u=Et(o);d=Xe(o),l.x=u.x+o.clientLeft,l.y=u.y+o.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-s.scrollLeft*d.x+l.x,y:n.y*d.y-s.scrollTop*d.y+l.y}},isElement:Le,getDimensions:function(e){return he(e)?ya(e):e.getBoundingClientRect()},getOffsetParent:ci,getDocumentElement:De,getScale:Xe,async getElementRects(e){let{reference:n,floating:o,strategy:r}=e;const i=this.getOffsetParent||ci,a=this.getDimensions;return{reference:N1(n,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>ge(e).direction==="rtl"},M1=(e,n,o)=>{const r=new Map,i={platform:k1,...o},a={...i.platform,_c:r};return f1(e,n,{...i,platform:a})};function Aa(e,n){for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&(typeof n[o]=="object"&&e[o]?Aa(e[o],n[o]):e[o]=n[o])}const ue={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Lt(e,n){let o=ue.themes[e]||{},r;do r=o[n],typeof r>"u"?o.$extend?o=ue.themes[o.$extend]||{}:(o=null,r=ue[n]):o=null;while(o);return r}function A1(e){const n=[e];let o=ue.themes[e]||{};do o.$extend&&!o.$resetCss?(n.push(o.$extend),o=ue.themes[o.$extend]||{}):o=null;while(o);return n.map(r=>`v-popper--theme-${r}`)}function pi(e){const n=[e];let o=ue.themes[e]||{};do o.$extend?(n.push(o.$extend),o=ue.themes[o.$extend]||{}):o=null;while(o);return n}let nt=!1;if(typeof window<"u"){nt=!1;try{const e=Object.defineProperty({},"passive",{get(){nt=!0}});window.addEventListener("test",null,e)}catch{}}let Ia=!1;typeof window<"u"&&typeof navigator<"u"&&(Ia=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Ta=["auto","top","bottom","left","right"].reduce((e,n)=>e.concat([n,`${n}-start`,`${n}-end`]),[]),fi={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},mi={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function gi(e,n){const o=e.indexOf(n);o!==-1&&e.splice(o,1)}function io(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const de=[];let _e=null;const hi={};function wi(e){let n=hi[e];return n||(n=hi[e]=[]),n}let Bo=function(){};typeof window<"u"&&(Bo=window.Element);function V(e){return function(n){return Lt(n.theme,e)}}const ao="__floating-vue__popper",Ea=()=>t.defineComponent({name:"VPopper",provide(){return{[ao]:{parentPopper:this}}},inject:{[ao]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:V("disabled")},positioningDisabled:{type:Boolean,default:V("positioningDisabled")},placement:{type:String,default:V("placement"),validator:e=>Ta.includes(e)},delay:{type:[String,Number,Object],default:V("delay")},distance:{type:[Number,String],default:V("distance")},skidding:{type:[Number,String],default:V("skidding")},triggers:{type:Array,default:V("triggers")},showTriggers:{type:[Array,Function],default:V("showTriggers")},hideTriggers:{type:[Array,Function],default:V("hideTriggers")},popperTriggers:{type:Array,default:V("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:V("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:V("popperHideTriggers")},container:{type:[String,Object,Bo,Boolean],default:V("container")},boundary:{type:[String,Bo],default:V("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:V("strategy")},autoHide:{type:[Boolean,Function],default:V("autoHide")},handleResize:{type:Boolean,default:V("handleResize")},instantMove:{type:Boolean,default:V("instantMove")},eagerMount:{type:Boolean,default:V("eagerMount")},popperClass:{type:[String,Array,Object],default:V("popperClass")},computeTransformOrigin:{type:Boolean,default:V("computeTransformOrigin")},autoMinSize:{type:Boolean,default:V("autoMinSize")},autoSize:{type:[Boolean,String],default:V("autoSize")},autoMaxSize:{type:Boolean,default:V("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:V("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:V("preventOverflow")},overflowPadding:{type:[Number,String],default:V("overflowPadding")},arrowPadding:{type:[Number,String],default:V("arrowPadding")},arrowOverflow:{type:Boolean,default:V("arrowOverflow")},flip:{type:Boolean,default:V("flip")},shift:{type:Boolean,default:V("shift")},shiftCrossAxis:{type:Boolean,default:V("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:V("noAutoFocus")},disposeTimeout:{type:Number,default:V("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[ao])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,n;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((n=this.popperShowTriggers)==null?void 0:n.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,n)=>(e[n]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:n=!1,force:o=!1}={}){var r,i;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,n),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:n=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:n}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,n),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(n=>n.nodeType===n.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(v1({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?e.middleware.push(h1({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(b1({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&e.middleware.push(w1({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(m1({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:a})=>{let s;const{centerOffset:d}=a.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(d)>i.reference.width/2:s=Math.abs(d)>i.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:a,middlewareData:s})=>{var d;if((d=s.autoSize)!=null&&d.skip)return{};let l,u;return a.startsWith("top")||a.startsWith("bottom")?l=i.reference.width:u=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(x1({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const o=await M1(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,n=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),_e&&this.instantMove&&_e.instantMove&&_e!==this.parentPopper){_e.$_applyHide(!0),this.$_applyShow(!0);return}n?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,n=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(_e=this),n?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const n=this.delay;return parseInt(n&&n[e]||n||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await io(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...An(this.$_referenceNode),...An(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const n=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),r=o.parentNode.getBoundingClientRect(),i=n.x+n.width/2-(r.left+o.offsetLeft),a=n.y+n.height/2-(r.top+o.offsetTop);this.result.transformOrigin=`${i}px ${a}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let n;for(let o=0;o<de.length;o++)n=de[o],n.showGroup!==e&&(n.hide(),n.$emit("close-group"))}de.push(this),document.body.classList.add("v-popper--some-open");for(const n of pi(this.theme))wi(n).push(this),document.body.classList.add(`v-popper--some-open--${n}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await io(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,gi(de,this),de.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of pi(this.theme)){const r=wi(o);gi(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}_e===this&&(_e=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const n=this.disposeTimeout;n!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},n)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await io(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,fi,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],fi,this.popperTriggers,this.popperShowTriggers,e);const n=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,mi,this.triggers,this.hideTriggers,n),this.$_registerTriggerListeners([this.$_popperNode],mi,this.popperTriggers,this.popperHideTriggers,n)},$_registerEventListeners(e,n,o){this.$_events.push({targetNodes:e,eventType:n,handler:o}),e.forEach(r=>r.addEventListener(n,o,nt?{passive:!0}:void 0))},$_registerTriggerListeners(e,n,o,r,i){let a=o;r!=null&&(a=typeof r=="function"?r(a):r),a.forEach(s=>{const d=n[s];d&&this.$_registerEventListeners(e,d,i)})},$_removeEventListeners(e){const n=[];this.$_events.forEach(o=>{const{targetNodes:r,eventType:i,handler:a}=o;!e||e===i?r.forEach(s=>s.removeEventListener(i,a)):n.push(o)}),this.$_events=n},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,n=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,n){for(const o of this.$_targetNodes){const r=o.getAttribute(e);r&&(o.removeAttribute(e),o.setAttribute(n,r))}},$_applyAttrsToTarget(e){for(const n of this.$_targetNodes)for(const o in e){const r=e[o];r==null?n.removeAttribute(o):n.setAttribute(o,r)}},$_updateParentShownChildren(e){let n=this.parentPopper;for(;n;)e?n.shownChildren.add(this.randomId):(n.shownChildren.delete(this.randomId),n.pendingHide&&n.hide()),n=n.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if($t>=e.left&&$t<=e.right&&yt>=e.top&&yt<=e.bottom){const n=this.$_popperNode.getBoundingClientRect(),o=$t-Ie,r=yt-Te,i=n.left+n.width/2-Ie+(n.top+n.height/2)-Te+n.width+n.height,a=Ie+o*i,s=Te+r*i;return Vt(Ie,Te,a,s,n.left,n.top,n.left,n.bottom)||Vt(Ie,Te,a,s,n.left,n.top,n.right,n.top)||Vt(Ie,Te,a,s,n.right,n.top,n.right,n.bottom)||Vt(Ie,Te,a,s,n.left,n.bottom,n.right,n.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Ia){const e=nt?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",n=>$i(n,!0),e),document.addEventListener("touchend",n=>yi(n,!0),e)}else window.addEventListener("mousedown",e=>$i(e,!1),!0),window.addEventListener("click",e=>yi(e,!1),!0);window.addEventListener("resize",T1)}function $i(e,n){if(ue.autoHideOnMousedown)Sa(e,n);else for(let o=0;o<de.length;o++){const r=de[o];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function yi(e,n){ue.autoHideOnMousedown||Sa(e,n)}function Sa(e,n){const o={};for(let r=de.length-1;r>=0;r--){const i=de[r];try{const a=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!o[i.randomId]&&vi(i,a,e)){if(i.$_handleGlobalClose(e,n),!e.closeAllPopover&&e.closePopover&&a){let d=i.parentPopper;for(;d;)o[d.randomId]=!0,d=d.parentPopper;return}let s=i.parentPopper;for(;s&&vi(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,n),s=s.parentPopper}})}catch{}}}function vi(e,n,o){return o.closeAllPopover||o.closePopover&&n||I1(e,o)&&!n}function I1(e,n){if(typeof e.autoHide=="function"){const o=e.autoHide(n);return e.lastAutoHide=o,o}return e.autoHide}function T1(){for(let e=0;e<de.length;e++)de[e].$_computePosition()}let Ie=0,Te=0,$t=0,yt=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Ie=$t,Te=yt,$t=e.clientX,yt=e.clientY},nt?{passive:!0}:void 0);function Vt(e,n,o,r,i,a,s,d){const l=((s-i)*(n-a)-(d-a)*(e-i))/((d-a)*(o-e)-(s-i)*(r-n)),u=((o-e)*(n-a)-(r-n)*(e-i))/((d-a)*(o-e)-(s-i)*(r-n));return l>=0&&l<=1&&u>=0&&u<=1}const E1={extends:Ea()},Rn=(e,n)=>{const o=e.__vccOpts||e;for(const[r,i]of n)o[r]=i;return o};function S1(e,n,o,r,i,a){return t.openBlock(),t.createElementBlock("div",{ref:"reference",class:t.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[t.renderSlot(e.$slots,"default",t.normalizeProps(t.guardReactiveProps(e.slotData)))],2)}const L1=Rn(E1,[["render",S1]]);function D1(){var e=window.navigator.userAgent,n=e.indexOf("MSIE ");if(n>0)return parseInt(e.substring(n+5,e.indexOf(".",n)),10);var o=e.indexOf("Trident/");if(o>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}let Gt;function jo(){jo.init||(jo.init=!0,Gt=D1()!==-1)}var Fn={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){jo(),t.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Gt&&this.$el.appendChild(e),e.data="about:blank",Gt||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Gt&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const B1=t.withScopeId("data-v-b329ee4c");t.pushScopeId("data-v-b329ee4c");const j1={class:"resize-observer",tabindex:"-1"};t.popScopeId();const P1=B1((e,n,o,r,i,a)=>(t.openBlock(),t.createBlock("div",j1)));Fn.render=P1;Fn.__scopeId="data-v-b329ee4c";Fn.__file="src/components/ResizeObserver.vue";const La=(e="theme")=>({computed:{themeClass(){return A1(this[e])}}}),_1=t.defineComponent({name:"VPopperContent",components:{ResizeObserver:Fn},mixins:[La()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),O1=["id","aria-hidden","tabindex","data-popper-placement"],z1={ref:"inner",class:"v-popper__inner"},R1=t.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),F1=t.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),V1=[R1,F1];function H1(e,n,o,r,i,a){const s=t.resolveComponent("ResizeObserver");return t.openBlock(),t.createElementBlock("div",{id:e.popperId,ref:"popover",class:t.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:t.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:n[2]||(n[2]=t.withKeys(d=>e.autoHide&&e.$emit("hide"),["esc"]))},[t.createElementVNode("div",{class:"v-popper__backdrop",onClick:n[0]||(n[0]=d=>e.autoHide&&e.$emit("hide"))}),t.createElementVNode("div",{class:"v-popper__wrapper",style:t.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[t.createElementVNode("div",z1,[e.mounted?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",null,[t.renderSlot(e.$slots,"default")]),e.handleResize?(t.openBlock(),t.createBlock(s,{key:0,onNotify:n[1]||(n[1]=d=>e.$emit("resize",d))})):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],512),t.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:t.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},V1,4)],4)],46,O1)}const Da=Rn(_1,[["render",H1]]),Ba={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Po=function(){};typeof window<"u"&&(Po=window.Element);const U1=t.defineComponent({name:"VPopperWrapper",components:{Popper:L1,PopperContent:Da},mixins:[Ba,La("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Po,Boolean],default:void 0},boundary:{type:[String,Po],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function G1(e,n,o,r,i,a){const s=t.resolveComponent("PopperContent"),d=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(d,t.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:n[0]||(n[0]=()=>e.$emit("show")),onHide:n[1]||(n[1]=()=>e.$emit("hide")),"onUpdate:shown":n[2]||(n[2]=l=>e.$emit("update:shown",l)),onApplyShow:n[3]||(n[3]=()=>e.$emit("apply-show")),onApplyHide:n[4]||(n[4]=()=>e.$emit("apply-hide")),onCloseGroup:n[5]||(n[5]=()=>e.$emit("close-group")),onCloseDirective:n[6]||(n[6]=()=>e.$emit("close-directive")),onAutoHide:n[7]||(n[7]=()=>e.$emit("auto-hide")),onResize:n[8]||(n[8]=()=>e.$emit("resize"))}),{default:t.withCtx(({popperId:l,isShown:u,shouldMountContent:p,skipTransition:c,autoHide:f,show:m,hide:g,handleResize:h,onResize:w,classes:v,result:b})=>[t.renderSlot(e.$slots,"default",{shown:u,show:m,hide:g}),t.createVNode(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:u,mounted:p,"skip-transition":c,"auto-hide":f,"handle-resize":h,classes:v,result:b,onHide:g,onResize:w},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"popper",{shown:u,hide:g})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const cr=Rn(U1,[["render",G1]]),W1={...cr,name:"VDropdown",vPopperTheme:"dropdown"},Y1={...cr,name:"VMenu",vPopperTheme:"menu"},Z1={...cr,name:"VTooltip",vPopperTheme:"tooltip"},Q1=t.defineComponent({name:"VTooltipDirective",components:{Popper:Ea(),PopperContent:Da},mixins:[Ba],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Lt(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Lt(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const n=++this.$_fetchId,o=this.content(this);o.then?o.then(r=>this.onResult(n,r)):this.onResult(n,o)}},onResult(e,n){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=n)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),J1=["innerHTML"],K1=["textContent"];function X1(e,n,o,r,i,a){const s=t.resolveComponent("PopperContent"),d=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(d,t.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:t.withCtx(({popperId:l,isShown:u,shouldMountContent:p,skipTransition:c,autoHide:f,hide:m,handleResize:g,onResize:h,classes:w,result:v})=>[t.createVNode(s,{ref:"popperContent",class:t.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:u,mounted:p,"skip-transition":c,"auto-hide":f,"handle-resize":g,classes:w,result:v,onHide:m,onResize:h},{default:t.withCtx(()=>[e.html?(t.openBlock(),t.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,J1)):(t.openBlock(),t.createElementBlock("div",{key:1,textContent:t.toDisplayString(e.finalContent)},null,8,K1))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const q1=Rn(Q1,[["render",X1]]),ja="v-popper--has-tooltip";function ep(e,n){let o=e.placement;if(!o&&n)for(const r of Ta)n[r]&&(o=r);return o||(o=Lt(e.theme||"tooltip","placement")),o}function Pa(e,n,o){let r;const i=typeof n;return i==="string"?r={content:n}:n&&i==="object"?r=n:r={content:!1},r.placement=ep(r,o),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let so,Dt,tp=0;function np(){if(so)return;Dt=t.ref([]),so=t.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:Dt}},render(){return this.directives.map(n=>t.h(q1,{...n.options,shown:n.shown||n.options.shown,key:n.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),so.mount(e)}function op(e,n,o){np();const r=t.ref(Pa(e,n,o)),i=t.ref(!1),a={id:tp++,options:r,shown:i};return Dt.value.push(a),e.classList&&e.classList.add(ja),e.$_popper={options:r,item:a,show(){i.value=!0},hide(){i.value=!1}}}function _a(e){if(e.$_popper){const n=Dt.value.indexOf(e.$_popper.item);n!==-1&&Dt.value.splice(n,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ja)}function bi(e,{value:n,modifiers:o}){const r=Pa(e,n,o);if(!r.content||Lt(r.theme||"tooltip","disabled"))_a(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=op(e,n,o),typeof n.shown<"u"&&n.shown!==e.$_popperOldShown&&(e.$_popperOldShown=n.shown,n.shown?i.show():i.hide())}}const rp={beforeMount:bi,updated:bi,beforeUnmount(e){_a(e)}};function xi(e){e.addEventListener("mousedown",In),e.addEventListener("click",In),e.addEventListener("touchstart",Oa,nt?{passive:!0}:!1)}function Ci(e){e.removeEventListener("mousedown",In),e.removeEventListener("click",In),e.removeEventListener("touchstart",Oa),e.removeEventListener("touchend",za),e.removeEventListener("touchcancel",Ra)}function In(e){const n=e.currentTarget;e.closePopover=!n.$_vclosepopover_touch,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}function Oa(e){if(e.changedTouches.length===1){const n=e.currentTarget;n.$_vclosepopover_touch=!0;const o=e.changedTouches[0];n.$_vclosepopover_touchPoint=o,n.addEventListener("touchend",za),n.addEventListener("touchcancel",Ra)}}function za(e){const n=e.currentTarget;if(n.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],r=n.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-r.screenY)<20&&Math.abs(o.screenX-r.screenX)<20,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}}function Ra(e){const n=e.currentTarget;n.$_vclosepopover_touch=!1}const ip={beforeMount(e,{value:n,modifiers:o}){e.$_closePopoverModifiers=o,(typeof n>"u"||n)&&xi(e)},updated(e,{value:n,oldValue:o,modifiers:r}){e.$_closePopoverModifiers=r,n!==o&&(typeof n>"u"||n?xi(e):Ci(e))},beforeUnmount(e){Ci(e)}};function ap(e,n={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Aa(ue,n),e.directive("tooltip",rp),e.directive("close-popper",ip),e.component("VTooltip",Z1),e.component("VDropdown",W1),e.component("VMenu",Y1))}const sp={version:"5.2.2",install:ap,options:ue},dp="c3fd21c9-c91a-4c66-baa5-c3e050c2cc74",Ni="2026-11-13T12:25:32.993Z",lp="c5ac1602-351c-449e-8e95-7e413c31817a",up="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0zLjA0IDEzLjE0YzAtMSAuOTMtMS43NiAxLjkyLTEuNTVjLjQ0LjEuOSAwIDEuMjYtLjI2bC41MS0uMzdhNSA1IDAgMCAxIDEuMDctLjY2YTIgMiAwIDAgMSAxLjEzLS4wNGMuMy4wNy41Ny4yNCAxLjEyLjU3bC4yMi4xNGMuNy40MiAxLjA0LjYzIDEuNDIuN2EyIDIgMCAwIDAgLjYzIDBjLjM4LS4wNi43My0uMjYgMS40My0uNjZsLjQyLS4yNWMuNTEtLjMuNzctLjQ0IDEuMDMtLjUxYTIgMiAwIDAgMSAxLjIxLjA3Yy4yNi4xLjUuMjcuOTcuNjJsLjU1LjRjLjM0LjI1Ljc3LjM0IDEuMi4yNWMuOS0uMiAxLjc4LjQ5IDEuNzggMS40M3Y1LjY3YzAgLjczIDAgMS4wOS0uMDkgMS4zOGEyIDIgMCAwIDEtMS4zIDEuM2MtLjMuMS0uNjYuMS0xLjM4LjFjLS43MyAwLTEuMDkgMC0xLjM4LS4xYTIgMiAwIDAgMS0xLjMtMS4zYy0uMS0uMy0uMS0uNjUtLjEtMS4zOHYtLjJjMC0uOTMgMC0xLjQtLjE1LTEuNzVhMiAyIDAgMCAwLTEuMS0xLjFhNSA1IDAgMCAwLTEuNzQtLjE0aC0uODFjLS45MiAwLTEuMzggMC0xLjc0LjE0YTIgMiAwIDAgMC0xLjEgMS4xYy0uMTUuMzYtLjE1LjgyLS4xNSAxLjc0di4yM2MwIC43IDAgMS4wNi0uMDkgMS4zNWEyIDIgMCAwIDEtMS4zMiAxLjMyYy0uMjguMS0uNjQuMS0xLjM1LjFzLTEuMDcgMC0xLjM2LS4xYTIgMiAwIDAgMS0xLjMyLTEuMzJjLS4wOS0uMjktLjA5LS42NC0uMDktMS4zNXoiIG9wYWNpdHk9Ii4yIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTEuODYgOS42MmMwIDEuMi41NCAyLjIyIDIuNzEgMi4yMmMyLjE4IDAgMy42Ni0yLjIyIDMuNjYtMi4yMnMxLjU1IDIuMjIgMy43MiAyLjIyYzIuMTggMCAzLjg1LTIuMjMgMy44NS0yLjIzczEuMzQgMi4yMyAzLjY1IDIuMjNjMS44IDAgMi42OS0xLjIgMi42OS0yLjJxMC0uMy0uMTUtLjk2Yy0uNTUtMi43LS44My00LjA1LTEuOTMtNC45NXMtMi42LS45LTUuNjItLjlIOS41Yy0yLjk3IDAtNC40NSAwLTUuNTYuOXMtMS4zNyAyLjItMS45MSA0LjgzcS0uMTYuNzEtLjE2IDEuMDZtMTkuMDQgMi4zMnYxLjUzYzAgMy43NyAwIDUuNjYtMS4xNyA2Ljgzcy0zLjA2IDEuMTctNi44MyAxLjE3aC0xLjg3Yy0zLjc3IDAtNS42NSAwLTYuODMtMS4xN3MtMS4xNy0zLjA2LTEuMTctNi44M3YtMS41MyIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0xNS40NCAyMS4yMnYtMi4zYzAtMS4zNiAwLTIuMDQtLjMyLTIuNTRhMiAyIDAgMCAwLS42LS42Yy0uNDktLjMxLTEuMTctLjMxLTIuNTQtLjMxcy0yLjA1IDAtMi41NS4zMmEyIDIgMCAwIDAtLjYuNmMtLjMxLjQ5LS4zMSAxLjE3LS4zMSAyLjU0djIuMjkiIC8+Cgk8L2c+Cjwvc3ZnPgo=",R=(e="")=>({"pt-BR":e,"en-US":e,"es-ES":e}),cp=(e,n)=>n==null?{label:R(e)}:n.label?n:{...n,label:R(e)},oe=e=>({id:e.id,companyId:dp,name:e.name,action:e.action,message:null,automaticMessage:null,callOnQueue:null,uraDescription:null,interactiveMessageId:null,configId:e.configId??null,queueId:null,redirectQueue:null,redirectRuleId:null,questionnaire:null,webhook:null,isRoot:!1,redirectDefault:!1,redirectTimeout:60,delay:null,disableTyping:!1,settings:cp(e.name,e.settings),archivedAt:null,autoTagEnabled:!1,autoTagIds:[],createdAt:Ni,updatedAt:Ni}),ie=(e,n)=>({id:e,nextRuleId:n}),lo=oe({id:"69b262ed-2f08-4f61-90d9-8099f6f56509",name:"Explorar Produtos",action:"widget-base-screen",settings:{body:{logo:"",title:R(""),eyebrow:R(""),subtitle:R("Preparado para dar um upgrade? 🚀 Escolha uma categoria e descubra nossas novidades!")},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiPgoJCTxwYXRoIGQ9Ik0zLjk3NyA5Ljg0QTIgMiAwIDAgMSA1Ljk3MSA4aDEyLjA1OGEyIDIgMCAwIDEgMS45OTQgMS44NGwuODAzIDEwQTIgMiAwIDAgMSAxOC44MzMgMjJINS4xNjdhMiAyIDAgMCAxLTEuOTkzLTIuMTZ6IiAvPgoJCTxwYXRoIGQ9Ik0xNiAxMVY2YTQgNCAwIDAgMC00LTR2MGE0IDQgMCAwIDAtNCA0djUiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:R("OpensTec Store"),subtitle:R("Tecnologia para sua vida")}}}),uo=oe({id:"fcecfd31-fc37-4a7f-926c-5180be2e3df3",name:"Acompanhar Pedido",action:"widget-base-screen",settings:{body:{logo:"",title:R(""),eyebrow:R(""),subtitle:R("Vamos descobrir onde está seu pedido? 📦 Escolha uma opção para continuar.")},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0yMS40IDguMzF2Ny42MmEuNS41IDAgMCAxLS43OS40bC0yLjE1LTEuNWEuNS41IDAgMCAwLS41OS4wMWwtMi40NSAxLjg1YS41LjUgMCAwIDAtLjE4LjUzbC42NyAyLjRhLjUuNSAwIDAgMS0uMjQuNTdsLTMuNzggMi4wMmEuNS41IDAgMCAxLS4yMi0uNDRsLjcxLTkuMzVhLjUuNSAwIDAgMSAuMjctLjRsOC4wMi00LjE1YS41LjUgMCAwIDEgLjczLjQ0IiBvcGFjaXR5PSIuMiIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0yMS40MiAxMi4zMnYtMi4xNWMwLTEuNyAwLTIuNTQtLjQtMy4yNHMtMS4xNC0xLjEyLTIuNi0xLjk2TDE1IDIuOTljLTEuNDYtLjg0LTIuMi0xLjI2LTMtMS4yNnMtMS41NC40Mi0zIDEuMjZMNS41OCA0Ljk3Yy0xLjQ2Ljg0LTIuMiAxLjI3LTIuNiAxLjk2Yy0uNC43LS40IDEuNTQtLjQgMy4yNHY0LjRjMCAuOTcgMCAxLjQ1LjEzIDEuODhhMyAzIDAgMCAwIC42NyAxLjE2Yy4zLjMzLjcyLjU3IDEuNTYgMS4wNWw1LjQ4IDMuMTZjLjcuNDEgMS41OC0uMSAxLjU4LS45MU0zLjEyIDcuNTNMMTIgMTIuNDJtMCAwdjguNTVNNy4zIDkuNTd2NC42MW0xMy41OC02LjY1TDEyIDEyLjQyTTcuMyA5LjU3bDkuMTQtNS40Mm00LjA2IDE2LjQ3bDEuODcgMS44NyIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0yMS40IDE4LjEzYTMuMiAzLjIgMCAwIDEtMy4yIDMuMmEzLjIgMy4yIDAgMSAxIDMuMi0zLjIiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:R("OpensTec Store"),subtitle:R("Tecnologia para sua vida")}}}),ki=oe({id:"91a443ca-0f26-4249-863b-0bfcb2a376a8",name:"Trocas e devoluções",action:"widget-base-screen",settings:{body:{logo:"",title:R(""),eyebrow:R(""),subtitle:R("Precisou trocar ou devolver um produto? Sem problemas! Vamos ajudar você.")},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9IiMwNTE3NzkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIj4KCQk8cGF0aCBkPSJNNi42NCA5Ljc4OGEuNzUuNzUgMCAwIDEgLjUzLjkxOGE1IDUgMCAwIDAgNy4zMyA1LjYyNGEuNzUuNzUgMCAxIDEgLjc1IDEuM2E2LjUwMSA2LjUwMSAwIDAgMS05LjUyOS03LjMxMmEuNzUuNzUgMCAwIDEgLjkxOS0uNTNNOC43NSA2LjM3YTYuNSA2LjUgMCAwIDEgOS41MjkgNy4zMTJhLjc1Ljc1IDAgMSAxLTEuNDUtLjM4OEE1LjAwMSA1LjAwMSAwIDAgMCA5LjUgNy42N2EuNzUuNzUgMCAxIDEtLjc1LTEuMyIgLz4KCQk8cGF0aCBkPSJNNS43MiA5LjQ3YS43NS43NSAwIDAgMSAxLjA2IDBsMi41IDIuNWEuNzUuNzUgMCAxIDEtMS4wNiAxLjA2bC0xLjk3LTEuOTdsLTEuOTcgMS45N2EuNzUuNzUgMCAwIDEtMS4wNi0xLjA2em05IDEuNWEuNzUuNzUgMCAwIDEgMS4wNiAwbDEuOTcgMS45N2wxLjk3LTEuOTdhLjc1Ljc1IDAgMSAxIDEuMDYgMS4wNmwtMi41IDIuNWEuNzUuNzUgMCAwIDEtMS4wNiAwbC0yLjUtMi41YS43NS43NSAwIDAgMSAwLTEuMDYiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:R("OpensTec Store"),subtitle:R("Tecnologia para sua vida")}}}),co=oe({id:"1d846621-3e82-4fad-a3f2-cee80503177a",name:"Suporte",action:"widget-identification-screen",settings:{form:{fields:[]},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xMiAyQzYuNDg2IDIgMiA2LjQ4NiAyIDEydjQuMTQzQzIgMTcuMTY3IDIuODk3IDE4IDQgMThoMWExIDEgMCAwIDAgMS0xdi01LjE0M2ExIDEgMCAwIDAtMS0xaC0uOTA4QzQuNjQ4IDYuOTg3IDcuOTc4IDQgMTIgNHM3LjM1MiAyLjk4NyA3LjkwOCA2Ljg1N0gxOWExIDEgMCAwIDAtMSAxVjE4YzAgMS4xMDMtLjg5NyAyLTIgMmgtMnYtMWgtNHYzaDZjMi4yMDYgMCA0LTEuNzk0IDQtNGMxLjEwMyAwIDItLjgzMyAyLTEuODU3VjEyYzAtNS41MTQtNC40ODYtMTAtMTAtMTAiIC8+Cjwvc3ZnPgo=",title:R("OpensTec Stora"),subtitle:R("Tecnologia para sua vida")}}}),Mi=oe({id:"f666871a-6cc7-44f8-8e63-e9363d8e85ff",name:"Entregas",action:"widget-article-screen",settings:{body:{content:{"en-US":"","es-ES":"","pt-BR":`
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),ds={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|[2-467])\\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,[["(?:(?:241|349)0\\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)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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)|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","[024-7]\\d{7}",[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{8}",[10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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)?","(?:[2-7]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]|50"]],["(\\d{8})","$1",["[5-7]"]],["(\\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","90\\d{5}|(?:0800|[2-6]|(?:7|800)\\d)\\d{6}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[2-6]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\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]|[67]3)|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]|3[23]|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-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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","8776\\d{4}|(?:[27]\\d|61)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-8]"]]]],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})","$1 $2",["101","1010","10100"],"0$1"],["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[15]|35|49|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|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]|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|9[0-35-9])|[39]7[0-79]","10(?:12|9[56])|2[0-57-9](?:1[02]|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:123|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:123|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["101","1010"]],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[15]|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|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]|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])","(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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]))[19]","(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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])","(?:3(?:[15]\\d|35|49|7[0-79]|9[1-68])|4(?:1[125-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-35]|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",["[48]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-6])|4(?:1[25-9]|[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])|(?:31|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\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]|94"]],["(\\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-36-9]|9(?:5[0-3]|6[0-4]))\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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[03-68]","15(?:[0568]|3[13]|41)"],"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,0,[["528[89]\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|3[01]|5[0-5]))\\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}"]]],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","400\\d{6}|(?:51|[6-9]\\d)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-9]"]]]],ET:["251","00","(?:11|[2-57-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-57-9]"],"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{2})(\\d{2})(\\d{2})","$1 $2 $3",["[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-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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","(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|80[6-9]|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{8}|800\\d{5,6}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2358]"],"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","[48]\\d{8}|[2-9]\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|4(?:[0-35]|4[16-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[48]"]]]],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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|80[6-9]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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(?:05|[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-5]|80[2-46]","11|2[02]|33|4[04]|79[1-5]|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[1245]|3(?:[02-9]|1[0-24-9]))|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]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[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(?:(?: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)|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(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|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]|3[129]|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(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|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|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|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",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[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|427|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",["[47]"],"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","8\\d{13}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"7",0,"8~10"],LA:["856","00","(?:2\\d|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",["2"],"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",["20"]],["(\\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]"]],["(\\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",["20"]]],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{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,"[5-8]"],MC:["377","00","(?:[3489]|[67]\\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",["[67]"],"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","7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],["8[129]\\d{7}"],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",["11|2[16]"],"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","7091\\d{5}|(?:[56]9|[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{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-37-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-9]"]],["(\\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[02-46-9]"]],["(\\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",["30|(?: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","30|(?: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","[78]\\d{8}|[2-9]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-9]"],"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","[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,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",["3[289]|4[246-8]|61|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-8])"],"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,[["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"],["(?: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","(?:[2378]\\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",["[237-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,"[3489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[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(?:[0-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","(?:[2569]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[2569]"],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[013]|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{2})(\\d{5,7})","$1 $2",["1|28|9[2-9]"]],["(\\d)(\\d{7})","$1 $2",["[267]|904"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[346-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-9]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-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","[25-7]\\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",["[25-7]"]],["(\\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|[3689]\\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|66)\\d{7}",[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",["\\d"]]],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-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[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$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{3})(\\d{5})","$1 $2",["826"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["83"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["82"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[25]0|37|49|8[09]"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-478])|7[1-9]","[23568]|4(?:0[2-48]|[1-478])|(?: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","20240"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["20[0-35-7]|4(?:6[45]|[7-9])|[7-9]","20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[2-4]"],"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,[["983[2-57-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[02469]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[02589]|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-2478]|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],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{6,7}|7\\d{6}",[7,8,9,10],[["(\\d{4})(\\d{4,6})","$1 $2",["1(?:2[02]|[89])"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[26]|6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1357-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","(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["26(?:89\\d|9(?: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","8\\d{6}(?:\\d{3})?|[235-8]\\d{8}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[256]|39|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",["3"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"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|5[12]"]],["(\\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})|5(?:0\\d{3}|2[0-2]))\\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 ls(e,n){var o=Array.prototype.slice.call(n);return o.push(ds),e.apply(this,o)}function yr(e,n){e=e.split("-"),n=n.split("-");for(var o=e[0].split("."),r=n[0].split("."),i=0;i<3;i++){var a=Number(o[i]),s=Number(r[i]);if(a>s)return 1;if(s>a)return-1;if(!isNaN(a)&&isNaN(s))return 1;if(isNaN(a)&&!isNaN(s))return-1}return e[1]&&n[1]?e[1]>n[1]?1:e[1]<n[1]?-1:0:!e[1]&&n[1]?1:e[1]&&!n[1]?-1:0}var us={}.constructor;function Je(e){return e!=null&&e.constructor===us}var cs=/^\d+$/;function ps(e){return cs.test(e)}function Xe(e){"@babel/helpers - typeof";return Xe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Xe(e)}function In(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function fs(e,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ms(r.key),r)}}function En(e,n,o){return n&&fs(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ms(e){var n=gs(e,"string");return Xe(n)=="symbol"?n:n+""}function gs(e,n){if(Xe(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(Xe(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var hs="1.2.0",ws="1.7.35",vr=" ext. ",q=(function(){function e(n){In(this,e),Pi(n),this.metadata=n,Oi.call(this,n)}return En(e,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(o){return o!=="001"})}},{key:"getCountryMetadata",value:function(o){return this.metadata.countries[o]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(o){return this.getCountryMetadata(o)!==void 0}},{key:"hasCallingCode",value:function(o){if(this.getCountryCodesForCallingCode(o))return!0;if(this.nonGeographic()){if(this.nonGeographic()[o])return!0}else{var r=this.countryCallingCodes()[o];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(o){return this.nonGeographic()?!!this.nonGeographic()[o]:!this.getCountryCodesForCallingCode(o)}},{key:"country",value:function(o){return this.selectNumberingPlan(o)}},{key:"selectNumberingPlan",value:function(o,r){var i,a;if(o&&(ps(o)?a=o:i=o),r&&(a=r),i&&i!=="001"){var s=this.getCountryMetadata(i);if(!s)throw new Error("Unknown country: ".concat(i));this.numberingPlan=new br(s,this)}else if(a){if(!this.hasCallingCode(a))throw new Error("Unknown calling code: ".concat(a));this.numberingPlan=new br(this.getNumberingPlanMetadata(a),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(o){var r=this.countryCallingCodes()[o];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(o){var r=this.getCountryCodesForCallingCode(o);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(o){var r=this.getCountryCodeForCallingCode(o);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var i=this.nonGeographic()[o];if(i)return i}else{var a=this.countryCallingCodes()[o];if(a&&a.length===1&&a[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(o){return this.numberingPlan.type(o)}},{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(o){return this.selectNumberingPlan(o)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})(),br=(function(){function e(n,o){In(this,e),this.globalMetadataObject=o,this.metadata=n,Oi.call(this,o.metadata)}return En(e,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"_getDefaultCountryMetadataForThisCallingCode",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this._getDefaultCountryMetadataForThisCallingCode()}},{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(o){return o[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var o=this,r=this._getFormats(this.metadata)||this._getFormats(this._getDefaultCountryMetadataForThisCallingCode())||[];return r.map(function(i){return new $s(i,o)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(o){return o[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode())}},{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._getDefaultCountryMetadataForThisCallingCode())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(o){if(this.hasTypes()&&xr(this.types(),o))return new vs(xr(this.types(),o),this)}},{key:"ext",value:function(){return this.v1||this.v2?vr:this.metadata[13]||vr}}])})(),$s=(function(){function e(n,o){In(this,e),this._format=n,this.metadata=o}return En(e,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!ys.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),ys=/^\(?\$1\)?$/,vs=(function(){function e(n,o){In(this,e),this.type=n,this.metadata=o}return En(e,[{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 xr(e,n){switch(n){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 Pi(e){if(!e)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Je(e)||!Je(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(Je(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+bs(e)+": "+e,"."))}var bs=function(n){return Xe(n)};function _i(e,n){var o=new q(n);if(o.hasCountry(e))return o.selectNumberingPlan(e).countryCallingCode();throw new Error("Unknown country: ".concat(e))}function xs(e,n){return n.countries.hasOwnProperty(e)}function Oi(e){var n=e.version;typeof n=="number"?(this.v1=n===1,this.v2=n===2,this.v3=n===3,this.v4=n===4):n?yr(n,hs)===-1?this.v2=!0:yr(n,ws)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function Ro(e,n,o){return Cs(e,void 0,n,o)}function Cs(e,n,o,r){o&&(r=new q(r.metadata),r.selectNumberingPlan(o));var i=r.type(n),a=i&&i.possibleLengths()||r.possibleLengths();if(!a)return"IS_POSSIBLE";var s=e.length,d=a[0];return d===s?"IS_POSSIBLE":d>s?"TOO_SHORT":a[a.length-1]<s?"TOO_LONG":a.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Ns(e,n,o){n===void 0&&(n={});var r=new q(o);if(n.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.country||e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!r.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));r.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");r.selectNumberingPlan(e.countryCallingCode)}}if(r.possibleLengths())return zi(e.phone||e.nationalNumber,r);if(e.countryCallingCode&&r.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function zi(e,n){switch(Ro(e,void 0,n)){case"IS_POSSIBLE":return!0;default:return!1}}function ke(e,n){return e=e||"",new RegExp("^(?:"+n+")$").test(e)}function ks(e,n){var o=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o)return(o=o.call(e)).next.bind(o);if(Array.isArray(e)||(o=Ms(e))||n){o&&(e=o);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.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ms(e,n){if(e){if(typeof e=="string")return Cr(e,n);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Cr(e,n):void 0}}function Cr(e,n){(n==null||n>e.length)&&(n=e.length);for(var o=0,r=Array(n);o<n;o++)r[o]=e[o];return r}var As=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Fo(e,n,o){if(n=n||{},!(!e.country&&!e.countryCallingCode)){var r=new q(o);r.selectNumberingPlan(e.country||e.countryCallingCode);var i=n.v2?e.nationalNumber:e.phone;if(ke(i,r.nationalNumberPattern())){if(Yn(i,"FIXED_LINE",r))return r.type("MOBILE")&&r.type("MOBILE").pattern()===""||!r.type("MOBILE")||Yn(i,"MOBILE",r)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var a=ks(As),s;!(s=a()).done;){var d=s.value;if(Yn(i,d,r))return d}}}}function Yn(e,n,o){var r=o.type(n);return!r||!r.pattern()||r.possibleLengths()&&r.possibleLengths().indexOf(e.length)<0?!1:ke(e,r.pattern())}function Ts(e,n,o){n=n||{};var r=new q(o);if(r.selectNumberingPlan(e.country||e.countryCallingCode),r.hasTypes())return Fo(e,n,r.metadata)!==void 0;var i=n.v2?e.nationalNumber:e.phone;return ke(i,r.nationalNumberPattern())}var Is=/^[A-Z]{2}$/;function Es(e){return Is.test(e)}function Ss(e,n){var o,r,i=new q(n);return Es(e)?(o=e,i.selectNumberingPlan(o),r=i.countryCallingCode()):r=e,{country:o,callingCode:r}}function Ls(e,n,o){var r=new q(o),i=r.getCountryCodesForCallingCode(e);return i?i.filter(function(a){return Ds(n,a,o)}):[]}function Ds(e,n,o){var r=new q(o);return r.selectNumberingPlan(n),r.numberingPlan.possibleLengths().indexOf(e.length)>=0}var Vo=2,Bs=17,js=3,ce="0-90-9٠-٩۰-۹",Ps="-‐-―−ー-",_s="//",Os="..",zs=" ",Rs="()()[]\\[\\]",Fs="~⁓∼~",Wt="".concat(Ps).concat(_s).concat(Os).concat(zs).concat(Rs).concat(Fs),Ho="++",Vs=new RegExp("(["+ce+"])");function Hs(e,n,o,r){if(n){var i=new q(r);i.selectNumberingPlan(n||o);var a=new RegExp(i.IDDPrefix());if(e.search(a)===0){e=e.slice(e.match(a)[0].length);var s=e.match(Vs);if(!(s&&s[1]!=null&&s[1].length>0&&s[1]==="0"))return e}}}function Us(e,n){if(e&&n.numberingPlan.nationalPrefixForParsing()){var o=new RegExp("^(?:"+n.numberingPlan.nationalPrefixForParsing()+")"),r=o.exec(e);if(r){var i,a,s=r.length-1,d=s>0&&r[s];if(n.nationalPrefixTransformRule()&&d)i=e.replace(o,n.nationalPrefixTransformRule()),s>1&&(a=r[1]);else{var l=r[0];i=e.slice(l.length),d&&(a=r[1])}var u;if(d){var c=e.indexOf(r[1]),p=e.slice(0,c);p===n.numberingPlan.nationalPrefix()&&(u=n.numberingPlan.nationalPrefix())}else u=r[0];return{nationalNumber:i,nationalPrefix:u,carrierCode:a}}}return{nationalNumber:e}}function Gs(e,n){var o=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o)return(o=o.call(e)).next.bind(o);if(Array.isArray(e)||(o=Ws(e))||n){o&&(e=o);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.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ws(e,n){if(e){if(typeof e=="string")return Nr(e,n);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Nr(e,n):void 0}}function Nr(e,n){(n==null||n>e.length)&&(n=e.length);for(var o=0,r=Array(n);o<n;o++)r[o]=e[o];return r}function Ys(e,n,o){for(var r=new q(o),i=Gs(n),a;!(a=i()).done;){var s=a.value;if(r.selectNumberingPlan(s),r.leadingDigits()){if(e&&e.search(r.leadingDigits())===0)return s}else if(Fo({phone:e,country:s},void 0,r.metadata))return s}}function Ri(e,n){var o=n.nationalNumber,r=n.metadata,i=r.getCountryCodesForCallingCode(e);if(i)return i.length===1?i[0]:Ys(o,i,r.metadata)}function fo(e,n,o){var r=Us(e,o),i=r.carrierCode,a=r.nationalNumber;if(a!==e){if(!Zs(e,a,o))return{nationalNumber:e};if(o.numberingPlan.possibleLengths()&&(n||(n=Ri(o.numberingPlan.callingCode(),{nationalNumber:a,metadata:o})),!Qs(a,n,o)))return{nationalNumber:e}}return{nationalNumber:a,carrierCode:i}}function Zs(e,n,o){return!(ke(e,o.nationalNumberPattern())&&!ke(n,o.nationalNumberPattern()))}function Qs(e,n,o){switch(Ro(e,n,o)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Js(e,n,o,r,i){if(!(o||r))return{number:e};var a=o?_i(o,i):r;if(e.indexOf(a)===0){var s=new q(i);s.selectNumberingPlan(o||r);var d=e.slice(a.length),l=fo(d,void 0,s),u=l.nationalNumber,c=fo(e,void 0,s),p=c.nationalNumber;if(!ke(p,s.nationalNumberPattern())&&ke(u,s.nationalNumberPattern())||Ro(p,void 0,s)==="TOO_LONG")return{countryCallingCode:a,number:d}}return{number:e}}function Fi(e,n,o,r,i){if(!e)return{};var a;if(e[0]!=="+"){var s=Hs(e,o,r,i);if(s&&s!==e)a=!0,e="+"+s;else{if(o||r){var d=Js(e,n,o,r,i),l=d.countryCallingCode,u=d.number;if(l)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:l,number:u}}return{number:e}}}if(e[1]==="0")return{};for(var c=new q(i),p=2;p-1<=js&&p<=e.length;){var f=e.slice(1,p);if(c.hasCallingCode(f))return c.selectNumberingPlan(f),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:e.slice(p)};p++}return{}}function Ks(e){return e.replace(new RegExp("[".concat(Wt,"]+"),"g")," ").trim()}var Xs=/(\$\d)/;function qs(e,n,o){var r=o.useInternationalFormat,i=o.withNationalPrefix,a=e.replace(new RegExp(n.pattern()),r?n.internationalFormat():i&&n.nationalPrefixFormattingRule()?n.format().replace(Xs,n.nationalPrefixFormattingRule()):n.format());return r?Ks(a):a}var ed=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function td(e,n,o){var r=new q(o);if(r.selectNumberingPlan(e||n),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(ed.test(r.IDDPrefix()))return r.IDDPrefix()}var nd=";ext=",We=function(n){return"([".concat(ce,"]{1,").concat(n,"})")};function Vi(e){var n="20",o="15",r="9",i="6",a="[ \\t,]*",s="[:\\..]?[ \\t,-]*",d="#?",l="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",u="(?:[xx##~~]|int|int)",c="[- ]+",p="[ \\t]*",f="(?:,{2}|;)",m=nd+We(n),g=a+l+s+We(n)+d,h=a+u+s+We(r)+d,w=c+We(i)+"#",v=p+f+s+We(o)+d,b=p+"(?:,)+"+s+We(r)+d;return m+"|"+g+"|"+h+"|"+w+"|"+v+"|"+b}var od="["+ce+"]{"+Vo+"}",rd="["+Ho+"]{0,1}(?:["+Wt+"]*["+ce+"]){3,}["+Wt+ce+"]*",id=new RegExp("^["+Ho+"]{0,1}(?:["+Wt+"]*["+ce+"]){1,2}$","i"),ad=rd+"(?:"+Vi()+")?",sd=new RegExp("^"+od+"$|^"+ad+"$","i");function dd(e){return e.length>=Vo&&sd.test(e)}function ld(e){return id.test(e)}function ud(e){var n=e.number,o=e.ext;if(!n)return"";if(n[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(n).concat(o?";ext="+o:"")}var kr={formatExtension:function(n,o,r){return"".concat(n).concat(r.ext()).concat(o)}};function cd(e,n,o,r){o?o=md({},kr,o):o=kr;var i=new q(r);if(e.country&&e.country!=="001"){if(!i.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));i.selectNumberingPlan(e.country)}else if(e.countryCallingCode)i.selectNumberingPlan(e.countryCallingCode);else return e.phone||"";var a=i.countryCallingCode(),s=o.v2?e.nationalNumber:e.phone,d;switch(n){case"NATIONAL":return s?(d=Yt(s,e.carrierCode,"NATIONAL",i,o),Zn(d,e.ext,i,o.formatExtension)):"";case"INTERNATIONAL":return s?(d=Yt(s,null,"INTERNATIONAL",i,o),d="+".concat(a," ").concat(d),Zn(d,e.ext,i,o.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(s);case"RFC3966":return ud({number:"+".concat(a).concat(s),ext:e.ext});case"IDD":if(!o.fromCountry)return;var l=fd(s,e.carrierCode,a,o.fromCountry,i);return l?Zn(l,e.ext,i,o.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(n,'"'))}}function Yt(e,n,o,r,i){var a=pd(r.formats(),e);return a?qs(e,a,{useInternationalFormat:o==="INTERNATIONAL",withNationalPrefix:!(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&i.nationalPrefix===!1)}):e}function pd(e,n){return gd(e,function(o){if(o.leadingDigitsPatterns().length>0){var r=o.leadingDigitsPatterns()[o.leadingDigitsPatterns().length-1];if(n.search(r)!==0)return!1}return ke(n,o.pattern())})}function Zn(e,n,o,r){return n?r(e,n,o):e}function fd(e,n,o,r,i){var a=_i(r,i.metadata);if(a===o){var s=Yt(e,n,"NATIONAL",i);return o==="1"?o+" "+s:s}var d=td(r,void 0,i.metadata);if(d)return"".concat(d," ").concat(o," ").concat(Yt(e,null,"INTERNATIONAL",i))}function md(){for(var e=1,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];for(;e<o.length;){if(o[e])for(var i in o[e])o[0][i]=o[e][i];e++}return o[0]}function gd(e,n){for(var o=0;o<e.length;){if(n(e[o]))return e[o];o++}}function vt(e){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},vt(e)}function Mr(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,r)}return o}function Ar(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?Mr(Object(o),!0).forEach(function(r){hd(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Mr(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function hd(e,n,o){return(n=Hi(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function wd(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function $d(e,n){for(var o=0;o<n.length;o++){var r=n[o];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Hi(r.key),r)}}function yd(e,n,o){return n&&$d(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Hi(e){var n=vd(e,"string");return vt(n)=="symbol"?n:n+""}function vd(e,n){if(vt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(vt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}var bd=(function(){function e(n,o,r){if(wd(this,e),!n)throw new TypeError("First argument is required");if(typeof n!="string")throw new TypeError("First argument must be a string");if(n[0]==="+"&&!o)throw new TypeError("`metadata` argument not passed");if(Je(o)&&Je(o.countries)){r=o;var i=n;if(!xd.test(i))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var a=Fi(i,void 0,void 0,void 0,r),s=a.countryCallingCode,d=a.number;if(o=d,n=s,!o)throw new Error("Invalid `number` argument passed: too short")}if(!o)throw new TypeError("`nationalNumber` argument is required");if(typeof o!="string")throw new TypeError("`nationalNumber` argument must be a string");Pi(r);var l=Ss(n,r),u=l.country,c=l.callingCode;this.country=u,this.countryCallingCode=c,this.nationalNumber=o,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return yd(e,[{key:"setExt",value:function(o){this.ext=o}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:Ls(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return Ns(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return Ts(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var o=new q(this.getMetadata());return o.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(o){return this.number===o.number&&this.ext===o.ext}},{key:"getType",value:function(){return Fo(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(o,r){return cd(this,o,r?Ar(Ar({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(o){return this.format("NATIONAL",o)}},{key:"formatInternational",value:function(o){return this.format("INTERNATIONAL",o)}},{key:"getURI",value:function(o){return this.format("RFC3966",o)}}])})(),xd=/^\+\d+$/;function mo(e){"@babel/helpers - typeof";return mo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},mo(e)}function Cd(e,n,o){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Nd(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function kd(e,n,o){return n=xt(n),Md(e,Uo()?Reflect.construct(n,o||[],xt(e).constructor):n.apply(e,o))}function Md(e,n){if(n&&(mo(n)=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ad(e)}function Ad(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&bt(e,n)}function go(e){var n=typeof Map=="function"?new Map:void 0;return go=function(r){if(r===null||!Ed(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(n!==void 0){if(n.has(r))return n.get(r);n.set(r,i)}function i(){return Id(r,arguments,xt(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),bt(i,r)},go(e)}function Id(e,n,o){if(Uo())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,n);var i=new(e.bind.apply(e,r));return o&&bt(i,o.prototype),i}function Uo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Uo=function(){return!!e})()}function Ed(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function bt(e,n){return bt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(o,r){return o.__proto__=r,o},bt(e,n)}function xt(e){return xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(e)}var xe=(function(e){function n(o){var r;return Nd(this,n),r=kd(this,n,[o]),Object.setPrototypeOf(r,n.prototype),r.name=r.constructor.name,r}return Td(n,e),Cd(n)})(go(Error)),Tr=new RegExp("(?:"+Vi()+")$","i");function Sd(e){var n=e.search(Tr);if(n<0)return{};for(var o=e.slice(0,n),r=e.match(Tr),i=1;i<r.length;){if(r[i])return{number:o,ext:r[i]};i++}}var Ld={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 Dd(e){return Ld[e]}function Bd(e,n){var o=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o)return(o=o.call(e)).next.bind(o);if(Array.isArray(e)||(o=jd(e))||n){o&&(e=o);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.
|
|
4
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jd(e,n){if(e){if(typeof e=="string")return Ir(e,n);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Ir(e,n):void 0}}function Ir(e,n){(n==null||n>e.length)&&(n=e.length);for(var o=0,r=Array(n);o<n;o++)r[o]=e[o];return r}function Er(e){for(var n="",o=Bd(e.split("")),r;!(r=o()).done;){var i=r.value;n+=Pd(i,n)||""}return n}function Pd(e,n,o){return e==="+"?n?void 0:"+":Dd(e)}var Ui="+",_d="[\\-\\.\\(\\)]?",Sr="(["+ce+"]|"+_d+")",Od="^\\"+Ui+Sr+"*["+ce+"]"+Sr+"*$",zd=new RegExp(Od,"g"),ho=ce,Rd="["+ho+"]+((\\-)*["+ho+"])*",Fd="a-zA-Z",Vd="["+Fd+"]+((\\-)*["+ho+"])*",Hd="^("+Rd+"\\.)*"+Vd+"\\.?$",Ud=new RegExp(Hd,"g"),Lr="tel:",wo=";phone-context=",Gd=";isub=";function Wd(e){var n=e.indexOf(wo);if(n<0)return null;var o=n+wo.length;if(o>=e.length)return"";var r=e.indexOf(";",o);return r>=0?e.substring(o,r):e.substring(o)}function Yd(e){return e===null?!0:e.length===0?!1:zd.test(e)||Ud.test(e)}function Zd(e,n){var o=n.extractFormattedPhoneNumber,r=Wd(e);if(!Yd(r))throw new xe("NOT_A_NUMBER");var i;if(r===null)i=o(e)||"";else{i="",r.charAt(0)===Ui&&(i+=r);var a=e.indexOf(Lr),s;a>=0?s=a+Lr.length:s=0;var d=e.indexOf(wo);i+=e.substring(s,d)}var l=i.indexOf(Gd);if(l>0&&(i=i.substring(0,l)),i!=="")return i}var Qd=250,Jd=new RegExp("["+Ho+ce+"]"),Kd=new RegExp("[^"+ce+"#]+$");function Xd(e,n,o){n=n||{};var r=new q(o);if(n.defaultCountry&&!r.hasCountry(n.defaultCountry))throw n.v2?new xe("INVALID_COUNTRY"):new Error("Unknown country: ".concat(n.defaultCountry));var i=el(e,n.v2,n.extract),a=i.number,s=i.ext,d=i.error;if(!a){if(n.v2)throw d==="TOO_SHORT"?new xe("TOO_SHORT"):new xe("NOT_A_NUMBER");return{}}var l=nl(a,n.defaultCountry,n.defaultCallingCode,r),u=l.country,c=l.nationalNumber,p=l.countryCallingCode,f=l.countryCallingCodeSource,m=l.carrierCode;if(!r.hasSelectedNumberingPlan()){if(n.v2)throw new xe("INVALID_COUNTRY");return{}}if(!c||c.length<Vo){if(n.v2)throw new xe("TOO_SHORT");return{}}if(c.length>Bs){if(n.v2)throw new xe("TOO_LONG");return{}}if(n.v2){var g=new bd(p,c,r.metadata);return u&&(g.country=u),m&&(g.carrierCode=m),s&&(g.ext=s),g.__countryCallingCodeSource=f,g}var h=(n.extended?r.hasSelectedNumberingPlan():u)?ke(c,r.nationalNumberPattern()):!1;return n.extended?{country:u,countryCallingCode:p,carrierCode:m,valid:h,possible:h?!0:!!(n.extended===!0&&r.possibleLengths()&&zi(c,r)),phone:c,ext:s}:h?tl(u,c,s):{}}function qd(e,n,o){if(e){if(e.length>Qd){if(o)throw new xe("TOO_LONG");return}if(n===!1)return e;var r=e.search(Jd);if(!(r<0))return e.slice(r).replace(Kd,"")}}function el(e,n,o){var r=Zd(e,{extractFormattedPhoneNumber:function(s){return qd(s,o,n)}});if(!r)return{};if(!dd(r))return ld(r)?{error:"TOO_SHORT"}:{};var i=Sd(r);return i.ext?i:{number:r}}function tl(e,n,o){var r={country:e,phone:n};return o&&(r.ext=o),r}function nl(e,n,o,r){var i=Fi(Er(e),void 0,n,o,r.metadata),a=i.countryCallingCodeSource,s=i.countryCallingCode,d=i.number,l;if(s)r.selectNumberingPlan(s);else if(d&&(n||o))n?(l=n,r.selectNumberingPlan(n),s=r.numberingPlan.callingCode()):(r.selectNumberingPlan(o),s=o);else return{};if(!d)return{countryCallingCodeSource:a,countryCallingCode:s};var u=fo(Er(d),void 0,r),c=u.nationalNumber,p=u.carrierCode,f=Ri(s,{nationalNumber:c,metadata:r});return f&&(l=f,f==="001"||r.selectNumberingPlan(l)),{country:l,countryCallingCode:s,countryCallingCodeSource:a,nationalNumber:c,carrierCode:p}}function Ct(e){"@babel/helpers - typeof";return Ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ct(e)}function Dr(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,r)}return o}function Br(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?Dr(Object(o),!0).forEach(function(r){ol(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):Dr(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function ol(e,n,o){return(n=rl(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function rl(e){var n=il(e,"string");return Ct(n)=="symbol"?n:n+""}function il(e,n){if(Ct(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(Ct(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function al(e,n,o){return Xd(e,Br(Br({},n),{},{v2:!0}),o)}function Nt(e){"@babel/helpers - typeof";return Nt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Nt(e)}function jr(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,r)}return o}function sl(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?jr(Object(o),!0).forEach(function(r){dl(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):jr(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function dl(e,n,o){return(n=ll(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function ll(e){var n=ul(e,"string");return Nt(n)=="symbol"?n:n+""}function ul(e,n){if(Nt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(Nt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function cl(e,n){return gl(e)||ml(e,n)||fl(e,n)||pl()}function pl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
5
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function fl(e,n){if(e){if(typeof e=="string")return Pr(e,n);var o={}.toString.call(e).slice(8,-1);return o==="Object"&&e.constructor&&(o=e.constructor.name),o==="Map"||o==="Set"?Array.from(e):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?Pr(e,n):void 0}}function Pr(e,n){(n==null||n>e.length)&&(n=e.length);for(var o=0,r=Array(n);o<n;o++)r[o]=e[o];return r}function ml(e,n){var o=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(o!=null){var r,i,a,s,d=[],l=!0,u=!1;try{if(a=(o=o.call(e)).next,n!==0)for(;!(l=(r=a.call(o)).done)&&(d.push(r.value),d.length!==n);l=!0);}catch(c){u=!0,i=c}finally{try{if(!l&&o.return!=null&&(s=o.return(),Object(s)!==s))return}finally{if(u)throw i}}return d}}function gl(e){if(Array.isArray(e))return e}function hl(e){var n=Array.prototype.slice.call(e),o=cl(n,4),r=o[0],i=o[1],a=o[2],s=o[3],d,l,u;if(typeof r=="string")d=r;else throw new TypeError("A text for parsing must be a string.");if(!i||typeof i=="string")s?(l=a,u=s):(l=void 0,u=a),i&&(l=sl({defaultCountry:i},l));else if(Je(i))a?(l=i,u=a):u=i;else throw new Error("Invalid second argument: ".concat(i));return{text:d,options:l,metadata:u}}function kt(e){"@babel/helpers - typeof";return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},kt(e)}function _r(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,r)}return o}function Or(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?_r(Object(o),!0).forEach(function(r){wl(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):_r(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function wl(e,n,o){return(n=$l(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function $l(e){var n=yl(e,"string");return kt(n)=="symbol"?n:n+""}function yl(e,n){if(kt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(kt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function vl(e,n,o){n&&n.defaultCountry&&!xs(n.defaultCountry,o)&&(n=Or(Or({},n),{},{defaultCountry:void 0}));try{return al(e,n,o)}catch(r){if(!(r instanceof xe))throw r}}function Mt(e){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Mt(e)}function zr(e,n){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),o.push.apply(o,r)}return o}function Rr(e){for(var n=1;n<arguments.length;n++){var o=arguments[n]!=null?arguments[n]:{};n%2?zr(Object(o),!0).forEach(function(r){bl(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):zr(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function bl(e,n,o){return(n=xl(n))in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e}function xl(e){var n=Cl(e,"string");return Mt(n)=="symbol"?n:n+""}function Cl(e,n){if(Mt(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,n);if(Mt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}function Nl(){var e=hl(arguments),n=e.text,o=e.options,r=e.metadata;o=Rr(Rr({},o),{},{extract:!1});var i=vl(n,o,r);return i&&i.isValid()||!1}function Qn(){return ls(Nl,arguments)}const kl=new Set(["name","nome"]),Ml=new Set(["email","e-mail","correo"]),Al=new Set(["phone","telefone","celular","mobile","tel","whatsapp"]),Tl=new Set(["cpf"]),Il=new Set(["order","pedido"]),Ce=e=>{const n=e.trim().toLowerCase();return kl.has(n)?"name":Ml.has(n)?"email":Al.has(n)?"phone":Tl.has(n)?"cpf":Il.has(n)?"order":"other"},Zt=e=>Ce(e)==="name",Fr={"pt-BR":{requiredField:"Campo obrigatório",step:(e,n)=>`Passo ${e} de ${n}`,nameTitle:"Como podemos te chamar?",nameSubtitle:"Primeiro, nos diga o seu nome.",almostThere:e=>e?`Quase lá, ${e}.`:"Quase lá.",hello:e=>e?`Olá, ${e}.`:"Olá.",requiredFieldSubtitle:e=>`Informe seu ${e} para continuar.`,optionalFieldSubtitle:e=>`Gostaria de deixar seu ${e}?`,labelName:"Nome",labelPhone:"Telefone",labelEmail:"E-mail",labelCpf:"CPF",labelOrder:"Pedido",placeholderName:"Seu nome",placeholderPhone:"Seu telefone",placeholderEmail:"Seu e-mail",placeholderCpf:"000.000.000-00",invalidEmail:"Email inválido",invalidPhone:"Telefone inválido",incompleteCpf:"CPF incompleto",invalidCpf:"CPF inválido",back:"Voltar",continue:"Continuar",finish:"Finalizar"},"en-US":{requiredField:"Required field",step:(e,n)=>`Step ${e} of ${n}`,nameTitle:"What should we call you?",nameSubtitle:"First, tell us your name.",almostThere:e=>e?`Almost there, ${e}.`:"Almost there.",hello:e=>e?`Hi, ${e}.`:"Hi.",requiredFieldSubtitle:e=>`Enter your ${e} to continue.`,optionalFieldSubtitle:e=>`Would you like to leave your ${e}?`,labelName:"Name",labelPhone:"Phone",labelEmail:"Email",labelCpf:"CPF",labelOrder:"Order",placeholderName:"Your name",placeholderPhone:"Your phone",placeholderEmail:"Your email",placeholderCpf:"000.000.000-00",invalidEmail:"Invalid email",invalidPhone:"Invalid phone",incompleteCpf:"Incomplete CPF",invalidCpf:"Invalid CPF",back:"Back",continue:"Continue",finish:"Finish"},"es-ES":{requiredField:"Campo obligatorio",step:(e,n)=>`Paso ${e} de ${n}`,nameTitle:"¿Cómo podemos llamarte?",nameSubtitle:"Primero, dinos tu nombre.",almostThere:e=>e?`Casi listo, ${e}.`:"Casi listo.",hello:e=>e?`Hola, ${e}.`:"Hola.",requiredFieldSubtitle:e=>`Ingresa tu ${e} para continuar.`,optionalFieldSubtitle:e=>`¿Te gustaría dejar tu ${e}?`,labelName:"Nombre",labelPhone:"Teléfono",labelEmail:"Correo",labelCpf:"CPF",labelOrder:"Pedido",placeholderName:"Tu nombre",placeholderPhone:"Tu teléfono",placeholderEmail:"Tu correo",placeholderCpf:"000.000.000-00",invalidEmail:"Correo inválido",invalidPhone:"Teléfono inválido",incompleteCpf:"CPF incompleto",invalidCpf:"CPF inválido",back:"Volver",continue:"Continuar",finish:"Finalizar"}},Sn=e=>Fr[e]??Fr["pt-BR"],Vr=(e,n)=>{const o=Sn(n),r=Ce(e);if(r==="name")return o.labelName;if(r==="phone")return o.labelPhone;if(r==="email")return o.labelEmail;if(r==="cpf")return o.labelCpf;if(r==="order")return o.labelOrder},El=(e,n)=>{const o=Sn(n),r=Ce(e);if(r==="name")return o.placeholderName;if(r==="phone")return o.placeholderPhone;if(r==="email")return o.placeholderEmail;if(r==="cpf")return o.placeholderCpf},Sl=/^[^\s@]+@[^\s@]+\.[^\s@]+$/,Ll=/^(\d)\1{10}$/,Hr=(e,n)=>{let o=0;for(let i=0;i<n-1;i+=1)o+=Number(e[i])*(n-i);const r=o*10%11;return r===10?0:r},Gi=e=>e?!Sl.test(e):!1,Wi=e=>{const n=e.replace(/\D/g,"");return n?!!(n.length!==11||Ll.test(n)||Hr(n,10)!==Number(n[9])||Hr(n,11)!==Number(n[10])):!1},Dl=e=>{const n=e.replace(/\D/g,"");return n?n.length<11:!1},Yi=e=>{const n=e.replace(/\D/g,"");if(!n)return!1;const o=e.trim();try{return o.startsWith("+")?!Qn(o):!(Qn(o,"BR")||Qn(`+${n}`))}catch{return!0}},Zi=(e,n)=>{const o=Ce(e);return o==="email"?Gi(n):o==="phone"?Yi(n):o==="cpf"?Wi(n):!1},Bl=(e,n,o="pt-BR")=>{const r=Sn(o),i=Ce(e);if(i==="email"&&Gi(n))return r.invalidEmail;if(i==="phone"&&Yi(n))return r.invalidPhone;if(i==="cpf"){if(Dl(n))return r.incompleteCpf;if(Wi(n))return r.invalidCpf}return null},te=(e,n)=>e==null?"":typeof e=="string"?e:e[n]??e["pt-BR"]??Object.values(e).find(o=>!!o)??"";function jl(){return{maskPhone:i=>{if(!i)return"";const a=i.trim().startsWith("+");let s=i.replace(/\D/g,"");return a?(s=s.slice(0,15),s?`+${s}`:"+"):s.length<=4?s:(s.startsWith("0")&&!s.startsWith("0800")&&s.length>3&&(s=s.replace(/^0+/,"")),s.startsWith("0800")?(s=s.slice(0,11),s.replace(/(0800)(\d{0,3})(\d{0,4})/,(d,l,u,c)=>[l,u,c].filter(Boolean).join(" "))):s.length>11?s.slice(0,15):s.length<=8?s.replace(/(\d{4})(\d{0,4})/,"$1-$2").replace(/-$/,""):s.length===9?s.replace(/(\d{5})(\d{0,4})/,"$1-$2"):s.length===10?s.replace(/(\d{2})(\d{0,4})(\d{0,4})/,"($1) $2-$3").replace(/-$/,""):s.replace(/(\d{2})(\d{0,5})(\d{0,4})/,"($1) $2-$3").replace(/-$/,""))},maskCnpj:i=>{const a=i.toUpperCase().replace(/[^0-9A-Z]/g,"");let s="";for(const d of a){if(s.length>=14)break;(s.length<12||/\d/.test(d))&&(s+=d)}return s.replace(/^([0-9A-Z]{2})([0-9A-Z])/,"$1.$2").replace(/^([0-9A-Z]{2})\.([0-9A-Z]{3})([0-9A-Z])/,"$1.$2.$3").replace(/^([0-9A-Z]{2})\.([0-9A-Z]{3})\.([0-9A-Z]{3})([0-9A-Z])/,"$1.$2.$3/$4").replace(/^([0-9A-Z]{2})\.([0-9A-Z]{3})\.([0-9A-Z]{3})\/([0-9A-Z]{4})(\d)/,"$1.$2.$3/$4-$5")},maskCep:i=>i.replace(/\D/g,"").slice(0,8).replace(/^(\d{5})(\d)/,"$1-$2"),maskCpf:i=>i.replace(/\D/g,"").slice(0,11).replace(/^(\d{3})(\d)/,"$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/,"$1.$2.$3").replace(/^(\d{3})\.(\d{3})\.(\d{3})(\d)/,"$1.$2.$3-$4")}}const Qi=["en-US","es-ES","pt-BR"],Ji=(e,n)=>{const o=e.toLowerCase(),r=n.find(a=>a.toLowerCase()===o);if(r)return r;const i=o.split("-")[0];return n.find(a=>{const s=a.toLowerCase();return s===i||s.startsWith(`${i}-`)})},Pl=e=>{if(!e?.length)return["pt-BR"];const n=e.map(o=>Ji(o,Qi)).filter(o=>!!o);return n.length?[...new Set(n)]:["pt-BR"]},_l=e=>typeof navigator<"u"&&navigator.language?navigator.language:"pt-BR",Ol=(e,n)=>{const o=Pl(e);if(o.length===1)return o[0];const r=Ji(_l(),o);if(r)return r;for(const i of Qi)if(o.includes(i))return i;return o[0]??"pt-BR"};function Ki(){return{}}const Ln=e=>e.from==="system"||e.from==="operator"||e.from==="contact"?e.from:e.provider?e.provider==="opens"?"operator":"contact":"system",Dn=e=>{const n=e.attachments?.data;return Array.isArray(n)?n:[]},Le=e=>Dn(e)[0],Xi=e=>typeof e.caption=="string"?e.caption.trim():"",zl=e=>e.messageBody?.trim()??"",Rl=e=>{if(!e)return"";const n=e instanceof Date?e:new Date(e);return Number.isNaN(n.getTime())?"":n.toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"})},qi=e=>e.type==="document"&&e.filename.toLowerCase().endsWith(".pdf"),Fl=(e,n)=>{const o=n.metadata&&typeof n.metadata=="object"?n.metadata:null,r=e.selectedValue||(typeof o?.selectedValue=="string"?o.selectedValue:void 0),i=e.selectedOption||(typeof o?.selectedOption=="string"?o.selectedOption:void 0),a=e.selectedAt||(typeof o?.selectedAt=="string"?o.selectedAt:void 0);return{selectedValue:r,selectedOption:i,selectedAt:a}},Qt=e=>{const n=e.messageBody;if(!n)return null;try{const o=typeof n=="string"?JSON.parse(n):n;if(!o||!Array.isArray(o.menu))return null;const{selectedValue:r,selectedOption:i,selectedAt:a}=Fl(o,e),d=!!(r||i)||e.canBeInteractedWith===!1;return{description:o.description||"",selectedOption:i,selectedValue:r,selectedAt:a,menu:o.menu.map(l=>{const u=!!(r&&l.value===r||i&&l.label===i);return{...l,selected:u,disabled:d?!0:!!l.disabled}})}}catch{return null}},Vl=(e,n)=>{if(!e||!n)return!1;const o=new Date(e),r=new Date(n);return Number.isNaN(o.getTime())||Number.isNaN(r.getTime())?!1:Math.floor(o.getTime()/6e4)===Math.floor(r.getTime()/6e4)},Hl=e=>!!(e&&e.messageType==="image"&&!Xi(e)),Ul=(e=[])=>{if(!e.length)return[];const n=[];let o=[];const r=()=>{if(o.length){if(o.length===1)n.push(o[0]);else{const i=o[0];n.push({id:typeof i.id=="number"?i.id:void 0,provider:i.provider,recipientId:i.recipientId,from:i.from,messageType:"_grouped_images",messageBody:"",createdAt:i.createdAt,canBeInteractedWith:!1,messages:[...o]})}o=[]}};for(const i of e){if(!Hl(i)){r(),n.push(i);continue}if(!o.length){o.push(i);continue}const a=o[o.length-1];if(a.from===i.from&&Vl(a.createdAt,i.createdAt)){o.push(i);continue}r(),o.push(i)}return r(),n},Gl=e=>e?.data?.length?{data:e.data.map(n=>({...n}))}:null,Wl=e=>e?.map(n=>$o(n)),$o=e=>({...e,from:Ln(e),caption:e.caption??null,attachments:Gl(e.attachments),...e.messages?{messages:Wl(e.messages)}:{}});class qe{payload;constructor(n){this.payload=$o(n)}static fromJSON(n){return new qe(n)}static toJSON(n){return $o(n.payload)}toJSON(){return qe.toJSON(this)}get from(){return Ln(this.payload)}get isSystemLike(){return this.from==="system"}get attachments(){return Dn(this.payload)}get primaryAttachment(){return Le(this.payload)}}const Yl=["canBeInteractedWith","recipientId","chatRoomId","companyId","createdAt","provider","metadata","id"],Zl=e=>{const n={};for(const o of Yl)e[o]!==void 0&&(n[o]=e[o]);return n},Ur=(e,n="")=>typeof e=="string"?e:e==null?n:String(e);class Go{payload={messageType:"text",messageBody:""};constructor(){}static create(){return new Go}withRaw(n){const o=typeof n.caption=="string"||n.caption===null?n.caption:n.caption===void 0?void 0:null;return this.payload={...this.payload,...Zl(n),messageType:Ur(n.messageType,"text")||"text",messageBody:Ur(n.messageBody),...o!==void 0?{caption:o}:{}},this}withAttachments(n){return this.payload.attachments=n.length?{data:n.map(o=>({...o}))}:null,this}build(){return qe.fromJSON({...this.payload,messageType:this.payload.messageType||"text",messageBody:this.payload.messageBody??"",attachments:this.payload.attachments??null})}}const Jn=t.ref([]),Kn=t.ref([]),Ql=t.ref(""),Jl=t.shallowRef([]),Kl=t.shallowRef(null),Xl=t.ref(!1),ql=t.ref(!1),eu=t.ref(!1),tu=t.ref(!1),nu=t.ref(!1),_t=e=>qe.fromJSON(e).toJSON();function ea(){const e=a=>{Jn.value.push(_t(a))},n=a=>{Jn.value=a.map(_t)};return{unreadMessagesCount:t.computed(()=>Kn.value.length),isSendingMessage:Xl,isErrorLoading:ql,attachments:Jl,isFinished:eu,isLoading:tu,messages:Jn,isTyping:nu,audio:Kl,text:Ql,setUnreadMessages:a=>{Kn.value=a.map(_t)},addUnreadMessage:a=>{Kn.value.push(_t(a))},setMessages:n,addMessage:e}}function ta(){const e=ea(),n=Ki();return{chat:e,voice:n}}const Xn=t.ref(!1),dt=t.ref([]),qn=t.ref(void 0),Ae=t.ref(void 0),eo=t.ref(void 0),yo=t.ref(void 0),na=e=>!!(e?.logo?.trim()||te(e?.title,"pt-BR").trim()||te(e?.subtitle,"pt-BR").trim()),Gr=e=>{!e||!na(e)||(yo.value={...e})},we=()=>{const e=$=>{const y=new Set(Object.values($.edges??{}).flatMap(N=>N.map(A=>A.nextRuleId)));return $.rules.find(N=>!y.has(N.id))??$.rules[0]},n=($,y)=>{const N=new Map($.rules.map(A=>[A.id,A]));return($.edges[y]??[]).flatMap(A=>{const M=N.get(A.nextRuleId);return M?[M]:[]})},o=t.computed(()=>new Map((Ae.value?.rules??[]).map($=>[$.id,$]))),r=t.computed(()=>Ae.value?e(Ae.value):void 0),i=t.computed(()=>{const $=qn.value;return $&&o.value.get($)||r.value}),a=t.computed(()=>!Ae.value||!i.value?[]:n(Ae.value,i.value.id)),s=t.computed(()=>{const $=i.value?.settings?.header;return na($)?$:yo.value}),d=t.computed(()=>{const $=eo.value?.configurations.general;return Array.isArray($?.languages)&&$.languages.length>0?[...$.languages]:$?.language?[$.language]:["pt-BR"]}),l=t.computed(()=>Ol(d.value)),u=ta();return{currentRuleId:qn,currentHeader:s,currentRule:i,rootRule:r,workflow:Ae,languages:d,language:l,history:dt,isOpen:Xn,config:eo,edges:a,open:()=>{Xn.value=!0},close:()=>{Xn.value=!1},setCurrentRuleId:$=>{qn.value=$,Gr(i.value?.settings?.header)},clearHistory:()=>{dt.value=[]},setWorkflow:$=>{Ae.value?.id!==$?.id&&(yo.value=void 0),Ae.value=$,Gr(i.value?.settings?.header)},setConfig:$=>{eo.value=$},pushHistory:$=>{dt.value.push($)},setHistory:$=>{dt.value=[...$]},popHistory:()=>dt.value.pop(),...u}},ou=14,ru=20,vo=e=>!!e?.trim(),Wr=(e,n)=>vo(n)?!Zi(e.name,n??""):!e.required,iu=e=>{const n=e.filter(r=>Zt(r.name)),o=e.filter(r=>!Zt(r.name));return[...n,...o]};function au(e,n){const{maskPhone:o,maskCpf:r}=jl(),{history:i,language:a}=we(),s=t.ref(0),d=t.ref("forward"),l=t.ref(null),u=t.computed(()=>a.value),c=t.computed(()=>Sn(u.value)),p=t.computed(()=>{const L=t.toValue(e),j=L.settings?.form&&L.settings.form.fields||[];return iu(j)}),f=t.reactive(Object.fromEntries(p.value.map(L=>[L.name,""]))),m=t.computed(()=>p.value[s.value]),g=t.computed(()=>s.value>=p.value.length-1),h=t.computed(()=>i.value.length>0||s.value>0),w=t.computed(()=>d.value==="back"?"step-back":"step-forward"),v=async()=>{await t.nextTick();const L=l.value;if(!L)return;const j=L.querySelector(".is-active input")??L.querySelector("input");j&&(j.focus({preventScroll:!0}),j.select())};t.watch(s,()=>{v()}),t.onMounted(()=>{v()});const b=t.computed(()=>p.value.every(L=>Wr(L,f[L.name]))),$=L=>{const j=f[L.name]??"";return L.required&&!vo(j)?!0:Zi(L.name,j)},y=L=>{const j=f[L.name]??"";return L.required&&!vo(j)?c.value.requiredField:Bl(L.name,j,u.value)},N=L=>{const j=p.value[L];return j?Wr(j,f[j.name])?L>=p.value.length-1?b.value:!0:!1:b.value},A=t.computed(()=>N(s.value)),M=t.computed(()=>{const L=p.value.find(j=>Zt(j.name));return L?f[L.name]?.trim().split(/\s+/)[0]??"":""}),x=L=>{const j=p.value[L],rt=M.value,$e=c.value,Ue=p.value.length?$e.step(L+1,p.value.length):"",it=t.toValue(e),_e=L>=p.value.length-1,Me=u.value;if(!j)return{eyebrow:Ue,title:te(it.settings?.body?.title,Me)||it.name||"",subtitle:te(it.settings?.body?.subtitle,Me)};if(Zt(j.name))return{eyebrow:Ue,title:$e.nameTitle,subtitle:$e.nameSubtitle};const jt=Vr(j.name,Me)??j.label??j.name,at=_e?$e.almostThere(rt||void 0):$e.hello(rt||void 0),Vn=j.required?$e.requiredFieldSubtitle(jt):$e.optionalFieldSubtitle(jt);return{eyebrow:Ue,title:at,subtitle:Vn}},k=t.computed(()=>x(s.value)),T=L=>{const j=Ce(L);return j==="email"?"email":j==="phone"?"tel":"text"},B=L=>{const j=Ce(L);return j==="email"?"email":j==="phone"?"call":j==="name"?"person":j==="order"?"receipt":"badge"},F=L=>{const j=Vr(L.name,u.value)??L.label??L.name;return L.required?`${j} *`:j},H=L=>El(L.name,u.value)??L.placeholder??"",R=L=>{const j=Ce(L);if(j==="phone")return o;if(j==="cpf")return r},G=L=>{const j=Ce(L);if(j==="cpf")return ou;if(j==="phone")return ru},W=t.computed(()=>g.value?c.value.finish:c.value.continue),Q=t.computed(()=>c.value.back),Y=L=>L>=p.value.length-1?c.value.finish:c.value.continue,ee=()=>{b.value&&n("submit",{...f})};return{stepTransition:w,currentField:m,canContinue:A,currentStep:s,isLastStep:g,stepIntro:k,fieldHost:l,showBack:h,fields:p,form:f,continueStep:()=>{if(A.value){if(g.value||p.value.length===0)return ee();d.value="forward",s.value+=1}},canContinueAt:N,introFor:x,fieldLabel:F,fieldPlaceholder:H,fieldType:T,fieldMask:R,fieldMaxLength:G,fieldIcon:B,isFieldInvalid:$,fieldFeedback:y,continueLabel:W,backLabel:Q,actionLabelAt:Y,goBack:()=>{if(s.value>0){d.value="back",s.value-=1;return}n("back")}}}function oa(e){const n=t.computed(()=>e.small?"!wu-h-8 !wu-min-h-[2rem]":"!wu-h-12 !wu-min-h-[3rem]"),o=t.computed(()=>"!wu-text-xs"),r=t.computed(()=>e.fluid?"!wu-w-full":"wu-w-fit");return{height:n,textSize:o,width:r}}function su(e,n){const o=t.computed(()=>({"!wu-font-plus":n.plus,"!wu-font-inter":n.inter,"!wu-font-titillium":n.titillium,"!wu-font-mono":n.mono})),r=t.computed(()=>({"!wu-text-white":n.white,"!wu-text-primary":n.primary,"!wu-text-secondary":n.secondary,"!wu-text-base":n.neutral,"!wu-text-neutral dark:!wu-text-neutral-200":n.gray})),i=t.computed(()=>({"!wu-font-thin":n.thin,"!wu-font-extralight":n.extralight,"!wu-font-light":n.light,"!wu-font-normal":n.normal,"!wu-font-medium":n.medium,"!wu-font-semibold":n.semibold,"!wu-font-bold":n.bold,"!wu-font-extrabold":n.extrabold,"!wu-font-black":n.black})),a=t.computed(()=>({...{title:{"!wu-text-xl":n.small,"!wu-text-2xl":n.base,"!wu-text-3xl":n.large,"!wu-text-4xl":n.extraLarge},subtitle:{"!wu-text-sm":n.small,"!wu-text-md":n.base,"!wu-text-xl":n.large},text:{"!wu-text-xxs":n.extraSmall,"!wu-text-xs":n.small,"!wu-text-sm":n.base,"!wu-text-lg":n.large,"!wu-text-2xl":n.extraLarge}}[e]}));return{fontClass:o,colorClass:r,weightClass:i,sizeClass:a}}const du=t.defineComponent({__name:"app-text",props:{extraSmall:{type:Boolean},inter:{type:Boolean},plus:{type:Boolean},titillium:{type:Boolean},mono:{type:Boolean},small:{type:Boolean},base:{type:Boolean},large:{type:Boolean},extraLarge:{type:Boolean},thin:{type:Boolean},extralight:{type:Boolean},light:{type:Boolean},normal:{type:Boolean},medium:{type:Boolean},semibold:{type:Boolean},bold:{type:Boolean},extrabold:{type:Boolean},black:{type:Boolean},primary:{type:Boolean},secondary:{type:Boolean},gray:{type:Boolean},neutral:{type:Boolean},white:{type:Boolean}},setup(e){const n=e,{fontClass:o,colorClass:r,weightClass:i,sizeClass:a}=su("text",n);return(s,d)=>(t.openBlock(),t.createElementBlock("p",{class:t.normalizeClass(["wu-font-primary wu-text-sm wu-font-normal wu-text-gray-900 dark:wu-text-neutral-100",[t.unref(o),t.unref(r),t.unref(i),t.unref(a)]])},[t.renderSlot(s.$slots,"default",{},void 0,!0)],2))}}),nt=(e,n)=>{const o=e.__vccOpts||e;for(const[r,i]of n)o[r]=i;return o},D=nt(du,[["__scopeId","data-v-5fc0fe9d"]]),O=t.defineComponent({__name:"app-group",props:{fit:{type:Boolean},full:{type:Boolean},row:{type:Boolean},col:{type:Boolean},gapNone:{type:Boolean},gapXs:{type:Boolean},gapBase:{type:Boolean},gapSm:{type:Boolean},gapMd:{type:Boolean},gapLg:{type:Boolean},wrap:{type:Boolean},paddingNone:{type:Boolean},paddingBase:{type:Boolean},paddingXs:{type:Boolean},paddingSm:{type:Boolean},paddingMd:{type:Boolean},paddingLg:{type:Boolean},center:{type:Boolean},justifyEnd:{type:Boolean},centerBetween:{type:Boolean},border:{type:Boolean},borderPrimary:{type:Boolean},rounded:{type:Boolean},roundedTop:{type:Boolean},roundedBottom:{type:Boolean},bgPrimary:{type:Boolean},bgWhite:{type:Boolean},divisor:{type:Boolean}},setup(e){const n=e,o=t.computed(()=>n.fit?"wu-w-fit wu-h-fit":n.full?"wu-w-full wu-h-full":""),r=t.computed(()=>n.justifyEnd?"wu-items-end wu-justify-end":n.center?"wu-items-center wu-justify-center":n.centerBetween?"wu-items-center wu-justify-between":""),i=t.computed(()=>n.row?"wu-flex-row":n.col?"wu-flex-col":"wu-flex-row"),a=t.computed(()=>n.gapBase?"wu-gap-4":n.gapXs?"wu-gap-1":n.gapSm?"wu-gap-2":n.gapMd?"wu-gap-6":n.gapLg?"wu-gap-8":n.gapNone?"wu-gap-0":"wu-gap-4"),s=t.computed(()=>n.wrap?"wu-flex-wrap":""),d=t.computed(()=>n.paddingXs?"wu-p-1":n.paddingSm?"wu-p-2":n.paddingBase?"wu-p-4":n.paddingMd?"wu-p-6":n.paddingLg?"wu-p-8":""),l=t.computed(()=>n.border?"wu-border":n.borderPrimary?"wu-border wu-border-primary":""),u=t.computed(()=>n.rounded?"wu-rounded-lg":n.roundedTop?"wu-rounded-t-md":n.roundedBottom?"wu-rounded-b-md":""),c=t.computed(()=>n.bgPrimary?"wu-bg-primary":n.bgWhite?"wu-bg-white":""),p=t.computed(()=>n.divisor&&n.col?"wu-divide-y":n.divisor&&n.row?"wu-divide-x":""),f=t.computed(()=>[i.value,a.value,s.value,d.value,r.value,l.value,u.value,c.value,o.value,p.value]);return(m,g)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-flex",f.value])},[t.renderSlot(m.$slots,"default")],2))}}),lu={class:"wu-flex wu-flex-col wu-items-stretch wu-w-full wu-cursor-text wu-gap-1","data-testid":"app-form-text-input"},uu=["value","type","placeholder","disabled","maxlength","aria-invalid"],Wo=t.defineComponent({__name:"app-form-text-input",props:{modelValue:{default:""},type:{default:"text"},placeholder:{},maxLength:{},disabled:{type:Boolean},invalid:{type:Boolean},valid:{type:Boolean},fluid:{type:Boolean},maskFunction:{}},emits:["update:modelValue","keyup-enter"],setup(e,{expose:n,emit:o}){const r=e,i=o,a=t.computed(()=>t.useSlots());function s(w){return!!a.value[w]}const d=t.ref(""),l=t.ref(!1);function u(w){if(!r.maskFunction)return w;try{const v=r.maskFunction(w);return typeof v=="string"?v:w}catch{return w}}t.watch(()=>r.modelValue,w=>{if(w==null){d.value="";return}d.value=r.maskFunction?u(w):w},{immediate:!0});const{width:c}=oa(r),p=t.computed(()=>r.invalid?"wu-text-red-500":r.valid?"wu-text-green-500":""),f=t.computed(()=>r.invalid?"wu-text-red-600 placeholder:wu-text-red-300 placeholder:wu-font-medium":r.valid?"wu-text-green-700 placeholder:wu-font-medium":"wu-text-gray-900 placeholder:wu-text-gray-400 placeholder:wu-font-medium dark:wu-text-neutral-100 dark:placeholder:wu-text-neutral-500"),m=t.computed(()=>r.invalid?"wu-text-red-500":r.valid?"wu-text-green-500":"wu-text-gray-500"),g=t.computed(()=>r.disabled?"wu-opacity-50 wu-pointer-events-none":"");function h(w){const v=w.target,b=r.maskFunction?u(v.value):v.value;d.value=b,v.value!==b&&(v.value=b),i("update:modelValue",d.value)}return n({focus:l,content:d}),(w,v)=>(t.openBlock(),t.createBlock(O,{class:t.normalizeClass([t.unref(c),g.value]),col:"","gap-none":""},{default:t.withCtx(()=>[t.createElementVNode("label",lu,[s("default")?(t.openBlock(),t.createBlock(D,{key:0,small:"",gray:"",class:t.normalizeClass([p.value])},{default:t.withCtx(()=>[t.renderSlot(w.$slots,"default")]),_:3},8,["class"])):t.createCommentVNode("",!0),t.createElementVNode("input",{class:t.normalizeClass(["wu-w-full wu-bg-transparent wu-border-0 wu-outline-none wu-p-0 wu-m-0 wu-appearance-none wu-font-primary wu-text-2xl wu-leading-tight wu-caret-gray-900 dark:wu-caret-white",[f.value]]),value:d.value,type:e.type,placeholder:e.placeholder,disabled:e.disabled,maxlength:e.maxLength,"aria-invalid":e.invalid?!0:void 0,onInput:h,onFocus:v[0]||(v[0]=b=>l.value=!0),onBlur:v[1]||(v[1]=b=>l.value=!1),onKeyup:v[2]||(v[2]=t.withKeys(b=>i("keyup-enter"),["enter"]))},null,42,uu)]),s("feedback")?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["wu-mt-1",[m.value]])},[t.renderSlot(w.$slots,"feedback")],2)):t.createCommentVNode("",!0)]),_:3},8,["class"]))}});function cu(e){const n=t.computed(()=>e.fit?"wu-h-auto wu-min-h-0":e.small?"!wu-h-8 !wu-min-h-[2rem]":""),o=t.computed(()=>"!wu-text-xs"),r=t.computed(()=>e.fit?"wu-px-3 wu-py-2":e.small?"wu-px-[0.625rem]":"wu-p-[0.9rem]"),i=t.computed(()=>e.fluid?"!wu-w-full":e.fit?"wu-w-fit wu-max-w-full":"wu-w-fit");return{height:n,textSize:o,padding:r,width:i}}const S=t.defineComponent({__name:"app-icon",props:{small:Boolean,large:Boolean,extraLarge:Boolean,gray:Boolean,base:Boolean,light:Boolean,dark:Boolean,outlined:Boolean},setup(e){const n=e,o=t.computed(()=>n.small?"!wu-text-xs wu-w-4 wu-h-4":n.large?"!wu-text-xl wu-w-8 wu-h-8":n.extraLarge?"!wu-text-4xl wu-w-10 wu-h-10":"!wu-text-base wu-w-6 wu-h-6"),r=t.computed(()=>n.dark?"wu-text-neutral-800 dark:wu-text-white":n.light?"wu-text-white dark:wu-text-neutral-800":n.gray?"wu-text-gray-500 dark:wu-text-neutral-400":""),i=t.computed(()=>n.outlined?"material-symbols-outlined":"wu-material-icons");return(a,s)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["notranslate wu-flex wu-items-center wu-justify-center wu-text-center",[o.value,r.value,i.value]]),"data-testid":"app-icon"},[t.renderSlot(a.$slots,"default")],2))}}),pu=["disabled"],fu={class:"wu-flex wu-items-center wu-justify-center wu-gap-2"},U=t.defineComponent({__name:"app-button",props:{small:Boolean,soft:Boolean,outline:Boolean,ghost:Boolean,link:Boolean,round:Boolean,icon:Boolean,fluid:Boolean,fit:Boolean,disabled:Boolean,loading:Boolean,alert:Boolean,warning:Boolean,success:Boolean,block:Boolean},emits:["click"],setup(e){const n=e,o=t.computed(()=>t.useSlots());function r(g){return!!o.value[g]}const{height:i,textSize:a,padding:s,width:d}=cu(n),l=t.computed(()=>n.soft?"wu-bg-[var(--wu-action-50)] !wu-text-[var(--wu-action)]":n.alert?"wu-bg-red-500 !wu-text-white":n.warning?"wu-bg-amber-500 !wu-text-white":n.success?"wu-bg-green-500 !wu-text-white":n.outline?"wu-bg-transparent !wu-border-gray-200 hover:!wu-bg-gray-100 hover:!wu-border-gray-300 dark:!wu-border-neutral-600 dark:hover:!wu-bg-neutral-700 dark:hover:!wu-border-neutral-500 dark:!wu-text-neutral-100":n.ghost?"wu-bg-transparent !wu-text-gray-700 hover:!wu-bg-gray-100 dark:!wu-text-neutral-200 dark:hover:!wu-bg-neutral-700":n.link?"wu-bg-transparent !wu-text-blue-600 hover:wu-underline":"wu-bg-[var(--wu-action)] !wu-text-[var(--wu-action-fg)]"),u=t.computed(()=>n.block?"wu-rounded-none":n.round?"wu-rounded-full":"wu-rounded-lg"),c=t.computed(()=>n.icon&&n.small?"!wu-w-8 !wu-h-8 wu-p-0":n.icon?"!wu-w-11 !wu-h-11 wu-p-0":s.value),p=t.computed(()=>n.icon?"wu-justify-center":n.fit?"wu-justify-start wu-text-left":"wu-justify-between"),f=t.computed(()=>n.fit?"wu-leading-snug [overflow-wrap:anywhere]":""),m=t.computed(()=>n.disabled||n.loading?"wu-opacity-50 wu-pointer-events-none":"");return(g,h)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["wu-inline-flex wu-items-center wu-gap-2 wu-cursor-pointer wu-transition-all wu-border wu-border-transparent disabled:wu-opacity-50 disabled:wu-pointer-events-none hover:wu-opacity-80 focus:wu-outline-hidden focus:wu-opacity-80",[t.unref(a),l.value,u.value,t.unref(d),t.unref(i),m.value,c.value,p.value,f.value]]),type:"button",disabled:e.disabled||e.loading,"data-testid":"app-button",onClick:h[0]||(h[0]=w=>g.$emit("click",w))},[t.createElementVNode("div",fu,[e.loading?(t.openBlock(),t.createBlock(S,{key:0,class:"wu-animate-spin wu-flex wu-items-center wu-justify-center",small:"",outlined:""},{default:t.withCtx(()=>[...h[1]||(h[1]=[t.createTextVNode("progress_activity",-1)])]),_:1})):r("icon")?(t.openBlock(),t.createBlock(S,{key:1,small:""},{default:t.withCtx(()=>[t.renderSlot(g.$slots,"icon")]),_:3})):t.createCommentVNode("",!0),!e.loading&&r("default")?(t.openBlock(),t.createBlock(D,{key:2,class:"!wu-text-inherit",small:""},{default:t.withCtx(()=>[t.renderSlot(g.$slots,"default")]),_:3})):t.createCommentVNode("",!0)]),!e.loading&&r("trailing")?(t.openBlock(),t.createBlock(S,{key:0,small:""},{default:t.withCtx(()=>[t.renderSlot(g.$slots,"trailing")]),_:3})):t.createCommentVNode("",!0)],10,pu))}}),mu=["aria-hidden"],gu=t.defineComponent({__name:"app-carousel",props:{modelValue:{default:0},vertical:{type:Boolean},fill:{type:Boolean}},emits:["update:modelValue"],setup(e,{expose:n,emit:o}){const r=e,i=o,a=t.useSlots(),s=t.ref(null),d=t.ref(null),l=t.ref(0),u=t.ref(0),c=t.ref(!1);let p=null;const f=t.computed(()=>Math.max(r.modelValue,0)),m=()=>(a.default?.()??[]).flatMap(x=>x.type===t.Comment||x.type===t.Text?[]:x.type===t.Fragment?(x.children??[]).filter(k=>!!k&&typeof k=="object"&&k.type!==t.Comment&&k.type!==t.Text):[x]),g=x=>{const k=Math.abs(x-f.value);return k===0?"is-active":k===1?"is-adjacent":"is-far"},h=x=>{const k=d.value?.childElementCount||m().length,T=Math.min(Math.max(x,0),Math.max(k-1,0));T!==r.modelValue&&i("update:modelValue",T)},w=()=>{const x=s.value;x&&(x.scrollLeft&&(x.scrollLeft=0),x.scrollTop&&(x.scrollTop=0))},v=(x,k)=>{const T=getComputedStyle(x)[k].trim(),B=parseFloat(T);if(!Number.isFinite(B)||B<=0)return 0;if(T.endsWith("%")){const F=k==="scrollPaddingTop"?x.clientHeight:x.clientWidth;return B/100*F}return B},b=()=>{const x=s.value,k=d.value;if(!x||!k)return;w();const T=[...k.children],B=parseFloat(getComputedStyle(k).gap)||0,F=r.vertical?"scrollPaddingTop":"scrollPaddingLeft",H=v(x,F),R=Y=>r.vertical?Y.offsetHeight:Y.offsetWidth,G=T[f.value]?R(T[f.value]):0,W=r.vertical&&r.fill?Math.max((x.clientHeight-G)/2,0):H,Q=T.slice(0,f.value).reduce((Y,ee)=>Y+R(ee)+B,0);l.value=W-Q,u.value=r.vertical&&!r.fill?G+H*2:0,c.value=!0},$=()=>{p?.disconnect();const x=s.value,k=d.value;if(!(!x||!k)&&(b(),!(typeof ResizeObserver>"u"))){if(p=new ResizeObserver(b),p.observe(x),r.vertical)for(const T of k.children)p.observe(T);x.removeEventListener("scroll",w),x.addEventListener("scroll",w,{passive:!0})}},y=t.computed(()=>[r.vertical?"wu-carousel--vertical":"wu-carousel--horizontal",{"is-ready":c.value,"wu-carousel--fill":r.fill}]),N=t.computed(()=>r.vertical?"wu-flex-col wu-items-stretch":"wu-flex-row wu-items-center"),A=t.computed(()=>{if(!(!r.vertical||r.fill||!u.value))return{height:`${u.value}px`}}),M=t.computed(()=>{const x=`${l.value}px`;return{transform:r.vertical?`translate3d(0, ${x}, 0)`:`translate3d(${x}, 0, 0)`}});return t.watch(()=>[r.vertical,r.fill,r.modelValue],async()=>{await t.nextTick(),$()}),t.onMounted(async()=>{await t.nextTick(),$()}),t.onBeforeUnmount(()=>{p?.disconnect(),s.value?.removeEventListener("scroll",w)}),n({next:()=>h(f.value+1),prev:()=>h(f.value-1),goTo:h}),(x,k)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-relative wu-w-full wu-overflow-hidden",y.value]),ref_key:"rootRef",ref:s,"data-testid":"app-carousel",style:t.normalizeStyle(A.value)},[t.createElementVNode("div",{class:t.normalizeClass(["wu-carousel-track wu-flex",N.value]),ref_key:"trackRef",ref:d,style:t.normalizeStyle(M.value)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m(),(T,B)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-carousel-slide",g(B)]),key:T.key??B,"aria-hidden":B!==f.value,"data-testid":"app-carousel-slide"},[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(T)))],10,mu))),128))],6)],6))}}),Bn=nt(gu,[["__scopeId","data-v-96f06600"]]),hu={class:"wu-flex wu-flex-col wu-w-full wu-h-full"},wu={class:"wu-relative wu-flex wu-items-center wu-w-full wu-shrink-0"},$u={class:"wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4"},yu={class:"wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-pointer-events-none"},vu={class:"wu-flex wu-items-center wu-gap-1.5"},Yo=t.defineComponent({__name:"app-identification-page",props:{rule:{},edges:{}},emits:["submit","back"],setup(e,{emit:n}){const o=e,r=n,{currentStep:i,fieldHost:a,showBack:s,fields:d,form:l,continueStep:u,canContinueAt:c,introFor:p,fieldLabel:f,fieldPlaceholder:m,fieldType:g,fieldMask:h,fieldMaxLength:w,isFieldInvalid:v,fieldFeedback:b,backLabel:$,actionLabelAt:y,goBack:N}=au(()=>o.rule,r);return(A,M)=>(t.openBlock(),t.createElementBlock("div",hu,[t.createElementVNode("div",wu,[t.createElementVNode("div",$u,[t.createElementVNode("div",{class:t.normalizeClass(["wu-flex wu-items-center wu-w-fit wu-justify-center wu-cursor-pointer wu-group",{"wu-invisible wu-pointer-events-none":!t.unref(s)}]),onClick:M[0]||(M[0]=(...x)=>t.unref(N)&&t.unref(N)(...x))},[t.createVNode(S,{class:"wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200",small:"",gray:""},{default:t.withCtx(()=>[...M[2]||(M[2]=[t.createTextVNode("chevron_left",-1)])]),_:1}),t.createVNode(D,{class:"wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200","extra-small":"",medium:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref($)),1)]),_:1})],2)]),t.createElementVNode("div",yu,[t.createElementVNode("div",vu,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(d),(x,k)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-h-1 wu-w-6 wu-rounded-full wu-transition-colors",k<=t.unref(i)?"wu-bg-gray-900 dark:wu-bg-white":"wu-bg-gray-200 dark:wu-bg-neutral-600"]),key:k},null,2))),128))])])]),t.createElementVNode("div",{class:"wu-flex-1 wu-min-h-0 wu-w-full wu-px-6 wu-pb-12",ref_key:"fieldHost",ref:a},[t.createVNode(Bn,{class:"wu-w-full wu-h-full",modelValue:t.unref(i),"onUpdate:modelValue":M[1]||(M[1]=x=>t.isRef(i)?i.value=x:null),vertical:"",fill:""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(d),(x,k)=>(t.openBlock(),t.createBlock(O,{class:"wu-w-full wu-gap-8",key:x.name,col:"",center:""},{default:t.withCtx(()=>[t.createVNode(O,{class:"wu-w-full wu-relative wu-pr-6",col:"","gap-sm":""},{default:t.withCtx(()=>[t.unref(p)(k).title?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-text-left","extra-large":"",semibold:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(p)(k).title),1)]),_:2},1024)):t.createCommentVNode("",!0),t.unref(p)(k).subtitle?(t.openBlock(),t.createBlock(D,{key:1,class:"wu-text-left",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(p)(k).subtitle),1)]),_:2},1024)):t.createCommentVNode("",!0),t.createVNode(D,{class:"wu-opacity-50 wu-absolute -wu-top-2 wu-right-0",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(k+1),1)]),_:2},1024)]),_:2},1024),t.createVNode(O,{class:"wu-w-full wu-items-center",col:"","gap-md":""},{default:t.withCtx(()=>[t.createVNode(Wo,{modelValue:t.unref(l)[x.name],"onUpdate:modelValue":T=>t.unref(l)[x.name]=T,"mask-function":t.unref(h)(x.name),"max-length":t.unref(w)(x.name),placeholder:t.unref(m)(x),type:t.unref(g)(x.name),invalid:t.unref(v)(x),onKeyupEnter:t.unref(u),fluid:""},t.createSlots({default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(f)(x)),1)]),_:2},[t.unref(b)(x)?{name:"feedback",fn:t.withCtx(()=>[t.createVNode(D,{small:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(b)(x)),1)]),_:2},1024)]),key:"0"}:void 0]),1032,["modelValue","onUpdate:modelValue","mask-function","max-length","placeholder","type","invalid","onKeyupEnter"]),t.createVNode(U,{fluid:"",disabled:!t.unref(c)(k),onClick:t.unref(u)},{trailing:t.withCtx(()=>[...M[3]||(M[3]=[t.createTextVNode("arrow_forward",-1)])]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(y)(k)),1)]),_:2},1032,["disabled","onClick"])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["modelValue"])],512)]))}}),bu=["disabled"],xu=["src"],Zo=t.defineComponent({__name:"app-widget-anchor",props:{small:Boolean,large:Boolean,logo:{type:String,default:""},label:{type:String,default:""},outline:Boolean,ghost:Boolean,disabled:Boolean,loading:Boolean},emits:["click"],setup(e){const n=e,o=t.computed(()=>!!n.label.trim()),r=t.computed(()=>n.outline?"wu-bg-transparent !wu-border-gray-200 hover:!wu-bg-gray-100 hover:!wu-border-gray-300":n.ghost?"wu-bg-transparent !wu-text-gray-700 hover:!wu-bg-gray-100":"wu-bg-primary !wu-text-[var(--wu-primary-fg)]"),i=t.computed(()=>o.value?n.small?"wu-h-12 wu-w-fit wu-px-3 wu-gap-2":n.large?"wu-h-16 wu-w-fit wu-px-5 wu-gap-3":"wu-h-14 wu-w-fit wu-px-4 wu-gap-2":n.small?"wu-w-12 wu-h-12 wu-p-0":n.large?"wu-w-16 wu-h-16 wu-p-0":"wu-w-14 wu-h-14 wu-p-0"),a=t.computed(()=>n.small?"wu-w-6 wu-h-6":n.large?"wu-w-8 wu-h-8":"wu-w-7 wu-h-7"),s=t.computed(()=>n.disabled||n.loading?"wu-opacity-50 wu-pointer-events-none":"");return(d,l)=>(t.openBlock(),t.createElementBlock("button",{class:t.normalizeClass(["wu-rounded-full wu-inline-flex wu-items-center wu-justify-center wu-cursor-pointer wu-overflow-hidden wu-transition-all wu-border wu-border-transparent hover:wu-opacity-80 focus:wu-outline-hidden focus:wu-opacity-80 disabled:wu-opacity-50 disabled:wu-pointer-events-none",[i.value,r.value,s.value]]),type:"button","data-testid":"app-anchor",disabled:e.disabled||e.loading,onClick:l[0]||(l[0]=u=>d.$emit("click",u))},[e.loading?(t.openBlock(),t.createBlock(S,{key:0,class:"wu-animate-spin",outlined:"",large:!e.small&&!e.large,"extra-large":e.large},{default:t.withCtx(()=>[...l[1]||(l[1]=[t.createTextVNode("progress_activity",-1)])]),_:1},8,["large","extra-large"])):e.logo?(t.openBlock(),t.createElementBlock("img",{key:1,class:t.normalizeClass(["wu-object-contain wu-pointer-events-none wu-select-none wu-shrink-0",a.value]),src:e.logo,alt:"","data-testid":"app-anchor-logo"},null,10,xu)):t.createCommentVNode("",!0),o.value?(t.openBlock(),t.createBlock(D,{key:2,class:"!wu-text-inherit wu-whitespace-nowrap",small:!e.large,"data-testid":"app-anchor-label"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.label),1)]),_:1},8,["small"])):t.createCommentVNode("",!0)],10,bu))}}),Cu="widgets",Nu={"widget-identification-screen":"assignment","widget-base-screen":"desktop_windows","widget-article-screen":"description","widget-service-screen":"chat"},Yr={chat:"chat",voice:"phone_in_talk"},ku=e=>{if(e.action==="widget-service-screen"){const n=e.settings?.behavior;if(n&&n in Yr)return Yr[n]}return Nu[e.action]??Cu},Mu={key:0,class:"wu-flex wu-flex-col wu-items-center wu-gap-2","data-testid":"app-edge"},Au=["src"],Tu={key:1,class:"wu-w-full wu-max-w-[25rem]","data-testid":"app-edge"},Iu=["src"],Zr="!wu-text-[var(--wu-action-ink)]",et=t.defineComponent({__name:"app-edge",props:{edge:{},icon:{type:Boolean}},emits:["click"],setup(e,{emit:n}){const o=e,r=n,{language:i}=we(),a=t.computed(()=>o.edge.settings?.header?.logo),s=t.computed(()=>ku(o.edge)),d=t.computed(()=>te(o.edge.settings?.label,i.value).trim());return(l,u)=>e.icon?(t.openBlock(),t.createElementBlock("div",Mu,[t.createVNode(U,{outline:"",icon:"",onClick:u[0]||(u[0]=c=>r("click",e.edge))},{icon:t.withCtx(()=>[a.value?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-5 wu-h-5 wu-object-contain",src:a.value,alt:""},null,8,Au)):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(Zr)},t.toDisplayString(s.value),1))]),_:1}),t.createVNode(D,{class:"wu-w-20 wu-text-center wu-leading-3 wu-line-clamp-2","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value),1)]),_:1})])):(t.openBlock(),t.createElementBlock("div",Tu,[t.createVNode(U,{class:"hover:wu-translate-x-1",outline:"",fluid:"",onClick:u[1]||(u[1]=c=>r("click",e.edge))},{icon:t.withCtx(()=>[a.value?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-4 wu-h-4 wu-object-contain",src:a.value,alt:""},null,8,Iu)):(t.openBlock(),t.createElementBlock("span",{key:1,class:t.normalizeClass(Zr)},t.toDisplayString(s.value),1))]),trailing:t.withCtx(()=>[...u[2]||(u[2]=[t.createTextVNode("chevron_right",-1)])]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.value),1)]),_:1})]))}}),Eu={class:"wu-flex wu-flex-col wu-w-full wu-gap-8"},Su={key:0,class:"wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0"},Lu=["innerHTML"],Du={key:2,class:"wu-flex wu-flex-col wu-items-center wu-justify-start wu-gap-2 wu-px-6 wu-w-full"},Bu=t.defineComponent({__name:"app-article-page",props:{rule:{},edges:{}},emits:["edge-click"],setup(e,{emit:n}){const o=e,r=n,{history:i,language:a}=we(),s=t.computed(()=>i.value.length>0),d=t.computed(()=>o.edges??[]),l=t.computed(()=>d.value.slice(0,3)),u=t.computed(()=>d.value.slice(3)),c=t.computed(()=>o.rule.settings?.body),p=t.computed(()=>te(c.value?.content,a.value));return(f,m)=>(t.openBlock(),t.createElementBlock("div",Eu,[s.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Su)),p.value?(t.openBlock(),t.createElementBlock("div",{key:1,class:"wu-px-6 wu-w-full wu-article-content wu-font-primary wu-text-neutral wu-overflow-x-auto dark:wu-text-neutral-200","data-testid":"app-article-content",innerHTML:p.value},null,8,Lu)):t.createCommentVNode("",!0),d.value.length?(t.openBlock(),t.createElementBlock("div",Du,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(l.value,g=>(t.openBlock(),t.createBlock(et,{key:g.id,edge:g,onClick:m[0]||(m[0]=h=>r("edge-click",h))},null,8,["edge"]))),128)),u.value.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["wu-flex wu-items-start wu-overflow-x-auto wu-w-full invisible-scrollbar wu-pt-6",{"wu-justify-start":u.value.length>4,"wu-justify-center":u.value.length<=4}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.value,g=>(t.openBlock(),t.createBlock(et,{key:g.id,edge:g,icon:"",onClick:m[1]||(m[1]=h=>r("edge-click",h))},null,8,["edge"]))),128))],2)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),m[2]||(m[2]=t.createElementVNode("div",{class:"wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0"},null,-1))]))}}),Qo=nt(Bu,[["__scopeId","data-v-e558a3fb"]]),ju=120,Pu=()=>typeof MediaRecorder>"u"?"audio/webm":MediaRecorder.isTypeSupported("audio/webm;codecs=opus")?"audio/webm;codecs=opus":MediaRecorder.isTypeSupported("audio/webm")?"audio/webm":MediaRecorder.isTypeSupported("audio/mp4")?"audio/mp4":"audio/webm",_u=e=>e.includes("mp4")?"m4a":"webm",Qr=e=>e.toString().padStart(2,"0");function Ou(){const e=t.ref(!1),n=t.ref(0),o=t.ref(null);let r=null,i=null,a=[],s=null,d="audio/webm",l=!1,u=null;const c=t.computed(()=>{const b=Math.floor(n.value/60),$=n.value%60;return`${Qr(b)}:${Qr($)}`}),p=()=>{s&&(clearInterval(s),s=null)},f=()=>{i?.getTracks().forEach(b=>b.stop()),i=null},m=()=>{p(),f(),r=null,a=[],n.value=0,e.value=!1},g=()=>{if(!a.length)return null;const b=d.split(";")[0]||"audio/webm",$=new Blob(a,{type:b});return new File([$],`recording.${_u(b)}`,{type:b})},h=async()=>{if(o.value=null,typeof navigator>"u"||!navigator.mediaDevices?.getUserMedia)return o.value="Gravação de áudio não é suportada neste navegador",!1;try{return i=await navigator.mediaDevices.getUserMedia({audio:!0}),d=Pu(),a=[],r=new MediaRecorder(i,{mimeType:d}),r.ondataavailable=b=>{b.data.size>0&&a.push(b.data)},r.onstop=()=>{const b=l?null:g(),$=u;u=null,l=!1,m(),$?.(b)},r.start(),e.value=!0,n.value=0,s=setInterval(()=>{n.value+=1,n.value>=ju&&w()},1e3),!0}catch{return m(),o.value="Não foi possível acessar o microfone",!1}},w=()=>!r||r.state==="inactive"?(m(),Promise.resolve(null)):(p(),e.value=!1,new Promise(b=>{u=b,r?.stop(),f()})),v=async()=>{l=!0,a=[],await w()};return t.onUnmounted(()=>{v()}),{formattedDuration:c,durationSeconds:n,isRecording:e,error:o,cancel:v,start:h,stop:w}}const zu=["src","alt"],Ru=["src"],Fu=["src"],Vu=["title"],jn=t.defineComponent({__name:"app-media-preview",props:{open:{type:Boolean},items:{},index:{}},emits:["close","update:index"],setup(e,{emit:n}){const o=e,r=n,i=t.computed({get:()=>o.index??0,set:f=>r("update:index",f)}),a=t.computed(()=>i.value>0),s=t.computed(()=>i.value<o.items.length-1),d=t.computed(()=>o.items.length>1),l=()=>r("close"),u=()=>{a.value&&(i.value-=1)},c=()=>{s.value&&(i.value+=1)},p=f=>{o.open&&(f.key==="Escape"&&l(),f.key==="ArrowLeft"&&u(),f.key==="ArrowRight"&&c())};return t.watch(()=>o.open,f=>{f?window.addEventListener("keydown",p):window.removeEventListener("keydown",p)}),t.onBeforeUnmount(()=>{window.removeEventListener("keydown",p)}),(f,m)=>(t.openBlock(),t.createBlock(t.Teleport,{to:"body"},[e.open&&e.items.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:"wu-fixed wu-inset-0 wu-flex wu-items-center wu-justify-center wu-overflow-hidden wu-bg-black wu-bg-opacity-90 wu-z-[100000]","data-testid":"app-media-preview",onClick:l},[t.createElementVNode("button",{class:"wu-absolute wu-top-4 wu-right-4 wu-flex wu-items-center wu-justify-center wu-w-10 wu-h-10 wu-rounded-full wu-bg-black wu-bg-opacity-50 wu-border-0 wu-cursor-pointer",type:"button","data-testid":"app-media-preview-close",onClick:t.withModifiers(l,["stop"])},[t.createVNode(S,{light:""},{default:t.withCtx(()=>[...m[2]||(m[2]=[t.createTextVNode("close",-1)])]),_:1})]),d.value&&a.value?(t.openBlock(),t.createElementBlock("button",{key:0,class:"wu-absolute wu-left-4 wu-z-10 wu-flex wu-items-center wu-justify-center wu-w-10 wu-h-10 wu-rounded-full wu-bg-black wu-bg-opacity-50 wu-border-0 wu-cursor-pointer",type:"button","data-testid":"app-media-preview-prev",onClick:t.withModifiers(u,["stop"])},[t.createVNode(S,{light:""},{default:t.withCtx(()=>[...m[3]||(m[3]=[t.createTextVNode("chevron_left",-1)])]),_:1})])):t.createCommentVNode("",!0),d.value&&s.value?(t.openBlock(),t.createElementBlock("button",{key:1,class:"wu-absolute wu-right-4 wu-z-10 wu-flex wu-items-center wu-justify-center wu-w-10 wu-h-10 wu-rounded-full wu-bg-black wu-bg-opacity-50 wu-border-0 wu-cursor-pointer",type:"button","data-testid":"app-media-preview-next",onClick:t.withModifiers(c,["stop"])},[t.createVNode(S,{light:""},{default:t.withCtx(()=>[...m[4]||(m[4]=[t.createTextVNode("chevron_right",-1)])]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"wu-w-full wu-h-full wu-flex wu-items-center wu-justify-center",onClick:m[1]||(m[1]=t.withModifiers(()=>{},["stop"]))},[t.createVNode(Bn,{class:"wu-w-full",modelValue:i.value,"onUpdate:modelValue":m[0]||(m[0]=g=>i.value=g)},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(g,h)=>(t.openBlock(),t.createElementBlock("div",{class:"wu-flex wu-flex-col wu-items-center wu-justify-center wu-gap-3",key:`${g.src}-${h}`},[g.type==="image"?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-rounded wu-object-contain wu-w-full wu-max-h-[80vh]",src:g.src,alt:g.filename||"Imagem"},null,8,zu)):g.type==="video"?(t.openBlock(),t.createElementBlock("video",{key:1,class:"wu-rounded wu-object-contain wu-w-full wu-max-h-[80vh]",src:g.src,controls:""},null,8,Ru)):g.type==="pdf"?(t.openBlock(),t.createElementBlock("iframe",{key:2,class:"wu-bg-white wu-rounded wu-w-full wu-h-[85vh]",src:g.src,frameborder:"0"},null,8,Fu)):t.createCommentVNode("",!0),g.filename?(t.openBlock(),t.createElementBlock("p",{key:3,class:"wu-text-white wu-text-xs wu-opacity-75 wu-truncate wu-max-w-full",title:g.filename},t.toDisplayString(g.filename),9,Vu)):t.createCommentVNode("",!0)]))),128))]),_:1},8,["modelValue"])])])):t.createCommentVNode("",!0)]))}}),Hu=["onClick"],Uu=["src","alt"],Gu={key:1,class:"wu-flex wu-items-center wu-justify-center wu-w-full wu-h-full"},Wu={key:2,class:"wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-bg-black wu-bg-opacity-50"},Yu={class:"wu-text-white wu-text-lg wu-font-semibold"},Zu=t.defineComponent({__name:"app-message-grouped-images",props:{message:{}},setup(e){const n=e,o=t.computed(()=>n.message.messages||[]),r=t.computed(()=>o.value.slice(0,4)),i=t.computed(()=>Math.max(0,o.value.length-4)),a=c=>Le(c)?.link||"",s=t.ref(!1),d=t.ref(0),l=t.computed(()=>{const c=[];for(const p of o.value){const f=Le(p);f?.link&&c.push({src:f.link,type:"image",filename:f.filename})}return c}),u=c=>{l.value.length&&(d.value=Math.min(c,l.value.length-1),s.value=!0)};return(c,p)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-grid wu-gap-1 wu-rounded wu-overflow-hidden wu-min-w-[12rem]",r.value.length===1?"wu-grid-cols-1":"wu-grid-cols-2"]),"data-testid":"app-message-grouped-images"},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.value,(f,m)=>(t.openBlock(),t.createElementBlock("div",{class:"wu-relative wu-aspect-square wu-bg-gray-100 wu-cursor-pointer dark:wu-bg-neutral-800",key:f.id??m,onClick:g=>u(m)},[a(f)?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-full wu-h-full wu-object-cover",src:a(f),alt:t.unref(Le)(f)?.filename||"Imagem"},null,8,Uu)):(t.openBlock(),t.createElementBlock("div",Gu,[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[...p[2]||(p[2]=[t.createTextVNode("image",-1)])]),_:1})])),m===r.value.length-1&&i.value>0?(t.openBlock(),t.createElementBlock("div",Wu,[t.createElementVNode("span",Yu,t.toDisplayString(`+${i.value}`),1)])):t.createCommentVNode("",!0)],8,Hu))),128)),t.createVNode(jn,{open:s.value,items:l.value,index:d.value,onClose:p[0]||(p[0]=f=>s.value=!1),"onUpdate:index":p[1]||(p[1]=f=>d.value=f)},null,8,["open","items","index"])],2))}}),Qu=["disabled"],Bt=t.defineComponent({__name:"app-audio-player",props:{src:{},file:{}},setup(e){const n=e,o=t.ref(null),r=t.ref(!1),i=t.ref(0),a=t.ref(0),s=t.ref(1),d=t.ref(null),l=k=>Math.floor(k).toString().padStart(2,"0"),u=k=>{if(!Number.isFinite(k)||k<0)return"00:00";const T=Math.floor(k/60),B=Math.floor(k%60);return`${l(T)}:${l(B)}`},c=t.computed(()=>!a.value||!Number.isFinite(a.value)?0:Math.min(100,i.value/a.value*100)),p=t.computed(()=>Number.isFinite(a.value)&&a.value>0),f=t.computed(()=>`${u(i.value)} / ${u(a.value)}`),m=()=>{d.value&&(URL.revokeObjectURL(d.value),d.value=null)},g=()=>{if(m(),n.src)return n.src;if(n.file)return d.value=URL.createObjectURL(t.toRaw(n.file)),d.value},h=()=>{a.value=o.value?.duration||0},w=()=>{i.value=o.value?.currentTime||0},v=()=>{r.value=!1,i.value=0,o.value&&(o.value.currentTime=0)},b=()=>{o.value&&(o.value.pause(),o.value.removeEventListener("loadedmetadata",h),o.value.removeEventListener("timeupdate",w),o.value.removeEventListener("ended",v),o.value=null,r.value=!1,i.value=0,a.value=0)},$=()=>{b();const k=g();if(!k)return;const T=new Audio(k);T.addEventListener("loadedmetadata",h),T.addEventListener("timeupdate",w),T.addEventListener("ended",v),T.playbackRate=s.value,o.value=T},y=async()=>{!o.value||!p.value||(await o.value.play(),r.value=!0)},N=()=>{o.value&&(o.value.pause(),r.value=!1)},A=()=>{r.value?N():y()},M=k=>{if(!o.value||!p.value)return;const B=k.currentTarget.getBoundingClientRect(),F=Math.min(1,Math.max(0,(k.clientX-B.left)/B.width));o.value.currentTime=F*a.value,i.value=o.value.currentTime},x=()=>{s.value=Math.max(1,(s.value+.5)%2.5),o.value&&(o.value.playbackRate=s.value)};return t.watch(()=>[n.src,n.file],()=>$(),{immediate:!0}),t.onBeforeUnmount(()=>{b(),m()}),(k,T)=>(t.openBlock(),t.createBlock(O,{class:"wu-w-full wu-min-w-0 wu-items-center","data-testid":"app-audio-player","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(U,{"data-testid":"app-audio-player-toggle",onClick:A,disabled:!p.value,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(r.value?"pause":"play_arrow"),1)]),_:1})]),_:1},8,["disabled"]),t.createVNode(O,{class:"wu-flex-1 wu-min-w-0",col:"","gap-xs":""},{default:t.withCtx(()=>[t.createElementVNode("button",{class:"wu-relative wu-w-full wu-rounded-full wu-cursor-pointer wu-h-1.5 wu-bg-gray-400 dark:wu-bg-neutral-500 disabled:wu-cursor-default",type:"button","data-testid":"app-audio-player-seek",disabled:!p.value,onClick:M},[t.createElementVNode("div",{class:"wu-absolute wu-left-0 wu-top-0 wu-bottom-0 wu-rounded-full wu-bg-primary wu-transition-all",style:t.normalizeStyle({width:`${c.value}%`})},null,4),t.createElementVNode("div",{class:"wu-absolute wu-w-2 wu-h-2 wu-rounded-full wu-bg-primary wu-shrink-0 wu-transition-all -wu-translate-x-1/2 -wu-translate-y-1/2 wu-top-1/2",style:t.normalizeStyle({left:`${c.value}%`})},null,4)],8,Qu),t.createVNode(D,{"extra-small":"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(f.value),1)]),_:1})]),_:1}),t.createVNode(U,{"data-testid":"app-audio-player-speed",onClick:x,disabled:!p.value,ghost:"",small:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(s.value)+"x",1)]),_:1},8,["disabled"])]),_:1}))}}),Ju={class:"wu-flex wu-flex-col wu-gap-2 wu-min-w-[12rem]","data-testid":"app-message-attachments"},Ku=["innerHTML"],Xu=["onClick"],qu=["src","alt"],ec=["src"],tc={key:2,class:"wu-flex wu-items-center wu-justify-center wu-w-full wu-h-full"},nc={key:3,class:"wu-absolute wu-inset-0 wu-flex wu-items-center wu-justify-center wu-bg-black wu-bg-opacity-50"},oc={class:"wu-text-white wu-text-lg wu-font-semibold"},rc={key:0,class:"wu-flex-1 wu-min-w-0"},ic=t.defineComponent({__name:"app-message-attachments",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Dn(o.message)),a=t.computed(()=>i.value.filter($=>$.type==="image"||$.type==="video")),s=t.computed(()=>i.value.filter($=>$.type!=="image"&&$.type!=="video")),d=t.computed(()=>a.value.slice(0,4)),l=t.computed(()=>Math.max(0,a.value.length-4)),u=t.computed(()=>zl(o.message)),c=t.computed(()=>Xi(o.message)),p=t.computed(()=>!!(d.value.length||s.value.length)),f=t.ref(!1),m=t.ref(0),g=t.ref([]),h=$=>{g.value=a.value.filter(y=>y.link).map(y=>({src:y.link,type:y.type==="video"?"video":"image",filename:y.filename})),g.value.length&&(m.value=Math.min($,g.value.length-1),f.value=!0)},w=$=>{$.link&&(g.value=[{src:$.link,type:"pdf",filename:$.filename}],m.value=0,f.value=!0)},v=()=>{f.value=!1,g.value=[]},b=$=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:$})};return($,y)=>(t.openBlock(),t.createElementBlock("div",Ju,[u.value?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-whitespace-pre-wrap","data-testid":"app-message-attachments-body",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:u.value},null,8,Ku)]),_:1})):t.createCommentVNode("",!0),d.value.length?(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(["wu-grid wu-gap-1 wu-rounded wu-overflow-hidden",d.value.length===1?"wu-grid-cols-1":"wu-grid-cols-2"])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(d.value,(N,A)=>(t.openBlock(),t.createElementBlock("div",{class:"wu-relative wu-aspect-square wu-bg-gray-100 wu-cursor-pointer dark:wu-bg-neutral-800",key:N.id,onClick:M=>h(A)},[N.type==="image"&&N.link?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-full wu-h-full wu-object-cover",src:N.link,alt:N.filename},null,8,qu)):N.type==="video"&&N.link?(t.openBlock(),t.createElementBlock("video",{key:1,class:"wu-w-full wu-h-full wu-object-cover",src:N.link,preload:"metadata"},null,8,ec)):(t.openBlock(),t.createElementBlock("div",tc,[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(N.type==="video"?"videocam":"image"),1)]),_:2},1024)])),A===d.value.length-1&&l.value>0?(t.openBlock(),t.createElementBlock("div",nc,[t.createElementVNode("span",oc,t.toDisplayString(`+${l.value}`),1)])):t.createCommentVNode("",!0),t.createVNode(U,{class:"wu-absolute wu-bottom-1 wu-right-1 !wu-bg-black/55 hover:!wu-bg-black/75 !wu-text-white !wu-border-0",onClick:t.withModifiers(M=>b(N),["stop"]),ghost:"",small:"",icon:"",round:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"!wu-text-white dark:!wu-text-white"},{default:t.withCtx(()=>[...y[1]||(y[1]=[t.createTextVNode("download",-1)])]),_:1})]),_:1},8,["onClick"])],8,Xu))),128))],2)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,N=>(t.openBlock(),t.createBlock(O,{class:"wu-items-center wu-bg-white dark:wu-bg-neutral-800",key:N.id,"padding-sm":"",rounded:"",border:"","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(O,{class:"wu-w-8 wu-h-8 wu-bg-gray-200 wu-shrink-0 dark:wu-bg-neutral-700",center:"",rounded:""},{default:t.withCtx(()=>[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(N.type==="audio"?"mic":"file_present"),1)]),_:2},1024)]),_:2},1024),N.type==="audio"&&N.link?(t.openBlock(),t.createElementBlock("div",rc,[t.createVNode(Bt,{src:N.link},null,8,["src"])])):(t.openBlock(),t.createBlock(D,{key:1,class:"wu-flex-1 wu-min-w-0 [overflow-wrap:anywhere]",title:N.filename,semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(N.filename),1)]),_:2},1032,["title"])),t.unref(qi)(N)?(t.openBlock(),t.createBlock(U,{key:2,onClick:A=>w(N),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...y[2]||(y[2]=[t.createTextVNode("visibility",-1)])]),_:1})]),_:1},8,["onClick"])):t.createCommentVNode("",!0),t.createVNode(U,{onClick:A=>b(N),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...y[3]||(y[3]=[t.createTextVNode("download",-1)])]),_:1})]),_:1},8,["onClick"])]),_:2},1024))),128)),c.value&&p.value?(t.openBlock(),t.createBlock(D,{key:2,class:"wu-whitespace-pre-wrap","data-testid":"app-message-attachments-caption",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.value),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(jn,{open:f.value,items:g.value,index:m.value,onClose:v,"onUpdate:index":y[0]||(y[0]=N=>m.value=N)},null,8,["open","items","index"])]))}}),ac={class:"wu-w-full wu-px-3 wu-py-2 wu-bg-primary"},sc=["disabled","onClick"],dc=t.defineComponent({__name:"app-message-interactive",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.ref(Qt(o.message));t.watch(()=>[o.message.messageBody,o.message.metadata,o.message.canBeInteractedWith],()=>{i.value=Qt(o.message)});const a=t.computed(()=>!!(o.message.canBeInteractedWith&&i.value)),s=d=>{a.value&&(d.disabled||d.selected||(r("chat-service-message-action",{action:"select-option",message:o.message,option:d}),i.value&&(i.value={...i.value,selectedOption:d.label,selectedValue:d.value,selectedAt:new Date().toISOString(),menu:i.value.menu.map(l=>({...l,selected:l.value===d.value,disabled:!0}))})))};return(d,l)=>i.value?(t.openBlock(),t.createBlock(O,{key:0,class:"wu-w-full wu-overflow-hidden wu-bg-white wu-min-w-[14rem] dark:wu-bg-neutral-800",col:"","gap-none":"",rounded:"",border:"","data-testid":"app-message-interactive"},{default:t.withCtx(()=>[t.createElementVNode("div",ac,[t.createVNode(D,{class:"!wu-text-[var(--wu-primary-fg)]",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value.description),1)]),_:1})]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value.menu,(u,c)=>(t.openBlock(),t.createElementBlock("button",{class:"wu-flex wu-w-full wu-items-center wu-justify-between wu-gap-2 wu-px-3 wu-py-3 wu-text-left wu-bg-transparent wu-border-0 wu-border-t wu-border-gray-100 dark:wu-border-neutral-700 disabled:wu-opacity-50",key:`${u.value}-${c}`,type:"button",disabled:!a.value||u.disabled,onClick:p=>s(u)},[t.createVNode(O,{class:"wu-items-start wu-flex-1 wu-min-w-0",col:"","gap-none":""},{default:t.withCtx(()=>[t.createVNode(D,{semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.label),1)]),_:2},1024),u.description?(t.openBlock(),t.createBlock(D,{key:0,"extra-small":"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.description),1)]),_:2},1024)):t.createCommentVNode("",!0)]),_:2},1024),t.createVNode(S,{class:t.normalizeClass(u.selected?"wu-text-green-500":""),gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.selected?"check_circle":"radio_button_unchecked"),1)]),_:2},1032,["class"])],8,sc))),128))]),_:1})):t.createCommentVNode("",!0)}}),lc={class:"wu-flex wu-flex-col wu-gap-2 wu-min-w-[14rem]","data-testid":"app-message-document"},uc=t.defineComponent({__name:"app-message-document",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Le(o.message)),a=t.computed(()=>i.value?.filename||o.message.messageBody||"Documento"),s=t.computed(()=>!!(i.value?.link&&qi(i.value))),d=t.ref(!1),l=t.computed(()=>!s.value||!i.value?.link?[]:[{src:i.value.link,type:"pdf",filename:i.value.filename}]),u=()=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:i.value})};return(c,p)=>(t.openBlock(),t.createElementBlock("div",lc,[t.createVNode(O,{class:"wu-items-center wu-bg-white dark:wu-bg-neutral-800","padding-sm":"",rounded:"",border:"","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(O,{class:"wu-w-8 wu-h-8 wu-bg-gray-200 wu-shrink-0 dark:wu-bg-neutral-700",center:"",rounded:""},{default:t.withCtx(()=>[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[...p[2]||(p[2]=[t.createTextVNode("file_present",-1)])]),_:1})]),_:1}),t.createVNode(D,{class:"wu-flex-1 wu-min-w-0 [overflow-wrap:anywhere]",title:a.value,semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value),1)]),_:1},8,["title"]),s.value?(t.openBlock(),t.createBlock(U,{key:0,onClick:p[0]||(p[0]=f=>d.value=!0),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...p[3]||(p[3]=[t.createTextVNode("visibility",-1)])]),_:1})]),_:1})):t.createCommentVNode("",!0),t.createVNode(U,{onClick:u,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...p[4]||(p[4]=[t.createTextVNode("download",-1)])]),_:1})]),_:1})]),_:1}),e.message.caption?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-whitespace-pre-wrap",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.message.caption),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(jn,{open:d.value,items:l.value,index:0,onClose:p[1]||(p[1]=f=>d.value=!1)},null,8,["open","items"])]))}}),cc={class:"wu-w-full wu-px-3 wu-py-2 wu-bg-primary"},pc=["disabled","onClick"],fc=t.defineComponent({__name:"app-message-survey",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.ref(Qt(o.message));t.watch(()=>[o.message.messageBody,o.message.metadata,o.message.canBeInteractedWith],()=>{i.value=Qt(o.message)});const a=t.computed(()=>!!(o.message.canBeInteractedWith&&i.value)),s=t.computed(()=>!!i.value?.menu.some(l=>l.selected)),d=l=>{a.value&&(l.disabled||l.selected||(r("chat-service-message-action",{action:"select-survey",message:o.message,option:l}),i.value&&(i.value={...i.value,menu:i.value.menu.map(u=>({...u,selected:u.value===l.value,disabled:!0}))})))};return(l,u)=>i.value?(t.openBlock(),t.createBlock(O,{key:0,class:"wu-w-full wu-overflow-hidden wu-bg-white wu-min-w-[14rem] dark:wu-bg-neutral-800",col:"","gap-none":"",rounded:"",border:"","data-testid":"app-message-survey"},{default:t.withCtx(()=>[t.createElementVNode("div",cc,[t.createVNode(D,{class:"!wu-text-[var(--wu-primary-fg)]",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(i.value.description),1)]),_:1})]),a.value&&!s.value?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(i.value.menu,(c,p)=>(t.openBlock(),t.createElementBlock("button",{class:"wu-flex wu-w-full wu-items-center wu-justify-between wu-gap-2 wu-px-3 wu-py-3 wu-text-left wu-bg-transparent wu-border-0 wu-border-t wu-border-gray-100 dark:wu-border-neutral-700 disabled:wu-opacity-50",key:`${c.value}-${p}`,type:"button",disabled:c.disabled,onClick:f=>d(c)},[t.createVNode(D,{semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.label),1)]),_:2},1024),t.createVNode(S,{class:t.normalizeClass(c.selected?"wu-text-green-500":""),gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.selected?"check_circle":"radio_button_unchecked"),1)]),_:2},1032,["class"])],8,pc))),128)):(t.openBlock(),t.createBlock(O,{key:1,class:"wu-items-center wu-justify-center wu-px-3 wu-py-3 wu-border-t wu-border-gray-100 dark:wu-border-neutral-700","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(D,{small:"",gray:""},{default:t.withCtx(()=>[...u[0]||(u[0]=[t.createTextVNode("Pesquisa de satisfação já respondida",-1)])]),_:1}),t.createVNode(S,{class:"wu-text-green-500"},{default:t.withCtx(()=>[...u[1]||(u[1]=[t.createTextVNode("check_circle",-1)])]),_:1})]),_:1}))]),_:1})):t.createCommentVNode("",!0)}}),bo=t.defineComponent({__name:"app-message-audio",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Le(o.message)),a=t.computed(()=>i.value?.link||""),s=()=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:i.value})};return(d,l)=>(t.openBlock(),t.createBlock(O,{class:"wu-items-center wu-min-w-[14rem]","gap-sm":"","data-testid":"app-message-audio"},{default:t.withCtx(()=>[a.value?(t.openBlock(),t.createBlock(Bt,{key:0,class:"wu-flex-1",src:a.value},null,8,["src"])):(t.openBlock(),t.createBlock(O,{key:1,class:"wu-items-center wu-justify-center wu-h-10 wu-flex-1 wu-rounded wu-bg-gray-100 dark:wu-bg-neutral-800"},{default:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...l[0]||(l[0]=[t.createTextVNode("mic",-1)])]),_:1})]),_:1})),t.createVNode(U,{onClick:s,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...l[1]||(l[1]=[t.createTextVNode("download",-1)])]),_:1})]),_:1})]),_:1}))}}),mc={class:"wu-flex wu-flex-col wu-gap-2 wu-min-w-[10rem]","data-testid":"app-message-image"},gc={class:"wu-relative wu-rounded wu-overflow-hidden wu-bg-gray-100 dark:wu-bg-neutral-800"},hc=["src","alt"],wc={key:1,class:"wu-flex wu-items-center wu-justify-center wu-h-32"},$c=t.defineComponent({__name:"app-message-image",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Le(o.message)),a=t.computed(()=>i.value?.link||""),s=t.ref(!1),d=t.computed(()=>a.value?[{src:a.value,type:"image",filename:i.value?.filename}]:[]),l=()=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:i.value})};return(u,c)=>(t.openBlock(),t.createElementBlock("div",mc,[t.createElementVNode("div",gc,[a.value?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-full wu-max-h-64 wu-object-cover wu-cursor-pointer",src:a.value,alt:i.value?.filename||e.message.caption||"Imagem",onClick:c[0]||(c[0]=p=>s.value=!0)},null,8,hc)):(t.openBlock(),t.createElementBlock("div",wc,[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[...c[2]||(c[2]=[t.createTextVNode("image",-1)])]),_:1})])),t.createVNode(U,{class:"wu-absolute wu-bottom-2 wu-right-2 !wu-bg-black/55 hover:!wu-bg-black/75 !wu-text-white !wu-border-0",onClick:t.withModifiers(l,["stop"]),ghost:"",small:"",icon:"",round:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"!wu-text-white dark:!wu-text-white"},{default:t.withCtx(()=>[...c[3]||(c[3]=[t.createTextVNode("download",-1)])]),_:1})]),_:1})]),e.message.caption?(t.openBlock(),t.createBlock(D,{key:0,gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.message.caption),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(jn,{open:s.value,items:d.value,index:0,onClose:c[1]||(c[1]=p=>s.value=!1)},null,8,["open","items"])]))}}),yc={class:"wu-flex wu-flex-col wu-gap-2 wu-min-w-[12rem]","data-testid":"app-message-video"},vc={class:"wu-relative wu-rounded wu-overflow-hidden wu-bg-black"},bc=["src"],xc={key:1,class:"wu-flex wu-items-center wu-justify-center wu-h-32"},Cc=t.defineComponent({__name:"app-message-video",props:{message:{}},emits:["chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>Le(o.message)),a=t.computed(()=>i.value?.link||""),s=()=>{r("chat-service-message-action",{action:"download",message:o.message,attachment:i.value})};return(d,l)=>(t.openBlock(),t.createElementBlock("div",yc,[t.createElementVNode("div",vc,[a.value?(t.openBlock(),t.createElementBlock("video",{key:0,class:"wu-w-full wu-max-h-64",src:a.value,controls:"",preload:"metadata"},null,8,bc)):(t.openBlock(),t.createElementBlock("div",xc,[t.createVNode(S,{gray:"",large:""},{default:t.withCtx(()=>[...l[0]||(l[0]=[t.createTextVNode("videocam",-1)])]),_:1})])),t.createVNode(U,{class:"wu-absolute wu-bottom-2 wu-right-2 !wu-bg-black/55 hover:!wu-bg-black/75 !wu-text-white !wu-border-0",onClick:s,ghost:"",small:"",icon:"",round:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"!wu-text-white dark:!wu-text-white"},{default:t.withCtx(()=>[...l[1]||(l[1]=[t.createTextVNode("download",-1)])]),_:1})]),_:1})]),e.message.caption?(t.openBlock(),t.createBlock(D,{key:0,gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.message.caption),1)]),_:1})):t.createCommentVNode("",!0)]))}}),Nc=["href"],kc=["src","alt"],Mc={class:"wu-flex wu-min-w-0 wu-flex-1 wu-flex-col wu-items-start wu-overflow-hidden wu-pr-4 wu-gap-0.5"},Ac={class:"wu-truncate"},Tc=t.defineComponent({__name:"app-message-link-preview",props:{preview:{}},setup(e){const n=e,o=t.ref(!1),r=t.computed(()=>n.preview.url||"#"),i=t.computed(()=>n.preview.images?.[0]||n.preview.favicons?.[0]||""),a=t.computed(()=>!o.value&&!!n.preview.title);return(s,d)=>a.value?(t.openBlock(),t.createElementBlock("a",{key:0,class:"wu-relative wu-flex wu-items-center wu-gap-2 wu-rounded-lg wu-border wu-border-gray-200 wu-bg-white wu-p-2 wu-no-underline dark:wu-border-neutral-700 dark:wu-bg-neutral-800","data-testid":"app-message-link-preview",href:r.value,target:"_blank",rel:"noopener noreferrer"},[t.createElementVNode("button",{class:"wu-absolute wu-right-1 wu-top-1 wu-border-0 wu-bg-transparent wu-p-0 wu-cursor-pointer",type:"button","aria-label":"Fechar preview",onClick:d[0]||(d[0]=t.withModifiers(l=>o.value=!0,["prevent"]))},[t.createVNode(S,{gray:"",small:""},{default:t.withCtx(()=>[...d[1]||(d[1]=[t.createTextVNode("close",-1)])]),_:1})]),i.value?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-h-12 wu-w-12 wu-shrink-0 wu-rounded wu-object-cover",src:i.value,alt:e.preview.title||"Link preview"},null,8,kc)):t.createCommentVNode("",!0),t.createElementVNode("div",Mc,[t.createVNode(D,{class:"wu-line-clamp-1 wu-leading-3",semibold:"","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.preview.title),1)]),_:1}),e.preview.description?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-line-clamp-2 wu-leading-3",gray:"","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.preview.description),1)]),_:1})):t.createCommentVNode("",!0),t.createVNode(D,{class:"wu-flex wu-max-w-full wu-items-center wu-gap-1 wu-truncate",gray:"","extra-small":""},{default:t.withCtx(()=>[t.createVNode(S,{gray:"",small:""},{default:t.withCtx(()=>[...d[2]||(d[2]=[t.createTextVNode("link",-1)])]),_:1}),t.createElementVNode("span",Ac,t.toDisplayString(e.preview.url),1)]),_:1})])],8,Nc)):t.createCommentVNode("",!0)}}),Ic="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2odyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos6kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rck0msd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12b0cam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2oodside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",Ec="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",xo="numeric",Co="ascii",No="alpha",ut="asciinumeric",lt="alphanumeric",ko="domain",ra="emoji",Sc="scheme",Lc="slashscheme",to="whitespace";function Dc(e,n){return e in n||(n[e]=[]),n[e]}function Fe(e,n,o){n[xo]&&(n[ut]=!0,n[lt]=!0),n[Co]&&(n[ut]=!0,n[No]=!0),n[ut]&&(n[lt]=!0),n[No]&&(n[lt]=!0),n[lt]&&(n[ko]=!0),n[ra]&&(n[ko]=!0);for(const r in n){const i=Dc(r,o);i.indexOf(e)<0&&i.push(e)}}function Bc(e,n){const o={};for(const r in n)n[r].indexOf(e)>=0&&(o[r]=!0);return o}function ne(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}ne.groups={};ne.prototype={accepts(){return!!this.t},go(e){const n=this,o=n.j[e];if(o)return o;for(let r=0;r<n.jr.length;r++){const i=n.jr[r][0],a=n.jr[r][1];if(a&&i.test(e))return a}return n.jd},has(e,n=!1){return n?e in this.j:!!this.go(e)},ta(e,n,o,r){for(let i=0;i<e.length;i++)this.tt(e[i],n,o,r)},tr(e,n,o,r){r=r||ne.groups;let i;return n&&n.j?i=n:(i=new ne(n),o&&r&&Fe(n,o,r)),this.jr.push([e,i]),i},ts(e,n,o,r){let i=this;const a=e.length;if(!a)return i;for(let s=0;s<a-1;s++)i=i.tt(e[s]);return i.tt(e[a-1],n,o,r)},tt(e,n,o,r){r=r||ne.groups;const i=this;if(n&&n.j)return i.j[e]=n,n;const a=n;let s,d=i.go(e);if(d?(s=new ne,Object.assign(s.j,d.j),s.jr.push.apply(s.jr,d.jr),s.jd=d.jd,s.t=d.t):s=new ne,a){if(r)if(s.t&&typeof s.t=="string"){const l=Object.assign(Bc(s.t,r),o);Fe(a,l,r)}else o&&Fe(a,o,r);s.t=a}return i.j[e]=s,s}};const _=(e,n,o,r,i)=>e.ta(n,o,r,i),Z=(e,n,o,r,i)=>e.tr(n,o,r,i),Jr=(e,n,o,r,i)=>e.ts(n,o,r,i),C=(e,n,o,r,i)=>e.tt(n,o,r,i),be="WORD",Mo="UWORD",ia="ASCIINUMERICAL",aa="ALPHANUMERICAL",At="LOCALHOST",Ao="TLD",To="UTLD",Ht="SCHEME",Ye="SLASH_SCHEME",Jo="NUM",Io="WS",Ko="NL",ct="OPENBRACE",pt="CLOSEBRACE",Jt="OPENBRACKET",Kt="CLOSEBRACKET",Xt="OPENPAREN",qt="CLOSEPAREN",en="OPENANGLEBRACKET",tn="CLOSEANGLEBRACKET",nn="FULLWIDTHLEFTPAREN",on="FULLWIDTHRIGHTPAREN",rn="LEFTCORNERBRACKET",an="RIGHTCORNERBRACKET",sn="LEFTWHITECORNERBRACKET",dn="RIGHTWHITECORNERBRACKET",ln="FULLWIDTHLESSTHAN",un="FULLWIDTHGREATERTHAN",cn="AMPERSAND",pn="APOSTROPHE",fn="ASTERISK",Se="AT",mn="BACKSLASH",gn="BACKTICK",hn="CARET",Ve="COLON",Xo="COMMA",wn="DOLLAR",pe="DOT",$n="EQUALS",qo="EXCLAMATION",ae="HYPHEN",ft="PERCENT",yn="PIPE",vn="PLUS",Qe="POUND",Re="QUERY",er="QUOTE",sa="FULLWIDTHMIDDLEDOT",tr="SEMI",fe="SLASH",mt="TILDE",bn="UNDERSCORE",da="EMOJI",xn="SYM";var la=Object.freeze({__proto__:null,ALPHANUMERICAL:aa,AMPERSAND:cn,APOSTROPHE:pn,ASCIINUMERICAL:ia,ASTERISK:fn,AT:Se,BACKSLASH:mn,BACKTICK:gn,CARET:hn,CLOSEANGLEBRACKET:tn,CLOSEBRACE:pt,CLOSEBRACKET:Kt,CLOSEPAREN:qt,COLON:Ve,COMMA:Xo,DOLLAR:wn,DOT:pe,EMOJI:da,EQUALS:$n,EXCLAMATION:qo,FULLWIDTHGREATERTHAN:un,FULLWIDTHLEFTPAREN:nn,FULLWIDTHLESSTHAN:ln,FULLWIDTHMIDDLEDOT:sa,FULLWIDTHRIGHTPAREN:on,HYPHEN:ae,LEFTCORNERBRACKET:rn,LEFTWHITECORNERBRACKET:sn,LOCALHOST:At,NL:Ko,NUM:Jo,OPENANGLEBRACKET:en,OPENBRACE:ct,OPENBRACKET:Jt,OPENPAREN:Xt,PERCENT:ft,PIPE:yn,PLUS:vn,POUND:Qe,QUERY:Re,QUOTE:er,RIGHTCORNERBRACKET:an,RIGHTWHITECORNERBRACKET:dn,SCHEME:Ht,SEMI:tr,SLASH:fe,SLASH_SCHEME:Ye,SYM:xn,TILDE:mt,TLD:Ao,UNDERSCORE:bn,UTLD:To,UWORD:Mo,WORD:be,WS:Io});const ye=/[a-z]/;let Ze=/[a-z]/i,Ut=/[\u{1F000}-\u{1FAFF}\u{2600}-\u{27BF}]|\u{FE0F}/u;try{Ze=new RegExp("\\p{L}","u"),Ut=new RegExp("\\p{Emoji}","u")}catch{}const ve=/\d/,no=/\s/,Kr="\r",oo=`
|
|
6
|
+
`,jc="️",Pc="",ro="";let Ot=null,zt=null;function _c(e=[]){const n={};ne.groups=n;const o=new ne;Ot==null&&(Ot=Xr(Ic)),zt==null&&(zt=Xr(Ec)),C(o,"'",pn),C(o,"{",ct),C(o,"}",pt),C(o,"[",Jt),C(o,"]",Kt),C(o,"(",Xt),C(o,")",qt),C(o,"<",en),C(o,">",tn),C(o,"(",nn),C(o,")",on),C(o,"「",rn),C(o,"」",an),C(o,"『",sn),C(o,"』",dn),C(o,"<",ln),C(o,">",un),C(o,"&",cn),C(o,"*",fn),C(o,"@",Se),C(o,"`",gn),C(o,"^",hn),C(o,":",Ve),C(o,",",Xo),C(o,"$",wn),C(o,".",pe),C(o,"=",$n),C(o,"!",qo),C(o,"-",ae),C(o,"%",ft),C(o,"|",yn),C(o,"+",vn),C(o,"#",Qe),C(o,"?",Re),C(o,'"',er),C(o,"/",fe),C(o,";",tr),C(o,"~",mt),C(o,"_",bn),C(o,"\\",mn),C(o,"・",sa);const r=Z(o,ve,Jo,{[xo]:!0});Z(r,ve,r);const i=Z(r,ye,ia,{[ut]:!0}),a=Z(r,Ze,aa,{[lt]:!0}),s=Z(o,ye,be,{[Co]:!0});Z(s,ve,i),Z(s,ye,s),Z(i,ve,i),Z(i,ye,i);const d=Z(o,Ze,Mo,{[No]:!0});Z(d,ye),Z(d,ve,a),Z(d,Ze,d),Z(a,ve,a),Z(a,ye),Z(a,Ze,a);const l=C(o,oo,Ko,{[to]:!0}),u=C(o,Kr,Io,{[to]:!0}),c=Z(o,no,Io,{[to]:!0});C(o,ro,c),C(u,oo,l),C(u,ro,c),Z(u,no,c),C(c,Kr),C(c,oo),Z(c,no,c),C(c,ro,c);const p=Z(o,Ut,da,{[ra]:!0});C(p,"#"),Z(p,Ut,p),C(p,jc,p);const f=C(p,Pc);C(f,"#"),Z(f,Ut,p);const m=[[ye,s],[ve,i]],g=[[ye,null],[Ze,d],[ve,a]];for(let h=0;h<Ot.length;h++)Te(o,Ot[h],Ao,be,m);for(let h=0;h<zt.length;h++)Te(o,zt[h],To,Mo,g);Fe(Ao,{tld:!0,ascii:!0},n),Fe(To,{utld:!0,alpha:!0},n),Te(o,"file",Ht,be,m),Te(o,"mailto",Ht,be,m),Te(o,"http",Ye,be,m),Te(o,"https",Ye,be,m),Te(o,"ftp",Ye,be,m),Te(o,"ftps",Ye,be,m),Fe(Ht,{scheme:!0,ascii:!0},n),Fe(Ye,{slashscheme:!0,ascii:!0},n),e=e.sort((h,w)=>h[0]>w[0]?1:-1);for(let h=0;h<e.length;h++){const w=e[h][0],b=e[h][1]?{[Sc]:!0}:{[Lc]:!0};w.indexOf("-")>=0?b[ko]=!0:ye.test(w)?ve.test(w)?b[ut]=!0:b[Co]=!0:b[xo]=!0,Jr(o,w,w,b)}return Jr(o,"localhost",At,{ascii:!0}),o.jd=new ne(xn),{start:o,tokens:Object.assign({groups:n},la)}}function ua(e,n){const o=Oc(n.replace(/[A-Z]/g,d=>d.toLowerCase())),r=o.length,i=[];let a=0,s=0;for(;s<r;){let d=e,l=null,u=0,c=null,p=-1,f=-1;for(;s<r&&(l=d.go(o[s]));)d=l,d.accepts()?(p=0,f=0,c=d):p>=0&&(p+=o[s].length,f++),u+=o[s].length,a+=o[s].length,s++;a-=p,s-=f,u-=p,i.push({t:c.t,v:n.slice(a-u,a),s:a-u,e:a})}return i}function Oc(e){const n=[],o=e.length;let r=0;for(;r<o;){let i=e.charCodeAt(r),a,s=i<55296||i>56319||r+1===o||(a=e.charCodeAt(r+1))<56320||a>57343?e[r]:e.slice(r,r+2);n.push(s),r+=s.length}return n}function Te(e,n,o,r,i){let a;const s=n.length;for(let d=0;d<s-1;d++){const l=n[d];e.j[l]?a=e.j[l]:(a=new ne(r),a.jr=i.slice(),e.j[l]=a),e=a}return a=new ne(o),a.jr=i.slice(),e.j[n[s-1]]=a,a}function Xr(e){const n=[],o=[];let r=0,i="0123456789";for(;r<e.length;){let a=0;for(;i.indexOf(e[r+a])>=0;)a++;if(a>0){n.push(o.join(""));for(let s=parseInt(e.substring(r,r+a),10);s>0;s--)o.pop();r+=a}else o.push(e[r]),r++}return n}const Tt={defaultProtocol:"http",events:null,format:qr,formatHref:qr,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],ignoreClasses:[],render:null};function nr(e,n=null){let o=Object.assign({},Tt);e&&(o=Object.assign(o,e instanceof nr?e.o:e));const r=o.ignoreTags,i=[];for(let a=0;a<r.length;a++)i.push(r[a].toUpperCase());this.o=o,n&&(this.defaultRender=n),this.ignoreTags=i,this.ignoreClasses=o.ignoreClasses.slice()}nr.prototype={o:Tt,ignoreTags:[],ignoreClasses:[],isIgnoredClass(e){if(typeof e!="string"||this.ignoreClasses.length===0)return!1;const n=e.split(/\s+/);for(let o=0;o<n.length;o++)if(this.ignoreClasses.indexOf(n[o])>=0)return!0;return!1},defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,n,o){const r=n!=null;let i=this.o[e];return i&&(typeof i=="object"?(i=o.t in i?i[o.t]:Tt[e],typeof i=="function"&&r&&(i=i(n,o))):typeof i=="function"&&r&&(i=i(n,o.t,o)),i)},getObj(e,n,o){let r=this.o[e];return typeof r=="function"&&n!=null&&(r=r(n,o.t,o)),r},render(e){const n=e.render(this);return(this.get("render",null,e)||this.defaultRender)(n,e.t,e)}};function qr(e){return e}function ca(e,n){this.t="token",this.v=e,this.tk=n}ca.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const n=this.toString(),o=e.get("truncate",n,this),r=e.get("format",n,this);return o&&r.length>o?r.substring(0,o)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=Tt.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const n=this,o=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",o,this),i=e.get("tagName",o,n),a=this.toFormattedString(e),s={},d=e.get("className",o,n),l=e.get("target",o,n),u=e.get("rel",o,n),c=e.getObj("attributes",o,n),p=e.getObj("events",o,n);return s.href=r,d&&(s.class=d),l&&(s.target=l),u&&(s.rel=u),c&&Object.assign(s,c),{tagName:i,attributes:s,content:a,eventListeners:p}}};function Pn(e,n){class o extends ca{constructor(i,a){super(i,a),this.t=e}}for(const r in n)o.prototype[r]=n[r];return o.t=e,o}const zc=Pn("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),ei=Pn("text"),Rc=Pn("nl"),Rt=Pn("url",{isLink:!0,toHref(e=Tt.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==At&&e[1].t===Ve}}),re=e=>new ne(e);function Fc({groups:e}){const n=e.domain.concat([cn,fn,Se,mn,gn,hn,wn,$n,ae,Jo,ft,yn,vn,Qe,fe,xn,mt,bn]),o=[pn,Ve,Xo,pe,qo,ft,Re,er,tr,en,tn,ct,pt,Kt,Jt,Xt,qt,nn,on,rn,an,sn,dn,ln,un],r=[cn,pn,fn,mn,gn,hn,wn,$n,ae,ct,pt,ft,yn,vn,Qe,Re,fe,xn,mt,bn],i=re(),a=C(i,mt);_(a,r,a),_(a,e.domain,a);const s=re(),d=re(),l=re();_(i,e.domain,s),_(i,e.scheme,d),_(i,e.slashscheme,l),_(s,r,a),_(s,e.domain,s);const u=C(s,Se);C(a,Se,u),C(d,Se,u),C(l,Se,u);const c=C(a,pe);_(c,r,a),_(c,e.domain,a);const p=re();_(u,e.domain,p),_(p,e.domain,p);const f=C(p,pe);_(f,e.domain,p);const m=re(zc);_(f,e.tld,m),_(f,e.utld,m),C(u,At,m);const g=C(p,ae);C(g,ae,g),_(g,e.domain,p),_(m,e.domain,p),C(m,pe,f),C(m,ae,g);const h=C(s,ae),w=C(s,pe);C(h,ae,h),_(h,e.domain,s),_(w,r,a),_(w,e.domain,s);const v=re(Rt);_(w,e.tld,v),_(w,e.utld,v),_(v,e.domain,s),_(v,r,a),C(v,pe,w),C(v,ae,h),C(v,Se,u);const b=C(v,Ve),$=re(Rt);_(b,e.numeric,$);const y=re(Rt),N=re();_(y,n,y),_(y,o,N),_(N,n,y),_(N,o,N),C(v,fe,y),C($,fe,y),C(v,Re,N),C(v,Qe,y),C($,Re,N),C($,Qe,y);const A=C(d,Ve),M=C(l,Ve),x=C(M,fe),k=C(x,fe);_(d,e.domain,s),C(d,pe,w),C(d,ae,h),_(l,e.domain,s),C(l,pe,w),C(l,ae,h),_(A,e.domain,y),C(A,fe,y),C(A,Re,y),_(k,e.domain,y),_(k,n,y),C(k,fe,y);const T=[[ct,pt],[Jt,Kt],[Xt,qt],[en,tn],[nn,on],[rn,an],[sn,dn],[ln,un]];for(let B=0;B<T.length;B++){const[F,H]=T[B],R=C(y,F);C(N,F,R);const G=re(Rt);_(R,n,G);const W=re();_(R,o,W),C(R,H,y),_(G,n,G),_(G,o,W),_(W,n,G),_(W,o,W),C(G,H,y),C(W,H,y)}return C(i,At,v),C(i,Ko,Rc),{start:i,tokens:la}}function Vc(e,n,o){let r=o.length,i=0,a=[],s=[];const d=[];for(;i<r;){let l=e,u=null,c=null,p=0,f=null,m=-1,g=[];for(;i<r&&!(u=l.go(o[i].t));)s.push(o[i++]);for(;i<r&&(c=u||l.go(o[i].t));)if(u=null,l=c,i++,p++,l.accepts())m=0,f=l,g=[];else if(m>=0&&m++,g.push(l),d[i]&&d[i].has(l))break;for(let h=0,w=i-g.length+1;h<g.length;h++,w++)(d[w]||(d[w]=new Set)).add(g[h]);if(m<0)i-=p,i<r&&(s.push(o[i]),i++);else{s.length>0&&(a.push(io(ei,n,s)),s=[]),i-=m,p-=m;const h=f.t,w=o.slice(i-p,i);a.push(io(h,n,w))}}return s.length>0&&a.push(io(ei,n,s)),a}function io(e,n,o){const r=o[0].s,i=o[o.length-1].e,a=n.slice(r,i);return new e(a,o)}const X={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function Hc(){X.scanner=_c(X.customSchemes);for(let e=0;e<X.tokenQueue.length;e++)X.tokenQueue[e][1]({scanner:X.scanner});X.parser=Fc(X.scanner.tokens);for(let e=0;e<X.pluginQueue.length;e++)X.pluginQueue[e][1]({scanner:X.scanner,parser:X.parser});return X.initialized=!0,X}function pa(e){return X.initialized||Hc(),Vc(X.parser.start,e,ua(X.scanner.start,e))}pa.scan=ua;var Uc={amp:"&",gt:">",lt:"<",nbsp:" ",quot:'"'},Gc=/^#[xX]([A-Fa-f0-9]+)$/,Wc=/^#([0-9]+)$/,Yc=/^([A-Za-z0-9]+)$/,Zc=(function(){function e(n){this.named=n}return e.prototype.parse=function(n){if(n){var o=n.match(Gc);if(o)return String.fromCharCode(parseInt(o[1],16));if(o=n.match(Wc),o)return String.fromCharCode(parseInt(o[1],10));if(o=n.match(Yc),o)return this.named[o[1]]||"&"+o[1]+";"}},e})(),Qc=/[\t\n\f ]/,Jc=/[A-Za-z]/,Kc=/\r\n?/g;function K(e){return Qc.test(e)}function ti(e){return Jc.test(e)}function Xc(e){return e.replace(Kc,`
|
|
7
|
+
`)}var qc=(function(){function e(n,o,r){r===void 0&&(r="precompile"),this.delegate=n,this.entityParser=o,this.mode=r,this.state="beforeData",this.line=-1,this.column=-1,this.input="",this.index=-1,this.tagNameBuffer="",this.states={beforeData:function(){var i=this.peek();if(i==="<"&&!this.isIgnoredEndTag())this.transitionTo("tagOpen"),this.markTagStart(),this.consume();else{if(this.mode==="precompile"&&i===`
|
|
8
|
+
`){var a=this.tagNameBuffer.toLowerCase();(a==="pre"||a==="textarea")&&this.consume()}this.transitionTo("data"),this.delegate.beginData()}},data:function(){var i=this.peek(),a=this.tagNameBuffer;i==="<"&&!this.isIgnoredEndTag()?(this.delegate.finishData(),this.transitionTo("tagOpen"),this.markTagStart(),this.consume()):i==="&"&&a!=="script"&&a!=="style"?(this.consume(),this.delegate.appendToData(this.consumeCharRef()||"&")):(this.consume(),this.delegate.appendToData(i))},tagOpen:function(){var i=this.consume();i==="!"?this.transitionTo("markupDeclarationOpen"):i==="/"?this.transitionTo("endTagOpen"):(i==="@"||i===":"||ti(i))&&(this.transitionTo("tagName"),this.tagNameBuffer="",this.delegate.beginStartTag(),this.appendToTagName(i))},markupDeclarationOpen:function(){var i=this.consume();if(i==="-"&&this.peek()==="-")this.consume(),this.transitionTo("commentStart"),this.delegate.beginComment();else{var a=i.toUpperCase()+this.input.substring(this.index,this.index+6).toUpperCase();a==="DOCTYPE"&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.transitionTo("doctype"),this.delegate.beginDoctype&&this.delegate.beginDoctype())}},doctype:function(){var i=this.consume();K(i)&&this.transitionTo("beforeDoctypeName")},beforeDoctypeName:function(){var i=this.consume();K(i)||(this.transitionTo("doctypeName"),this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase()))},doctypeName:function(){var i=this.consume();K(i)?this.transitionTo("afterDoctypeName"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeName&&this.delegate.appendToDoctypeName(i.toLowerCase())},afterDoctypeName:function(){var i=this.consume();if(!K(i))if(i===">")this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData");else{var a=i.toUpperCase()+this.input.substring(this.index,this.index+5).toUpperCase(),s=a.toUpperCase()==="PUBLIC",d=a.toUpperCase()==="SYSTEM";(s||d)&&(this.consume(),this.consume(),this.consume(),this.consume(),this.consume(),this.consume()),s?this.transitionTo("afterDoctypePublicKeyword"):d&&this.transitionTo("afterDoctypeSystemKeyword")}},afterDoctypePublicKeyword:function(){var i=this.peek();K(i)?(this.transitionTo("beforeDoctypePublicIdentifier"),this.consume()):i==='"'?(this.transitionTo("doctypePublicIdentifierDoubleQuoted"),this.consume()):i==="'"?(this.transitionTo("doctypePublicIdentifierSingleQuoted"),this.consume()):i===">"&&(this.consume(),this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},doctypePublicIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},doctypePublicIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypePublicIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypePublicIdentifier&&this.delegate.appendToDoctypePublicIdentifier(i)},afterDoctypePublicIdentifier:function(){var i=this.consume();K(i)?this.transitionTo("betweenDoctypePublicAndSystemIdentifiers"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted")},betweenDoctypePublicAndSystemIdentifiers:function(){var i=this.consume();K(i)||(i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):i==='"'?this.transitionTo("doctypeSystemIdentifierDoubleQuoted"):i==="'"&&this.transitionTo("doctypeSystemIdentifierSingleQuoted"))},doctypeSystemIdentifierDoubleQuoted:function(){var i=this.consume();i==='"'?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},doctypeSystemIdentifierSingleQuoted:function(){var i=this.consume();i==="'"?this.transitionTo("afterDoctypeSystemIdentifier"):i===">"?(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData")):this.delegate.appendToDoctypeSystemIdentifier&&this.delegate.appendToDoctypeSystemIdentifier(i)},afterDoctypeSystemIdentifier:function(){var i=this.consume();K(i)||i===">"&&(this.delegate.endDoctype&&this.delegate.endDoctype(),this.transitionTo("beforeData"))},commentStart:function(){var i=this.consume();i==="-"&&this.peek()==="-"?this.transitionTo("commentStartDash"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData(i),this.transitionTo("comment"))},commentStartDash:function(){var i=this.consume();i==="-"?this.transitionTo("commentEnd"):i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("-"),this.transitionTo("comment"))},comment:function(){var i=this.consume();i==="-"?this.transitionTo("commentEndDash"):this.delegate.appendToCommentData(i)},commentEndDash:function(){var i=this.consume();i==="-"&&this.peek()==="-"?this.delegate.appendToCommentData(i):i==="-"?this.transitionTo("commentEnd"):(this.delegate.appendToCommentData("-"+i),this.transitionTo("comment"))},commentEnd:function(){var i=this.consume();i===">"?(this.delegate.finishComment(),this.transitionTo("beforeData")):(this.delegate.appendToCommentData("--"+i),this.transitionTo("comment"))},tagName:function(){var i=this.consume();K(i)?this.transitionTo("beforeAttributeName"):i==="/"?this.transitionTo("selfClosingStartTag"):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData")):this.appendToTagName(i)},endTagName:function(){var i=this.consume();K(i)?(this.transitionTo("beforeAttributeName"),this.tagNameBuffer=""):i==="/"?(this.transitionTo("selfClosingStartTag"),this.tagNameBuffer=""):i===">"?(this.delegate.finishTag(),this.transitionTo("beforeData"),this.tagNameBuffer=""):this.appendToTagName(i)},beforeAttributeName:function(){var i=this.peek();if(K(i)){this.consume();return}else i==="/"?(this.transitionTo("selfClosingStartTag"),this.consume()):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==="="?(this.delegate.reportSyntaxError("attribute name cannot start with equals sign"),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i)):(this.transitionTo("attributeName"),this.delegate.beginAttribute())},attributeName:function(){var i=this.peek();K(i)?(this.transitionTo("afterAttributeName"),this.consume()):i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.transitionTo("beforeAttributeValue"),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):i==='"'||i==="'"||i==="<"?(this.delegate.reportSyntaxError(i+" is not a valid character within attribute names"),this.consume(),this.delegate.appendToAttributeName(i)):(this.consume(),this.delegate.appendToAttributeName(i))},afterAttributeName:function(){var i=this.peek();if(K(i)){this.consume();return}else i==="/"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="="?(this.consume(),this.transitionTo("beforeAttributeValue")):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.transitionTo("attributeName"),this.delegate.beginAttribute(),this.consume(),this.delegate.appendToAttributeName(i))},beforeAttributeValue:function(){var i=this.peek();K(i)?this.consume():i==='"'?(this.transitionTo("attributeValueDoubleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i==="'"?(this.transitionTo("attributeValueSingleQuoted"),this.delegate.beginAttributeValue(!0),this.consume()):i===">"?(this.delegate.beginAttributeValue(!1),this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.transitionTo("attributeValueUnquoted"),this.delegate.beginAttributeValue(!1),this.consume(),this.delegate.appendToAttributeValue(i))},attributeValueDoubleQuoted:function(){var i=this.consume();i==='"'?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueSingleQuoted:function(){var i=this.consume();i==="'"?(this.delegate.finishAttributeValue(),this.transitionTo("afterAttributeValueQuoted")):i==="&"?this.delegate.appendToAttributeValue(this.consumeCharRef()||"&"):this.delegate.appendToAttributeValue(i)},attributeValueUnquoted:function(){var i=this.peek();K(i)?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.delegate.finishAttributeValue(),this.consume(),this.transitionTo("selfClosingStartTag")):i==="&"?(this.consume(),this.delegate.appendToAttributeValue(this.consumeCharRef()||"&")):i===">"?(this.delegate.finishAttributeValue(),this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):(this.consume(),this.delegate.appendToAttributeValue(i))},afterAttributeValueQuoted:function(){var i=this.peek();K(i)?(this.consume(),this.transitionTo("beforeAttributeName")):i==="/"?(this.consume(),this.transitionTo("selfClosingStartTag")):i===">"?(this.consume(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},selfClosingStartTag:function(){var i=this.peek();i===">"?(this.consume(),this.delegate.markTagAsSelfClosing(),this.delegate.finishTag(),this.transitionTo("beforeData")):this.transitionTo("beforeAttributeName")},endTagOpen:function(){var i=this.consume();(i==="@"||i===":"||ti(i))&&(this.transitionTo("endTagName"),this.tagNameBuffer="",this.delegate.beginEndTag(),this.appendToTagName(i))}},this.reset()}return e.prototype.reset=function(){this.transitionTo("beforeData"),this.input="",this.tagNameBuffer="",this.index=0,this.line=1,this.column=0,this.delegate.reset()},e.prototype.transitionTo=function(n){this.state=n},e.prototype.tokenize=function(n){this.reset(),this.tokenizePart(n),this.tokenizeEOF()},e.prototype.tokenizePart=function(n){for(this.input+=Xc(n);this.index<this.input.length;){var o=this.states[this.state];if(o!==void 0)o.call(this);else throw new Error("unhandled state "+this.state)}},e.prototype.tokenizeEOF=function(){this.flushData()},e.prototype.flushData=function(){this.state==="data"&&(this.delegate.finishData(),this.transitionTo("beforeData"))},e.prototype.peek=function(){return this.input.charAt(this.index)},e.prototype.consume=function(){var n=this.peek();return this.index++,n===`
|
|
9
|
+
`?(this.line++,this.column=0):this.column++,n},e.prototype.consumeCharRef=function(){var n=this.input.indexOf(";",this.index);if(n!==-1){var o=this.input.slice(this.index,n),r=this.entityParser.parse(o);if(r){for(var i=o.length;i;)this.consume(),i--;return this.consume(),r}}},e.prototype.markTagStart=function(){this.delegate.tagOpen()},e.prototype.appendToTagName=function(n){this.tagNameBuffer+=n,this.delegate.appendToTagName(n)},e.prototype.isIgnoredEndTag=function(){var n=this.tagNameBuffer;return n==="title"&&this.input.substring(this.index,this.index+8)!=="</title>"||n==="style"&&this.input.substring(this.index,this.index+8)!=="</style>"||n==="script"&&this.input.substring(this.index,this.index+9)!=="<\/script>"},e})(),e0=(function(){function e(n,o){o===void 0&&(o={}),this.options=o,this.token=null,this.startLine=1,this.startColumn=0,this.tokens=[],this.tokenizer=new qc(this,n,o.mode),this._currentAttribute=void 0}return e.prototype.tokenize=function(n){return this.tokens=[],this.tokenizer.tokenize(n),this.tokens},e.prototype.tokenizePart=function(n){return this.tokens=[],this.tokenizer.tokenizePart(n),this.tokens},e.prototype.tokenizeEOF=function(){return this.tokens=[],this.tokenizer.tokenizeEOF(),this.tokens[0]},e.prototype.reset=function(){this.token=null,this.startLine=1,this.startColumn=0},e.prototype.current=function(){var n=this.token;if(n===null)throw new Error("token was unexpectedly null");if(arguments.length===0)return n;for(var o=0;o<arguments.length;o++)if(n.type===arguments[o])return n;throw new Error("token type was unexpectedly "+n.type)},e.prototype.push=function(n){this.token=n,this.tokens.push(n)},e.prototype.currentAttribute=function(){return this._currentAttribute},e.prototype.addLocInfo=function(){this.options.loc&&(this.current().loc={start:{line:this.startLine,column:this.startColumn},end:{line:this.tokenizer.line,column:this.tokenizer.column}}),this.startLine=this.tokenizer.line,this.startColumn=this.tokenizer.column},e.prototype.beginDoctype=function(){this.push({type:"Doctype",name:""})},e.prototype.appendToDoctypeName=function(n){this.current("Doctype").name+=n},e.prototype.appendToDoctypePublicIdentifier=function(n){var o=this.current("Doctype");o.publicIdentifier===void 0?o.publicIdentifier=n:o.publicIdentifier+=n},e.prototype.appendToDoctypeSystemIdentifier=function(n){var o=this.current("Doctype");o.systemIdentifier===void 0?o.systemIdentifier=n:o.systemIdentifier+=n},e.prototype.endDoctype=function(){this.addLocInfo()},e.prototype.beginData=function(){this.push({type:"Chars",chars:""})},e.prototype.appendToData=function(n){this.current("Chars").chars+=n},e.prototype.finishData=function(){this.addLocInfo()},e.prototype.beginComment=function(){this.push({type:"Comment",chars:""})},e.prototype.appendToCommentData=function(n){this.current("Comment").chars+=n},e.prototype.finishComment=function(){this.addLocInfo()},e.prototype.tagOpen=function(){},e.prototype.beginStartTag=function(){this.push({type:"StartTag",tagName:"",attributes:[],selfClosing:!1})},e.prototype.beginEndTag=function(){this.push({type:"EndTag",tagName:""})},e.prototype.finishTag=function(){this.addLocInfo()},e.prototype.markTagAsSelfClosing=function(){this.current("StartTag").selfClosing=!0},e.prototype.appendToTagName=function(n){this.current("StartTag","EndTag").tagName+=n},e.prototype.beginAttribute=function(){this._currentAttribute=["","",!1]},e.prototype.appendToAttributeName=function(n){this.currentAttribute()[0]+=n},e.prototype.beginAttributeValue=function(n){this.currentAttribute()[2]=n},e.prototype.appendToAttributeValue=function(n){this.currentAttribute()[1]+=n},e.prototype.finishAttributeValue=function(){this.current("StartTag").attributes.push(this._currentAttribute)},e.prototype.reportSyntaxError=function(n){this.current().syntaxError=n},e})();function t0(e,n){var o=new e0(new Zc(Uc),n);return o.tokenize(e)}const fa="LinkifyResult",Cn="StartTag",ma="EndTag",Eo="Chars",n0="Comment",o0="Doctype";function r0(e,n={}){const o=t0(e),r=[],i=[],a=new nr(n,s0);for(let s=0;s<o.length;s++){const d=o[s];if(d.type===Cn){r.push(d);const l=d.tagName.toUpperCase();if(!(l==="A"||a.ignoreTags.indexOf(l)>=0||a.isIgnoredClass(u0(d.attributes,"class")))||d.selfClosing)continue;let c=r.length;a0(l,o,++s,r),s+=r.length-c-1}else if(d.type!==Eo)r.push(d);else{const l=i0(d.chars,a);r.push.apply(r,l)}}for(let s=0;s<r.length;s++){const d=r[s];switch(d.type){case fa:i.push(d.rendered);break;case Cn:{let l="<"+d.tagName;d.attributes.length>0&&(l+=" "+l0(d.attributes).join(" ")),d.selfClosing&&(l+=" /"),l+=">",i.push(l);break}case ma:i.push(`</${d.tagName}>`);break;case Eo:i.push(So(d.chars));break;case n0:i.push(`<!--${So(d.chars)}-->`);break;case o0:{let l=`<!DOCTYPE ${d.name}`;d.publicIdentifier&&(l+=` PUBLIC "${d.publicIdentifier}"`),d.systemIdentifier&&(l+=` "${d.systemIdentifier}"`),l+=">",i.push(l);break}}}return i.join("")}function i0(e,n){const o=pa(e),r=[];for(let i=0;i<o.length;i++){const a=o[i];a.t==="nl"&&n.get("nl2br")?r.push({type:Cn,tagName:"br",attributes:[],selfClosing:!0}):!a.isLink||!n.check(a)?r.push({type:Eo,chars:a.toString()}):r.push({type:fa,rendered:n.render(a)})}return r}function a0(e,n,o,r){let i=1;for(;o<n.length&&i>0;){let a=n[o];a.type===Cn&&a.tagName.toUpperCase()===e?i++:a.type===ma&&a.tagName.toUpperCase()===e&&i--,r.push(a),o++}return r}function s0({tagName:e,attributes:n,content:o}){return`<${e} ${d0(n)}>${So(o)}</${e}>`}function So(e){return e.replace(/</g,"<").replace(/>/g,">")}function ga(e){return e.replace(/"/g,""")}function d0(e){const n=[];for(const o in e){const r=e[o]+"";n.push(`${o}="${ga(r)}"`)}return n.join(" ")}function l0(e){const n=[];for(let o=0;o<e.length;o++){const r=e[o][0],i=e[o][1]+"";n.push(`${r}="${ga(i)}"`)}return n}function u0(e,n){for(let o=0;o<e.length;o++)if(e[o][0].toLowerCase()===n)return e[o][1];return null}const c0={class:"wu-flex wu-flex-col wu-gap-2","data-testid":"app-message-text"},p0=["innerHTML"],Lo=t.defineComponent({__name:"app-message-text",props:{message:{}},setup(e){const n=e,o=t.computed(()=>{const i=n.message.metadata?.linkPreview;return!i?.title||Ln(n.message)==="contact"?null:i}),r=t.computed(()=>{const i=n.message.messageBody||"";return/<a\s/i.test(i)?i:r0(i,{defaultProtocol:"https",target:"_blank",rel:"noopener noreferrer",className:"wu-underline"})});return(i,a)=>(t.openBlock(),t.createElementBlock("div",c0,[o.value?(t.openBlock(),t.createBlock(Tc,{key:0,preview:o.value},null,8,["preview"])):t.createCommentVNode("",!0),t.createVNode(D,{class:"wu-whitespace-pre-wrap",gray:"",small:"",medium:""},{default:t.withCtx(()=>[t.createElementVNode("span",{innerHTML:r.value},null,8,p0)]),_:1})]))}}),f0={_grouped_images:Zu,interactive:dc,document:uc,automatic:Lo,survey:fc,audio:bo,video:Cc,voice:bo,image:$c,text:Lo},m0=e=>{const n=e.messageType;return n==="audio"||n==="voice"?bo:Dn(e).length>0?ic:f0[n]??Lo},g0={"image/jpeg":5,"image/png":5,"image/gif":5,"image/webp":5,"application/pdf":64,"audio/mpeg":16,"audio/mp3":16,"video/mp4":16},h0=25,w0=e=>g0[e.type]??h0,ni=e=>{const n=[],o=[];for(const r of e){const i=w0(r);if(r.size/1024/1024>i){o.push(`O arquivo ${r.name} é maior que o limite de ${i}MB e não foi adicionado.`);continue}n.push(r)}return{validFiles:n,errors:o}},oi={"pt-BR":{back:"Voltar",startNewService:"Iniciar novo atendimento",voiceFallbackTitle:"Ligação",voiceWaitingConnection:"Aguardando conexão",dropFilesToAttach:"Solte os arquivos para anexar",chatLoadError:"Ocorreu um erro ao carregar o atendimento.",writeMessagePlaceholder:"Escreva uma mensagem..."},"en-US":{back:"Back",startNewService:"Start a new conversation",voiceFallbackTitle:"Call",voiceWaitingConnection:"Waiting for connection",dropFilesToAttach:"Drop files to attach",chatLoadError:"Something went wrong while loading the conversation.",writeMessagePlaceholder:"Write a message..."},"es-ES":{back:"Volver",startNewService:"Iniciar nueva atención",voiceFallbackTitle:"Llamada",voiceWaitingConnection:"Esperando conexión",dropFilesToAttach:"Suelta los archivos para adjuntar",chatLoadError:"Ocurrió un error al cargar la atención.",writeMessagePlaceholder:"Escribe un mensaje..."}},$0=(e,n)=>oi[n]?.[e]??oi["pt-BR"][e],or=()=>{const{language:e}=we();return{copy:o=>$0(o,e.value)}},y0={key:0,class:"wu-w-full wu-flex wu-justify-end wu-h-2","data-testid":"app-message-trailing"},gt=t.defineComponent({__name:"app-message",props:{primary:Boolean,secondary:Boolean,tertiary:Boolean},setup(e){const n=e,o=t.computed(()=>t.useSlots());function r(l){return!!o.value[l]}const i=t.computed(()=>n.tertiary),a=t.computed(()=>!i.value&&n.secondary),s=t.computed(()=>i.value?"wu-justify-center":a.value?"wu-flex-row-reverse":""),d=t.computed(()=>i.value?"wu-items-center wu-flex":a.value?["wu-rounded-br-none wu-p-3","wu-bg-[var(--wu-message-outgoing-bg)] dark:wu-bg-[var(--wu-message-outgoing-bg-dark)]"].join(" "):"wu-rounded-bl-none wu-bg-gray-200 wu-p-3 dark:wu-bg-neutral-700");return(l,u)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-flex wu-items-end wu-gap-2 wu-w-full",s.value]),"data-testid":"app-message"},[t.createElementVNode("div",{class:t.normalizeClass(["wu-rounded-lg wu-relative wu-min-h-8 [overflow-wrap:anywhere]",d.value]),"data-testid":"app-message-bubble"},[t.renderSlot(l.$slots,"default"),r("trailing")?(t.openBlock(),t.createElementBlock("div",y0,[t.renderSlot(l.$slots,"trailing")])):t.createCommentVNode("",!0)],2)],2))}}),rr=t.defineComponent({__name:"app-skeleton",props:{round:Boolean,fluid:Boolean,block:Boolean},setup(e){const n=e,o=t.computed(()=>n.fluid?"!wu-w-full":""),r=t.computed(()=>n.round?"!wu-rounded-full":n.block?"!wu-rounded-none":"!wu-rounded-lg");return(i,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-animate-pulse wu-bg-gray-200 dark:wu-bg-neutral-700",[r.value,o.value]])},null,2))}}),v0={class:"wu-typing__dots","aria-hidden":"true"},b0=t.defineComponent({__name:"app-typing",props:{small:Boolean},setup(e){const n=e,o=t.computed(()=>n.small?"wu-gap-1.5 wu-min-h-4":"wu-gap-2 wu-min-h-5"),r=t.computed(()=>n.small?"wu-typing__dot--small":"wu-typing__dot");return(i,a)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-inline-flex wu-items-center wu-text-gray-500",[o.value,"dark:wu-text-neutral-300"]]),role:"status","aria-live":"polite","aria-label":"Digitando","data-testid":"app-typing"},[t.createElementVNode("div",v0,[(t.openBlock(),t.createElementBlock(t.Fragment,null,t.renderList(3,s=>t.createElementVNode("span",{key:s,class:t.normalizeClass(r.value),style:t.normalizeStyle({"--i":s}),"data-testid":"app-typing-dot"},null,6)),64))])],2))}}),ir=nt(b0,[["__scopeId","data-v-b0aad068"]]),ar=t.defineComponent({__name:"app-empty",props:{error:{type:Boolean,default:!1}},emits:["refetch"],setup(e,{emit:n}){const o=n,r=t.computed(()=>t.useSlots());function i(a){return!!r.value[a]}return(a,s)=>(t.openBlock(),t.createBlock(O,{"gap-sm":"",center:"",col:""},{default:t.withCtx(()=>[e.error?(t.openBlock(),t.createBlock(S,{key:0,class:"wu-text-gray-500",large:""},{default:t.withCtx(()=>[...s[1]||(s[1]=[t.createTextVNode("error_outline",-1)])]),_:1})):i("icon")?t.renderSlot(a.$slots,"icon",{key:1}):(t.openBlock(),t.createBlock(S,{key:2,class:"wu-text-gray-500",large:""},{default:t.withCtx(()=>[...s[2]||(s[2]=[t.createTextVNode("list",-1)])]),_:1})),t.createVNode(D,{class:"wu-text-center",gray:""},{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default")]),_:3}),e.error?(t.openBlock(),t.createBlock(U,{key:3,onClick:s[0]||(s[0]=d=>o("refetch")),outline:"",small:"","data-testid":"refetch-button"},{icon:t.withCtx(()=>[...s[3]||(s[3]=[t.createTextVNode("refresh",-1)])]),default:t.withCtx(()=>[s[4]||(s[4]=t.createTextVNode("Tentar novamente",-1))]),_:1})):t.createCommentVNode("",!0)]),_:3}))}}),x0={key:0,class:"wu-absolute wu-inset-0 wu-z-10 wu-flex wu-flex-col wu-items-center wu-justify-center wu-gap-2 wu-border-2 wu-border-dashed wu-border-primary wu-bg-white wu-bg-opacity-90 dark:wu-bg-neutral-900 dark:wu-bg-opacity-90","data-testid":"app-chat-drag-overlay"},C0={class:"wu-relative wu-flex wu-flex-col wu-flex-1 wu-min-h-0 wu-w-full"},N0={key:0,class:"wu-w-full wu-min-h-4","data-testid":"app-chat-top-spacer"},k0={key:2,class:"wu-w-full wu-shrink-0 wu-border-t wu-border-gray-200 wu-flex wu-flex-col dark:wu-border-neutral-700"},M0={class:"wu-relative wu-flex wu-items-center wu-justify-center wu-w-8 wu-h-8 wu-rounded-full wu-bg-red-500 wu-bg-opacity-10"},A0={key:0,class:"wu-absolute wu-inset-0 wu-rounded-full wu-bg-red-500 wu-bg-opacity-20 wu-animate-ping"},T0=["src","alt"],I0=["onKeydown","placeholder","disabled"],E0={class:"wu-flex wu-items-center wu-gap-2 wu-w-full wu-justify-end wu-px-6 wu-py-2"},S0=100,L0=t.defineComponent({__name:"app-chat-service",props:{rule:{},edges:{}},emits:["chat-service-action","chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,{history:i,chat:a,language:s}=we(),{copy:d}=or(),{isSendingMessage:l,isErrorLoading:u,attachments:c,isFinished:p,isLoading:f,messages:m,isTyping:g,audio:h,text:w}=a,{isRecording:v,formattedDuration:b,start:$,stop:y,cancel:N}=Ou(),A=t.computed(()=>i.value.length>0),M=t.ref(null),x=t.ref(null),k=t.ref(!1),T=t.ref(!1),B=t.computed(()=>Ul(m.value)),F=t.ref(null),H=t.ref(null),R=async()=>{await t.nextTick(),H.value?.focus()},G=t.computed(()=>!!(c.value.length||h.value)),W=t.computed(()=>!!(G.value||w.value.trim())),Q=t.computed(()=>!!o.rule.settings?.features?.sendAttachment),Y=t.computed(()=>l.value||!!h.value||T.value),ee=t.computed(()=>l.value||G.value||T.value),Pe=t.computed(()=>Q.value&&!Y.value),ot=t.ref(!1),L=t.ref([]);let j=null;const rt=t.computed(()=>{const I=o.rule.settings?.features?.quickReplies??[],E=s.value;return I.map(P=>te(P,E)).filter(Boolean)}),$e=t.computed(()=>rt.value.length>0&&m.value.length===0&&!p.value),Ue=t.computed(()=>l.value||G.value||T.value),it=()=>{const I=M.value;if(!I)return;const E=I.scrollHeight-I.scrollTop-I.clientHeight;k.value=E>S0},_e=(I=!0)=>{const E=M.value;E&&(E.scrollTo({top:E.scrollHeight,behavior:I?"smooth":"auto"}),k.value=!1)},Me=(I=!0)=>{k.value||_e(I)},jt=()=>{Y.value||F.value?.click()},at=I=>{I&&URL.revokeObjectURL(I)},Vn=()=>{c.value.forEach(I=>at(I.previewUrl)),c.value=[]},Hn=()=>{at(h.value?.previewUrl),h.value=null},Ga=I=>I.type.startsWith("image/")?"image":"document",Un=I=>{if(!I.length)return;const{validFiles:E,errors:P}=ni(I);L.value=P,E.length&&(Hn(),c.value=[...c.value,...E.map(J=>{const Pt=Ga(J);return{file:J,type:Pt,previewUrl:Pt==="image"?URL.createObjectURL(J):void 0}})])},Wa=I=>{const{validFiles:E,errors:P}=ni([I]);L.value=P,E.length&&(Vn(),Hn(),w.value="",h.value={file:E[0],previewUrl:URL.createObjectURL(E[0])})},Ya=I=>{const E=I.target,P=Array.from(E.files??[]);Un(P),E.value=""},Za=I=>{if(!I)return[];const E=Array.from(I.items??[]).filter(P=>P.kind==="file").map(P=>P.getAsFile()).filter(P=>!!P);return E.length?E:Array.from(I.files??[])},Gn=I=>{const E=I.dataTransfer?.types;return E?Array.from(E).includes("Files"):!1},Wn=()=>{j&&(clearTimeout(j),j=null)},mr=()=>{Wn(),j=setTimeout(()=>{ot.value=!1},300)},Qa=I=>{if(!Pe.value)return;const E=Za(I.clipboardData);E.length&&(I.preventDefault(),Un(E))},Ja=I=>{!Pe.value||!Gn(I)||(I.preventDefault(),I.dataTransfer&&(I.dataTransfer.dropEffect="copy"),ot.value=!0,mr())},Ka=I=>{!Pe.value||!Gn(I)||mr()},Xa=I=>{if(!Pe.value||!Gn(I))return;I.preventDefault(),Wn(),ot.value=!1;const E=Array.from(I.dataTransfer?.files??[]);E.length&&Un(E)},qa=I=>{at(c.value[I]?.previewUrl),c.value=c.value.filter((E,P)=>P!==I)},es=()=>{Hn()},ts=async()=>{ee.value||!await $()||(w.value="",T.value=!0)},ns=async()=>{await N(),T.value=!1},os=async()=>{const I=await y();T.value=!1,I&&Wa(I)},st=I=>r("chat-service-action",I),gr=t.computed(()=>W.value&&!T.value&&!l.value),hr=()=>{gr.value&&(L.value=[],_e(),st({action:"send-message"}))};t.watch(l,I=>{I||R()});const rs=I=>{Ue.value||!I.trim()||(w.value=I,_e(),st({action:"send-message"}))};t.watch(()=>B.value.length,async()=>{await t.nextTick(),Me()}),t.watch(g,I=>{I&&Me()});let Ge=null;const wr=()=>{Ge?.disconnect(),Ge=null;const I=x.value;!I||typeof ResizeObserver>"u"||(Ge=new ResizeObserver(()=>{Me(!1)}),Ge.observe(I))};t.watch(f,async I=>{I||(await t.nextTick(),wr(),Me(!1))}),t.onMounted(async()=>{_e(!1),await t.nextTick(),wr()}),t.onBeforeUnmount(()=>{Wn(),Ge?.disconnect(),Ge=null});const $r=I=>I.from==="contact"?"contact":"operator",is=(I,E,P)=>E[P-1]?$r(E[P-1])===$r(I)?"wu-mt-1":"wu-mt-4":"wu-mt-0",as=I=>Rl(I.createdAt)||"12:58",ss=I=>r("chat-service-message-action",I);return(I,E)=>(t.openBlock(),t.createElementBlock("div",{class:"wu-relative wu-flex wu-flex-col wu-items-center wu-h-full wu-w-full wu-overflow-hidden","data-testid":"app-chat-service",onDragover:Ja,onDragleave:Ka,onDrop:Xa},[ot.value?(t.openBlock(),t.createElementBlock("div",x0,[t.createVNode(S,{class:"wu-text-primary",large:""},{default:t.withCtx(()=>[...E[5]||(E[5]=[t.createTextVNode("upload",-1)])]),_:1}),t.createVNode(D,{semibold:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(d)("dropFilesToAttach")),1)]),_:1})])):t.createCommentVNode("",!0),t.createElementVNode("div",C0,[t.createElementVNode("div",{class:"wu-flex wu-flex-col wu-flex-1 wu-min-h-0 wu-w-full wu-px-6 wu-overflow-y-auto",ref_key:"messagesList",ref:M,"data-testid":"app-service-messages",onScroll:it},[t.createElementVNode("div",{class:"wu-w-full wu-flex wu-flex-col",ref_key:"messagesContent",ref:x},[A.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",N0)),t.unref(f)?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},t.renderList(10,(P,J)=>t.createVNode(gt,{key:J,primary:J%2===0,secondary:J%2===1},{default:t.withCtx(()=>[t.createVNode(rr,{class:"wu-h-4 wu-w-32",block:""})]),_:1},8,["primary","secondary"])),64)):t.unref(u)?(t.openBlock(),t.createBlock(ar,{key:2,class:"wu-h-full",onRefetch:E[0]||(E[0]=P=>st({action:"retry-loading"})),error:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(d)("chatLoadError")),1)]),_:1})):(t.openBlock(),t.createElementBlock(t.Fragment,{key:3},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(B.value,(P,J)=>(t.openBlock(),t.createBlock(gt,{key:P.id??J,primary:P.from!=="contact",secondary:P.from==="contact",class:t.normalizeClass([is(P,B.value,J)])},{default:t.withCtx(()=>[(t.openBlock(),t.createBlock(t.resolveDynamicComponent(t.unref(m0)(P)),{message:P,onChatServiceMessageAction:ss},null,40,["message"]))]),trailing:t.withCtx(()=>[t.createVNode(D,{gray:"","extra-small":"",medium:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(as(P)),1)]),_:2},1024)]),_:2},1032,["primary","secondary","class"]))),128)),t.unref(g)?(t.openBlock(),t.createBlock(gt,{key:0,class:"wu-mt-1",primary:""},{default:t.withCtx(()=>[t.createVNode(ir,{small:""})]),_:1})):t.createCommentVNode("",!0),t.unref(p)?(t.openBlock(),t.createBlock(O,{key:1,class:"wu-mt-4","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(U,{"data-testid":"app-chat-start-new-service",onClick:E[1]||(E[1]=P=>st({action:"start-new-service"})),small:""},{icon:t.withCtx(()=>[t.createVNode(S,{small:""},{default:t.withCtx(()=>[...E[6]||(E[6]=[t.createTextVNode("chat",-1)])]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(d)("startNewService")),1)]),_:1}),t.createVNode(U,{"data-testid":"app-chat-back",onClick:E[2]||(E[2]=P=>st({action:"back"})),small:"",outline:""},{icon:t.withCtx(()=>[t.createVNode(S,{small:""},{default:t.withCtx(()=>[...E[7]||(E[7]=[t.createTextVNode("arrow_back",-1)])]),_:1})]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(d)("back")),1)]),_:1})]),_:1})):t.createCommentVNode("",!0)],64)),E[8]||(E[8]=t.createElementVNode("div",{class:"wu-w-full wu-min-h-4"},null,-1))],512)],544),k.value?(t.openBlock(),t.createBlock(U,{key:0,class:"wu-absolute wu-right-9 wu-bottom-3 wu-z-10 wu-shadow-md !wu-bg-white dark:!wu-bg-neutral-800","data-testid":"app-chat-scroll-to-bottom",onClick:E[3]||(E[3]=P=>_e()),round:"",small:"",icon:"",outline:""},{icon:t.withCtx(()=>[t.createVNode(S,{small:"",gray:""},{default:t.withCtx(()=>[...E[9]||(E[9]=[t.createTextVNode("keyboard_double_arrow_down",-1)])]),_:1})]),_:1})):t.createCommentVNode("",!0)]),!t.unref(f)&&!t.unref(u)&&$e.value?(t.openBlock(),t.createBlock(O,{key:1,class:"wu-items-end wu-w-full","data-testid":"app-chat-quick-replies","padding-md":"","gap-sm":"",col:""},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(rt.value,(P,J)=>(t.openBlock(),t.createBlock(U,{key:J,onClick:Pt=>rs(P),disabled:Ue.value,outline:"",round:"",fit:""},{trailing:t.withCtx(()=>[...E[10]||(E[10]=[t.createTextVNode("chevron_right",-1)])]),default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(P),1)]),_:2},1032,["onClick","disabled"]))),128))]),_:1})):t.createCommentVNode("",!0),!t.unref(f)&&!t.unref(u)&&e.rule.settings?.features?.sendMessage?(t.openBlock(),t.createElementBlock("div",k0,[T.value?(t.openBlock(),t.createBlock(O,{key:0,"data-testid":"app-chat-audio-recording","padding-md":"","center-between":""},{default:t.withCtx(()=>[t.createVNode(U,{"data-testid":"app-chat-audio-cancel",onClick:ns,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...E[11]||(E[11]=[t.createTextVNode("close",-1)])]),_:1})]),_:1}),t.createVNode(O,{class:"wu-items-center","gap-sm":""},{default:t.withCtx(()=>[t.createElementVNode("div",M0,[t.unref(v)?(t.openBlock(),t.createElementBlock("div",A0)):t.createCommentVNode("",!0),t.createVNode(S,{class:"wu-text-red-500",large:""},{default:t.withCtx(()=>[...E[12]||(E[12]=[t.createTextVNode("mic",-1)])]),_:1})]),t.createVNode(D,{semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(b)),1)]),_:1})]),_:1}),t.createVNode(U,{"data-testid":"app-chat-audio-stop",onClick:os,disabled:!t.unref(v),small:"",icon:"",success:""},{icon:t.withCtx(()=>[t.createVNode(S,{light:""},{default:t.withCtx(()=>[...E[13]||(E[13]=[t.createTextVNode("check",-1)])]),_:1})]),_:1},8,["disabled"])]),_:1})):t.unref(h)?(t.openBlock(),t.createBlock(O,{key:1,"data-testid":"app-chat-audio-preview","padding-md":""},{default:t.withCtx(()=>[t.createVNode(O,{class:"wu-w-full wu-items-center","padding-sm":"",rounded:"",border:"","gap-sm":""},{default:t.withCtx(()=>[t.createVNode(Bt,{class:"wu-flex-1",src:t.unref(h).previewUrl},null,8,["src"]),t.createVNode(U,{"data-testid":"app-chat-audio-discard",onClick:es,disabled:t.unref(l),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...E[14]||(E[14]=[t.createTextVNode("close",-1)])]),_:1})]),_:1},8,["disabled"])]),_:1})]),_:1})):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.unref(c).length?(t.openBlock(),t.createBlock(O,{key:0,class:"wu-px-6 wu-pt-6 wu-overflow-x-auto invisible-scrollbar","data-testid":"app-chat-attachment-preview"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(t.unref(c),(P,J)=>(t.openBlock(),t.createBlock(O,{class:"wu-items-center",key:J,"padding-sm":"",rounded:"",border:"","gap-sm":""},{default:t.withCtx(()=>[P.type==="image"&&P.previewUrl?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-10 wu-h-10 wu-rounded wu-object-cover",src:P.previewUrl,alt:P.file.name},null,8,T0)):(t.openBlock(),t.createBlock(O,{key:1,class:"wu-w-7 wu-h-7 wu-bg-gray-200",center:"","padding-base":"",rounded:""},{default:t.withCtx(()=>[t.createVNode(S,{large:"",gray:""},{default:t.withCtx(()=>[...E[15]||(E[15]=[t.createTextVNode("file_present",-1)])]),_:1})]),_:1})),t.createVNode(O,{class:"wu-flex-1 wu-items-start wu-min-w-0",col:"","gap-none":""},{default:t.withCtx(()=>[t.createVNode(D,{class:"[overflow-wrap:anywhere]",semibold:"",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(P.file.name),1)]),_:2},1024),t.createVNode(D,{"extra-small":"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(P.file.type),1)]),_:2},1024)]),_:2},1024),t.createVNode(U,{"data-testid":"app-chat-attachment-discard",onClick:Pt=>qa(J),disabled:t.unref(l),ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{gray:""},{default:t.withCtx(()=>[...E[16]||(E[16]=[t.createTextVNode("close",-1)])]),_:1})]),_:1},8,["onClick","disabled"])]),_:2},1024))),128))]),_:1})):t.createCommentVNode("",!0),L.value.length?(t.openBlock(),t.createBlock(O,{key:1,class:"wu-px-6 wu-pt-2 wu-flex-col wu-items-start wu-gap-1","data-testid":"app-chat-attachment-errors"},{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(L.value,(P,J)=>(t.openBlock(),t.createBlock(D,{class:"!wu-text-red-500",key:J,"extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(P),1)]),_:2},1024))),128))]),_:1})):t.createCommentVNode("",!0),t.withDirectives(t.createElementVNode("textarea",{class:"wu-w-full wu-p-6 wu-resize-none wu-font-primary wu-text-xs wu-bg-transparent wu-text-gray-900 placeholder:wu-text-neutral placeholder:wu-text-xs placeholder:wu-font-normal focus:wu-outline-none dark:wu-text-neutral-100 [&:disabled]:wu-opacity-50",ref_key:"composerInput",ref:H,"onUpdate:modelValue":E[4]||(E[4]=P=>t.isRef(w)?w.value=P:null),onKeydown:t.withKeys(t.withModifiers(hr,["exact","prevent"]),["enter"]),onPaste:Qa,placeholder:t.unref(d)("writeMessagePlaceholder"),disabled:t.unref(l)},null,40,I0),[[t.vModelText,t.unref(w)]])],64)),t.withDirectives(t.createElementVNode("input",{ref_key:"fileInput",ref:F,type:"file",multiple:"","data-testid":"app-chat-file-input",onChange:Ya},null,544),[[t.vShow,!1]]),t.createElementVNode("div",E0,[Q.value?(t.openBlock(),t.createBlock(U,{key:0,"data-testid":"app-chat-attach-file",onClick:jt,disabled:Y.value,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"wu-rotate-45",large:"",gray:""},{default:t.withCtx(()=>[...E[17]||(E[17]=[t.createTextVNode("attach_file",-1)])]),_:1})]),_:1},8,["disabled"])):t.createCommentVNode("",!0),Q.value?(t.openBlock(),t.createBlock(U,{key:1,"data-testid":"app-chat-record-audio",onClick:ts,disabled:ee.value,ghost:"",small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{large:"",gray:""},{default:t.withCtx(()=>[...E[18]||(E[18]=[t.createTextVNode("mic",-1)])]),_:1})]),_:1},8,["disabled"])):t.createCommentVNode("",!0),t.createVNode(U,{onClick:hr,loading:t.unref(l),disabled:!gr.value,small:"",icon:""},{icon:t.withCtx(()=>[t.createVNode(S,{class:"-wu-rotate-45 wu-translate-x-[0.10rem] -wu-translate-y-[0.12rem]",outlined:"",large:""},{default:t.withCtx(()=>[...E[19]||(E[19]=[t.createTextVNode("send",-1)])]),_:1})]),_:1},8,["loading","disabled"])])])):t.createCommentVNode("",!0)],32))}}),D0={class:"wu-flex wu-flex-col wu-items-center wu-justify-center wu-h-full wu-w-full wu-px-6","data-testid":"app-voice-service"},B0={class:"wu-flex wu-items-center wu-justify-center wu-rounded-full wu-bg-gray-100 wu-w-20 wu-h-20 dark:wu-bg-neutral-700"},j0=t.defineComponent({__name:"app-voice-service",props:{rule:{},edges:{}},setup(e){const n=e,{language:o}=we(),{copy:r}=or(),i=t.computed(()=>o.value),a=t.computed(()=>te(n.rule.settings?.label,i.value).trim()||r("voiceFallbackTitle"));return(s,d)=>(t.openBlock(),t.createElementBlock("div",D0,[t.createVNode(O,{class:"wu-w-full",col:"",center:"","gap-lg":""},{default:t.withCtx(()=>[t.createVNode(O,{col:"",center:"","gap-base":""},{default:t.withCtx(()=>[t.createElementVNode("div",B0,[t.createVNode(S,{"extra-large":"",gray:""},{default:t.withCtx(()=>[...d[0]||(d[0]=[t.createTextVNode("phone_in_talk",-1)])]),_:1})]),t.createVNode(D,{class:"wu-text-center","extra-large":"",semibold:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(a.value),1)]),_:1}),t.createVNode(D,{class:"wu-text-center",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(r)("voiceWaitingConnection")),1)]),_:1})]),_:1}),t.createVNode(O,{center:"","gap-md":""},{default:t.withCtx(()=>[t.createVNode(U,{ghost:"",icon:"",round:"",disabled:""},{icon:t.withCtx(()=>[t.createVNode(S,{large:"",gray:""},{default:t.withCtx(()=>[...d[1]||(d[1]=[t.createTextVNode("mic",-1)])]),_:1})]),_:1}),t.createVNode(U,{alert:"",icon:"",round:"",disabled:""},{icon:t.withCtx(()=>[t.createVNode(S,{large:""},{default:t.withCtx(()=>[...d[2]||(d[2]=[t.createTextVNode("call_end",-1)])]),_:1})]),_:1}),t.createVNode(U,{ghost:"",icon:"",round:"",disabled:""},{icon:t.withCtx(()=>[t.createVNode(S,{large:"",gray:""},{default:t.withCtx(()=>[...d[3]||(d[3]=[t.createTextVNode("volume_up",-1)])]),_:1})]),_:1})]),_:1})]),_:1})]))}}),sr=t.defineComponent({__name:"app-service-page",props:{rule:{},edges:{}},emits:["chat-service-action","chat-service-message-action"],setup(e,{emit:n}){const o=e,r=n,i=t.computed(()=>o.rule.settings?.behavior==="voice"?j0:L0);return(a,s)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(i.value),{rule:e.rule,edges:e.edges,onChatServiceAction:s[0]||(s[0]=d=>r("chat-service-action",d)),onChatServiceMessageAction:s[1]||(s[1]=d=>r("chat-service-message-action",d))},null,40,["rule","edges"]))}}),ri=e=>{const n=o=>o.toString(16).padStart(2,"0");return`#${n(e.r)}${n(e.g)}${n(e.b)}`},P0=()=>{const e="#6D3595",n=l=>{const u=l.replace("#","").trim(),c=u.length===3&&/^[0-9a-fA-F]{3}$/.test(u)?`${u[0]}${u[0]}${u[1]}${u[1]}${u[2]}${u[2]}`:u;return c.length!==6||!/^[0-9a-fA-F]{6}$/.test(c)?null:{r:parseInt(c.slice(0,2),16),g:parseInt(c.slice(2,4),16),b:parseInt(c.slice(4,6),16)}},o=l=>{const u=n(l)??n(e);return u?ri(u):e.toLowerCase()},r=l=>{const u=n(l);return u?(u.r*299+u.g*587+u.b*114)/1e3:null};return{getLuminance:r,isLightHex:l=>{const u=r(l);return u!==null&&u>160},isNearWhiteHex:l=>{const u=n(l);return u?u.r>=245&&u.g>=245&&u.b>=245:!1},isTooDarkForDarkCanvas:l=>{const u=r(l);return u!==null&&u<55},mixWithWhite:(l,u)=>{const c=n(l);if(!c)return o(l);const p=Math.min(1,Math.max(0,u));return ri({r:Math.round(c.r+(255-c.r)*p),g:Math.round(c.g+(255-c.g)*p),b:Math.round(c.b+(255-c.b)*p)})},normalizeHex:o,parseHex:n}},_0=()=>typeof window>"u"||typeof window.matchMedia!="function"?!1:window.matchMedia("(prefers-color-scheme: dark)").matches,ha=e=>{const{isLightHex:n,isNearWhiteHex:o,isTooDarkForDarkCanvas:r,mixWithWhite:i,normalizeHex:a,parseHex:s}=P0(),d="#374151",l=.45,u=.72,c=(y,N)=>y==="dark"?"dark":y==="light"?"light":N?"dark":"light",p=(y,N)=>o(y)?N==="light"?d:y:N==="dark"&&r(y)?i(y,l):y,f=(y,N,A)=>A==="dark"&&r(y)?i(y,u):N,m=y=>{const N=s(y)??{r:109,g:53,b:149},A=n(y),M=`color-mix(in srgb, ${y} 22%, white)`,x=`color-mix(in srgb, ${y} 22%, black)`;return{hex:y,rgb:N,light:A,tone50:`color-mix(in srgb, ${y} 8%, white)`,tone100:M,tone200:`color-mix(in srgb, ${y} 38%, white)`,tone300:`color-mix(in srgb, ${y} 55%, white)`,tone400:A?`color-mix(in srgb, ${y} 70%, black)`:`color-mix(in srgb, ${y} 78%, white)`,tone600:`color-mix(in srgb, ${y} 82%, black)`,tone700:`color-mix(in srgb, ${y} 64%, black)`,tone800:`color-mix(in srgb, ${y} 42%, black)`,tone900:x,fg:A?"#1c1917":"#ffffff",border:A?"#e5e7eb":"color-mix(in srgb, var(--wu-primary-fg) 22%, transparent)"}},g=(y,N)=>{const A=a(y),M=p(A,N),x=f(A,M,N),k=m(A),T=m(M),B=m(x);return{"--wu-primary":k.hex,"--wu-primary-rgb":`${k.rgb.r} ${k.rgb.g} ${k.rgb.b}`,"--wu-primary-fg":k.fg,"--wu-primary-border":k.border,"--wu-primary-50":k.tone50,"--wu-primary-100":k.tone100,"--wu-primary-200":k.tone200,"--wu-primary-300":k.tone300,"--wu-primary-400":k.tone400,"--wu-primary-500":k.hex,"--wu-primary-600":k.tone600,"--wu-primary-700":k.tone700,"--wu-primary-800":k.tone800,"--wu-primary-900":k.tone900,"--wu-action":T.hex,"--wu-action-rgb":`${T.rgb.r} ${T.rgb.g} ${T.rgb.b}`,"--wu-action-fg":T.fg,"--wu-action-50":T.tone50,"--wu-action-ink":B.hex,"--wu-message-outgoing-bg":T.tone100,"--wu-message-outgoing-bg-dark":T.tone900}},h=y=>{const N=t.ref(_0()),A=t.computed(()=>c(t.toValue(y),N.value)),M=t.computed(()=>A.value==="dark"),x=t.computed(()=>M.value?"wu-dark":"");return t.onMounted(()=>{if(typeof window>"u"||typeof window.matchMedia!="function")return;const k=window.matchMedia("(prefers-color-scheme: dark)");N.value=k.matches;const T=B=>{N.value=B.matches};k.addEventListener("change",T),t.onBeforeUnmount(()=>k.removeEventListener("change",T))}),{isDark:M,resolvedTheme:A,themeClass:x}},{isDark:w,themeClass:v,resolvedTheme:b}=h(()=>t.toValue(e).theme),$=t.computed(()=>({...g(t.toValue(e).primaryColor,b.value),colorScheme:b.value}));return{isDark:w,themeClass:v,resolvedTheme:b,appearanceStyle:$}},O0={class:"wu-flex wu-flex-col wu-w-full wu-gap-8"},z0={key:0,class:"wu-flex wu-items-center wu-w-fit wu-justify-center wu-h-0"},R0=["src"],F0={key:1,class:"wu-flex wu-flex-col wu-items-center wu-justify-start wu-gap-2 wu-px-6 wu-w-full"},dr=t.defineComponent({__name:"app-screen-page",props:{rule:{},edges:{}},emits:["edge-click"],setup(e,{emit:n}){const o=e,r=n,{history:i,language:a}=we(),s=t.computed(()=>i.value.length>0),d=t.computed(()=>o.edges??[]),l=t.computed(()=>o.rule.settings?.body),u=t.computed(()=>d.value.slice(0,3)),c=t.computed(()=>d.value.slice(3)),p=t.computed(()=>a.value),f=t.computed(()=>te(l.value?.eyebrow,p.value)),m=t.computed(()=>te(l.value?.title,p.value)),g=t.computed(()=>te(l.value?.subtitle,p.value)),h=t.computed(()=>te(o.rule.settings?.label,p.value).trim());return(w,v)=>(t.openBlock(),t.createElementBlock("div",O0,[s.value?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",z0)),t.createVNode(O,{class:"wu-px-6 wu-w-full",col:"",center:"","gap-base":""},{default:t.withCtx(()=>[l.value?.logo?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-10 wu-h-10 wu-object-contain",src:l.value.logo,alt:""},null,8,R0)):t.createCommentVNode("",!0),f.value?(t.openBlock(),t.createBlock(D,{key:1,class:"wu-text-center wu-uppercase wu-tracking-widest wu-leading-none","extra-small":"",gray:"",mono:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(f.value),1)]),_:1})):t.createCommentVNode("",!0),m.value?(t.openBlock(),t.createBlock(D,{key:2,class:"wu-text-center","extra-large":"",semibold:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(m.value),1)]),_:1})):t.createCommentVNode("",!0),g.value?(t.openBlock(),t.createBlock(D,{key:3,class:"wu-w-64 wu-text-center",small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.value),1)]),_:1})):t.createCommentVNode("",!0),t.unref(i).length>0?(t.openBlock(),t.createBlock(O,{key:4,class:"wu-rounded-full wu-px-2 wu-h-6 wu-bg-[var(--wu-action)]","padding-sm":"","gap-sm":"",center:""},{default:t.withCtx(()=>[t.createVNode(S,{class:"!wu-text-[var(--wu-action-fg)]",small:""},{default:t.withCtx(()=>[...v[2]||(v[2]=[t.createTextVNode("check",-1)])]),_:1}),t.createVNode(D,{class:"!wu-text-[var(--wu-action-fg)]",semibold:"","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(h.value),1)]),_:1})]),_:1})):t.createCommentVNode("",!0)]),_:1}),d.value.length?(t.openBlock(),t.createElementBlock("div",F0,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(u.value,b=>(t.openBlock(),t.createBlock(et,{key:b.id,edge:b,onClick:v[0]||(v[0]=$=>r("edge-click",$))},null,8,["edge"]))),128)),c.value.length?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["wu-flex wu-items-start wu-overflow-x-auto wu-w-full invisible-scrollbar wu-pt-6",{"wu-justify-start":c.value.length>4,"wu-justify-center":c.value.length<=4}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,b=>(t.openBlock(),t.createBlock(et,{key:b.id,edge:b,icon:"",onClick:v[1]||(v[1]=$=>r("edge-click",$))},null,8,["edge"]))),128))],2)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]))}}),V0="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAVCAYAAAAnzezqAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAVtSURBVHgBpVVriFVVFF6Pvc+5c+/MOM2Yo2hq41tDU1EsC50pU9NySqZUDCQiCwWZSKJQGOpHZjhpomOGNkE4pBQUgUIPGAz9Of0oGS0tCpWY0dIf93nO3q1zzzn3Xh+J1oHLPfusvb/v299ea22EO3hmz35RN2XGNyimOrZYr8g0aFZ1RH49k63VbIcogrsI4S6Wb4qhToGRmHwjk5IYypoLiu0hzjrbNn77xiW8FeHS+vdrdQOtR7ZPC8FkhbZOQIDRgIxByU/A5V/GaC2zEMQxLMatxJGL8wwU1wbvEtNk+zGTncc3p7b4+LhhS1SKPhKAdbJwlPwSjGAFFFWJPCQKCYq7sxQQczAHICQ3VkUilGxXYhCtb1Aupm9wYMm9eychwy6FfrMAOEVSARRgGy40AZiNCEMhoQj5FokruWGBKubEDgQiojW/lgTMH3qgpro21y7A7RIcwmWykm2lXcuuigICkBCsTH7NEUFkfXhU5aMxESakVUD+6PiuxcpmdxBioyz+XianZdJ98j+FA9sE/FoBEAriCBgt8o3Hcq2oIqEBSVRLRfFFoWepdWzXWGXsIUDyQJn5Z/Xgyiqb3TCiALOE/G3F5jryEJhjG9HEZ2orRNhYqPyCHCjFCMPNBGMi/Epl2bwpZZNOg7d8qOGWqVj/k9WWLpE9nshnn0ClR8uiuUR2IBLys9j6kOxifAR0kcA/KmBSntDCYB1xpldio8SdExJvkflN8p6Rbz0iplHGj4gDuRzmO3HZhL0DAH6PsXZLyrEXZEIqVihkrxL6fRppTiNU7x5M/F3nopkIKvej67v7RNSElI8LTcIsVWDPofLqFeBWhYMLyW0Yw8ZPkZs/5xrdJyY847KtId+m2cFJhGZE66Ft70hP8V1GHFRUGMaoErGlQfmIkHuUhq/JGhiAS1UJ4DNSt0ll3BccNh0IOMO6djKBeUx8/XPIwIgtucaLrTXpBiw45oi4NC2ZqRruJ7wT5OSvWJ/nogsrRLhHycttQf6RWHFaiKbAVTgvifdLOZHk3BT1SiebGJxllatHir3JwB1AM7lKq8tgC1cdyF9R5B9z0esr3H1xpVidhLqgZ9haweGcylTLZlLaqD0OQX+ygGvBy7/05P796UCAOEB7FHoHsZ6/YJNbRqS3S4LVSLJ+nvTtcd+Fb0RETzVnTuXA3cWE9yvM7/Wsv9BRNAvBP02Mm4DgiuRKL7HfJPkdlR2AZyCoin5A/ztFtMu45ljrJ52b4/JXR05t6F47fedy2fk+1k5nUtFWT9usk4epvvK/lDqdIVb2ZD13dEL5n0nh73ZJr0A0r8lxDWfG88yFNcqolAh/Oej7iJnpijQFx+kmaLpGmCkDR1xa7fxR3V/Z+EqNaN3M9553yWwVu8YU7SdLHOcCweua/F4RclJihkulCRgdmYlqn+JykzuhWO86KlsKy/Lwko+3P1spgOKX7r72g57NLZIS+kAI0kylboYaTZNCfCDIBWmtFDSeiDyub1Jxb6C4xmNxIU4gRHJmx/Wt/6a34eYH3xoHpFdLpm+SnQ2N22h4sQgYhgTXdb+wQVV8q2xg0tQ+XdT97qrbEhA/Hcs7kphxnhMHXhGQCSIg6v8QVkkwrrA7uqyKIsN2W7wJAwHS17w5zd07f7sjASUhHR1UcxIXCFg7sV0sgnTZARNdMCAiDKqKS6d8kZmNzQc799wM+7YExE9bWxu3ZKctEGvbmf1FQuaWGxdAOQHLF5EIPqN0et7DXV1//W8BlU/XUx3Dqtlbr8msF7KRlW6UckaaHLC3qvnDnT/8G85/FhA/h9s6HFKZVulya6SC5Ao30l3xdym7o5C2B5p7dgzeav0/0mtgehRo/YYAAAAASUVORK5CYII=",H0={class:"wu-flex wu-flex-col wu-h-full wu-w-full wu-bg-white wu-overflow-hidden dark:wu-bg-neutral-800"},U0={class:"wu-w-full wu-shrink-0 wu-border-b wu-flex wu-items-center wu-px-4 wu-justify-between wu-gap-2 wu-bg-primary wu-h-[4.4rem] wu-text-[var(--wu-primary-fg)] wu-border-[var(--wu-primary-border)]"},G0={class:"wu-flex wu-items-center wu-gap-3 wu-min-w-0 wu-flex-1"},W0=["src"],Y0={class:"wu-flex wu-flex-col wu-justify-center wu-min-w-0 wu-overflow-hidden"},Z0={class:"wu-flex wu-flex-col wu-w-full wu-flex-1 wu-min-h-0"},Q0={key:0,class:"wu-flex wu-shrink-0 wu-items-center wu-w-fit wu-justify-center wu-px-6 wu-py-4"},J0={class:"wu-flex wu-flex-col wu-w-full wu-flex-1 wu-min-h-0 wu-overflow-y-auto wu-gap-8"},K0={class:"wu-h-7 wu-w-full wu-shrink-0 wu-border-t wu-border-gray-200 wu-flex wu-items-center wu-justify-center wu-p-2 wu-gap-1 wu-bg-white dark:wu-border-neutral-700 dark:wu-bg-neutral-800"},X0=["src"],q0=t.defineComponent({inheritAttrs:!1,__name:"app-widget-view",props:{workflow:{},config:{},fullscreen:{type:Boolean}},emits:["chat-service-action","edge-click","chat-service-message-action","submit","close","back"],setup(e,{emit:n}){const o=e,r=n,{history:i,currentRule:a,currentHeader:s,edges:d,language:l,setWorkflow:u,setConfig:c}=we(),{copy:p}=or(),{appearanceStyle:f,themeClass:m}=ha(()=>o.config.configurations.appearance);u(o.workflow),c(o.config),t.watch(()=>o.workflow,A=>u(A)),t.watch(()=>o.config,A=>c(A));const g=t.computed(()=>i.value.length>0),h=t.computed(()=>g.value&&a.value?.action!=="widget-identification-screen"),w=t.computed(()=>o.config.configurations.general.isClosable),v=t.computed(()=>te(s.value?.title,l.value)),b=t.computed(()=>te(s.value?.subtitle,l.value)),$={"widget-identification-screen":Yo,"widget-article-screen":Qo,"widget-service-screen":sr,"widget-base-screen":dr},y=t.computed(()=>{const A=a.value?.action;return A&&A in $?$[A]:void 0}),N=t.computed(()=>o.fullscreen?"wu-w-full wu-h-[100dvh] wu-max-h-full":"wu-w-[24.5rem] wu-h-[43rem] wu-max-h-[calc(100dvh-2*var(--widget-offset-y,1rem))] widget-shadow wu-rounded-2xl");return(A,M)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["yunique wu-overflow-hidden wu-relative",[N.value,t.unref(m)]]),"data-testid":"app-widget-view",style:t.normalizeStyle(t.unref(f))},[t.createElementVNode("div",H0,[t.createElementVNode("div",U0,[t.createElementVNode("div",G0,[t.unref(s)?.logo?(t.openBlock(),t.createElementBlock("img",{key:0,class:"wu-w-9 wu-h-9 wu-object-contain wu-shrink-0",src:t.unref(s).logo,alt:""},null,8,W0)):t.createCommentVNode("",!0),t.createElementVNode("div",Y0,[v.value?(t.openBlock(),t.createBlock(D,{key:0,class:"wu-w-full wu-truncate !wu-text-inherit",bold:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(v.value),1)]),_:1})):t.createCommentVNode("",!0),b.value?(t.openBlock(),t.createBlock(D,{key:1,class:"wu-w-full wu-truncate !wu-text-inherit wu-opacity-75","extra-small":""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.value),1)]),_:1})):t.createCommentVNode("",!0)])]),w.value?(t.openBlock(),t.createBlock(U,{key:0,class:"wu-shrink-0 !wu-bg-transparent hover:!wu-bg-[color-mix(in_srgb,var(--wu-primary-fg)_12%,transparent)]",onClick:M[0]||(M[0]=x=>r("close")),"data-testid":"app-widget-close",small:"",icon:""},{default:t.withCtx(()=>[t.createVNode(S,null,{default:t.withCtx(()=>[...M[7]||(M[7]=[t.createTextVNode("close",-1)])]),_:1})]),_:1})):t.createCommentVNode("",!0)]),t.createElementVNode("div",Z0,[t.createVNode(t.Transition,{name:"page-transition",mode:"out-in"},{default:t.withCtx(()=>[(t.openBlock(),t.createElementBlock("div",{class:"wu-flex wu-flex-col wu-w-full wu-h-full wu-min-h-0",key:t.unref(a)?.id},[h.value?(t.openBlock(),t.createElementBlock("div",Q0,[t.createElementVNode("div",{class:"wu-flex wu-items-center wu-w-fit wu-justify-center wu-cursor-pointer wu-group",onClick:M[1]||(M[1]=x=>r("back"))},[t.createVNode(S,{class:"wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200",small:"",gray:""},{default:t.withCtx(()=>[...M[8]||(M[8]=[t.createTextVNode("chevron_left",-1)])]),_:1}),t.createVNode(D,{class:"wu-transition-colors group-hover:!wu-text-gray-700 dark:group-hover:!wu-text-neutral-200","extra-small":"",medium:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(p)("back")),1)]),_:1})])])):t.createCommentVNode("",!0),t.createElementVNode("div",J0,[y.value&&t.unref(a)?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(y.value),{key:0,rule:t.unref(a),edges:t.unref(d),onSubmit:M[2]||(M[2]=x=>r("submit",x)),onBack:M[3]||(M[3]=x=>r("back")),onEdgeClick:M[4]||(M[4]=x=>r("edge-click",x)),onChatServiceAction:M[5]||(M[5]=x=>r("chat-service-action",x)),onChatServiceMessageAction:M[6]||(M[6]=x=>r("chat-service-message-action",x))},null,40,["rule","edges"])):t.createCommentVNode("",!0)])]))]),_:1})]),t.createElementVNode("div",K0,[t.createElementVNode("img",{class:"wu-w-3 wu-h-2",src:t.unref(V0),alt:"Opens"},null,8,X0),t.createVNode(D,{class:"!wu-text-xxs",gray:""},{default:t.withCtx(()=>[...M[9]||(M[9]=[t.createTextVNode("Powered By",-1),t.createElementVNode("b",{class:"wu-ml-1"},"Opens",-1)])]),_:1})])])],6))}}),lr=nt(q0,[["__scopeId","data-v-ff8e2bd5"]]),e1={class:"wu-flex wu-h-full wu-pl-3 wu-gap-2 wu-z-10 wu-pointer-events-none"},t1={class:"wu-h-full wu-flex wu-items-center wu-justify-center"},n1=["value","type","disabled","maxlength"],o1={class:"wu-absolute wu-right-2 wu-z-10 wu-flex wu-items-center wu-gap-1 wu-text-gray-500"},wa=t.defineComponent({__name:"app-text-input",props:{modelValue:{default:""},type:{default:"text"},maxLength:{},disabled:{type:Boolean},loading:{type:Boolean},invalid:{type:Boolean},small:{type:Boolean},fluid:{type:Boolean},round:{type:Boolean},valid:{type:Boolean},block:{type:Boolean},maskFunction:{},passwordToggle:{type:Boolean}},emits:["update:modelValue","keyup-enter"],setup(e,{expose:n,emit:o}){const r=e,i=o,a=t.computed(()=>t.useSlots());function s(A){return!!a.value[A]}const d=t.ref(""),l=t.ref(!1),u=t.ref(!1);function c(A){if(!r.maskFunction)return A;try{const M=r.maskFunction(A);return typeof M=="string"?M:A}catch{return A}}t.watch(()=>r.modelValue,A=>{if(A==null){d.value="";return}d.value=r.maskFunction?c(A):A},{immediate:!0});function p(){return!(l.value||d.value)}const{height:f,textSize:m,width:g}=oa(r),h=t.computed(()=>r.invalid?"wu-border-red-500 focus-within:wu-border-red-500":r.valid?"wu-border-green-500 focus-within:wu-border-green-500":"wu-border-gray-200 focus-within:!wu-border-primary/40 hover:wu-border-gray-300"),w=t.computed(()=>r.invalid?"wu-text-red-500":r.valid?"wu-text-green-500":"wu-text-gray-500"),v=t.computed(()=>r.small&&p()?"wu-translate-y-[7px]":r.small&&!p()?"wu-translate-y-0":p()?"wu-translate-y-[11px]":"wu-translate-y-0"),b=t.computed(()=>s("icon")||r.loading?"wu-pl-[34px]":"wu-pl-3"),$=t.computed(()=>r.block?"wu-rounded-none":r.round?"wu-rounded-full":"wu-rounded-lg"),y=t.computed(()=>r.disabled||r.loading?"wu-opacity-50 wu-pointer-events-none":"");function N(A){const x=A.target.value;d.value=r.maskFunction?c(x):x,i("update:modelValue",d.value)}return n({focus:l,content:d}),(A,M)=>(t.openBlock(),t.createBlock(O,{class:t.normalizeClass([t.unref(g)]),col:"","gap-none":""},{default:t.withCtx(()=>[t.createVNode(O,{col:"","gap-sm":""},{default:t.withCtx(()=>[s("label")?(t.openBlock(),t.createBlock(D,{key:0,small:"",medium:""},{default:t.withCtx(()=>[t.renderSlot(A.$slots,"label")]),_:3})):t.createCommentVNode("",!0),t.createElementVNode("label",{class:t.normalizeClass(["wu-relative wu-flex wu-flex-col wu-justify-center wu-items-start wu-border wu-cursor-text wu-transition-colors wu-w-full wu-bg-transparent",[$.value,y.value,t.unref(f),h.value]]),"data-testid":"app-text-input"},[t.createElementVNode("div",e1,[t.createElementVNode("div",t1,[!e.loading&&s("icon")?(t.openBlock(),t.createBlock(S,{key:0,small:""},{default:t.withCtx(()=>[t.renderSlot(A.$slots,"icon")]),_:3})):t.createCommentVNode("",!0),e.loading?(t.openBlock(),t.createBlock(S,{key:1,class:"wu-animate-spin",small:"",outlined:""},{default:t.withCtx(()=>[...M[4]||(M[4]=[t.createTextVNode("progress_activity",-1)])]),_:1})):t.createCommentVNode("",!0)]),t.createVNode(D,{class:t.normalizeClass(["wu-py-1 wu-transition",[v.value]]),small:"",medium:"",gray:""},{default:t.withCtx(()=>[t.renderSlot(A.$slots,"default")]),_:3},8,["class"])]),t.createElementVNode("input",{class:t.normalizeClass(["wu-absolute wu-inset-0 wu-w-full wu-h-full wu-outline-none wu-appearance-none wu-bg-transparent wu-pt-3 wu-pr-3 wu-text-gray-700 wu-font-primary wu-z-0",[t.unref(m),b.value,$.value]]),value:d.value,type:e.passwordToggle&&u.value?"text":e.type,disabled:e.disabled||e.loading,maxlength:e.maxLength,onInput:N,onFocus:M[0]||(M[0]=x=>l.value=!0),onBlur:M[1]||(M[1]=x=>l.value=!1),onKeyup:M[2]||(M[2]=t.withKeys(x=>i("keyup-enter"),["enter"]))},null,42,n1),t.createElementVNode("div",o1,[e.maxLength?(t.openBlock(),t.createBlock(D,{key:0,small:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(`${d.value.length} / ${e.maxLength}`),1)]),_:1})):t.createCommentVNode("",!0),e.type==="password"&&e.passwordToggle?(t.openBlock(),t.createElementBlock("button",{key:1,class:"wu-bg-transparent wu-border-0 wu-p-0 wu-cursor-pointer wu-flex wu-items-center",type:"button",tabindex:"-1",onClick:M[3]||(M[3]=x=>u.value=!u.value)},[t.createVNode(S,{small:"",gray:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.value?"visibility_off":"visibility"),1)]),_:1})])):t.createCommentVNode("",!0),t.renderSlot(A.$slots,"suffix")])],2)]),_:3}),s("feedback")?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["wu-mt-1",[w.value]])},[t.renderSlot(A.$slots,"feedback")],2)):t.createCommentVNode("",!0)]),_:3},8,["class"]))}}),r1=()=>({getOffset:(r,i)=>{const a=`${i.x}px`,s=`${i.y}px`;switch(r){case"bottom-left":return{bottom:s,left:a};case"top-left":return{top:s,left:a};case"top-right":return{top:s,right:a};default:return{bottom:s,right:a}}},getPosition:r=>{switch(r){case"bottom-left":return"bottom left";case"top-left":return"top left";case"top-right":return"top right";default:return"bottom right"}},getTone:r=>({backgroundImage:"none",backgroundColor:"var(--wu-primary)",color:"var(--wu-primary-fg)"})}),i1={key:0,class:"wu-flex wu-relative"},a1=t.defineComponent({__name:"app-widget",props:{workflow:{},config:{},fullscreen:{type:Boolean}},emits:["chat-service-message-action","chat-service-action","edge-click","submit","close","back","open"],setup(e,{emit:n}){const o=e,r=n,{isOpen:i,config:a,chat:s,language:d,open:l,close:u,setWorkflow:c,setConfig:p}=we(),{getOffset:f,getPosition:m}=r1(),{appearanceStyle:g,themeClass:h}=ha(()=>o.config.configurations.appearance),w=t.computed(()=>o.config.configurations.notifications?.enabled??!0),v=t.computed(()=>w.value&&s.unreadMessagesCount.value>0),b=o.config.configurations.general.defaultBehavior==="active",$=t.ref(!b);b?l():u();const y=t.computed(()=>o.config.configurations.anchor),N=t.computed(()=>{if(!(i.value&&o.fullscreen))return{...f(y.value.position,y.value.offset),"--widget-offset-y":`${y.value.offset.y}px`}}),A=t.computed(()=>m(y.value.position)),M=t.computed(()=>({workflow:o.workflow,config:o.config,fullscreen:o.fullscreen})),x=t.computed(()=>({small:y.value.size==="small",large:y.value.size==="large",logo:y.value.logo??"",label:te(y.value.label,d.value)})),k=async()=>{i.value||($.value=!1,await t.nextTick(),l(),r("open"))},T=()=>{i.value&&(u(),r("close"))},B=()=>{$.value=!0};return c(o.workflow),p(o.config),t.watch(()=>o.workflow,F=>c(F)),t.watch(()=>o.config,F=>p(F)),t.watch(()=>a.value?.configurations.general.defaultBehavior,F=>{F==="active"?k():T()},{immediate:!0}),t.watch(i,F=>{F&&($.value=!1)}),(F,H)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["wu-fixed yunique wu-z-[99999]",[t.unref(h),t.unref(i)&&e.fullscreen?"wu-inset-0 wu-overflow-hidden":""]]),"data-testid":"app-widget",style:t.normalizeStyle([{"--widget-origin":A.value},N.value,t.unref(g)])},[t.createVNode(t.Transition,{name:"widget",onAfterLeave:B},{default:t.withCtx(()=>[t.unref(i)?(t.openBlock(),t.createBlock(lr,t.mergeProps({key:0},M.value,{onClose:T,onBack:H[0]||(H[0]=R=>r("back")),onSubmit:H[1]||(H[1]=R=>r("submit",R)),onEdgeClick:H[2]||(H[2]=R=>r("edge-click",R)),onChatServiceAction:H[3]||(H[3]=R=>r("chat-service-action",R)),onChatServiceMessageAction:H[4]||(H[4]=R=>r("chat-service-message-action",R))}),null,16)):t.createCommentVNode("",!0)]),_:1}),$.value?(t.openBlock(),t.createElementBlock("div",i1,[t.createVNode(Zo,{small:x.value.small,large:x.value.large,logo:x.value.logo,label:x.value.label,onClick:k},null,8,["small","large","logo","label"]),v.value?(t.openBlock(),t.createBlock(O,{key:0,class:"wu-rounded-full wu-absolute -wu-top-2 -wu-right-1 wu-h-5 wu-w-5 wu-bg-red-600","data-testid":"app-widget-unread-badge",center:""},{default:t.withCtx(()=>[t.createVNode(D,{small:"",bold:"",white:""},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(s).unreadMessagesCount>9?"9+":t.unref(s).unreadMessagesCount),1)]),_:1})]),_:1})):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)],6))}}),$a=nt(a1,[["__scopeId","data-v-186731ce"]]),s1=["top","right","bottom","left"],ii=["start","end"],ai=s1.reduce((e,n)=>e.concat(n,n+"-"+ii[0],n+"-"+ii[1]),[]),It=Math.min,ze=Math.max,d1={left:"right",right:"left",bottom:"top",top:"bottom"},l1={start:"end",end:"start"};function Do(e,n,o){return ze(e,It(n,o))}function He(e,n){return typeof e=="function"?e(n):e}function he(e){return e.split("-")[0]}function le(e){return e.split("-")[1]}function ya(e){return e==="x"?"y":"x"}function ur(e){return e==="y"?"height":"width"}const u1=new Set(["top","bottom"]);function Ne(e){return u1.has(he(e))?"y":"x"}function cr(e){return ya(Ne(e))}function va(e,n,o){o===void 0&&(o=!1);const r=le(e),i=cr(e),a=ur(i);let s=i==="x"?r===(o?"end":"start")?"right":"left":r==="start"?"bottom":"top";return n.reference[a]>n.floating[a]&&(s=kn(s)),[s,kn(s)]}function c1(e){const n=kn(e);return[Nn(e),n,Nn(n)]}function Nn(e){return e.replace(/start|end/g,n=>l1[n])}const si=["left","right"],di=["right","left"],p1=["top","bottom"],f1=["bottom","top"];function m1(e,n,o){switch(e){case"top":case"bottom":return o?n?di:si:n?si:di;case"left":case"right":return n?p1:f1;default:return[]}}function g1(e,n,o,r){const i=le(e);let a=m1(he(e),o==="start",r);return i&&(a=a.map(s=>s+"-"+i),n&&(a=a.concat(a.map(Nn)))),a}function kn(e){return e.replace(/left|right|bottom|top/g,n=>d1[n])}function h1(e){return{top:0,right:0,bottom:0,left:0,...e}}function ba(e){return typeof e!="number"?h1(e):{top:e,right:e,bottom:e,left:e}}function ht(e){const{x:n,y:o,width:r,height:i}=e;return{width:r,height:i,top:o,left:n,right:n+r,bottom:o+i,x:n,y:o}}function li(e,n,o){let{reference:r,floating:i}=e;const a=Ne(n),s=cr(n),d=ur(s),l=he(n),u=a==="y",c=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,f=r[d]/2-i[d]/2;let m;switch(l){case"top":m={x:c,y:r.y-i.height};break;case"bottom":m={x:c,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y:p};break;case"left":m={x:r.x-i.width,y:p};break;default:m={x:r.x,y:r.y}}switch(le(n)){case"start":m[s]-=f*(o&&u?-1:1);break;case"end":m[s]+=f*(o&&u?-1:1);break}return m}const w1=async(e,n,o)=>{const{placement:r="bottom",strategy:i="absolute",middleware:a=[],platform:s}=o,d=a.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(n));let u=await s.getElementRects({reference:e,floating:n,strategy:i}),{x:c,y:p}=li(u,r,l),f=r,m={},g=0;for(let h=0;h<d.length;h++){const{name:w,fn:v}=d[h],{x:b,y:$,data:y,reset:N}=await v({x:c,y:p,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:u,platform:s,elements:{reference:e,floating:n}});c=b??c,p=$??p,m={...m,[w]:{...m[w],...y}},N&&g<=50&&(g++,typeof N=="object"&&(N.placement&&(f=N.placement),N.rects&&(u=N.rects===!0?await s.getElementRects({reference:e,floating:n,strategy:i}):N.rects),{x:c,y:p}=li(u,f,l)),h=-1)}return{x:c,y:p,placement:f,strategy:i,middlewareData:m}};async function _n(e,n){var o;n===void 0&&(n={});const{x:r,y:i,platform:a,rects:s,elements:d,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:p="floating",altBoundary:f=!1,padding:m=0}=He(n,e),g=ba(m),w=d[f?p==="floating"?"reference":"floating":p],v=ht(await a.getClippingRect({element:(o=await(a.isElement==null?void 0:a.isElement(w)))==null||o?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(d.floating)),boundary:u,rootBoundary:c,strategy:l})),b=p==="floating"?{x:r,y:i,width:s.floating.width,height:s.floating.height}:s.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(d.floating)),y=await(a.isElement==null?void 0:a.isElement($))?await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1}:{x:1,y:1},N=ht(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:b,offsetParent:$,strategy:l}):b);return{top:(v.top-N.top+g.top)/y.y,bottom:(N.bottom-v.bottom+g.bottom)/y.y,left:(v.left-N.left+g.left)/y.x,right:(N.right-v.right+g.right)/y.x}}const $1=e=>({name:"arrow",options:e,async fn(n){const{x:o,y:r,placement:i,rects:a,platform:s,elements:d,middlewareData:l}=n,{element:u,padding:c=0}=He(e,n)||{};if(u==null)return{};const p=ba(c),f={x:o,y:r},m=cr(i),g=ur(m),h=await s.getDimensions(u),w=m==="y",v=w?"top":"left",b=w?"bottom":"right",$=w?"clientHeight":"clientWidth",y=a.reference[g]+a.reference[m]-f[m]-a.floating[g],N=f[m]-a.reference[m],A=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let M=A?A[$]:0;(!M||!await(s.isElement==null?void 0:s.isElement(A)))&&(M=d.floating[$]||a.floating[g]);const x=y/2-N/2,k=M/2-h[g]/2-1,T=It(p[v],k),B=It(p[b],k),F=T,H=M-h[g]-B,R=M/2-h[g]/2+x,G=Do(F,R,H),W=!l.arrow&&le(i)!=null&&R!==G&&a.reference[g]/2-(R<F?T:B)-h[g]/2<0,Q=W?R<F?R-F:R-H:0;return{[m]:f[m]+Q,data:{[m]:G,centerOffset:R-G-Q,...W&&{alignmentOffset:Q}},reset:W}}});function y1(e,n,o){return(e?[...o.filter(i=>le(i)===e),...o.filter(i=>le(i)!==e)]:o.filter(i=>he(i)===i)).filter(i=>e?le(i)===e||(n?Nn(i)!==i:!1):!0)}const v1=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(n){var o,r,i;const{rects:a,middlewareData:s,placement:d,platform:l,elements:u}=n,{crossAxis:c=!1,alignment:p,allowedPlacements:f=ai,autoAlignment:m=!0,...g}=He(e,n),h=p!==void 0||f===ai?y1(p||null,m,f):f,w=await _n(n,g),v=((o=s.autoPlacement)==null?void 0:o.index)||0,b=h[v];if(b==null)return{};const $=va(b,a,await(l.isRTL==null?void 0:l.isRTL(u.floating)));if(d!==b)return{reset:{placement:h[0]}};const y=[w[he(b)],w[$[0]],w[$[1]]],N=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:b,overflows:y}],A=h[v+1];if(A)return{data:{index:v+1,overflows:N},reset:{placement:A}};const M=N.map(T=>{const B=le(T.placement);return[T.placement,B&&c?T.overflows.slice(0,2).reduce((F,H)=>F+H,0):T.overflows[0],T.overflows]}).sort((T,B)=>T[1]-B[1]),k=((i=M.filter(T=>T[2].slice(0,le(T[0])?2:3).every(B=>B<=0))[0])==null?void 0:i[0])||M[0][0];return k!==d?{data:{index:v+1,overflows:N},reset:{placement:k}}:{}}}},b1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var o,r;const{placement:i,middlewareData:a,rects:s,initialPlacement:d,platform:l,elements:u}=n,{mainAxis:c=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...w}=He(e,n);if((o=a.arrow)!=null&&o.alignmentOffset)return{};const v=he(i),b=Ne(d),$=he(d)===d,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),N=f||($||!h?[kn(d)]:c1(d)),A=g!=="none";!f&&A&&N.push(...g1(d,h,g,y));const M=[d,...N],x=await _n(n,w),k=[];let T=((r=a.flip)==null?void 0:r.overflows)||[];if(c&&k.push(x[v]),p){const R=va(i,s,y);k.push(x[R[0]],x[R[1]])}if(T=[...T,{placement:i,overflows:k}],!k.every(R=>R<=0)){var B,F;const R=(((B=a.flip)==null?void 0:B.index)||0)+1,G=M[R];if(G&&(!(p==="alignment"?b!==Ne(G):!1)||T.every(Y=>Ne(Y.placement)===b?Y.overflows[0]>0:!0)))return{data:{index:R,overflows:T},reset:{placement:G}};let W=(F=T.filter(Q=>Q.overflows[0]<=0).sort((Q,Y)=>Q.overflows[1]-Y.overflows[1])[0])==null?void 0:F.placement;if(!W)switch(m){case"bestFit":{var H;const Q=(H=T.filter(Y=>{if(A){const ee=Ne(Y.placement);return ee===b||ee==="y"}return!0}).map(Y=>[Y.placement,Y.overflows.filter(ee=>ee>0).reduce((ee,Pe)=>ee+Pe,0)]).sort((Y,ee)=>Y[1]-ee[1])[0])==null?void 0:H[0];Q&&(W=Q);break}case"initialPlacement":W=d;break}if(i!==W)return{reset:{placement:W}}}return{}}}},x1=new Set(["left","top"]);async function C1(e,n){const{placement:o,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),s=he(o),d=le(o),l=Ne(o)==="y",u=x1.has(s)?-1:1,c=a&&l?-1:1,p=He(n,e);let{mainAxis:f,crossAxis:m,alignmentAxis:g}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return d&&typeof g=="number"&&(m=d==="end"?g*-1:g),l?{x:m*c,y:f*u}:{x:f*u,y:m*c}}const N1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var o,r;const{x:i,y:a,placement:s,middlewareData:d}=n,l=await C1(n,e);return s===((o=d.offset)==null?void 0:o.placement)&&(r=d.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:a+l.y,data:{...l,placement:s}}}}},k1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:o,y:r,placement:i}=n,{mainAxis:a=!0,crossAxis:s=!1,limiter:d={fn:w=>{let{x:v,y:b}=w;return{x:v,y:b}}},...l}=He(e,n),u={x:o,y:r},c=await _n(n,l),p=Ne(he(i)),f=ya(p);let m=u[f],g=u[p];if(a){const w=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=m+c[w],$=m-c[v];m=Do(b,m,$)}if(s){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",b=g+c[w],$=g-c[v];g=Do(b,g,$)}const h=d.fn({...n,[f]:m,[p]:g});return{...h,data:{x:h.x-o,y:h.y-r,enabled:{[f]:a,[p]:s}}}}}},M1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var o,r;const{placement:i,rects:a,platform:s,elements:d}=n,{apply:l=()=>{},...u}=He(e,n),c=await _n(n,u),p=he(i),f=le(i),m=Ne(i)==="y",{width:g,height:h}=a.floating;let w,v;p==="top"||p==="bottom"?(w=p,v=f===(await(s.isRTL==null?void 0:s.isRTL(d.floating))?"start":"end")?"left":"right"):(v=p,w=f==="end"?"top":"bottom");const b=h-c.top-c.bottom,$=g-c.left-c.right,y=It(h-c[w],b),N=It(g-c[v],$),A=!n.middlewareData.shift;let M=y,x=N;if((o=n.middlewareData.shift)!=null&&o.enabled.x&&(x=$),(r=n.middlewareData.shift)!=null&&r.enabled.y&&(M=b),A&&!f){const T=ze(c.left,0),B=ze(c.right,0),F=ze(c.top,0),H=ze(c.bottom,0);m?x=g-2*(T!==0||B!==0?T+B:ze(c.left,c.right)):M=h-2*(F!==0||H!==0?F+H:ze(c.top,c.bottom))}await l({...n,availableWidth:x,availableHeight:M});const k=await s.getDimensions(d.floating);return g!==k.width||h!==k.height?{reset:{rects:!0}}:{}}}};function se(e){var n;return((n=e.ownerDocument)==null?void 0:n.defaultView)||window}function me(e){return se(e).getComputedStyle(e)}const ui=Math.min,wt=Math.max,Mn=Math.round;function xa(e){const n=me(e);let o=parseFloat(n.width),r=parseFloat(n.height);const i=e.offsetWidth,a=e.offsetHeight,s=Mn(o)!==i||Mn(r)!==a;return s&&(o=i,r=a),{width:o,height:r,fallback:s}}function je(e){return Na(e)?(e.nodeName||"").toLowerCase():""}let Ft;function Ca(){if(Ft)return Ft;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ft=e.brands.map((n=>n.brand+"/"+n.version)).join(" "),Ft):navigator.userAgent}function ge(e){return e instanceof se(e).HTMLElement}function De(e){return e instanceof se(e).Element}function Na(e){return e instanceof se(e).Node}function ci(e){return typeof ShadowRoot>"u"?!1:e instanceof se(e).ShadowRoot||e instanceof ShadowRoot}function On(e){const{overflow:n,overflowX:o,overflowY:r,display:i}=me(e);return/auto|scroll|overlay|hidden|clip/.test(n+r+o)&&!["inline","contents"].includes(i)}function A1(e){return["table","td","th"].includes(je(e))}function Bo(e){const n=/firefox/i.test(Ca()),o=me(e),r=o.backdropFilter||o.WebkitBackdropFilter;return o.transform!=="none"||o.perspective!=="none"||!!r&&r!=="none"||n&&o.willChange==="filter"||n&&!!o.filter&&o.filter!=="none"||["transform","perspective"].some((i=>o.willChange.includes(i)))||["paint","layout","strict","content"].some((i=>{const a=o.contain;return a!=null&&a.includes(i)}))}function ka(){return!/^((?!chrome|android).)*safari/i.test(Ca())}function pr(e){return["html","body","#document"].includes(je(e))}function Ma(e){return De(e)?e:e.contextElement}const Aa={x:1,y:1};function Ke(e){const n=Ma(e);if(!ge(n))return Aa;const o=n.getBoundingClientRect(),{width:r,height:i,fallback:a}=xa(n);let s=(a?Mn(o.width):o.width)/r,d=(a?Mn(o.height):o.height)/i;return s&&Number.isFinite(s)||(s=1),d&&Number.isFinite(d)||(d=1),{x:s,y:d}}function Et(e,n,o,r){var i,a;n===void 0&&(n=!1),o===void 0&&(o=!1);const s=e.getBoundingClientRect(),d=Ma(e);let l=Aa;n&&(r?De(r)&&(l=Ke(r)):l=Ke(e));const u=d?se(d):window,c=!ka()&&o;let p=(s.left+(c&&((i=u.visualViewport)==null?void 0:i.offsetLeft)||0))/l.x,f=(s.top+(c&&((a=u.visualViewport)==null?void 0:a.offsetTop)||0))/l.y,m=s.width/l.x,g=s.height/l.y;if(d){const h=se(d),w=r&&De(r)?se(r):r;let v=h.frameElement;for(;v&&r&&w!==h;){const b=Ke(v),$=v.getBoundingClientRect(),y=getComputedStyle(v);$.x+=(v.clientLeft+parseFloat(y.paddingLeft))*b.x,$.y+=(v.clientTop+parseFloat(y.paddingTop))*b.y,p*=b.x,f*=b.y,m*=b.x,g*=b.y,p+=$.x,f+=$.y,v=se(v).frameElement}}return{width:m,height:g,top:f,right:p+m,bottom:f+g,left:p,x:p,y:f}}function Be(e){return((Na(e)?e.ownerDocument:e.document)||window.document).documentElement}function zn(e){return De(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Ta(e){return Et(Be(e)).left+zn(e).scrollLeft}function St(e){if(je(e)==="html")return e;const n=e.assignedSlot||e.parentNode||ci(e)&&e.host||Be(e);return ci(n)?n.host:n}function Ia(e){const n=St(e);return pr(n)?n.ownerDocument.body:ge(n)&&On(n)?n:Ia(n)}function An(e,n){var o;n===void 0&&(n=[]);const r=Ia(e),i=r===((o=e.ownerDocument)==null?void 0:o.body),a=se(r);return i?n.concat(a,a.visualViewport||[],On(r)?r:[]):n.concat(r,An(r))}function pi(e,n,o){return n==="viewport"?ht((function(r,i){const a=se(r),s=Be(r),d=a.visualViewport;let l=s.clientWidth,u=s.clientHeight,c=0,p=0;if(d){l=d.width,u=d.height;const f=ka();(f||!f&&i==="fixed")&&(c=d.offsetLeft,p=d.offsetTop)}return{width:l,height:u,x:c,y:p}})(e,o)):De(n)?ht((function(r,i){const a=Et(r,!0,i==="fixed"),s=a.top+r.clientTop,d=a.left+r.clientLeft,l=ge(r)?Ke(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:d*l.x,y:s*l.y}})(n,o)):ht((function(r){const i=Be(r),a=zn(r),s=r.ownerDocument.body,d=wt(i.scrollWidth,i.clientWidth,s.scrollWidth,s.clientWidth),l=wt(i.scrollHeight,i.clientHeight,s.scrollHeight,s.clientHeight);let u=-a.scrollLeft+Ta(r);const c=-a.scrollTop;return me(s).direction==="rtl"&&(u+=wt(i.clientWidth,s.clientWidth)-d),{width:d,height:l,x:u,y:c}})(Be(e)))}function fi(e){return ge(e)&&me(e).position!=="fixed"?e.offsetParent:null}function mi(e){const n=se(e);let o=fi(e);for(;o&&A1(o)&&me(o).position==="static";)o=fi(o);return o&&(je(o)==="html"||je(o)==="body"&&me(o).position==="static"&&!Bo(o))?n:o||(function(r){let i=St(r);for(;ge(i)&&!pr(i);){if(Bo(i))return i;i=St(i)}return null})(e)||n}function T1(e,n,o){const r=ge(n),i=Be(n),a=Et(e,!0,o==="fixed",n);let s={scrollLeft:0,scrollTop:0};const d={x:0,y:0};if(r||!r&&o!=="fixed")if((je(n)!=="body"||On(i))&&(s=zn(n)),ge(n)){const l=Et(n,!0);d.x=l.x+n.clientLeft,d.y=l.y+n.clientTop}else i&&(d.x=Ta(i));return{x:a.left+s.scrollLeft-d.x,y:a.top+s.scrollTop-d.y,width:a.width,height:a.height}}const I1={getClippingRect:function(e){let{element:n,boundary:o,rootBoundary:r,strategy:i}=e;const a=o==="clippingAncestors"?(function(u,c){const p=c.get(u);if(p)return p;let f=An(u).filter((w=>De(w)&&je(w)!=="body")),m=null;const g=me(u).position==="fixed";let h=g?St(u):u;for(;De(h)&&!pr(h);){const w=me(h),v=Bo(h);(g?v||m:v||w.position!=="static"||!m||!["absolute","fixed"].includes(m.position))?m=w:f=f.filter((b=>b!==h)),h=St(h)}return c.set(u,f),f})(n,this._c):[].concat(o),s=[...a,r],d=s[0],l=s.reduce(((u,c)=>{const p=pi(n,c,i);return u.top=wt(p.top,u.top),u.right=ui(p.right,u.right),u.bottom=ui(p.bottom,u.bottom),u.left=wt(p.left,u.left),u}),pi(n,d,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:n,offsetParent:o,strategy:r}=e;const i=ge(o),a=Be(o);if(o===a)return n;let s={scrollLeft:0,scrollTop:0},d={x:1,y:1};const l={x:0,y:0};if((i||!i&&r!=="fixed")&&((je(o)!=="body"||On(a))&&(s=zn(o)),ge(o))){const u=Et(o);d=Ke(o),l.x=u.x+o.clientLeft,l.y=u.y+o.clientTop}return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-s.scrollLeft*d.x+l.x,y:n.y*d.y-s.scrollTop*d.y+l.y}},isElement:De,getDimensions:function(e){return ge(e)?xa(e):e.getBoundingClientRect()},getOffsetParent:mi,getDocumentElement:Be,getScale:Ke,async getElementRects(e){let{reference:n,floating:o,strategy:r}=e;const i=this.getOffsetParent||mi,a=this.getDimensions;return{reference:T1(n,await i(o),r),floating:{x:0,y:0,...await a(o)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>me(e).direction==="rtl"},E1=(e,n,o)=>{const r=new Map,i={platform:I1,...o},a={...i.platform,_c:r};return w1(e,n,{...i,platform:a})};function Ea(e,n){for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&(typeof n[o]=="object"&&e[o]?Ea(e[o],n[o]):e[o]=n[o])}const ue={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function Lt(e,n){let o=ue.themes[e]||{},r;do r=o[n],typeof r>"u"?o.$extend?o=ue.themes[o.$extend]||{}:(o=null,r=ue[n]):o=null;while(o);return r}function S1(e){const n=[e];let o=ue.themes[e]||{};do o.$extend&&!o.$resetCss?(n.push(o.$extend),o=ue.themes[o.$extend]||{}):o=null;while(o);return n.map(r=>`v-popper--theme-${r}`)}function gi(e){const n=[e];let o=ue.themes[e]||{};do o.$extend?(n.push(o.$extend),o=ue.themes[o.$extend]||{}):o=null;while(o);return n}let tt=!1;if(typeof window<"u"){tt=!1;try{const e=Object.defineProperty({},"passive",{get(){tt=!0}});window.addEventListener("test",null,e)}catch{}}let Sa=!1;typeof window<"u"&&typeof navigator<"u"&&(Sa=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const La=["auto","top","bottom","left","right"].reduce((e,n)=>e.concat([n,`${n}-start`,`${n}-end`]),[]),hi={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},wi={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function $i(e,n){const o=e.indexOf(n);o!==-1&&e.splice(o,1)}function ao(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const de=[];let Oe=null;const yi={};function vi(e){let n=yi[e];return n||(n=yi[e]=[]),n}let jo=function(){};typeof window<"u"&&(jo=window.Element);function V(e){return function(n){return Lt(n.theme,e)}}const so="__floating-vue__popper",Da=()=>t.defineComponent({name:"VPopper",provide(){return{[so]:{parentPopper:this}}},inject:{[so]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:V("disabled")},positioningDisabled:{type:Boolean,default:V("positioningDisabled")},placement:{type:String,default:V("placement"),validator:e=>La.includes(e)},delay:{type:[String,Number,Object],default:V("delay")},distance:{type:[Number,String],default:V("distance")},skidding:{type:[Number,String],default:V("skidding")},triggers:{type:Array,default:V("triggers")},showTriggers:{type:[Array,Function],default:V("showTriggers")},hideTriggers:{type:[Array,Function],default:V("hideTriggers")},popperTriggers:{type:Array,default:V("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:V("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:V("popperHideTriggers")},container:{type:[String,Object,jo,Boolean],default:V("container")},boundary:{type:[String,jo],default:V("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:V("strategy")},autoHide:{type:[Boolean,Function],default:V("autoHide")},handleResize:{type:Boolean,default:V("handleResize")},instantMove:{type:Boolean,default:V("instantMove")},eagerMount:{type:Boolean,default:V("eagerMount")},popperClass:{type:[String,Array,Object],default:V("popperClass")},computeTransformOrigin:{type:Boolean,default:V("computeTransformOrigin")},autoMinSize:{type:Boolean,default:V("autoMinSize")},autoSize:{type:[Boolean,String],default:V("autoSize")},autoMaxSize:{type:Boolean,default:V("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:V("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:V("preventOverflow")},overflowPadding:{type:[Number,String],default:V("overflowPadding")},arrowPadding:{type:[Number,String],default:V("arrowPadding")},arrowOverflow:{type:Boolean,default:V("arrowOverflow")},flip:{type:Boolean,default:V("flip")},shift:{type:Boolean,default:V("shift")},shiftCrossAxis:{type:Boolean,default:V("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:V("noAutoFocus")},disposeTimeout:{type:Number,default:V("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[so])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,n;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((n=this.popperShowTriggers)==null?void 0:n.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,n)=>(e[n]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:n=!1,force:o=!1}={}){var r,i;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(o||!this.disabled)&&(((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,n),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:n=!1}={}){var o;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:n}),this.parentPopper.lockedChild=null)},1e3));return}((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,n),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(n=>n.nodeType===n.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(N1({mainAxis:this.distance,crossAxis:this.skidding}));const n=this.placement.startsWith("auto");if(n?e.middleware.push(v1({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(k1({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!n&&this.flip&&e.middleware.push(b1({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push($1({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:i,middlewareData:a})=>{let s;const{centerOffset:d}=a.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(d)>i.reference.width/2:s=Math.abs(d)>i.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:i,placement:a,middlewareData:s})=>{var d;if((d=s.autoSize)!=null&&d.skip)return{};let l,u;return a.startsWith("top")||a.startsWith("bottom")?l=i.reference.width:u=i.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=u!=null?`${u}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(M1({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:i})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=i!=null?`${i}px`:null}})));const o=await E1(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:o.x,y:o.y,placement:o.placement,strategy:o.strategy,arrow:{...o.middlewareData.arrow,...o.middlewareData.arrowOverflow}})},$_scheduleShow(e,n=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Oe&&this.instantMove&&Oe.instantMove&&Oe!==this.parentPopper){Oe.$_applyHide(!0),this.$_applyShow(!0);return}n?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,n=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Oe=this),n?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const n=this.delay;return parseInt(n&&n[e]||n||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ao(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...An(this.$_referenceNode),...An(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const n=this.$_referenceNode.getBoundingClientRect(),o=this.$_popperNode.querySelector(".v-popper__wrapper"),r=o.parentNode.getBoundingClientRect(),i=n.x+n.width/2-(r.left+o.offsetLeft),a=n.y+n.height/2-(r.top+o.offsetTop);this.result.transformOrigin=`${i}px ${a}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let n;for(let o=0;o<de.length;o++)n=de[o],n.showGroup!==e&&(n.hide(),n.$emit("close-group"))}de.push(this),document.body.classList.add("v-popper--some-open");for(const n of gi(this.theme))vi(n).push(this),document.body.classList.add(`v-popper--some-open--${n}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ao(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,$i(de,this),de.length===0&&document.body.classList.remove("v-popper--some-open");for(const o of gi(this.theme)){const r=vi(o);$i(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${o}`)}Oe===this&&(Oe=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const n=this.disposeTimeout;n!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},n)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ao(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=o=>{this.isShown&&!this.$_hideInProgress||(o.usedByTooltip=!0,!this.$_preventShow&&this.show({event:o}))};this.$_registerTriggerListeners(this.$_targetNodes,hi,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],hi,this.popperTriggers,this.popperShowTriggers,e);const n=o=>{o.usedByTooltip||this.hide({event:o})};this.$_registerTriggerListeners(this.$_targetNodes,wi,this.triggers,this.hideTriggers,n),this.$_registerTriggerListeners([this.$_popperNode],wi,this.popperTriggers,this.popperHideTriggers,n)},$_registerEventListeners(e,n,o){this.$_events.push({targetNodes:e,eventType:n,handler:o}),e.forEach(r=>r.addEventListener(n,o,tt?{passive:!0}:void 0))},$_registerTriggerListeners(e,n,o,r,i){let a=o;r!=null&&(a=typeof r=="function"?r(a):r),a.forEach(s=>{const d=n[s];d&&this.$_registerEventListeners(e,d,i)})},$_removeEventListeners(e){const n=[];this.$_events.forEach(o=>{const{targetNodes:r,eventType:i,handler:a}=o;!e||e===i?r.forEach(s=>s.removeEventListener(i,a)):n.push(o)}),this.$_events=n},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,n=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,n){for(const o of this.$_targetNodes){const r=o.getAttribute(e);r&&(o.removeAttribute(e),o.setAttribute(n,r))}},$_applyAttrsToTarget(e){for(const n of this.$_targetNodes)for(const o in e){const r=e[o];r==null?n.removeAttribute(o):n.setAttribute(o,r)}},$_updateParentShownChildren(e){let n=this.parentPopper;for(;n;)e?n.shownChildren.add(this.randomId):(n.shownChildren.delete(this.randomId),n.pendingHide&&n.hide()),n=n.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if($t>=e.left&&$t<=e.right&&yt>=e.top&&yt<=e.bottom){const n=this.$_popperNode.getBoundingClientRect(),o=$t-Ie,r=yt-Ee,i=n.left+n.width/2-Ie+(n.top+n.height/2)-Ee+n.width+n.height,a=Ie+o*i,s=Ee+r*i;return Vt(Ie,Ee,a,s,n.left,n.top,n.left,n.bottom)||Vt(Ie,Ee,a,s,n.left,n.top,n.right,n.top)||Vt(Ie,Ee,a,s,n.right,n.top,n.right,n.bottom)||Vt(Ie,Ee,a,s,n.left,n.bottom,n.right,n.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Sa){const e=tt?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",n=>bi(n,!0),e),document.addEventListener("touchend",n=>xi(n,!0),e)}else window.addEventListener("mousedown",e=>bi(e,!1),!0),window.addEventListener("click",e=>xi(e,!1),!0);window.addEventListener("resize",D1)}function bi(e,n){if(ue.autoHideOnMousedown)Ba(e,n);else for(let o=0;o<de.length;o++){const r=de[o];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function xi(e,n){ue.autoHideOnMousedown||Ba(e,n)}function Ba(e,n){const o={};for(let r=de.length-1;r>=0;r--){const i=de[r];try{const a=i.containsGlobalTarget=i.mouseDownContains||i.popperNode().contains(e.target);i.pendingHide=!1,requestAnimationFrame(()=>{if(i.pendingHide=!1,!o[i.randomId]&&Ci(i,a,e)){if(i.$_handleGlobalClose(e,n),!e.closeAllPopover&&e.closePopover&&a){let d=i.parentPopper;for(;d;)o[d.randomId]=!0,d=d.parentPopper;return}let s=i.parentPopper;for(;s&&Ci(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,n),s=s.parentPopper}})}catch{}}}function Ci(e,n,o){return o.closeAllPopover||o.closePopover&&n||L1(e,o)&&!n}function L1(e,n){if(typeof e.autoHide=="function"){const o=e.autoHide(n);return e.lastAutoHide=o,o}return e.autoHide}function D1(){for(let e=0;e<de.length;e++)de[e].$_computePosition()}let Ie=0,Ee=0,$t=0,yt=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Ie=$t,Ee=yt,$t=e.clientX,yt=e.clientY},tt?{passive:!0}:void 0);function Vt(e,n,o,r,i,a,s,d){const l=((s-i)*(n-a)-(d-a)*(e-i))/((d-a)*(o-e)-(s-i)*(r-n)),u=((o-e)*(n-a)-(r-n)*(e-i))/((d-a)*(o-e)-(s-i)*(r-n));return l>=0&&l<=1&&u>=0&&u<=1}const B1={extends:Da()},Rn=(e,n)=>{const o=e.__vccOpts||e;for(const[r,i]of n)o[r]=i;return o};function j1(e,n,o,r,i,a){return t.openBlock(),t.createElementBlock("div",{ref:"reference",class:t.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[t.renderSlot(e.$slots,"default",t.normalizeProps(t.guardReactiveProps(e.slotData)))],2)}const P1=Rn(B1,[["render",j1]]);function _1(){var e=window.navigator.userAgent,n=e.indexOf("MSIE ");if(n>0)return parseInt(e.substring(n+5,e.indexOf(".",n)),10);var o=e.indexOf("Trident/");if(o>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var i=e.indexOf("Edge/");return i>0?parseInt(e.substring(i+5,e.indexOf(".",i)),10):-1}let Gt;function Po(){Po.init||(Po.init=!0,Gt=_1()!==-1)}var Fn={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Po(),t.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Gt&&this.$el.appendChild(e),e.data="about:blank",Gt||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Gt&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const O1=t.withScopeId("data-v-b329ee4c");t.pushScopeId("data-v-b329ee4c");const z1={class:"resize-observer",tabindex:"-1"};t.popScopeId();const R1=O1((e,n,o,r,i,a)=>(t.openBlock(),t.createBlock("div",z1)));Fn.render=R1;Fn.__scopeId="data-v-b329ee4c";Fn.__file="src/components/ResizeObserver.vue";const ja=(e="theme")=>({computed:{themeClass(){return S1(this[e])}}}),F1=t.defineComponent({name:"VPopperContent",components:{ResizeObserver:Fn},mixins:[ja()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),V1=["id","aria-hidden","tabindex","data-popper-placement"],H1={ref:"inner",class:"v-popper__inner"},U1=t.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),G1=t.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),W1=[U1,G1];function Y1(e,n,o,r,i,a){const s=t.resolveComponent("ResizeObserver");return t.openBlock(),t.createElementBlock("div",{id:e.popperId,ref:"popover",class:t.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:t.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:n[2]||(n[2]=t.withKeys(d=>e.autoHide&&e.$emit("hide"),["esc"]))},[t.createElementVNode("div",{class:"v-popper__backdrop",onClick:n[0]||(n[0]=d=>e.autoHide&&e.$emit("hide"))}),t.createElementVNode("div",{class:"v-popper__wrapper",style:t.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[t.createElementVNode("div",H1,[e.mounted?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",null,[t.renderSlot(e.$slots,"default")]),e.handleResize?(t.openBlock(),t.createBlock(s,{key:0,onNotify:n[1]||(n[1]=d=>e.$emit("resize",d))})):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0)],512),t.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:t.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},W1,4)],4)],46,V1)}const Pa=Rn(F1,[["render",Y1]]),_a={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let _o=function(){};typeof window<"u"&&(_o=window.Element);const Z1=t.defineComponent({name:"VPopperWrapper",components:{Popper:P1,PopperContent:Pa},mixins:[_a,ja("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,_o,Boolean],default:void 0},boundary:{type:[String,_o],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function Q1(e,n,o,r,i,a){const s=t.resolveComponent("PopperContent"),d=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(d,t.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:n[0]||(n[0]=()=>e.$emit("show")),onHide:n[1]||(n[1]=()=>e.$emit("hide")),"onUpdate:shown":n[2]||(n[2]=l=>e.$emit("update:shown",l)),onApplyShow:n[3]||(n[3]=()=>e.$emit("apply-show")),onApplyHide:n[4]||(n[4]=()=>e.$emit("apply-hide")),onCloseGroup:n[5]||(n[5]=()=>e.$emit("close-group")),onCloseDirective:n[6]||(n[6]=()=>e.$emit("close-directive")),onAutoHide:n[7]||(n[7]=()=>e.$emit("auto-hide")),onResize:n[8]||(n[8]=()=>e.$emit("resize"))}),{default:t.withCtx(({popperId:l,isShown:u,shouldMountContent:c,skipTransition:p,autoHide:f,show:m,hide:g,handleResize:h,onResize:w,classes:v,result:b})=>[t.renderSlot(e.$slots,"default",{shown:u,show:m,hide:g}),t.createVNode(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:u,mounted:c,"skip-transition":p,"auto-hide":f,"handle-resize":h,classes:v,result:b,onHide:g,onResize:w},{default:t.withCtx(()=>[t.renderSlot(e.$slots,"popper",{shown:u,hide:g})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const fr=Rn(Z1,[["render",Q1]]),J1={...fr,name:"VDropdown",vPopperTheme:"dropdown"},K1={...fr,name:"VMenu",vPopperTheme:"menu"},X1={...fr,name:"VTooltip",vPopperTheme:"tooltip"},q1=t.defineComponent({name:"VTooltipDirective",components:{Popper:Da(),PopperContent:Pa},mixins:[_a],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Lt(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Lt(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const n=++this.$_fetchId,o=this.content(this);o.then?o.then(r=>this.onResult(n,r)):this.onResult(n,o)}},onResult(e,n){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=n)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),ep=["innerHTML"],tp=["textContent"];function np(e,n,o,r,i,a){const s=t.resolveComponent("PopperContent"),d=t.resolveComponent("Popper");return t.openBlock(),t.createBlock(d,t.mergeProps({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:t.withCtx(({popperId:l,isShown:u,shouldMountContent:c,skipTransition:p,autoHide:f,hide:m,handleResize:g,onResize:h,classes:w,result:v})=>[t.createVNode(s,{ref:"popperContent",class:t.normalizeClass({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:u,mounted:c,"skip-transition":p,"auto-hide":f,"handle-resize":g,classes:w,result:v,onHide:m,onResize:h},{default:t.withCtx(()=>[e.html?(t.openBlock(),t.createElementBlock("div",{key:0,innerHTML:e.finalContent},null,8,ep)):(t.openBlock(),t.createElementBlock("div",{key:1,textContent:t.toDisplayString(e.finalContent)},null,8,tp))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const op=Rn(q1,[["render",np]]),Oa="v-popper--has-tooltip";function rp(e,n){let o=e.placement;if(!o&&n)for(const r of La)n[r]&&(o=r);return o||(o=Lt(e.theme||"tooltip","placement")),o}function za(e,n,o){let r;const i=typeof n;return i==="string"?r={content:n}:n&&i==="object"?r=n:r={content:!1},r.placement=rp(r,o),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let lo,Dt,ip=0;function ap(){if(lo)return;Dt=t.ref([]),lo=t.createApp({name:"VTooltipDirectiveApp",setup(){return{directives:Dt}},render(){return this.directives.map(n=>t.h(op,{...n.options,shown:n.shown||n.options.shown,key:n.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),lo.mount(e)}function sp(e,n,o){ap();const r=t.ref(za(e,n,o)),i=t.ref(!1),a={id:ip++,options:r,shown:i};return Dt.value.push(a),e.classList&&e.classList.add(Oa),e.$_popper={options:r,item:a,show(){i.value=!0},hide(){i.value=!1}}}function Ra(e){if(e.$_popper){const n=Dt.value.indexOf(e.$_popper.item);n!==-1&&Dt.value.splice(n,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Oa)}function Ni(e,{value:n,modifiers:o}){const r=za(e,n,o);if(!r.content||Lt(r.theme||"tooltip","disabled"))Ra(e);else{let i;e.$_popper?(i=e.$_popper,i.options.value=r):i=sp(e,n,o),typeof n.shown<"u"&&n.shown!==e.$_popperOldShown&&(e.$_popperOldShown=n.shown,n.shown?i.show():i.hide())}}const dp={beforeMount:Ni,updated:Ni,beforeUnmount(e){Ra(e)}};function ki(e){e.addEventListener("mousedown",Tn),e.addEventListener("click",Tn),e.addEventListener("touchstart",Fa,tt?{passive:!0}:!1)}function Mi(e){e.removeEventListener("mousedown",Tn),e.removeEventListener("click",Tn),e.removeEventListener("touchstart",Fa),e.removeEventListener("touchend",Va),e.removeEventListener("touchcancel",Ha)}function Tn(e){const n=e.currentTarget;e.closePopover=!n.$_vclosepopover_touch,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}function Fa(e){if(e.changedTouches.length===1){const n=e.currentTarget;n.$_vclosepopover_touch=!0;const o=e.changedTouches[0];n.$_vclosepopover_touchPoint=o,n.addEventListener("touchend",Va),n.addEventListener("touchcancel",Ha)}}function Va(e){const n=e.currentTarget;if(n.$_vclosepopover_touch=!1,e.changedTouches.length===1){const o=e.changedTouches[0],r=n.$_vclosepopover_touchPoint;e.closePopover=Math.abs(o.screenY-r.screenY)<20&&Math.abs(o.screenX-r.screenX)<20,e.closeAllPopover=n.$_closePopoverModifiers&&!!n.$_closePopoverModifiers.all}}function Ha(e){const n=e.currentTarget;n.$_vclosepopover_touch=!1}const lp={beforeMount(e,{value:n,modifiers:o}){e.$_closePopoverModifiers=o,(typeof n>"u"||n)&&ki(e)},updated(e,{value:n,oldValue:o,modifiers:r}){e.$_closePopoverModifiers=r,n!==o&&(typeof n>"u"||n?ki(e):Mi(e))},beforeUnmount(e){Mi(e)}};function up(e,n={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Ea(ue,n),e.directive("tooltip",dp),e.directive("close-popper",lp),e.component("VTooltip",X1),e.component("VDropdown",J1),e.component("VMenu",K1))}const cp={version:"5.2.2",install:up,options:ue},pp="c3fd21c9-c91a-4c66-baa5-c3e050c2cc74",Ai="2026-11-13T12:25:32.993Z",fp="c5ac1602-351c-449e-8e95-7e413c31817a",mp="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0zLjA0IDEzLjE0YzAtMSAuOTMtMS43NiAxLjkyLTEuNTVjLjQ0LjEuOSAwIDEuMjYtLjI2bC41MS0uMzdhNSA1IDAgMCAxIDEuMDctLjY2YTIgMiAwIDAgMSAxLjEzLS4wNGMuMy4wNy41Ny4yNCAxLjEyLjU3bC4yMi4xNGMuNy40MiAxLjA0LjYzIDEuNDIuN2EyIDIgMCAwIDAgLjYzIDBjLjM4LS4wNi43My0uMjYgMS40My0uNjZsLjQyLS4yNWMuNTEtLjMuNzctLjQ0IDEuMDMtLjUxYTIgMiAwIDAgMSAxLjIxLjA3Yy4yNi4xLjUuMjcuOTcuNjJsLjU1LjRjLjM0LjI1Ljc3LjM0IDEuMi4yNWMuOS0uMiAxLjc4LjQ5IDEuNzggMS40M3Y1LjY3YzAgLjczIDAgMS4wOS0uMDkgMS4zOGEyIDIgMCAwIDEtMS4zIDEuM2MtLjMuMS0uNjYuMS0xLjM4LjFjLS43MyAwLTEuMDkgMC0xLjM4LS4xYTIgMiAwIDAgMS0xLjMtMS4zYy0uMS0uMy0uMS0uNjUtLjEtMS4zOHYtLjJjMC0uOTMgMC0xLjQtLjE1LTEuNzVhMiAyIDAgMCAwLTEuMS0xLjFhNSA1IDAgMCAwLTEuNzQtLjE0aC0uODFjLS45MiAwLTEuMzggMC0xLjc0LjE0YTIgMiAwIDAgMC0xLjEgMS4xYy0uMTUuMzYtLjE1LjgyLS4xNSAxLjc0di4yM2MwIC43IDAgMS4wNi0uMDkgMS4zNWEyIDIgMCAwIDEtMS4zMiAxLjMyYy0uMjguMS0uNjQuMS0xLjM1LjFzLTEuMDcgMC0xLjM2LS4xYTIgMiAwIDAgMS0xLjMyLTEuMzJjLS4wOS0uMjktLjA5LS42NC0uMDktMS4zNXoiIG9wYWNpdHk9Ii4yIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTEuODYgOS42MmMwIDEuMi41NCAyLjIyIDIuNzEgMi4yMmMyLjE4IDAgMy42Ni0yLjIyIDMuNjYtMi4yMnMxLjU1IDIuMjIgMy43MiAyLjIyYzIuMTggMCAzLjg1LTIuMjMgMy44NS0yLjIzczEuMzQgMi4yMyAzLjY1IDIuMjNjMS44IDAgMi42OS0xLjIgMi42OS0yLjJxMC0uMy0uMTUtLjk2Yy0uNTUtMi43LS44My00LjA1LTEuOTMtNC45NXMtMi42LS45LTUuNjItLjlIOS41Yy0yLjk3IDAtNC40NSAwLTUuNTYuOXMtMS4zNyAyLjItMS45MSA0LjgzcS0uMTYuNzEtLjE2IDEuMDZtMTkuMDQgMi4zMnYxLjUzYzAgMy43NyAwIDUuNjYtMS4xNyA2Ljgzcy0zLjA2IDEuMTctNi44MyAxLjE3aC0xLjg3Yy0zLjc3IDAtNS42NSAwLTYuODMtMS4xN3MtMS4xNy0zLjA2LTEuMTctNi44M3YtMS41MyIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0xNS40NCAyMS4yMnYtMi4zYzAtMS4zNiAwLTIuMDQtLjMyLTIuNTRhMiAyIDAgMCAwLS42LS42Yy0uNDktLjMxLTEuMTctLjMxLTIuNTQtLjMxcy0yLjA1IDAtMi41NS4zMmEyIDIgMCAwIDAtLjYuNmMtLjMxLjQ5LS4zMSAxLjE3LS4zMSAyLjU0djIuMjkiIC8+Cgk8L2c+Cjwvc3ZnPgo=",z=(e="")=>({"pt-BR":e,"en-US":e,"es-ES":e}),gp=(e,n)=>n==null?{label:z(e)}:n.label?n:{...n,label:z(e)},oe=e=>({id:e.id,companyId:pp,name:e.name,action:e.action,message:null,automaticMessage:null,callOnQueue:null,uraDescription:null,interactiveMessageId:null,configId:e.configId??null,queueId:null,redirectQueue:null,redirectRuleId:null,questionnaire:null,webhook:null,isRoot:!1,redirectDefault:!1,redirectTimeout:60,delay:null,disableTyping:!1,settings:gp(e.name,e.settings),archivedAt:null,autoTagEnabled:!1,autoTagIds:[],createdAt:Ai,updatedAt:Ai}),ie=(e,n)=>({id:e,nextRuleId:n}),uo=oe({id:"69b262ed-2f08-4f61-90d9-8099f6f56509",name:"Explorar Produtos",action:"widget-base-screen",settings:{body:{logo:"",title:z(""),eyebrow:z(""),subtitle:z("Preparado para dar um upgrade? 🚀 Escolha uma categoria e descubra nossas novidades!")},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiPgoJCTxwYXRoIGQ9Ik0zLjk3NyA5Ljg0QTIgMiAwIDAgMSA1Ljk3MSA4aDEyLjA1OGEyIDIgMCAwIDEgMS45OTQgMS44NGwuODAzIDEwQTIgMiAwIDAgMSAxOC44MzMgMjJINS4xNjdhMiAyIDAgMCAxLTEuOTkzLTIuMTZ6IiAvPgoJCTxwYXRoIGQ9Ik0xNiAxMVY2YTQgNCAwIDAgMC00LTR2MGE0IDQgMCAwIDAtNCA0djUiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:z("OpensTec Store"),subtitle:z("Tecnologia para sua vida")}}}),co=oe({id:"fcecfd31-fc37-4a7f-926c-5180be2e3df3",name:"Acompanhar Pedido",action:"widget-base-screen",settings:{body:{logo:"",title:z(""),eyebrow:z(""),subtitle:z("Vamos descobrir onde está seu pedido? 📦 Escolha uma opção para continuar.")},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0yMS40IDguMzF2Ny42MmEuNS41IDAgMCAxLS43OS40bC0yLjE1LTEuNWEuNS41IDAgMCAwLS41OS4wMWwtMi40NSAxLjg1YS41LjUgMCAwIDAtLjE4LjUzbC42NyAyLjRhLjUuNSAwIDAgMS0uMjQuNTdsLTMuNzggMi4wMmEuNS41IDAgMCAxLS4yMi0uNDRsLjcxLTkuMzVhLjUuNSAwIDAgMSAuMjctLjRsOC4wMi00LjE1YS41LjUgMCAwIDEgLjczLjQ0IiBvcGFjaXR5PSIuMiIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0yMS40MiAxMi4zMnYtMi4xNWMwLTEuNyAwLTIuNTQtLjQtMy4yNHMtMS4xNC0xLjEyLTIuNi0xLjk2TDE1IDIuOTljLTEuNDYtLjg0LTIuMi0xLjI2LTMtMS4yNnMtMS41NC40Mi0zIDEuMjZMNS41OCA0Ljk3Yy0xLjQ2Ljg0LTIuMiAxLjI3LTIuNiAxLjk2Yy0uNC43LS40IDEuNTQtLjQgMy4yNHY0LjRjMCAuOTcgMCAxLjQ1LjEzIDEuODhhMyAzIDAgMCAwIC42NyAxLjE2Yy4zLjMzLjcyLjU3IDEuNTYgMS4wNWw1LjQ4IDMuMTZjLjcuNDEgMS41OC0uMSAxLjU4LS45MU0zLjEyIDcuNTNMMTIgMTIuNDJtMCAwdjguNTVNNy4zIDkuNTd2NC42MW0xMy41OC02LjY1TDEyIDEyLjQyTTcuMyA5LjU3bDkuMTQtNS40Mm00LjA2IDE2LjQ3bDEuODcgMS44NyIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0yMS40IDE4LjEzYTMuMiAzLjIgMCAwIDEtMy4yIDMuMmEzLjIgMy4yIDAgMSAxIDMuMi0zLjIiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:z("OpensTec Store"),subtitle:z("Tecnologia para sua vida")}}}),Ti=oe({id:"91a443ca-0f26-4249-863b-0bfcb2a376a8",name:"Trocas e devoluções",action:"widget-base-screen",settings:{body:{logo:"",title:z(""),eyebrow:z(""),subtitle:z("Precisou trocar ou devolver um produto? Sem problemas! Vamos ajudar você.")},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9IiMwNTE3NzkiIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIj4KCQk8cGF0aCBkPSJNNi42NCA5Ljc4OGEuNzUuNzUgMCAwIDEgLjUzLjkxOGE1IDUgMCAwIDAgNy4zMyA1LjYyNGEuNzUuNzUgMCAxIDEgLjc1IDEuM2E2LjUwMSA2LjUwMSAwIDAgMS05LjUyOS03LjMxMmEuNzUuNzUgMCAwIDEgLjkxOS0uNTNNOC43NSA2LjM3YTYuNSA2LjUgMCAwIDEgOS41MjkgNy4zMTJhLjc1Ljc1IDAgMSAxLTEuNDUtLjM4OEE1LjAwMSA1LjAwMSAwIDAgMCA5LjUgNy42N2EuNzUuNzUgMCAxIDEtLjc1LTEuMyIgLz4KCQk8cGF0aCBkPSJNNS43MiA5LjQ3YS43NS43NSAwIDAgMSAxLjA2IDBsMi41IDIuNWEuNzUuNzUgMCAxIDEtMS4wNiAxLjA2bC0xLjk3LTEuOTdsLTEuOTcgMS45N2EuNzUuNzUgMCAwIDEtMS4wNi0xLjA2em05IDEuNWEuNzUuNzUgMCAwIDEgMS4wNiAwbDEuOTcgMS45N2wxLjk3LTEuOTdhLjc1Ljc1IDAgMSAxIDEuMDYgMS4wNmwtMi41IDIuNWEuNzUuNzUgMCAwIDEtMS4wNiAwbC0yLjUtMi41YS43NS43NSAwIDAgMSAwLTEuMDYiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:z("OpensTec Store"),subtitle:z("Tecnologia para sua vida")}}}),po=oe({id:"1d846621-3e82-4fad-a3f2-cee80503177a",name:"Suporte",action:"widget-identification-screen",settings:{form:{fields:[]},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xMiAyQzYuNDg2IDIgMiA2LjQ4NiAyIDEydjQuMTQzQzIgMTcuMTY3IDIuODk3IDE4IDQgMThoMWExIDEgMCAwIDAgMS0xdi01LjE0M2ExIDEgMCAwIDAtMS0xaC0uOTA4QzQuNjQ4IDYuOTg3IDcuOTc4IDQgMTIgNHM3LjM1MiAyLjk4NyA3LjkwOCA2Ljg1N0gxOWExIDEgMCAwIDAtMSAxVjE4YzAgMS4xMDMtLjg5NyAyLTIgMmgtMnYtMWgtNHYzaDZjMi4yMDYgMCA0LTEuNzk0IDQtNGMxLjEwMyAwIDItLjgzMyAyLTEuODU3VjEyYzAtNS41MTQtNC40ODYtMTAtMTAtMTAiIC8+Cjwvc3ZnPgo=",title:z("OpensTec Stora"),subtitle:z("Tecnologia para sua vida")}}}),Ii=oe({id:"f666871a-6cc7-44f8-8e63-e9363d8e85ff",name:"Entregas",action:"widget-article-screen",settings:{body:{content:{"en-US":"","es-ES":"","pt-BR":`
|
|
10
10
|
<div style="font-family:Arial,sans-serif;color:#1E293B;line-height:1.6;width:100%;box-sizing:border-box;">
|
|
11
11
|
|
|
12
12
|
<div style="background:#EFF6FF;padding:18px;border-radius:12px;text-align:center;">
|
|
@@ -72,7 +72,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
72
72
|
</div>
|
|
73
73
|
|
|
74
74
|
</div>
|
|
75
|
-
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xNi45IDkuODhjMC0yLjgzIDAtNC4yNC0uODgtNS4xMnMtMi4zLS44OC01LjEyLS44OEg3LjczYy0yLjgyIDAtNC4yNCAwLTUuMTIuODhzLS44OCAyLjMtLjg4IDUuMTJ2NS41NmExLjM1IDEuMzUgMCAwIDAgMi4zLjk2bC4zLS4zYTIuNCAyLjQgMCAwIDEgMy4yNi0uMDZsLjEuMWMuNDcuNDEgMS4wOC42NSAxLjcuNjVoMi4zOGwuNTItLjAxYTMgMyAwIDAgMCAxLjQ0LS41MmwuNDEtLjMyQTMgMyAwIDAgMSAxNiAxNS4xaC45MXoiIG9wYWNpdHk9Ii4yIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTE2LjkgMTUuMDJWOS44OGMwLTIuODMgMC00LjI0LS44OC01LjEycy0yLjMtLjg4LTUuMTItLjg4SDcuNzNjLTIuODIgMC00LjI0IDAtNS4xMi44OHMtLjg4IDIuMy0uODggNS4xMnY1LjFjMCAxIC44MSAxLjggMS44IDEuOG0xMy40MS05LjcyaDEuMTNjLjczIDAgMS4xIDAgMS40My4xMmEyIDIgMCAwIDEgLjQxLjJjLjMuMi41Mi41Ljk2IDEuMDlhOCA4IDAgMCAxIDEuMDggMS42M3EuMTIuMy4yLjZjLjEyLjQ4LjEyLjk3LjEyIDEuOTZ2LjM2YzAgMS42NiAwIDIuNS0uNDcgMy4wNWwtLjI1LjI1Yy0uNTYuNDctMS40LjQ3LTMuMDYuNDciIC8+CgkJPGNpcmNsZSBjeD0iNi4wNyIgY3k9IjE3LjUyIiByPSIyLjYiIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJyb3RhdGUoOTAgNi4wNyAxNy41MikiIC8+CgkJPGNpcmNsZSBjeD0iMTUuOTMiIGN5PSIxNy41MiIgcj0iMi42IiBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHRyYW5zZm9ybT0icm90YXRlKDkwIDE1LjkzIDE3LjUyKSIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik04LjY3IDE2Ljc5aDQuNjYiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:
|
|
75
|
+
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xNi45IDkuODhjMC0yLjgzIDAtNC4yNC0uODgtNS4xMnMtMi4zLS44OC01LjEyLS44OEg3LjczYy0yLjgyIDAtNC4yNCAwLTUuMTIuODhzLS44OCAyLjMtLjg4IDUuMTJ2NS41NmExLjM1IDEuMzUgMCAwIDAgMi4zLjk2bC4zLS4zYTIuNCAyLjQgMCAwIDEgMy4yNi0uMDZsLjEuMWMuNDcuNDEgMS4wOC42NSAxLjcuNjVoMi4zOGwuNTItLjAxYTMgMyAwIDAgMCAxLjQ0LS41MmwuNDEtLjMyQTMgMyAwIDAgMSAxNiAxNS4xaC45MXoiIG9wYWNpdHk9Ii4yIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTE2LjkgMTUuMDJWOS44OGMwLTIuODMgMC00LjI0LS44OC01LjEycy0yLjMtLjg4LTUuMTItLjg4SDcuNzNjLTIuODIgMC00LjI0IDAtNS4xMi44OHMtLjg4IDIuMy0uODggNS4xMnY1LjFjMCAxIC44MSAxLjggMS44IDEuOG0xMy40MS05LjcyaDEuMTNjLjczIDAgMS4xIDAgMS40My4xMmEyIDIgMCAwIDEgLjQxLjJjLjMuMi41Mi41Ljk2IDEuMDlhOCA4IDAgMCAxIDEuMDggMS42M3EuMTIuMy4yLjZjLjEyLjQ4LjEyLjk3LjEyIDEuOTZ2LjM2YzAgMS42NiAwIDIuNS0uNDcgMy4wNWwtLjI1LjI1Yy0uNTYuNDctMS40LjQ3LTMuMDYuNDciIC8+CgkJPGNpcmNsZSBjeD0iNi4wNyIgY3k9IjE3LjUyIiByPSIyLjYiIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJyb3RhdGUoOTAgNi4wNyAxNy41MikiIC8+CgkJPGNpcmNsZSBjeD0iMTUuOTMiIGN5PSIxNy41MiIgcj0iMi42IiBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHRyYW5zZm9ybT0icm90YXRlKDkwIDE1LjkzIDE3LjUyKSIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik04LjY3IDE2Ljc5aDQuNjYiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:z("OpensTec Store"),subtitle:z("Tecnologia para sua vida")}}}),Oo=oe({id:"fe4e5728-9714-4c75-a540-1356e30b14a7",name:"FAQ",action:"widget-article-screen",settings:{body:{content:{"en-US":"","es-ES":"","pt-BR":`
|
|
76
76
|
<div style="font-family:Arial,sans-serif;color:#1E293B;line-height:1.5;width:100%;box-sizing:border-box;">
|
|
77
77
|
|
|
78
78
|
<div style="background:#EFF6FF;padding:18px;border-radius:12px;text-align:center;margin-bottom:20px;">
|
|
@@ -165,7 +165,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
165
165
|
</div>
|
|
166
166
|
|
|
167
167
|
</div>
|
|
168
|
-
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xMiA2YTMuOTQgMy45NCAwIDAgMC0zLjkzNCAzLjkzNGgyQzEwLjA2NiA4Ljg2NyAxMC45MzQgOCAxMiA4czEuOTM0Ljg2NyAxLjkzNCAxLjkzNGMwIC41OTgtLjQ4MSAxLjAzMi0xLjIxNiAxLjYyNmE5IDkgMCAwIDAtLjY5MS41OTljLS45OTguOTk3LTEuMDI3IDIuMDU2LTEuMDI3IDIuMTc0VjE1aDJsLS4wMDEtLjYzM2MuMDAxLS4wMTYuMDMzLS4zODYuNDQxLS43OTNjLjE1LS4xNS4zMzktLjMuNTM1LS40NThjLjc3OS0uNjMxIDEuOTU4LTEuNTg0IDEuOTU4LTMuMTgyQTMuOTM3IDMuOTM3IDAgMCAwIDEyIDZtLTEgMTBoMnYyaC0yeiIgLz4KCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xMiAyQzYuNDg2IDIgMiA2LjQ4NiAyIDEyczQuNDg2IDEwIDEwIDEwczEwLTQuNDg2IDEwLTEwUzE3LjUxNCAyIDEyIDJtMCAxOGMtNC40MTEgMC04LTMuNTg5LTgtOHMzLjU4OS04IDgtOHM4IDMuNTg5IDggOHMtMy41ODkgOC04IDgiIC8+Cjwvc3ZnPgo=",title:
|
|
168
|
+
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xMiA2YTMuOTQgMy45NCAwIDAgMC0zLjkzNCAzLjkzNGgyQzEwLjA2NiA4Ljg2NyAxMC45MzQgOCAxMiA4czEuOTM0Ljg2NyAxLjkzNCAxLjkzNGMwIC41OTgtLjQ4MSAxLjAzMi0xLjIxNiAxLjYyNmE5IDkgMCAwIDAtLjY5MS41OTljLS45OTguOTk3LTEuMDI3IDIuMDU2LTEuMDI3IDIuMTc0VjE1aDJsLS4wMDEtLjYzM2MuMDAxLS4wMTYuMDMzLS4zODYuNDQxLS43OTNjLjE1LS4xNS4zMzktLjMuNTM1LS40NThjLjc3OS0uNjMxIDEuOTU4LTEuNTg0IDEuOTU4LTMuMTgyQTMuOTM3IDMuOTM3IDAgMCAwIDEyIDZtLTEgMTBoMnYyaC0yeiIgLz4KCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xMiAyQzYuNDg2IDIgMiA2LjQ4NiAyIDEyczQuNDg2IDEwIDEwIDEwczEwLTQuNDg2IDEwLTEwUzE3LjUxNCAyIDEyIDJtMCAxOGMtNC40MTEgMC04LTMuNTg5LTgtOHMzLjU4OS04IDgtOHM4IDMuNTg5IDggOHMtMy41ODkgOC04IDgiIC8+Cjwvc3ZnPgo=",title:z("OpensTec Store"),subtitle:z("Tecnologia para sua vida")}}}),Ei=oe({id:"b1049d64-1c15-4700-89ed-cd62859689c4",name:"Notebooks",action:"widget-article-screen",settings:{body:{content:{"en-US":"","es-ES":"","pt-BR":`
|
|
169
169
|
<div style="font-family:Arial,sans-serif;color:#1E293B;line-height:1.5;width:100%;box-sizing:border-box;">
|
|
170
170
|
|
|
171
171
|
<div style="background:#EFF6FF;padding:18px;border-radius:12px;text-align:center;margin-bottom:18px;">
|
|
@@ -225,7 +225,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
225
225
|
</div>
|
|
226
226
|
|
|
227
227
|
</div>
|
|
228
|
-
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0zLjM1IDE1LjQxYy4xNS0uMjMuMjMtLjM0LjMzLS40M2ExIDEgMCAwIDEgLjQtLjIxYy4xMi0uMDQuMjYtLjA0LjU0LS4wNGgxNC43Yy4yNyAwIC40IDAgLjUzLjA0YTEgMSAwIDAgMSAuNC4yYy4xLjEuMTguMi4zMy40M2MuOTggMS40MyAxLjQ3IDIuMTQgMS40OSAyLjc0YTIgMiAwIDAgMS0uOTIgMS43M2MtLjUuMzItMS4zNi4zMi0zLjEuMzJINS45Yy0xLjczIDAtMi42IDAtMy4wOS0uMzNhMiAyIDAgMCAxLS45LTEuN2MwLS42LjQ4LTEuMzEgMS40NS0yLjc1IiBvcGFjaXR5PSIuMiIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0yMCAxNC43M3YtMy45MmMwLTMuMyAwLTQuOTUtMS4wMy01Ljk4QzE3Ljk1IDMuODEgMTYuMyAzLjgxIDEzIDMuODFoLTJjLTMuMyAwLTQuOTUgMC01Ljk3IDEuMDJDNCA1Ljg2IDQgNy41MSA0IDEwLjgxdjMuOTJtLS4wNiAwYy0xLjU0IDEuOTItMi4zMSAyLjg4LTIuMjMgMy42OWEyIDIgMCAwIDAgLjU5IDEuMjRjLjU4LjU3IDEuODEuNTcgNC4yNy41N2gxMC44N2MyLjQ2IDAgMy42OCAwIDQuMjYtLjU1YTIgMiAwIDAgMCAuNjItMS4zM2MuMDUtLjgtLjc0LTEuNzQtMi4zMy0zLjYybS4wMSAwSDQiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:
|
|
228
|
+
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0zLjM1IDE1LjQxYy4xNS0uMjMuMjMtLjM0LjMzLS40M2ExIDEgMCAwIDEgLjQtLjIxYy4xMi0uMDQuMjYtLjA0LjU0LS4wNGgxNC43Yy4yNyAwIC40IDAgLjUzLjA0YTEgMSAwIDAgMSAuNC4yYy4xLjEuMTguMi4zMy40M2MuOTggMS40MyAxLjQ3IDIuMTQgMS40OSAyLjc0YTIgMiAwIDAgMS0uOTIgMS43M2MtLjUuMzItMS4zNi4zMi0zLjEuMzJINS45Yy0xLjczIDAtMi42IDAtMy4wOS0uMzNhMiAyIDAgMCAxLS45LTEuN2MwLS42LjQ4LTEuMzEgMS40NS0yLjc1IiBvcGFjaXR5PSIuMiIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0yMCAxNC43M3YtMy45MmMwLTMuMyAwLTQuOTUtMS4wMy01Ljk4QzE3Ljk1IDMuODEgMTYuMyAzLjgxIDEzIDMuODFoLTJjLTMuMyAwLTQuOTUgMC01Ljk3IDEuMDJDNCA1Ljg2IDQgNy41MSA0IDEwLjgxdjMuOTJtLS4wNiAwYy0xLjU0IDEuOTItMi4zMSAyLjg4LTIuMjMgMy42OWEyIDIgMCAwIDAgLjU5IDEuMjRjLjU4LjU3IDEuODEuNTcgNC4yNy41N2gxMC44N2MyLjQ2IDAgMy42OCAwIDQuMjYtLjU1YTIgMiAwIDAgMCAuNjItMS4zM2MuMDUtLjgtLjc0LTEuNzQtMi4zMy0zLjYybS4wMSAwSDQiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:z("Notebooks"),subtitle:z("Performance para trabalho e diversão.")}}}),Si=oe({id:"1ab3797c-05ac-4f6a-91c2-c1c146980266",name:"Smartphones",action:"widget-article-screen",settings:{body:{content:{"en-US":"","es-ES":"","pt-BR":`
|
|
229
229
|
<div style="font-family:Arial,sans-serif;color:#1E293B;line-height:1.5;width:100%;box-sizing:border-box;">
|
|
230
230
|
|
|
231
231
|
<div style="background:#EFF6FF;padding:18px;border-radius:12px;text-align:center;margin-bottom:18px;">
|
|
@@ -285,7 +285,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
285
285
|
</div>
|
|
286
286
|
|
|
287
287
|
</div>
|
|
288
|
-
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+Cgk8cGF0aCBkPSJNMCAwaDUxMnY1MTJIMHoiIGZpbGw9Im5vbmUiIC8+Cgk8cGF0aCBmaWxsPSIjMDUxNzc5IiBkPSJNMTA0IDQ4djQxNmEzMi4wMzYgMzIuMDM2IDAgMCAwIDMyIDMyaDI0OGEzMi4wMzYgMzIuMDM2IDAgMCAwIDMyLTMyVjQ4YTMyLjAzNiAzMi4wMzYgMCAwIDAtMzItMzJIMTM2YTMyLjAzNiAzMi4wMzYgMCAwIDAtMzIgMzJtMjgwLjAyMSA0MTZIMTM2VjQ4aDI0OFoiIC8+Cgk8cGF0aCBmaWxsPSIjMDUxNzc5IiBkPSJNMjE2IDgwaDk2djMyaC05MnptMzIgMzEyaDMydjMyaC0zMnoiIC8+Cjwvc3ZnPgo=",title:
|
|
288
|
+
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+Cgk8cGF0aCBkPSJNMCAwaDUxMnY1MTJIMHoiIGZpbGw9Im5vbmUiIC8+Cgk8cGF0aCBmaWxsPSIjMDUxNzc5IiBkPSJNMTA0IDQ4djQxNmEzMi4wMzYgMzIuMDM2IDAgMCAwIDMyIDMyaDI0OGEzMi4wMzYgMzIuMDM2IDAgMCAwIDMyLTMyVjQ4YTMyLjAzNiAzMi4wMzYgMCAwIDAtMzItMzJIMTM2YTMyLjAzNiAzMi4wMzYgMCAwIDAtMzIgMzJtMjgwLjAyMSA0MTZIMTM2VjQ4aDI0OFoiIC8+Cgk8cGF0aCBmaWxsPSIjMDUxNzc5IiBkPSJNMjE2IDgwaDk2djMyaC05MnptMzIgMzEyaDMydjMyaC0zMnoiIC8+Cjwvc3ZnPgo=",title:z("Smartphones"),subtitle:z("Tecnologia na palma da mão")}}}),Li=oe({id:"c7faf40f-8208-4722-be69-c6fe10c97c54",name:"Acessórios",action:"widget-article-screen",settings:{body:{content:{"en-US":"","es-ES":"","pt-BR":`
|
|
289
289
|
<div style="font-family:Arial,sans-serif;color:#1E293B;line-height:1.5;width:100%;box-sizing:border-box;">
|
|
290
290
|
|
|
291
291
|
<div style="background:#EFF6FF;padding:18px;border-radius:12px;text-align:center;margin-bottom:18px;">
|
|
@@ -332,7 +332,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
332
332
|
</div>
|
|
333
333
|
|
|
334
334
|
</div>
|
|
335
|
-
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xOC40NSAxMy4xMWMtLjI1LS4xMi0uNTQtLjE0LS44LS4wNHMtLjQ3LjMtLjU3LjU2bC0yIDVjLS4xOS40OC4wMiAxLjAzLjQ4IDEuMjdsMiAxYTEgMSAwIDAgMCAuNzkuMDVjLjI2LS4wOS40Ny0uMjkuNTgtLjU1bDEuNjgtMy45MmE5Ljg2IDkuODYgMCAwIDAtLjYzLTguOTZjLTEuNTctMi42MS00LjE4LTQuMjQtNy4xNS00LjQ4Yy0uNTQtLjA1LTEuMS0uMDUtMS42NCAwYy0yLjk3LjI0LTUuNTggMS44OC03LjE1IDQuNDhhOS44NiA5Ljg2IDAgMCAwLS42MyA4Ljk2bDEuNjggMy45MmMuMTEuMjUuMzIuNDUuNTguNTVjLjI2LjA5LjU0LjA4Ljc5LS4wNGwyLTFhMSAxIDAgMCAwIC40OC0xLjI3bC0yLTVhLjk4Ljk4IDAgMCAwLS41Ny0uNTZjLS4yNi0uMS0uNTUtLjA4LS44LjA0bC0uODguNDRjLS4yLTEuNzIuMTYtMy40OCAxLjA4LTVjMS4yNC0yLjA1IDMuMjgtMy4zMyA1LjYtMy41MmMuNDMtLjA0Ljg3LS4wNCAxLjMxIDBjMi4zMi4xOSA0LjM2IDEuNDcgNS42IDMuNTJhNy45NSA3Ljk1IDAgMCAxIDEuMDggNWwtLjg4LS40NFoiIC8+Cjwvc3ZnPgo=",title:
|
|
335
|
+
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xOC40NSAxMy4xMWMtLjI1LS4xMi0uNTQtLjE0LS44LS4wNHMtLjQ3LjMtLjU3LjU2bC0yIDVjLS4xOS40OC4wMiAxLjAzLjQ4IDEuMjdsMiAxYTEgMSAwIDAgMCAuNzkuMDVjLjI2LS4wOS40Ny0uMjkuNTgtLjU1bDEuNjgtMy45MmE5Ljg2IDkuODYgMCAwIDAtLjYzLTguOTZjLTEuNTctMi42MS00LjE4LTQuMjQtNy4xNS00LjQ4Yy0uNTQtLjA1LTEuMS0uMDUtMS42NCAwYy0yLjk3LjI0LTUuNTggMS44OC03LjE1IDQuNDhhOS44NiA5Ljg2IDAgMCAwLS42MyA4Ljk2bDEuNjggMy45MmMuMTEuMjUuMzIuNDUuNTguNTVjLjI2LjA5LjU0LjA4Ljc5LS4wNGwyLTFhMSAxIDAgMCAwIC40OC0xLjI3bC0yLTVhLjk4Ljk4IDAgMCAwLS41Ny0uNTZjLS4yNi0uMS0uNTUtLjA4LS44LjA0bC0uODguNDRjLS4yLTEuNzIuMTYtMy40OCAxLjA4LTVjMS4yNC0yLjA1IDMuMjgtMy4zMyA1LjYtMy41MmMuNDMtLjA0Ljg3LS4wNCAxLjMxIDBjMi4zMi4xOSA0LjM2IDEuNDcgNS42IDMuNTJhNy45NSA3Ljk1IDAgMCAxIDEuMDggNWwtLjg4LS40NFoiIC8+Cjwvc3ZnPgo=",title:z("Acessórios"),subtitle:z("Complete seu setup")}}}),Di=oe({id:"b09a42fd-6ca6-447f-b42d-9f2694d04262",name:"Fluxo Suporte",action:"widget-service-screen",settings:{service:{},features:{sendMessage:!1,sendAttachment:!1}}}),Bi=oe({id:"a183d7bb-0356-4dc8-b9ed-fdbd573b435c",name:"Consultar status",action:"widget-identification-screen",settings:{form:{fields:[{name:"cpf",label:"CPF",required:!0,placeholder:"Digite seu CPF"}]},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjIiPgoJCTxwYXRoIGQ9Ik0zIDZhMiAyIDAgMCAxIDIgLTJoMTRhMiAyIDAgMCAxIDIgMnYxNGEyIDIgMCAwIDEgLTIgMkg1YTIgMiAwIDAgMSAtMiAtMloiIC8+CgkJPHBhdGggZD0iTTQgOGgxNiIgLz4KCQk8cGF0aCBkPSJNMTIgNHY0IiAvPgoJCTxwYXRoIGQ9Im05IDE1IDIgMiA0IC00IiAvPgoJPC9nPgo8L3N2Zz4K",title:z("Consultar status"),subtitle:z("Veja em qual etapa está seu pedido")}}}),ji=oe({id:"93d410f8-d557-41c9-9bc8-9a28da4b9543",name:"Rastrear entrega",action:"widget-article-screen",settings:{body:{content:{"en-US":"","es-ES":"","pt-BR":`
|
|
336
336
|
<div style="font-family:Arial,sans-serif;color:#1E293B;line-height:1.5;width:100%;box-sizing:border-box;">
|
|
337
337
|
|
|
338
338
|
<div style="background:#EFF6FF;padding:18px;border-radius:12px;text-align:center;margin-bottom:18px;">
|
|
@@ -410,4 +410,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
410
410
|
</p>
|
|
411
411
|
|
|
412
412
|
</div>
|
|
413
|
-
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xNi45IDkuODhjMC0yLjgzIDAtNC4yNC0uODgtNS4xMnMtMi4zLS44OC01LjEyLS44OEg3LjczYy0yLjgyIDAtNC4yNCAwLTUuMTIuODhzLS44OCAyLjMtLjg4IDUuMTJ2NS41OGExLjMzIDEuMzMgMCAwIDAgMi4zLjkybC4yOS0uM0EyLjMzIDIuMzMgMCAwIDEgNy42IDE2bC4xLjFhMi41IDIuNSAwIDAgMCAxLjcxLjY4aDIuNjVhMyAzIDAgMCAwIDEuODItLjdsLjE3LS4xNWwuMTYtLjE1YTMgMyAwIDAgMSAxLjgyLS43aC44N3oiIG9wYWNpdHk9Ii4yIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTE2LjkgMTUuMDJWOS41YzAtMi40NSAwLTMuNjgtLjY3LTQuNWEzIDMgMCAwIDAtLjQ0LS40NGMtLjgzLS42Ny0yLjA1LS42Ny00LjUtLjY3bS05LjU2IDcuNzN2My4zNmMwIDEgLjgxIDEuOCAxLjggMS44bTEzLjQxLTkuNzJoMS4xM2MuNzMgMCAxLjEgMCAxLjQzLjEyYTIgMiAwIDAgMSAuNDEuMmMuMy4yLjUyLjUuOTYgMS4wOWE4IDggMCAwIDEgMS4wOCAxLjYzcS4xMi4zLjIuNmMuMTIuNDguMTIuOTcuMTIgMS45NnYuMzZjMCAxLjY2IDAgMi41LS40NyAzLjA1bC0uMjUuMjVjLS41Ni40Ny0xLjQuNDctMy4wNi40NyIgLz4KCQk8Y2lyY2xlIGN4PSI2LjA3IiBjeT0iMTcuNTIiIHI9IjIuNiIgc3Ryb2tlPSIjMDUxNzc5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2LjA3IDE3LjUyKSIgLz4KCQk8Y2lyY2xlIGN4PSIxNS45MyIgY3k9IjE3LjUyIiByPSIyLjYiIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJyb3RhdGUoOTAgMTUuOTMgMTcuNTIpIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik04LjY3IDE2Ljc5aDQuNk03LjY2IDUuNTVIMS43M204LjYgMy4xNUg0LjQiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:
|
|
413
|
+
`}},header:{logo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0xNi45IDkuODhjMC0yLjgzIDAtNC4yNC0uODgtNS4xMnMtMi4zLS44OC01LjEyLS44OEg3LjczYy0yLjgyIDAtNC4yNCAwLTUuMTIuODhzLS44OCAyLjMtLjg4IDUuMTJ2NS41OGExLjMzIDEuMzMgMCAwIDAgMi4zLjkybC4yOS0uM0EyLjMzIDIuMzMgMCAwIDEgNy42IDE2bC4xLjFhMi41IDIuNSAwIDAgMCAxLjcxLjY4aDIuNjVhMyAzIDAgMCAwIDEuODItLjdsLjE3LS4xNWwuMTYtLjE1YTMgMyAwIDAgMSAxLjgyLS43aC44N3oiIG9wYWNpdHk9Ii4yIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTE2LjkgMTUuMDJWOS41YzAtMi40NSAwLTMuNjgtLjY3LTQuNWEzIDMgMCAwIDAtLjQ0LS40NGMtLjgzLS42Ny0yLjA1LS42Ny00LjUtLjY3bS05LjU2IDcuNzN2My4zNmMwIDEgLjgxIDEuOCAxLjggMS44bTEzLjQxLTkuNzJoMS4xM2MuNzMgMCAxLjEgMCAxLjQzLjEyYTIgMiAwIDAgMSAuNDEuMmMuMy4yLjUyLjUuOTYgMS4wOWE4IDggMCAwIDEgMS4wOCAxLjYzcS4xMi4zLjIuNmMuMTIuNDguMTIuOTcuMTIgMS45NnYuMzZjMCAxLjY2IDAgMi41LS40NyAzLjA1bC0uMjUuMjVjLS41Ni40Ny0xLjQuNDctMy4wNi40NyIgLz4KCQk8Y2lyY2xlIGN4PSI2LjA3IiBjeT0iMTcuNTIiIHI9IjIuNiIgc3Ryb2tlPSIjMDUxNzc5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2LjA3IDE3LjUyKSIgLz4KCQk8Y2lyY2xlIGN4PSIxNS45MyIgY3k9IjE3LjUyIiByPSIyLjYiIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgdHJhbnNmb3JtPSJyb3RhdGUoOTAgMTUuOTMgMTcuNTIpIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik04LjY3IDE2Ljc5aDQuNk03LjY2IDUuNTVIMS43M204LjYgMy4xNUg0LjQiIC8+Cgk8L2c+Cjwvc3ZnPgo=",title:z("Rastrear entrega"),subtitle:z("Resolva imprevistos com nossa equipe")}}}),zo=oe({id:"c0900849-4dee-4101-87d1-94063a7d0270",name:"Tela Inicial",action:"widget-base-screen",settings:{body:{logo:"",title:z("Olá! 👋"),eyebrow:z(""),subtitle:z("O que você gostaria de fazer hoje?")},header:{logo:mp,title:z("OpensTec Store"),subtitle:z("Tecnologia para sua vida")}}}),Ua={id:fp,rules:[uo,co,Ti,po,Ii,Oo,Ei,Si,Li,Di,Bi,ji,zo],edges:{[zo.id]:[ie("9cf6f5ac-2c3e-4562-ab88-c67b05f7233c",uo.id),ie("fc93460c-5fcd-4428-a250-92d139feba1f",co.id),ie("a429340f-5886-4c29-859d-2a342efd418b",Ti.id),ie("d77eb0d5-98a0-41d0-a735-26871de389bb",po.id),ie("7d7f4c2f-bd81-44b6-ac29-4261e59fa876",Ii.id),ie("cee6fe92-c5ea-433e-afd5-b810191cf267",Oo.id)],[uo.id]:[ie("46bed5b0-01af-493c-be5b-1974e0cce4fa",Ei.id),ie("d61de3f9-9f2c-484f-9d7a-387ccc56db32",Si.id),ie("c7bc6aaf-efde-4e43-b565-352ea71b9f7b",Li.id)],[po.id]:[ie("2a883f9b-3422-4d05-b4c8-03095c2b1e59",Di.id)],[co.id]:[ie("94629ede-a015-4d9d-a265-33cc6229a1e2",Bi.id),ie("9bf3284e-89b7-40b0-9ccf-30b939001da0",ji.id)]}},hp=Oo,wp=zo,$p=e=>Ua.rules.find(n=>n.id===e),yp="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4KCTxnIGZpbGw9Im5vbmUiPgoJCTxwYXRoIGZpbGw9IiMwNTE3NzkiIGQ9Ik0zLjA0IDEzLjE0YzAtMSAuOTMtMS43NiAxLjkyLTEuNTVjLjQ0LjEuOSAwIDEuMjYtLjI2bC41MS0uMzdhNSA1IDAgMCAxIDEuMDctLjY2YTIgMiAwIDAgMSAxLjEzLS4wNGMuMy4wNy41Ny4yNCAxLjEyLjU3bC4yMi4xNGMuNy40MiAxLjA0LjYzIDEuNDIuN2EyIDIgMCAwIDAgLjYzIDBjLjM4LS4wNi43My0uMjYgMS40My0uNjZsLjQyLS4yNWMuOS0uMiAxLjc4LjQ5IDEuNzggMS40M3Y1LjY3YzAgLjczIDAgMS4wOS0uMDkgMS4zOGEyIDIgMCAwIDEtMS4zIDEuM2MtLjMuMS0uNjYuMS0xLjM4LjFjLS43MyAwLTEuMDkgMC0xLjM4LS4xYTIgMiAwIDAgMS0xLjMtMS4zYy0uMS0uMy0uMS0uNjUtLjEtMS4zOHYtLjJjMC0uOTMgMC0xLjQtLjE1LTEuNzVhMiAyIDAgMCAwLTEuMS0xLjFhNSA1IDAgMCAwLTEuNzQtLjE0aC0uODFjLS45MiAwLTEuMzggMC0xLjc0LjE0YTIgMiAwIDAgMC0xLjEgMS4xYy0uMTUuMzYtLjE1LjgyLS4xNSAxLjc0di4yM2MwIC43IDAgMS4wNi0uMDkgMS4zNWEyIDIgMCAwIDEtMS4zMiAxLjMyYy0uMjguMS0uNjQuMS0xLjM1LjFzLTEuMDcgMC0xLjM2LS4xYTIgMiAwIDAgMS0xLjMyLTEuMzJjLS4wOS0uMjktLjA5LS42NC0uMDktMS4zNXoiIG9wYWNpdHk9Ii4yIiAvPgoJCTxwYXRoIHN0cm9rZT0iIzA1MTc3OSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgZD0iTTEuODYgOS42MmMwIDEuMi41NCAyLjIyIDIuNzEgMi4yMmMyLjE4IDAgMy42Ni0yLjIyIDMuNjYtMi4yMnMxLjU1IDIuMjIgMy43MiAyLjIyYzIuMTggMCAzLjg1LTIuMjMgMy44NS0yLjIzczEuMzQgMi4yMyAzLjY1IDIuMjNjMS44IDAgMi42OS0xLjIgMi42OS0yLjJxMC0uMy0uMTUtLjk2Yy0uNTUtMi43LS44My00LjA1LTEuOTMtNC45NXMtMi42LS45LTUuNjItLjlIOS41Yy0yLjk3IDAtNC40NSAwLTUuNTYuOXMtMS4zNyAyLjItMS45MSA0LjgzcS0uMTYuNzEtLjE2IDEuMDZtMTkuMDQgMi4zMnYxLjUzYzAgMy43NyAwIDUuNjYtMS4xNyA2Ljgzcy0zLjA2IDEuMTctNi44MyAxLjE3aC0xLjg3Yy0zLjc3IDAtNS42NSAwLTYuODMtMS4xN3MtMS4xNy0zLjA2LTEuMTctNi44M3YtMS41MyIgLz4KCQk8cGF0aCBzdHJva2U9IiMwNTE3NzkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0xNS40NCAyMS4yMnYtMi4zYzAtMS4zNiAwLTIuMDQtLjMyLTIuNTRhMiAyIDAgMCAwLS42LS42Yy0uNDktLjMxLTEuMTctLjMxLTIuNTQtLjMxcy0yLjA1IDAtMi41NS4zMmEyIDIgMCAwIDAtLjYuNmMtLjMxLjQ5LS4zMSAxLjE3LS4zMSAyLjU0djIuMjkiIC8+Cgk8L2c+Cjwvc3ZnPgo=",vp={configurations:{alias:"OpensTec Store",general:{defaultBehavior:"active",languages:["pt-BR"],isClosable:!0},appearance:{theme:"light",primaryColor:"#fff"},anchor:{label:{"pt-BR":"Fale conosco","en-US":"Fale conosco","es-ES":"Fale conosco"},size:"medium",position:"bottom-right",offset:{x:16,y:16},logo:yp},voiceRemoteAddress:"snep1.test.opens.com.br",voiceCode:"7nSlDoMNwXHqV7Vq",voiceDevice:"cc342bf9-8e1a-4ddc-84e6-dc6f628ca5d8"}},bp={install:e=>{e.use(cp),e.component("AppIdentificationPage",Yo),e.component("AppFormTextInput",Wo),e.component("AppWidgetAnchor",Zo),e.component("AppArticlePage",Qo),e.component("AppServicePage",sr),e.component("AppScreenPage",dr),e.component("AppWidgetView",lr),e.component("AppTextInput",wa),e.component("AppCarousel",Bn),e.component("AppAudioPlayer",Bt),e.component("AppSkeleton",rr),e.component("AppTyping",ir),e.component("AppMessage",gt),e.component("AppWidget",$a),e.component("AppButton",U),e.component("AppEmpty",ar),e.component("AppGroup",O),e.component("AppEdge",et),e.component("AppIcon",S),e.component("AppText",D)}};exports.AppArticlePage=Qo;exports.AppAudioPlayer=Bt;exports.AppButton=U;exports.AppCarousel=Bn;exports.AppEdge=et;exports.AppEmpty=ar;exports.AppFormTextInput=Wo;exports.AppGroup=O;exports.AppIcon=S;exports.AppIdentificationPage=Yo;exports.AppMessage=gt;exports.AppScreenPage=dr;exports.AppServicePage=sr;exports.AppSkeleton=rr;exports.AppText=D;exports.AppTextInput=wa;exports.AppTyping=ir;exports.AppWidget=$a;exports.AppWidgetAnchor=Zo;exports.AppWidgetView=lr;exports.ServiceChatMessageBuilder=Go;exports.ServiceChatMessageVO=qe;exports.default=bp;exports.demoArticleRule=hp;exports.demoRootRule=wp;exports.demoWidgetConfig=vp;exports.demoWorkflow=Ua;exports.findDemoRuleById=$p;exports.resolveMessageFrom=Ln;exports.useAppWidget=we;exports.useChatService=ea;exports.useServicePage=ta;exports.useVoiceService=Ki;
|