!function(e){var o="object"==typeof exports&&exports&&!exports.nodeType&&exports,f="object"==typeof module&&module&&!module.nodeType&&module,n="object"==typeof global&&global;(n.global===n||n.window===n||n.self===n)&&(e=n);var t,r,u=/^xn--/,i=/[^\x20-\x7E]/,c=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},s=Math.floor,d=String.fromCharCode;function p(e){throw RangeError(l[e])}function a(e,o){for(var f=e.length,n=[];f--;)n[f]=o(e[f]);return n}function h(e,o){var f=e.split("@"),n="";return f.length>1&&(n=f[0]+"@",e=f[1]),n+a((e=e.replace(c,".")).split("."),o).join(".")}function v(e){for(var o,f,n=[],t=0,r=e.length;t<r;)(o=e.charCodeAt(t++))>=55296&&o<=56319&&t<r?(64512&(f=e.charCodeAt(t++)))==56320?n.push(((1023&o)<<10)+(1023&f)+65536):(n.push(o),t--):n.push(o);return n}function x(e){return a(e,function(e){var o="";return e>65535&&(e-=65536,o+=d(e>>>10&1023|55296),e=56320|1023&e),o+=d(e)}).join("")}function g(e,o){return e+22+75*(e<26)-((0!=o)<<5)}function w(e,o,f){var n=0;for(e=f?s(e/700):e>>1,e+=s(e/o);e>455;n+=36)e=s(e/35);return s(n+36*e/(e+38))}function b(e){var o,f,n,t,r,u,i,c,l,d,a,h=[],v=e.length,g=0,b=128,y=72;for((n=e.lastIndexOf("-"))<0&&(n=0),t=0;t<n;++t)e.charCodeAt(t)>=128&&p("not-basic"),h.push(e.charCodeAt(t));for(r=n>0?n+1:0;r<v;){for(u=g,i=1,c=36;r>=v&&p("invalid-input"),((l=(o=e.charCodeAt(r++))-48<10?o-22:o-65<26?o-65:o-97<26?o-97:36)>=36||l>s((0x7fffffff-g)/i))&&p("overflow"),g+=l*i,!(l<(d=c<=y?1:c>=y+26?26:c-y));c+=36){;i>s(0x7fffffff/(a=36-d))&&p("overflow"),i*=a}y=w(g-u,f=h.length+1,0==u),s(g/f)>0x7fffffff-b&&p("overflow"),b+=s(g/f),g%=f,h.splice(g++,0,b)}return x(h)}function y(e){var o,f,n,t,r,u,i,c,l,a,h,x,b,y,C,m=[];for(u=0,x=(e=v(e)).length,o=128,f=0,r=72;u<x;++u)(h=e[u])<128&&m.push(d(h));for(n=t=m.length,t&&m.push("-");n<x;){for(i=0x7fffffff,u=0;u<x;++u)(h=e[u])>=o&&h<i&&(i=h);for(i-o>s((0x7fffffff-f)/(b=n+1))&&p("overflow"),f+=(i-o)*b,o=i,u=0;u<x;++u)if((h=e[u])<o&&++f>0x7fffffff&&p("overflow"),h==o){for(c=f,l=36;!(c<(a=l<=r?1:l>=r+26?26:l-r));l+=36)C=c-a,y=36-a,m.push(d(g(a+C%y,0))),c=s(C/y);m.push(d(g(c,0))),r=w(f,b,n==t),f=0,++n}++f,++o}return m.join("")}if(t={version:"1.4.1",ucs2:{decode:v,encode:x},decode:b,encode:y,toASCII:function(e){return h(e,function(e){return i.test(e)?"xn--"+y(e):e})},toUnicode:function(e){return h(e,function(e){return u.test(e)?b(e.slice(4).toLowerCase()):e})}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return t});else if(o&&f)if(module.exports==o)f.exports=t;else for(r in t)t.hasOwnProperty(r)&&(o[r]=t[r]);else e.punycode=t}(this);