!function(a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define([],a):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).psl=a()}(function(){return function e(s,n,t){function m(o,a){if(!n[o]){if(!s[o]){var i="function"==typeof require&&require;if(!a&&i)return i(o,!0);if(u)return u(o,!0);throw(a=new Error("Cannot find module '"+o+"'")).code="MODULE_NOT_FOUND",a}i=n[o]={exports:{}},s[o][0].call(i.exports,function(a){return m(s[o][1][a]||a)},i,i.exports,e,s,n,t)}return n[o].exports}for(var u="function"==typeof require&&require,a=0;a= 0x80 (not a basic code point)","invalid-input":"Invalid input"},r=d-1,b=Math.floor,y=String.fromCharCode;function f(a){throw new RangeError(u[a])}function p(a,o){var i=a.split("@");let e="";1>1,a+=b(a/o);a>r*j>>1;e+=d)a=b(a/r);return b(e+(r+1)*a/(a+s))}function c(e){const o=[];var s=e.length;let n=0,a=128,t=72,m=e.lastIndexOf("-");m<0&&(m=0);for(let a=0;a=s&&f("invalid-input");var r=(r=e.charCodeAt(i++))-48<10?r-22:r-65<26?r-65:r-97<26?r-97:d,p=((r>=d||r>b((h-n)/a))&&f("overflow"),n+=r*a,o<=t?1:o>=t+j?j:o-t);if(rb(h/r)&&f("overflow"),a*=r}var c=o.length+1;t=z(n-u,c,0==u),b(n/c)>h-a&&f("overflow"),a+=b(n/c),n%=c,o.splice(n++,0,a)}return String.fromCodePoint(...o)}function k(o){const i=[];var a=(o=v(o)).length;let e=128,s=0,n=72;for(const k of o)k<128&&i.push(y(k));var t=i.length;let m=t;for(t&&i.push("-");m=e&&lb((h-s)/u)&&f("overflow"),s+=(a-e)*u,e=a;for(const g of o)if(gh&&f("overflow"),g==e){let o=s;for(let a=d;;a+=d){var r=a<=n?1:a>=n+j?j:a-n;if(oString.fromCodePoint(...a)},decode:c,encode:k,toASCII:function(a){return p(a,function(a){return t.test(a)?"xn--"+k(a):a})},toUnicode:function(a){return p(a,function(a){return e.test(a)?c(a.slice(4).toLowerCase()):a})}};o.exports=l},{}]},{},[2])(2)});