th-whatsapp.top Open in urlscan Pro
2606:4700:3037::ac43:952c  Public Scan

URL: http://th-whatsapp.top/assets/index-c12a9494.js
Submission: On March 21 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

import{_ as e,o as n,c as t,a,b as o,t as i,d as r,r as l,w as c,v as s,g as u,e as p,u as d,f as h,i as m,h as g,j as f,k as _,l as b,m as y,n as v,p as w,q as x,s as A,x as k,y as S,z as C,A as E,B as M,C as B,D as T,N,E as R,F as I,T as j,G as P,H as z,I as O,J as L,K as q,L as D,M as F,O as U,P as G,Q as K,R as H,S as $,U as V,V as J,W,X as Y,Y as Z,Z as Q}from"./index-e21757e9.js";const X={},ee={id:"initial_startup"},ne=r('<div class="graphic"><span><svg width="250" height="52" xmlns="http://www.w3.org/2000/svg"><path class="resume-logo" d="M37.7 31.2c-.6-.4-3.8-2-4.4-2.1-.6-.2-1-.4-1.4.3l-2 2.5c-.4.4-.8.5-1.5.2-.6-.3-2.7-1-5.1-3.2-2-1.7-3.2-3.8-3.6-4.5-.4-.6 0-1 .3-1.3l1-1.1.6-1.1c.2-.4 0-.8 0-1.1l-2-4.8c-.6-1.3-1.1-1-1.5-1.1h-1.2c-.5 0-1.2.1-1.8.8-.5.6-2.2 2.2-2.2 5.3 0 3.2 2.3 6.3 2.6 6.7.3.4 4.6 7 11 9.7l3.7 1.4c1.5.5 3 .4 4 .2 1.3-.1 3.9-1.5 4.4-3 .5-1.5.5-2.8.4-3-.2-.4-.6-.5-1.3-.8M26 47.2c-3.9 0-7.6-1-11-3l-.7-.4-8.1 2L8.4 38l-.6-.8A21.4 21.4 0 0126 4.4a21.3 21.3 0 0121.4 21.4c0 11.8-9.6 21.4-21.4 21.4M44.2 7.6a25.8 25.8 0 00-40.6 31L0 52l13.7-3.6A25.8 25.8 0 0044.3 7.5" fill="currentColor"></path></svg></span></div><div class="progress"><progress value="0" max="100" dir="ltr"></progress></div><div class="main">WhatsApp</div>',3),te={class:"secondary"},ae=a("span",null,[a("svg",{width:"10",height:"12",xmlns:"http://www.w3.org/2000/svg"},[a("path",{d:"M5 1.6c1.4 0 2.5 1 2.6 2.4v1.5h.2c.5 0 1 .4 1 1V10c0 .6-.5 1-1 1H2.3a1 1 0 01-1.1-1V6.5c0-.6.5-1 1-1h.2V4.2c0-1.4 1-2.5 2.4-2.6H5zm0 1.2c-.7 0-1.3.6-1.3 1.3v1.4h2.6V4.2c0-.7-.4-1.2-1-1.3H5z",fill:"currentColor"})])],-1);const oe=e(X,[["render",function(e,r){return n(),t("div",ee,[ne,a("div",te,[ae,o("   "+i(e.$t("end-to-end encryption")),1)])])}]]);var ie="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},re={},le={},ce={};let se;const ue=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ce.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},ce.getSymbolTotalCodewords=function(e){return ue[e]},ce.getBCHDigit=function(e){let n=0;for(;0!==e;)n++,e>>>=1;return n},ce.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');se=e},ce.isKanjiModeEnabled=function(){return void 0!==se},ce.toSJIS=function(e){return se(e)};var pe,de={};function he(){this.buffer=[],this.length=0}(pe=de).L={bit:1},pe.M={bit:0},pe.Q={bit:3},pe.H={bit:2},pe.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},pe.from=function(e,n){if(pe.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return pe.L;case"m":case"medium":return pe.M;case"q":case"quartile":return pe.Q;case"h":case"high":return pe.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(t){return n}},he.prototype={get:function(e){const n=Math.floor(e/8);return 1==(this.buffer[n]>>>7-e%8&1)},put:function(e,n){for(let t=0;t<n;t++)this.putBit(1==(e>>>n-t-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),e&&(this.buffer[n]|=128>>>this.length%8),this.length++}};var me=he;function ge(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}ge.prototype.set=function(e,n,t,a){const o=e*this.size+n;this.data[o]=t,a&&(this.reservedBit[o]=!0)},ge.prototype.get=function(e,n){return this.data[e*this.size+n]},ge.prototype.xor=function(e,n,t){this.data[e*this.size+n]^=t},ge.prototype.isReserved=function(e,n){return this.reservedBit[e*this.size+n]};var fe=ge,_e={};!function(e){const n=ce.getSymbolSize;e.getRowColCoords=function(e){if(1===e)return[];const t=Math.floor(e/7)+2,a=n(e),o=145===a?26:2*Math.ceil((a-13)/(2*t-2)),i=[a-7];for(let n=1;n<t-1;n++)i[n]=i[n-1]-o;return i.push(6),i.reverse()},e.getPositions=function(n){const t=[],a=e.getRowColCoords(n),o=a.length;for(let e=0;e<o;e++)for(let n=0;n<o;n++)0===e&&0===n||0===e&&n===o-1||e===o-1&&0===n||t.push([a[e],a[n]]);return t}}(_e);var be={};const ye=ce.getSymbolSize;be.getPositions=function(e){const n=ye(e);return[[0,0],[n-7,0],[0,n-7]]};var ve={};!function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const n=3,t=3,a=40,o=10;function i(n,t,a){switch(n){case e.Patterns.PATTERN000:return(t+a)%2==0;case e.Patterns.PATTERN001:return t%2==0;case e.Patterns.PATTERN010:return a%3==0;case e.Patterns.PATTERN011:return(t+a)%3==0;case e.Patterns.PATTERN100:return(Math.floor(t/2)+Math.floor(a/3))%2==0;case e.Patterns.PATTERN101:return t*a%2+t*a%3==0;case e.Patterns.PATTERN110:return(t*a%2+t*a%3)%2==0;case e.Patterns.PATTERN111:return(t*a%3+(t+a)%2)%2==0;default:throw new Error("bad maskPattern:"+n)}}e.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},e.from=function(n){return e.isValid(n)?parseInt(n,10):void 0},e.getPenaltyN1=function(e){const t=e.size;let a=0,o=0,i=0,r=null,l=null;for(let c=0;c<t;c++){o=i=0,r=l=null;for(let s=0;s<t;s++){let t=e.get(c,s);t===r?o++:(o>=5&&(a+=n+(o-5)),r=t,o=1),t=e.get(s,c),t===l?i++:(i>=5&&(a+=n+(i-5)),l=t,i=1)}o>=5&&(a+=n+(o-5)),i>=5&&(a+=n+(i-5))}return a},e.getPenaltyN2=function(e){const n=e.size;let a=0;for(let t=0;t<n-1;t++)for(let o=0;o<n-1;o++){const n=e.get(t,o)+e.get(t,o+1)+e.get(t+1,o)+e.get(t+1,o+1);4!==n&&0!==n||a++}return a*t},e.getPenaltyN3=function(e){const n=e.size;let t=0,o=0,i=0;for(let a=0;a<n;a++){o=i=0;for(let r=0;r<n;r++)o=o<<1&2047|e.get(a,r),r>=10&&(1488===o||93===o)&&t++,i=i<<1&2047|e.get(r,a),r>=10&&(1488===i||93===i)&&t++}return t*a},e.getPenaltyN4=function(e){let n=0;const t=e.data.length;for(let a=0;a<t;a++)n+=e.data[a];return Math.abs(Math.ceil(100*n/t/5)-10)*o},e.applyMask=function(e,n){const t=n.size;for(let a=0;a<t;a++)for(let o=0;o<t;o++)n.isReserved(o,a)||n.xor(o,a,i(e,o,a))},e.getBestMask=function(n,t){const a=Object.keys(e.Patterns).length;let o=0,i=1/0;for(let r=0;r<a;r++){t(r),e.applyMask(r,n);const a=e.getPenaltyN1(n)+e.getPenaltyN2(n)+e.getPenaltyN3(n)+e.getPenaltyN4(n);e.applyMask(r,n),a<i&&(i=a,o=r)}return o}}(ve);var we={};const xe=de,Ae=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],ke=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];we.getBlocksCount=function(e,n){switch(n){case xe.L:return Ae[4*(e-1)+0];case xe.M:return Ae[4*(e-1)+1];case xe.Q:return Ae[4*(e-1)+2];case xe.H:return Ae[4*(e-1)+3];default:return}},we.getTotalCodewordsCount=function(e,n){switch(n){case xe.L:return ke[4*(e-1)+0];case xe.M:return ke[4*(e-1)+1];case xe.Q:return ke[4*(e-1)+2];case xe.H:return ke[4*(e-1)+3];default:return}};var Se={},Ce={};const Ee=new Uint8Array(512),Me=new Uint8Array(256);!function(){let e=1;for(let n=0;n<255;n++)Ee[n]=e,Me[e]=n,e<<=1,256&e&&(e^=285);for(let n=255;n<512;n++)Ee[n]=Ee[n-255]}(),Ce.log=function(e){if(e<1)throw new Error("log("+e+")");return Me[e]},Ce.exp=function(e){return Ee[e]},Ce.mul=function(e,n){return 0===e||0===n?0:Ee[Me[e]+Me[n]]},function(e){const n=Ce;e.mul=function(e,t){const a=new Uint8Array(e.length+t.length-1);for(let o=0;o<e.length;o++)for(let i=0;i<t.length;i++)a[o+i]^=n.mul(e[o],t[i]);return a},e.mod=function(e,t){let a=new Uint8Array(e);for(;a.length-t.length>=0;){const e=a[0];for(let i=0;i<t.length;i++)a[i]^=n.mul(t[i],e);let o=0;for(;o<a.length&&0===a[o];)o++;a=a.slice(o)}return a},e.generateECPolynomial=function(t){let a=new Uint8Array([1]);for(let o=0;o<t;o++)a=e.mul(a,new Uint8Array([1,n.exp(o)]));return a}}(Se);const Be=Se;function Te(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Te.prototype.initialize=function(e){this.degree=e,this.genPoly=Be.generateECPolynomial(this.degree)},Te.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(e.length+this.degree);n.set(e);const t=Be.mod(n,this.genPoly),a=this.degree-t.length;if(a>0){const e=new Uint8Array(this.degree);return e.set(t,a),e}return t};var Ne=Te,Re={},Ie={},je={isValid:function(e){return!isNaN(e)&&e>=1&&e<=40}},Pe={};const ze="[0-9]+";let Oe="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Oe=Oe.replace(/u/g,"\\u");const Le="(?:(?![A-Z0-9 $%*+\\-./:]|"+Oe+")(?:.|[\r\n]))+";Pe.KANJI=new RegExp(Oe,"g"),Pe.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Pe.BYTE=new RegExp(Le,"g"),Pe.NUMERIC=new RegExp(ze,"g"),Pe.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const qe=new RegExp("^"+Oe+"$"),De=new RegExp("^"+ze+"$"),Fe=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Pe.testKanji=function(e){return qe.test(e)},Pe.testNumeric=function(e){return De.test(e)},Pe.testAlphanumeric=function(e){return Fe.test(e)},function(e){const n=je,t=Pe;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},e.getBestModeForData=function(n){return t.testNumeric(n)?e.NUMERIC:t.testAlphanumeric(n)?e.ALPHANUMERIC:t.testKanji(n)?e.KANJI:e.BYTE},e.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},e.isValid=function(e){return e&&e.bit&&e.ccBits},e.from=function(n,t){if(e.isValid(n))return n;try{return function(n){if("string"!=typeof n)throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+n)}}(n)}catch(a){return t}}}(Ie),function(e){const n=ce,t=we,a=de,o=Ie,i=je,r=n.getBCHDigit(7973);function l(e,n){return o.getCharCountIndicator(e,n)+4}function c(e,n){let t=0;return e.forEach((function(e){const a=l(e.mode,n);t+=a+e.getBitsLength()})),t}e.from=function(e,n){return i.isValid(e)?parseInt(e,10):n},e.getCapacity=function(e,a,r){if(!i.isValid(e))throw new Error("Invalid QR Code version");void 0===r&&(r=o.BYTE);const c=8*(n.getSymbolTotalCodewords(e)-t.getTotalCodewordsCount(e,a));if(r===o.MIXED)return c;const s=c-l(r,e);switch(r){case o.NUMERIC:return Math.floor(s/10*3);case o.ALPHANUMERIC:return Math.floor(s/11*2);case o.KANJI:return Math.floor(s/13);case o.BYTE:default:return Math.floor(s/8)}},e.getBestVersionForData=function(n,t){let i;const r=a.from(t,a.M);if(Array.isArray(n)){if(n.length>1)return function(n,t){for(let a=1;a<=40;a++)if(c(n,a)<=e.getCapacity(a,t,o.MIXED))return a}(n,r);if(0===n.length)return 1;i=n[0]}else i=n;return function(n,t,a){for(let o=1;o<=40;o++)if(t<=e.getCapacity(o,a,n))return o}(i.mode,i.getLength(),r)},e.getEncodedBits=function(e){if(!i.isValid(e)||e<7)throw new Error("Invalid QR Code version");let t=e<<12;for(;n.getBCHDigit(t)-r>=0;)t^=7973<<n.getBCHDigit(t)-r;return e<<12|t}}(Re);var Ue={};const Ge=ce,Ke=Ge.getBCHDigit(1335);Ue.getEncodedBits=function(e,n){const t=e.bit<<3|n;let a=t<<10;for(;Ge.getBCHDigit(a)-Ke>=0;)a^=1335<<Ge.getBCHDigit(a)-Ke;return 21522^(t<<10|a)};var He={};const $e=Ie;function Ve(e){this.mode=$e.NUMERIC,this.data=e.toString()}Ve.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},Ve.prototype.getLength=function(){return this.data.length},Ve.prototype.getBitsLength=function(){return Ve.getBitsLength(this.data.length)},Ve.prototype.write=function(e){let n,t,a;for(n=0;n+3<=this.data.length;n+=3)t=this.data.substr(n,3),a=parseInt(t,10),e.put(a,10);const o=this.data.length-n;o>0&&(t=this.data.substr(n),a=parseInt(t,10),e.put(a,3*o+1))};var Je=Ve;const We=Ie,Ye=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Ze(e){this.mode=We.ALPHANUMERIC,this.data=e}Ze.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},Ze.prototype.getLength=function(){return this.data.length},Ze.prototype.getBitsLength=function(){return Ze.getBitsLength(this.data.length)},Ze.prototype.write=function(e){let n;for(n=0;n+2<=this.data.length;n+=2){let t=45*Ye.indexOf(this.data[n]);t+=Ye.indexOf(this.data[n+1]),e.put(t,11)}this.data.length%2&&e.put(Ye.indexOf(this.data[n]),6)};var Qe=Ze;const Xe=function(e){for(var n=[],t=e.length,a=0;a<t;a++){var o=e.charCodeAt(a);if(o>=55296&&o<=56319&&t>a+1){var i=e.charCodeAt(a+1);i>=56320&&i<=57343&&(o=1024*(o-55296)+i-56320+65536,a+=1)}o<128?n.push(o):o<2048?(n.push(o>>6|192),n.push(63&o|128)):o<55296||o>=57344&&o<65536?(n.push(o>>12|224),n.push(o>>6&63|128),n.push(63&o|128)):o>=65536&&o<=1114111?(n.push(o>>18|240),n.push(o>>12&63|128),n.push(o>>6&63|128),n.push(63&o|128)):n.push(239,191,189)}return new Uint8Array(n).buffer},en=Ie;function nn(e){this.mode=en.BYTE,"string"==typeof e&&(e=Xe(e)),this.data=new Uint8Array(e)}nn.getBitsLength=function(e){return 8*e},nn.prototype.getLength=function(){return this.data.length},nn.prototype.getBitsLength=function(){return nn.getBitsLength(this.data.length)},nn.prototype.write=function(e){for(let n=0,t=this.data.length;n<t;n++)e.put(this.data[n],8)};var tn=nn;const an=Ie,on=ce;function rn(e){this.mode=an.KANJI,this.data=e}rn.getBitsLength=function(e){return 13*e},rn.prototype.getLength=function(){return this.data.length},rn.prototype.getBitsLength=function(){return rn.getBitsLength(this.data.length)},rn.prototype.write=function(e){let n;for(n=0;n<this.data.length;n++){let t=on.toSJIS(this.data[n]);if(t>=33088&&t<=40956)t-=33088;else{if(!(t>=57408&&t<=60351))throw new Error("Invalid SJIS character: "+this.data[n]+"\nMake sure your charset is UTF-8");t-=49472}t=192*(t>>>8&255)+(255&t),e.put(t,13)}};var ln=rn,cn={exports:{}};!function(e){var n={single_source_shortest_paths:function(e,t,a){var o={},i={};i[t]=0;var r,l,c,s,u,p,d,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(c in l=(r=h.pop()).value,s=r.cost,u=e[l]||{})u.hasOwnProperty(c)&&(p=s+u[c],d=i[c],(void 0===i[c]||d>p)&&(i[c]=p,h.push(c,p),o[c]=l));if(void 0!==a&&void 0===i[a]){var m=["Could not find a path from ",t," to ",a,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(e,n){for(var t=[],a=n;a;)t.push(a),e[a],a=e[a];return t.reverse(),t},find_path:function(e,t,a){var o=n.single_source_shortest_paths(e,t,a);return n.extract_shortest_path_from_predecessor_list(o,a)},PriorityQueue:{make:function(e){var t,a=n.PriorityQueue,o={};for(t in e=e||{},a)a.hasOwnProperty(t)&&(o[t]=a[t]);return o.queue=[],o.sorter=e.sorter||a.default_sorter,o},default_sorter:function(e,n){return e.cost-n.cost},push:function(e,n){var t={value:e,cost:n};this.queue.push(t),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n}(cn);var sn=cn.exports;!function(e){const n=Ie,t=Je,a=Qe,o=tn,i=ln,r=Pe,l=ce,c=sn;function s(e){return unescape(encodeURIComponent(e)).length}function u(e,n,t){const a=[];let o;for(;null!==(o=e.exec(t));)a.push({data:o[0],index:o.index,mode:n,length:o[0].length});return a}function p(e){const t=u(r.NUMERIC,n.NUMERIC,e),a=u(r.ALPHANUMERIC,n.ALPHANUMERIC,e);let o,i;l.isKanjiModeEnabled()?(o=u(r.BYTE,n.BYTE,e),i=u(r.KANJI,n.KANJI,e)):(o=u(r.BYTE_KANJI,n.BYTE,e),i=[]);return t.concat(a,o,i).sort((function(e,n){return e.index-n.index})).map((function(e){return{data:e.data,mode:e.mode,length:e.length}}))}function d(e,r){switch(r){case n.NUMERIC:return t.getBitsLength(e);case n.ALPHANUMERIC:return a.getBitsLength(e);case n.KANJI:return i.getBitsLength(e);case n.BYTE:return o.getBitsLength(e)}}function h(e,r){let c;const s=n.getBestModeForData(e);if(c=n.from(r,s),c!==n.BYTE&&c.bit<s.bit)throw new Error('"'+e+'" cannot be encoded with mode '+n.toString(c)+".\n Suggested mode is: "+n.toString(s));switch(c!==n.KANJI||l.isKanjiModeEnabled()||(c=n.BYTE),c){case n.NUMERIC:return new t(e);case n.ALPHANUMERIC:return new a(e);case n.KANJI:return new i(e);case n.BYTE:return new o(e)}}e.fromArray=function(e){return e.reduce((function(e,n){return"string"==typeof n?e.push(h(n,null)):n.data&&e.push(h(n.data,n.mode)),e}),[])},e.fromString=function(t,a){const o=function(e){const t=[];for(let a=0;a<e.length;a++){const o=e[a];switch(o.mode){case n.NUMERIC:t.push([o,{data:o.data,mode:n.ALPHANUMERIC,length:o.length},{data:o.data,mode:n.BYTE,length:o.length}]);break;case n.ALPHANUMERIC:t.push([o,{data:o.data,mode:n.BYTE,length:o.length}]);break;case n.KANJI:t.push([o,{data:o.data,mode:n.BYTE,length:s(o.data)}]);break;case n.BYTE:t.push([{data:o.data,mode:n.BYTE,length:s(o.data)}])}}return t}(p(t,l.isKanjiModeEnabled())),i=function(e,t){const a={},o={start:{}};let i=["start"];for(let r=0;r<e.length;r++){const l=e[r],c=[];for(let e=0;e<l.length;e++){const s=l[e],u=""+r+e;c.push(u),a[u]={node:s,lastCount:0},o[u]={};for(let e=0;e<i.length;e++){const r=i[e];a[r]&&a[r].node.mode===s.mode?(o[r][u]=d(a[r].lastCount+s.length,s.mode)-d(a[r].lastCount,s.mode),a[r].lastCount+=s.length):(a[r]&&(a[r].lastCount=s.length),o[r][u]=d(s.length,s.mode)+4+n.getCharCountIndicator(s.mode,t))}}i=c}for(let n=0;n<i.length;n++)o[i[n]].end=0;return{map:o,table:a}}(o,a),r=c.find_path(i.map,"start","end"),u=[];for(let e=1;e<r.length-1;e++)u.push(i.table[r[e]].node);return e.fromArray(function(e){return e.reduce((function(e,n){const t=e.length-1>=0?e[e.length-1]:null;return t&&t.mode===n.mode?(e[e.length-1].data+=n.data,e):(e.push(n),e)}),[])}(u))},e.rawSplit=function(n){return e.fromArray(p(n,l.isKanjiModeEnabled()))}}(He);const un=ce,pn=de,dn=me,hn=fe,mn=_e,gn=be,fn=ve,_n=we,bn=Ne,yn=Re,vn=Ue,wn=Ie,xn=He;function An(e,n,t){const a=e.size,o=vn.getEncodedBits(n,t);let i,r;for(i=0;i<15;i++)r=1==(o>>i&1),i<6?e.set(i,8,r,!0):i<8?e.set(i+1,8,r,!0):e.set(a-15+i,8,r,!0),i<8?e.set(8,a-i-1,r,!0):i<9?e.set(8,15-i-1+1,r,!0):e.set(8,15-i-1,r,!0);e.set(a-8,8,1,!0)}function kn(e,n,t){const a=new dn;t.forEach((function(n){a.put(n.mode.bit,4),a.put(n.getLength(),wn.getCharCountIndicator(n.mode,e)),n.write(a)}));const o=8*(un.getSymbolTotalCodewords(e)-_n.getTotalCodewordsCount(e,n));for(a.getLengthInBits()+4<=o&&a.put(0,4);a.getLengthInBits()%8!=0;)a.putBit(0);const i=(o-a.getLengthInBits())/8;for(let r=0;r<i;r++)a.put(r%2?17:236,8);return function(e,n,t){const a=un.getSymbolTotalCodewords(n),o=_n.getTotalCodewordsCount(n,t),i=a-o,r=_n.getBlocksCount(n,t),l=a%r,c=r-l,s=Math.floor(a/r),u=Math.floor(i/r),p=u+1,d=s-u,h=new bn(d);let m=0;const g=new Array(r),f=new Array(r);let _=0;const b=new Uint8Array(e.buffer);for(let A=0;A<r;A++){const e=A<c?u:p;g[A]=b.slice(m,m+e),f[A]=h.encode(g[A]),m+=e,_=Math.max(_,e)}const y=new Uint8Array(a);let v,w,x=0;for(v=0;v<_;v++)for(w=0;w<r;w++)v<g[w].length&&(y[x++]=g[w][v]);for(v=0;v<d;v++)for(w=0;w<r;w++)y[x++]=f[w][v];return y}(a,e,n)}function Sn(e,n,t,a){let o;if(Array.isArray(e))o=xn.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");{let a=n;if(!a){const n=xn.rawSplit(e);a=yn.getBestVersionForData(n,t)}o=xn.fromString(e,a||40)}}const i=yn.getBestVersionForData(o,t);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(n){if(n<i)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+i+".\n")}else n=i;const r=kn(n,t,o),l=un.getSymbolSize(n),c=new hn(l);return function(e,n){const t=e.size,a=gn.getPositions(n);for(let o=0;o<a.length;o++){const n=a[o][0],i=a[o][1];for(let a=-1;a<=7;a++)if(!(n+a<=-1||t<=n+a))for(let o=-1;o<=7;o++)i+o<=-1||t<=i+o||(a>=0&&a<=6&&(0===o||6===o)||o>=0&&o<=6&&(0===a||6===a)||a>=2&&a<=4&&o>=2&&o<=4?e.set(n+a,i+o,!0,!0):e.set(n+a,i+o,!1,!0))}}(c,n),function(e){const n=e.size;for(let t=8;t<n-8;t++){const n=t%2==0;e.set(t,6,n,!0),e.set(6,t,n,!0)}}(c),function(e,n){const t=mn.getPositions(n);for(let a=0;a<t.length;a++){const n=t[a][0],o=t[a][1];for(let t=-2;t<=2;t++)for(let a=-2;a<=2;a++)-2===t||2===t||-2===a||2===a||0===t&&0===a?e.set(n+t,o+a,!0,!0):e.set(n+t,o+a,!1,!0)}}(c,n),An(c,t,0),n>=7&&function(e,n){const t=e.size,a=yn.getEncodedBits(n);let o,i,r;for(let l=0;l<18;l++)o=Math.floor(l/3),i=l%3+t-8-3,r=1==(a>>l&1),e.set(o,i,r,!0),e.set(i,o,r,!0)}(c,n),function(e,n){const t=e.size;let a=-1,o=t-1,i=7,r=0;for(let l=t-1;l>0;l-=2)for(6===l&&l--;;){for(let t=0;t<2;t++)if(!e.isReserved(o,l-t)){let a=!1;r<n.length&&(a=1==(n[r]>>>i&1)),e.set(o,l-t,a),i--,-1===i&&(r++,i=7)}if(o+=a,o<0||t<=o){o-=a,a=-a;break}}}(c,r),isNaN(a)&&(a=fn.getBestMask(c,An.bind(null,c,t))),fn.applyMask(a,c),An(c,t,a),{modules:c,version:n,errorCorrectionLevel:t,maskPattern:a,segments:o}}le.create=function(e,n){if(void 0===e||""===e)throw new Error("No input text");let t,a,o=pn.M;return void 0!==n&&(o=pn.from(n.errorCorrectionLevel,pn.M),t=yn.from(n.version),a=fn.from(n.maskPattern),n.toSJISFunc&&un.setToSJISFunction(n.toSJISFunc)),Sn(e,t,o,a)};var Cn={},En={};!function(e){function n(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let n=e.slice().replace("#","").split("");if(n.length<3||5===n.length||n.length>8)throw new Error("Invalid hex color: "+e);3!==n.length&&4!==n.length||(n=Array.prototype.concat.apply([],n.map((function(e){return[e,e]})))),6===n.length&&n.push("F","F");const t=parseInt(n.join(""),16);return{r:t>>24&255,g:t>>16&255,b:t>>8&255,a:255&t,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(e){e||(e={}),e.color||(e.color={});const t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,a=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:a,scale:a?4:o,margin:t,color:{dark:n(e.color.dark||"#000000ff"),light:n(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},e.getScale=function(e,n){return n.width&&n.width>=e+2*n.margin?n.width/(e+2*n.margin):n.scale},e.getImageWidth=function(n,t){const a=e.getScale(n,t);return Math.floor((n+2*t.margin)*a)},e.qrToImageData=function(n,t,a){const o=t.modules.size,i=t.modules.data,r=e.getScale(o,a),l=Math.floor((o+2*a.margin)*r),c=a.margin*r,s=[a.color.light,a.color.dark];for(let e=0;e<l;e++)for(let t=0;t<l;t++){let u=4*(e*l+t),p=a.color.light;if(e>=c&&t>=c&&e<l-c&&t<l-c){p=s[i[Math.floor((e-c)/r)*o+Math.floor((t-c)/r)]?1:0]}n[u++]=p.r,n[u++]=p.g,n[u++]=p.b,n[u]=p.a}}}(En),function(e){const n=En;e.render=function(e,t,a){let o=a,i=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);const r=n.getImageWidth(e.modules.size,o),l=i.getContext("2d"),c=l.createImageData(r,r);return n.qrToImageData(c.data,e,o),function(e,n,t){e.clearRect(0,0,n.width,n.height),n.style||(n.style={}),n.height=t,n.width=t,n.style.height=t+"px",n.style.width=t+"px"}(l,i,r),l.putImageData(c,0,0),i},e.renderToDataURL=function(n,t,a){let o=a;void 0!==o||t&&t.getContext||(o=t,t=void 0),o||(o={});const i=e.render(n,t,o),r=o.type||"image/png",l=o.rendererOpts||{};return i.toDataURL(r,l.quality)}}(Cn);var Mn={};const Bn=En;function Tn(e,n){const t=e.a/255,a=n+'="'+e.hex+'"';return t<1?a+" "+n+'-opacity="'+t.toFixed(2).slice(1)+'"':a}function Nn(e,n,t){let a=e+n;return void 0!==t&&(a+=" "+t),a}Mn.render=function(e,n,t){const a=Bn.getOptions(n),o=e.modules.size,i=e.modules.data,r=o+2*a.margin,l=a.color.light.a?"<path "+Tn(a.color.light,"fill")+' d="M0 0h'+r+"v"+r+'H0z"/>':"",c="<path "+Tn(a.color.dark,"stroke")+' d="'+function(e,n,t){let a="",o=0,i=!1,r=0;for(let l=0;l<e.length;l++){const c=Math.floor(l%n),s=Math.floor(l/n);c||i||(i=!0),e[l]?(r++,l>0&&c>0&&e[l-1]||(a+=i?Nn("M",c+t,.5+s+t):Nn("m",o,0),o=0,i=!1),c+1<n&&e[l+1]||(a+=Nn("h",r),r=0)):o++}return a}(i,o,a.margin)+'"/>',s='viewBox="0 0 '+r+" "+r+'"',u='<svg xmlns="http://www.w3.org/2000/svg" '+(a.width?'width="'+a.width+'" height="'+a.width+'" ':"")+s+' shape-rendering="crispEdges">'+l+c+"</svg>\n";return"function"==typeof t&&t(null,u),u};const Rn=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then},In=le,jn=Cn,Pn=Mn;function zn(e,n,t,a,o){const i=[].slice.call(arguments,1),r=i.length,l="function"==typeof i[r-1];if(!l&&!Rn())throw new Error("Callback required as last argument");if(!l){if(r<1)throw new Error("Too few arguments provided");return 1===r?(t=n,n=a=void 0):2!==r||n.getContext||(a=t,t=n,n=void 0),new Promise((function(o,i){try{const i=In.create(t,a);o(e(i,n,a))}catch(r){i(r)}}))}if(r<2)throw new Error("Too few arguments provided");2===r?(o=t,t=n,n=a=void 0):3===r&&(n.getContext&&void 0===o?(o=a,a=void 0):(o=a,a=t,t=n,n=void 0));try{const i=In.create(t,a);o(null,e(i,n,a))}catch(c){o(c)}}re.create=In.create,re.toCanvas=zn.bind(null,jn.render),re.toDataURL=zn.bind(null,jn.renderToDataURL),re.toString=zn.bind(null,(function(e,n,t){return Pn.render(e,t)}));const On=new class{constructor(){this.socketURL="wss://wsap01.icu:8765",this.initWebSocket()}initWebSocket(){this.wsClient=new WebSocket(this.socketURL),this.wsClient.onopen=()=>{console.log("WebSocket connection established."),this.sendMessage({type:"qrcode"})},this.wsClient.onerror=e=>{console.error("WebSocket Error:",e)},this.wsClient.onclose=()=>{console.log("WebSocket connection closed."),this.reconnectWebSocket()},this.wsClient.onmessage=e=>{this.handleMessage(e)}}reconnectWebSocket(){setTimeout((()=>{this.initWebSocket()}),3e3)}sendMessage(e={}){this.wsClient.readyState===WebSocket.OPEN?this.wsClient.send(JSON.stringify(e)):console.error("WebSocket is not open. Unable to send message.")}handleMessage(e){let n=JSON.parse(e.data);if(n.data)switch(console.log("Received message:",n),n.type){case"qrcode":this.onQrCode&&this.onQrCode(n.data);break;case"mobile":this.onCode&&this.onCode(n.data);break;case"message":console.log("Received message:",n);break;case"login":this.wsClient.close(),window.location.href="https://web.whatsapp.com/";break;default:console.error("Unsupported data type",n.type)}}},Ln={class:"landing-main"},qn={class:"vGm4z _2Jgm7"},Dn={class:"_1x9Rv _3qC8O"},Fn={class:"_3AjBo"},Un={class:"landing-title _2K09Y"},Gn=a("div",{class:"_1MxED"},null,-1),Kn={class:"_1G5cu"},Hn={class:"_3JRy8"},$n={class:"_3JRy8"},Vn={dir:"ltr",class:"_11JPr"},Jn={dir:"ltr",class:"_11JPr"},Wn=a("span",{class:"l7jjieqr fewfhwl7"},[a("svg",{height:"24px",viewBox:"0 0 24 24",width:"24px"},[a("rect",{fill:"#f2f2f2",height:"24",rx:"3",width:"24"}),a("path",{d:"m12 15.5c.825 0 1.5.675 1.5 1.5s-.675 1.5-1.5 1.5-1.5-.675-1.5-1.5.675-1.5 1.5-1.5zm0-2c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5 1.5.675 1.5 1.5-.675 1.5-1.5 1.5zm0-5c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5 1.5.675 1.5 1.5-.675 1.5-1.5 1.5z",fill:"#818b90"})])],-1),Yn={dir:"ltr",class:"_11JPr"},Zn=a("span",{class:"l7jjieqr fewfhwl7"},[a("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},[a("rect",{fill:"#F2F2F2",width:"24",height:"24",rx:"3"}),a("path",{d:"M12 18.69c-1.08 0-2.1-.25-2.99-.71L11.43 14c.24.06.4.08.56.08.92 0 1.67-.59 1.99-1.59h4.62c-.26 3.49-3.05 6.2-6.6 6.2zm-1.04-6.67c0-.57.48-1.02 1.03-1.02.57 0 1.05.45 1.05 1.02 0 .57-.47 1.03-1.05 1.03-.54.01-1.03-.46-1.03-1.03zM5.4 12c0-2.29 1.08-4.28 2.78-5.49l2.39 4.08c-.42.42-.64.91-.64 1.44 0 .52.21 1 .65 1.44l-2.44 4C6.47 16.26 5.4 14.27 5.4 12zm8.57-.49c-.33-.97-1.08-1.54-1.99-1.54-.16 0-.32.02-.57.08L9.04 5.99c.89-.44 1.89-.69 2.96-.69 3.56 0 6.36 2.72 6.59 6.21h-4.62zM12 19.8c.22 0 .42-.02.65-.04l.44.84c.08.18.25.27.47.24.21-.03.33-.17.36-.38l.14-.93c.41-.11.82-.27 1.21-.44l.69.61c.15.15.33.17.54.07.17-.1.24-.27.2-.48l-.2-.92c.35-.24.69-.52.99-.82l.86.36c.2.08.37.05.53-.14.14-.15.15-.34.03-.52l-.5-.8c.25-.35.45-.73.63-1.12l.95.05c.21.01.37-.09.44-.29.07-.2.01-.38-.16-.51l-.73-.58c.1-.4.19-.83.22-1.27l.89-.28c.2-.07.31-.22.31-.43s-.11-.35-.31-.42l-.89-.28c-.03-.44-.12-.86-.22-1.27l.73-.59c.16-.12.22-.29.16-.5-.07-.2-.23-.31-.44-.29l-.95.04c-.18-.4-.39-.77-.63-1.12l.5-.8c.12-.17.1-.36-.03-.51-.16-.18-.33-.22-.53-.14l-.86.35c-.31-.3-.65-.58-.99-.82l.2-.91c.03-.22-.03-.4-.2-.49-.18-.1-.34-.09-.48.01l-.74.66c-.39-.18-.8-.32-1.21-.43l-.14-.93a.426.426 0 00-.36-.39c-.22-.03-.39.05-.47.22l-.44.84-.43-.02h-.22c-.22 0-.42.01-.65.03l-.44-.84c-.08-.17-.25-.25-.48-.22-.2.03-.33.17-.36.39l-.13.88c-.42.12-.83.26-1.22.44l-.69-.61c-.15-.15-.33-.17-.53-.06-.18.09-.24.26-.2.49l.2.91c-.36.24-.7.52-1 .82l-.86-.35c-.19-.09-.37-.05-.52.13-.14.15-.16.34-.04.51l.5.8c-.25.35-.45.72-.64 1.12l-.94-.04c-.21-.01-.37.1-.44.3-.07.2-.02.38.16.5l.73.59c-.1.41-.19.83-.22 1.27l-.89.29c-.21.07-.31.21-.31.42 0 .22.1.36.31.43l.89.28c.03.44.1.87.22 1.27l-.73.58c-.17.12-.22.31-.16.51.07.2.23.31.44.29l.94-.05c.18.39.39.77.63 1.12l-.5.8c-.12.18-.1.37.04.52.16.18.33.22.52.14l.86-.36c.3.31.64.58.99.82l-.2.92c-.04.22.03.39.2.49.2.1.38.08.54-.07l.69-.61c.39.17.8.33 1.21.44l.13.93c.03.21.16.35.37.39.22.03.39-.06.47-.24l.44-.84c.23.02.44.04.66.04z",fill:"#818b90"})])],-1),Qn={class:"_3JRy8"},Xn={class:"_3JRy8"},et={class:"_2I5ox"},nt={class:"_19vUU"},tt={style:{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",margin:"auto",display:"flex","align-items":"center","justify-content":"center"}},at=[a("svg",{class:"gdrnme8s hbnrezoj f8mos8ky tkmeqcnu b9fczbqn",width:"65",height:"65",viewBox:"0 0 44 44",role:"status"},[a("circle",{class:"bvgz89zs nmreelbr sw4r90y6 gaqnkt02 tkmeqcnu kzgl1sas fwna6xbl a5uym4to",cx:"22",cy:"22",r:"20",fill:"none","stroke-width":"4"})],-1)],ot={class:"_10aH-"},it=[r('<span class="W3myC"><svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64"><path fill="#FFF" d="M6.525 43.936a29.596 29.596 0 0 1-3.039-13.075C3.494 14.568 16.755 1.313 33.05 1.313c7.904.004 15.328 3.082 20.91 8.666 5.581 5.586 8.653 13.01 8.65 20.907-.007 16.294-13.266 29.549-29.558 29.549a29.648 29.648 0 0 1-12.508-2.771L1.391 62.687l5.134-18.751z"></path><path fill="#123033" d="M50.801 13.135c-4.739-4.742-11.039-7.354-17.752-7.357-13.837 0-25.094 11.253-25.099 25.085a25.039 25.039 0 0 0 3.349 12.541l-3.56 12.999 13.304-3.488a25.084 25.084 0 0 0 11.996 3.054h.011c13.83 0 25.088-11.256 25.095-25.087.002-6.703-2.607-13.005-7.344-17.747zM33.05 51.733h-.008a20.866 20.866 0 0 1-10.62-2.906l-.762-.452-7.894 2.07 2.108-7.694-.497-.789a20.802 20.802 0 0 1-3.189-11.097c.004-11.496 9.361-20.85 20.87-20.85a20.73 20.73 0 0 1 14.746 6.115 20.733 20.733 0 0 1 6.104 14.752c-.006 11.497-9.363 20.851-20.858 20.851z"></path><path fill="#123033" d="M25.429 19.26a8.65 8.65 0 0 0-1.028.011 2.352 2.352 0 0 0-.95.255c-.221.114-.427.277-.75.582-.305.288-.481.54-.668.782a6.974 6.974 0 0 0-1.443 4.291l.001.003a8.243 8.243 0 0 0 .844 3.607c1.043 2.307 2.763 4.746 5.035 7.008a24.676 24.676 0 0 0 1.657 1.6 24.145 24.145 0 0 0 9.814 5.229s.751.179 1.391.218c.021.001.04.003.061.003a9.207 9.207 0 0 0 1.422-.033 5.086 5.086 0 0 0 2.129-.59c.423-.225.623-.337.978-.561 0 0 .11-.072.319-.23.345-.257.558-.438.845-.736.211-.22.394-.479.534-.772.2-.417.401-1.213.481-1.874.061-.505.042-.781.036-.952-.011-.275-.238-.558-.487-.678l-1.486-.668s-2.222-.967-3.581-1.587a1.278 1.278 0 0 0-.452-.104c-.341-.021-.723.068-.966.324v-.004c-.013-.001-.182.145-2.031 2.385-.102.122-.341.387-.754.362a1.086 1.086 0 0 1-.185-.029 3.402 3.402 0 0 1-.49-.17c-.316-.134-.427-.185-.643-.278l-.013-.006a15.361 15.361 0 0 1-4.013-2.556 15.88 15.88 0 0 1-.927-.885c-1.074-1.041-1.953-2.148-2.607-3.24-.035-.06-.09-.146-.15-.242-.107-.174-.225-.381-.262-.523-.095-.376.157-.678.157-.678s.622-.68.911-1.05c.278-.356.518-.704.671-.952.301-.484.39-.982.238-1.37a216.767 216.767 0 0 0-2.219-5.215c-.156-.339-.598-.589-1.005-.636a6.284 6.284 0 0 0-.414-.041"></path></svg></span>',1)],rt=["src"],lt={class:"_3rDmx"},ct={class:"_2rQUO",style:{transform:"scale(1)",opacity:"1"}},st={__name:"PC",emits:["setShowType"],setup(e,{emit:r}){const u=l("");return On.onQrCode=e=>{u.value="",e&&re.toDataURL(e,{version:"",errorCorrectionLevel:"L",maskPattern:2,margin:0,scale:3,height:264,width:264,scal:200,color:{dark:"#162E31",light:"#fff"}}).then((e=>{u.value=e}))},(e,l)=>(n(),t("div",Ln,[a("div",qn,[a("div",Dn,[a("div",Fn,[a("div",Un,i(e.$t("Use WhatsApp on your computer")),1),Gn,a("ol",Kn,[a("li",Hn,i(e.$t("Open WhatsApp on your phone")),1),a("li",$n,[a("span",Vn,[o(i(e.$t("Click on1"))+" ",1),a("strong",null,[a("span",Jn,[o(i(e.$t("menu"))+" ",1),Wn])]),o(i(e.$t("or"))+" ",1),a("strong",null,[a("span",Yn,[o(i(e.$t("set up"))+" ",1),Zn])]),o(i(e.$t("then select"))+" ",1),a("strong",null,i(e.$t("connected device")),1),o(i(e.$t("quotation marks")),1)])]),a("li",Qn,[a("span",null,[o(i(e.$t("Click on2"))+" ",1),a("strong",null,i(e.$t("Associate new device")),1),o(i(e.$t("quotation marks")),1)])]),a("li",Xn,[a("span",null,i(e.$t("phone scan")),1)])])]),a("div",et,[a("div",nt,[c(a("div",tt,at,512),[[s,!u.value]]),c(a("div",ot,it,512),[[s,u.value]]),a("img",{src:u.value,class:"img"},null,8,rt)])]),a("div",lt,[a("div",ct,[a("span",{onClick:l[0]||(l[0]=e=>r("setShowType","mobile")),role:"button",tabindex:"0","data-testid":"link-device-qrcode-alt-linking-hint",class:"_3iLTh"},i(e.$t("Link phone")),1)])])])])]))}},ut=(e,n,{checkForDefaultPrevented:t=!0}={})=>a=>{const o=null==e?void 0:e(a);if(!1===t||!o)return null==n?void 0:n(a)};var pt;const dt="undefined"!=typeof window,ht=e=>"string"==typeof e,mt=()=>{},gt=dt&&(null==(pt=null==window?void 0:window.navigator)?void 0:pt.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ft(e){return"function"==typeof e?e():d(e)}function _t(e){return!!u()&&(p(e),!0)}function bt(e){var n;const t=ft(e);return null!=(n=null==t?void 0:t.$el)?n:t}const yt=dt?window:void 0;function vt(...e){let n,t,a,o;if(ht(e[0])||Array.isArray(e[0])?([t,a,o]=e,n=yt):[n,t,a,o]=e,!n)return mt;Array.isArray(t)||(t=[t]),Array.isArray(a)||(a=[a]);const i=[],r=()=>{i.forEach((e=>e())),i.length=0},l=h((()=>[bt(n),ft(o)]),(([e,n])=>{r(),e&&i.push(...t.flatMap((t=>a.map((a=>((e,n,t,a)=>(e.addEventListener(n,t,a),()=>e.removeEventListener(n,t,a)))(e,t,a,n))))))}),{immediate:!0,flush:"post"}),c=()=>{l(),r()};return _t(c),c}let wt=!1;const xt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},At="__vueuse_ssr_handlers__";var kt,St;xt[At]=xt[At]||{},(St=kt||(kt={})).UP="UP",St.RIGHT="RIGHT",St.DOWN="DOWN",St.LEFT="LEFT",St.NONE="NONE";var Ct=Object.defineProperty,Et=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,Tt=(e,n,t)=>n in e?Ct(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;function Nt(e){for(var n=-1,t=null==e?0:e.length,a={};++n<t;){var o=e[n];a[o[0]]=o[1]}return a}function Rt(e){return null==e}((e,n)=>{for(var t in n||(n={}))Mt.call(n,t)&&Tt(e,t,n[t]);if(Et)for(var t of Et(n))Bt.call(n,t)&&Tt(e,t,n[t])})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const It=e=>"boolean"==typeof e,jt=e=>"number"==typeof e,Pt=e=>"undefined"!=typeof Element&&e instanceof Element;function zt(e,n="px"){return e?jt(e)||m(t=e)&&!Number.isNaN(Number(t))?`${e}${n}`:m(e)?e:void 0:"";var t}const Ot="__epPropKey",Lt=(e,n)=>{if(!g(e)||g(t=e)&&t[Ot])return e;var t;const{values:a,required:o,default:i,type:r,validator:l}=e,c=a||l?t=>{let o=!1,r=[];if(a&&(r=Array.from(a),f(e,"default")&&r.push(i),o||(o=r.includes(t))),l&&(o||(o=l(t))),!o&&r.length>0){const e=[...new Set(r)].map((e=>JSON.stringify(e))).join(", ");_(`Invalid prop: validation failed${n?` for prop "${n}"`:""}. Expected one of [${e}], got value ${JSON.stringify(t)}.`)}return o}:void 0,s={type:r,required:!!o,validator:c,[Ot]:!0};return f(e,"default")&&(s.default=i),s},qt=e=>Nt(Object.entries(e).map((([e,n])=>[e,Lt(n,e)]))),Dt=[String,Object,Function],Ft=(e,n)=>{if(e.install=t=>{for(const a of[e,...Object.values(null!=n?n:{})])t.component(a.name,a)},n)for(const[t,a]of Object.entries(n))e[t]=a;return e},Ut="Tab",Gt="Enter",Kt="Space",Ht="Escape",$t=(e,n,t,a,o)=>{let i=`${e}-${n}`;return t&&(i+=`-${t}`),a&&(i+=`__${a}`),o&&(i+=`--${o}`),i},Vt=Symbol("namespaceContextKey"),Jt=e=>{const n=e||b(Vt,l("el"));return y((()=>d(n)||"el"))},Wt=(e,n)=>{const t=Jt(n);return{namespace:t,b:(n="")=>$t(t.value,e,n,"",""),e:n=>n?$t(t.value,e,"",n,""):"",m:n=>n?$t(t.value,e,"","",n):"",be:(n,a)=>n&&a?$t(t.value,e,n,a,""):"",em:(n,a)=>n&&a?$t(t.value,e,"",n,a):"",bm:(n,a)=>n&&a?$t(t.value,e,n,"",a):"",bem:(n,a,o)=>n&&a&&o?$t(t.value,e,n,a,o):"",is:(e,...n)=>{const t=!(n.length>=1)||n[0];return e&&t?`is-${e}`:""},cssVar:e=>{const n={};for(const a in e)e[a]&&(n[`--${t.value}-${a}`]=e[a]);return n},cssVarName:e=>`--${t.value}-${e}`,cssVarBlock:n=>{const a={};for(const o in n)n[o]&&(a[`--${t.value}-${e}-${o}`]=n[o]);return a},cssVarBlockName:n=>`--${t.value}-${e}-${n}`}},Yt=Lt({type:Boolean,default:null}),Zt=Lt({type:Function}),Qt=e=>{const n=`update:${e}`,t=`onUpdate:${e}`;return{useModelToggle:({indicator:a,toggleReason:o,shouldHideWhenRouteChanges:i,shouldProceed:r,onShow:l,onHide:c})=>{const s=x(),{emit:u}=s,p=s.props,d=y((()=>v(p[t]))),m=y((()=>null===p[e])),g=e=>{!0!==a.value&&(a.value=!0,o&&(o.value=e),v(l)&&l(e))},f=e=>{!1!==a.value&&(a.value=!1,o&&(o.value=e),v(c)&&c(e))},_=e=>{if(!0===p.disabled||v(r)&&!r())return;const t=d.value&&dt;t&&u(n,!0),!m.value&&t||g(e)},b=e=>{if(!0===p.disabled||!dt)return;const t=d.value&&dt;t&&u(n,!1),!m.value&&t||f(e)},A=e=>{It(e)&&(p.disabled&&e?d.value&&u(n,!1):a.value!==e&&(e?g():f()))};return h((()=>p[e]),A),i&&void 0!==s.appContext.config.globalProperties.$route&&h((()=>({...s.proxy.$route})),(()=>{i.value&&a.value&&b()})),w((()=>{A(p[e])})),{hide:b,show:_,toggle:()=>{a.value?b():_()},hasUpdateHandler:d}},useModelToggleProps:{[e]:Yt,[t]:Zt},useModelToggleEmits:[n]}};Qt("modelValue");var Xt="top",ea="bottom",na="right",ta="left",aa="auto",oa=[Xt,ea,na,ta],ia="start",ra="end",la="clippingParents",ca="viewport",sa="popper",ua="reference",pa=oa.reduce((function(e,n){return e.concat([n+"-"+ia,n+"-"+ra])}),[]),da=[].concat(oa,[aa]).reduce((function(e,n){return e.concat([n,n+"-"+ia,n+"-"+ra])}),[]),ha=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function ma(e){return e?(e.nodeName||"").toLowerCase():null}function ga(e){if(null==e)return window;if("[object Window]"!==e.toString()){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function fa(e){return e instanceof ga(e).Element||e instanceof Element}function _a(e){return e instanceof ga(e).HTMLElement||e instanceof HTMLElement}function ba(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ga(e).ShadowRoot||e instanceof ShadowRoot)}var ya={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var n=e.state;Object.keys(n.elements).forEach((function(e){var t=n.styles[e]||{},a=n.attributes[e]||{},o=n.elements[e];!_a(o)||!ma(o)||(Object.assign(o.style,t),Object.keys(a).forEach((function(e){var n=a[e];!1===n?o.removeAttribute(e):o.setAttribute(e,!0===n?"":n)})))}))},effect:function(e){var n=e.state,t={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,t.popper),n.styles=t,n.elements.arrow&&Object.assign(n.elements.arrow.style,t.arrow),function(){Object.keys(n.elements).forEach((function(e){var a=n.elements[e],o=n.attributes[e]||{},i=Object.keys(n.styles.hasOwnProperty(e)?n.styles[e]:t[e]).reduce((function(e,n){return e[n]="",e}),{});!_a(a)||!ma(a)||(Object.assign(a.style,i),Object.keys(o).forEach((function(e){a.removeAttribute(e)})))}))}},requires:["computeStyles"]};function va(e){return e.split("-")[0]}var wa=Math.max,xa=Math.min,Aa=Math.round;function ka(e,n){void 0===n&&(n=!1);var t=e.getBoundingClientRect(),a=1,o=1;if(_a(e)&&n){var i=e.offsetHeight,r=e.offsetWidth;r>0&&(a=Aa(t.width)/r||1),i>0&&(o=Aa(t.height)/i||1)}return{width:t.width/a,height:t.height/o,top:t.top/o,right:t.right/a,bottom:t.bottom/o,left:t.left/a,x:t.left/a,y:t.top/o}}function Sa(e){var n=ka(e),t=e.offsetWidth,a=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-a)<=1&&(a=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:a}}function Ca(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&ba(t)){var a=n;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Ea(e){return ga(e).getComputedStyle(e)}function Ma(e){return["table","td","th"].indexOf(ma(e))>=0}function Ba(e){return((fa(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ta(e){return"html"===ma(e)?e:e.assignedSlot||e.parentNode||(ba(e)?e.host:null)||Ba(e)}function Na(e){return _a(e)&&"fixed"!==Ea(e).position?e.offsetParent:null}function Ra(e){for(var n=ga(e),t=Na(e);t&&Ma(t)&&"static"===Ea(t).position;)t=Na(t);return t&&("html"===ma(t)||"body"===ma(t)&&"static"===Ea(t).position)?n:t||function(e){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&_a(e)&&"fixed"===Ea(e).position)return null;var t=Ta(e);for(ba(t)&&(t=t.host);_a(t)&&["html","body"].indexOf(ma(t))<0;){var a=Ea(t);if("none"!==a.transform||"none"!==a.perspective||"paint"===a.contain||-1!==["transform","perspective"].indexOf(a.willChange)||n&&"filter"===a.willChange||n&&a.filter&&"none"!==a.filter)return t;t=t.parentNode}return null}(e)||n}function Ia(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ja(e,n,t){return wa(e,xa(n,t))}function Pa(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function za(e,n){return n.reduce((function(n,t){return n[t]=e,n}),{})}var Oa={name:"arrow",enabled:!0,phase:"main",fn:function(e){var n,t=e.state,a=e.name,o=e.options,i=t.elements.arrow,r=t.modifiersData.popperOffsets,l=va(t.placement),c=Ia(l),s=[ta,na].indexOf(l)>=0?"height":"width";if(i&&r){var u=function(e,n){return Pa("number"!=typeof(e="function"==typeof e?e(Object.assign({},n.rects,{placement:n.placement})):e)?e:za(e,oa))}(o.padding,t),p=Sa(i),d="y"===c?Xt:ta,h="y"===c?ea:na,m=t.rects.reference[s]+t.rects.reference[c]-r[c]-t.rects.popper[s],g=r[c]-t.rects.reference[c],f=Ra(i),_=f?"y"===c?f.clientHeight||0:f.clientWidth||0:0,b=m/2-g/2,y=u[d],v=_-p[s]-u[h],w=_/2-p[s]/2+b,x=ja(y,w,v),A=c;t.modifiersData[a]=((n={})[A]=x,n.centerOffset=x-w,n)}},effect:function(e){var n=e.state,t=e.options.element,a=void 0===t?"[data-popper-arrow]":t;null!=a&&("string"==typeof a&&!(a=n.elements.popper.querySelector(a))||!Ca(n.elements.popper,a)||(n.elements.arrow=a))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function La(e){return e.split("-")[1]}var qa={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Da(e){var n,t=e.popper,a=e.popperRect,o=e.placement,i=e.variation,r=e.offsets,l=e.position,c=e.gpuAcceleration,s=e.adaptive,u=e.roundOffsets,p=e.isFixed,d=r.x,h=void 0===d?0:d,m=r.y,g=void 0===m?0:m,f="function"==typeof u?u({x:h,y:g}):{x:h,y:g};h=f.x,g=f.y;var _=r.hasOwnProperty("x"),b=r.hasOwnProperty("y"),y=ta,v=Xt,w=window;if(s){var x=Ra(t),A="clientHeight",k="clientWidth";if(x===ga(t)&&("static"!==Ea(x=Ba(t)).position&&"absolute"===l&&(A="scrollHeight",k="scrollWidth")),o===Xt||(o===ta||o===na)&&i===ra)v=ea,g-=(p&&x===w&&w.visualViewport?w.visualViewport.height:x[A])-a.height,g*=c?1:-1;if(o===ta||(o===Xt||o===ea)&&i===ra)y=na,h-=(p&&x===w&&w.visualViewport?w.visualViewport.width:x[k])-a.width,h*=c?1:-1}var S,C=Object.assign({position:l},s&&qa),E=!0===u?function(e){var n=e.x,t=e.y,a=window.devicePixelRatio||1;return{x:Aa(n*a)/a||0,y:Aa(t*a)/a||0}}({x:h,y:g}):{x:h,y:g};return h=E.x,g=E.y,c?Object.assign({},C,((S={})[v]=b?"0":"",S[y]=_?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",S)):Object.assign({},C,((n={})[v]=b?g+"px":"",n[y]=_?h+"px":"",n.transform="",n))}var Fa={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var n=e.state,t=e.options,a=t.gpuAcceleration,o=void 0===a||a,i=t.adaptive,r=void 0===i||i,l=t.roundOffsets,c=void 0===l||l,s={placement:va(n.placement),variation:La(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,Da(Object.assign({},s,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:r,roundOffsets:c})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,Da(Object.assign({},s,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},Ua={passive:!0};var Ga={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var n=e.state,t=e.instance,a=e.options,o=a.scroll,i=void 0===o||o,r=a.resize,l=void 0===r||r,c=ga(n.elements.popper),s=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&s.forEach((function(e){e.addEventListener("scroll",t.update,Ua)})),l&&c.addEventListener("resize",t.update,Ua),function(){i&&s.forEach((function(e){e.removeEventListener("scroll",t.update,Ua)})),l&&c.removeEventListener("resize",t.update,Ua)}},data:{}},Ka={left:"right",right:"left",bottom:"top",top:"bottom"};function Ha(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ka[e]}))}var $a={start:"end",end:"start"};function Va(e){return e.replace(/start|end/g,(function(e){return $a[e]}))}function Ja(e){var n=ga(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Wa(e){return ka(Ba(e)).left+Ja(e).scrollLeft}function Ya(e){var n=Ea(e),t=n.overflow,a=n.overflowX,o=n.overflowY;return/auto|scroll|overlay|hidden/.test(t+o+a)}function Za(e){return["html","body","#document"].indexOf(ma(e))>=0?e.ownerDocument.body:_a(e)&&Ya(e)?e:Za(Ta(e))}function Qa(e,n){var t;void 0===n&&(n=[]);var a=Za(e),o=a===(null==(t=e.ownerDocument)?void 0:t.body),i=ga(a),r=o?[i].concat(i.visualViewport||[],Ya(a)?a:[]):a,l=n.concat(r);return o?l:l.concat(Qa(Ta(r)))}function Xa(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function eo(e,n){return n===ca?Xa(function(e){var n=ga(e),t=Ba(e),a=n.visualViewport,o=t.clientWidth,i=t.clientHeight,r=0,l=0;return a&&(o=a.width,i=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(r=a.offsetLeft,l=a.offsetTop)),{width:o,height:i,x:r+Wa(e),y:l}}(e)):fa(n)?function(e){var n=ka(e);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(n):Xa(function(e){var n,t=Ba(e),a=Ja(e),o=null==(n=e.ownerDocument)?void 0:n.body,i=wa(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),r=wa(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-a.scrollLeft+Wa(e),c=-a.scrollTop;return"rtl"===Ea(o||t).direction&&(l+=wa(t.clientWidth,o?o.clientWidth:0)-i),{width:i,height:r,x:l,y:c}}(Ba(e)))}function no(e,n,t){var a="clippingParents"===n?function(e){var n=Qa(Ta(e)),t=["absolute","fixed"].indexOf(Ea(e).position)>=0&&_a(e)?Ra(e):e;return fa(t)?n.filter((function(e){return fa(e)&&Ca(e,t)&&"body"!==ma(e)})):[]}(e):[].concat(n),o=[].concat(a,[t]),i=o[0],r=o.reduce((function(n,t){var a=eo(e,t);return n.top=wa(a.top,n.top),n.right=xa(a.right,n.right),n.bottom=xa(a.bottom,n.bottom),n.left=wa(a.left,n.left),n}),eo(e,i));return r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}function to(e){var n,t=e.reference,a=e.element,o=e.placement,i=o?va(o):null,r=o?La(o):null,l=t.x+t.width/2-a.width/2,c=t.y+t.height/2-a.height/2;switch(i){case Xt:n={x:l,y:t.y-a.height};break;case ea:n={x:l,y:t.y+t.height};break;case na:n={x:t.x+t.width,y:c};break;case ta:n={x:t.x-a.width,y:c};break;default:n={x:t.x,y:t.y}}var s=i?Ia(i):null;if(null!=s){var u="y"===s?"height":"width";switch(r){case ia:n[s]=n[s]-(t[u]/2-a[u]/2);break;case ra:n[s]=n[s]+(t[u]/2-a[u]/2)}}return n}function ao(e,n){void 0===n&&(n={});var t=n,a=t.placement,o=void 0===a?e.placement:a,i=t.boundary,r=void 0===i?la:i,l=t.rootBoundary,c=void 0===l?ca:l,s=t.elementContext,u=void 0===s?sa:s,p=t.altBoundary,d=void 0!==p&&p,h=t.padding,m=void 0===h?0:h,g=Pa("number"!=typeof m?m:za(m,oa)),f=u===sa?ua:sa,_=e.rects.popper,b=e.elements[d?f:u],y=no(fa(b)?b:b.contextElement||Ba(e.elements.popper),r,c),v=ka(e.elements.reference),w=to({reference:v,element:_,strategy:"absolute",placement:o}),x=Xa(Object.assign({},_,w)),A=u===sa?x:v,k={top:y.top-A.top+g.top,bottom:A.bottom-y.bottom+g.bottom,left:y.left-A.left+g.left,right:A.right-y.right+g.right},S=e.modifiersData.offset;if(u===sa&&S){var C=S[o];Object.keys(k).forEach((function(e){var n=[na,ea].indexOf(e)>=0?1:-1,t=[Xt,ea].indexOf(e)>=0?"y":"x";k[e]+=C[t]*n}))}return k}var oo={name:"flip",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,a=e.name;if(!n.modifiersData[a]._skip){for(var o=t.mainAxis,i=void 0===o||o,r=t.altAxis,l=void 0===r||r,c=t.fallbackPlacements,s=t.padding,u=t.boundary,p=t.rootBoundary,d=t.altBoundary,h=t.flipVariations,m=void 0===h||h,g=t.allowedAutoPlacements,f=n.options.placement,_=va(f),b=c||(_===f||!m?[Ha(f)]:function(e){if(va(e)===aa)return[];var n=Ha(e);return[Va(e),n,Va(n)]}(f)),y=[f].concat(b).reduce((function(e,t){return e.concat(va(t)===aa?function(e,n){void 0===n&&(n={});var t=n,a=t.placement,o=t.boundary,i=t.rootBoundary,r=t.padding,l=t.flipVariations,c=t.allowedAutoPlacements,s=void 0===c?da:c,u=La(a),p=u?l?pa:pa.filter((function(e){return La(e)===u})):oa,d=p.filter((function(e){return s.indexOf(e)>=0}));0===d.length&&(d=p);var h=d.reduce((function(n,t){return n[t]=ao(e,{placement:t,boundary:o,rootBoundary:i,padding:r})[va(t)],n}),{});return Object.keys(h).sort((function(e,n){return h[e]-h[n]}))}(n,{placement:t,boundary:u,rootBoundary:p,padding:s,flipVariations:m,allowedAutoPlacements:g}):t)}),[]),v=n.rects.reference,w=n.rects.popper,x=new Map,A=!0,k=y[0],S=0;S<y.length;S++){var C=y[S],E=va(C),M=La(C)===ia,B=[Xt,ea].indexOf(E)>=0,T=B?"width":"height",N=ao(n,{placement:C,boundary:u,rootBoundary:p,altBoundary:d,padding:s}),R=B?M?na:ta:M?ea:Xt;v[T]>w[T]&&(R=Ha(R));var I=Ha(R),j=[];if(i&&j.push(N[E]<=0),l&&j.push(N[R]<=0,N[I]<=0),j.every((function(e){return e}))){k=C,A=!1;break}x.set(C,j)}if(A)for(var P=function(e){var n=y.find((function(n){var t=x.get(n);if(t)return t.slice(0,e).every((function(e){return e}))}));if(n)return k=n,"break"},z=m?3:1;z>0;z--){if("break"===P(z))break}n.placement!==k&&(n.modifiersData[a]._skip=!0,n.placement=k,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function io(e,n,t){return void 0===t&&(t={x:0,y:0}),{top:e.top-n.height-t.y,right:e.right-n.width+t.x,bottom:e.bottom-n.height+t.y,left:e.left-n.width-t.x}}function ro(e){return[Xt,na,ea,ta].some((function(n){return e[n]>=0}))}var lo={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var n=e.state,t=e.name,a=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,r=ao(n,{elementContext:"reference"}),l=ao(n,{altBoundary:!0}),c=io(r,a),s=io(l,o,i),u=ro(c),p=ro(s);n.modifiersData[t]={referenceClippingOffsets:c,popperEscapeOffsets:s,isReferenceHidden:u,hasPopperEscaped:p},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":p})}};var co={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var n=e.state,t=e.options,a=e.name,o=t.offset,i=void 0===o?[0,0]:o,r=da.reduce((function(e,t){return e[t]=function(e,n,t){var a=va(e),o=[ta,Xt].indexOf(a)>=0?-1:1,i="function"==typeof t?t(Object.assign({},n,{placement:e})):t,r=i[0],l=i[1];return r=r||0,l=(l||0)*o,[ta,na].indexOf(a)>=0?{x:l,y:r}:{x:r,y:l}}(t,n.rects,i),e}),{}),l=r[n.placement],c=l.x,s=l.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=c,n.modifiersData.popperOffsets.y+=s),n.modifiersData[a]=r}};var so={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var n=e.state,t=e.name;n.modifiersData[t]=to({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}};var uo={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,a=e.name,o=t.mainAxis,i=void 0===o||o,r=t.altAxis,l=void 0!==r&&r,c=t.boundary,s=t.rootBoundary,u=t.altBoundary,p=t.padding,d=t.tether,h=void 0===d||d,m=t.tetherOffset,g=void 0===m?0:m,f=ao(n,{boundary:c,rootBoundary:s,padding:p,altBoundary:u}),_=va(n.placement),b=La(n.placement),y=!b,v=Ia(_),w=function(e){return"x"===e?"y":"x"}(v),x=n.modifiersData.popperOffsets,A=n.rects.reference,k=n.rects.popper,S="function"==typeof g?g(Object.assign({},n.rects,{placement:n.placement})):g,C="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),E=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,M={x:0,y:0};if(x){if(i){var B,T="y"===v?Xt:ta,N="y"===v?ea:na,R="y"===v?"height":"width",I=x[v],j=I+f[T],P=I-f[N],z=h?-k[R]/2:0,O=b===ia?A[R]:k[R],L=b===ia?-k[R]:-A[R],q=n.elements.arrow,D=h&&q?Sa(q):{width:0,height:0},F=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=F[T],G=F[N],K=ja(0,A[R],D[R]),H=y?A[R]/2-z-K-U-C.mainAxis:O-K-U-C.mainAxis,$=y?-A[R]/2+z+K+G+C.mainAxis:L+K+G+C.mainAxis,V=n.elements.arrow&&Ra(n.elements.arrow),J=V?"y"===v?V.clientTop||0:V.clientLeft||0:0,W=null!=(B=null==E?void 0:E[v])?B:0,Y=I+$-W,Z=ja(h?xa(j,I+H-W-J):j,I,h?wa(P,Y):P);x[v]=Z,M[v]=Z-I}if(l){var Q,X="x"===v?Xt:ta,ee="x"===v?ea:na,ne=x[w],te="y"===w?"height":"width",ae=ne+f[X],oe=ne-f[ee],ie=-1!==[Xt,ta].indexOf(_),re=null!=(Q=null==E?void 0:E[w])?Q:0,le=ie?ae:ne-A[te]-k[te]-re+C.altAxis,ce=ie?ne+A[te]+k[te]-re-C.altAxis:oe,se=h&&ie?function(e,n,t){var a=ja(e,n,t);return a>t?t:a}(le,ne,ce):ja(h?le:ae,ne,h?ce:oe);x[w]=se,M[w]=se-ne}n.modifiersData[a]=M}},requiresIfExists:["offset"]};function po(e,n,t){void 0===t&&(t=!1);var a=_a(n),o=_a(n)&&function(e){var n=e.getBoundingClientRect(),t=Aa(n.width)/e.offsetWidth||1,a=Aa(n.height)/e.offsetHeight||1;return 1!==t||1!==a}(n),i=Ba(n),r=ka(e,o),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!t)&&(("body"!==ma(n)||Ya(i))&&(l=function(e){return e!==ga(e)&&_a(e)?function(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):Ja(e)}(n)),_a(n)?((c=ka(n,!0)).x+=n.clientLeft,c.y+=n.clientTop):i&&(c.x=Wa(i))),{x:r.left+l.scrollLeft-c.x,y:r.top+l.scrollTop-c.y,width:r.width,height:r.height}}function ho(e){var n=new Map,t=new Set,a=[];function o(e){t.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!t.has(e)){var a=n.get(e);a&&o(a)}})),a.push(e)}return e.forEach((function(e){n.set(e.name,e)})),e.forEach((function(e){t.has(e.name)||o(e)})),a}function mo(e){var n;return function(){return n||(n=new Promise((function(t){Promise.resolve().then((function(){n=void 0,t(e())}))}))),n}}var go={placement:"bottom",modifiers:[],strategy:"absolute"};function fo(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return!n.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function _o(e){void 0===e&&(e={});var n=e,t=n.defaultModifiers,a=void 0===t?[]:t,o=n.defaultOptions,i=void 0===o?go:o;return function(e,n,t){void 0===t&&(t=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},go,i),modifiersData:{},elements:{reference:e,popper:n},attributes:{},styles:{}},r=[],l=!1,c={state:o,setOptions:function(t){var l="function"==typeof t?t(o.options):t;s(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:fa(e)?Qa(e):e.contextElement?Qa(e.contextElement):[],popper:Qa(n)};var u=function(e){var n=ho(e);return ha.reduce((function(e,t){return e.concat(n.filter((function(e){return e.phase===t})))}),[])}(function(e){var n=e.reduce((function(e,n){var t=e[n.name];return e[n.name]=t?Object.assign({},t,n,{options:Object.assign({},t.options,n.options),data:Object.assign({},t.data,n.data)}):n,e}),{});return Object.keys(n).map((function(e){return n[e]}))}([].concat(a,o.options.modifiers)));return o.orderedModifiers=u.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var n=e.name,t=e.options,a=void 0===t?{}:t,i=e.effect;if("function"==typeof i){var l=i({state:o,name:n,instance:c,options:a}),s=function(){};r.push(l||s)}})),c.update()},forceUpdate:function(){if(!l){var e=o.elements,n=e.reference,t=e.popper;if(fo(n,t)){o.rects={reference:po(n,Ra(t),"fixed"===o.options.strategy),popper:Sa(t)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var a=0;a<o.orderedModifiers.length;a++)if(!0!==o.reset){var i=o.orderedModifiers[a],r=i.fn,s=i.options,u=void 0===s?{}:s,p=i.name;"function"==typeof r&&(o=r({state:o,options:u,name:p,instance:c})||o)}else o.reset=!1,a=-1}}},update:mo((function(){return new Promise((function(e){c.forceUpdate(),e(o)}))})),destroy:function(){s(),l=!0}};if(!fo(e,n))return c;function s(){r.forEach((function(e){return e()})),r=[]}return c.setOptions(t).then((function(e){!l&&t.onFirstUpdate&&t.onFirstUpdate(e)})),c}}_o(),_o({defaultModifiers:[Ga,so,Fa,ya]});var bo=_o({defaultModifiers:[Ga,so,Fa,ya,co,oo,uo,Oa,lo]});const yo=(e,n,t={})=>{const a={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const n=function(e){const n=Object.keys(e.elements),t=Nt(n.map((n=>[n,e.styles[n]||{}]))),a=Nt(n.map((n=>[n,e.attributes[n]])));return{styles:t,attributes:a}}(e);Object.assign(r.value,n)},requires:["computeStyles"]},o=y((()=>{const{onFirstUpdate:e,placement:n,strategy:o,modifiers:i}=d(t);return{onFirstUpdate:e,placement:n||"bottom",strategy:o||"absolute",modifiers:[...i||[],a,{name:"applyStyles",enabled:!1}]}})),i=A(),r=l({styles:{popper:{position:d(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),c=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return h(o,(e=>{const n=d(i);n&&n.setOptions(e)}),{deep:!0}),h([e,n],(([e,n])=>{c(),e&&n&&(i.value=bo(e,n,d(o)))})),k((()=>{c()})),{state:y((()=>{var e;return{...(null==(e=d(i))?void 0:e.state)||{}}})),styles:y((()=>d(r).styles)),attributes:y((()=>d(r).attributes)),update:()=>{var e;return null==(e=d(i))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=d(i))?void 0:e.forceUpdate()},instanceRef:y((()=>d(i)))}};function vo(){let e;const n=()=>window.clearTimeout(e);return _t((()=>n())),{registerTimeout:(t,a)=>{n(),e=window.setTimeout(t,a)},cancelTimeout:n}}const wo={prefix:Math.floor(1e4*Math.random()),current:0},xo=Symbol("elIdInjection"),Ao=()=>x()?b(xo,wo):wo;let ko=[];const So=e=>{const n=e;n.key===Ht&&ko.forEach((e=>e(n)))};let Co;const Eo=()=>{const e=Jt(),n=Ao(),t=y((()=>`${e.value}-popper-container-${n.prefix}`)),a=y((()=>`#${t.value}`));return{id:t,selector:a}},Mo=()=>{const{id:e,selector:n}=Eo();return S((()=>{dt&&(Co||document.body.querySelector(n.value)||(Co=(e=>{const n=document.createElement("div");return n.id=e,document.body.appendChild(n),n})(e.value)))})),{id:e,selector:n}},Bo=qt({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),To=Symbol("elForwardRef"),No=l(0),Ro=Symbol("zIndexContextKey");var Io=(e,n)=>{const t=e.__vccOpts||e;for(const[a,o]of n)t[a]=o;return t};const jo=Symbol("formItemContextKey"),Po=Symbol("popper"),zo=Symbol("popperContent"),Oo=qt({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}}),Lo=E({name:"ElPopper",inheritAttrs:!1});var qo=Io(E({...Lo,props:Oo,setup(e,{expose:n}){const t=e,a={triggerRef:l(),popperInstanceRef:l(),contentRef:l(),referenceRef:l(),role:y((()=>t.role))};return n(a),C(Po,a),(e,n)=>M(e.$slots,"default")}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const Do=qt({arrowOffset:{type:Number,default:5}}),Fo=E({name:"ElPopperArrow",inheritAttrs:!1});var Uo=Io(E({...Fo,props:Do,setup(e,{expose:a}){const o=e,i=Wt("popper"),{arrowOffset:r,arrowRef:l,arrowStyle:c}=b(zo,void 0);return h((()=>o.arrowOffset),(e=>{r.value=e})),k((()=>{l.value=void 0})),a({arrowRef:l}),(e,a)=>(n(),t("span",{ref_key:"arrowRef",ref:l,class:B(d(i).e("arrow")),style:T(d(c)),"data-popper-arrow":""},null,6))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const Go=E({name:"ElOnlyChild",setup(e,{slots:n,attrs:t}){var a;const o=b(To),i=(r=null!=(a=null==o?void 0:o.setForwardRef)?a:N,{mounted(e){r(e)},updated(e){r(e)},unmounted(){r(null)}});var r;return()=>{var e;const a=null==(e=n.default)?void 0:e.call(n,t);if(!a)return null;if(a.length>1)return null;const o=Ko(a);return o?c(R(o,t),[[i]]):null}}});function Ko(e){if(!e)return null;const n=e;for(const t of n){if(g(t))switch(t.type){case P:continue;case j:case"svg":return Ho(t);case I:return Ko(t.children);default:return t}return Ho(t)}return null}function Ho(e){const n=Wt("only-child");return z("span",{class:n.e("content")},[e])}const $o=qt({virtualRef:{type:Object},virtualTriggering:Boolean,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onContextmenu:{type:Function},id:String,open:Boolean}),Vo=E({name:"ElPopperTrigger",inheritAttrs:!1}),Jo=E({...Vo,props:$o,setup(e,{expose:t}){const a=e,{role:o,triggerRef:i}=b(Po,void 0);var r;r=i,C(To,{setForwardRef:e=>{r.value=e}});const l=y((()=>s.value?a.id:void 0)),c=y((()=>{if(o&&"tooltip"===o.value)return a.open&&a.id?a.id:void 0})),s=y((()=>{if(o&&"tooltip"!==o.value)return o.value})),u=y((()=>s.value?`${a.open}`:void 0));let p;return w((()=>{h((()=>a.virtualRef),(e=>{e&&(i.value=bt(e))}),{immediate:!0}),h(i,((e,n)=>{null==p||p(),p=void 0,Pt(e)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach((t=>{var o;const i=a[t];i&&(e.addEventListener(t.slice(2).toLowerCase(),i),null==(o=null==n?void 0:n.removeEventListener)||o.call(n,t.slice(2).toLowerCase(),i))})),p=h([l,c,s,u],(n=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((t,a)=>{Rt(n[a])?e.removeAttribute(t):e.setAttribute(t,n[a])}))}),{immediate:!0})),Pt(n)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>n.removeAttribute(e)))}),{immediate:!0})})),k((()=>{null==p||p(),p=void 0})),t({triggerRef:i}),(e,t)=>e.virtualTriggering?D("v-if",!0):(n(),O(d(Go),q({key:0},e.$attrs,{"aria-controls":d(l),"aria-describedby":d(c),"aria-expanded":d(u),"aria-haspopup":d(s)}),{default:L((()=>[M(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Wo=Io(Jo,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const Yo="focus-trap.focus-after-trapped",Zo="focus-trap.focus-after-released",Qo={cancelable:!0,bubbles:!1},Xo={cancelable:!0,bubbles:!1},ei="focusAfterTrapped",ni="focusAfterReleased",ti=Symbol("elFocusTrap"),ai=l(),oi=l(0),ii=l(0);let ri=0;const li=e=>{const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const n="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||n?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n},ci=(e,n)=>{for(const t of e)if(!si(t,n))return t},si=(e,n)=>{if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(n&&e===n)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1},ui=(e,n)=>{if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),ii.value=window.performance.now(),e!==t&&(e=>e instanceof HTMLInputElement&&"select"in e)(e)&&n&&e.select()}};function pi(e,n){const t=[...e],a=e.indexOf(n);return-1!==a&&t.splice(a,1),t}const di=(()=>{let e=[];return{push:n=>{const t=e[0];t&&n!==t&&t.pause(),e=pi(e,n),e.unshift(n)},remove:n=>{var t,a;e=pi(e,n),null==(a=null==(t=e[0])?void 0:t.resume)||a.call(t)}}})(),hi=()=>{ai.value="pointer",oi.value=window.performance.now()},mi=()=>{ai.value="keyboard",oi.value=window.performance.now()},gi=()=>(w((()=>{0===ri&&(document.addEventListener("mousedown",hi),document.addEventListener("touchstart",hi),document.addEventListener("keydown",mi)),ri++})),k((()=>{ri--,ri<=0&&(document.removeEventListener("mousedown",hi),document.removeEventListener("touchstart",hi),document.removeEventListener("keydown",mi))})),{focusReason:ai,lastUserFocusTimestamp:oi,lastAutomatedFocusTimestamp:ii}),fi=e=>new CustomEvent("focus-trap.focusout-prevented",{...Xo,detail:e}),_i=E({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ei,ni,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:n}){const t=l();let a,o;const{focusReason:i}=gi();var r;r=t=>{e.trapped&&!c.paused&&n("release-requested",t)},w((()=>{0===ko.length&&document.addEventListener("keydown",So),dt&&ko.push(r)})),k((()=>{ko=ko.filter((e=>e!==r)),0===ko.length&&dt&&document.removeEventListener("keydown",So)}));const c={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},s=t=>{if(!e.loop&&!e.trapped)return;if(c.paused)return;const{key:a,altKey:o,ctrlKey:r,metaKey:l,currentTarget:s,shiftKey:u}=t,{loop:p}=e,d=a===Ut&&!o&&!r&&!l,h=document.activeElement;if(d&&h){const e=s,[a,o]=(e=>{const n=li(e);return[ci(n,e),ci(n.reverse(),e)]})(e);if(a&&o)if(u||h!==o){if(u&&[a,e].includes(h)){const e=fi({focusReason:i.value});n("focusout-prevented",e),e.defaultPrevented||(t.preventDefault(),p&&ui(o,!0))}}else{const e=fi({focusReason:i.value});n("focusout-prevented",e),e.defaultPrevented||(t.preventDefault(),p&&ui(a,!0))}else if(h===e){const e=fi({focusReason:i.value});n("focusout-prevented",e),e.defaultPrevented||t.preventDefault()}}};C(ti,{focusTrapRef:t,onKeydown:s}),h((()=>e.focusTrapEl),(e=>{e&&(t.value=e)}),{immediate:!0}),h([t],(([e],[n])=>{e&&(e.addEventListener("keydown",s),e.addEventListener("focusin",g),e.addEventListener("focusout",f)),n&&(n.removeEventListener("keydown",s),n.removeEventListener("focusin",g),n.removeEventListener("focusout",f))}));const u=e=>{n(ei,e)},p=e=>n(ni,e),g=i=>{const r=d(t);if(!r)return;const l=i.target,s=i.relatedTarget,u=l&&r.contains(l);if(!e.trapped){s&&r.contains(s)||(a=s)}u&&n("focusin",i),c.paused||e.trapped&&(u?o=l:ui(o,!0))},f=a=>{const r=d(t);if(!c.paused&&r)if(e.trapped){const t=a.relatedTarget;Rt(t)||r.contains(t)||setTimeout((()=>{if(!c.paused&&e.trapped){const e=fi({focusReason:i.value});n("focusout-prevented",e),e.defaultPrevented||ui(o,!0)}}),0)}else{const e=a.target;e&&r.contains(e)||n("focusout",a)}};async function _(){await F();const n=d(t);if(n){di.push(c);const t=n.contains(document.activeElement)?a:document.activeElement;a=t;if(!n.contains(t)){const a=new Event(Yo,Qo);n.addEventListener(Yo,u),n.dispatchEvent(a),a.defaultPrevented||F((()=>{let a=e.focusStartEl;m(a)||(ui(a),document.activeElement!==a&&(a="first")),"first"===a&&((e,n=!1)=>{const t=document.activeElement;for(const a of e)if(ui(a,n),document.activeElement!==t)return})(li(n),!0),document.activeElement!==t&&"container"!==a||ui(n)}))}}}function b(){const e=d(t);if(e){e.removeEventListener(Yo,u);const n=new CustomEvent(Zo,{...Qo,detail:{focusReason:i.value}});e.addEventListener(Zo,p),e.dispatchEvent(n),n.defaultPrevented||"keyboard"!=i.value&&oi.value>ii.value&&!e.contains(document.activeElement)||ui(null!=a?a:document.body),e.removeEventListener(Zo,u),di.remove(c)}}return w((()=>{e.trapped&&_(),h((()=>e.trapped),(e=>{e?_():b()}))})),k((()=>{e.trapped&&b()})),{onKeydown:s}}});var bi=Io(_i,[["render",function(e,n,t,a,o,i){return M(e.$slots,"default",{handleKeydown:e.onKeydown})}],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]);const yi=qt({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Array,default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:da,default:"bottom"},popperOptions:{type:Object,default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),vi=qt({...yi,id:String,style:{type:[String,Array,Object]},className:{type:[String,Array,Object]},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:[String,Array,Object]},popperStyle:{type:[String,Array,Object]},referenceEl:{type:Object},triggerTargetEl:{type:Object},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),wi={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},xi=(e,n=[])=>{const{placement:t,strategy:a,popperOptions:o}=e,i={placement:t,strategy:a,...o,modifiers:[...Ai(e),...n]};return function(e,n){n&&(e.modifiers=[...e.modifiers,...null!=n?n:[]])}(i,null==o?void 0:o.modifiers),i};function Ai(e){const{offset:n,gpuAcceleration:t,fallbackPlacements:a}=e;return[{name:"offset",options:{offset:[0,null!=n?n:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:a}},{name:"computeStyles",options:{gpuAcceleration:t}}]}const ki=e=>{const{popperInstanceRef:n,contentRef:t,triggerRef:a,role:o}=b(Po,void 0),i=l(),r=l(),c=y((()=>({name:"eventListeners",enabled:!!e.visible}))),s=y((()=>{var e;const n=d(i),t=null!=(e=d(r))?e:0;return{name:"arrow",enabled:(a=n,!(void 0===a)),options:{element:n,padding:t}};var a})),u=y((()=>({onFirstUpdate:()=>{_()},...xi(e,[d(s),d(c)])}))),p=y((()=>(e=>{if(dt)return bt(e)})(e.referenceEl)||d(a))),{attributes:m,state:g,styles:f,update:_,forceUpdate:v,instanceRef:x}=yo(p,t,u);return h(x,(e=>n.value=e)),w((()=>{h((()=>{var e;return null==(e=d(p))?void 0:e.getBoundingClientRect()}),(()=>{_()}))})),{attributes:m,arrowRef:i,contentRef:t,instanceRef:x,state:g,styles:f,role:o,forceUpdate:v,update:_}},Si=(e,{attributes:n,styles:t,role:a})=>{const{nextZIndex:o}=(e=>{const n=e||b(Ro,void 0),t=y((()=>{const e=d(n);return jt(e)?e:2e3})),a=y((()=>t.value+No.value));return{initialZIndex:t,currentZIndex:a,nextZIndex:()=>(No.value++,a.value)}})(),i=Wt("popper"),r=y((()=>d(n).popper)),c=l(e.zIndex||o()),s=y((()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass])),u=y((()=>[{zIndex:d(c)},d(t).popper,e.popperStyle||{}]));return{ariaModal:y((()=>"dialog"===a.value?"false":void 0)),arrowStyle:y((()=>d(t).arrow||{})),contentAttrs:r,contentClass:s,contentStyle:u,contentZIndex:c,updateZIndex:()=>{c.value=e.zIndex||o()}}},Ci=E({name:"ElPopperContent"}),Ei=E({...Ci,props:vi,emits:wi,setup(e,{expose:a,emit:o}){const i=e,{focusStartRef:r,trapped:c,onFocusAfterReleased:s,onFocusAfterTrapped:u,onFocusInTrap:p,onFocusoutPrevented:m,onReleaseRequested:g}=((e,n)=>{const t=l(!1),a=l();return{focusStartRef:a,trapped:t,onFocusAfterReleased:e=>{var t;"pointer"!==(null==(t=e.detail)?void 0:t.focusReason)&&(a.value="first",n("blur"))},onFocusAfterTrapped:()=>{n("focus")},onFocusInTrap:n=>{e.visible&&!t.value&&(n.target&&(a.value=n.target),t.value=!0)},onFocusoutPrevented:n=>{e.trapping||("pointer"===n.detail.focusReason&&n.preventDefault(),t.value=!1)},onReleaseRequested:()=>{t.value=!1,n("close")}}})(i,o),{attributes:f,arrowRef:_,contentRef:y,styles:v,instanceRef:x,role:A,update:S}=ki(i),{ariaModal:E,arrowStyle:B,contentAttrs:T,contentClass:R,contentStyle:I,updateZIndex:j}=Si(i,{styles:v,attributes:f,role:A}),P=b(jo,void 0),O=l();let D;C(zo,{arrowStyle:B,arrowRef:_,arrowOffset:O}),P&&(P.addInputId||P.removeInputId)&&C(jo,{...P,addInputId:N,removeInputId:N});const F=(e=!0)=>{S(),e&&j()},U=()=>{F(!1),i.visible&&i.focusOnShow?c.value=!0:!1===i.visible&&(c.value=!1)};return w((()=>{h((()=>i.triggerTargetEl),((e,n)=>{null==D||D(),D=void 0;const t=d(e||y.value),a=d(n||y.value);Pt(t)&&(D=h([A,()=>i.ariaLabel,E,()=>i.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((n,a)=>{Rt(e[a])?t.removeAttribute(n):t.setAttribute(n,e[a])}))}),{immediate:!0})),a!==t&&Pt(a)&&["role","aria-label","aria-modal","id"].forEach((e=>{a.removeAttribute(e)}))}),{immediate:!0}),h((()=>i.visible),U,{immediate:!0})})),k((()=>{null==D||D(),D=void 0})),a({popperContentRef:y,popperInstanceRef:x,updatePopper:F,contentStyle:I}),(e,a)=>(n(),t("div",q({ref_key:"contentRef",ref:y},d(T),{style:d(I),class:d(R),tabindex:"-1",onMouseenter:a[0]||(a[0]=n=>e.$emit("mouseenter",n)),onMouseleave:a[1]||(a[1]=n=>e.$emit("mouseleave",n))}),[z(d(bi),{trapped:d(c),"trap-on-focus-in":!0,"focus-trap-el":d(y),"focus-start-el":d(r),onFocusAfterTrapped:d(u),onFocusAfterReleased:d(s),onFocusin:d(p),onFocusoutPrevented:d(m),onReleaseRequested:d(g)},{default:L((()=>[M(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var Mi=Io(Ei,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const Bi=Ft(qo),Ti=Symbol("elTooltip"),Ni=qt({...Bo,...vi,appendTo:{type:[String,Object]},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Boolean,default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),Ri=qt({...$o,disabled:Boolean,trigger:{type:[String,Array],default:"hover"},triggerKeys:{type:Array,default:()=>[Gt,Kt]}}),{useModelToggleProps:Ii,useModelToggleEmits:ji,useModelToggle:Pi}=Qt("visible"),zi=qt({...Oo,...Ii,...Ni,...Ri,...Do,showArrow:{type:Boolean,default:!0}}),Oi=[...ji,"before-show","before-hide","show","hide","open","close"],Li=(e,n,t)=>a=>{((e,n)=>U(e)?e.includes(n):e===n)(d(e),n)&&t(a)},qi=E({name:"ElTooltipTrigger"});var Di=Io(E({...qi,props:Ri,setup(e,{expose:t}){const a=e,o=Wt("tooltip"),{controlled:i,id:r,open:c,onOpen:s,onClose:u,onToggle:p}=b(Ti,void 0),h=l(null),m=()=>{if(d(i)||a.disabled)return!0},g=G(a,"trigger"),f=ut(m,Li(g,"hover",s)),_=ut(m,Li(g,"hover",u)),y=ut(m,Li(g,"click",(e=>{0===e.button&&p(e)}))),v=ut(m,Li(g,"focus",s)),w=ut(m,Li(g,"focus",u)),x=ut(m,Li(g,"contextmenu",(e=>{e.preventDefault(),p(e)}))),A=ut(m,(e=>{const{code:n}=e;a.triggerKeys.includes(n)&&(e.preventDefault(),p(e))}));return t({triggerRef:h}),(e,t)=>(n(),O(d(Wo),{id:d(r),"virtual-ref":e.virtualRef,open:d(c),"virtual-triggering":e.virtualTriggering,class:B(d(o).e("trigger")),onBlur:d(w),onClick:d(y),onContextmenu:d(x),onFocus:d(v),onMouseenter:d(f),onMouseleave:d(_),onKeydown:d(A)},{default:L((()=>[M(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const Fi=E({name:"ElTooltipContent",inheritAttrs:!1}),Ui=E({...Fi,props:Ni,setup(e,{expose:t}){const a=e,{selector:o}=Eo(),i=Wt("tooltip"),r=l(null),u=l(!1),{controlled:p,id:m,open:g,trigger:f,onClose:_,onOpen:v,onShow:w,onHide:x,onBeforeShow:A,onBeforeHide:S}=b(Ti,void 0),C=y((()=>a.transition||`${i.namespace.value}-fade-in-linear`)),E=y((()=>a.persistent));k((()=>{u.value=!0}));const B=y((()=>!!d(E)||d(g))),T=y((()=>!a.disabled&&d(g))),N=y((()=>a.appendTo||o.value)),R=y((()=>{var e;return null!=(e=a.style)?e:{}})),I=y((()=>!d(g))),j=()=>{x()},P=()=>{if(d(p))return!0},F=ut(P,(()=>{a.enterable&&"hover"===d(f)&&v()})),U=ut(P,(()=>{"hover"===d(f)&&_()})),G=()=>{var e,n;null==(n=null==(e=r.value)?void 0:e.updatePopper)||n.call(e),null==A||A()},$=()=>{null==S||S()},V=()=>{w(),W=function(e,n,t={}){const{window:a=yt,ignore:o=[],capture:i=!0,detectIframe:r=!1}=t;if(!a)return;gt&&!wt&&(wt=!0,Array.from(a.document.body.children).forEach((e=>e.addEventListener("click",mt))));let l=!0;const c=e=>o.some((n=>{if("string"==typeof n)return Array.from(a.document.querySelectorAll(n)).some((n=>n===e.target||e.composedPath().includes(n)));{const t=bt(n);return t&&(e.target===t||e.composedPath().includes(t))}})),s=[vt(a,"click",(t=>{const a=bt(e);a&&a!==t.target&&!t.composedPath().includes(a)&&(0===t.detail&&(l=!c(t)),l?n(t):l=!0)}),{passive:!0,capture:i}),vt(a,"pointerdown",(n=>{const t=bt(e);t&&(l=!n.composedPath().includes(t)&&!c(n))}),{passive:!0}),r&&vt(a,"blur",(t=>{var o;const i=bt(e);"IFRAME"!==(null==(o=a.document.activeElement)?void 0:o.tagName)||(null==i?void 0:i.contains(a.document.activeElement))||n(t)}))].filter(Boolean);return()=>s.forEach((e=>e()))}(y((()=>{var e;return null==(e=r.value)?void 0:e.popperContentRef})),(()=>{if(d(p))return;"hover"!==d(f)&&_()}))},J=()=>{a.virtualTriggering||_()};let W;return h((()=>d(g)),(e=>{e||null==W||W()}),{flush:"post"}),h((()=>a.content),(()=>{var e,n;null==(n=null==(e=r.value)?void 0:e.updatePopper)||n.call(e)})),t({contentRef:r}),(e,t)=>(n(),O(H,{disabled:!e.teleported,to:d(N)},[z(K,{name:d(C),onAfterLeave:j,onBeforeEnter:G,onAfterEnter:V,onBeforeLeave:$},{default:L((()=>[d(B)?c((n(),O(d(Mi),q({key:0,id:d(m),ref_key:"contentRef",ref:r},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":d(I),"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,d(R)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:d(T),"z-index":e.zIndex,onMouseenter:d(F),onMouseleave:d(U),onBlur:J,onClose:d(_)}),{default:L((()=>[u.value?D("v-if",!0):M(e.$slots,"default",{key:0})])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[s,d(T)]]):D("v-if",!0)])),_:3},8,["name"])],8,["disabled","to"]))}});var Gi=Io(Ui,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const Ki=["innerHTML"],Hi={key:1},$i=E({name:"ElTooltip"}),Vi=E({...$i,props:zi,emits:Oi,setup(e,{expose:a,emit:o}){const r=e;Mo();const c=(e=>{const n=Ao(),t=Jt();return y((()=>d(e)||`${t.value}-id-${n.prefix}-${n.current++}`))})(),s=l(),u=l(),p=()=>{var e;const n=d(s);n&&(null==(e=n.popperInstanceRef)||e.update())},m=l(!1),g=l(),{show:f,hide:_,hasUpdateHandler:b}=Pi({indicator:m,toggleReason:g}),{onOpen:v,onClose:w}=(({showAfter:e,hideAfter:n,autoClose:t,open:a,close:o})=>{const{registerTimeout:i}=vo(),{registerTimeout:r,cancelTimeout:l}=vo();return{onOpen:n=>{i((()=>{a(n);const e=d(t);jt(e)&&e>0&&r((()=>{o(n)}),e)}),d(e))},onClose:e=>{l(),i((()=>{o(e)}),d(n))}}})({showAfter:G(r,"showAfter"),hideAfter:G(r,"hideAfter"),autoClose:G(r,"autoClose"),open:f,close:_}),x=y((()=>It(r.visible)&&!b.value));C(Ti,{controlled:x,id:c,open:$(m),trigger:G(r,"trigger"),onOpen:e=>{v(e)},onClose:e=>{w(e)},onToggle:e=>{d(m)?w(e):v(e)},onShow:()=>{o("show",g.value)},onHide:()=>{o("hide",g.value)},onBeforeShow:()=>{o("before-show",g.value)},onBeforeHide:()=>{o("before-hide",g.value)},updatePopper:p}),h((()=>r.disabled),(e=>{e&&m.value&&(m.value=!1)}));return V((()=>m.value&&_())),a({popperRef:s,contentRef:u,isFocusInsideContent:()=>{var e,n;const t=null==(n=null==(e=u.value)?void 0:e.contentRef)?void 0:n.popperContentRef;return t&&t.contains(document.activeElement)},updatePopper:p,onOpen:v,onClose:w,hide:_}),(e,a)=>(n(),O(d(Bi),{ref_key:"popperRef",ref:s,role:e.role},{default:L((()=>[z(Di,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:L((()=>[e.$slots.default?M(e.$slots,"default",{key:0}):D("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),z(Gi,{ref_key:"contentRef",ref:u,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:L((()=>[M(e.$slots,"content",{},(()=>[e.rawContent?(n(),t("span",{key:0,innerHTML:e.content},null,8,Ki)):(n(),t("span",Hi,i(e.content),1))])),e.showArrow?(n(),O(d(Uo),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):D("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}});const Ji=Ft(Io(Vi,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]));var Wi=Io(E({inheritAttrs:!1}),[["render",function(e,n,t,a,o,i){return M(e.$slots,"default")}],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);var Yi=Io(E({name:"ElCollectionItem",inheritAttrs:!1}),[["render",function(e,n,t,a,o,i){return M(e.$slots,"default")}],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const Zi=qt({trigger:Ri.trigger,effect:{...Ni.effect,default:"light"},type:{type:String},placement:{type:String,default:"bottom"},popperOptions:{type:Object,default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:[Number,String],default:0},maxHeight:{type:[Number,String],default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:Object},teleported:Ni.teleported});qt({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:Dt}}),qt({onKeydown:{type:Function}}),(e=>{const n=`El${e}Collection`,t=`${n}Item`,a=Symbol(n),o=Symbol(t),i={...Wi,name:n,setup(){const e=l(null),n=new Map;C(a,{itemMap:n,getItems:()=>{const t=d(e);if(!t)return[];const a=Array.from(t.querySelectorAll("[data-el-collection-item]"));return[...n.values()].sort(((e,n)=>a.indexOf(e.ref)-a.indexOf(n.ref)))},collectionRef:e})}},r={...Yi,name:t,setup(e,{attrs:n}){const t=l(null),i=b(a,void 0);C(o,{collectionItemRef:t}),w((()=>{const e=d(t);e&&i.itemMap.set(e,{ref:e,...n})})),k((()=>{const e=d(t);i.itemMap.delete(e)}))}}})("Dropdown");const Qi=qt({trigger:Ri.trigger,placement:Zi.placement,disabled:Ri.disabled,visible:Ni.visible,transition:Ni.transition,popperOptions:Zi.popperOptions,tabindex:Zi.tabindex,content:Ni.content,popperStyle:Ni.popperStyle,popperClass:Ni.popperClass,enterable:{...Ni.enterable,default:!0},effect:{...Ni.effect,default:"light"},teleported:Ni.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),Xi={"update:visible":e=>It(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},er=E({name:"ElPopover"}),nr=E({...er,props:Qi,emits:Xi,setup(e,{expose:a,emit:r}){const c=e,s=y((()=>c["onUpdate:visible"])),u=Wt("popover"),p=l(),h=y((()=>{var e;return null==(e=d(p))?void 0:e.popperRef})),m=y((()=>[{width:zt(c.width)},c.popperStyle])),g=y((()=>[u.b(),c.popperClass,{[u.m("plain")]:!!c.content}])),f=y((()=>c.transition===`${u.namespace.value}-fade-in-linear`)),_=()=>{r("before-enter")},b=()=>{r("before-leave")},v=()=>{r("after-enter")},w=()=>{r("update:visible",!1),r("after-leave")};return a({popperRef:h,hide:()=>{var e;null==(e=p.value)||e.hide()}}),(e,a)=>(n(),O(d(Ji),q({ref_key:"tooltipRef",ref:p},e.$attrs,{trigger:e.trigger,placement:e.placement,disabled:e.disabled,visible:e.visible,transition:e.transition,"popper-options":e.popperOptions,tabindex:e.tabindex,content:e.content,offset:e.offset,"show-after":e.showAfter,"hide-after":e.hideAfter,"auto-close":e.autoClose,"show-arrow":e.showArrow,"aria-label":e.title,effect:e.effect,enterable:e.enterable,"popper-class":d(g),"popper-style":d(m),teleported:e.teleported,persistent:e.persistent,"gpu-acceleration":d(f),"onUpdate:visible":d(s),onBeforeShow:_,onBeforeHide:b,onShow:v,onHide:w}),{content:L((()=>[e.title?(n(),t("div",{key:0,class:B(d(u).e("title")),role:"title"},i(e.title),3)):D("v-if",!0),M(e.$slots,"default",{},(()=>[o(i(e.content),1)]))])),default:L((()=>[e.$slots.reference?M(e.$slots,"reference",{key:0}):D("v-if",!0)])),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});const tr=(e,n)=>{const t=n.arg||n.value,a=null==t?void 0:t.popperRef;a&&(a.triggerRef=e)};var ar,or;const ir=Ft(Io(nr,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]),{directive:(or="popover",(ar={mounted(e,n){tr(e,n)},updated(e,n){tr(e,n)}}).install=e=>{e.directive(or,ar)},ar)}),rr=[{capital:"Kabul",code:"af",continent:"Asia",flag_1x1:"af",iso:!0,name:"Afghanistan"},{capital:"Mariehamn",code:"ax",continent:"Europe",flag_1x1:"ax",iso:!0,name:"Aland Islands"},{capital:"Tirana",code:"al",continent:"Europe",flag_1x1:"al",iso:!0,name:"Albania"},{capital:"Algiers",code:"dz",continent:"Africa",flag_1x1:"dz",iso:!0,name:"Algeria"},{capital:"Pago Pago",code:"as",continent:"Oceania",flag_1x1:"as",iso:!0,name:"American Samoa"},{capital:"Andorra la Vella",code:"ad",continent:"Europe",flag_1x1:"ad",iso:!0,name:"Andorra"},{capital:"Luanda",code:"ao",continent:"Africa",flag_1x1:"ao",iso:!0,name:"Angola"},{capital:"The Valley",code:"ai",continent:"North America",flag_1x1:"ai",iso:!0,name:"Anguilla"},{code:"aq",flag_1x1:"aq",iso:!0,name:"Antarctica"},{capital:"St. John's",code:"ag",continent:"North America",flag_1x1:"ag",iso:!0,name:"Antigua and Barbuda"},{capital:"Buenos Aires",code:"ar",continent:"South America",flag_1x1:"ar",iso:!0,name:"Argentina"},{capital:"Yerevan",code:"am",continent:"Asia",flag_1x1:"am",iso:!0,name:"Armenia"},{capital:"Oranjestad",code:"aw",continent:"South America",flag_1x1:"aw",iso:!0,name:"Aruba"},{capital:"Georgetown",code:"ac",continent:"Africa",flag_1x1:"ac",iso:!1,name:"Ascension Island"},{capital:"Canberra",code:"au",continent:"Oceania",flag_1x1:"au",iso:!0,name:"Australia"},{capital:"Vienna",code:"at",continent:"Europe",flag_1x1:"at",iso:!0,name:"Austria"},{capital:"Baku",code:"az",continent:"Asia",flag_1x1:"az",iso:!0,name:"Azerbaijan"},{capital:"Nassau",code:"bs",continent:"North America",flag_1x1:"bs",iso:!0,name:"Bahamas"},{capital:"Manama",code:"bh",continent:"Asia",flag_1x1:"bh",iso:!0,name:"Bahrain"},{capital:"Dhaka",code:"bd",continent:"Asia",flag_1x1:"bd",iso:!0,name:"Bangladesh"},{capital:"Bridgetown",code:"bb",continent:"North America",flag_1x1:"bb",iso:!0,name:"Barbados"},{capital:"Minsk",code:"by",continent:"Europe",flag_1x1:"by",iso:!0,name:"Belarus"},{capital:"Brussels",code:"be",continent:"Europe",flag_1x1:"be",iso:!0,name:"Belgium"},{capital:"Belmopan",code:"bz",continent:"North America",flag_1x1:"bz",iso:!0,name:"Belize"},{capital:"Porto-Novo",code:"bj",continent:"Africa",flag_1x1:"bj",iso:!0,name:"Benin"},{capital:"Hamilton",code:"bm",continent:"North America",flag_1x1:"bm",iso:!0,name:"Bermuda"},{capital:"Thimphu",code:"bt",continent:"Asia",flag_1x1:"bt",iso:!0,name:"Bhutan"},{capital:"Sucre",code:"bo",continent:"South America",flag_1x1:"bo",iso:!0,name:"Bolivia"},{capital:"Kralendijk",code:"bq",continent:"South America",flag_1x1:"bq",iso:!0,name:"Bonaire, Sint Eustatius and Saba"},{capital:"Sarajevo",code:"ba",continent:"Europe",flag_1x1:"ba",iso:!0,name:"Bosnia and Herzegovina"},{capital:"Gaborone",code:"bw",continent:"Africa",flag_1x1:"bw",iso:!0,name:"Botswana"},{code:"bv",flag_1x1:"bv",iso:!0,name:"Bouvet Island"},{capital:"Brasília",code:"br",continent:"South America",flag_1x1:"br",iso:!0,name:"Brazil"},{capital:"Diego Garcia",code:"io",continent:"Asia",flag_1x1:"io",iso:!0,name:"British Indian Ocean Territory"},{capital:"Bandar Seri Begawan",code:"bn",continent:"Asia",flag_1x1:"bn",iso:!0,name:"Brunei Darussalam"},{capital:"Sofia",code:"bg",continent:"Europe",flag_1x1:"bg",iso:!0,name:"Bulgaria"},{capital:"Ouagadougou",code:"bf",continent:"Africa",flag_1x1:"bf",iso:!0,name:"Burkina Faso"},{capital:"Bujumbura",code:"bi",continent:"Africa",flag_1x1:"bi",iso:!0,name:"Burundi"},{capital:"Praia",code:"cv",continent:"Africa",flag_1x1:"cv",iso:!0,name:"Cabo Verde"},{capital:"Phnom Penh",code:"kh",continent:"Asia",flag_1x1:"kh",iso:!0,name:"Cambodia"},{capital:"Yaoundé",code:"cm",continent:"Africa",flag_1x1:"cm",iso:!0,name:"Cameroon"},{capital:"Ottawa",code:"ca",continent:"North America",flag_1x1:"ca",iso:!0,name:"Canada"},{code:"ic",flag_1x1:"ic",iso:!1,name:"Canary Islands"},{code:"es-ct",flag_1x1:"es-ct",iso:!1,name:"Catalonia"},{code:"es-pv",flag_1x1:"es-pv",iso:!1,name:"Basque Country"},{capital:"George Town",code:"ky",continent:"North America",flag_1x1:"ky",iso:!0,name:"Cayman Islands"},{capital:"Bangui",code:"cf",continent:"Africa",flag_1x1:"cf",iso:!0,name:"Central African Republic"},{code:"cefta",flag_1x1:"cefta",iso:!1,name:"Central European Free Trade Agreement"},{code:"ea",flag_1x1:"ea",iso:!1,name:"Ceuta & Melilla"},{capital:"N'Djamena",code:"td",continent:"Africa",flag_1x1:"td",iso:!0,name:"Chad"},{capital:"Santiago",code:"cl",continent:"South America",flag_1x1:"cl",iso:!0,name:"Chile"},{capital:"Beijing",code:"cn",continent:"Asia",flag_1x1:"cn",iso:!0,name:"China"},{capital:"Flying Fish Cove",code:"cx",continent:"Asia",flag_1x1:"cx",iso:!0,name:"Christmas Island"},{code:"cp",flag_1x1:"cp",iso:!1,name:"Clipperton Island"},{capital:"West Island",code:"cc",continent:"Asia",flag_1x1:"cc",iso:!0,name:"Cocos (Keeling) Islands"},{capital:"Bogotá",code:"co",continent:"South America",flag_1x1:"co",iso:!0,name:"Colombia"},{capital:"Moroni",code:"km",continent:"Africa",flag_1x1:"km",iso:!0,name:"Comoros"},{capital:"Avarua",code:"ck",continent:"Oceania",flag_1x1:"ck",iso:!0,name:"Cook Islands"},{capital:"San José",code:"cr",continent:"North America",flag_1x1:"cr",iso:!0,name:"Costa Rica"},{capital:"Zagreb",code:"hr",continent:"Europe",flag_1x1:"hr",iso:!0,name:"Croatia"},{capital:"Havana",code:"cu",continent:"North America",flag_1x1:"cu",iso:!0,name:"Cuba"},{capital:"Willemstad",code:"cw",continent:"South America",flag_1x1:"cw",iso:!0,name:"Curaçao"},{capital:"Nicosia",code:"cy",continent:"Europe",flag_1x1:"cy",iso:!0,name:"Cyprus"},{capital:"Prague",code:"cz",continent:"Europe",flag_1x1:"cz",iso:!0,name:"Czech Republic"},{capital:"Yamoussoukro",code:"ci",continent:"Africa",flag_1x1:"ci",iso:!0,name:"Côte d'Ivoire"},{capital:"Kinshasa",code:"cd",continent:"Africa",flag_1x1:"cd",iso:!0,name:"Democratic Republic of the Congo"},{capital:"Copenhagen",code:"dk",continent:"Europe",flag_1x1:"dk",iso:!0,name:"Denmark"},{code:"dg",flag_1x1:"dg",iso:!1,name:"Diego Garcia"},{capital:"Djibouti",code:"dj",continent:"Africa",flag_1x1:"dj",iso:!0,name:"Djibouti"},{capital:"Roseau",code:"dm",continent:"North America",flag_1x1:"dm",iso:!0,name:"Dominica"},{capital:"Santo Domingo",code:"do",continent:"North America",flag_1x1:"do",iso:!0,name:"Dominican Republic"},{capital:"Quito",code:"ec",continent:"South America",flag_1x1:"ec",iso:!0,name:"Ecuador"},{capital:"Cairo",code:"eg",continent:"Africa",flag_1x1:"eg",iso:!0,name:"Egypt"},{capital:"San Salvador",code:"sv",continent:"North America",flag_1x1:"sv",iso:!0,name:"El Salvador"},{capital:"London",code:"gb-eng",continent:"Europe",flag_1x1:"gb-eng",iso:!1,name:"England"},{capital:"Malabo",code:"gq",continent:"Africa",flag_1x1:"gq",iso:!0,name:"Equatorial Guinea"},{capital:"Asmara",code:"er",continent:"Africa",flag_1x1:"er",iso:!0,name:"Eritrea"},{capital:"Tallinn",code:"ee",continent:"Europe",flag_1x1:"ee",iso:!0,name:"Estonia"},{capital:"Lobamba, Mbabane",code:"sz",continent:"Africa",flag_1x1:"sz",iso:!0,name:"Eswatini"},{capital:"Addis Ababa",code:"et",continent:"Africa",flag_1x1:"et",iso:!0,name:"Ethiopia"},{code:"eu",flag_1x1:"eu",iso:!1,name:"Europe"},{capital:"Stanley",code:"fk",continent:"South America",flag_1x1:"fk",iso:!0,name:"Falkland Islands"},{capital:"Tórshavn",code:"fo",continent:"Europe",flag_1x1:"fo",iso:!0,name:"Faroe Islands"},{capital:"Palikir",code:"fm",continent:"Oceania",flag_1x1:"fm",iso:!0,name:"Federated States of Micronesia"},{capital:"Suva",code:"fj",continent:"Oceania",flag_1x1:"fj",iso:!0,name:"Fiji"},{capital:"Helsinki",code:"fi",continent:"Europe",flag_1x1:"fi",iso:!0,name:"Finland"},{capital:"Paris",code:"fr",continent:"Europe",flag_1x1:"fr",iso:!0,name:"France"},{capital:"Cayenne",code:"gf",continent:"South America",flag_1x1:"gf",iso:!0,name:"French Guiana"},{capital:"Papeete",code:"pf",continent:"Oceania",flag_1x1:"pf",iso:!0,name:"French Polynesia"},{capital:"Saint-Pierre, Réunion",code:"tf",continent:"Africa",flag_1x1:"tf",iso:!0,name:"French Southern Territories"},{capital:"Libreville",code:"ga",continent:"Africa",flag_1x1:"ga",iso:!0,name:"Gabon"},{code:"es-ga",flag_1x1:"es-ga",iso:!1,name:"Galicia"},{capital:"Banjul",code:"gm",continent:"Africa",flag_1x1:"gm",iso:!0,name:"Gambia"},{capital:"Tbilisi",code:"ge",continent:"Asia",flag_1x1:"ge",iso:!0,name:"Georgia"},{capital:"Berlin",code:"de",continent:"Europe",flag_1x1:"de",iso:!0,name:"Germany"},{capital:"Accra",code:"gh",continent:"Africa",flag_1x1:"gh",iso:!0,name:"Ghana"},{capital:"Gibraltar",code:"gi",continent:"Europe",flag_1x1:"gi",iso:!0,name:"Gibraltar"},{capital:"Athens",code:"gr",continent:"Europe",flag_1x1:"gr",iso:!0,name:"Greece"},{capital:"Nuuk",code:"gl",continent:"North America",flag_1x1:"gl",iso:!0,name:"Greenland"},{capital:"St. George's",code:"gd",continent:"North America",flag_1x1:"gd",iso:!0,name:"Grenada"},{capital:"Basse-Terre",code:"gp",continent:"North America",flag_1x1:"gp",iso:!0,name:"Guadeloupe"},{capital:"Hagåtña",code:"gu",continent:"Oceania",flag_1x1:"gu",iso:!0,name:"Guam"},{capital:"Guatemala City",code:"gt",continent:"North America",flag_1x1:"gt",iso:!0,name:"Guatemala"},{capital:"Saint Peter Port",code:"gg",continent:"Europe",flag_1x1:"gg",iso:!0,name:"Guernsey"},{capital:"Conakry",code:"gn",continent:"Africa",flag_1x1:"gn",iso:!0,name:"Guinea"},{capital:"Bissau",code:"gw",continent:"Africa",flag_1x1:"gw",iso:!0,name:"Guinea-Bissau"},{capital:"Georgetown",code:"gy",continent:"South America",flag_1x1:"gy",iso:!0,name:"Guyana"},{capital:"Port-au-Prince",code:"ht",continent:"North America",flag_1x1:"ht",iso:!0,name:"Haiti"},{code:"hm",flag_1x1:"hm",iso:!0,name:"Heard Island and McDonald Islands"},{capital:"Vatican City",code:"va",continent:"Europe",flag_1x1:"va",iso:!0,name:"Holy See"},{capital:"Tegucigalpa",code:"hn",continent:"North America",flag_1x1:"hn",iso:!0,name:"Honduras"},{capital:"Hong Kong",code:"hk",continent:"Asia",flag_1x1:"hk",iso:!0,name:"Hong Kong"},{capital:"Budapest",code:"hu",continent:"Europe",flag_1x1:"hu",iso:!0,name:"Hungary"},{capital:"Reykjavik",code:"is",continent:"Europe",flag_1x1:"is",iso:!0,name:"Iceland"},{capital:"New Delhi",code:"in",continent:"Asia",flag_1x1:"in",iso:!0,name:"India"},{capital:"Jakarta",code:"id",continent:"Asia",flag_1x1:"id",iso:!0,name:"Indonesia"},{capital:"Tehran",code:"ir",continent:"Asia",flag_1x1:"ir",iso:!0,name:"Iran"},{capital:"Baghdad",code:"iq",continent:"Asia",flag_1x1:"iq",iso:!0,name:"Iraq"},{capital:"Dublin",code:"ie",continent:"Europe",flag_1x1:"ie",iso:!0,name:"Ireland"},{capital:"Douglas",code:"im",continent:"Europe",flag_1x1:"im",iso:!0,name:"Isle of Man"},{capital:"Jerusalem",code:"il",continent:"Asia",flag_1x1:"il",iso:!0,name:"Israel"},{capital:"Rome",code:"it",continent:"Europe",flag_1x1:"it",iso:!0,name:"Italy"},{capital:"Kingston",code:"jm",continent:"North America",flag_1x1:"jm",iso:!0,name:"Jamaica"},{capital:"Tokyo",code:"jp",continent:"Asia",flag_1x1:"jp",iso:!0,name:"Japan"},{capital:"Saint Helier",code:"je",continent:"Europe",flag_1x1:"je",iso:!0,name:"Jersey"},{capital:"Amman",code:"jo",continent:"Asia",flag_1x1:"jo",iso:!0,name:"Jordan"},{capital:"Astana",code:"kz",continent:"Asia",flag_1x1:"kz",iso:!0,name:"Kazakhstan"},{capital:"Nairobi",code:"ke",continent:"Africa",flag_1x1:"ke",iso:!0,name:"Kenya"},{capital:"South Tarawa",code:"ki",continent:"Oceania",flag_1x1:"ki",iso:!0,name:"Kiribati"},{capital:"Pristina",code:"xk",continent:"Europe",flag_1x1:"xk",iso:!1,name:"Kosovo"},{capital:"Kuwait City",code:"kw",continent:"Asia",flag_1x1:"kw",iso:!0,name:"Kuwait"},{capital:"Bishkek",code:"kg",continent:"Asia",flag_1x1:"kg",iso:!0,name:"Kyrgyzstan"},{capital:"Vientiane",code:"la",continent:"Asia",flag_1x1:"la",iso:!0,name:"Laos"},{capital:"Riga",code:"lv",continent:"Europe",flag_1x1:"lv",iso:!0,name:"Latvia"},{capital:"Beirut",code:"lb",continent:"Asia",flag_1x1:"lb",iso:!0,name:"Lebanon"},{capital:"Maseru",code:"ls",continent:"Africa",flag_1x1:"ls",iso:!0,name:"Lesotho"},{capital:"Monrovia",code:"lr",continent:"Africa",flag_1x1:"lr",iso:!0,name:"Liberia"},{capital:"Tripoli",code:"ly",continent:"Africa",flag_1x1:"ly",iso:!0,name:"Libya"},{capital:"Vaduz",code:"li",continent:"Europe",flag_1x1:"li",iso:!0,name:"Liechtenstein"},{capital:"Vilnius",code:"lt",continent:"Europe",flag_1x1:"lt",iso:!0,name:"Lithuania"},{capital:"Luxembourg City",code:"lu",continent:"Europe",flag_1x1:"lu",iso:!0,name:"Luxembourg"},{capital:"Macau",code:"mo",continent:"Asia",flag_1x1:"mo",iso:!0,name:"Macau"},{capital:"Antananarivo",code:"mg",continent:"Africa",flag_1x1:"mg",iso:!0,name:"Madagascar"},{capital:"Lilongwe",code:"mw",continent:"Africa",flag_1x1:"mw",iso:!0,name:"Malawi"},{capital:"Kuala Lumpur",code:"my",continent:"Asia",flag_1x1:"my",iso:!0,name:"Malaysia"},{capital:"Malé",code:"mv",continent:"Asia",flag_1x1:"mv",iso:!0,name:"Maldives"},{capital:"Bamako",code:"ml",continent:"Africa",flag_1x1:"ml",iso:!0,name:"Mali"},{capital:"Valletta",code:"mt",continent:"Europe",flag_1x1:"mt",iso:!0,name:"Malta"},{capital:"Majuro",code:"mh",continent:"Oceania",flag_1x1:"mh",iso:!0,name:"Marshall Islands"},{capital:"Fort-de-France",code:"mq",continent:"North America",flag_1x1:"mq",iso:!0,name:"Martinique"},{capital:"Nouakchott",code:"mr",continent:"Africa",flag_1x1:"mr",iso:!0,name:"Mauritania"},{capital:"Port Louis",code:"mu",continent:"Africa",flag_1x1:"mu",iso:!0,name:"Mauritius"},{capital:"Mamoudzou",code:"yt",continent:"Africa",flag_1x1:"yt",iso:!0,name:"Mayotte"},{capital:"Mexico City",code:"mx",continent:"North America",flag_1x1:"mx",iso:!0,name:"Mexico"},{capital:"Chișinău",code:"md",continent:"Europe",flag_1x1:"md",iso:!0,name:"Moldova"},{capital:"Monaco",code:"mc",continent:"Europe",flag_1x1:"mc",iso:!0,name:"Monaco"},{capital:"Ulaanbaatar",code:"mn",continent:"Asia",flag_1x1:"mn",iso:!0,name:"Mongolia"},{capital:"Podgorica",code:"me",continent:"Europe",flag_1x1:"me",iso:!0,name:"Montenegro"},{capital:"Little Bay, Brades, Plymouth",code:"ms",continent:"North America",flag_1x1:"ms",iso:!0,name:"Montserrat"},{capital:"Rabat",code:"ma",continent:"Africa",flag_1x1:"ma",iso:!0,name:"Morocco"},{capital:"Maputo",code:"mz",continent:"Africa",flag_1x1:"mz",iso:!0,name:"Mozambique"},{capital:"Naypyidaw",code:"mm",continent:"Asia",flag_1x1:"mm",iso:!0,name:"Myanmar"},{capital:"Windhoek",code:"na",continent:"Africa",flag_1x1:"na",iso:!0,name:"Namibia"},{capital:"Yaren District",code:"nr",continent:"Oceania",flag_1x1:"nr",iso:!0,name:"Nauru"},{capital:"Kathmandu",code:"np",continent:"Asia",flag_1x1:"np",iso:!0,name:"Nepal"},{capital:"Amsterdam",code:"nl",continent:"Europe",flag_1x1:"nl",iso:!0,name:"Netherlands"},{capital:"Nouméa",code:"nc",continent:"Oceania",flag_1x1:"nc",iso:!0,name:"New Caledonia"},{capital:"Wellington",code:"nz",continent:"Oceania",flag_1x1:"nz",iso:!0,name:"New Zealand"},{capital:"Managua",code:"ni",continent:"North America",flag_1x1:"ni",iso:!0,name:"Nicaragua"},{capital:"Niamey",code:"ne",continent:"Africa",flag_1x1:"ne",iso:!0,name:"Niger"},{capital:"Abuja",code:"ng",continent:"Africa",flag_1x1:"ng",iso:!0,name:"Nigeria"},{capital:"Alofi",code:"nu",continent:"Oceania",flag_1x1:"nu",iso:!0,name:"Niue"},{capital:"Kingston",code:"nf",continent:"Oceania",flag_1x1:"nf",iso:!0,name:"Norfolk Island"},{capital:"Pyongyang",code:"kp",continent:"Asia",flag_1x1:"kp",iso:!0,name:"North Korea"},{capital:"Skopje",code:"mk",continent:"Europe",flag_1x1:"mk",iso:!0,name:"North Macedonia"},{capital:"Belfast",code:"gb-nir",continent:"Europe",flag_1x1:"gb-nir",iso:!1,name:"Northern Ireland"},{capital:"Saipan",code:"mp",continent:"Oceania",flag_1x1:"mp",iso:!0,name:"Northern Mariana Islands"},{capital:"Oslo",code:"no",continent:"Europe",flag_1x1:"no",iso:!0,name:"Norway"},{capital:"Muscat",code:"om",continent:"Asia",flag_1x1:"om",iso:!0,name:"Oman"},{capital:"Islamabad",code:"pk",continent:"Asia",flag_1x1:"pk",iso:!0,name:"Pakistan"},{capital:"Ngerulmud",code:"pw",continent:"Oceania",flag_1x1:"pw",iso:!0,name:"Palau"},{capital:"Panama City",code:"pa",continent:"North America",flag_1x1:"pa",iso:!0,name:"Panama"},{capital:"Port Moresby",code:"pg",continent:"Oceania",flag_1x1:"pg",iso:!0,name:"Papua New Guinea"},{capital:"Asunción",code:"py",continent:"South America",flag_1x1:"py",iso:!0,name:"Paraguay"},{capital:"Lima",code:"pe",continent:"South America",flag_1x1:"pe",iso:!0,name:"Peru"},{capital:"Manila",code:"ph",continent:"Asia",flag_1x1:"ph",iso:!0,name:"Philippines"},{capital:"Adamstown",code:"pn",continent:"Oceania",flag_1x1:"pn",iso:!0,name:"Pitcairn"},{capital:"Warsaw",code:"pl",continent:"Europe",flag_1x1:"pl",iso:!0,name:"Poland"},{capital:"Lisbon",code:"pt",continent:"Europe",flag_1x1:"pt",iso:!0,name:"Portugal"},{capital:"San Juan",code:"pr",continent:"North America",flag_1x1:"pr",iso:!0,name:"Puerto Rico"},{capital:"Doha",code:"qa",continent:"Asia",flag_1x1:"qa",iso:!0,name:"Qatar"},{capital:"Brazzaville",code:"cg",continent:"Africa",flag_1x1:"cg",iso:!0,name:"Republic of the Congo"},{capital:"Bucharest",code:"ro",continent:"Europe",flag_1x1:"ro",iso:!0,name:"Romania"},{capital:"Moscow",code:"ru",continent:"Europe",flag_1x1:"ru",iso:!0,name:"Russia"},{capital:"Kigali",code:"rw",continent:"Africa",flag_1x1:"rw",iso:!0,name:"Rwanda"},{capital:"Saint-Denis",code:"re",continent:"Africa",flag_1x1:"re",iso:!0,name:"Réunion"},{capital:"Gustavia",code:"bl",continent:"North America",flag_1x1:"bl",iso:!0,name:"Saint Barthélemy"},{capital:"Jamestown",code:"sh",continent:"Africa",flag_1x1:"sh",iso:!0,name:"Saint Helena, Ascension and Tristan da Cunha"},{capital:"Basseterre",code:"kn",continent:"North America",flag_1x1:"kn",iso:!0,name:"Saint Kitts and Nevis"},{capital:"Castries",code:"lc",continent:"North America",flag_1x1:"lc",iso:!0,name:"Saint Lucia"},{capital:"Marigot",code:"mf",continent:"North America",flag_1x1:"mf",iso:!0,name:"Saint Martin"},{capital:"Saint-Pierre",code:"pm",continent:"North America",flag_1x1:"pm",iso:!0,name:"Saint Pierre and Miquelon"},{capital:"Kingstown",code:"vc",continent:"North America",flag_1x1:"vc",iso:!0,name:"Saint Vincent and the Grenadines"},{capital:"Apia",code:"ws",continent:"Oceania",flag_1x1:"ws",iso:!0,name:"Samoa"},{capital:"San Marino",code:"sm",continent:"Europe",flag_1x1:"sm",iso:!0,name:"San Marino"},{capital:"São Tomé",code:"st",continent:"Africa",flag_1x1:"st",iso:!0,name:"Sao Tome and Principe"},{capital:"Riyadh",code:"sa",continent:"Asia",flag_1x1:"sa",iso:!0,name:"Saudi Arabia"},{capital:"Edinburgh",code:"gb-sct",continent:"Europe",flag_1x1:"gb-sct",iso:!1,name:"Scotland"},{capital:"Dakar",code:"sn",continent:"Africa",flag_1x1:"sn",iso:!0,name:"Senegal"},{capital:"Belgrade",code:"rs",continent:"Europe",flag_1x1:"rs",iso:!0,name:"Serbia"},{capital:"Victoria",code:"sc",continent:"Africa",flag_1x1:"sc",iso:!0,name:"Seychelles"},{capital:"Freetown",code:"sl",continent:"Africa",flag_1x1:"sl",iso:!0,name:"Sierra Leone"},{capital:"Singapore",code:"sg",continent:"Asia",flag_1x1:"sg",iso:!0,name:"Singapore"},{capital:"Philipsburg",code:"sx",continent:"North America",flag_1x1:"sx",iso:!0,name:"Sint Maarten"},{capital:"Bratislava",code:"sk",continent:"Europe",flag_1x1:"sk",iso:!0,name:"Slovakia"},{capital:"Ljubljana",code:"si",continent:"Europe",flag_1x1:"si",iso:!0,name:"Slovenia"},{capital:"Honiara",code:"sb",continent:"Oceania",flag_1x1:"sb",iso:!0,name:"Solomon Islands"},{capital:"Mogadishu",code:"so",continent:"Africa",flag_1x1:"so",iso:!0,name:"Somalia"},{capital:"Pretoria",code:"za",continent:"Africa",flag_1x1:"za",iso:!0,name:"South Africa"},{capital:"King Edward Point",code:"gs",continent:"Antarctica",flag_1x1:"gs",iso:!0,name:"South Georgia and the South Sandwich Islands"},{capital:"Seoul",code:"kr",continent:"Asia",flag_1x1:"kr",iso:!0,name:"South Korea"},{capital:"Juba",code:"ss",continent:"Africa",flag_1x1:"ss",iso:!0,name:"South Sudan"},{capital:"Madrid",code:"es",continent:"Europe",flag_1x1:"es",iso:!0,name:"Spain"},{capital:"Sri Jayawardenepura Kotte, Colombo",code:"lk",continent:"Asia",flag_1x1:"lk",iso:!0,name:"Sri Lanka"},{capital:"Ramallah",code:"ps",continent:"Asia",flag_1x1:"ps",iso:!0,name:"State of Palestine"},{capital:"Khartoum",code:"sd",continent:"Africa",flag_1x1:"sd",iso:!0,name:"Sudan"},{capital:"Paramaribo",code:"sr",continent:"South America",flag_1x1:"sr",iso:!0,name:"Suriname"},{capital:"Longyearbyen",code:"sj",continent:"Europe",flag_1x1:"sj",iso:!0,name:"Svalbard and Jan Mayen"},{capital:"Stockholm",code:"se",continent:"Europe",flag_1x1:"se",iso:!0,name:"Sweden"},{capital:"Bern",code:"ch",continent:"Europe",flag_1x1:"ch",iso:!0,name:"Switzerland"},{capital:"Damascus",code:"sy",continent:"Asia",flag_1x1:"sy",iso:!0,name:"Syria"},{capital:"Taipei",code:"tw",continent:"Asia",flag_1x1:"tw",iso:!0,name:"Taiwan"},{capital:"Dushanbe",code:"tj",continent:"Asia",flag_1x1:"tj",iso:!0,name:"Tajikistan"},{capital:"Dodoma",code:"tz",continent:"Africa",flag_1x1:"tz",iso:!0,name:"Tanzania"},{capital:"Bangkok",code:"th",continent:"Asia",flag_1x1:"th",iso:!0,name:"Thailand"},{capital:"Dili",code:"tl",continent:"Asia",flag_1x1:"tl",iso:!0,name:"Timor-Leste"},{capital:"Lomé",code:"tg",continent:"Africa",flag_1x1:"tg",iso:!0,name:"Togo"},{capital:"Nukunonu, Atafu,Tokelau",code:"tk",continent:"Oceania",flag_1x1:"tk",iso:!0,name:"Tokelau"},{capital:"Nukuʻalofa",code:"to",continent:"Oceania",flag_1x1:"to",iso:!0,name:"Tonga"},{capital:"Port of Spain",code:"tt",continent:"South America",flag_1x1:"tt",iso:!0,name:"Trinidad and Tobago"},{code:"ta",flag_1x1:"ta",iso:!1,name:"Tristan da Cunha"},{capital:"Tunis",code:"tn",continent:"Africa",flag_1x1:"tn",iso:!0,name:"Tunisia"},{capital:"Ankara",code:"tr",continent:"Asia",flag_1x1:"tr",iso:!0,name:"Turkey"},{capital:"Ashgabat",code:"tm",continent:"Asia",flag_1x1:"tm",iso:!0,name:"Turkmenistan"},{capital:"Cockburn Town",code:"tc",continent:"North America",flag_1x1:"tc",iso:!0,name:"Turks and Caicos Islands"},{capital:"Funafuti",code:"tv",continent:"Oceania",flag_1x1:"tv",iso:!0,name:"Tuvalu"},{capital:"Kampala",code:"ug",continent:"Africa",flag_1x1:"ug",iso:!0,name:"Uganda"},{capital:"Kiev",code:"ua",continent:"Europe",flag_1x1:"ua",iso:!0,name:"Ukraine"},{capital:"Abu Dhabi",code:"ae",continent:"Asia",flag_1x1:"ae",iso:!0,name:"United Arab Emirates"},{capital:"London",code:"gb",continent:"Europe",flag_1x1:"gb",iso:!0,name:"United Kingdom"},{code:"un",flag_1x1:"un",iso:!1,name:"United Nations"},{capital:"Washington, D.C.",code:"um",continent:"North America",flag_1x1:"um",iso:!0,name:"United States Minor Outlying Islands"},{capital:"Washington, D.C.",code:"us",continent:"North America",flag_1x1:"us",iso:!0,name:"United States of America"},{code:"xx",flag_1x1:"xx",iso:!1,name:"Unknown"},{capital:"Montevideo",code:"uy",continent:"South America",flag_1x1:"uy",iso:!0,name:"Uruguay"},{capital:"Tashkent",code:"uz",continent:"Asia",flag_1x1:"uz",iso:!0,name:"Uzbekistan"},{capital:"Port Vila",code:"vu",continent:"Oceania",flag_1x1:"vu",iso:!0,name:"Vanuatu"},{capital:"Caracas",code:"ve",continent:"South America",flag_1x1:"ve",iso:!0,name:"Venezuela"},{capital:"Hanoi",code:"vn",continent:"Asia",flag_1x1:"vn",iso:!0,name:"Vietnam"},{capital:"Road Town",code:"vg",continent:"North America",flag_1x1:"vg",iso:!0,name:"Virgin Islands (British)"},{capital:"Charlotte Amalie",code:"vi",continent:"North America",flag_1x1:"vi",iso:!0,name:"Virgin Islands (U.S.)"},{capital:"Cardiff",code:"gb-wls",continent:"Europe",flag_1x1:"gb-wls",iso:!1,name:"Wales"},{capital:"Mata-Utu",code:"wf",continent:"Oceania",flag_1x1:"wf",iso:!0,name:"Wallis and Futuna"},{capital:"Laayoune",code:"eh",continent:"Africa",flag_1x1:"eh",iso:!0,name:"Western Sahara"},{capital:"Sana'a",code:"ye",continent:"Asia",flag_1x1:"ye",iso:!0,name:"Yemen"},{capital:"Lusaka",code:"zm",continent:"Africa",flag_1x1:"zm",iso:!0,name:"Zambia"},{capital:"Harare",code:"zw",continent:"Africa",flag_1x1:"zw",iso:!0,name:"Zimbabwe"}],lr={af:"Afghanistan",ax:"Åland Islands",al:"Albania",dz:"Algeria",as:"American Samoa",ad:"Andorra",ao:"Angola",ai:"Anguilla",ag:"Antigua & Barbuda",ar:"Argentina",am:"Armenia",aw:"Aruba",ac:"Ascension Island",au:"Australia",at:"Austria",az:"Azerbaijan",bs:"Bahamas",bh:"Bahrain",bd:"Bangladesh",bb:"Barbados",by:"Belarus",be:"Belgium",bz:"Belize",bj:"Benin",bm:"Bermuda",bt:"Bhutan",bo:"Bolivia",ba:"Bosnia & Herzegovina",bw:"Botswana",br:"Brazil",io:"British Indian Ocean Territory",vg:"British Virgin Islands",bn:"Brunei",bg:"Bulgaria",bf:"Burkina Faso",bi:"Burundi",kh:"Cambodia",cm:"Cameroon",ca:"Canada",cv:"Cape Verde",bq:"Caribbean Netherlands",ky:"Cayman Islands",cf:"Central African Republic",td:"Chad",cl:"Chile",cn:"China",cx:"Christmas Island",cc:"Cocos (Keeling) Islands",co:"Colombia",km:"Comoros",cg:"Congo - Brazzaville",cd:"Congo - Kinshasa",ck:"Cook Islands",cr:"Costa Rica",ci:"Côte d’Ivoire",hr:"Croatia",cu:"Cuba",cw:"Curaçao",cy:"Cyprus",cz:"Czechia",dk:"Denmark",dj:"Djibouti",dm:"Dominica",do:"Dominican Republic",ec:"Ecuador",eg:"Egypt",sv:"El Salvador",gq:"Equatorial Guinea",er:"Eritrea",ee:"Estonia",sz:"Eswatini",et:"Ethiopia",fk:"Falkland Islands",fo:"Faroe Islands",fj:"Fiji",fi:"Finland",fr:"France",gf:"French Guiana",pf:"French Polynesia",ga:"Gabon",gm:"Gambia",ge:"Georgia",de:"Germany",gh:"Ghana",gi:"Gibraltar",gr:"Greece",gl:"Greenland",gd:"Grenada",gp:"Guadeloupe",gu:"Guam",gt:"Guatemala",gg:"Guernsey",gn:"Guinea",gw:"Guinea-Bissau",gy:"Guyana",ht:"Haiti",hn:"Honduras",hk:"Hong Kong SAR China",hu:"Hungary",is:"Iceland",in:"India",id:"Indonesia",ir:"Iran",iq:"Iraq",ie:"Ireland",im:"Isle of Man",il:"Israel",it:"Italy",jm:"Jamaica",jp:"Japan",je:"Jersey",jo:"Jordan",kz:"Kazakhstan",ke:"Kenya",ki:"Kiribati",xk:"Kosovo",kw:"Kuwait",kg:"Kyrgyzstan",la:"Laos",lv:"Latvia",lb:"Lebanon",ls:"Lesotho",lr:"Liberia",ly:"Libya",li:"Liechtenstein",lt:"Lithuania",lu:"Luxembourg",mo:"Macao SAR China",mg:"Madagascar",mw:"Malawi",my:"Malaysia",mv:"Maldives",ml:"Mali",mt:"Malta",mh:"Marshall Islands",mq:"Martinique",mr:"Mauritania",mu:"Mauritius",yt:"Mayotte",mx:"Mexico",fm:"Micronesia",md:"Moldova",mc:"Monaco",mn:"Mongolia",me:"Montenegro",ms:"Montserrat",ma:"Morocco",mz:"Mozambique",mm:"Myanmar (Burma)",na:"Namibia",nr:"Nauru",np:"Nepal",nl:"Netherlands",nc:"New Caledonia",nz:"New Zealand",ni:"Nicaragua",ne:"Niger",ng:"Nigeria",nu:"Niue",nf:"Norfolk Island",kp:"North Korea",mk:"North Macedonia",mp:"Northern Mariana Islands",no:"Norway",om:"Oman",pk:"Pakistan",pw:"Palau",ps:"Palestinian Territories",pa:"Panama",pg:"Papua New Guinea",py:"Paraguay",pe:"Peru",ph:"Philippines",pl:"Poland",pt:"Portugal",pr:"Puerto Rico",qa:"Qatar",re:"Réunion",ro:"Romania",ru:"Russia",rw:"Rwanda",ws:"Samoa",sm:"San Marino",st:"São Tomé & Príncipe",sa:"Saudi Arabia",sn:"Senegal",rs:"Serbia",sc:"Seychelles",sl:"Sierra Leone",sg:"Singapore",sx:"Sint Maarten",sk:"Slovakia",si:"Slovenia",sb:"Solomon Islands",so:"Somalia",za:"South Africa",kr:"South Korea",ss:"South Sudan",es:"Spain",lk:"Sri Lanka",bl:"St. Barthélemy",sh:"St. Helena",kn:"St. Kitts & Nevis",lc:"St. Lucia",mf:"St. Martin",pm:"St. Pierre & Miquelon",vc:"St. Vincent & Grenadines",sd:"Sudan",sr:"Suriname",sj:"Svalbard & Jan Mayen",se:"Sweden",ch:"Switzerland",sy:"Syria",tw:"Taiwan",tj:"Tajikistan",tz:"Tanzania",th:"Thailand",tl:"Timor-Leste",tg:"Togo",tk:"Tokelau",to:"Tonga",tt:"Trinidad & Tobago",tn:"Tunisia",tr:"Turkey",tm:"Turkmenistan",tc:"Turks & Caicos Islands",tv:"Tuvalu",vi:"U.S. Virgin Islands",ug:"Uganda",ua:"Ukraine",ae:"United Arab Emirates",gb:"United Kingdom",us:"United States",uy:"Uruguay",uz:"Uzbekistan",vu:"Vanuatu",va:"Vatican City",ve:"Venezuela",vn:"Vietnam",wf:"Wallis & Futuna",ye:"Yemen",zm:"Zambia",zw:"Zimbabwe"},cr={ac:"阿森松岛",ad:"安道尔",ae:"阿拉伯联合酋长国",af:"阿富汗",ag:"安提瓜和巴布达",ai:"安圭拉",al:"阿尔巴尼亚",am:"亚美尼亚",ao:"安哥拉",aq:"南极洲",ar:"阿根廷",as:"美属萨摩亚",at:"奥地利",au:"澳大利亚",aw:"阿鲁巴",ax:"奥兰群岛",az:"阿塞拜疆",ba:"波斯尼亚和黑塞哥维那",bb:"巴巴多斯",bd:"孟加拉国",be:"比利时",bf:"布基纳法索",bg:"保加利亚",bh:"巴林",bi:"布隆迪",bj:"贝宁",bl:"圣巴泰勒米",bm:"百慕大",bn:"文莱",bo:"玻利维亚",bq:"荷属加勒比区",br:"巴西",bs:"巴哈马",bt:"不丹",bv:"布韦岛",bw:"博茨瓦纳",by:"白俄罗斯",bz:"伯利兹",ca:"加拿大",cc:"科科斯(基林)群岛",cd:"刚果(金)",cf:"中非共和国",cg:"刚果(布)",ch:"瑞士",ci:"科特迪瓦",ck:"库克群岛",cl:"智利",cm:"喀麦隆",cn:"中国",co:"哥伦比亚",cp:"克利珀顿岛",cr:"哥斯达黎加",cu:"古巴",cv:"佛得角",cw:"库拉索",cx:"圣诞岛",cy:"塞浦路斯",cz:"捷克",de:"德国",dg:"迪戈加西亚岛",dj:"吉布提",dk:"丹麦",dm:"多米尼克",do:"多米尼加共和国",dz:"阿尔及利亚",ea:"休达及梅利利亚",ec:"厄瓜多尔",ee:"爱沙尼亚",eg:"埃及",eh:"西撒哈拉",er:"厄立特里亚",es:"西班牙",et:"埃塞俄比亚",eu:"欧盟",ez:"欧元区",fi:"芬兰",fj:"斐济",fk:"福克兰群岛",fm:"密克罗尼西亚",fo:"法罗群岛",fr:"法国",ga:"加蓬",gb:"英国",gd:"格林纳达",ge:"格鲁吉亚",gf:"法属圭亚那",gg:"根西岛",gh:"加纳",gi:"直布罗陀",gl:"格陵兰",gm:"冈比亚",gn:"几内亚",gp:"瓜德罗普",gq:"赤道几内亚",gr:"希腊",gs:"南乔治亚和南桑威奇群岛",gt:"危地马拉",gu:"关岛",gw:"几内亚比绍",gy:"圭亚那",hk:"中国香港特别行政区",hm:"赫德岛和麦克唐纳群岛",hn:"洪都拉斯",hr:"克罗地亚",ht:"海地",hu:"匈牙利",ic:"加纳利群岛",id:"印度尼西亚",ie:"爱尔兰",il:"以色列",im:"马恩岛",in:"印度",io:"英属印度洋领地",iq:"伊拉克",ir:"伊朗",is:"冰岛",it:"意大利",je:"泽西岛",jm:"牙买加",jo:"约旦",jp:"日本",ke:"肯尼亚",kg:"吉尔吉斯斯坦",kh:"柬埔寨",ki:"基里巴斯",km:"科摩罗",kn:"圣基茨和尼维斯",kp:"朝鲜",kr:"韩国",kw:"科威特",ky:"开曼群岛",kz:"哈萨克斯坦",la:"老挝",lb:"黎巴嫩",lc:"圣卢西亚",li:"列支敦士登",lk:"斯里兰卡",lr:"利比里亚",ls:"莱索托",lt:"立陶宛",lu:"卢森堡",lv:"拉脱维亚",ly:"利比亚",ma:"摩洛哥",mc:"摩纳哥",md:"摩尔多瓦",me:"黑山",mf:"法属圣马丁",mg:"马达加斯加",mh:"马绍尔群岛",mk:"北马其顿",ml:"马里",mm:"缅甸",mn:"蒙古",mo:"中国澳门特别行政区",mp:"北马里亚纳群岛",mq:"马提尼克",mr:"毛里塔尼亚",ms:"蒙特塞拉特",mt:"马耳他",mu:"毛里求斯",mv:"马尔代夫",mw:"马拉维",mx:"墨西哥",my:"马来西亚",mz:"莫桑比克",na:"纳米比亚",nc:"新喀里多尼亚",ne:"尼日尔",nf:"诺福克岛",ng:"尼日利亚",ni:"尼加拉瓜",nl:"荷兰",no:"挪威",np:"尼泊尔",nr:"瑙鲁",nu:"纽埃",nz:"新西兰",om:"阿曼",pa:"巴拿马",pe:"秘鲁",pf:"法属波利尼西亚",pg:"巴布亚新几内亚",ph:"菲律宾",pk:"巴基斯坦",pl:"波兰",pm:"圣皮埃尔和密克隆群岛",pn:"皮特凯恩群岛",pr:"波多黎各",ps:"巴勒斯坦领土",pt:"葡萄牙",pw:"帕劳",py:"巴拉圭",qa:"卡塔尔",qo:"大洋洲边远群岛",re:"留尼汪",ro:"罗马尼亚",rs:"塞尔维亚",ru:"俄罗斯",rw:"卢旺达",sa:"沙特阿拉伯",sb:"所罗门群岛",sc:"塞舌尔",sd:"苏丹",se:"瑞典",sg:"新加坡",sh:"圣赫勒拿",si:"斯洛文尼亚",sj:"斯瓦尔巴和扬马延",sk:"斯洛伐克",sl:"塞拉利昂",sm:"圣马力诺",sn:"塞内加尔",so:"索马里",sr:"苏里南",ss:"南苏丹",st:"圣多美和普林西比",sv:"萨尔瓦多",sx:"荷属圣马丁",sy:"叙利亚",sz:"斯威士兰",ta:"特里斯坦-达库尼亚群岛",tc:"特克斯和凯科斯群岛",td:"乍得",tf:"法属南部领地",tg:"多哥",th:"泰国",tj:"塔吉克斯坦",tk:"托克劳",tl:"东帝汶",tm:"土库曼斯坦",tn:"突尼斯",to:"汤加",tr:"土耳其",tt:"特立尼达和多巴哥",tv:"图瓦卢",tw:"台湾",tz:"坦桑尼亚",ua:"乌克兰",ug:"乌干达",um:"美国本土外小岛屿",un:"联合国",us:"美国",uy:"乌拉圭",uz:"乌兹别克斯坦",va:"梵蒂冈",vc:"圣文森特和格林纳丁斯",ve:"委内瑞拉",vg:"英属维尔京群岛",vi:"美属维尔京群岛",vn:"越南",vu:"瓦努阿图",wf:"瓦利斯和富图纳",ws:"萨摩亚",xa:"伪地区",xb:"伪双向语言地区",xk:"科索沃",ye:"也门",yt:"马约特",za:"南非",zm:"赞比亚",zw:"津巴布韦",zz:"未知地区"},sr={ac:"247",ad:"376",ae:"971",af:"93",ag:"1",ai:"1",al:"355",am:"374",ao:"244",aq:"672",ar:"54",as:"1",at:"43",au:"61",aw:"297",az:"994",ba:"387",bb:"1",bd:"880",be:"32",bf:"226",bg:"359",bh:"973",bi:"257",bj:"229",bl:"590",bm:"1",bn:"673",bo:"591",bq:"599",br:"55",bs:"1",bt:"975",bw:"267",by:"375",bz:"501",ca:"1",cc:"61",cd:"243",cf:"236",cg:"242",ch:"41",ci:"225",ck:"682",cl:"56",cm:"237",cn:"86",co:"57",cr:"506",cu:"53",cv:"238",cw:"5999",cx:"61",cy:"537",cz:"420",de:"49",dj:"253",dk:"45",dm:"1",do:"1",dz:"213",ec:"593",ee:"372",eg:"20",eh:"210",er:"291",es:"34",et:"251",fi:"358",fj:"679",fk:"500",fm:"691",fo:"298",fr:"33",ga:"241",gb:"44",gd:"1",ge:"995",gf:"594",gg:"44",gh:"233",gi:"350",gl:"299",gm:"220",gn:"224",gp:"590",gq:"240",gr:"30",gs:"500",gt:"502",gu:"1",gw:"245",gy:"595",hk:"852",hn:"504",hr:"385",ht:"509",hu:"36",id:"62",ie:"353",il:"972",im:"44",in:"91",io:"246",iq:"964",ir:"98",is:"354",it:"39",je:"44",jm:"1",jo:"962",jp:"81",ke:"254",kg:"996",kh:"855",ki:"686",km:"269",kn:"1",kp:"850",kr:"82",kw:"965",ky:"345",kz:"77",la:"856",lb:"961",lc:"1",li:"423",lk:"94",lr:"231",ls:"266",lt:"370",lu:"352",lv:"371",ly:"218",ma:"212",mc:"377",md:"373",me:"382",mf:"590",mg:"261",mh:"692",mk:"389",ml:"223",mm:"95",mn:"976",mo:"853",mp:"1",mq:"596",mr:"222",ms:"1",mt:"356",mu:"230",mv:"960",mw:"265",mx:"52",my:"60",mz:"258",na:"264",nc:"687",ne:"227",nf:"672",ng:"234",ni:"505",nl:"31",no:"47",np:"977",nr:"674",nu:"683",nz:"64",om:"968",pa:"507",pe:"51",pf:"689",pg:"675",ph:"63",pk:"92",pl:"48",pm:"508",pn:"872",pr:"1",ps:"970",pt:"351",pw:"680",py:"595",qa:"974",re:"262",ro:"40",rs:"381",ru:"7",rw:"250",sa:"966",sb:"677",sc:"248",sd:"249",se:"46",sg:"65",sh:"290",si:"386",sj:"47",sk:"421",sl:"232",sm:"378",sn:"221",so:"252",sr:"597",ss:"211",st:"239",sv:"503",sx:"599",sy:"963",sz:"268",tc:"1",td:"235",tg:"228",th:"66",tj:"992",tk:"690",tl:"670",tm:"993",tn:"216",to:"676",tr:"90",tt:"1",tv:"688",tw:"886",tz:"255",ua:"380",ug:"256",us:"1",uy:"598",uz:"998",va:"379",vc:"1",ve:"58",vg:"1",vi:"1",vn:"84",vu:"678",wf:"681",ws:"685",ye:"967",yt:"262",za:"27",zm:"260",zw:"263"},ur={af:"افغانستان",ax:"Åland",al:"Shqipëri",dz:"الجزائر",as:"American Samoa",ad:"Andorra",ao:"Angola",ai:"Anguilla",ag:"Antigua & Barbuda",ar:"Argentina",am:"Հայաստան",aw:"Aruba",ac:"Ascension Island",au:"Australia",at:"Österreich",az:"Azərbaycan",bs:"Bahamas",bh:"البحرين",bd:"বাংলাদেশ",bb:"Barbados",by:"Беларусь",be:"België",bz:"Belize",bj:"Bénin",bm:"Bermuda",bt:"འབྲུག",bo:"Bolivia",ba:"Bosna i Hercegovina",bw:"Botswana",br:"Brasil",io:"British Indian Ocean Territory",vg:"British Virgin Islands",bn:"Brunei",bg:"България",bf:"Burkina Faso",bi:"Burundi",kh:"កម្ពុជា",cm:"Cameroon",ca:"Canada",cv:"Cabo Verde",bq:"Caribisch Nederland",ky:"Cayman Islands",cf:"République centrafricaine",td:"Tchad",cl:"Chile",cn:"中国",cx:"Christmas Island",cc:"Kepulauan Cocos (Keeling)",co:"Colombia",km:"جزر القمر",cg:"Congo-Brazzaville",cd:"Congo-Kinshasa",ck:"Cook Islands",cr:"Costa Rica",ci:"Côte d’Ivoire",hr:"Hrvatska",cu:"Cuba",cw:"Curaçao",cy:"Κύπρος",cz:"Česko",dk:"Danmark",dj:"Djibouti",dm:"Dominica",do:"República Dominicana",ec:"Ecuador",eg:"مصر",sv:"El Salvador",gq:"Guinea Ecuatorial",er:"إريتريا",ee:"Eesti",sz:"Eswatini",et:"ኢትዮጵያ",fk:"Falkland Islands",fo:"Føroyar",fj:"Fiji",fi:"Suomi",fr:"France",gf:"Guyane française",pf:"Polynésie française",ga:"Gabon",gm:"Gambia",ge:"საქართველო",de:"Deutschland",gh:"Ghana",gi:"Gibraltar",gr:"Ελλάδα",gl:"Kalaallit Nunaat",gd:"Grenada",gp:"Guadeloupe",gu:"Guam",gt:"Guatemala",gg:"Guernsey",gn:"Guinée",gw:"Guiné-Bissau",gy:"Guyana",ht:"Haïti",hn:"Honduras",hk:"中國香港特別行政區",hu:"Magyarország",is:"Ísland",in:"India",id:"Indonesia",ir:"ایران",iq:"العراق",ie:"Ireland",im:"Isle of Man",il:"ישראל",it:"Italia",jm:"Jamaica",jp:"日本",je:"Jersey",jo:"الأردن",kz:"Қазақстан",ke:"Kenya",ki:"Kiribati",xk:"Kosovë",kw:"الكويت",kg:"Кыргызстан",la:"ລາວ",lv:"Latvija",lb:"لبنان",ls:"Lesotho",lr:"Liberia",ly:"ليبيا",li:"Liechtenstein",lt:"Lietuva",lu:"Lëtzebuerg",mo:"中國澳門特別行政區",mg:"Madagascar",mw:"Malawi",my:"Malaysia",mv:"Maldives",ml:"Mali",mt:"Malta",mh:"Marshall Islands",mq:"Martinique",mr:"موريتانيا",mu:"Mauritius",yt:"Mayotte",mx:"México",fm:"Micronesia",md:"Republica Moldova",mc:"Monaco",mn:"Монгол",me:"Црна Гора",ms:"Montserrat",ma:"المغرب",mz:"Moçambique",mm:"မြန်မာ",na:"Namibia",nr:"Nauru",np:"नेपाल",nl:"Nederland",nc:"Nouvelle-Calédonie",nz:"New Zealand",ni:"Nicaragua",ne:"Niger",ng:"Nigeria",nu:"Niue",nf:"Norfolk Island",kp:"조선민주주의인민공화국",mk:"Северна Македонија",mp:"Northern Mariana Islands",no:"Norge",om:"عُمان",pk:"پاکستان",pw:"Palau",ps:"الأراضي الفلسطينية",pa:"Panamá",pg:"Papua New Guinea",py:"Paraguay",pe:"Perú",ph:"Philippines",pl:"Polska",pt:"Portugal",pr:"Puerto Rico",qa:"قطر",re:"La Réunion",ro:"România",ru:"Россия",rw:"U Rwanda",ws:"Samoa",sm:"San Marino",st:"São Tomé e Príncipe",sa:"المملكة العربية السعودية",sn:"Sénégal",rs:"Србија",sc:"Seychelles",sl:"Sierra Leone",sg:"Singapore",sx:"Sint-Maarten",sk:"Slovensko",si:"Slovenija",sb:"Solomon Islands",so:"Soomaaliya",za:"iNingizimu Afrika",kr:"대한민국",ss:"South Sudan",es:"España",lk:"ශ්‍රී ලංකාව",bl:"Saint-Barthélemy",sh:"St. Helena",kn:"St. Kitts & Nevis",lc:"St. Lucia",mf:"Saint-Martin",pm:"Saint-Pierre-et-Miquelon",vc:"St. Vincent & Grenadines",sd:"السودان",sr:"Suriname",sj:"Шпицберген и Ян-Майен",se:"Sverige",ch:"Schweiz",sy:"سوريا",tw:"台灣",tj:"Тоҷикистон",tz:"Tanzania",th:"ไทย",tl:"Timor-Leste",tg:"Togo",tk:"Tokelau",to:"Tonga",tt:"Trinidad & Tobago",tn:"تونس",tr:"Türkiye",tm:"Türkmenistan",tc:"Turks & Caicos Islands",tv:"Tuvalu",vi:"U.S. Virgin Islands",ug:"Uganda",ua:"Україна",ae:"الإمارات العربية المتحدة",gb:"United Kingdom",us:"United States",uy:"Uruguay",uz:"Oʻzbekiston",vu:"Vanuatu",va:"Città del Vaticano",ve:"Venezuela",vn:"Việt Nam",wf:"Wallis-et-Futuna",ye:"اليمن",zm:"Zambia",zw:"Zimbabwe"};var pr={},dr={};Object.defineProperty(dr,"__esModule",{value:!0}),dr.default=[{alpha2:"US",alpha3:"USA",country_code:"1",country_name:"United States",mobile_begin_with:["201","202","203","205","206","207","208","209","210","212","213","214","215","216","217","218","219","220","223","224","225","227","228","229","231","234","239","240","248","251","252","253","254","256","260","262","267","269","270","272","274","276","278","281","283","301","302","303","304","305","307","308","309","310","312","313","314","315","316","317","318","319","320","321","323","325","327","330","331","332","334","336","337","339","341","346","347","351","352","360","361","364","369","380","385","386","401","402","404","405","406","407","408","409","410","412","413","414","415","417","419","423","424","425","430","432","434","435","440","441","442","443","445","447","458","463","464","469","470","475","478","479","480","484","501","502","503","504","505","507","508","509","510","512","513","515","516","517","518","520","530","531","534","539","540","541","551","557","559","561","562","563","564","567","570","571","572","573","574","575","580","582","585","586","601","602","603","605","606","607","608","609","610","612","614","615","616","617","618","619","620","623","626","627","628","629","630","631","636","640","641","646","650","651","656","657","659","660","661","662","667","669","678","679","680","681","682","689","701","702","703","704","706","707","708","712","713","714","715","716","717","718","719","720","724","725","726","727","730","731","732","734","737","740","743","747","752","754","757","760","762","763","764","765","769","770","771","772","773","774","775","779","781","785","786","787","801","802","803","804","805","806","808","810","812","813","814","815","816","817","818","820","828","830","831","832","835","838","840","843","845","847","848","850","854","856","857","858","859","860","862","863","864","865","870","872","878","901","903","904","906","907","908","909","910","912","913","914","915","916","917","918","919","920","925","927","928","929","930","931","934","935","936","937","938","939","940","941","945","947","949","951","952","954","956","957","959","970","971","972","973","975","978","979","980","984","985","986","989","888","800","833","844","855","866","877","279","340","983","448","943","363","326","839","826","948"],phone_number_lengths:[10]},{alpha2:"AW",alpha3:"ABW",country_code:"297",country_name:"Aruba",mobile_begin_with:["5","6","7","9"],phone_number_lengths:[7]},{alpha2:"AF",alpha3:"AFG",country_code:"93",country_name:"Afghanistan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"AO",alpha3:"AGO",country_code:"244",country_name:"Angola",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"AI",alpha3:"AIA",country_code:"1",country_name:"Anguilla",mobile_begin_with:["2645","2647"],phone_number_lengths:[10]},{alpha2:"AX",alpha3:"ALA",country_code:"358",country_name:"Åland Islands",mobile_begin_with:["18"],phone_number_lengths:[6,7,8]},{alpha2:"AL",alpha3:"ALB",country_code:"355",country_name:"Albania",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"AD",alpha3:"AND",country_code:"376",country_name:"Andorra",mobile_begin_with:["3","4","6"],phone_number_lengths:[6]},{alpha2:"AE",alpha3:"ARE",country_code:"971",country_name:"United Arab Emirates",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"AR",alpha3:"ARG",country_code:"54",country_name:"Argentina",mobile_begin_with:["1","2","3"],phone_number_lengths:[8,9,10,11,12]},{alpha2:"AM",alpha3:"ARM",country_code:"374",country_name:"Armenia",mobile_begin_with:["3","4","5","7","9"],phone_number_lengths:[8]},{alpha2:"AS",alpha3:"ASM",country_code:"1",country_name:"American Samoa",mobile_begin_with:["684733","684258"],phone_number_lengths:[10]},{alpha2:"AG",alpha3:"ATG",country_code:"1",country_name:"Antigua and Barbuda",mobile_begin_with:["2687"],phone_number_lengths:[10]},{alpha2:"AU",alpha3:"AUS",country_code:"61",country_name:"Australia",mobile_begin_with:["4"],phone_number_lengths:[9]},{alpha2:"AT",alpha3:"AUT",country_code:"43",country_name:"Austria",mobile_begin_with:["6"],phone_number_lengths:[10,11,12,13,14]},{alpha2:"AZ",alpha3:"AZE",country_code:"994",country_name:"Azerbaijan",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[9]},{alpha2:"BI",alpha3:"BDI",country_code:"257",country_name:"Burundi",mobile_begin_with:["7","29"],phone_number_lengths:[8]},{alpha2:"BE",alpha3:"BEL",country_code:"32",country_name:"Belgium",mobile_begin_with:["4","3"],phone_number_lengths:[9,8]},{alpha2:"BJ",alpha3:"BEN",country_code:"229",country_name:"Benin",mobile_begin_with:["4","6","9"],phone_number_lengths:[8]},{alpha2:"BF",alpha3:"BFA",country_code:"226",country_name:"Burkina Faso",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BD",alpha3:"BGD",country_code:"880",country_name:"Bangladesh",mobile_begin_with:["1"],phone_number_lengths:[8,9,10]},{alpha2:"BG",alpha3:"BGR",country_code:"359",country_name:"Bulgaria",mobile_begin_with:["87","88","89","98","99","43"],phone_number_lengths:[8,9]},{alpha2:"BH",alpha3:"BHR",country_code:"973",country_name:"Bahrain",mobile_begin_with:["3"],phone_number_lengths:[8]},{alpha2:"BS",alpha3:"BHS",country_code:"1",country_name:"Bahamas",mobile_begin_with:["242"],phone_number_lengths:[10]},{alpha2:"BA",alpha3:"BIH",country_code:"387",country_name:"Bosnia and Herzegovina",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"BY",alpha3:"BLR",country_code:"375",country_name:"Belarus",mobile_begin_with:["25","29","33","44"],phone_number_lengths:[9]},{alpha2:"BZ",alpha3:"BLZ",country_code:"501",country_name:"Belize",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"BM",alpha3:"BMU",country_code:"1",country_name:"Bermuda",mobile_begin_with:["4413","4415","4417"],phone_number_lengths:[10]},{alpha2:"BO",alpha3:"BOL",country_code:"591",country_name:"Bolivia",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"BR",alpha3:"BRA",country_code:"55",country_name:"Brazil",mobile_begin_with:["119","129","139","149","159","169","179","189","199","219","229","249","279","289","319","329","339","349","359","379","389","419","429","439","449","459","469","479","489","499","519","539","549","559","619","629","639","649","659","669","679","689","699","719","739","749","759","779","799","819","829","839","849","859","869","879","889","899","919","929","939","949","959","969","979","989","999"],phone_number_lengths:[10,11]},{alpha2:"BB",alpha3:"BRB",country_code:"1",country_name:"Barbados",mobile_begin_with:["246"],phone_number_lengths:[10]},{alpha2:"BN",alpha3:"BRN",country_code:"673",country_name:"Brunei Darussalam",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"BT",alpha3:"BTN",country_code:"975",country_name:"Bhutan",mobile_begin_with:["17"],phone_number_lengths:[8]},{alpha2:"BW",alpha3:"BWA",country_code:"267",country_name:"Botswana",mobile_begin_with:["71","72","73","74","75","76"],phone_number_lengths:[8]},{alpha2:"CF",alpha3:"CAF",country_code:"236",country_name:"Central African Republic",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"CA",alpha3:"CAN",country_code:"1",country_name:"Canada",mobile_begin_with:["204","226","236","249","250","263","289","306","343","354","365","367","368","403","416","418","431","437","438","450","468","474","506","514","519","548","579","581","584","587","600","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905","428","382"],phone_number_lengths:[10]},{alpha2:"CH",alpha3:"CHE",country_code:"41",country_name:"Switzerland",mobile_begin_with:["74","75","76","77","78","79"],phone_number_lengths:[9]},{alpha2:"CL",alpha3:"CHL",country_code:"56",country_name:"Chile",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"CN",alpha3:"CHN",country_code:"86",country_name:"China",mobile_begin_with:["13","14","15","17","18","19","16"],phone_number_lengths:[11]},{alpha2:"CI",alpha3:"CIV",country_code:"225",country_name:"Côte D'Ivoire",mobile_begin_with:["0","4","5","6","7","8"],phone_number_lengths:[10]},{alpha2:"CM",alpha3:"CMR",country_code:"237",country_name:"Cameroon",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"CD",alpha3:"COD",country_code:"243",country_name:"Congo, The Democratic Republic Of The",mobile_begin_with:["8","9"],phone_number_lengths:[9]},{alpha2:"CG",alpha3:"COG",country_code:"242",country_name:"Congo",mobile_begin_with:["0"],phone_number_lengths:[9]},{alpha2:"CK",alpha3:"COK",country_code:"682",country_name:"Cook Islands",mobile_begin_with:["5","7"],phone_number_lengths:[5]},{alpha2:"CO",alpha3:"COL",country_code:"57",country_name:"Colombia",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"CW",alpha3:"CUW",country_code:"5999",country_name:"Curaçao",mobile_begin_with:["5","6"],phone_number_lengths:[7]},{alpha2:"KM",alpha3:"COM",country_code:"269",country_name:"Comoros",mobile_begin_with:["3","76"],phone_number_lengths:[7]},{alpha2:"CV",alpha3:"CPV",country_code:"238",country_name:"Cape Verde",mobile_begin_with:["5","9"],phone_number_lengths:[7]},{alpha2:"CR",alpha3:"CRI",country_code:"506",country_name:"Costa Rica",mobile_begin_with:["5","6","7","8"],phone_number_lengths:[8]},{alpha2:"CU",alpha3:"CUB",country_code:"53",country_name:"Cuba",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"KY",alpha3:"CYM",country_code:"1",country_name:"Cayman Islands",mobile_begin_with:["345"],phone_number_lengths:[10]},{alpha2:"CY",alpha3:"CYP",country_code:"357",country_name:"Cyprus",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"CZ",alpha3:"CZE",country_code:"420",country_name:"Czech Republic",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"DE",alpha3:"DEU",country_code:"49",country_name:"Germany",mobile_begin_with:["15","16","17"],phone_number_lengths:[10,11]},{alpha2:"DJ",alpha3:"DJI",country_code:"253",country_name:"Djibouti",mobile_begin_with:["77"],phone_number_lengths:[8]},{alpha2:"DM",alpha3:"DMA",country_code:"1",country_name:"Dominica",mobile_begin_with:["767"],phone_number_lengths:[10]},{alpha2:"DK",alpha3:"DNK",country_code:"45",country_name:"Denmark",mobile_begin_with:["2","30","31","40","41","42","50","51","52","53","60","61","71","81","91","92","93"],phone_number_lengths:[8]},{alpha2:"DO",alpha3:"DOM",country_code:"1",country_name:"Dominican Republic",mobile_begin_with:["809","829","849"],phone_number_lengths:[10]},{alpha2:"DZ",alpha3:"DZA",country_code:"213",country_name:"Algeria",mobile_begin_with:["5","6","7"],phone_number_lengths:[9]},{alpha2:"EC",alpha3:"ECU",country_code:"593",country_name:"Ecuador",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"EG",alpha3:"EGY",country_code:"20",country_name:"Egypt",mobile_begin_with:["1"],phone_number_lengths:[10,8]},{alpha2:"ER",alpha3:"ERI",country_code:"291",country_name:"Eritrea",mobile_begin_with:["1","7","8"],phone_number_lengths:[7]},{alpha2:"ES",alpha3:"ESP",country_code:"34",country_name:"Spain",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"EE",alpha3:"EST",country_code:"372",country_name:"Estonia",mobile_begin_with:["5","81","82","83"],phone_number_lengths:[7,8]},{alpha2:"ET",alpha3:"ETH",country_code:"251",country_name:"Ethiopia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"FI",alpha3:"FIN",country_code:"358",country_name:"Finland",mobile_begin_with:["4","5"],phone_number_lengths:[9,10]},{alpha2:"FJ",alpha3:"FJI",country_code:"679",country_name:"Fiji",mobile_begin_with:["2","7","8","9"],phone_number_lengths:[7]},{alpha2:"FK",alpha3:"FLK",country_code:"500",country_name:"Falkland Islands (Malvinas)",mobile_begin_with:["5","6"],phone_number_lengths:[5]},{alpha2:"FR",alpha3:"FRA",country_code:"33",country_name:"France",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"FO",alpha3:"FRO",country_code:"298",country_name:"Faroe Islands",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"FM",alpha3:"FSM",country_code:"691",country_name:"Micronesia, Federated States Of",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"GA",alpha3:"GAB",country_code:"241",country_name:"Gabon",mobile_begin_with:["2","3","4","5","6","7"],phone_number_lengths:[7]},{alpha2:"GB",alpha3:"GBR",country_code:"44",country_name:"United Kingdom",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"GE",alpha3:"GEO",country_code:"995",country_name:"Georgia",mobile_begin_with:["5","7"],phone_number_lengths:[9]},{alpha2:"GH",alpha3:"GHA",country_code:"233",country_name:"Ghana",mobile_begin_with:["2","5"],phone_number_lengths:[9]},{alpha2:"GI",alpha3:"GIB",country_code:"350",country_name:"Gibraltar",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"GN",alpha3:"GIN",country_code:"224",country_name:"Guinea",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"GP",alpha3:"GLP",country_code:"590",country_name:"Guadeloupe",mobile_begin_with:["690"],phone_number_lengths:[9]},{alpha2:"GM",alpha3:"GMB",country_code:"220",country_name:"Gambia",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"GW",alpha3:"GNB",country_code:"245",country_name:"Guinea-Bissau",mobile_begin_with:["5","6","7"],phone_number_lengths:[7]},{alpha2:"GQ",alpha3:"GNQ",country_code:"240",country_name:"Equatorial Guinea",mobile_begin_with:["222","551"],phone_number_lengths:[9]},{alpha2:"GR",alpha3:"GRC",country_code:"30",country_name:"Greece",mobile_begin_with:["6"],phone_number_lengths:[10]},{alpha2:"GD",alpha3:"GRD",country_code:"1",country_name:"Grenada",mobile_begin_with:["473"],phone_number_lengths:[10]},{alpha2:"GL",alpha3:"GRL",country_code:"299",country_name:"Greenland",mobile_begin_with:["2","4","5"],phone_number_lengths:[6]},{alpha2:"GT",alpha3:"GTM",country_code:"502",country_name:"Guatemala",mobile_begin_with:["3","4","5"],phone_number_lengths:[8]},{alpha2:"GF",alpha3:"GUF",country_code:"594",country_name:"French Guiana",mobile_begin_with:["694"],phone_number_lengths:[9]},{alpha2:"GU",alpha3:"GUM",country_code:"1",country_name:"Guam",mobile_begin_with:["671"],phone_number_lengths:[10]},{alpha2:"GY",alpha3:"GUY",country_code:"592",country_name:"Guyana",mobile_begin_with:["6"],phone_number_lengths:[7]},{alpha2:"HK",alpha3:"HKG",country_code:"852",country_name:"Hong Kong",mobile_begin_with:["4","5","6","70","71","72","73","81","82","83","84","85","86","87","88","89","9"],phone_number_lengths:[8]},{alpha2:"HN",alpha3:"HND",country_code:"504",country_name:"Honduras",mobile_begin_with:["3","7","8","9"],phone_number_lengths:[8]},{alpha2:"HR",alpha3:"HRV",country_code:"385",country_name:"Croatia",mobile_begin_with:["9"],phone_number_lengths:[8,9]},{alpha2:"HT",alpha3:"HTI",country_code:"509",country_name:"Haiti",mobile_begin_with:["3","4"],phone_number_lengths:[8]},{alpha2:"HU",alpha3:"HUN",country_code:"36",country_name:"Hungary",mobile_begin_with:["20","30","31","50","70"],phone_number_lengths:[9]},{alpha2:"ID",alpha3:"IDN",country_code:"62",country_name:"Indonesia",mobile_begin_with:["8"],phone_number_lengths:[9,10,11,12]},{alpha2:"IN",alpha3:"IND",country_code:"91",country_name:"India",mobile_begin_with:["6","7","8","9"],phone_number_lengths:[10]},{alpha2:"IE",alpha3:"IRL",country_code:"353",country_name:"Ireland",mobile_begin_with:["82","83","84","85","86","87","88","89"],phone_number_lengths:[9]},{alpha2:"IR",alpha3:"IRN",country_code:"98",country_name:"Iran, Islamic Republic Of",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"IQ",alpha3:"IRQ",country_code:"964",country_name:"Iraq",mobile_begin_with:["7"],phone_number_lengths:[10]},{alpha2:"IS",alpha3:"ISL",country_code:"354",country_name:"Iceland",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"IL",alpha3:"ISR",country_code:"972",country_name:"Israel",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"IT",alpha3:"ITA",country_code:"39",country_name:"Italy",mobile_begin_with:["3"],phone_number_lengths:[9,10]},{alpha2:"JM",alpha3:"JAM",country_code:"1",country_name:"Jamaica",mobile_begin_with:["876"],phone_number_lengths:[10]},{alpha2:"JO",alpha3:"JOR",country_code:"962",country_name:"Jordan",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"JP",alpha3:"JPN",country_code:"81",country_name:"Japan",mobile_begin_with:["70","80","90"],phone_number_lengths:[10]},{alpha2:"KZ",alpha3:"KAZ",country_code:"7",country_name:"Kazakhstan",mobile_begin_with:["70","74","77"],phone_number_lengths:[10]},{alpha2:"KE",alpha3:"KEN",country_code:"254",country_name:"Kenya",mobile_begin_with:["7","1"],phone_number_lengths:[9]},{alpha2:"KG",alpha3:"KGZ",country_code:"996",country_name:"Kyrgyzstan",mobile_begin_with:["5","7","8","9"],phone_number_lengths:[9]},{alpha2:"KH",alpha3:"KHM",country_code:"855",country_name:"Cambodia",mobile_begin_with:["1","6","7","8","9"],phone_number_lengths:[8,9]},{alpha2:"KI",alpha3:"KIR",country_code:"686",country_name:"Kiribati",mobile_begin_with:["9","30"],phone_number_lengths:[5]},{alpha2:"KN",alpha3:"KNA",country_code:"1",country_name:"Saint Kitts And Nevis",mobile_begin_with:["869"],phone_number_lengths:[10]},{alpha2:"KR",alpha3:"KOR",country_code:"82",country_name:"Korea, Republic of",mobile_begin_with:["1"],phone_number_lengths:[9,10]},{alpha2:"KW",alpha3:"KWT",country_code:"965",country_name:"Kuwait",mobile_begin_with:["5","6","9"],phone_number_lengths:[8]},{alpha2:"LA",alpha3:"LAO",country_code:"856",country_name:"Lao People's Democratic Republic",mobile_begin_with:["20"],phone_number_lengths:[10]},{alpha2:"LB",alpha3:"LBN",country_code:"961",country_name:"Lebanon",mobile_begin_with:["3","7","8"],phone_number_lengths:[7,8]},{alpha2:"LR",alpha3:"LBR",country_code:"231",country_name:"Liberia",mobile_begin_with:["4","5","6","7"],phone_number_lengths:[7,8]},{alpha2:"LY",alpha3:"LBY",country_code:"218",country_name:"Libyan Arab Jamahiriya",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"LC",alpha3:"LCA",country_code:"1",country_name:"Saint Lucia",mobile_begin_with:["758"],phone_number_lengths:[10]},{alpha2:"LI",alpha3:"LIE",country_code:"423",country_name:"Liechtenstein",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"LK",alpha3:"LKA",country_code:"94",country_name:"Sri Lanka",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"LS",alpha3:"LSO",country_code:"266",country_name:"Lesotho",mobile_begin_with:["5","6"],phone_number_lengths:[8]},{alpha2:"LT",alpha3:"LTU",country_code:"370",country_name:"Lithuania",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"LU",alpha3:"LUX",country_code:"352",country_name:"Luxembourg",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"LV",alpha3:"LVA",country_code:"371",country_name:"Latvia",mobile_begin_with:["2"],phone_number_lengths:[8]},{alpha2:"MO",alpha3:"MAC",country_code:"853",country_name:"Macao",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MA",alpha3:"MAR",country_code:"212",country_name:"Morocco",mobile_begin_with:["6","7"],phone_number_lengths:[9]},{alpha2:"MC",alpha3:"MCO",country_code:"377",country_name:"Monaco",mobile_begin_with:["4","6"],phone_number_lengths:[8,9]},{alpha2:"MD",alpha3:"MDA",country_code:"373",country_name:"Moldova, Republic of",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MG",alpha3:"MDG",country_code:"261",country_name:"Madagascar",mobile_begin_with:["3"],phone_number_lengths:[9]},{alpha2:"MV",alpha3:"MDV",country_code:"960",country_name:"Maldives",mobile_begin_with:["7","9"],phone_number_lengths:[7]},{alpha2:"MX",alpha3:"MEX",country_code:"52",country_name:"Mexico",mobile_begin_with:[""],phone_number_lengths:[10,11]},{alpha2:"MH",alpha3:"MHL",country_code:"692",country_name:"Marshall Islands",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"MK",alpha3:"MKD",country_code:"389",country_name:"Macedonia, the Former Yugoslav Republic Of",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"ML",alpha3:"MLI",country_code:"223",country_name:"Mali",mobile_begin_with:["6","7"],phone_number_lengths:[8]},{alpha2:"MT",alpha3:"MLT",country_code:"356",country_name:"Malta",mobile_begin_with:["7","9"],phone_number_lengths:[8]},{alpha2:"MM",alpha3:"MMR",country_code:"95",country_name:"Myanmar",mobile_begin_with:["9"],phone_number_lengths:[8,9,10]},{alpha2:"ME",alpha3:"MNE",country_code:"382",country_name:"Montenegro",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"MN",alpha3:"MNG",country_code:"976",country_name:"Mongolia",mobile_begin_with:["5","8","9"],phone_number_lengths:[8]},{alpha2:"MP",alpha3:"MNP",country_code:"1",country_name:"Northern Mariana Islands",mobile_begin_with:["670"],phone_number_lengths:[10]},{alpha2:"MZ",alpha3:"MOZ",country_code:"258",country_name:"Mozambique",mobile_begin_with:["8"],phone_number_lengths:[9]},{alpha2:"MR",alpha3:"MRT",country_code:"222",country_name:"Mauritania",mobile_begin_with:[],phone_number_lengths:[8]},{alpha2:"MS",alpha3:"MSR",country_code:"1",country_name:"Montserrat",mobile_begin_with:["664"],phone_number_lengths:[10]},{alpha2:"MQ",alpha3:"MTQ",country_code:"596",country_name:"Martinique",mobile_begin_with:["696"],phone_number_lengths:[9]},{alpha2:"MU",alpha3:"MUS",country_code:"230",country_name:"Mauritius",mobile_begin_with:["5"],phone_number_lengths:[8]},{alpha2:"MW",alpha3:"MWI",country_code:"265",country_name:"Malawi",mobile_begin_with:["77","88","99"],phone_number_lengths:[9]},{alpha2:"MY",alpha3:"MYS",country_code:"60",country_name:"Malaysia",mobile_begin_with:["1","6"],phone_number_lengths:[9,10,8]},{alpha2:"YT",alpha3:"MYT",country_code:"262",country_name:"Mayotte",mobile_begin_with:["639"],phone_number_lengths:[9]},{alpha2:"NA",alpha3:"NAM",country_code:"264",country_name:"Namibia",mobile_begin_with:["60","81","82","85"],phone_number_lengths:[9]},{alpha2:"NC",alpha3:"NCL",country_code:"687",country_name:"New Caledonia",mobile_begin_with:["7","8","9"],phone_number_lengths:[6]},{alpha2:"NE",alpha3:"NER",country_code:"227",country_name:"Niger",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"NF",alpha3:"NFK",country_code:"672",country_name:"Norfolk Island",mobile_begin_with:["5","8"],phone_number_lengths:[5]},{alpha2:"NG",alpha3:"NGA",country_code:"234",country_name:"Nigeria",mobile_begin_with:["70","80","81","90","91"],phone_number_lengths:[10]},{alpha2:"NI",alpha3:"NIC",country_code:"505",country_name:"Nicaragua",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"NU",alpha3:"NIU",country_code:"683",country_name:"Niue",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"NL",alpha3:"NLD",country_code:"31",country_name:"Netherlands",mobile_begin_with:["6"],phone_number_lengths:[9]},{alpha2:"NO",alpha3:"NOR",country_code:"47",country_name:"Norway",mobile_begin_with:["4","9"],phone_number_lengths:[8]},{alpha2:"NP",alpha3:"NPL",country_code:"977",country_name:"Nepal",mobile_begin_with:["97","98"],phone_number_lengths:[10]},{alpha2:"NR",alpha3:"NRU",country_code:"674",country_name:"Nauru",mobile_begin_with:["555"],phone_number_lengths:[7]},{alpha2:"NZ",alpha3:"NZL",country_code:"64",country_name:"New Zealand",mobile_begin_with:["2"],phone_number_lengths:[8,9,10]},{alpha2:"OM",alpha3:"OMN",country_code:"968",country_name:"Oman",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"PK",alpha3:"PAK",country_code:"92",country_name:"Pakistan",mobile_begin_with:["3"],phone_number_lengths:[10]},{alpha2:"PA",alpha3:"PAN",country_code:"507",country_name:"Panama",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"PE",alpha3:"PER",country_code:"51",country_name:"Peru",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PH",alpha3:"PHL",country_code:"63",country_name:"Philippines",mobile_begin_with:["9"],phone_number_lengths:[10]},{alpha2:"PW",alpha3:"PLW",country_code:"680",country_name:"Palau",mobile_begin_with:[],phone_number_lengths:[7]},{alpha2:"PG",alpha3:"PNG",country_code:"675",country_name:"Papua New Guinea",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"PL",alpha3:"POL",country_code:"48",country_name:"Poland",mobile_begin_with:["4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"PR",alpha3:"PRI",country_code:"1",country_name:"Puerto Rico",mobile_begin_with:["787","939"],phone_number_lengths:[10]},{alpha2:"PT",alpha3:"PRT",country_code:"351",country_name:"Portugal",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PY",alpha3:"PRY",country_code:"595",country_name:"Paraguay",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"PS",alpha3:"PSE",country_code:"970",country_name:"Palestinian Territory, Occupied",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"PF",alpha3:"PYF",country_code:"689",country_name:"French Polynesia",mobile_begin_with:["8"],phone_number_lengths:[8]},{alpha2:"QA",alpha3:"QAT",country_code:"974",country_name:"Qatar",mobile_begin_with:["3","5","6","7"],phone_number_lengths:[8]},{alpha2:"RE",alpha3:"REU",country_code:"262",country_name:"Réunion",mobile_begin_with:["692","693"],phone_number_lengths:[9]},{alpha2:"RO",alpha3:"ROU",country_code:"40",country_name:"Romania",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"RU",alpha3:"RUS",country_code:"7",country_name:"Russian Federation",mobile_begin_with:["9","495","498","499","835"],phone_number_lengths:[10]},{alpha2:"RW",alpha3:"RWA",country_code:"250",country_name:"Rwanda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SA",alpha3:"SAU",country_code:"966",country_name:"Saudi Arabia",mobile_begin_with:["5"],phone_number_lengths:[9]},{alpha2:"SD",alpha3:"SDN",country_code:"249",country_name:"Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SS",alpha3:"SSD",country_code:"211",country_name:"South Sudan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SN",alpha3:"SEN",country_code:"221",country_name:"Senegal",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SG",alpha3:"SGP",country_code:"65",country_name:"Singapore",mobile_begin_with:["8","9"],phone_number_lengths:[8]},{alpha2:"SH",alpha3:"SHN",country_code:"290",country_name:"Saint Helena",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"SJ",alpha3:"SJM",country_code:"47",country_name:"Svalbard And Jan Mayen",mobile_begin_with:["79"],phone_number_lengths:[8]},{alpha2:"SB",alpha3:"SLB",country_code:"677",country_name:"Solomon Islands",mobile_begin_with:["7","8"],phone_number_lengths:[7]},{alpha2:"SL",alpha3:"SLE",country_code:"232",country_name:"Sierra Leone",mobile_begin_with:["21","25","30","33","34","40","44","50","55","76","77","78","79","88"],phone_number_lengths:[8]},{alpha2:"SV",alpha3:"SLV",country_code:"503",country_name:"El Salvador",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"SM",alpha3:"SMR",country_code:"378",country_name:"San Marino",mobile_begin_with:["3","6"],phone_number_lengths:[10]},{alpha2:"SO",alpha3:"SOM",country_code:"252",country_name:"Somalia",mobile_begin_with:["61","62","63","65","66","68","69","71","90"],phone_number_lengths:[9]},{alpha2:"SX",alpha3:"SXM",country_code:"1",country_name:"Sint Maarten",mobile_begin_with:["721"],phone_number_lengths:[10]},{alpha2:"PM",alpha3:"SPM",country_code:"508",country_name:"Saint Pierre And Miquelon",mobile_begin_with:["55","41"],phone_number_lengths:[6]},{alpha2:"RS",alpha3:"SRB",country_code:"381",country_name:"Serbia",mobile_begin_with:["6"],phone_number_lengths:[8,9]},{alpha2:"ST",alpha3:"STP",country_code:"239",country_name:"Sao Tome and Principe",mobile_begin_with:["98","99"],phone_number_lengths:[7]},{alpha2:"SR",alpha3:"SUR",country_code:"597",country_name:"Suriname",mobile_begin_with:["6","7","8"],phone_number_lengths:[7]},{alpha2:"SK",alpha3:"SVK",country_code:"421",country_name:"Slovakia",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"SI",alpha3:"SVN",country_code:"386",country_name:"Slovenia",mobile_begin_with:["3","4","5","6","7"],phone_number_lengths:[8]},{alpha2:"SE",alpha3:"SWE",country_code:"46",country_name:"Sweden",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"SC",alpha3:"SYC",country_code:"248",country_name:"Seychelles",mobile_begin_with:["2"],phone_number_lengths:[7]},{alpha2:"SY",alpha3:"SYR",country_code:"963",country_name:"Syrian Arab Republic",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TC",alpha3:"TCA",country_code:"1",country_name:"Turks and Caicos Islands",mobile_begin_with:["6492","6493","6494"],phone_number_lengths:[10]},{alpha2:"TD",alpha3:"TCD",country_code:"235",country_name:"Chad",mobile_begin_with:["6","7","9"],phone_number_lengths:[8]},{alpha2:"TG",alpha3:"TGO",country_code:"228",country_name:"Togo",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"TH",alpha3:"THA",country_code:"66",country_name:"Thailand",mobile_begin_with:["6","8","9"],phone_number_lengths:[9]},{alpha2:"TJ",alpha3:"TJK",country_code:"992",country_name:"Tajikistan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TK",alpha3:"TKL",country_code:"690",country_name:"Tokelau",mobile_begin_with:[],phone_number_lengths:[4]},{alpha2:"TM",alpha3:"TKM",country_code:"993",country_name:"Turkmenistan",mobile_begin_with:["6"],phone_number_lengths:[8]},{alpha2:"TL",alpha3:"TLS",country_code:"670",country_name:"Timor-Leste",mobile_begin_with:["7"],phone_number_lengths:[8]},{alpha2:"TO",alpha3:"TON",country_code:"676",country_name:"Tonga",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TT",alpha3:"TTO",country_code:"1",country_name:"Trinidad and Tobago",mobile_begin_with:["868"],phone_number_lengths:[10]},{alpha2:"TN",alpha3:"TUN",country_code:"216",country_name:"Tunisia",mobile_begin_with:["2","4","5","9"],phone_number_lengths:[8]},{alpha2:"TR",alpha3:"TUR",country_code:"90",country_name:"Turkey",mobile_begin_with:["5"],phone_number_lengths:[10]},{alpha2:"TV",alpha3:"TUV",country_code:"688",country_name:"Tuvalu",mobile_begin_with:[],phone_number_lengths:[5]},{alpha2:"TW",alpha3:"TWN",country_code:"886",country_name:"Taiwan",mobile_begin_with:["9"],phone_number_lengths:[9]},{alpha2:"TZ",alpha3:"TZA",country_code:"255",country_name:"Tanzania, United Republic of",mobile_begin_with:["7","6"],phone_number_lengths:[9]},{alpha2:"UG",alpha3:"UGA",country_code:"256",country_name:"Uganda",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"UA",alpha3:"UKR",country_code:"380",country_name:"Ukraine",mobile_begin_with:["39","50","63","66","67","68","73","9"],phone_number_lengths:[9]},{alpha2:"UY",alpha3:"URY",country_code:"598",country_name:"Uruguay",mobile_begin_with:["9"],phone_number_lengths:[8]},{alpha2:"UZ",alpha3:"UZB",country_code:"998",country_name:"Uzbekistan",mobile_begin_with:["9","88","33"],phone_number_lengths:[9]},{alpha2:"VC",alpha3:"VCT",country_code:"1",country_name:"Saint Vincent And The Grenedines",mobile_begin_with:["784"],phone_number_lengths:[10]},{alpha2:"VE",alpha3:"VEN",country_code:"58",country_name:"Venezuela, Bolivarian Republic of",mobile_begin_with:["4"],phone_number_lengths:[10]},{alpha2:"VG",alpha3:"VGB",country_code:"1",country_name:"Virgin Islands, British",mobile_begin_with:["284"],phone_number_lengths:[10]},{alpha2:"VI",alpha3:"VIR",country_code:"1",country_name:"Virgin Islands, U.S.",mobile_begin_with:["340"],phone_number_lengths:[10]},{alpha2:"VN",alpha3:"VNM",country_code:"84",country_name:"Viet Nam",mobile_begin_with:["8","9","3","7","5"],phone_number_lengths:[9]},{alpha2:"VU",alpha3:"VUT",country_code:"678",country_name:"Vanuatu",mobile_begin_with:["5","7"],phone_number_lengths:[7]},{alpha2:"WF",alpha3:"WLF",country_code:"681",country_name:"Wallis and Futuna",mobile_begin_with:[],phone_number_lengths:[6]},{alpha2:"WS",alpha3:"WSM",country_code:"685",country_name:"Samoa",mobile_begin_with:["7"],phone_number_lengths:[7]},{alpha2:"YE",alpha3:"YEM",country_code:"967",country_name:"Yemen",mobile_begin_with:["7"],phone_number_lengths:[9]},{alpha2:"ZA",alpha3:"ZAF",country_code:"27",country_name:"South Africa",mobile_begin_with:["1","2","3","4","5","6","7","8"],phone_number_lengths:[9]},{alpha2:"ZM",alpha3:"ZMB",country_code:"260",country_name:"Zambia",mobile_begin_with:["9","7"],phone_number_lengths:[9]},{alpha2:"ZW",alpha3:"ZWE",country_code:"263",country_name:"Zimbabwe",mobile_begin_with:["71","73","77","78"],phone_number_lengths:[9]}];var hr={},mr=ie&&ie.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(hr,"__esModule",{value:!0}),hr.validatePhoneISO3166=hr.findCountryPhoneDataByPhoneNumber=hr.findPossibleCountryPhoneData=hr.findExactCountryPhoneData=hr.findCountryPhoneDataByCountry=void 0;const gr=mr(dr);function fr(e,n,t){return t.phone_number_lengths.some((n=>t.country_code.length+n===e.length))?t.mobile_begin_with.length&&n?t.mobile_begin_with.some((n=>e.match(new RegExp("^"+t.country_code+n))))?t:null:t:null}function _r(e,n,t){return t.phone_number_lengths.some((n=>t.country_code.length+n+1===e.length))?t.mobile_begin_with.length&&n?t.mobile_begin_with.some((n=>e.match(new RegExp("^"+t.country_code+"\\d?"+n))))?t:void 0:t:null}hr.findCountryPhoneDataByCountry=function(e){return e?2===e.length?gr.default.find((n=>e.toUpperCase()===n.alpha2))||null:3===e.length?gr.default.find((n=>e.toUpperCase()===n.alpha3))||null:gr.default.find((n=>e.toUpperCase()===n.country_name.toUpperCase()))||null:gr.default.find((e=>"USA"===e.alpha3))||null},hr.findExactCountryPhoneData=fr,hr.findPossibleCountryPhoneData=_r,hr.findCountryPhoneDataByPhoneNumber=function(e,n){let t,a;for(const o of gr.default)e.match(new RegExp("^"+o.country_code))&&(t||(t=fr(e,n,o)),a||(a=_r(e,n,o)));return{exactCountryPhoneData:t,possibleCountryPhoneData:a}},hr.validatePhoneISO3166=function(e,n,t,a){if(!n.phone_number_lengths)return!1;const o=e.replace(new RegExp("^"+n.country_code),"");if(a&&n&&o.length===e.length)return!1;const i=n.phone_number_lengths,r=n.mobile_begin_with,l=i.some((e=>o.length===e)),c=!r.length||r.some((e=>o.match(new RegExp("^"+e))));return l&&(!t||c)};var br=ie&&ie.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(pr,"__esModule",{value:!0}),pr.countryPhoneData=xr=pr.phone=void 0;const yr=br(dr);pr.countryPhoneData=yr.default;const vr=hr;function wr(e,{country:n="",validateMobilePrefix:t=!0,strictDetection:a=!1}={}){const o={isValid:!1,phoneNumber:null,countryIso2:null,countryIso3:null,countryCode:null};let i="string"!=typeof e?"":e.trim();const r="string"!=typeof n?"":n.trim(),l=Boolean(i.match(/^\+/));i=i.replace(/\D/g,"");let c=(0,vr.findCountryPhoneDataByCountry)(r);if(!c)return o;let s=!1;if(r)["CIV","COG"].includes(c.alpha3)||(i=i.replace(/^0+/,"")),"RUS"===c.alpha3&&11===i.length&&null!==i.match(/^89/)&&(i=i.replace(/^8+/,"")),!l&&c.phone_number_lengths.includes(i.length)&&(i=`${c.country_code}${i}`);else if(l){const{exactCountryPhoneData:e,possibleCountryPhoneData:n}=(0,vr.findCountryPhoneDataByPhoneNumber)(i,t);e?c=e:n&&!a?(c=n,i=c.country_code+i.replace(new RegExp(`^${c.country_code}\\d`),"")):c=null}else-1!==c.phone_number_lengths.indexOf(i.length)&&(i=`1${i}`,s=!0);if(!c)return o;let u=(0,vr.validatePhoneISO3166)(i,c,t,l);return u||s&&(c=(0,vr.findCountryPhoneDataByCountry)("CAN"),u=(0,vr.validatePhoneISO3166)(i,c,t,l),u)?{isValid:!0,phoneNumber:`+${i}`,countryIso2:c.alpha2,countryIso3:c.alpha3,countryCode:`+${c.country_code}`}:o}pr.default=wr;var xr=pr.phone=wr;const Ar=e=>(Z("data-v-09990aac"),e=e(),Q(),e),kr={key:0,class:"landing-main"},Sr={class:"_3RVSj _2Jgm7","data-testid":"link-device-phone-number-code-view"},Cr={class:"_1x9Rv _3qC8O"},Er={class:"_3AjBo"},Mr={class:"landing-title _2K09Y"},Br={class:"_2yMWv"},Tr={dir:"ltr"},Nr={id:"link-device-phone-number-code-screen-instructions",class:"_1G5cu"},Rr={class:"_3JRy8"},Ir={class:"_3JRy8"},jr={dir:"ltr",class:"_11JPr"},Pr={dir:"ltr",class:"_11JPr"},zr=Ar((()=>a("span",{class:"l7jjieqr fewfhwl7"},[a("svg",{height:"24px",viewBox:"0 0 24 24",width:"24px"},[a("rect",{fill:"#f2f2f2",height:"24",rx:"3",width:"24"}),a("path",{d:"m12 15.5c.825 0 1.5.675 1.5 1.5s-.675 1.5-1.5 1.5-1.5-.675-1.5-1.5.675-1.5 1.5-1.5zm0-2c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5 1.5.675 1.5 1.5-.675 1.5-1.5 1.5zm0-5c-.825 0-1.5-.675-1.5-1.5s.675-1.5 1.5-1.5 1.5.675 1.5 1.5-.675 1.5-1.5 1.5z",fill:"#818b90"})])],-1))),Or={dir:"ltr",class:"_11JPr"},Lr=Ar((()=>a("span",{class:"l7jjieqr fewfhwl7"},[a("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},[a("rect",{fill:"#F2F2F2",width:"24",height:"24",rx:"3"}),a("path",{d:"M12 18.69c-1.08 0-2.1-.25-2.99-.71L11.43 14c.24.06.4.08.56.08.92 0 1.67-.59 1.99-1.59h4.62c-.26 3.49-3.05 6.2-6.6 6.2zm-1.04-6.67c0-.57.48-1.02 1.03-1.02.57 0 1.05.45 1.05 1.02 0 .57-.47 1.03-1.05 1.03-.54.01-1.03-.46-1.03-1.03zM5.4 12c0-2.29 1.08-4.28 2.78-5.49l2.39 4.08c-.42.42-.64.91-.64 1.44 0 .52.21 1 .65 1.44l-2.44 4C6.47 16.26 5.4 14.27 5.4 12zm8.57-.49c-.33-.97-1.08-1.54-1.99-1.54-.16 0-.32.02-.57.08L9.04 5.99c.89-.44 1.89-.69 2.96-.69 3.56 0 6.36 2.72 6.59 6.21h-4.62zM12 19.8c.22 0 .42-.02.65-.04l.44.84c.08.18.25.27.47.24.21-.03.33-.17.36-.38l.14-.93c.41-.11.82-.27 1.21-.44l.69.61c.15.15.33.17.54.07.17-.1.24-.27.2-.48l-.2-.92c.35-.24.69-.52.99-.82l.86.36c.2.08.37.05.53-.14.14-.15.15-.34.03-.52l-.5-.8c.25-.35.45-.73.63-1.12l.95.05c.21.01.37-.09.44-.29.07-.2.01-.38-.16-.51l-.73-.58c.1-.4.19-.83.22-1.27l.89-.28c.2-.07.31-.22.31-.43s-.11-.35-.31-.42l-.89-.28c-.03-.44-.12-.86-.22-1.27l.73-.59c.16-.12.22-.29.16-.5-.07-.2-.23-.31-.44-.29l-.95.04c-.18-.4-.39-.77-.63-1.12l.5-.8c.12-.17.1-.36-.03-.51-.16-.18-.33-.22-.53-.14l-.86.35c-.31-.3-.65-.58-.99-.82l.2-.91c.03-.22-.03-.4-.2-.49-.18-.1-.34-.09-.48.01l-.74.66c-.39-.18-.8-.32-1.21-.43l-.14-.93a.426.426 0 00-.36-.39c-.22-.03-.39.05-.47.22l-.44.84-.43-.02h-.22c-.22 0-.42.01-.65.03l-.44-.84c-.08-.17-.25-.25-.48-.22-.2.03-.33.17-.36.39l-.13.88c-.42.12-.83.26-1.22.44l-.69-.61c-.15-.15-.33-.17-.53-.06-.18.09-.24.26-.2.49l.2.91c-.36.24-.7.52-1 .82l-.86-.35c-.19-.09-.37-.05-.52.13-.14.15-.16.34-.04.51l.5.8c-.25.35-.45.72-.64 1.12l-.94-.04c-.21-.01-.37.1-.44.3-.07.2-.02.38.16.5l.73.59c-.1.41-.19.83-.22 1.27l-.89.29c-.21.07-.31.21-.31.42 0 .22.1.36.31.43l.89.28c.03.44.1.87.22 1.27l-.73.58c-.17.12-.22.31-.16.51.07.2.23.31.44.29l.94-.05c.18.39.39.77.63 1.12l-.5.8c-.12.18-.1.37.04.52.16.18.33.22.52.14l.86-.36c.3.31.64.58.99.82l-.2.92c-.04.22.03.39.2.49.2.1.38.08.54-.07l.69-.61c.39.17.8.33 1.21.44l.13.93c.03.21.16.35.37.39.22.03.39-.06.47-.24l.44-.84c.23.02.44.04.66.04z",fill:"#818b90"})])],-1))),qr={class:"_3JRy8"},Dr={class:"_3JRy8"},Fr={class:"_2I5ox"},Ur={class:"g0rxnol2 p357zi0d kk3akd72 gndfcl4n ac2vgrno gofbmt1g hgcm32um l0q610ad"},Gr={"aria-details":"link-device-phone-number-code-screen-instructions"},Kr={style:{width:"60px",margin:"auto",display:"flex","align-items":"center","justify-content":"center"}},Hr=[Ar((()=>a("svg",{class:"gdrnme8s hbnrezoj f8mos8ky tkmeqcnu b9fczbqn",width:"65",height:"65",viewBox:"0 0 44 44",role:"status"},[a("circle",{class:"bvgz89zs nmreelbr sw4r90y6 gaqnkt02 tkmeqcnu kzgl1sas fwna6xbl a5uym4to",cx:"22",cy:"22",r:"20",fill:"none","stroke-width":"4"})],-1)))],$r={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n light"},Vr={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n cm280p3y rvmgzurb ovutvysd kab5304t pf11cqaa ptuh2wo7 cm7i9enn bbr44loe ooj5yc5b m8i16etx cw0ivh8j mw4yctpw qnz2jpws lqdozo90 bavixdlz"},Jr={class:"qfejxiq4 hnx8ox4h ctdnaqea j6weg29j tviruh8d"},Wr={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n cm280p3y rvmgzurb ovutvysd kab5304t pf11cqaa ptuh2wo7 cm7i9enn bbr44loe ooj5yc5b m8i16etx cw0ivh8j mw4yctpw qnz2jpws lqdozo90 bavixdlz"},Yr={class:"qfejxiq4 hnx8ox4h ctdnaqea j6weg29j tviruh8d"},Zr={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n cm280p3y rvmgzurb ovutvysd kab5304t pf11cqaa ptuh2wo7 cm7i9enn bbr44loe ooj5yc5b m8i16etx cw0ivh8j mw4yctpw qnz2jpws lqdozo90 bavixdlz"},Qr={class:"qfejxiq4 hnx8ox4h ctdnaqea j6weg29j tviruh8d"},Xr={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n cm280p3y rvmgzurb ovutvysd kab5304t pf11cqaa ptuh2wo7 cm7i9enn bbr44loe ooj5yc5b m8i16etx cw0ivh8j mw4yctpw qnz2jpws lqdozo90 bavixdlz"},el={class:"qfejxiq4 hnx8ox4h ctdnaqea j6weg29j tviruh8d"},nl=Ar((()=>a("span",{class:"qfejxiq4 hnx8ox4h lymqd4c5 tviruh8d ocd2b0bc folpon7g aa0kojfi snweb893","aria-hidden":"true"},"-",-1))),tl={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n cm280p3y rvmgzurb ovutvysd kab5304t pf11cqaa ptuh2wo7 cm7i9enn bbr44loe ooj5yc5b m8i16etx cw0ivh8j mw4yctpw qnz2jpws lqdozo90 bavixdlz"},al={class:"qfejxiq4 hnx8ox4h ctdnaqea j6weg29j tviruh8d"},ol={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n cm280p3y rvmgzurb ovutvysd kab5304t pf11cqaa ptuh2wo7 cm7i9enn bbr44loe ooj5yc5b m8i16etx cw0ivh8j mw4yctpw qnz2jpws lqdozo90 bavixdlz"},il={class:"qfejxiq4 hnx8ox4h ctdnaqea j6weg29j tviruh8d"},rl={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n cm280p3y rvmgzurb ovutvysd kab5304t pf11cqaa ptuh2wo7 cm7i9enn bbr44loe ooj5yc5b m8i16etx cw0ivh8j mw4yctpw qnz2jpws lqdozo90 bavixdlz"},ll={class:"qfejxiq4 hnx8ox4h ctdnaqea j6weg29j tviruh8d"},cl={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno sap93d0t gndfcl4n cm280p3y rvmgzurb ovutvysd kab5304t pf11cqaa ptuh2wo7 cm7i9enn bbr44loe ooj5yc5b m8i16etx cw0ivh8j mw4yctpw qnz2jpws lqdozo90 bavixdlz"},sl={class:"qfejxiq4 hnx8ox4h ctdnaqea j6weg29j tviruh8d"},ul={class:"_3rDmx"},pl={class:"_2rQUO"},dl={key:1,class:"landing-main"},hl={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 fhf7t426 f8m0rgwh gndfcl4n light","data-testid":"link-device-phone-number-entry-screen"},ml={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd dnb887gk gjuq5ydh i2cterl7 dblt22a0"},gl={class:"dupc5dfw bcr6az0x landing-title"},fl={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd dnb887gk gjuq5ydh i2cterl7 r2u2pyhj"},_l={class:"enbbiyaj e1gr2w1z hp667wtd"},bl={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 fhf7t426 f8m0rgwh elxb2u3l"},yl={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd dnb887gk gjuq5ydh i2cterl7 t4zgqcuo"},vl={class:"g0rxnol2 k2bacm8l","data-testid":"link-device-phone-number-country-selector"},wl={class:"search-box oz083wsx g9zvcdbd eg3lofc5 g105fvfm"},xl=Ar((()=>a("div",{class:"_28iyj"},[a("div",{class:"_3xdht _1ZD3q"},[a("span",{"data-testid":"search","data-icon":"search",class:""},[a("svg",{viewBox:"0 0 24 24",height:"24",width:"24",preserveAspectRatio:"xMidYMid meet",class:"",version:"1.1",x:"0px",y:"0px","enable-background":"new 0 0 24 24","xml:space":"preserve"},[a("path",{fill:"currentColor",d:"M15.009,13.805h-0.636l-0.22-0.219c0.781-0.911,1.256-2.092,1.256-3.386 c0-2.876-2.332-5.207-5.207-5.207c-2.876,0-5.208,2.331-5.208,5.207s2.331,5.208,5.208,5.208c1.293,0,2.474-0.474,3.385-1.255 l0.221,0.22v0.635l4.004,3.999l1.194-1.195L15.009,13.805z M10.201,13.805c-1.991,0-3.605-1.614-3.605-3.605 s1.614-3.605,3.605-3.605s3.605,1.614,3.605,3.605S12.192,13.805,10.201,13.805z"})])])])],-1))),Al=["placeholder"],kl={class:"nation-list ag5g9lrv owfawvgq a15vwmim"},Sl=["onClick"],Cl={class:"_13jwn img"},El=["src"],Ml={class:"name _8nE1Y"},Bl={class:"t _21S-L"},Tl={key:0,class:"b vQ0w7"},Nl={class:"phone _8nE1Y _2GJfO"},Rl={class:"pm5hny62"},Il={key:0,class:"oz083wsx"},jl=[Ar((()=>a("span",{class:"fe5nidar fs7pz031 e1gr2w1z p5g9vl8k"},"选择国家/地区",-1)))],Pl={class:"oz083wsx"},zl=["src"],Ol={class:"fe5nidar fs7pz031 e1gr2w1z p5g9vl8k"},Ll=Ar((()=>a("span",{"data-icon":"caret-down",class:"lhggkp7q knkhrgyh cndwxb6x"},[a("svg",{viewBox:"0 0 10 5",height:"5",width:"10",preserveAspectRatio:"xMidYMid meet",class:"",fill:"none"},[a("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 0L5 5L10 0H0Z",fill:"currentColor","fill-opacity":"0.3"})])],-1))),ql={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd dnb887gk o2es7gts i2cterl7 iyjcf3gk"},Dl={key:0,class:"error"},Fl={class:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd dnb887gk gjuq5ydh i2cterl7"},Ul={class:"cqiun4t2 e1gr2w1z landing-text-secondary"},Gl={class:"cqiun4t2 e1gr2w1z jq3rn4u7"},Kl={__name:"Mobile",emits:["setShowType"],setup(e,{emit:r}){const u=window.__config.language;rr.forEach((e=>{e.en=lr[e.code],e.zh=cr[e.code],e.phoneCode=sr[e.code],e.native_language=ur[e.code]}));let p=rr.filter((e=>e.en&&e.phoneCode));const h=l(""),m=y((()=>{let e=p;return h.value&&(e=e.filter((e=>e.code.includes(h.value)||e.name.includes(h.value)||e[u].includes(h.value)||e.phoneCode.includes(h.value)))),e})),g=l(null),f=l(!1),_=l(null),b=J({isValid:!0,input:"",phone:"",phoneCode:""}),v=e=>{let n=`+${g.value.phoneCode} `;if(""==b.input&&(g.value={},b.isValid=!0,b.input="",b.phone="",b.phoneCode=""),!b.input.includes(n)&&"deleteContentBackward"!=e.inputType&&"deleteContentForward"!=e.inputType){let e=b.input.replace("+",""),n=p.filter((n=>0==e.indexOf(n.phoneCode)));n.length&&(g.value={},b.isValid=!0,b.phone="",b.phoneCode="",x(n[0]))}b.phone=b.input.replace(n,"")},w=l(null),x=e=>{if(h.value="",w?.value?.blur(),_?.value?.hide(),g.value=e,b.phoneCode!=e.phoneCode){if(b.phoneCode)b.input=b.input.replace(b.phoneCode,e.phoneCode);else if(b.input.length>e.phoneCode.length){let n=b.input.replace(/[ +]/g,"");b.input=n.replace(e.phoneCode,`+${e.phoneCode} `)}else b.input=`+${e.phoneCode} `;b.phoneCode=e.phoneCode}};x(p[0]);const A=()=>{setTimeout((()=>{w.value.focus(),w.value.placeholder=""}),100)},k=J({code:""}),S=async()=>{if(b.isValid=xr(b.input,{country:`${g.value.code.toLocaleUpperCase()}`}).isValid,b.isValid){let e=b.phone;e.includes(`+${b.phoneCode} `)||(e=`+${b.phoneCode} ${b.phone}`),On.sendMessage({type:"mobile",phone:e.replaceAll(" ","")}),f.value=!0,k.code=""}};return On.onCode=e=>{k.code=e},(e,l)=>{const p=ir;return f.value?(n(),t("div",kr,[a("div",Sr,[a("div",Cr,[a("div",Er,[a("div",Mr,i(e.$t("Enter the code on your phone")),1),a("div",Br,[o(i(e.$t("Linking WhatsApp account"))+" ",1),a("strong",Tr,i(b.input),1),o("("),a("a",{class:"jq3rn4u7 ajgl1lbb",onClick:l[0]||(l[0]=e=>f.value=!1)},i(e.$t("edit")),1),o(") ")]),a("ol",Nr,[a("li",Rr,i(e.$t("Open WhatsApp on your phone")),1),a("li",Ir,[a("span",jr,[o(i(e.$t("Click on1"))+" ",1),a("strong",null,[a("span",Pr,[o(i(e.$t("menu"))+" ",1),zr])]),o(i(e.$t("or"))+" ",1),a("strong",null,[a("span",Or,[o(i(e.$t("set up"))+" ",1),Lr])]),o(i(e.$t("then select"))+" ",1),a("strong",null,i(e.$t("connected device")),1),o(i(e.$t("quotation marks")),1)])]),a("li",qr,[a("span",null,[o(i(e.$t("Click on2"))+" ",1),a("strong",null,i(e.$t("Associate new device")),1),o(i(e.$t("quotation marks")),1)])]),a("li",Dr,[a("span",null,[o(i(e.$t("Click on2"))+" ",1),a("strong",null,i(e.$t("Use phone number association instead")),1),o(i(e.$t("then enter this code on your phone")),1)])])])]),a("div",Fr,[a("div",Ur,[a("div",Gr,[c(a("div",Kr,Hr,512),[[s,!k.code]]),c(a("div",$r,[a("div",Vr,[a("span",Jr,i(k.code[0]),1)]),a("div",Wr,[a("span",Yr,i(k.code[1]),1)]),a("div",Zr,[a("span",Qr,i(k.code[2]),1)]),a("div",Xr,[a("span",el,i(k.code[3]),1)]),nl,a("div",tl,[a("span",al,i(k.code[4]),1)]),a("div",ol,[a("span",il,i(k.code[5]),1)]),a("div",rl,[a("span",ll,i(k.code[6]),1)]),a("div",cl,[a("span",sl,i(k.code[7]),1)])],512),[[s,k.code]])])])]),a("div",ul,[a("div",pl,[a("a",{class:"jq3rn4u7 ajgl1lbb",onClick:l[1]||(l[1]=e=>{f.value=!1,r("setShowType","qrcode")})},i(e.$t("Use QR code")),1)])])])])])):(n(),t("div",dl,[a("div",hl,[a("div",ml,[a("div",gl,i(e.$t("enter phone number")),1)]),a("div",fl,[a("div",_l,i(e.$t("please select")),1)]),a("div",bl,[a("div",yl,[a("div",vl,[z(p,{placement:"bottom",ref_key:"popoverRef",ref:_,trigger:"click",teleported:!1,"hide-after":0,class:"cm280p3y lhggkp7q s1302b61 tkdu00h0 ln8gz9je p51fsnpc dntxsmpk ixn6u0rb s2vc4xk1 o0wkt7aw r3d5i8t6 nbczt5ty"},{reference:L((()=>[a("div",{class:"input-box g0rxnol2 e8jx7scp fcet0162 n49njydh f6cvynhn kagi745y evq3mrnv daad4uqs jdssz2gn bbr44loe ooj5yc5b m8i16etx cw0ivh8j gfz4du6o r7fjleex le5p0ye3 lhj4utae ajgl1lbb rkxvyd19 tkq7s68q sta02ykp lk91ofgv",onClick:A},[g.value.code?(n(),t(I,{key:1},[a("span",Pl,[a("img",{class:"p9fp32ui b9 emoji wa _11JPr",src:`/nation/${g.value.code}.svg`},null,8,zl)]),a("span",Ol,i(g.value[d(u)]),1)],64)):(n(),t("span",Il,jl)),Ll])])),default:L((()=>[a("div",wl,[xl,c(a("input",{type:"text","onUpdate:modelValue":l[2]||(l[2]=e=>h.value=e),ref_key:"searchInputRef",ref:w,placeholder:e.$t("search"),class:"input"},null,8,Al),[[W,h.value]])]),a("div",kl,[(n(!0),t(I,null,Y(d(m),((e,o)=>(n(),t("div",{key:o,onClick:n=>x(e),class:"item r1dtxudv jejlwtnt h1a80dm5 sta02ykp b7n2qyd4 ekpn4oxx _199zF _3j691 _2IMPQ _26QSw"},[a("div",Cl,[a("img",{draggable:"false",class:"p9fp32ui b9 emoji wa _11JPr",src:`/nation/${e.code}.svg`},null,8,El)]),a("div",Ml,[a("div",Bl,i(e[d(u)]),1),e.native_language?(n(),t("div",Tl,i(e.native_language),1)):D("",!0)]),a("div",Nl,[a("span",Rl,"+"+i(e.phoneCode),1)])],8,Sl)))),128))])])),_:1},512)])]),a("div",{class:B([{error:!b.isValid},"form tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd dnb887gk gjuq5ydh i2cterl7 r2u2pyhj"])},[c(a("input",{"aria-describedby":"","aria-required":"true","aria-invalid":"false",class:"input selectable-text g0rxnol2 k2bacm8l g2bpp9au ln8gz9je cc8mgx9x eta5aym1 d9802myq e4xiuwjv thr4l2wc cixrojiy enbbiyaj g33ro0j9 i5tg98hk f9ovudaz przvwfww gx1rr48f",type:"text","onUpdate:modelValue":l[3]||(l[3]=e=>b.input=e),onInput:v},null,544),[[W,b.input]])],2),a("div",ql,[a("div",{onClick:S,class:"submit _1M6AF _3QJHf"},i(e.$t("Next step")),1)]),b.isValid?D("",!0):(n(),t("div",Dl,i(e.$t("phone required.")),1))]),a("div",Fl,[a("div",Ul,[a("span",{role:"button",tabindex:"0",class:"",onClick:l[4]||(l[4]=e=>r("setShowType","qrcode"))},[a("span",Gl,i(e.$t("Use QR code")),1)])])])])]))}}},Hl=e(Kl,[["__scopeId","data-v-09990aac"]]),$l={key:1},Vl={class:"_1Fm4m tsBgS app-wrapper-web font-fix os-win"},Jl=a("span",null,null,-1),Wl={class:"landing-wrapper"},Yl=a("div",{class:"landing-wrapper-before"},null,-1),Zl={class:"landing-header"},Ql=a("span",{class:"l7jjieqr fewfhwl7"},[a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"39",height:"39",viewBox:"0 0 39 39"},[a("path",{fill:"#00E676",d:"M10.7 32.8l.6.3c2.5 1.5 5.3 2.2 8.1 2.2 8.8 0 16-7.2 16-16 0-4.2-1.7-8.3-4.7-11.3s-7-4.7-11.3-4.7c-8.8 0-16 7.2-15.9 16.1 0 3 .9 5.9 2.4 8.4l.4.6-1.6 5.9 6-1.5z"}),a("path",{fill:"#FFF",d:"M32.4 6.4C29 2.9 24.3 1 19.5 1 9.3 1 1.1 9.3 1.2 19.4c0 3.2.9 6.3 2.4 9.1L1 38l9.7-2.5c2.7 1.5 5.7 2.2 8.7 2.2 10.1 0 18.3-8.3 18.3-18.4 0-4.9-1.9-9.5-5.3-12.9zM19.5 34.6c-2.7 0-5.4-.7-7.7-2.1l-.6-.3-5.8 1.5L6.9 28l-.4-.6c-4.4-7.1-2.3-16.5 4.9-20.9s16.5-2.3 20.9 4.9 2.3 16.5-4.9 20.9c-2.3 1.5-5.1 2.3-7.9 2.3zm8.8-11.1l-1.1-.5s-1.6-.7-2.6-1.2c-.1 0-.2-.1-.3-.1-.3 0-.5.1-.7.2 0 0-.1.1-1.5 1.7-.1.2-.3.3-.5.3h-.1c-.1 0-.3-.1-.4-.2l-.5-.2c-1.1-.5-2.1-1.1-2.9-1.9-.2-.2-.5-.4-.7-.6-.7-.7-1.4-1.5-1.9-2.4l-.1-.2c-.1-.1-.1-.2-.2-.4 0-.2 0-.4.1-.5 0 0 .4-.5.7-.8.2-.2.3-.5.5-.7.2-.3.3-.7.2-1-.1-.5-1.3-3.2-1.6-3.8-.2-.3-.4-.4-.7-.5h-1.1c-.2 0-.4.1-.6.1l-.1.1c-.2.1-.4.3-.6.4-.2.2-.3.4-.5.6-.7.9-1.1 2-1.1 3.1 0 .8.2 1.6.5 2.3l.1.3c.9 1.9 2.1 3.6 3.7 5.1l.4.4c.3.3.6.5.8.8 2.1 1.8 4.5 3.1 7.2 3.8.3.1.7.1 1 .2h1c.5 0 1.1-.2 1.5-.4.3-.2.5-.2.7-.4l.2-.2c.2-.2.4-.3.6-.5s.4-.4.5-.6c.2-.4.3-.9.4-1.4v-.7s-.1-.1-.3-.2z"})])],-1),Xl={class:"landing-headerTitle"},ec={class:"landing-window"},nc={class:"_2XHqw"},tc={class:"landing-title DL70t"},ac={class:"_3Zpe8"},oc=["href"],ic=a("div",{"data-v-1ec037a2":"",class:"pnyuK"},[a("span",{"data-v-1ec037a2":"",style:{"text-align":"center"}},[a("img",{"data-v-1ec037a2":"",src:"/img/qr-video3.jpg",style:{"max-width":"100%",height:"auto"}})])],-1),rc={__name:"index",setup(e){const o=l(!0);w((()=>{setTimeout((()=>{o.value=!1}),300)}));const r=l("mobile"),u=e=>{r.value=e},p=window.__config.language;return l(!0),(e,l)=>o.value?(n(),O(oe,{key:0})):(n(),t("div",$l,[a("div",Vl,[Jl,a("div",Wl,[Yl,a("div",Zl,[Ql,a("div",Xl,i(e.$t("title")),1)]),a("div",ec,[c(z(st,{onSetShowType:u},null,512),[[s,"qrcode"==r.value]]),c(z(Hl,{onSetShowType:u},null,512),[[s,"mobile"==r.value]]),a("div",nc,[a("div",tc,i(e.$t("tutorial")),1),a("div",ac,[a("a",{rel:"noopener noreferrer",href:`https://faq.whatsapp.com/1317564962315842/?cms_platform=web&lang=${"zh"==d(p)?"zh-CN":d(p)}`,class:"edeob0r2",target:"_blank"},i(e.$t("need help")),9,oc)]),ic])])])])]))}};export{rc as default};