UNPKG

vue-country-selector

Version:

A component base on Vue.js for selecting country.

2 lines 44.3 kB
(function(e,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["countryselector"]=n():e["countryselector"]=n()})("undefined"!==typeof self?self:this,function(){return function(e){var n={};function t(c){if(n[c])return n[c].exports;var o=n[c]={i:c,l:!1,exports:{}};return e[c].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,c){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:c})},t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var c=Object.create(null);if(t.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(c,o,function(n){return e[n]}.bind(null,o));return c},t.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s="fb15")}({"01f9":function(e,n,t){"use strict";var c=t("2d00"),o=t("5ca1"),a=t("2aba"),N=t("32e9"),r=t("84f2"),l=t("41a0"),A=t("7f20"),i=t("38fd"),m=t("2b4c")("iterator"),S=!([].keys&&"next"in[].keys()),I="@@iterator",u="keys",s="values",p=function(){return this};e.exports=function(e,n,t,h,d,E,f){l(t,n,h);var O,U,L,T=function(e){if(!S&&e in v)return v[e];switch(e){case u:return function(){return new t(this,e)};case s:return function(){return new t(this,e)}}return function(){return new t(this,e)}},G=n+" Iterator",R=d==s,D=!1,v=e.prototype,M=v[m]||v[I]||d&&v[d],C=M||T(d),b=d?R?T("entries"):C:void 0,H="Array"==n&&v.entries||M;if(H&&(L=i(H.call(new e)),L!==Object.prototype&&L.next&&(A(L,G,!0),c||"function"==typeof L[m]||N(L,m,p))),R&&M&&M.name!==s&&(D=!0,C=function(){return M.call(this)}),c&&!f||!S&&!D&&v[m]||N(v,m,C),r[n]=C,r[G]=p,d)if(O={values:R?C:T(s),keys:E?C:T(u),entries:b},f)for(U in O)U in v||a(v,U,O[U]);else o(o.P+o.F*(S||D),n,O);return O}},"0bfb":function(e,n,t){"use strict";var c=t("cb7c");e.exports=function(){var e=c(this),n="";return e.global&&(n+="g"),e.ignoreCase&&(n+="i"),e.multiline&&(n+="m"),e.unicode&&(n+="u"),e.sticky&&(n+="y"),n}},"0d58":function(e,n,t){var c=t("ce10"),o=t("e11e");e.exports=Object.keys||function(e){return c(e,o)}},"11e9":function(e,n,t){var c=t("52a7"),o=t("4630"),a=t("6821"),N=t("6a99"),r=t("69a8"),l=t("c69a"),A=Object.getOwnPropertyDescriptor;n.f=t("9e1e")?A:function(e,n){if(e=a(e),n=N(n,!0),l)try{return A(e,n)}catch(e){}if(r(e,n))return o(!c.f.call(e,n),e[n])}},1495:function(e,n,t){var c=t("86cc"),o=t("cb7c"),a=t("0d58");e.exports=t("9e1e")?Object.defineProperties:function(e,n){o(e);var t,N=a(n),r=N.length,l=0;while(r>l)c.f(e,t=N[l++],n[t]);return e}},"1eb2":function(e,n,t){var c;"undefined"!==typeof window&&((c=window.document.currentScript)&&(c=c.src.match(/(.+\/)[^/]+\.js$/))&&(t.p=c[1]))},"214f":function(e,n,t){"use strict";var c=t("32e9"),o=t("2aba"),a=t("79e5"),N=t("be13"),r=t("2b4c");e.exports=function(e,n,t){var l=r(e),A=t(N,l,""[e]),i=A[0],m=A[1];a(function(){var n={};return n[l]=function(){return 7},7!=""[e](n)})&&(o(String.prototype,e,i),c(RegExp.prototype,l,2==n?function(e,n){return m.call(e,this,n)}:function(e){return m.call(e,this)}))}},"230e":function(e,n,t){var c=t("d3f4"),o=t("7726").document,a=c(o)&&c(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},"2aba":function(e,n,t){var c=t("7726"),o=t("32e9"),a=t("69a8"),N=t("ca5a")("src"),r="toString",l=Function[r],A=(""+l).split(r);t("8378").inspectSource=function(e){return l.call(e)},(e.exports=function(e,n,t,r){var l="function"==typeof t;l&&(a(t,"name")||o(t,"name",n)),e[n]!==t&&(l&&(a(t,N)||o(t,N,e[n]?""+e[n]:A.join(String(n)))),e===c?e[n]=t:r?e[n]?e[n]=t:o(e,n,t):(delete e[n],o(e,n,t)))})(Function.prototype,r,function(){return"function"==typeof this&&this[N]||l.call(this)})},"2aeb":function(e,n,t){var c=t("cb7c"),o=t("1495"),a=t("e11e"),N=t("613b")("IE_PROTO"),r=function(){},l="prototype",A=function(){var e,n=t("230e")("iframe"),c=a.length,o="<",N=">";n.style.display="none",t("fab2").appendChild(n),n.src="javascript:",e=n.contentWindow.document,e.open(),e.write(o+"script"+N+"document.F=Object"+o+"/script"+N),e.close(),A=e.F;while(c--)delete A[l][a[c]];return A()};e.exports=Object.create||function(e,n){var t;return null!==e?(r[l]=c(e),t=new r,r[l]=null,t[N]=e):t=A(),void 0===n?t:o(t,n)}},"2b4c":function(e,n,t){var c=t("5537")("wks"),o=t("ca5a"),a=t("7726").Symbol,N="function"==typeof a,r=e.exports=function(e){return c[e]||(c[e]=N&&a[e]||(N?a:o)("Symbol."+e))};r.store=c},"2d00":function(e,n){e.exports=!1},"2d95":function(e,n){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},"32e9":function(e,n,t){var c=t("86cc"),o=t("4630");e.exports=t("9e1e")?function(e,n,t){return c.f(e,n,o(1,t))}:function(e,n,t){return e[n]=t,e}},"386d":function(e,n,t){t("214f")("search",1,function(e,n,t){return[function(t){"use strict";var c=e(this),o=void 0==t?void 0:t[n];return void 0!==o?o.call(t,c):new RegExp(t)[n](String(c))},t]})},"38fd":function(e,n,t){var c=t("69a8"),o=t("4bf8"),a=t("613b")("IE_PROTO"),N=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),c(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?N:null}},"3b2b":function(e,n,t){var c=t("7726"),o=t("5dbc"),a=t("86cc").f,N=t("9093").f,r=t("aae3"),l=t("0bfb"),A=c.RegExp,i=A,m=A.prototype,S=/a/g,I=/a/g,u=new A(S)!==S;if(t("9e1e")&&(!u||t("79e5")(function(){return I[t("2b4c")("match")]=!1,A(S)!=S||A(I)==I||"/a/i"!=A(S,"i")}))){A=function(e,n){var t=this instanceof A,c=r(e),a=void 0===n;return!t&&c&&e.constructor===A&&a?e:o(u?new i(c&&!a?e.source:e,n):i((c=e instanceof A)?e.source:e,c&&a?l.call(e):n),t?this:m,A)};for(var s=function(e){e in A||a(A,e,{configurable:!0,get:function(){return i[e]},set:function(n){i[e]=n}})},p=N(i),h=0;p.length>h;)s(p[h++]);m.constructor=A,A.prototype=m,t("2aba")(c,"RegExp",A)}t("7a56")("RegExp")},"41a0":function(e,n,t){"use strict";var c=t("2aeb"),o=t("4630"),a=t("7f20"),N={};t("32e9")(N,t("2b4c")("iterator"),function(){return this}),e.exports=function(e,n,t){e.prototype=c(N,{next:o(1,t)}),a(e,n+" Iterator")}},"456d":function(e,n,t){var c=t("4bf8"),o=t("0d58");t("5eda")("keys",function(){return function(e){return o(c(e))}})},4588:function(e,n){var t=Math.ceil,c=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?c:t)(e)}},4630:function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},"4bf8":function(e,n,t){var c=t("be13");e.exports=function(e){return Object(c(e))}},"52a7":function(e,n){n.f={}.propertyIsEnumerable},5537:function(e,n,t){var c=t("8378"),o=t("7726"),a="__core-js_shared__",N=o[a]||(o[a]={});(e.exports=function(e,n){return N[e]||(N[e]=void 0!==n?n:{})})("versions",[]).push({version:c.version,mode:t("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,n,t){var c=t("7726"),o=t("8378"),a=t("32e9"),N=t("2aba"),r=t("9b43"),l="prototype",A=function(e,n,t){var i,m,S,I,u=e&A.F,s=e&A.G,p=e&A.S,h=e&A.P,d=e&A.B,E=s?c:p?c[n]||(c[n]={}):(c[n]||{})[l],f=s?o:o[n]||(o[n]={}),O=f[l]||(f[l]={});for(i in s&&(t=n),t)m=!u&&E&&void 0!==E[i],S=(m?E:t)[i],I=d&&m?r(S,c):h&&"function"==typeof S?r(Function.call,S):S,E&&N(E,i,S,e&A.U),f[i]!=S&&a(f,i,I),h&&O[i]!=S&&(O[i]=S)};c.core=o,A.F=1,A.G=2,A.S=4,A.P=8,A.B=16,A.W=32,A.U=64,A.R=128,e.exports=A},"5dbc":function(e,n,t){var c=t("d3f4"),o=t("8b97").set;e.exports=function(e,n,t){var a,N=n.constructor;return N!==t&&"function"==typeof N&&(a=N.prototype)!==t.prototype&&c(a)&&o&&o(e,a),e}},"5eda":function(e,n,t){var c=t("5ca1"),o=t("8378"),a=t("79e5");e.exports=function(e,n){var t=(o.Object||{})[e]||Object[e],N={};N[e]=n(t),c(c.S+c.F*a(function(){t(1)}),"Object",N)}},"613b":function(e,n,t){var c=t("5537")("keys"),o=t("ca5a");e.exports=function(e){return c[e]||(c[e]=o(e))}},"626a":function(e,n,t){var c=t("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==c(e)?e.split(""):Object(e)}},6821:function(e,n,t){var c=t("626a"),o=t("be13");e.exports=function(e){return c(o(e))}},"69a8":function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},"6a99":function(e,n,t){var c=t("d3f4");e.exports=function(e,n){if(!c(e))return e;var t,o;if(n&&"function"==typeof(t=e.toString)&&!c(o=t.call(e)))return o;if("function"==typeof(t=e.valueOf)&&!c(o=t.call(e)))return o;if(!n&&"function"==typeof(t=e.toString)&&!c(o=t.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},7726:function(e,n){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},"77f1":function(e,n,t){var c=t("4588"),o=Math.max,a=Math.min;e.exports=function(e,n){return e=c(e),e<0?o(e+n,0):a(e,n)}},"79e5":function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7a56":function(e,n,t){"use strict";var c=t("7726"),o=t("86cc"),a=t("9e1e"),N=t("2b4c")("species");e.exports=function(e){var n=c[e];a&&n&&!n[N]&&o.f(n,N,{configurable:!0,get:function(){return this}})}},"7f20":function(e,n,t){var c=t("86cc").f,o=t("69a8"),a=t("2b4c")("toStringTag");e.exports=function(e,n,t){e&&!o(e=t?e:e.prototype,a)&&c(e,a,{configurable:!0,value:n})}},8378:function(e,n){var t=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=t)},"84f2":function(e,n){e.exports={}},"86cc":function(e,n,t){var c=t("cb7c"),o=t("c69a"),a=t("6a99"),N=Object.defineProperty;n.f=t("9e1e")?Object.defineProperty:function(e,n,t){if(c(e),n=a(n,!0),c(t),o)try{return N(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[n]=t.value),e}},"8b97":function(e,n,t){var c=t("d3f4"),o=t("cb7c"),a=function(e,n){if(o(e),!c(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,n,c){try{c=t("9b43")(Function.call,t("11e9").f(Object.prototype,"__proto__").set,2),c(e,[]),n=!(e instanceof Array)}catch(e){n=!0}return function(e,t){return a(e,t),n?e.__proto__=t:c(e,t),e}}({},!1):void 0),check:a}},9093:function(e,n,t){var c=t("ce10"),o=t("e11e").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return c(e,o)}},"9b43":function(e,n,t){var c=t("d8e8");e.exports=function(e,n,t){if(c(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,c){return e.call(n,t,c)};case 3:return function(t,c,o){return e.call(n,t,c,o)}}return function(){return e.apply(n,arguments)}}},"9c6c":function(e,n,t){var c=t("2b4c")("unscopables"),o=Array.prototype;void 0==o[c]&&t("32e9")(o,c,{}),e.exports=function(e){o[c][e]=!0}},"9def":function(e,n,t){var c=t("4588"),o=Math.min;e.exports=function(e){return e>0?o(c(e),9007199254740991):0}},"9e1e":function(e,n,t){e.exports=!t("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},aa77:function(e,n,t){var c=t("5ca1"),o=t("be13"),a=t("79e5"),N=t("fdef"),r="["+N+"]",l="​…",A=RegExp("^"+r+r+"*"),i=RegExp(r+r+"*$"),m=function(e,n,t){var o={},r=a(function(){return!!N[e]()||l[e]()!=l}),A=o[e]=r?n(S):N[e];t&&(o[t]=A),c(c.P+c.F*r,"String",o)},S=m.trim=function(e,n){return e=String(o(e)),1&n&&(e=e.replace(A,"")),2&n&&(e=e.replace(i,"")),e};e.exports=m},aae3:function(e,n,t){var c=t("d3f4"),o=t("2d95"),a=t("2b4c")("match");e.exports=function(e){var n;return c(e)&&(void 0!==(n=e[a])?!!n:"RegExp"==o(e))}},ac6a:function(e,n,t){for(var c=t("cadf"),o=t("0d58"),a=t("2aba"),N=t("7726"),r=t("32e9"),l=t("84f2"),A=t("2b4c"),i=A("iterator"),m=A("toStringTag"),S=l.Array,I={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},u=o(I),s=0;s<u.length;s++){var p,h=u[s],d=I[h],E=N[h],f=E&&E.prototype;if(f&&(f[i]||r(f,i,S),f[m]||r(f,m,h),l[h]=S,d))for(p in c)f[p]||a(f,p,c[p],!0)}},be13:function(e,n){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},c366:function(e,n,t){var c=t("6821"),o=t("9def"),a=t("77f1");e.exports=function(e){return function(n,t,N){var r,l=c(n),A=o(l.length),i=a(N,A);if(e&&t!=t){while(A>i)if(r=l[i++],r!=r)return!0}else for(;A>i;i++)if((e||i in l)&&l[i]===t)return e||i||0;return!e&&-1}}},c5f6:function(e,n,t){"use strict";var c=t("7726"),o=t("69a8"),a=t("2d95"),N=t("5dbc"),r=t("6a99"),l=t("79e5"),A=t("9093").f,i=t("11e9").f,m=t("86cc").f,S=t("aa77").trim,I="Number",u=c[I],s=u,p=u.prototype,h=a(t("2aeb")(p))==I,d="trim"in String.prototype,E=function(e){var n=r(e,!1);if("string"==typeof n&&n.length>2){n=d?n.trim():S(n,3);var t,c,o,a=n.charCodeAt(0);if(43===a||45===a){if(t=n.charCodeAt(2),88===t||120===t)return NaN}else if(48===a){switch(n.charCodeAt(1)){case 66:case 98:c=2,o=49;break;case 79:case 111:c=8,o=55;break;default:return+n}for(var N,l=n.slice(2),A=0,i=l.length;A<i;A++)if(N=l.charCodeAt(A),N<48||N>o)return NaN;return parseInt(l,c)}}return+n};if(!u(" 0o1")||!u("0b1")||u("+0x1")){u=function(e){var n=arguments.length<1?0:e,t=this;return t instanceof u&&(h?l(function(){p.valueOf.call(t)}):a(t)!=I)?N(new s(E(n)),t,u):E(n)};for(var f,O=t("9e1e")?A(s):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),U=0;O.length>U;U++)o(s,f=O[U])&&!o(u,f)&&m(u,f,i(s,f));u.prototype=p,p.constructor=u,t("2aba")(c,I,u)}},c69a:function(e,n,t){e.exports=!t("9e1e")&&!t("79e5")(function(){return 7!=Object.defineProperty(t("230e")("div"),"a",{get:function(){return 7}}).a})},c895:function(e){e.exports=[{cnName:"安道尔",cnSpell:"ANDAOER",code:"AD",enName:"Andorra",hot:!1},{cnName:"阿拉伯联合酋长国",cnSpell:"ALABOLIANHEQIUCHANGGUO",code:"AE",enName:"United Arab Emirates",hot:!1},{cnName:"阿富汗",cnSpell:"AFUHAN",code:"AF",enName:"Afghanistan",hot:!1},{cnName:"安提瓜及巴布达",cnSpell:"ANTIGUAJIBABUDA",code:"AG",enName:"Antigua and Barbuda",hot:!1},{cnName:"安圭拉岛",cnSpell:"ANGUILADAO",code:"AI",enName:"Anguilla",hot:!1},{cnName:"阿尔巴尼亚",cnSpell:"AERBANIYA",code:"AL",enName:"Albania",hot:!1},{cnName:"亚美尼亚",cnSpell:"YAMEINIYA",code:"AM",enName:"Armenia",hot:!1},{cnName:"荷属安的列斯群岛",cnSpell:"HESHUANDELIESIQUNDAO",code:"AN",enName:"NETHERLANDS ANTILLES",hot:!1},{cnName:"安哥拉",cnSpell:"ANGELA",code:"AO",enName:"ANGOLA",hot:!1},{cnName:"阿根廷",cnSpell:"AGENTING",code:"AR",enName:"ARGENTINA",hot:!1},{cnName:"美属萨摩亚群岛",cnSpell:"MEISHUSAMOYAQUNDAO",code:"AS",enName:"AMERICAN SAMOA",hot:!1},{cnName:"奥地利",cnSpell:"AODILI",code:"AT",enName:"AUSTRIA",hot:!1},{cnName:"澳大利亚",cnSpell:"AODALIYA",code:"AU",enName:"AUSTRALIA",hot:!0},{cnName:"阿鲁巴岛",cnSpell:"ALUBADAO",code:"AW",enName:"ARUBA",hot:!1},{cnName:"阿塞拜疆(独联体)",cnSpell:"ASAIBAIJIANG(DULIANTI)",code:"AZ",enName:"AZERBAIJAN",hot:!1},{cnName:"波斯尼亚-黑塞哥维那共和国",cnSpell:"BOSINIYA-HEISAIGEWEINAGONGHEGUO",code:"BA",enName:"BOSNIA AND HERZEGOVINA",hot:!1},{cnName:"巴巴多斯",cnSpell:"BABADUOSI",code:"BB",enName:"BARBADOS",hot:!1},{cnName:"孟加拉国",cnSpell:"MENGJIALAGUO",code:"BD",enName:"BANGLADESH",hot:!1},{cnName:"比利时",cnSpell:"BILISHI",code:"BE",enName:"BELGIUM",hot:!1},{cnName:"布基纳法索",cnSpell:"BUJINAFASUO",code:"BF",enName:"BURKINA FASO",hot:!1},{cnName:"保加利亚",cnSpell:"BAOJIALIYA",code:"BG",enName:"BULGARIA",hot:!1},{cnName:"巴林",cnSpell:"BALIN",code:"BH",enName:"BAHRAIN",hot:!1},{cnName:"布隆迪",cnSpell:"BULONGDI",code:"BI",enName:"BURUNDI",hot:!1},{cnName:"贝宁",cnSpell:"BEINING",code:"BJ",enName:"BENIN",hot:!1},{cnName:"百慕大",cnSpell:"BAIMUDA",code:"BM",enName:"BERMUDA",hot:!1},{cnName:"文莱",cnSpell:"WENLAI",code:"BN",enName:"BRUNEI",hot:!1},{cnName:"波利维亚",cnSpell:"BOLIWEIYA",code:"BO",enName:"BOLIVIA",hot:!1},{cnName:"巴西",cnSpell:"BAXI",code:"BR",enName:"BRAZIL",hot:!0},{cnName:"巴哈马",cnSpell:"BAHAMA",code:"BS",enName:"BAHAMAS",hot:!1},{cnName:"不丹",cnSpell:"BUDAN",code:"BT",enName:"BHUTAN",hot:!1},{cnName:"布维岛",cnSpell:"BUWEIDAO",code:"BV",enName:"BOUVET ISLAND",hot:!1},{cnName:"博茨瓦纳",cnSpell:"BOCIWANA",code:"BW",enName:"BOTSWANA",hot:!1},{cnName:"白俄罗斯(独联体)",cnSpell:"BAIELUOSI(DULIANTI)",code:"BY",enName:"BELARUS",hot:!1},{cnName:"伯利兹",cnSpell:"BOLIZI",code:"BZ",enName:"BELIZE",hot:!1},{cnName:"加拿大",cnSpell:"JIANADA",code:"CA",enName:"Canada",hot:!0},{cnName:"科科斯群岛",cnSpell:"KEKESIQUNDAO",code:"CC",enName:"COCOS(KEELING)ISLANDS",hot:!1},{cnName:"刚果民主共和国",cnSpell:"GANGGUOMINZHUGONGHEGUO",code:"CD",enName:"CONGO REPUBLIC ",hot:!1},{cnName:"中非共和国",cnSpell:"ZHONGFEIGONGHEGUO",code:"CF",enName:"CENTRAL REPUBLIC",hot:!1},{cnName:"刚果",cnSpell:"GANGGUO",code:"CG",enName:"CONGO",hot:!1},{cnName:"瑞士",cnSpell:"RUISHI",code:"CH",enName:"SWITZERLAND",hot:!1},{cnName:"科特迪瓦(象牙海岸)",cnSpell:"KETEDIWAXIANGYAHAIAN",code:"CI",enName:"COTE D`LVOIRE(IVORY)",hot:!1},{cnName:"库克群岛",cnSpell:"KUKEQUNDAO",code:"CK",enName:"COOK ISLANDS",hot:!1},{cnName:"智利",cnSpell:"ZHILI",code:"CL",enName:"CHILE",hot:!1},{cnName:"喀麦隆",cnSpell:"KAMAILONG",code:"CM",enName:"CAMEROON",hot:!1},{cnName:"中国",cnSpell:"ZHONGGUO",code:"CN",enName:"CHINA",hot:!0},{cnName:"哥伦比亚",cnSpell:"GELUNBIYA",code:"CO",enName:"COLOMBIA",hot:!1},{cnName:"哥斯达黎加",cnSpell:"GESIDALIJIA",code:"CR",enName:"COSTA RICA",hot:!1},{cnName:"古巴",cnSpell:"GUBA",code:"CU",enName:"CUBA",hot:!1},{cnName:"佛得角群岛",cnSpell:"FODEJIAOQUNDAO",code:"CV",enName:"CAPE VERDE",hot:!1},{cnName:"圣诞岛",cnSpell:"SHENGDANDAO",code:"CX",enName:"CHRISTMAS ISLAND",hot:!1},{cnName:"塞浦路斯",cnSpell:"SAIPULUSI",code:"CY",enName:"CYPRUS",hot:!1},{cnName:"捷克共和国",cnSpell:"JIEKEGONGHEGUO",code:"CZ",enName:"CZECH REPUBLIC",hot:!1},{cnName:"德国",cnSpell:"DEGUO",code:"DE",enName:"GERMANY",hot:!0},{cnName:"吉布提",cnSpell:"JIBUTI",code:"DJ",enName:"DJIBOUTI",hot:!1},{cnName:"丹麦",cnSpell:"DANMAI",code:"DK",enName:"DENMARK",hot:!1},{cnName:"多米尼克",cnSpell:"DUOMINIKE",code:"DM",enName:"DOMINICA",hot:!1},{cnName:"多米尼加共合国",cnSpell:"DUOMINIJIAGONGHEGUO",code:"DO",enName:"DOMINICAN REPUBLIC",hot:!1},{cnName:"阿尔及利亚",cnSpell:"AERJILIYA",code:"DZ",enName:"ALGERIA",hot:!1},{cnName:"厄瓜多尔",cnSpell:"EGUADUOER",code:"EC",enName:"ECUADOR",hot:!1},{cnName:"爱沙尼亚",cnSpell:"AISHANIYA",code:"EE",enName:"ESTONIA",hot:!1},{cnName:"埃及",cnSpell:"AIJI",code:"EG",enName:"EGYPT",hot:!1},{cnName:"西撒哈拉",cnSpell:"XISAHALA",code:"EH",enName:"WESTERN SAHARA ",hot:!1},{cnName:"厄里特立亚",cnSpell:"ELITELIYA",code:"ER",enName:"ERITREA",hot:!1},{cnName:"西班牙",cnSpell:"XIBANYA",code:"ES",enName:"SPAIN",hot:!0},{cnName:"埃塞俄比亚",cnSpell:"AISAIEBIYA",code:"ET",enName:"ETHIOPIA",hot:!1},{cnName:"芬兰",cnSpell:"FENLAN",code:"FI",enName:"FINLAND",hot:!1},{cnName:"斐济",cnSpell:"FEIJI",code:"FJ",enName:"FIJI",hot:!1},{cnName:"福克兰群岛",cnSpell:"FUKELANQUNDAO",code:"FK",enName:"FALKLAND ISLAND",hot:!1},{cnName:"密克罗尼西亚",cnSpell:"MIKELUONIXIYA",code:"FM",enName:"MICRONESIA",hot:!1},{cnName:"法鲁群岛",cnSpell:"FALUOQUNDAO",code:"FO",enName:"FAROE ISLANDS",hot:!1},{cnName:"法国",cnSpell:"FAGUO",code:"FR",enName:"FRANCE",hot:!0},{cnName:"法属美特罗波利坦",cnSpell:"FASHUMEITELUOBOLITAN",code:"FX",enName:"FRANCE, METROPOLITAN",hot:!1},{cnName:"加蓬",cnSpell:"JIAPENG",code:"GA",enName:"GABON",hot:!1},{cnName:"英国",cnSpell:"YINGGUO",code:"GB",enName:"UNITED KINGDOM",hot:!0},{cnName:"格林纳达",cnSpell:"GELINNADA",code:"GD",enName:"GRENADA",hot:!1},{cnName:"格鲁吉亚",cnSpell:"GELUJIYA",code:"GE",enName:"GEORGIA",hot:!1},{cnName:"法属圭亚那",cnSpell:"FASHUGUIYANA",code:"GF",enName:"FRENCH GUIANA",hot:!1},{cnName:"根西岛",cnSpell:"GENXIDAO",code:"GG",enName:"GUERNSEY",hot:!1},{cnName:"加纳",cnSpell:"JIANA",code:"GH",enName:"GHANA",hot:!1},{cnName:"直布罗陀",cnSpell:"ZHIBULUOTUO",code:"GI",enName:"GIBRALTAR",hot:!1},{cnName:"格陵兰",cnSpell:"GELINGLAN",code:"GL",enName:"GREENLAND",hot:!1},{cnName:"冈比亚",cnSpell:"GANGBIYA",code:"GM",enName:"GAMBIA",hot:!1},{cnName:"几内亚",cnSpell:"JINEIYA",code:"GN",enName:"GUINEA ",hot:!1},{cnName:"瓜德罗普",cnSpell:"GUADELUOPU",code:"GP",enName:"GUADELOUPE",hot:!1},{cnName:"赤道几内亚",cnSpell:"CHIDAOJINEIYA",code:"GQ",enName:"EQUATORIAL GUINEA ",hot:!1},{cnName:"希腊",cnSpell:"XILA",code:"GR",enName:"GREECE",hot:!1},{cnName:"南乔治亚岛和南桑威奇群岛",cnSpell:"NANQIAOZHIYADAOHENANSANGWEIQIQUNDAO",code:"GS",enName:"SOUTH GEORGIA AND THE SOUTH SANDWICH ISL",hot:!1},{cnName:"危地马拉",cnSpell:"WEIDIMALA",code:"GT",enName:"GUATEMALA",hot:!1},{cnName:"关岛",cnSpell:"GUANDAO",code:"GU",enName:"GUAM",hot:!1},{cnName:"几内亚比绍",cnSpell:"JINEIYABISHAO",code:"GW",enName:"GUINEA BISSAU",hot:!1},{cnName:"圭亚那",cnSpell:"GUIYANA",code:"GY",enName:"GUYANA (BRITISH)",hot:!1},{cnName:"香港",cnSpell:"XIANGGANG",code:"HK",enName:"HONG KONG",hot:!0},{cnName:"赫德岛和麦克唐纳岛",cnSpell:"HEDEDAOHEMAIKETANGNADAO",code:"HM",enName:"HEARD ISLAND AND MCDONALD ISLANDS",hot:!1},{cnName:"洪都拉斯",cnSpell:"HONGDULASI",code:"HN",enName:"HONDURAS",hot:!1},{cnName:"克罗地亚",cnSpell:"KELUODIYA",code:"HR",enName:"CROATIA",hot:!1},{cnName:"海地",cnSpell:"HAIDI",code:"HT",enName:"HAITI",hot:!1},{cnName:"匈牙利",cnSpell:"XIONGYALI",code:"HU",enName:"HUNGARY",hot:!1},{cnName:"加那利群岛",cnSpell:"JIANALIQUNDAO",code:"IC",enName:"CANARY ISLANDS",hot:!1},{cnName:"印度尼西亚",cnSpell:"YINDUNIXIYA",code:"ID",enName:"INDONESIA",hot:!0},{cnName:"爱尔兰",cnSpell:"AIERLAN",code:"IE",enName:"IRELAND",hot:!1},{cnName:"以色列",cnSpell:"YISELIE",code:"IL",enName:"ISRAEL",hot:!1},{cnName:"印度",cnSpell:"YINDU",code:"IN",enName:"INDIA",hot:!1},{cnName:"英属印度洋地区(查各群岛)",cnSpell:"YINGSHUYINDUYANGDIQUCHAGEQUNDAO",code:"IO",enName:"BRITISH INDIAN OCEAN TERRITORY",hot:!1},{cnName:"伊拉克",cnSpell:"YILAKE",code:"IQ",enName:"IRAQ",hot:!1},{cnName:"伊朗",cnSpell:"YILANG",code:"IR",enName:"IRAN (ISLAMIC REPUBLIC OF)",hot:!1},{cnName:"冰岛",cnSpell:"BINGDAO",code:"IS",enName:"ICELAND",hot:!1},{cnName:"意大利",cnSpell:"YIDALI",code:"IT",enName:"ITALY",hot:!0},{cnName:"泽西岛(英属)",cnSpell:"ZEXIDAO(YINGSHU)",code:"JE",enName:"JERSEY",hot:!1},{cnName:"牙买加",cnSpell:"YAMAIJIA",code:"JM",enName:"JAMAICA",hot:!1},{cnName:"约旦",cnSpell:"YUEDAN",code:"JO",enName:"JORDAN",hot:!1},{cnName:"日本",cnSpell:"RIBEN",code:"JP",enName:"JAPAN",hot:!0},{cnName:"南斯拉夫",cnSpell:"NANSILAFU",code:"JU",enName:"YUGOSLAVIA",hot:!1},{cnName:"肯尼亚",cnSpell:"KENNIYA",code:"KE",enName:"KENYA",hot:!1},{cnName:"吉尔吉斯斯坦",cnSpell:"JIERJISISITAN",code:"KG",enName:"KYRGYZSTAN",hot:!1},{cnName:"柬埔寨",cnSpell:"JIANPUZHAI",code:"KH",enName:"CAMBODIA",hot:!1},{cnName:"基利巴斯共和国",cnSpell:"JILIBASIGONGHEGUO",code:"KI",enName:"KIRIBATI REPUBILC",hot:!1},{cnName:"科摩罗",cnSpell:"KEMOLUO",code:"KM",enName:"COMOROS",hot:!1},{cnName:"圣基茨",cnSpell:"SHENGJICI",code:"KN",enName:"SAINT KITTS ",hot:!1},{cnName:"朝鲜",cnSpell:"CHAOXIAN",code:"KP",enName:"NORTH KOREA",hot:!1},{cnName:"韩国",cnSpell:"HANGUO",code:"KR",enName:"SOUTH KOREA",hot:!0},{cnName:"科索沃",cnSpell:"KESUOWO",code:"KV",enName:"KOSOVO",hot:!1},{cnName:"科威特",cnSpell:"KEWEITE",code:"KW",enName:"KUWAIT",hot:!1},{cnName:"开曼群岛",cnSpell:"KAIMANQUNDAO",code:"KY",enName:"CAYMAN ISLANDS",hot:!1},{cnName:"哈萨克斯坦",cnSpell:"HASAKESITAN",code:"KZ",enName:"KAZAKHSTAN",hot:!1},{cnName:"老挝",cnSpell:"LAOWO",code:"LA",enName:"LAOS",hot:!1},{cnName:"黎巴嫩",cnSpell:"LIBANEN",code:"LB",enName:"LEBANON",hot:!1},{cnName:"圣卢西亚",cnSpell:"SHENGLUXIYA",code:"LC",enName:"ST. LUCIA",hot:!1},{cnName:"列支敦士登",cnSpell:"LIEZHIDUNSHIDENG",code:"LI",enName:"LIECHTENSTEIN",hot:!1},{cnName:"斯里兰卡",cnSpell:"SILILANKA",code:"LK",enName:"SRI LANKA",hot:!1},{cnName:"利比里亚",cnSpell:"LIBILIYA",code:"LR",enName:"LIBERIA",hot:!1},{cnName:"莱索托",cnSpell:"LAISUOTUO",code:"LS",enName:"LESOTHO",hot:!1},{cnName:"立陶宛",cnSpell:"LITAOWAN",code:"LT",enName:"LITHUANIA",hot:!1},{cnName:"卢森堡",cnSpell:"LUSENBAO",code:"LU",enName:"LUXEMBOURG",hot:!1},{cnName:"拉脱维亚",cnSpell:"LATUOWEIYA",code:"LV",enName:"LATVIA",hot:!1},{cnName:"利比亚",cnSpell:"LIBIYA",code:"LY",enName:"LIBYA",hot:!1},{cnName:"摩洛哥",cnSpell:"MOLUOGE",code:"MA",enName:"MOROCCO",hot:!1},{cnName:"摩纳哥",cnSpell:"MONAGE",code:"MC",enName:"MONACO",hot:!1},{cnName:"摩尔多瓦",cnSpell:"MOERDUOWA",code:"MD",enName:"MOLDOVA",hot:!1},{cnName:"黑山共和国",cnSpell:"HEISHANGONGHEGUO",code:"ME",enName:"MONTENEGRO",hot:!1},{cnName:"马达加斯加",cnSpell:"MADAJIASIJIA",code:"MG",enName:"MADAGASCAR",hot:!1},{cnName:"马绍尔群岛",cnSpell:"MASHAOERQUNDAO",code:"MH",enName:"MARSHALL ISLANDS",hot:!1},{cnName:"马其顿",cnSpell:"MAQIDUN",code:"MK",enName:"MACEDONIA",hot:!1},{cnName:"马里",cnSpell:"MALI",code:"ML",enName:"MALI",hot:!1},{cnName:"缅甸",cnSpell:"MIANDIAN",code:"MM",enName:"MYANMAR",hot:!1},{cnName:"蒙古",cnSpell:"MENGGU",code:"MN",enName:"MONGOLIA",hot:!1},{cnName:"澳门",cnSpell:"AOMEN",code:"MO",enName:"MACAU",hot:!0},{cnName:"塞班岛",cnSpell:"SAIBANDAO",code:"MP",enName:"SAIPAN",hot:!1},{cnName:"马提尼克岛",cnSpell:"MATINIKEDAO",code:"MQ",enName:"MARTINIQUE",hot:!1},{cnName:"毛里塔尼亚",cnSpell:"MAOLITANIYA",code:"MR",enName:"MAURITANIA",hot:!1},{cnName:"蒙特塞拉岛",cnSpell:"MENGTESAILADAO",code:"MS",enName:"MONTSERRAT",hot:!1},{cnName:"马尔他",cnSpell:"MAERTA",code:"MT",enName:"MALTA",hot:!1},{cnName:"毛里求斯",cnSpell:"MAOLIQIUSI",code:"MU",enName:"MAURITIUS",hot:!1},{cnName:"马尔代夫",cnSpell:"MAERDAIFU",code:"MV",enName:"MALDIVES",hot:!1},{cnName:"马拉维",cnSpell:"MALAWEI",code:"MW",enName:"MALAWI",hot:!1},{cnName:"墨西哥",cnSpell:"MOXIGE",code:"MX",enName:"MEXICO",hot:!1},{cnName:"马来西亚",cnSpell:"MALAIXIYA",code:"MY",enName:"MALAYSIA",hot:!1},{cnName:"莫桑比克",cnSpell:"MOSANGBIKE",code:"MZ",enName:"MOZAMBIQUE",hot:!1},{cnName:"纳米比亚",cnSpell:"NAMIBIYA",code:"NA",enName:"NAMIBIA",hot:!1},{cnName:"新喀里多尼亚",cnSpell:"XINKALIDUONIYA",code:"NC",enName:"NEW CALEDONIA",hot:!1},{cnName:"尼日尔",cnSpell:"NIRIER",code:"NE",enName:"NIGER",hot:!1},{cnName:"诺褔克岛",cnSpell:"NUOFUKEDAO",code:"NF",enName:"NORFOLK ISLAND",hot:!1},{cnName:"尼日利亚",cnSpell:"NIRILIYA",code:"NG",enName:"NIGERIA",hot:!1},{cnName:"尼加拉瓜",cnSpell:"NIJIALAGUA",code:"NI",enName:"NICARAGUA",hot:!1},{cnName:"荷兰",cnSpell:"HELAN",code:"NL",enName:"NETHERLANDS",hot:!1},{cnName:"挪威",cnSpell:"NUOWEI",code:"NO",enName:"NORWAY",hot:!1},{cnName:"尼泊尔",cnSpell:"NIBOER",code:"NP",enName:"NEPAL",hot:!1},{cnName:"瑙鲁共和国",cnSpell:"NAOLUGONGHEGUO",code:"NR",enName:"NAURU REPUBLIC ",hot:!1},{cnName:"纽埃岛",cnSpell:"NIUAIDAO",code:"NU",enName:"NIUE",hot:!1},{cnName:"新西兰",cnSpell:"XINXILAN",code:"NZ",enName:"NEW ZEALAND",hot:!1},{cnName:"阿曼",cnSpell:"AMAN",code:"OM",enName:"OMAN",hot:!1},{cnName:"巴拿马",cnSpell:"BANAMA",code:"PA",enName:"PANAMA",hot:!1},{cnName:"秘鲁",cnSpell:"MILU",code:"PE",enName:"PERU",hot:!1},{cnName:"塔希堤岛(法属波利尼西亚)",cnSpell:"TAXIDIDAO(FASHUBOLINIXIYA)",code:"PF",enName:"FRENCH POLYNESIA",hot:!1},{cnName:"巴布亚新几内亚",cnSpell:"BABUYAXINJINEIYA",code:"PG",enName:"PAPUA NEW GUINEA",hot:!1},{cnName:"菲律宾",cnSpell:"FEILVBIN",code:"PH",enName:"PHILIPPINES",hot:!1},{cnName:"巴基斯坦",cnSpell:"BAJISITAN",code:"PK",enName:"PAKISTAN",hot:!1},{cnName:"波兰",cnSpell:"BOLAN",code:"PL",enName:"POLAND",hot:!1},{cnName:"圣皮埃尔和密克隆群岛",cnSpell:"SHENGPIAIERHEMIKELONGQUNDAO",code:"PM",enName:"SAINT PIERRE AND MIQUELON",hot:!1},{cnName:"皮特凯恩群岛",cnSpell:"PITEKAIENQUNDAO",code:"PN",enName:"PITCAIRN ISLANDS",hot:!1},{cnName:"波多黎各",cnSpell:"BODUOLIGE",code:"PR",enName:"PUERTO RICO",hot:!1},{cnName:"巴勒斯坦",cnSpell:"BALESITAN",code:"PS",enName:"PALESTINE",hot:!1},{cnName:"葡萄牙",cnSpell:"PUTAOYA",code:"PT",enName:"PORTUGAL",hot:!1},{cnName:"帕劳",cnSpell:"PALAO",code:"PW",enName:"PALAU",hot:!1},{cnName:"巴拉圭",cnSpell:"BALAGUI",code:"PY",enName:"PARAGUAY",hot:!1},{cnName:"卡塔尔",cnSpell:"KATAER",code:"QA",enName:"QATAR",hot:!1},{cnName:"留尼汪岛",cnSpell:"LIUNIWANGDAO",code:"RE",enName:"REUNION ISLAND ",hot:!1},{cnName:"罗马尼亚",cnSpell:"LUOMANIYA",code:"RO",enName:"ROMANIA",hot:!1},{cnName:"塞尔维亚共和国",cnSpell:"SAIERWEIYAGONGHEGUO",code:"RS",enName:"SERBIA, REPUBLIC OF",hot:!1},{cnName:"俄罗斯",cnSpell:"ELUOSI",code:"RU",enName:"RUSSIA",hot:!0},{cnName:"卢旺达",cnSpell:"LUWANGDA",code:"RW",enName:"RWANDA",hot:!1},{cnName:"沙特阿拉伯",cnSpell:"SHATEALABO",code:"SA",enName:"SAUDI ARABIA",hot:!1},{cnName:"所罗门群岛",cnSpell:"SUOLUOMENQUNDAO",code:"SB",enName:"SOLOMON ISLANDS",hot:!1},{cnName:"塞舌尔",cnSpell:"SAISHEER",code:"SC",enName:"SEYCHELLES",hot:!1},{cnName:"苏丹",cnSpell:"SUDAN",code:"SD",enName:"SUDAN",hot:!1},{cnName:"瑞典",cnSpell:"RUIDIAN",code:"SE",enName:"SWEDEN",hot:!1},{cnName:"新加坡",cnSpell:"XINJIAPO",code:"SG",enName:"SINGAPORE",hot:!1},{cnName:"圣赫勒拿岛",cnSpell:"SHENGHELENADAO",code:"SH",enName:"ST HELENA",hot:!1},{cnName:"斯洛文尼亚",cnSpell:"SILUOWENNIYA",code:"SI",enName:"SLOVENIA",hot:!1},{cnName:"斯瓦尔巴岛和扬马延岛",cnSpell:"SIWAERBADAOHEYANGMAYANDAO",code:"SJ",enName:"SVALBARD AND JAN MAYEN",hot:!1},{cnName:"斯洛伐克共和国",cnSpell:"SILUOFAKEGONGHEGUO",code:"SK",enName:"SLOVAKIA REPUBLIC",hot:!1},{cnName:"塞拉里昂",cnSpell:"SAILALIANG",code:"SL",enName:"SIERRA LEONE",hot:!1},{cnName:"圣马力诺",cnSpell:"SHENGMALINUO",code:"SM",enName:"SAN MARINO",hot:!1},{cnName:"塞内加尔",cnSpell:"SAINEIJIAER",code:"SN",enName:"SENEGAL",hot:!1},{cnName:"索马里",cnSpell:"SUOMALI",code:"SO",enName:"SOMALIA",hot:!1},{cnName:"苏里南",cnSpell:"SULINAN",code:"SR",enName:"SURINAME",hot:!1},{cnName:"南苏丹共和国",cnSpell:"NANSUDANGONGHEGUO",code:"SS",enName:"SOUTH SUDAN",hot:!1},{cnName:"圣多美和普林西比",cnSpell:"SHENGDUOMEIHEPULINXIBI",code:"ST",enName:"SAO TOME AND PRINCIPE",hot:!1},{cnName:"萨尔瓦多",cnSpell:"SAERWADUO",code:"SV",enName:"EL SALVADOR",hot:!1},{cnName:"叙利亚",cnSpell:"XULIYA",code:"SY",enName:"SYRIA",hot:!1},{cnName:"斯威士兰",cnSpell:"SIWEISHILAN",code:"SZ",enName:"SWAZILAND",hot:!1},{cnName:"特里斯坦",cnSpell:"TELISITAN",code:"TA",enName:"TRISTAN DA CUNBA",hot:!1},{cnName:"特克斯和凯科斯群岛",cnSpell:"TEKESIHEKAIKESIQUNDAO",code:"TC",enName:"TURKS AND CAICOS ISLANDS",hot:!1},{cnName:"乍得",cnSpell:"ZHADE",code:"TD",enName:"CHAD",hot:!1},{cnName:"法属南部领土",cnSpell:"FASHUNANBULINGTU",code:"TF",enName:"FRENCH SOUTHERN TERRITORIES",hot:!1},{cnName:"多哥",cnSpell:"DUOGE",code:"TG",enName:"TOGO",hot:!1},{cnName:"泰国",cnSpell:"TAIGUO",code:"TH",enName:"THAILAND",hot:!1},{cnName:"塔吉克斯坦",cnSpell:"TAJIKESITAN",code:"TJ",enName:"TAJIKISTAN",hot:!1},{cnName:"托克劳",cnSpell:"TUOKELAO",code:"TK",enName:"TOKELAU",hot:!1},{cnName:"东帝汶",cnSpell:"DONGDI汶",code:"TL",enName:"EAST TIMOR",hot:!1},{cnName:"土库曼斯坦",cnSpell:"TUKUMANSITAN",code:"TM",enName:"TURKMENISTAN",hot:!1},{cnName:"突尼斯",cnSpell:"TUNISI",code:"TN",enName:"TUNISIA",hot:!1},{cnName:"汤加",cnSpell:"TANGJIA",code:"TO",enName:"TONGA",hot:!1},{cnName:"土耳其",cnSpell:"TUERQI",code:"TR",enName:"TURKEY",hot:!0},{cnName:"特立尼达和多巴哥",cnSpell:"TELINIDAHEDUOBAGE",code:"TT",enName:"TRINIDAD AND TOBAGO",hot:!1},{cnName:"图瓦卢",cnSpell:"TUWALU",code:"TV",enName:"TUVALU",hot:!1},{cnName:"台灣",cnSpell:"TAIWAN",code:"TW",enName:"TAIWAN",hot:!0},{cnName:"坦桑尼亚",cnSpell:"TANSANGNIYA",code:"TZ",enName:"TANZANIA",hot:!1},{cnName:"乌克兰",cnSpell:"WUKELAN",code:"UA",enName:"UKRAINE",hot:!1},{cnName:"乌干达",cnSpell:"WUGANDA",code:"UG",enName:"UGANDA",hot:!1},{cnName:"美国本土外小岛屿",cnSpell:"MEIGUOBENTUWAIXIAODAOYU",code:"UM",enName:"UNITED STATES MINOR OUTLYING ISLANDS",hot:!1},{cnName:"美国",cnSpell:"MEIGUO",code:"US",enName:"UNITED STATES OF AMERICA",hot:!0},{cnName:"乌拉圭",cnSpell:"WULAGUI",code:"UY",enName:"URUGUAY",hot:!1},{cnName:"乌兹别克斯坦",cnSpell:"WUZIBIEKESITAN",code:"UZ",enName:"UZBEKISTAN",hot:!1},{cnName:"梵蒂冈",cnSpell:"FANDIGANG",code:"VA",enName:"VATICAN CITY",hot:!1},{cnName:"圣文森特和格林纳丁斯岛",cnSpell:"SHENGWENSENTEHEGELINNADINGSIDAO",code:"VC",enName:"SAINT VINCENT AND THE GRENADINES",hot:!1},{cnName:"委内瑞拉",cnSpell:"WEINEIRUILA",code:"VE",enName:"VENEZUELA",hot:!1},{cnName:"英属维尔京群岛",cnSpell:"YINGSHUWEIERJINGQUNDAO",code:"VG",enName:"VIRGIN ISLAND (GB)",hot:!1},{cnName:"美属维尔京群岛",cnSpell:"MEISHUWEIERJINGQUNDAO",code:"VI",enName:"VIRGIN ISLAND (US)",hot:!1},{cnName:"越南",cnSpell:"YUENAN",code:"VN",enName:"VIETNAM",hot:!1},{cnName:"瓦努阿图",cnSpell:"WANUATU",code:"VU",enName:"VANUATU",hot:!1},{cnName:"瓦利斯群岛和富图纳群岛",cnSpell:"WALISIQUNDAOHEFUTUNAQUNDAO",code:"WF",enName:"WALLIS AND FUTUNA ISLANDS",hot:!1},{cnName:"西萨摩亚",cnSpell:"XISAMOYA",code:"WS",enName:"WESTERN SAMOA",hot:!1},{cnName:"伯奈尔岛",cnSpell:"BONAIERDAO",code:"XB",enName:"BONAIRE",hot:!1},{cnName:"库拉索岛(荷兰)",cnSpell:"KULASUODAOHELAN",code:"XC",enName:"CURACAO",hot:!1},{cnName:"阿森松",cnSpell:"ASENSONG",code:"XD",enName:"ASCENSION",hot:!1},{cnName:"圣尤斯塔提马斯岛",cnSpell:"SHENGYOUSITATIMASIDAO",code:"XE",enName:"ST. EUSTATIUS",hot:!1},{cnName:"北非西班牙属土",cnSpell:"BEIFEIXIBANYASHUTU",code:"XG",enName:"SPANISH TERRITORIES OF N.AFRICA",hot:!1},{cnName:"亚速尔群岛",cnSpell:"YASUERQUNDAO",code:"XH",enName:"AZORES",hot:!1},{cnName:"马德拉岛",cnSpell:"MADELADAO",code:"XI",enName:"MADEIRA",hot:!1},{cnName:"巴利阿里群岛",cnSpell:"BALIALIQUNDAO",code:"XJ",enName:"BALEARIC ISLANDS",hot:!1},{cnName:"加罗林群岛",cnSpell:"JIALUOLINQUNDAO",code:"XK",enName:"CAROLINE ISLANDS",hot:!1},{cnName:"圣马腾岛",cnSpell:"SHENGMADINGDAO",code:"XM",enName:"ST. MAARTEN",hot:!1},{cnName:"尼维斯岛",cnSpell:"NIWEISIDAO",code:"XN",enName:"NEVIS",hot:!1},{cnName:"索马里共和国",cnSpell:"SUOMALIGONGHEGUO",code:"XS",enName:"SOMALILAND",hot:!1},{cnName:"圣巴特勒米岛",cnSpell:"SHENGBATAILEMIDAO",code:"XY",enName:"ST. BARTHELEMY",hot:!1},{cnName:"也门阿拉伯共合国",cnSpell:"YEMENGONGHEGUO",code:"YE",enName:"YEMEN, REPUBLIC OF",hot:!1},{cnName:"马约特",cnSpell:"MAYUETE",code:"YT",enName:"MAYOTTE",hot:!1},{cnName:"南非",cnSpell:"NANFEI",code:"ZA",enName:"SOUTH AFRICA",hot:!0},{cnName:"赞比亚",cnSpell:"ZANBIYA",code:"ZM",enName:"ZAMBIA",hot:!1},{cnName:"扎伊尔",cnSpell:"ZHAYIER",code:"ZR",enName:"ZAIRE",hot:!1},{cnName:"津巴布韦",cnSpell:"JINBABUWEI",code:"ZW",enName:"ZIMBABWE",hot:!1}]},ca5a:function(e,n){var t=0,c=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+c).toString(36))}},cadf:function(e,n,t){"use strict";var c=t("9c6c"),o=t("d53b"),a=t("84f2"),N=t("6821");e.exports=t("01f9")(Array,"Array",function(e,n){this._t=N(e),this._i=0,this._k=n},function(){var e=this._t,n=this._k,t=this._i++;return!e||t>=e.length?(this._t=void 0,o(1)):o(0,"keys"==n?t:"values"==n?e[t]:[t,e[t]])},"values"),a.Arguments=a.Array,c("keys"),c("values"),c("entries")},cb7c:function(e,n,t){var c=t("d3f4");e.exports=function(e){if(!c(e))throw TypeError(e+" is not an object!");return e}},ce10:function(e,n,t){var c=t("69a8"),o=t("6821"),a=t("c366")(!1),N=t("613b")("IE_PROTO");e.exports=function(e,n){var t,r=o(e),l=0,A=[];for(t in r)t!=N&&c(r,t)&&A.push(t);while(n.length>l)c(r,t=n[l++])&&(~a(A,t)||A.push(t));return A}},d3f4:function(e,n){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d53b:function(e,n){e.exports=function(e,n){return{value:n,done:!!e}}},d8e8:function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},e11e:function(e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e315:function(e,n,t){},f110:function(e,n,t){"use strict";var c=t("e315"),o=t.n(c);o.a},fab2:function(e,n,t){var c=t("7726").document;e.exports=c&&c.documentElement},fb15:function(e,n,t){"use strict";t.r(n);t("1eb2");var c=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{staticClass:"lu-country",style:{width:"number"===typeof e.width?e.width+"px":e.width}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.select.text,expression:"select.text"}],ref:"input",staticClass:"lu-country__input",class:"lu-country__input--"+e.size,attrs:{placeholder:e.placeholder,type:"text",autocomplete:"off"},domProps:{value:e.select.text},on:{keyup:e.handleKeyupEvent,focus:e.handleFocusEvent,input:function(n){n.target.composing||e.$set(e.select,"text",n.target.value)}}}),t("div",{ref:"panel",staticClass:"lu-country__panel",on:{click:function(e){e.stopPropagation()}}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.selectShow,expression:"selectShow"}],staticClass:"lu-country__select"},[t("p",{staticClass:"tips",domProps:{innerHTML:e._s("zh"===e.lang?e.tips.zh:e.tips.en)}}),t("ul",{staticClass:"nav",on:{click:e.toggleTab}},e._l(e.countries,function(n,c){return t("li",{key:c,staticClass:"nav-item",class:{active:e.activeTab===c}},[e._v("\n "+e._s(c)+"\n ")])})),t("div",{staticClass:"hot-country"},[e._l(e.countries,function(n,c){return[t("div",{directives:[{name:"show",rawName:"v-show",value:e.activeTab===c,expression:"activeTab === kinds"}],key:c,staticClass:"country-list"},e._l(n,function(n,c){return t("dl",{key:c},[t("dt",[e._v(e._s("HOT"===c?" ":c))]),t("dd",e._l(n,function(n){return t("a",{key:n.code,attrs:{code:n.code,text:n.name},on:{click:e.selectCountry}},[e._v("\n "+e._s(n.name)+"\n ")])}))])}))]})],2)]),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.searchShow,expression:"searchShow"}],staticClass:"lu-country__search"},e._l(e.searchResult,function(n,c){return t("li",{key:c,staticClass:"search-item",class:{active:e.count===c},attrs:{code:n.code,text:n.name}},[t("span",{staticClass:"country-name"},[e._v(e._s(n.name))]),t("span",{staticClass:"country-code"},[e._v(e._s(n.code))])])}))])])},o=[],a=(t("386d"),t("3b2b"),t("ac6a"),t("cadf"),t("456d"),t("c5f6"),function(){var e=navigator.language||navigator.userLanguage;return e.substr(0,2)}),N=t("c895"),r={1:/^[A-C]$/i,2:/^[D-F]$/i,3:/^[G-I]$/i,4:/^[J-L]$/i,5:/^[M-N]$/i,6:/^[O-Q]$/i,7:/^[R-T]$/i,8:/^[U-W]$/i,9:/^[X-Z]$/i},l={name:"VueCountrySelect",props:{width:{type:[String,Number],default:"100%"},language:{type:String,default:"auto"},placeholder:{type:String,default:""},size:{type:String,default:"medium"},data:{type:Array,default:function(){return N}},value:{type:String,required:!0}},data:function(){return{tips:{zh:"输入关键字可搜索国家/地区(支持汉字/拼音/国家代码)",en:"Enter keywords to search for countries/region(support name and code)"},selectShow:!1,searchShow:!1,countries:null,activeTab:"HOT",searchResult:[],count:0,select:{code:this.value,text:""}}},computed:{lang:function(){return"auto"===this.language?a():this.language}},watch:{"select.code":function(e,n){e!==n&&this.$emit("input",e)}},created:function(){this.formatCountry(),this.getText()},mounted:function(){this.setDropdownPos(),document.addEventListener("click",this.handleDocEvent,!1)},beforeDestroy:function(){document.removeEventListener("click",this.handleDocEvent,!1)},methods:{formatCountry:function(){var e=this,n={HOT:{},ABC:{},DEF:{},GHI:{},JKL:{},MN:{},OPQ:{},RST:{},UVW:{},XYZ:{}},t=Object.keys(n),c="";this.data.forEach(function(o,a){c=e.getInitial(o),o.hot&&(n.HOT["HOT"]||(n.HOT["HOT"]=[]),e.pushCountries(n.HOT["HOT"],o));for(var N=1;N<t.length;N++)if(r[N].test(c)){n[t[N]][c]||(n[t[N]][c]=[]),e.pushCountries(n[t[N]][c],o);break}}),this.countries=n},getText:function(){for(var e=this.value,n=0,t=this.data.length;n<t;n++){if(!e)break;var c=this.data[n];if(c.code===e){"zh"===this.lang?this.select.text=c.cnName:this.select.text=c.enName;break}}},setDropdownPos:function(){var e=this.$refs["panel"];e.style.top=this.$refs["input"].clientHeight+5+"px"},handleDocEvent:function(e){e.stopPropagation();var n=e.target;if(n===this.$refs["input"])return!1;this.selectShow=!1,this.searchShow=!1},getInitial:function(e){var n="";switch(this.lang){case"zh":n=e.cnSpell.substr(0,1);break;case"en":n=e.enName.substr(0,1);break;default:n=e.enName.substr(0,1);break}return n},pushCountries:function(e,n){switch(this.lang){case"zh":e.push({name:n.cnName,code:n.code});break;case"en":e.push({name:n.enName,code:n.code});break;default:e.push({name:n.enName,code:n.code});break}},handleFocusEvent:function(){!1===this.searchShow&&(this.selectShow=!0)},handleKeyupEvent:function(){var e=event.currentTarget.value;e?this.searchCountry(e,event):(this.searchShow=!1,this.selectShow=!0)},searchCountry:function(e,n){var t=this,c=new RegExp("^".concat(e,"|\\|").concat(e),"gi");this.searchResult=[];var o="",a=this.lang;this.data.forEach(function(e){o="zh"===a?"".concat(e.cnName,"|").concat(e.code,"|").concat(e.cnSpell):"".concat(e.enName,"|").concat(e.code),o.search(c)>-1&&t.pushCountries(t.searchResult,e)}),this.searchResult.length?(this.searchShow=!0,this.selectShow=!1,this.handleKeyboardEvent(n)):"zh"===this.lang?this.searchResult.push({code:"",name:"没有搜索到对应的国家"}):this.searchResult.push({code:"",name:"No result"})},handleKeyboardEvent:function(e){var n=e.keyCode,t=this.searchResult.length;switch(n){case 40:this.count++,this.count>t-1&&(this.count=0);break;case 38:this.count--,this.count<0&&(this.count=t-1);break;case 13:var c=this.$refs["panel"].querySelector(".search-item.active");this.select.code=c.getAttribute("code"),this.select.text=c.getAttribute("text"),this.searchShow=!1;break;default:break}},toggleTab:function(){var e=event.target;this.activeTab=e.innerHTML.trim()},selectCountry:function(){var e=event.currentTarget;this.select.code=e.getAttribute("code"),this.select.text=e.getAttribute("text"),this.selectShow=!1}}},A=l;t("f110");function i(e,n,t,c,o,a,N,r){var l,A="function"===typeof e?e.options:e;if(n&&(A.render=n,A.staticRenderFns=t,A._compiled=!0),c&&(A.functional=!0),a&&(A._scopeId="data-v-"+a),N?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(N)},A._ssrRegister=l):o&&(l=r?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(A.functional){A._injectStyles=l;var i=A.render;A.render=function(e,n){return l.call(n),i(e,n)}}else{var m=A.beforeCreate;A.beforeCreate=m?[].concat(m,l):[l]}return{exports:e,options:A}}var m=i(A,c,o,!1,null,"6afe619f",null);m.options.__file="countryselector.vue";var S=m.exports;n["default"]=S},fdef:function(e,n){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})["default"]}); //# sourceMappingURL=countryselector.umd.min.js.map