UNPKG

vue-country-tel

Version:

A vue-based mobile phone area code selection, nationality selection component(一个基于vue的手机区号选择、国籍选择组件)

1 lines 57.3 kB
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.vueCountryIntl=t():e.vueCountryIntl=t()}(window,(function(){return t=[function(e,t,n){var o=n(4);e.exports=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=e)},function(e,t,n){e.exports=!n(5)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var o=n(17)("wks"),i=n(19),r=n(1).Symbol,a="function"==typeof r;(e.exports=function(e){return o[e]||(o[e]=a&&r[e]||(a?r:i)("Symbol."+e))}).store=o},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var o=n(0),i=n(29),r=n(23),a=Object.defineProperty;t.f=n(2)?Object.defineProperty:function(e,t,n){if(o(e),t=r(t,!0),o(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var o=n(11),i=Math.min;e.exports=function(e){return 0<e?i(o(e),9007199254740991):0}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";function o(e){if("string"==typeof(t=u(e,!1))&&2<t.length){var t,n,o,i=(t=g?t.trim():p(t,3)).charCodeAt(0);if(43===i||45===i){if(88===(e=t.charCodeAt(2))||120===e)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+t}for(var r,a=t.slice(2),s=0,l=a.length;s<l;s++)if((r=a.charCodeAt(s))<48||o<r)return NaN;return parseInt(a,n)}}return+t}var i=n(1),r=n(14),a=n(9),s=n(33),u=n(23),l=n(5),c=n(36).f,d=n(34).f,f=n(6).f,p=n(52).trim,h="Number",v=x=i[h],y=x.prototype,m=a(n(54)(y))==h,g="trim"in String.prototype;if(!x(" 0o1")||!x("0b1")||x("+0x1")){for(var b,x=function(e){e=arguments.length<1?0:e;var t=this;return t instanceof x&&(m?l((function(){y.valueOf.call(t)})):a(t)!=h)?s(new v(o(e)),t,x):o(e)},w=n(2)?c(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;w.length>C;C++)r(v,b=w[C])&&!r(x,b)&&f(x,b,d(v,b));(x.prototype=y).constructor=x,n(13)(i,h,x)}},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?o:n)(e)}},function(e,t,n){var o=n(6),i=n(31);e.exports=n(2)?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var o=n(1),i=n(12),r=n(14),a=n(19)("src"),s=n(47),u="toString",l=(""+s).split(u);n(18).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(r(n,"name")||i(n,"name",t)),e[t]!==n&&(u&&(r(n,a)||i(n,a,e[t]?""+e[t]:l.join(String(t)))),e===o?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var o=n(43)(!0);e.exports=function(e,t,n){return t+(n?o(e,t).length:1)}},function(e,t,n){"use strict";var o=n(44),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){if("object"!=typeof(n=n.call(e,t)))throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==o(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){var o=n(18),i=n(1),r="__core-js_shared__",a=i[r]||(i[r]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:o.version,mode:n(45)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e=e.exports={version:"2.6.12"},"number"==typeof __e&&(__e=e)},function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+o).toString(36))}},function(e,t,n){"use strict";n(46);var o=n(13),i=n(12),r=n(5),a=n(8),s=n(3),u=n(21),l=s("species"),c=!r((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),d=function(){var e=/(?:)/,t=e.exec;return e.exec=function(){return t.apply(this,arguments)},2===(e="ab".split(e)).length&&"a"===e[0]&&"b"===e[1]}();e.exports=function(e,t,n){var f,p,h=s(e),v=!r((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),y=v?!r((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[l]=function(){return n}),n[h](""),!t})):void 0;v&&y&&("replace"!==e||c)&&("split"!==e||d)||(f=/./[h],n=(y=n(a,h,""[e],(function(e,t,n,o,i){return t.exec===u?v&&!i?{done:!0,value:f.call(t,n,o)}:{done:!0,value:e.call(n,t,o)}:{done:!1}})))[0],p=y[1],o(String.prototype,e,n),i(RegExp.prototype,h,2==t?function(e,t){return p.call(e,this,t)}:function(e){return p.call(e,this)}))}},function(e,t,n){"use strict";var o,i=n(28),r=RegExp.prototype.exec,a=String.prototype.replace,s=r,u="lastIndex",l=(o=/a/,n=/b*/g,r.call(o,"a"),r.call(n,"a"),0!==o[u]||0!==n[u]),c=void 0!==/()??/.exec("")[1];(l||c)&&(s=function(e){var t,n,o,s,d=this;return c&&(n=new RegExp("^"+d.source+"$(?!\\s)",i.call(d))),l&&(t=d[u]),o=r.call(d,e),l&&o&&(d[u]=d.global?o.index+o[0].length:t),c&&o&&1<o.length&&a.call(o[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)})),o}),e.exports=s},function(e,t,n){var o=n(1),i=n(18),r=n(12),a=n(13),s=n(24),u="prototype",l=function(e,t,n){var c,d,f,p=e&l.F,h=e&l.G,v=e&l.S,y=e&l.P,m=e&l.B,g=h?o:v?o[t]||(o[t]={}):(o[t]||{})[u],b=h?i:i[t]||(i[t]={}),x=b[u]||(b[u]={});for(c in n=h?t:n)d=((f=!p&&g&&void 0!==g[c])?g:n)[c],f=m&&f?s(d,o):y&&"function"==typeof d?s(Function.call,d):d,g&&a(g,c,d,e&l.U),b[c]!=d&&r(b,c,f),y&&x[c]!=d&&(x[c]=d)};o.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var o=n(4);e.exports=function(e,t){if(!o(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!o(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var o=n(32);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,i){return e.call(t,n,o,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var o=n(35),i=n(8);e.exports=function(e){return o(i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){"use strict";var o=n(0),i=n(7),r=n(15),a=n(16);n(20)("match",1,(function(e,t,n,s){return[function(n){var o=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o):new RegExp(n)[t](String(o))},function(e){var t=s(n,e,this);if(t.done)return t.value;var u=o(e),l=String(this);if(!u.global)return a(u,l);for(var c=u.unicode,d=[],f=u.lastIndex=0;null!==(p=a(u,l));){var p=String(p[0]);""===(d[f]=p)&&(u.lastIndex=r(l,i(u.lastIndex),c)),f++}return 0===f?null:d}]}))},function(e,t,n){"use strict";var o=n(0);e.exports=function(){var e=o(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){e.exports=!n(2)&&!n(5)((function(){return 7!=Object.defineProperty(n(30)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var o=n(4),i=n(1).document,r=o(i)&&o(i.createElement);e.exports=function(e){return r?i.createElement(e):{}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var o=n(4),i=n(48).set;e.exports=function(e,t,n){var r;return(t=t.constructor)!==n&&"function"==typeof t&&(r=t.prototype)!==n.prototype&&o(r)&&i&&i(e,r),e}},function(e,t,n){var o=n(49),i=n(31),r=n(25),a=n(23),s=n(14),u=n(29),l=Object.getOwnPropertyDescriptor;t.f=n(2)?l:function(e,t){if(e=r(e),t=a(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t,n){var o=n(9);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==o(e)?e.split(""):Object(e)}},function(e,t,n){var o=n(37),i=n(26).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,i)}},function(e,t,n){var o=n(14),i=n(25),r=n(50)(!1),a=n(38)("IE_PROTO");e.exports=function(e,t){var n,s=i(e),u=0,l=[];for(n in s)n!=a&&o(s,n)&&l.push(n);for(;t.length>u;)o(s,n=t[u++])&&(~r(l,n)||l.push(n));return l}},function(e,t,n){var o=n(17)("keys"),i=n(19);e.exports=function(e){return o[e]||(o[e]=i(e))}},function(e,t,n){var o=n(6).f,i=Function.prototype,r=/^\s*function ([^ (]*)/;"name"in i||n(2)&&o(i,"name",{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},function(e,t,n){var o=n(8);e.exports=function(e){return Object(o(e))}},function(e,t,n){var o=n(4),i=n(9),r=n(3)("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[r])?!!t:"RegExp"==i(e))}},function(e,t,n){e.exports=n(74)},function(e,t,n){var o=n(11),i=n(8);e.exports=function(e){return function(t,n){var r,a=String(i(t)),s=o(n);t=a.length;return s<0||t<=s?e?"":void 0:(n=a.charCodeAt(s))<55296||56319<n||s+1===t||(r=a.charCodeAt(s+1))<56320||57343<r?e?a.charAt(s):n:e?a.slice(s,s+2):r-56320+(n-55296<<10)+65536}}},function(e,t,n){var o=n(9),i=n(3)("toStringTag"),r="Arguments"==o(function(){return arguments}());e.exports=function(e){var t;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(e=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?e:r?o(t):"Object"==(e=o(t))&&"function"==typeof t.callee?"Arguments":e}},function(e,t){e.exports=!1},function(e,t,n){"use strict";var o=n(21);n(22)({target:"RegExp",proto:!0,forced:o!==/./.exec},{exec:o})},function(e,t,n){e.exports=n(17)("native-function-to-string",Function.toString)},function(e,t,n){function o(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")}var i=n(4),r=n(0);e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{(i=n(24)(Function.call,n(34).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var o=n(25),i=n(7),r=n(51);e.exports=function(e){return function(t,n,a){var s,u=o(t),l=i(u.length),c=r(a,l);if(e&&n!=n){for(;c<l;)if((s=u[c++])!=s)return!0}else for(;c<l;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var o=n(11),i=Math.max,r=Math.min;e.exports=function(e,t){return(e=o(e))<0?i(e+t,0):r(e,t)}},function(e,t,n){var o=n(22),i=n(8),r=n(5),a=n(53),s=(n="["+a+"]",RegExp("^"+n+n+"*")),u=RegExp(n+n+"*$"),l=(n=function(e,t,n){var i={},s=r((function(){return!!a[e]()||"​…"!="​…"[e]()}));t=i[e]=s?t(l):a[e];n&&(i[n]=t),o(o.P+o.F*s,"String",i)}).trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(s,"")),2&t?e.replace(u,""):e};e.exports=n},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){function o(){}var i=n(0),r=n(55),a=n(26),s=n(38)("IE_PROTO"),u="prototype",l=function(){var e=n(30)("iframe"),t=a.length;for(e.style.display="none",n(57).appendChild(e),e.src="javascript:",(e=e.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;t--;)delete l[u][a[t]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(o[u]=i(e),n=new o,o[u]=null,n[s]=e):n=l(),void 0===t?n:r(n,t)}},function(e,t,n){var o=n(6),i=n(0),r=n(56);e.exports=n(2)?Object.defineProperties:function(e,t){i(e);for(var n,a=r(t),s=a.length,u=0;u<s;)o.f(e,n=a[u++],t[n]);return e}},function(e,t,n){var o=n(37),i=n(26);e.exports=Object.keys||function(e){return o(e,i)}},function(e,t,n){n=n(1).document,e.exports=n&&n.documentElement},function(e,t,n){"use strict";var o=n(22),i=n(59)(6),r="findIndex",a=!0;r in[]&&Array(1)[r]((function(){a=!1})),o(o.P+o.F*a,"Array",{findIndex:function(e){return i(this,e,1<arguments.length?arguments[1]:void 0)}}),n(63)(r)},function(e,t,n){var o=n(24),i=n(35),r=n(40),a=n(7),s=n(60);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,d=6==e,f=5==e||d,p=t||s;return function(t,s,h){for(var v,y,m=r(t),g=i(m),b=o(s,h,3),x=a(g.length),w=0,C=n?p(t,x):u?p(t,0):void 0;w<x;w++)if((f||w in g)&&(y=b(v=g[w],w,m),e))if(n)C[w]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:C.push(v)}else if(c)return!1;return d?-1:l||c?c:C}}},function(e,t,n){var o=n(61);e.exports=function(e,t){return new(o(e))(t)}},function(e,t,n){var o=n(4),i=n(62),r=n(3)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),o(t)&&null===(t=t[r])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var o=n(9);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(3)("unscopables"),i=Array.prototype;null==i[o]&&n(12)(i,o,{}),e.exports=function(e){i[o][e]=!0}},function(e,t,n){var o=n(1),i=n(33),r=n(6).f,a=n(36).f,s=n(41),u=n(28),l=h=o.RegExp,c=h.prototype,d=/a/g,f=/a/g,p=new h(d)!==d;if(n(2)&&(!p||n(5)((function(){return f[n(3)("match")]=!1,h(d)!=d||h(f)==f||"/a/i"!=h(d,"i")})))){for(var h=function(e,t){var n=this instanceof h,o=s(e),r=void 0===t;return!n&&o&&e.constructor===h&&r?e:i(p?new l(o&&!r?e.source:e,t):l((o=e instanceof h)?e.source:e,o&&r?u.call(e):t),n?this:c,h)},v=a(l),y=0;v.length>y;)!function(e){e in h||r(h,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})}(v[y++]);(c.constructor=h).prototype=c,n(13)(o,"RegExp",h)}n(65)("RegExp")},function(e,t,n){"use strict";var o=n(1),i=n(6),r=n(2),a=n(3)("species");e.exports=function(e){e=o[e],r&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var o=n(0),i=n(40),r=n(7),a=n(11),s=n(15),u=n(16),l=Math.max,c=Math.min,d=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;n(20)("replace",2,(function(e,t,n,h){return[function(o,i){var r=e(this),a=null==o?void 0:o[t];return void 0!==a?a.call(o,r,i):n.call(String(r),o,i)},function(e,t){var v=h(n,e,this,t);if(v.done)return v.value;var y=o(e),m=String(this),g="function"==typeof t;g||(t=String(t));var b,x=y.global;x&&(b=y.unicode,y.lastIndex=0);for(var w=[];;){if(null===(T=u(y,m)))break;if(w.push(T),!x)break;""===String(T[0])&&(y.lastIndex=s(m,r(y.lastIndex),b))}for(var C,_="",S=0,I=0;I<w.length;I++){for(var T=w[I],k=String(T[0]),E=l(c(a(T.index),m.length),0),P=[],B=1;B<T.length;B++)P.push(void 0===(C=T[B])?C:String(C));var N,A=T.groups;A=g?(N=[k].concat(P,E,m),void 0!==A&&N.push(A),String(t.apply(void 0,N))):function(e,t,o,r,a,s){var u=o+e.length,l=r.length,c=p;return void 0!==a&&(a=i(a),c=f),n.call(s,c,(function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,o);case"'":return t.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0==c)return n;if(l<c){var f=d(c/10);return 0===f?n:f<=l?void 0===r[f-1]?i.charAt(1):r[f-1]+i.charAt(1):n}s=r[c-1]}return void 0===s?"":s}))}(k,m,E,P,A,t);S<=E&&(_+=m.slice(S,E)+A,S=E+k.length)}return _+m.slice(S)}]}))},function(e,t,n){"use strict";var o=n(41),i=n(0),r=n(68),a=n(15),s=n(7),u=n(16),l=n(21),c=n(5),d=Math.min,f=[].push,p="split",h="length",v="lastIndex",y=4294967295,m=!c((function(){RegExp(y,"y")}));n(20)("split",2,(function(e,t,n,c){var g="c"=="abbc"[p](/(b)*/)[1]||4!="test"[p](/(?:)/,-1)[h]||2!="ab"[p](/(?:ab)*/)[h]||4!="."[p](/(.?)(.?)/)[h]||1<"."[p](/()()/)[h]||""[p](/.?/)[h]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!o(e))return n.call(i,e,t);for(var r,a,s,u=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,p=void 0===t?y:t>>>0,m=new RegExp(e.source,c+"g");(r=l.call(m,i))&&!(d<(a=m[v])&&(u.push(i.slice(d,r.index)),1<r[h]&&r.index<i[h]&&f.apply(u,r.slice(1)),s=r[0][h],d=a,u[h]>=p));)m[v]===r.index&&m[v]++;return d===i[h]?!s&&m.test("")||u.push(""):u.push(i.slice(d)),u[h]>p?u.slice(0,p):u}:"0"[p](void 0,0)[h]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n;return[function(n,o){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i,o):g.call(String(i),n,o)},function(e,t){if((f=c(g,e,this,t,g!==n)).done)return f.value;var o=i(e),l=String(this),f=r(o,RegExp),p=o.unicode,h=(e=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(m?"y":"g"),new f(m?o:"^(?:"+o.source+")",e)),v=void 0===t?y:t>>>0;if(0==v)return[];if(0===l.length)return null===u(h,l)?[l]:[];for(var b=0,x=0,w=[];x<l.length;){h.lastIndex=m?x:0;var C,_=u(h,m?l:l.slice(x));if(null===_||(C=d(s(h.lastIndex+(m?0:x)),l.length))===b)x=a(l,x,p);else{if(w.push(l.slice(b,x)),w.length===v)return w;for(var S=1;S<=_.length-1;S++)if(w.push(_[S]),w.length===v)return w;x=b=C}}return w.push(l.slice(b)),w}]}))},function(e,t,n){var o=n(0),i=n(32),r=n(3)("species");e.exports=function(e,t){var n;return void 0===(e=o(e).constructor)||null==(n=o(e)[r])?t:i(n)}},function(e,t,n){"use strict";n(75)},function(e,t,n){"use strict";n(84)},function(e,t,n){"use strict";n(87)},function(e,t,n){"use strict";n(90)},function(e,t,n){"use strict";n(93)},function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement;t=e._self._c||t;return"input"===e.schema?t("schema-input",e._b({ref:"schemaInput",on:{onChange:e._onChange,selectedChange:e._onSelectedChange},model:{value:e.countryIntlValue,callback:function(t){e.countryIntlValue=t},expression:"countryIntlValue"}},"schema-input",e.$props,!1),[t("template",{slot:"vueCountryNoData"},[e._t("vueCountryNoData")],2)],2):"popover"===e.schema?t("schema-popover",e._b({ref:"schemaPopover",on:{onChange:e._onChange},model:{value:e.countryIntlValue,callback:function(t){e.countryIntlValue=t},expression:"countryIntlValue"}},"schema-popover",e.$props,!1),[e._t("reference",null,{slot:"reference"}),e._v(" "),t("template",{slot:"vueCountryNoData"},[e._t("vueCountryNoData")],2)],2):"modal"===e.schema?t("schema-modal",e._b({ref:"schemaModal",attrs:{visible:e.modalVisible},on:{"update:visible":function(t){e.modalVisible=t},onChange:e._onChange},model:{value:e.countryIntlValue,callback:function(t){e.countryIntlValue=t},expression:"countryIntlValue"}},"schema-modal",e.$props,!1),[t("template",{slot:"vueCountryNoData"},[e._t("vueCountryNoData")],2)],2):e._e()};o._withStripped=!0,n(27),n(10);var i=function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{staticClass:"vue-country-intl",class:{focused:e.inputFocused,"list-on-bottom":e.listOnBottom,"list-on-top":!e.listOnBottom,"vue-country-disabled":e.disabled}},[t("div",{ref:"input_wrap",staticClass:"country-intl-input-wrap",class:{"no-data":!e.selected.name,"has-selected":e.selected.name},on:{click:e.show}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInput",staticClass:"country-intl-input",attrs:{type:"text",autocomplete:"off",focus:"show",blur:"hide",id:e.id+"-input",placeholder:e.placeholder,readonly:e.isIos&&e.deviceWidth<992&&e.iosMobileReadonly},domProps:{value:e.searchText},on:{input:function(t){t.target.composing||(e.searchText=t.target.value)}}}),e._v(" "),t("label",{staticClass:"country-intl-label"},[t("span",{directives:[{name:"show",rawName:"v-show",value:e.showLabelImg,expression:"showLabelImg"}],staticClass:"iti-flag",class:e.selected.iso2}),e._v(" "),t("span",[e._v(e._s(e.viewText))])]),e._v(" "),t("label",{staticClass:"dropdown-flag"}),e._v(" "),t("div",{staticClass:"prevent-click"})]),e._v(" "),t("country-list",{directives:[{name:"show",rawName:"v-show",value:e.countryListShow,expression:"countryListShow"}],ref:"countryList",attrs:{"search-text":e.searchText,selectedText:e.selectedText,"show-selected-text":e.showSelectedText,type:e.type,iso2:e.iso2,"search-able":e.searchAble,"disable-country":e.disableCountry,"only-country":e.onlyCountry,"no-data-text":e.noDataText,"use-chinese":e.useChinese},on:{onchange:e._onCountryChange,selectedChange:e._onSelectedChange},model:{value:e.schemaInputValue,callback:function(t){e.schemaInputValue=t},expression:"schemaInputValue"}},[t("template",{slot:"vueCountryNoData"},[e._t("vueCountryNoData")],2)],2)],1)};i._withStripped=!0,n(39),(b=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"vue-country-list-wrap",style:{"z-index":0!=e.listZIndex?e.listZIndex:"","max-height":0<e.maxHeight?e.maxHeight+"px":""}},[n("ul",{staticClass:"vue-country-list",on:{click:e._countryItemClick}},[e._l(e.countryList,(function(t,o){return n("li",{key:t.iso2,staticClass:"vue-country-item",class:{selected:t.iso2===e.selected.iso2},attrs:{"data-index":o,"data-iso":t.iso2}},[n("span",{staticClass:"iti-flag",class:t.iso2}),e._v(" "),n("span",{staticClass:"vue-country-name"},[e._v(e._s(e.useChinese?t.nameCN:t.name))]),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.showAreaCode,expression:"showAreaCode"}],staticClass:"vue-country-areaCode"},[e._v("+"+e._s(t.dialCode))]),e._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:e.showSelectedText,expression:"showSelectedText"}],staticClass:"selected-text"},[e._v(e._s(e.selectedText))])])})),e._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:0===e.countryList.length,expression:"countryList.length === 0"}],staticClass:"vue-country-no-data"},[e._t("vueCountryNoData",(function(){return[e._v(e._s(e.noDataText))]}))],2)],2)])})._withStripped=!0,n(58),n(64),n(66),n(67);for(var r=["阿富汗","阿尔巴尼亚","阿尔及利亚","美属萨摩亚群岛","安道尔","安哥拉共和国","安圭拉","安提瓜岛","阿根廷","亚美尼亚","阿鲁巴","澳大利亚","奥地利共和国","阿塞拜疆共和国","巴哈马国","巴林王国","孟加拉人民共和国","巴巴多斯","白俄罗斯共和国","比利时王国 (België)","伯利兹","贝宁共和国 (Bénin)","百慕大群岛","不丹王国","玻利维亚国","波斯尼亚和黑塞哥维那","博茨瓦纳","巴西联邦共和国","英属印度洋领地","英属维尔京群岛","文莱达鲁萨兰国","保加利亚共和国","布基纳法索","布隆迪共和国","柬埔寨王国","喀麦隆共和国","加拿大","佛得角共和国","荷兰王国","开曼群岛","中非共和国","乍得共和国","智利共和国","中国","圣诞岛","科科斯群岛","哥伦比亚共和国","科摩罗联盟","刚果民主共和国","刚果共和国","库克群岛","哥斯达黎加共和国","科特迪瓦","克罗地亚共和国","古巴共和国","库拉索","塞浦路斯","捷克共和国","丹麦","吉布提共和国","多米尼克国","多米尼加共和国","厄瓜多尔","埃及","萨尔瓦","赤道几内亚","厄立特里亚","爱沙尼亚共和国","埃塞俄比亚","马尔维纳斯群岛","法罗群岛","斐济共和国","芬兰","法国","法属圭亚那","法属波利尼西亚","加蓬","冈比亚","格鲁吉亚","德国","加纳","直布罗陀","希腊","格陵兰","格林纳达","瓜德罗普岛","关岛","危地马拉","根西","几内亚","几内亚比绍共和国","圭亚那","海地","洪都拉斯","中国香港","匈牙利","冰岛","印度","印度尼西亚","地拉那","伊拉克共和国","爱尔兰","马恩岛","以色列国","意大利","牙买加","日本","泽西","约旦哈希姆王国","哈萨克斯坦共和国","肯尼亚","基里巴斯","科索沃","科威特国","吉尔吉斯共和国","老挝人民民主共和国","拉脱维亚共和国","黎巴嫩共和国","莱索托","利比里亚","利比亚","列支敦士登","立陶宛共和国","卢森堡","中國澳門","马其顿","马达加斯加共和国","马拉维","马来西亚","马尔代夫","马里","马耳他","马绍尔群岛共和国","马提尼克岛","毛里塔尼亚","毛里求斯","马约特","墨西哥","密克罗尼西亚","摩尔多瓦共和国","摩纳哥","蒙古","黑山共和国","蒙特塞拉特岛","摩洛哥","莫桑比克","缅甸联邦共和国","纳米比亚","瑙鲁","尼泊尔","荷兰","新喀里多尼亚","新西兰","尼加拉瓜","尼日尔","尼日利亚","纽埃","诺福克岛","North Korea (조선 민주주의 인민 공화국)","北马里亚纳群岛","挪威","阿曼苏丹国","巴基斯坦","帕劳共和国","巴勒斯坦国","巴拿马","巴布亚新几内亚独立国","巴拉圭","秘鲁","菲律宾共和国","波兰","葡萄牙","波多黎各岛","卡塔尔国","留尼旺岛","罗马尼亚","俄罗斯","卢旺达","圣巴托洛缪岛","圣海伦娜岛","圣基茨和尼维斯联邦","圣卢西亚","圣马丁岛","圣皮埃尔岛和密克隆岛","圣文森特和格林纳丁斯","西萨摩亚","圣马利诺","São Tomé and Príncipe (São Tomé e Príncipe)","沙特阿拉伯王国","塞内加尔","塞尔维亚共和国","塞舌尔","塞拉利昂共和国","新加坡","圣马丁岛","斯洛伐克共和国","斯洛文尼亚","所罗门群岛","索马里","南非","韩国","南苏丹共和国","西班牙","斯里兰卡","苏丹","苏里南","斯瓦尔巴群岛","斯威士兰","瑞典","瑞士","阿拉伯叙利亚共和国","中国台灣","塔吉克斯坦共和国","坦桑尼亚","泰国","东帝汶民主共和国","多哥","托克劳群岛","汤加","特立尼达和多巴哥共和国","突尼斯","土耳其","土库曼斯坦","特克斯和凯科斯群岛","图瓦卢","美属维尔京群岛","乌干达共和国","乌克兰","阿拉伯联合酋长国","大不列颠联合王国","美国","乌拉圭","乌兹别克斯坦共和国","瓦努阿图","梵蒂冈","委内瑞拉","越南","瓦利斯群岛和富图纳群岛","阿拉伯撒哈拉民主共和国","也门共和国","赞比亚","津巴布韦","奥兰群岛"],a=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1684"],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1264"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1242"],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1246"],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1441"],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1284"],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1],["Cayman Islands","ky","1345"],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2],["Cocos (Keeling) Islands","cc","61",1],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1473"],["Guadeloupe","gp","590",0],["Guam","gu","1671"],["Guatemala","gt","502"],["Guernsey","gg","44",1],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (中国香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (中國澳門)","mo","853"],["Macedonia (FYROM) (Македонија)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1664"],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["Northern Mariana Islands","mp","1670"],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1721"],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1],["Swaziland","sz","268"],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (中国台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1649"],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1340"],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1]],s=0;s<a.length;s++){var u=a[s];a[s]={name:u[0],nameCN:r[s],iso2:u[1],dialCode:u[2],priority:u[3]||0,areaCodes:u[4]||null}}var l=a,c={name:"CountryList",props:{value:{type:[String,Number],default:""},type:{type:String,default:"phone"},iso2:{type:String,default:""},listZIndex:{type:Number,default:0},maxHeight:{type:Number,default:0},searchText:{type:[String,Number],default:""},showAreaCode:{type:Boolean,default:!0},selectedText:{type:String,default:"Selected"},showSelectedText:{type:Boolean,default:!0},searchAble:{type:Boolean,default:!0},disableCountry:{type:[String,Array],default:function(){return[]}},onlyCountry:{type:[String,Array],default:function(){return[]}},noDataText:{type:String,default:"未找到任何数据!"},useChinese:{type:Boolean,default:!1}},data:function(){return{selected:{}}},computed:{countryList:function(){var e=this,t=this.searchText||"",n=l,o="string"==typeof this.disableCountry?this.disableCountry.split(","):this.disableCountry,i="string"==typeof this.onlyCountry?this.onlyCountry.split(","):this.onlyCountry;return 0<i.length&&(n=n.filter((function(t){return-1<e.getIndex(i,(function(e){var n=e+"";return"+"===n.charAt(0)&&(n=n.replace("+","")),t.name===e||t.nameCN===e||t.dialCode===n||t.iso2===e}))}))),0<o.length&&(n=n.filter((function(t){return-1===e.getIndex(o,(function(e){var n=e+"";return"+"===n.charAt(0)&&(n=n.replace("+","")),t.name===e||t.nameCN===e||t.dialCode===n||t.iso2===e}))}))),this.searchAble&&0!==t.length?(t=t.replace("+","\\+"),n=n.filter((function(e){var n=new RegExp(t,"gi"),o=n.test(e.name||e.nameCN),i=n.test(e.dialCode);e=n.test(e.iso2);return o||i||e}))):n}},watch:{value:{immediate:!0,handler:function(){var e=this.calcSelectedOption();e!==this.selected&&(this.selected=e,this.$emit("selectedChange",e))}}},methods:{calcSelectedOption:function(){var e=this,t=this.value;if(0==(t+"").length)return{};var n="phone"===this.type.toLowerCase();"+"===(t+"").charAt(0)&&(t=t.substr(1));var o=this.countryList.filter((function(o){return n?e.iso2?o.iso2==e.iso2:o.dialCode==t:o.iso2==t}));return o&&0!==o.length&&o[0]||{}},_countryItemClick:function(e){(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0;var t=e.target;this.justRead||("LI"!==t.nodeName&&(t=t.parentElement),console.log("target",t,e.currentTarget),t=t.getAttribute("data-index"),(t=this.countryList[t])&&(this.isManualShow&&(this.inputFocused=!1,this.countryListShow=!1,this.isManualShow=!1),this.selected=t,this.$emit("input","phone"===this.type.toLowerCase()?t.dialCode||"":t.iso2||""),this.$emit("onchange",t,"phone"===this.type.toLowerCase()?t.dialCode||"":t.iso2||"")))},getIndex:function(e,t){if(!e||0==e.length||!t||"function"!=typeof t)return-1;if(e.findIndex)return e.findIndex(t);for(var n=e.length,o=0,i=-1;o<n;o++)if(!0===t(e[o],i,e)){i=o;break}return i}},mounted:function(){var e=this.calcSelectedOption();"phone"==this.type&&0==(this.iso2+"").length&&console.error("当type=phone时最好传递iso2属性,否则当区号代码为212或358时会出现选择不正确问题!"),e.iso2&&this.$emit("onchange",e,"phone"===this.type.toLowerCase()?e.dialCode||"":e.iso2||"")}};function d(e,t,n,o,i,r,a,s){var u,l,c="function"==typeof e?e.options:e;return t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),o&&(c.functional=!0),r&&(c._scopeId="data-v-"+r),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u&&(c.functional?(c._injectStyles=u,l=c.render,c.render=function(e,t){return u.call(t),l(e,t)}):(s=c.beforeCreate,c.beforeCreate=s?[].concat(s,u):[u])),{exports:e,options:c}}n(69),(f=d(c,b,[],!1,null,null,null)).options.__file="src/components/vue-country-intl/country-list/CountryList.vue";c=f.exports;var f,p=function(e){var t={top:0,left:0},n=e.offsetParent;for(t.top=e.offsetTop,t.left=e.offsetLeft;null!=n;)t.top+=n.offsetTop,t.left+=n.offsetLeft,n=n.offsetParent;return n=null,t},h=function(e,t){if(e===t)return!1;if("function"==typeof e.contains)return e.contains(t);for(;;){if(!t)return!1;if(t===e)return!0;t=t.parentNode}return!1},v=function(e,t,n){document.addEventListener?(e.addEventListener(t,n,!1),e.addEventListener(t,n,!1)):window.attachEvent&&(e.attachEvent("on"+t,n),e.attachEvent("on"+t,n))},y=function(e,t,n){e&&(document.removeEventListener?(e.removeEventListener(t,n,!1),e.removeEventListener(t,n,!1)):window.detachEvent&&(e.detachEvent("on"+t,n),e.detachEvent("on"+t,n)))},m=function(e){var t=e.getBoundingClientRect(),n=document.documentElement.clientTop||0;e=document.documentElement.clientLeft||0;return{top:t.top-n,bottom:t.bottom-n,left:t.left-e,right:t.right-e}},g=function(){var e=navigator.userAgent;return{android:-1<e.indexOf("Android")||-1<e.indexOf("Linux"),ios:!!e.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}},b={name:"SchemaInput",components:{"country-list":c},inheritAttrs:!1,props:{placeholder:{type:String,default:"请选择国家"},showAreaCode:{type:Boolean,default:!0},value:"",type:{type:String,default:"phone"},iso2:{type:String,default:""},searchAble:{type:Boolean,default:!0},listZIndex:{type:Number,default:0},showLabelImg:{type:Boolean,default:!0},onlyValue:{type:Boolean,default:!1},maxHeight:{type:Number,default:0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},selectedText:{type:String,default:"Selected"},showSelectedText:{type:Boolean,default:!0},disableCountry:{type:[String,Array],default:function(){return[]}},onlyCountry:{type:[String,Array],default:function(){return[]}},noDataText:{type:String,default:"未找到任何数据!"},iosMobileReadonly:{type:Boolean,default:!0},useChinese:{type:Boolean,default:!1}},data:function(){return{id:"vue_country_intl-"+window._vueCountryIntl_count,selected:{},searchText:"",countryListShow:!1,inputFocused:!1,listOnBottom:!0,isIos:!1,deviceWidth:window.innerWidth,schemaInputValue:this.value}},computed:{viewText:function(){var e=this.selected;return"phone"===this.type.toLowerCase()?this.onlyValue?"+"+e.dialCode:this.showAreaCode?e.name+"(+"+e.dialCode+")":e.name:this.onlyValue?e.iso2:e.name}},watch:{value:function(e){e!==this.schemaInputValue&&(this.schemaInputValue=e)},schemaInputValue:function(e){e!==this.value&&this.$emit("input",e)}},methods:{show:function(){var e,t=this;this.disabled||(this.inputFocused=!0,this.countryListShow=!0,this.searchText="",console.log(1111,!this.isIos,992<this.deviceWidth,!this.iosMobileReadonly,!this.readonly),!this.isIos&&992<this.deviceWidth&&!this.readonly&&(console.log("自动获得焦点"),e=setTimeout((function(){clearTimeout(e),t.$refs.searchInput.focus()}),0)),this.$nextTick((function(){t._calculatePopoverDirection(t.$refs.countryList.$el)})))},hide:function(){var e=this,t=setTimeout((function(){e.searchText="",e.inputFocused=!1,e.countryListShow=!1,clearTimeout(t)}),80)},toggleVisible:function(){this.countryListShow?this.hide():this.show()},_calculatePopoverDirection:function(e,t){var n=this,o=function(){var t=m(e),n=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;return 0<t.top&&t.top<n&&0<t.bottom&&t.bottom<n};o()?o=null:(this.listOnBottom=!this.listOnBottom,t&&"function"==typeof t&&t(),this.$nextTick((function(){o()||(n.listOnBottom=!n.listOnBottom,t&&"function"==typeof t&&t()),o=null})))},_onCountryChange:function(e){e!==this.selected&&(this.selected=e,this.$emit("onChange",e)),this.hide()},_onSelectedChange:function(e){this.selected=e,this.$emit("selectedChange",e)},_documentClickEvent:function(e){e=e.target,h(this.$refs.input_wrap,e)||this.hide()}},mounted:function(){var e=this;this.isIos=g().ios,v(document,"click",this._documentClickEvent),this.$once("hook:beforeDestroy",(function(){y(document,"click",e._documentClickEvent)}))}};(f=(n(70),d(b,i,[],!1,null,null,null))).options.__file="src/components/vue-country-intl/schema-input/SchemaInput.vue",b=f.exports,f={name:"SchemaPopover",components:{"country-list":c},inheritAttrs:!((i=function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("div",{ref:"popover_container",staticClass:"vue-country-popover-container",attrs:{id:e.id}},[e._t("reference"),e._v(" "),t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.countryListShow,expression:"countryListShow"}],ref:"intl_popover",staticClass:"vue-country-intl-popover",class:[{"popover-on-bottom":e.listOnBottom,"popover-on-top":!e.listOnBottom},e.popoverClass],style:{"z-index":0!=e.listZIndex?e.listZIndex:""},attrs:{id:e.id+"-popover"}},[t("div",{staticClass:"vue-country-intl-popover-content"},[t("div",{staticClass:"search-input-box"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],staticClass:"search-input",attrs:{type:"text",autocomplete:"off",placeholder:e.searchInputPlaceholder},domProps:{value:e.searchText},on:{input:function(t){t.target.composing||(e.searchText=t.target.value)}}})]),e._v(" "),e.countryListVisible?t("country-list",{ref:"countryList",attrs:{"search-text":e.searchText,selectedText:e.selectedText,"show-selected-text":e.showSelectedText,type:e.type,iso2:e.iso2,"search-able":e.searchAble,"disable-country":e.disableCountry,"only-country":e.onlyCountry,"no-data-text":e.noDataText,"use-chinese":e.useChinese},on:{onchange:e._onCountryChange,selectedChange:e._onSelectedChange},model:{value:e.schemaPopoverValue,callback:function(t){e.schemaPopoverValue=t},expression:"schemaPopoverValue"}},[t("template",{slot:"vueCountryNoData"},[e._t("vueCountryNoData")],2)],2):e._e()],1)])])],2)})._withStripped=!0),props:{showAreaCode:{type:Boolean,default:!0},value:"",type:{type:String,default:"phone"},iso2:{type:String,default:""},searchAble:{type:Boolean,default:!0},listZIndex:{type:Number,default:0},showLabelImg:{type:Boolean,default:!0},onlyValue:{type:Boolean,default:!1},maxHeight:{type:Number,default:0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},selectedText:{type:String,default:"Selected"},showSelectedText:{type:Boolean,default:!0},searchInputPlaceholder:{type:String,default:"输入国家名称、区号搜索"},trigger:{type:String,default:"click"},referenceTrigger:{type:Boolean,default:!0},offsetTop:{type:Number,default:10},popoverClass:{type:String,default:""},elId:{type:String,default:""},disableCountry:{type:[String,Array],default:function(){return[]}},onlyCountry:{type:[String,Array],default:function(){return[]}},noDataText:{type:String,default:"未找到任何数据!"},useChinese:{type:Boolean,default:!1}},data:function(){return{id:"vue_country_intl-"+window._vueCountryIntl_count,selected:{},searchText:"",schemaPopoverValue:this.value,countryListShow:!1,inputFocused:!1,listOnBottom:!0,isManualShow:!1,windowResizeTimer:null,countryListVisible:!1}},watch:{value:function(e){e!==this.schemaPopoverValue&&(this.schemaPopoverValue=e)},schemaPopoverValue:function(e){e!==this.value&&(this.$emit("input",e),this.hide())},searchText:function(){var e=this;this.$nextTick((function(){e._calculatePopoverPosition()}))}},methods:{show:function(){var e=this;this.disabled||(this.countryListVisible||(this.countryListVisible=!0),this.countryListShow=!0,this.$nextTick((function(){var t=e.$refs.intl_popover;e._calculatePopoverWidth(),e._calculatePopoverPosition(),e._calculatePopoverDirection(t,e._calculatePopoverPosition)})))},hide:function(){var e,t=this;this.disabled||(this.countryListShow=!1,e=setTimeout((function(){clearTimeout(e);var n=t.$refs.intl_popover;t.searchText="",n&&n.style.width&&(n.style.width="")}),400))},_calculatePopoverPosition:function(){var e,t,n;this.countryListShow&&(e=this.elId?document.getElementById(this.elId):this.$refs.popover_container,t=this.$refs.intl_popover,n=p(e),this.listOnBottom?t.style.top=n.top+e.offsetHeight+this.offsetTop+document.body.scrollTop+document.documentElement.scrollTop+"px":t.style.top=n.top-t.offsetHeight-this.offsetTop+document.body.scrollTop+document.documentElement.scrollTop+"px",t.style.left=n.left+"px",e=null)},_calculatePopoverWidth:function(){var e,t,n,o;this.countryListShow&&(e=this.elId?document.getElementById(this.elId):this.$refs.popover_container,t=this.$refs.intl_popover,n=p(e),o=document.body?document.body.clientWidth:document.documentElement?document.documentElement.clientWidth:window.innerWidth,t.offsetWidth+n.left>=o&&(t.style.width=o-n.left-15+"px"),e=null)},_referenceClickEvent:function(e){(e=e||window.event).stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.countryListShow?this.hide():this.show()},_calculatePopoverDirection:function(e,t){var n=this,o=function(){var t=m(e),n=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;return 0<t.top&&t.top<n&&0<t.bottom&&t.bottom<n};o()?o=null:(this.listOnBottom=!this.listOnBottom,t&&"function"==typeof t&&t(),this.$nextTick((function(){o()||(n.listOnBottom=!n.listOnBottom,t&&"function"==typeof t&&t()),o=null})))},_documentClickEvent:function(e){var t,n,o;e=e||window.event,this.countryListShow&&(t=e.target||e.srcElement,n=this.$refs.intl_popover,o=h(n,t)||t===n,e=this.elId?document.getElementById(this.elId):this.$refs.popover_container,e=h(e,t)||t===e,o||e?n=t=null:this.hide())},_windowResizeEvent:function(){var e=this;this.countryListShow&&(clearTimeout(this.windowResizeTimer),this.windowResizeTimer=setTimeout((function(){e._calculatePopoverWidth(),e._calculatePopoverPosition(),e._calculatePopoverDirection(e.$refs.intl_popover,e._calculatePopoverPosition),clearTimeout(e.windowResizeTimer)}),200))},_onCountryChange:function(e){e!==this.selected&&(this.selected=e,this.$emit("onChange",e))},_onSelectedChange:function(e){this.selected=e,this.$emit("selectedChange",e)}},mounted:function(){try{document.body.appendChild(this.$refs.intl_popover)}catch(e){console.log(e)}var e="orientationchange"in window?"orientationchange":"resize";v(document,"click",this._documentClickEvent),v(window,e,this._windowResizeEvent),this.elId||(e=this.$refs.popover_container,this.referenceTrigger&&v(e,"click",this._referenceClickEvent))},beforeDestroy:function(){var e="orientationchange"in window?"orientationchange":"resize",t=this.$refs.intl_popover;y(document,"click",this._documentBindEvent),y(window,e,this._windowResizeEvent),this.elId||(e=this.$refs.popover_container,this.referenceTrigger&&(y(e,"click",this._referenceClickEvent),e=null)),this.hide();try{document.body.removeChild(t)}catch(e){console.error(e)}}},n(71),(f=d(f,i,[],!1,null,null,null)).options.__file="src/components/vue-country-intl/schema-popover/SchemaPopover.vue",i=f.exports,c={name:"SchemaModal",components:{"country-list":c},inheritAttrs:!((f=function(){var e=this,t=e.$createElement;return(t=e._self._c||t)("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.modalVisible,expression:"modalVisible"}],ref:"intl_modal",staticClass:"vue-country-intl-modal",class:e.modalClass,style:{zIndex:0!=e.listZIndex?e.listZIndex:""}},[t("div",{staticClass:"country-modal-content"},[t("div",{staticClass:"country-modal-search-box"},[t("div",{staticClass:"modal-search-wrap"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],staticClass:"country-modal-search-input",attrs:{type:"text",autocomplete:"off",placeholder:e.searchInputPlaceholder},domProps:{value:e.searchText},on:{input:function(t){t.target.composing||(e.searchText=t.target.value)}}}),e._v(" "),t("span",{staticClass:"country-modal-search-cancel",on:{click:e.hide}},[e._v(e._s(e.cancelText))])])]),e._v(" "),e.countryListVisible?t("country-list",{ref:"countryList",attrs:{"search-text":e.searchText,selectedText:e.selectedText,"show-selected-text":e.showSelectedText,type:e.type,iso2:e.iso2,"search-able":e.searchAble,"disable-country":e.disableCountry,"only-country":e.onlyCountry,"no-data-text":e.noDataText,"use-chinese":e.useChinese},on:{onchange:e._onCountryChange,selectedChange:e._onSelectedChange},model:{value:e.schemaModalValue,callback:function(t){e.schemaModalValue=t},expression:"schemaModalValue"}},[t("template",{slot:"vueCountryNoData"},[e._t("vueCountryNoData")],2)],2):e._e()],1)])])})._withStripped=!0),props:{showAreaCode:{type:Boolean,default:!0},value:"",type:{type:String,default:"phone"},iso2:{type:String,default:""},searchAble:{type:Boolean,default:!0},listZIndex:{type:Number,default:0},maxHeight:{type:Number,default:0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},selectedText:{type:String,default:"Selected"},showSelectedText:{type:Boolean,default:!0},searchInputPlaceholder:{type:String,default:"输入国家名称、区号搜索"},cancelText:{type:String,default:"取消"},visible:{type:Boolean,default:!1},modalClass:{type:String,default:""},disableCountry:{type:[String,Array],default:function(){return[]}},onlyCountry:{type:[String,Array],default:function(){return[]}},noDataText:{type:String,default:"未找到任何数据!"},useChinese:{type:Boolean,default:!1}},data:function(){return{schemaModalValue:this.value,searchText:"",modalVisible:!1,selected:{},countryListVisible:!1}},watch:{value:function(e){e!==this.schemaModalValue&&(this.schemaModalValue=e)},schemaModalValue:function(e){e!==this.value&&(this.$emit("input",e),this.hide())},visible:function(e){e!==this.modalVisible&&(e?this.show():this.hide())},modalVisible:function(e){e!==this.visible&&this.$emit("update:visible",e)}},methods:{show:function(){var e=document.body.classList;e.contains("lock-scroll")||e.add("lock-scroll"),this.countryListVisible||(this.countryListVisible=!0),this.modalVisible=!0},hide:function(){var e=this,t=document.body.classList,n=setTimeout((function(){clearTimeout(n),t.contains("lock-scroll")&&t.remove("lock-scroll"),e.modalVisible=!1,e.searchText=""}),100)},_onCountryChange:function(e){e!==this.selected&&(this.selected=e,this.$emit("onChange",e))},_onSelectedChange:function(e){this.selected=e,this.$emit("selectedChange",e)}},mounted:function(){try{docum